@opencode/core 0.0.0-dev-20439 → 0.0.0-dev-20441
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{variant-14v92p14.js → managed-policy-04w7gczn.js} +16 -16
- package/dist/chunks/{variant-kqsbn90b.js → managed-policy-09tgsdtt.js} +48 -48
- package/dist/chunks/{variant-zc3c5803.js → managed-policy-0gxkv187.js} +41 -41
- package/dist/chunks/{variant-q0xm7vwc.js → managed-policy-0j77ygfz.js} +6 -6
- package/dist/chunks/{variant-srjtz9mv.js → managed-policy-0mgww3tz.js} +32 -32
- package/dist/chunks/{variant-0paq2nw3.js → managed-policy-0paq2nw3.js} +1 -1
- package/dist/chunks/{variant-0vbcp93d.js → managed-policy-0vbcp93d.js} +2 -2
- package/dist/chunks/{variant-qy1zqqd8.js → managed-policy-0x1ym7gt.js} +3 -3
- package/dist/chunks/{variant-1dazxqgg.js → managed-policy-1dazxqgg.js} +2 -2
- package/dist/chunks/{variant-1dvck2a7.js → managed-policy-1dvck2a7.js} +2 -2
- package/dist/chunks/{variant-vd86y6dk.js → managed-policy-1e489b4a.js} +17 -17
- package/dist/chunks/{variant-p6wxjpka.js → managed-policy-1rn5pcm9.js} +4 -4
- package/dist/chunks/{variant-yf6pnrx7.js → managed-policy-1x3b90mb.js} +32 -32
- package/dist/chunks/managed-policy-1zpth0xw.js +507 -0
- package/dist/chunks/{variant-21r38tys.js → managed-policy-21r38tys.js} +1 -1
- package/dist/chunks/{variant-4k5wkrh9.js → managed-policy-25gwbbvm.js} +30 -30
- package/dist/chunks/{variant-2a5m3afh.js → managed-policy-2a5m3afh.js} +1 -1
- package/dist/chunks/{variant-atg4dcqk.js → managed-policy-2b5dj6ta.js} +4 -4
- package/dist/chunks/{variant-4ts7tf6z.js → managed-policy-2ccvkpx1.js} +2 -2
- package/dist/chunks/{variant-b9dr4ekr.js → managed-policy-2e4k7ra5.js} +19 -19
- package/dist/chunks/{variant-fhw597r0.js → managed-policy-2kxr3st0.js} +11 -11
- package/dist/chunks/{variant-atm978tp.js → managed-policy-2w735aa9.js} +17 -17
- package/dist/chunks/managed-policy-302444qx.js +26 -0
- package/dist/chunks/{variant-mfqp6xfm.js → managed-policy-33w4ejhs.js} +9 -9
- package/dist/chunks/{variant-z4ym9awj.js → managed-policy-351zg8wc.js} +43 -43
- package/dist/chunks/{variant-cjg42c8t.js → managed-policy-37g8b03t.js} +24 -24
- package/dist/chunks/{variant-9tcgwzn8.js → managed-policy-3e0vapc4.js} +17 -17
- package/dist/chunks/{variant-3fc6dm20.js → managed-policy-3fc6dm20.js} +1 -1
- package/dist/chunks/{variant-3hepkmqq.js → managed-policy-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-xeav5w26.js → managed-policy-3nngm4ht.js} +11 -11
- package/dist/chunks/{variant-3smtnn6g.js → managed-policy-3smtnn6g.js} +1 -1
- package/dist/chunks/{variant-3tvqynh2.js → managed-policy-3tvqynh2.js} +1 -1
- package/dist/chunks/{variant-m359rxbq.js → managed-policy-3y7my2db.js} +21 -21
- package/dist/chunks/{variant-3zsf4n22.js → managed-policy-3zsf4n22.js} +1 -1
- package/dist/chunks/{variant-mkfpjzad.js → managed-policy-43x1d0qx.js} +15 -15
- package/dist/chunks/{variant-x7kbtnka.js → managed-policy-4eewzd5c.js} +4 -4
- package/dist/chunks/{variant-qr0tztqq.js → managed-policy-4vk76tpg.js} +30 -30
- package/dist/chunks/{variant-67h7xkhv.js → managed-policy-4vnfhphg.js} +25 -25
- package/dist/chunks/{variant-54ma36ye.js → managed-policy-54ma36ye.js} +1 -1
- package/dist/chunks/{variant-3v5tjer0.js → managed-policy-54r1wzpb.js} +7 -7
- package/dist/chunks/{variant-8vtqv0ab.js → managed-policy-54s6fkez.js} +30 -30
- package/dist/chunks/{variant-jh4mddbt.js → managed-policy-5btfe6ae.js} +18 -18
- package/dist/chunks/{variant-5daktx2q.js → managed-policy-5daktx2q.js} +1 -1
- package/dist/chunks/{variant-qkn9jtjt.js → managed-policy-5hm956bs.js} +11 -11
- package/dist/chunks/{variant-7wdw4sn7.js → managed-policy-5sc7htc6.js} +19 -19
- package/dist/chunks/{variant-5t3nmthw.js → managed-policy-5t3nmthw.js} +2 -2
- package/dist/chunks/{variant-eymke9sh.js → managed-policy-5t5wrhde.js} +2 -2
- package/dist/chunks/{variant-d5fw341f.js → managed-policy-607px8n0.js} +14 -14
- package/dist/chunks/{variant-886x1de6.js → managed-policy-60awvy76.js} +29 -29
- package/dist/chunks/{variant-669tq793.js → managed-policy-669tq793.js} +1 -1
- package/dist/chunks/{variant-84gad1zv.js → managed-policy-685b7gp0.js} +9 -9
- package/dist/chunks/{variant-fw852r6x.js → managed-policy-6wzfh0zm.js} +10 -10
- package/dist/chunks/{variant-wh6zw745.js → managed-policy-6yz0wx8n.js} +5 -5
- package/dist/chunks/{variant-71az546q.js → managed-policy-71az546q.js} +2 -2
- package/dist/chunks/{variant-y6kgs8hj.js → managed-policy-78kd6mqd.js} +8 -8
- package/dist/chunks/{variant-7bmhse3q.js → managed-policy-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-e30mydyk.js → managed-policy-7jzb6arw.js} +12 -12
- package/dist/chunks/{variant-28m0ec4d.js → managed-policy-7q5bqpa7.js} +43 -43
- package/dist/chunks/{variant-x9m4a9xf.js → managed-policy-806nc8gd.js} +40 -40
- package/dist/chunks/{variant-84txncab.js → managed-policy-84txncab.js} +1 -1
- package/dist/chunks/{variant-8d7r5vzw.js → managed-policy-8d7r5vzw.js} +1 -1
- package/dist/chunks/{variant-px5nxgea.js → managed-policy-8pvr3va3.js} +7 -7
- package/dist/chunks/{variant-c0yg3yaa.js → managed-policy-8r8kqds0.js} +24 -24
- package/dist/chunks/{variant-1brx5qyk.js → managed-policy-8rq91117.js} +35 -35
- package/dist/chunks/{variant-10cxjgch.js → managed-policy-99aremag.js} +5 -5
- package/dist/chunks/{variant-t62k6cwy.js → managed-policy-9a2xe43y.js} +17 -17
- package/dist/chunks/{variant-9e5bzkjp.js → managed-policy-9e5bzkjp.js} +3 -3
- package/dist/chunks/{variant-wtas89nq.js → managed-policy-9wtfrnq6.js} +10 -10
- package/dist/chunks/{variant-10zwexjt.js → managed-policy-a9z5bk96.js} +15 -15
- package/dist/chunks/{variant-aaet6srn.js → managed-policy-aaet6srn.js} +2 -2
- package/dist/chunks/{variant-bcrgek8j.js → managed-policy-aag3ds7p.js} +11 -11
- package/dist/chunks/{variant-qxz90s08.js → managed-policy-aep6d7pf.js} +33 -33
- package/dist/chunks/{variant-ctmr8zqa.js → managed-policy-ag4rn41e.js} +4 -4
- package/dist/chunks/{variant-aacyrw2e.js → managed-policy-aj0rpvpk.js} +30 -30
- package/dist/chunks/{variant-vj7qk97t.js → managed-policy-aq6aw40w.js} +13 -13
- package/dist/chunks/{variant-pgsrtt9v.js → managed-policy-as7cf5zz.js} +4 -4
- package/dist/chunks/{variant-01n0fn3n.js → managed-policy-axqn7bsr.js} +5 -5
- package/dist/chunks/{variant-5gd79jxb.js → managed-policy-b0g9mcy2.js} +8 -8
- package/dist/chunks/{variant-18126dgn.js → managed-policy-b4cmytvd.js} +26 -26
- package/dist/chunks/{variant-b6gygkdw.js → managed-policy-b6gygkdw.js} +2 -2
- package/dist/chunks/{variant-pp48bh1f.js → managed-policy-b7qf1jfc.js} +181 -181
- package/dist/chunks/{variant-17bspyb1.js → managed-policy-bb33hrzj.js} +47 -47
- package/dist/chunks/{variant-1qfm3kg7.js → managed-policy-bc8apsv6.js} +77 -77
- package/dist/chunks/{variant-xs9h3ep0.js → managed-policy-bc9wjsbt.js} +30 -30
- package/dist/chunks/{variant-g0cknp2d.js → managed-policy-bm71xk2t.js} +9 -9
- package/dist/chunks/{variant-8j08zm4r.js → managed-policy-bs15bkva.js} +16 -16
- package/dist/chunks/{variant-41czef58.js → managed-policy-btbmdjwj.js} +4 -4
- package/dist/chunks/{variant-7ph72h93.js → managed-policy-bv98qs9q.js} +16 -16
- package/dist/chunks/{variant-k844m94c.js → managed-policy-c1m7pk41.js} +69 -69
- package/dist/chunks/{variant-xzfnxand.js → managed-policy-ced978hc.js} +25 -25
- package/dist/chunks/{variant-6d98qxkn.js → managed-policy-cmtfrzch.js} +19 -19
- package/dist/chunks/{variant-aj7xgpkt.js → managed-policy-cqn0vqgm.js} +9 -9
- package/dist/chunks/{variant-predqs4e.js → managed-policy-cr2axj5k.js} +20 -20
- package/dist/chunks/{variant-gr8khd20.js → managed-policy-d9jqg3n6.js} +17 -17
- package/dist/chunks/{variant-tjx3ap9d.js → managed-policy-dd3asrma.js} +37 -37
- package/dist/chunks/{variant-cwa6csj7.js → managed-policy-djszqvmq.js} +9 -9
- package/dist/chunks/{variant-hfa8a3rd.js → managed-policy-dpkd38cp.js} +20 -20
- package/dist/chunks/{variant-nxm207yx.js → managed-policy-dpkg50ah.js} +4 -4
- package/dist/chunks/{variant-tkx9gh3c.js → managed-policy-dq1mqche.js} +14 -14
- package/dist/chunks/{variant-bq6v1dby.js → managed-policy-drk2psf4.js} +80 -80
- package/dist/chunks/{variant-c5xf5z0j.js → managed-policy-dyvwp316.js} +8 -8
- package/dist/chunks/{variant-ag3xtcd7.js → managed-policy-e0ydadek.js} +35 -35
- package/dist/chunks/{variant-16w9ecqz.js → managed-policy-e1xfjk9r.js} +11 -11
- package/dist/chunks/{variant-c73eachg.js → managed-policy-e25ft575.js} +6 -6
- package/dist/chunks/{variant-kyd65svd.js → managed-policy-e3q501tr.js} +23 -23
- package/dist/chunks/{variant-5qd3pb7m.js → managed-policy-e3qxr5gk.js} +2 -2
- package/dist/chunks/{variant-ydr4sfaa.js → managed-policy-e4f82xnm.js} +11 -11
- package/dist/chunks/{variant-vcgjavzm.js → managed-policy-e9j3xjpe.js} +15 -15
- package/dist/chunks/{variant-ef5x83kb.js → managed-policy-ef5x83kb.js} +1 -1
- package/dist/chunks/{variant-qd6m6a6s.js → managed-policy-eh7wch50.js} +20 -20
- package/dist/chunks/{variant-x1fg9w2t.js → managed-policy-ep2s8925.js} +23 -23
- package/dist/chunks/{variant-etq0c3wd.js → managed-policy-etq0c3wd.js} +1 -1
- package/dist/chunks/{variant-1d10jwk2.js → managed-policy-etsdryc9.js} +13 -13
- package/dist/chunks/{variant-c2cehf6b.js → managed-policy-evghyp61.js} +7 -7
- package/dist/chunks/{variant-2k8khapm.js → managed-policy-fcrkznn8.js} +5 -5
- package/dist/chunks/{variant-mads3xza.js → managed-policy-fcx3gh1b.js} +10 -10
- package/dist/chunks/{variant-ajwerf3h.js → managed-policy-fdqsz5aw.js} +5 -5
- package/dist/chunks/{variant-yqwyk71w.js → managed-policy-ffxkc1dx.js} +11 -11
- package/dist/chunks/{variant-94svnpff.js → managed-policy-fgy1zn9b.js} +5 -5
- package/dist/chunks/{variant-0z8vjex2.js → managed-policy-fjvydvzm.js} +7 -7
- package/dist/chunks/{variant-qkcvdzb0.js → managed-policy-fjx88e6t.js} +17 -17
- package/dist/chunks/{variant-zw6qz0tx.js → managed-policy-frxdqaz8.js} +22 -22
- package/dist/chunks/{variant-396xe5we.js → managed-policy-ftwxvkt4.js} +3 -3
- package/dist/chunks/{variant-75dbh3sm.js → managed-policy-fv818a4f.js} +24 -24
- package/dist/chunks/{variant-tfwvc9sw.js → managed-policy-fwa0c9w1.js} +5 -5
- package/dist/chunks/{variant-8arhm12g.js → managed-policy-g0q01dbx.js} +24 -24
- package/dist/chunks/{variant-8kq48qmj.js → managed-policy-g58bdygq.js} +8 -8
- package/dist/chunks/{variant-gd4qta3r.js → managed-policy-gd4qta3r.js} +1 -1
- package/dist/chunks/{variant-0sep86pb.js → managed-policy-gfr7d11b.js} +53 -53
- package/dist/chunks/{variant-4erxxbbf.js → managed-policy-gm60pqc8.js} +35 -35
- package/dist/chunks/{variant-367xe4pb.js → managed-policy-gxg0hsmq.js} +21 -21
- package/dist/chunks/{variant-h2b79v29.js → managed-policy-h2b79v29.js} +2 -2
- package/dist/chunks/{variant-5bgh4dzz.js → managed-policy-h4s95ce9.js} +6 -6
- package/dist/chunks/{variant-mzseknbn.js → managed-policy-h6m8mpqk.js} +9 -9
- package/dist/chunks/{variant-h6vf3j39.js → managed-policy-h6vf3j39.js} +1 -1
- package/dist/chunks/{variant-ypqp8gqh.js → managed-policy-hazm37c2.js} +26 -26
- package/dist/chunks/{variant-g8pm3x4z.js → managed-policy-he2ntggs.js} +18 -18
- package/dist/chunks/{variant-pcxghkgz.js → managed-policy-hehaxqkv.js} +4 -4
- package/dist/chunks/{variant-zkr7fetz.js → managed-policy-hke7pqdv.js} +20 -20
- package/dist/chunks/{variant-y0z8gwh2.js → managed-policy-hryzqtvd.js} +7 -7
- package/dist/chunks/{variant-pmtnnnej.js → managed-policy-hv5jbe8m.js} +6 -6
- package/dist/chunks/{variant-p226k876.js → managed-policy-j0a0nmhk.js} +6 -6
- package/dist/chunks/{variant-a72r2k07.js → managed-policy-j2wvmznt.js} +15 -15
- package/dist/chunks/{variant-dmsv4044.js → managed-policy-j3wqczvx.js} +20 -20
- package/dist/chunks/{variant-j56e64zr.js → managed-policy-j56e64zr.js} +1 -1
- package/dist/chunks/{variant-tdjsa322.js → managed-policy-jc0bt329.js} +27 -27
- package/dist/chunks/{variant-qvf13fnr.js → managed-policy-jfx0dmmb.js} +11 -11
- package/dist/chunks/{variant-nz6s4zm9.js → managed-policy-jjftm8c8.js} +17 -17
- package/dist/chunks/{variant-vtfaj6fm.js → managed-policy-jn3csxh6.js} +5 -5
- package/dist/chunks/{variant-k86ryq5x.js → managed-policy-jvjvhaay.js} +16 -16
- package/dist/chunks/{variant-vxby77fw.js → managed-policy-jvnghvnw.js} +8 -8
- package/dist/chunks/{variant-pgbadr74.js → managed-policy-jzfx556m.js} +6 -6
- package/dist/chunks/{variant-svb96c7g.js → managed-policy-k79tzb9n.js} +9 -9
- package/dist/chunks/{variant-6hh8tjw2.js → managed-policy-k8962brh.js} +7 -7
- package/dist/chunks/{variant-pzw80991.js → managed-policy-kdc1bwjr.js} +5 -5
- package/dist/chunks/{variant-97ch1fd3.js → managed-policy-kdwgn1zz.js} +24 -24
- package/dist/chunks/{variant-g190xswt.js → managed-policy-kk00bynn.js} +21 -21
- package/dist/chunks/{variant-398qtpyw.js → managed-policy-kpes0ygv.js} +22 -22
- package/dist/chunks/{variant-tdpndm1c.js → managed-policy-kzdcqyn1.js} +5 -5
- package/dist/chunks/{variant-y6mhz57t.js → managed-policy-m0r31qfn.js} +4 -4
- package/dist/chunks/{variant-hdtje8j6.js → managed-policy-m0sxwb6g.js} +9 -9
- package/dist/chunks/{variant-m3fdjcah.js → managed-policy-m3fdjcah.js} +1 -1
- package/dist/chunks/{variant-trf9v1m0.js → managed-policy-m7p0z7m0.js} +10 -10
- package/dist/chunks/{variant-m9w0rfyh.js → managed-policy-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-mazbtkaa.js → managed-policy-mazbtkaa.js} +2 -2
- package/dist/chunks/{variant-v86rjf98.js → managed-policy-md8svtq5.js} +14 -14
- package/dist/chunks/{variant-yy9wtzs9.js → managed-policy-mfa58mh8.js} +28 -28
- package/dist/chunks/{variant-a1gpj94z.js → managed-policy-mhkvc446.js} +3 -3
- package/dist/chunks/{variant-3160htdx.js → managed-policy-mj50kw8r.js} +5 -5
- package/dist/chunks/{variant-p4zjnn1b.js → managed-policy-mnhvys94.js} +29 -29
- package/dist/chunks/{variant-addxnjmp.js → managed-policy-mpk0rfs5.js} +4 -4
- package/dist/chunks/{variant-9a5pyt9z.js → managed-policy-mqbe75y8.js} +4 -4
- package/dist/chunks/{variant-2myva995.js → managed-policy-mrvjcs5x.js} +6 -6
- package/dist/chunks/{variant-vj9qpvrk.js → managed-policy-mtspvnzw.js} +3 -3
- package/dist/chunks/{variant-9hwaqfsw.js → managed-policy-mze9kz5f.js} +5 -5
- package/dist/chunks/{variant-x8a719yx.js → managed-policy-n2cv33mw.js} +13 -13
- package/dist/chunks/{variant-weg9ntdf.js → managed-policy-n70c3kew.js} +9 -9
- package/dist/chunks/{variant-tk612nqt.js → managed-policy-n78rmnne.js} +5 -5
- package/dist/chunks/{variant-b53k4bdr.js → managed-policy-n7apwg8g.js} +22 -22
- package/dist/chunks/{variant-6szg9m6g.js → managed-policy-nbkk43by.js} +24 -24
- package/dist/chunks/{variant-qfb0b5c2.js → managed-policy-nd132scw.js} +1 -1
- package/dist/chunks/{variant-awte1d78.js → managed-policy-nkz8nrts.js} +33 -33
- package/dist/chunks/{variant-9jgd0g1z.js → managed-policy-nn9xsasx.js} +8 -8
- package/dist/chunks/{variant-hfgwpwpp.js → managed-policy-nnzbx27x.js} +6 -6
- package/dist/chunks/{variant-v54kchrq.js → managed-policy-nprb0dpq.js} +11 -11
- package/dist/chunks/{variant-k3c624dm.js → managed-policy-nzks3jc8.js} +3 -3
- package/dist/chunks/{variant-xzrre6xp.js → managed-policy-nznn4wxv.js} +4 -4
- package/dist/chunks/{variant-zfyd4z1t.js → managed-policy-p0rx9937.js} +11 -11
- package/dist/chunks/{variant-2y89dd9a.js → managed-policy-p5vm2k94.js} +15 -15
- package/dist/chunks/{variant-abp7q8sa.js → managed-policy-p7f3nfjj.js} +5 -5
- package/dist/chunks/{variant-yt6cqe55.js → managed-policy-p7pyfceq.js} +11 -11
- package/dist/chunks/{variant-z2zv94aj.js → managed-policy-pb0nz00d.js} +31 -31
- package/dist/chunks/{variant-2g5mhw7z.js → managed-policy-pba0qj75.js} +26 -26
- package/dist/chunks/{variant-6abt9vd9.js → managed-policy-pd2m4r83.js} +13 -13
- package/dist/chunks/{variant-fvxg17y2.js → managed-policy-pds74t41.js} +3 -3
- package/dist/chunks/{variant-pjvnvgmy.js → managed-policy-pjvnvgmy.js} +1 -1
- package/dist/chunks/{variant-pknna89w.js → managed-policy-pknna89w.js} +1 -1
- package/dist/chunks/{variant-7cx9cvsh.js → managed-policy-pknpvjb9.js} +1 -1
- package/dist/chunks/{variant-32jztgwf.js → managed-policy-pmgjrk6j.js} +34 -34
- package/dist/chunks/{variant-w3jg838k.js → managed-policy-pnkbpv6t.js} +9 -9
- package/dist/chunks/{variant-50bj4n03.js → managed-policy-pqx42sqq.js} +24 -24
- package/dist/chunks/{variant-vskqw7qy.js → managed-policy-pvj1bsy6.js} +26 -26
- package/dist/chunks/{variant-py3kkmfq.js → managed-policy-py3kkmfq.js} +2 -2
- package/dist/chunks/{variant-brp8zeym.js → managed-policy-q1rprvvw.js} +6 -6
- package/dist/chunks/{variant-1qrvjt31.js → managed-policy-q1z5zf7b.js} +18 -18
- package/dist/chunks/{variant-t89fqycx.js → managed-policy-q8r22k9v.js} +8 -8
- package/dist/chunks/{variant-0g91z8as.js → managed-policy-qdwke1dj.js} +12 -12
- package/dist/chunks/{variant-517vs525.js → managed-policy-qj0gtfb8.js} +8 -8
- package/dist/chunks/{variant-qnc92qwc.js → managed-policy-qnc92qwc.js} +1 -1
- package/dist/chunks/{variant-qsdy395h.js → managed-policy-qsdy395h.js} +1 -1
- package/dist/chunks/{variant-f3sqmsb9.js → managed-policy-qt4gsjkk.js} +15 -15
- package/dist/chunks/{variant-reg6q42h.js → managed-policy-qvreyy9g.js} +5 -5
- package/dist/chunks/{variant-scgrse2b.js → managed-policy-qygbw77c.js} +5 -5
- package/dist/chunks/{variant-y1jyntcw.js → managed-policy-qztr35h0.js} +41 -41
- package/dist/chunks/{variant-sf4zj9sn.js → managed-policy-r2xp9k1m.js} +10 -10
- package/dist/chunks/{variant-ynpe6tcd.js → managed-policy-r44petzp.js} +12 -12
- package/dist/chunks/{variant-q6gppffy.js → managed-policy-r50e1gtz.js} +27 -27
- package/dist/chunks/{variant-rdw6cm16.js → managed-policy-rdw6cm16.js} +1 -1
- package/dist/chunks/{variant-fd4k4kgm.js → managed-policy-reqvjh9d.js} +5 -5
- package/dist/chunks/{variant-eaj1djv9.js → managed-policy-rhjbct0v.js} +8 -8
- package/dist/chunks/{variant-2fhv8f0b.js → managed-policy-rjgmx88b.js} +42 -42
- package/dist/chunks/{variant-dss9tgbb.js → managed-policy-rn04vraz.js} +22 -22
- package/dist/chunks/{variant-baqpbr50.js → managed-policy-rnp8xwnj.js} +9 -9
- package/dist/chunks/{variant-c0d2pnej.js → managed-policy-rw5jpqwf.js} +27 -27
- package/dist/chunks/{variant-qqtgdjgj.js → managed-policy-sa998d74.js} +3 -3
- package/dist/chunks/{variant-pfj2krk7.js → managed-policy-sd7vvvw1.js} +17 -17
- package/dist/chunks/managed-policy-sp6wn6w5.js +252 -0
- package/dist/chunks/{variant-n8sna2wb.js → managed-policy-srq8z0b0.js} +9 -9
- package/dist/chunks/{variant-p0b4ytnr.js → managed-policy-ss0awb04.js} +4 -4
- package/dist/chunks/{variant-6nd6aznx.js → managed-policy-sv903t49.js} +21 -21
- package/dist/chunks/{variant-kpbb4v73.js → managed-policy-sx82jsn2.js} +17 -17
- package/dist/chunks/{variant-1hzkdvcb.js → managed-policy-szvvj7a8.js} +23 -23
- package/dist/chunks/{variant-fyqce8v0.js → managed-policy-t8rpwxdy.js} +13 -13
- package/dist/chunks/{variant-tazgh4e4.js → managed-policy-tazgh4e4.js} +1 -1
- package/dist/chunks/{variant-djsestcq.js → managed-policy-tb61xc83.js} +30 -30
- package/dist/chunks/{variant-5xesbvpt.js → managed-policy-tc94ysxq.js} +10 -10
- package/dist/chunks/{variant-tcezcvh9.js → managed-policy-tcezcvh9.js} +1 -1
- package/dist/chunks/{variant-tdstcens.js → managed-policy-tdstcens.js} +1 -1
- package/dist/chunks/{variant-5w4kbhzj.js → managed-policy-tf6wmrbr.js} +36 -36
- package/dist/chunks/{variant-25a4t902.js → managed-policy-tm3228f0.js} +20 -20
- package/dist/chunks/{variant-p37cw4rj.js → managed-policy-tpw6cwsb.js} +8 -8
- package/dist/chunks/{variant-19wa5dg2.js → managed-policy-ts3yaxzc.js} +6 -6
- package/dist/chunks/{variant-1f3k22r2.js → managed-policy-ttj5yjcg.js} +11 -11
- package/dist/chunks/{variant-tvtrv512.js → managed-policy-tvtrv512.js} +1 -1
- package/dist/chunks/{variant-rpnewtr1.js → managed-policy-txh8sszt.js} +32 -32
- package/dist/chunks/{variant-xjza7kx6.js → managed-policy-tzvsdaza.js} +11 -11
- package/dist/chunks/{variant-7r87hsp1.js → managed-policy-v4qbwabw.js} +13 -13
- package/dist/chunks/{variant-cann05ez.js → managed-policy-v7s6g2ng.js} +44 -44
- package/dist/chunks/{variant-jkvxnthz.js → managed-policy-vdwhce4b.js} +3 -3
- package/dist/chunks/{variant-dfe8djrf.js → managed-policy-ve4pfa0n.js} +4 -4
- package/dist/chunks/{variant-veqvce7d.js → managed-policy-veqvce7d.js} +1 -1
- package/dist/chunks/managed-policy-vnkjks7b.js +18 -0
- package/dist/chunks/{variant-z01wj9c4.js → managed-policy-vsmddcz8.js} +18 -18
- package/dist/chunks/{variant-3kcc9g8w.js → managed-policy-vsvwc77y.js} +17 -17
- package/dist/chunks/{variant-vzcthcp8.js → managed-policy-vzcthcp8.js} +1 -1
- package/dist/chunks/{variant-vzs5sf6e.js → managed-policy-vzs5sf6e.js} +1 -1
- package/dist/chunks/{variant-w3wsvvr9.js → managed-policy-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-32grcv6n.js → managed-policy-wabjqz2k.js} +3 -3
- package/dist/chunks/{variant-vxmbdp5g.js → managed-policy-waj7sjcg.js} +2 -2
- package/dist/chunks/{variant-wd87259q.js → managed-policy-wd87259q.js} +1 -1
- package/dist/chunks/{variant-xrsga2b8.js → managed-policy-wejmxhte.js} +32 -32
- package/dist/chunks/{variant-9gn2e1q5.js → managed-policy-wha6r7ch.js} +60 -60
- package/dist/chunks/{variant-x1ezjp6w.js → managed-policy-x1ezjp6w.js} +1 -1
- package/dist/chunks/{variant-xfkkasph.js → managed-policy-xfkkasph.js} +1 -1
- package/dist/chunks/{variant-qdp2stk8.js → managed-policy-xgz93h8v.js} +13 -13
- package/dist/chunks/{variant-dmqcgk4z.js → managed-policy-xkntkrq7.js} +5 -5
- package/dist/chunks/{variant-hekxc47r.js → managed-policy-xp3fh2h7.js} +1 -1
- package/dist/chunks/{variant-m6pcnaq2.js → managed-policy-xrk8nejm.js} +20 -20
- package/dist/chunks/{variant-y1fvbwt7.js → managed-policy-y1fvbwt7.js} +1 -1
- package/dist/chunks/{variant-hry7yjep.js → managed-policy-y59we1re.js} +19 -19
- package/dist/chunks/{variant-fqj9nv8j.js → managed-policy-y6kccm89.js} +8 -8
- package/dist/chunks/{variant-07q3v8ms.js → managed-policy-y8vcwf44.js} +36 -36
- package/dist/chunks/{variant-g1r7w4ks.js → managed-policy-ybfcvrar.js} +4 -4
- package/dist/chunks/{variant-mc5axvaa.js → managed-policy-ybhcjgdh.js} +4 -4
- package/dist/chunks/{variant-1acjjqhc.js → managed-policy-yp2x3t23.js} +4 -4
- package/dist/chunks/{variant-yrhqyw5v.js → managed-policy-yrhqyw5v.js} +1 -1
- package/dist/chunks/{variant-cx4dwxh6.js → managed-policy-yz8cjxbp.js} +24 -24
- package/dist/chunks/{variant-z0bkrqjs.js → managed-policy-z0bkrqjs.js} +1 -1
- package/dist/chunks/{variant-skgznvtr.js → managed-policy-z78tk0yz.js} +12 -12
- package/dist/chunks/{variant-49d935aw.js → managed-policy-z9ccghj6.js} +6 -6
- package/dist/chunks/{variant-6xwnd5n0.js → managed-policy-zcsbnpt8.js} +51 -51
- package/dist/chunks/{variant-zxgz6j12.js → managed-policy-zd3r6yme.js} +10 -10
- package/dist/chunks/{variant-zr2ceqn5.js → managed-policy-zr2ceqn5.js} +1 -1
- package/dist/chunks/{variant-t2kw1cd0.js → managed-policy-zrj0t68v.js} +11 -11
- package/dist/chunks/{variant-shp9g25n.js → managed-policy-zst01bw0.js} +6 -6
- package/dist/chunks/{variant-6qmtfge3.js → managed-policy-zxef6ncy.js} +14 -14
- package/dist/chunks/{variant-zxq2ej10.js → managed-policy-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +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 +372 -372
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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 +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +77 -77
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- 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 +129 -129
- 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 +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- 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 +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- 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 +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +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 +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- 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 +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- 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 +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- 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 +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +87 -87
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +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 +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/variant.js +93 -93
- 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 +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/variant-2v8pqagd.js +0 -507
- package/dist/chunks/variant-611kkatt.js +0 -252
- package/dist/chunks/variant-hgd4btym.js +0 -18
- package/dist/chunks/variant-w191f00y.js +0 -26
- /package/dist/chunks/{variant-0qkdqm5v.js → managed-policy-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → managed-policy-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → managed-policy-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → managed-policy-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kg9ymc8.js → managed-policy-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → managed-policy-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → managed-policy-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2axfhc9x.js → managed-policy-2axfhc9x.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → managed-policy-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-34c7v6d4.js → managed-policy-34c7v6d4.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → managed-policy-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → managed-policy-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → managed-policy-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3w5fmr99.js → managed-policy-3w5fmr99.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → managed-policy-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → managed-policy-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → managed-policy-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4vcrnpx2.js → managed-policy-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → managed-policy-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → managed-policy-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → managed-policy-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → managed-policy-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → managed-policy-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → managed-policy-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → managed-policy-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → managed-policy-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → managed-policy-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-8wj87zfr.js → managed-policy-8wj87zfr.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → managed-policy-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → managed-policy-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-a6k6eb26.js → managed-policy-a6k6eb26.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → managed-policy-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → managed-policy-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → managed-policy-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → managed-policy-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → managed-policy-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → managed-policy-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → managed-policy-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → managed-policy-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → managed-policy-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → managed-policy-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dajrwvna.js → managed-policy-dajrwvna.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → managed-policy-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → managed-policy-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → managed-policy-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → managed-policy-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-e73j6tqm.js → managed-policy-e73j6tqm.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → managed-policy-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-eh3zwz77.js → managed-policy-eh3zwz77.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → managed-policy-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → managed-policy-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → managed-policy-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → managed-policy-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → managed-policy-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-fxgpk5d8.js → managed-policy-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → managed-policy-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → managed-policy-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → managed-policy-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → managed-policy-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hjbc5kem.js → managed-policy-hjbc5kem.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → managed-policy-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → managed-policy-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → managed-policy-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → managed-policy-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → managed-policy-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → managed-policy-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → managed-policy-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → managed-policy-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → managed-policy-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → managed-policy-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → managed-policy-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → managed-policy-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → managed-policy-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → managed-policy-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qaymkmh1.js → managed-policy-qaymkmh1.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → managed-policy-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → managed-policy-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → managed-policy-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → managed-policy-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → managed-policy-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → managed-policy-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-sk3qaz4a.js → managed-policy-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → managed-policy-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → managed-policy-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → managed-policy-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → managed-policy-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → managed-policy-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → managed-policy-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → managed-policy-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → managed-policy-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8cydn3q.js → managed-policy-y8cydn3q.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → managed-policy-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → managed-policy-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-ym463w8f.js → managed-policy-ym463w8f.js} +0 -0
- /package/dist/chunks/{variant-z5v4ffb3.js → managed-policy-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → managed-policy-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-4eewzd5c.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./managed-policy-bv98qs9q.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./managed-policy-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service56,
|
|
14
|
+
node58
|
|
15
|
+
} from "./managed-policy-jvjvhaay.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service6,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node8
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service6 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service83;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service56;
|
|
41
|
+
const location = yield* Service79;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service6.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node8 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node87, FSUtil.node,
|
|
101
|
+
deps: [node87, FSUtil.node, node83, node58]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service6, node8, exports_instructions };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./managed-policy-hazm37c2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service55
|
|
6
|
+
} from "./managed-policy-wha6r7ch.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -17,13 +17,13 @@ __export(exports_question, {
|
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name14,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name14 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service76;
|
|
57
|
+
const permission = yield* Service55;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
62
|
input: Input13,
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export {
|
|
120
|
+
export { name14, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-mtspvnzw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./managed-policy-rhjbct0v.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./managed-policy-9e5bzkjp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info3,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service20,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node24,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info3 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service20 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make20({
|
|
65
|
+
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service20.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node24 = makeLocationNode({ service: Service20, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info3, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service20, node24, exports_instruction_entry };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin19
|
|
3
|
+
} from "./managed-policy-y6kccm89.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin15
|
|
6
|
+
} from "./managed-policy-m0sxwb6g.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin17
|
|
9
|
+
} from "./managed-policy-nnzbx27x.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin16
|
|
12
|
+
} from "./managed-policy-fdqsz5aw.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin18
|
|
15
|
+
} from "./managed-policy-jzfx556m.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin19,
|
|
20
|
+
Plugin15,
|
|
21
|
+
Plugin17,
|
|
22
|
+
Plugin16,
|
|
23
|
+
Plugin18
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
12
|
-
WebSearchMcp: () =>
|
|
9
|
+
var exports_mcp = {};
|
|
10
|
+
__export(exports_mcp, {
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
|
+
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES3 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-4eewzd5c.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event18,
|
|
7
|
+
Service75,
|
|
8
|
+
node79
|
|
9
|
+
} from "./managed-policy-tb61xc83.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service69,
|
|
12
|
+
node73
|
|
13
|
+
} from "./managed-policy-frxdqaz8.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./managed-policy-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service79,
|
|
19
|
+
node83
|
|
20
|
+
} from "./managed-policy-bv98qs9q.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./managed-policy-2ccvkpx1.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./managed-policy-kdwgn1zz.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./managed-policy-99aremag.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./managed-policy-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service70,
|
|
36
|
+
Event14,
|
|
37
|
+
node74
|
|
38
|
+
} from "./managed-policy-dpkd38cp.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options8,
|
|
48
|
+
Service: () => Service68,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured10,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer22,
|
|
53
|
+
node: () => node72,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options8 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service68 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service68, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer22 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
96
|
+
const location = yield* Service79;
|
|
97
|
+
const watcher = yield* Service69;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service75;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service70;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -221,8 +221,8 @@ var layer21 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -250,7 +250,7 @@ var layer21 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service68.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer21 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured10(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service68,
|
|
268
|
+
layer: layer22(options),
|
|
269
|
+
deps: [node73, node87, FSUtil.node, Global.node, node83, node79, node74]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node72 = configured10();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options8, Service68, Test2, testLayer2, layer22, configured10, node72, exports_config };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-mtspvnzw.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./managed-policy-4eewzd5c.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./managed-policy-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./managed-policy-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./managed-policy-ttj5yjcg.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service56,
|
|
21
|
+
node58
|
|
22
|
+
} from "./managed-policy-jvjvhaay.js";
|
|
23
23
|
import {
|
|
24
24
|
Service17,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
node21
|
|
26
|
+
} from "./managed-policy-bc8apsv6.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./managed-policy-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service2,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer3,
|
|
42
|
+
node: () => node3
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service2 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
61
|
+
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service83;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
64
|
const context = yield* Service17;
|
|
65
|
-
const store = yield*
|
|
65
|
+
const store = yield* Service56;
|
|
66
66
|
const db = (yield* Service84).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service2.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [node87, llmClient2,
|
|
150
|
+
var node3 = makeLocationNode({
|
|
151
|
+
service: Service2,
|
|
152
|
+
layer: layer3,
|
|
153
|
+
deps: [node87, llmClient2, node21, node58, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service2, isUntitled2, layer3, node3, exports_title };
|
|
@@ -2,23 +2,23 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./managed-policy-4eewzd5c.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./managed-policy-rhjbct0v.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./managed-policy-z5v4ffb3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./managed-policy-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
@@ -27,10 +27,10 @@ __export(exports_instruction_discovery, {
|
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
29
|
Options: () => Options5,
|
|
30
|
-
Service: () =>
|
|
30
|
+
Service: () => Service47,
|
|
31
31
|
configured: () => configured5,
|
|
32
32
|
layer: () => layer17,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node49
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,7 +41,7 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
44
|
+
var key = Key3.make("core/instructions");
|
|
45
45
|
var Event8 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
@@ -50,9 +50,9 @@ var Options5 = Schema.Struct({
|
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service47 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var layer17 = (options) => Layer.effect(
|
|
55
|
+
var layer17 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service83;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -74,7 +74,7 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
74
74
|
}),
|
|
75
75
|
notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make20({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service47.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -106,12 +106,12 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
106
106
|
}));
|
|
107
107
|
function configured5(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
109
|
+
service: Service47,
|
|
110
110
|
layer: layer17(options),
|
|
111
111
|
deps: [node87]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node49 = configured5();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2, Event8, Options5,
|
|
145
|
+
export { File2, Event8, Options5, Service47, layer17, configured5, node49, exports_instruction_discovery };
|