@opencode/core 0.0.0-dev-21747 → 0.0.0-dev-21748
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{location-service-map-se2sj8va.js → file-retention-004rgtvd.js} +7 -7
- package/dist/chunks/{location-service-map-034tev2y.js → file-retention-034tev2y.js} +2 -2
- package/dist/chunks/{location-service-map-g3s8w1rf.js → file-retention-06443jab.js} +3 -3
- package/dist/chunks/{location-service-map-dkq45v8d.js → file-retention-0gka690g.js} +6 -6
- package/dist/chunks/{location-service-map-sc9zg7jb.js → file-retention-0pv52n9j.js} +12 -12
- package/dist/chunks/{location-service-map-8z0nn26j.js → file-retention-0syxcydp.js} +9 -9
- package/dist/chunks/{location-service-map-zpzb2he9.js → file-retention-0t1mekc8.js} +8 -8
- package/dist/chunks/{location-service-map-q2yrdpfv.js → file-retention-0txt22rj.js} +5 -5
- package/dist/chunks/file-retention-0y56atyb.js +257 -0
- package/dist/chunks/{location-service-map-m4n0g2r5.js → file-retention-10jjfj8e.js} +35 -35
- package/dist/chunks/{location-service-map-qmthnpq9.js → file-retention-10s4rp80.js} +42 -42
- package/dist/chunks/{location-service-map-kvh9ftvy.js → file-retention-12vgd738.js} +4 -4
- package/dist/chunks/{location-service-map-86yd8n6t.js → file-retention-1b000e53.js} +58 -58
- package/dist/chunks/{location-service-map-1ep2p91f.js → file-retention-1ep2p91f.js} +2 -2
- package/dist/chunks/{location-service-map-n5ec28k5.js → file-retention-1mn7gzbb.js} +50 -50
- package/dist/chunks/{location-service-map-nzm9dq78.js → file-retention-1thmyanr.js} +29 -29
- package/dist/chunks/{location-service-map-1x2knyw4.js → file-retention-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-service-map-qmx84djp.js → file-retention-27g2d1zk.js} +9 -9
- package/dist/chunks/{location-service-map-kz6h04bd.js → file-retention-2fbg880x.js} +50 -50
- package/dist/chunks/{location-service-map-aw84gg2e.js → file-retention-2mrk5sk4.js} +23 -23
- package/dist/chunks/{location-service-map-nt999nhx.js → file-retention-2y5s3d4p.js} +17 -17
- package/dist/chunks/{location-service-map-3mjk875x.js → file-retention-2yeqtm01.js} +28 -28
- package/dist/chunks/{location-service-map-2z1j29yd.js → file-retention-2z1j29yd.js} +1 -1
- package/dist/chunks/{location-service-map-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-service-map-p0tsr9h6.js → file-retention-3js5sq8v.js} +4 -4
- package/dist/chunks/{location-service-map-3mgb105e.js → file-retention-3mgb105e.js} +2 -2
- package/dist/chunks/{location-service-map-3nnrz6f6.js → file-retention-3nnrz6f6.js} +1 -1
- package/dist/chunks/{location-service-map-3xbacp9g.js → file-retention-3xbbjsgy.js} +14 -14
- package/dist/chunks/{location-service-map-p9jvgf3w.js → file-retention-3xv5yes5.js} +6 -6
- package/dist/chunks/{location-service-map-y736c7qs.js → file-retention-40x2gp1a.js} +15 -15
- package/dist/chunks/{location-service-map-w2eysc6j.js → file-retention-40za9wsf.js} +9 -9
- package/dist/chunks/{location-service-map-15x7rp3m.js → file-retention-41ae5eq3.js} +5 -5
- package/dist/chunks/{location-service-map-eayp7z6c.js → file-retention-4944f0f3.js} +3 -3
- package/dist/chunks/{location-service-map-txs0e95y.js → file-retention-4rnx58kd.js} +5 -5
- package/dist/chunks/{location-service-map-4v008n1t.js → file-retention-4v008n1t.js} +1 -1
- package/dist/chunks/{location-service-map-mx438yzb.js → file-retention-4xj5yeb9.js} +18 -18
- package/dist/chunks/{location-service-map-4xvmh7wp.js → file-retention-4xvmh7wp.js} +3 -3
- package/dist/chunks/{location-service-map-fytkpx2m.js → file-retention-4yyqx4s3.js} +1 -1
- package/dist/chunks/{location-service-map-582e04r8.js → file-retention-51g9mfss.js} +16 -16
- package/dist/chunks/{location-service-map-e63tw6zr.js → file-retention-52m7r17y.js} +11 -11
- package/dist/chunks/{location-service-map-f6a8s9j6.js → file-retention-58j32a3p.js} +11 -11
- package/dist/chunks/{location-service-map-a7n5phyp.js → file-retention-5e27t7kq.js} +37 -37
- package/dist/chunks/{location-service-map-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-service-map-5nnwax6m.js → file-retention-5nnwax6m.js} +2 -2
- package/dist/chunks/{location-service-map-e3qxr5gk.js → file-retention-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-service-map-pmy4yzzf.js → file-retention-5tdnk8gt.js} +30 -30
- package/dist/chunks/{location-service-map-t1xvrdec.js → file-retention-6bqt0z5z.js} +14 -14
- package/dist/chunks/{location-service-map-2svr78gq.js → file-retention-6ejhvxx1.js} +30 -30
- package/dist/chunks/{location-service-map-6esdw8yj.js → file-retention-6esdw8yj.js} +1 -1
- package/dist/chunks/{location-service-map-gw690m90.js → file-retention-6phpkkwx.js} +10 -10
- package/dist/chunks/{location-service-map-6pjqjmy2.js → file-retention-6pjqjmy2.js} +1 -1
- package/dist/chunks/file-retention-6zjm2phc.js +18 -0
- package/dist/chunks/{location-service-map-nch9as0x.js → file-retention-6zzg071e.js} +7 -7
- package/dist/chunks/{location-service-map-n0fgk9jt.js → file-retention-706d41vq.js} +17 -17
- package/dist/chunks/{location-service-map-76cb1hcw.js → file-retention-76cb1hcw.js} +1 -1
- package/dist/chunks/{location-service-map-1yqqrz0x.js → file-retention-78etnvtx.js} +11 -11
- package/dist/chunks/{location-service-map-nr8jt6t8.js → file-retention-7ax5pvs2.js} +20 -20
- package/dist/chunks/{location-service-map-vmztxwx7.js → file-retention-7b6m6kjp.js} +23 -23
- package/dist/chunks/{location-service-map-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-service-map-9ec60z8p.js → file-retention-7p5j3bg8.js} +20 -20
- package/dist/chunks/{location-service-map-7w2ypzdf.js → file-retention-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-service-map-w9dsj9zn.js → file-retention-81xmdkgf.js} +9 -9
- package/dist/chunks/{location-service-map-b0bkrffq.js → file-retention-8775xmr7.js} +15 -15
- package/dist/chunks/{location-service-map-yb48csac.js → file-retention-895yj7sv.js} +41 -41
- package/dist/chunks/{location-service-map-ra6js1h8.js → file-retention-8d2bz6m6.js} +8 -8
- package/dist/chunks/{location-service-map-f0k0jrg1.js → file-retention-8h66aeq1.js} +19 -19
- package/dist/chunks/{location-service-map-4sp541mw.js → file-retention-8jv5e0ry.js} +2 -2
- package/dist/chunks/{location-service-map-0w2m92gv.js → file-retention-8q24scts.js} +19 -19
- package/dist/chunks/{location-service-map-drtqd3vk.js → file-retention-8q4csfv6.js} +8 -8
- package/dist/chunks/file-retention-8rzgfn7k.js +26 -0
- package/dist/chunks/{location-service-map-44sw466x.js → file-retention-8v2hjwdb.js} +28 -28
- package/dist/chunks/{location-service-map-8wtp7s3z.js → file-retention-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-service-map-v2eqhgdw.js → file-retention-8y08emeq.js} +24 -24
- package/dist/chunks/{location-service-map-2hp83xyv.js → file-retention-90h4gxms.js} +20 -20
- package/dist/chunks/{location-service-map-91rj84md.js → file-retention-91rj84md.js} +1 -1
- package/dist/chunks/{location-service-map-50y1xsz1.js → file-retention-96zt377w.js} +38 -38
- package/dist/chunks/{location-service-map-998yhzzq.js → file-retention-998yhzzq.js} +3 -3
- package/dist/chunks/{location-service-map-yexkrg4y.js → file-retention-9aytyba7.js} +8 -8
- package/dist/chunks/{location-service-map-dsd5z2sr.js → file-retention-9e6thw54.js} +23 -23
- package/dist/chunks/{location-service-map-dk5xnaxx.js → file-retention-9gkymt4j.js} +4 -4
- package/dist/chunks/{location-service-map-kjedcq3q.js → file-retention-9wrzmk82.js} +9 -9
- package/dist/chunks/{location-service-map-j43965rx.js → file-retention-a1kcf5d2.js} +9 -9
- package/dist/chunks/{location-service-map-4pxnxcp5.js → file-retention-a6zs52qt.js} +12 -12
- package/dist/chunks/{location-service-map-dqmnshvt.js → file-retention-a8qqmhn7.js} +13 -13
- package/dist/chunks/{location-service-map-0z1tt7er.js → file-retention-a9kms1wj.js} +5 -5
- package/dist/chunks/{location-service-map-zknj5k26.js → file-retention-an0ed0qm.js} +27 -27
- package/dist/chunks/{location-service-map-1px3a2xb.js → file-retention-ap543zt0.js} +26 -26
- package/dist/chunks/{location-service-map-bjhzkqyk.js → file-retention-ar2j3j0f.js} +4 -4
- package/dist/chunks/{location-service-map-jypar2fs.js → file-retention-aydsvzbb.js} +14 -14
- package/dist/chunks/{location-service-map-ayjs7tqn.js → file-retention-ayjs7tqn.js} +2 -2
- package/dist/chunks/{location-service-map-b0mv4wxm.js → file-retention-b0mv4wxm.js} +2 -2
- package/dist/chunks/{location-service-map-ctz1338s.js → file-retention-b4ay2ffd.js} +38 -38
- package/dist/chunks/{location-service-map-6y263vp8.js → file-retention-b50rsrab.js} +5 -5
- package/dist/chunks/{location-service-map-qrscgvzd.js → file-retention-b69pzmrp.js} +35 -35
- package/dist/chunks/{location-service-map-40008bk8.js → file-retention-bar9hexn.js} +3 -3
- package/dist/chunks/{location-service-map-6xjs6dtv.js → file-retention-bbfkmt36.js} +24 -24
- package/dist/chunks/{location-service-map-qrdfdxph.js → file-retention-be4vgese.js} +5 -5
- package/dist/chunks/{location-service-map-g431yjwv.js → file-retention-bg38yaka.js} +51 -51
- package/dist/chunks/{location-service-map-5p1db6qh.js → file-retention-bjec6aaf.js} +24 -24
- package/dist/chunks/{location-service-map-388njdkr.js → file-retention-bn42ez4f.js} +21 -21
- package/dist/chunks/{location-service-map-bstexjd6.js → file-retention-bstexjd6.js} +1 -1
- package/dist/chunks/{location-service-map-xzhqqqxc.js → file-retention-bx2edf7r.js} +19 -19
- package/dist/chunks/{location-service-map-r8fhaa0s.js → file-retention-byrp127m.js} +12 -12
- package/dist/chunks/{location-service-map-d00ejkj2.js → file-retention-c03k9zs8.js} +28 -28
- package/dist/chunks/{location-service-map-wdmx20pv.js → file-retention-c3cfh5w6.js} +7 -7
- package/dist/chunks/{location-service-map-0vx028ky.js → file-retention-c8666r4c.js} +6 -6
- package/dist/chunks/{location-service-map-d2887f8n.js → file-retention-c9t2ty9q.js} +4 -4
- package/dist/chunks/{location-service-map-wk6xk37q.js → file-retention-cebdmmc8.js} +9 -9
- package/dist/chunks/{location-service-map-q9s78g4e.js → file-retention-d1fhw6xp.js} +21 -21
- package/dist/chunks/{location-service-map-ahke7ec0.js → file-retention-d2ckxhpm.js} +22 -22
- package/dist/chunks/{location-service-map-d4v9tmah.js → file-retention-d4v9tmah.js} +2 -2
- package/dist/chunks/{location-service-map-2meyg87m.js → file-retention-dbvdvcnm.js} +20 -20
- package/dist/chunks/{location-service-map-q6s5gc9a.js → file-retention-dhka8w8f.js} +3 -3
- package/dist/chunks/{location-service-map-89yw32r8.js → file-retention-dvgja063.js} +6 -6
- package/dist/chunks/{location-service-map-4c2w6q79.js → file-retention-dx9hwm58.js} +17 -17
- package/dist/chunks/{location-service-map-h0rg6s60.js → file-retention-e45fk36t.js} +4 -4
- package/dist/chunks/{location-service-map-p0cbjzex.js → file-retention-e5qrk7kc.js} +35 -35
- package/dist/chunks/{location-service-map-etsym5j7.js → file-retention-e7h3kv1s.js} +36 -36
- package/dist/chunks/{location-service-map-e834z07m.js → file-retention-e834z07m.js} +1 -1
- package/dist/chunks/{location-service-map-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-service-map-003kegp2.js → file-retention-etc4v71r.js} +13 -13
- package/dist/chunks/{location-service-map-1sme1v1k.js → file-retention-etzytfjk.js} +24 -24
- package/dist/chunks/{location-service-map-w059c7vr.js → file-retention-ex2ghmgq.js} +5 -5
- package/dist/chunks/{location-service-map-0bhrze2p.js → file-retention-f5bp1zt3.js} +26 -26
- package/dist/chunks/{location-service-map-fffv3p7h.js → file-retention-fffv3p7h.js} +1 -1
- package/dist/chunks/{location-service-map-1x6pf1gv.js → file-retention-fjbza28h.js} +88 -88
- package/dist/chunks/{location-service-map-yccdn1y1.js → file-retention-fvgj1da1.js} +7 -7
- package/dist/chunks/{location-service-map-mzrvsmc2.js → file-retention-fx2h2ek3.js} +4 -4
- package/dist/chunks/{location-service-map-dh7axqeh.js → file-retention-fy85b4j6.js} +16 -16
- package/dist/chunks/{location-service-map-5vh4rcr3.js → file-retention-fyg8cwdt.js} +14 -14
- package/dist/chunks/{location-service-map-g5h9c0rr.js → file-retention-g5h9c0rr.js} +2 -2
- package/dist/chunks/{location-service-map-sdmn02p2.js → file-retention-g6hpx9wf.js} +11 -11
- package/dist/chunks/{location-service-map-x6qr1hyp.js → file-retention-gnswcmy6.js} +4 -4
- package/dist/chunks/{location-service-map-e3ym3z1q.js → file-retention-gsgdtt07.js} +19 -19
- package/dist/chunks/{location-service-map-7ddrbmq5.js → file-retention-h1eg3vk4.js} +25 -25
- package/dist/chunks/{location-service-map-wm5nwgxs.js → file-retention-h1y7dhnp.js} +9 -9
- package/dist/chunks/{location-service-map-6zr8wwz2.js → file-retention-h401316e.js} +47 -47
- package/dist/chunks/{location-service-map-hpyhs3fr.js → file-retention-hamx4eyd.js} +13 -13
- package/dist/chunks/{location-service-map-t1ngx2fg.js → file-retention-haz7d3nj.js} +22 -22
- package/dist/chunks/{location-service-map-9ef8rrka.js → file-retention-hmhshprh.js} +8 -8
- package/dist/chunks/{location-service-map-e6b8fvx8.js → file-retention-hvtqj62d.js} +28 -28
- package/dist/chunks/{location-service-map-j113cymg.js → file-retention-j113cymg.js} +1 -1
- package/dist/chunks/{location-service-map-9zskf68x.js → file-retention-j1jygztj.js} +35 -35
- package/dist/chunks/{location-service-map-r8bgrvjg.js → file-retention-j21s6pys.js} +12 -12
- package/dist/chunks/{location-service-map-r4qf8hg2.js → file-retention-j22gxa80.js} +28 -28
- package/dist/chunks/{location-service-map-na462m5h.js → file-retention-j4qs9z9f.js} +23 -23
- package/dist/chunks/{location-service-map-hw8460a0.js → file-retention-j4rz9p31.js} +11 -11
- package/dist/chunks/{location-service-map-j49x6kf4.js → file-retention-jbkw413w.js} +8 -8
- package/dist/chunks/{location-service-map-afmr3pea.js → file-retention-jff6x0jb.js} +4 -4
- package/dist/chunks/{location-service-map-vgpm9ca5.js → file-retention-jfp7edqe.js} +20 -20
- package/dist/chunks/{location-service-map-8ykqf5wm.js → file-retention-jj9caqwr.js} +11 -11
- package/dist/chunks/{location-service-map-m428dt5q.js → file-retention-jjyvd6es.js} +33 -33
- package/dist/chunks/{location-service-map-27jee16v.js → file-retention-jtgyhacv.js} +27 -27
- package/dist/chunks/{location-service-map-v4sey8dh.js → file-retention-jv443j8m.js} +11 -11
- package/dist/chunks/{location-service-map-188drt2q.js → file-retention-jy10t676.js} +29 -29
- package/dist/chunks/{location-service-map-mrtxr4cp.js → file-retention-jz4cjtb2.js} +4 -4
- package/dist/chunks/{location-service-map-4etbn6tz.js → file-retention-k5qr9t5z.js} +5 -5
- package/dist/chunks/{location-service-map-k814nvkf.js → file-retention-k814nvkf.js} +1 -1
- package/dist/chunks/{location-service-map-3f8v07ch.js → file-retention-kd261f9v.js} +11 -11
- package/dist/chunks/{location-service-map-gvcwdp68.js → file-retention-kfd0jx8z.js} +20 -20
- package/dist/chunks/{location-service-map-g6wjc1x4.js → file-retention-kkgp9ksj.js} +35 -35
- package/dist/chunks/{location-service-map-m1714858.js → file-retention-m1714858.js} +1 -1
- package/dist/chunks/{location-service-map-kb5qgkwh.js → file-retention-m463fjkb.js} +10 -10
- package/dist/chunks/{location-service-map-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-service-map-maspj1v3.js → file-retention-maspj1v3.js} +1 -1
- package/dist/chunks/{location-service-map-zhq0k9nq.js → file-retention-mh30raav.js} +4 -4
- package/dist/chunks/{location-service-map-8n9x2wf6.js → file-retention-mtpeagzc.js} +3 -3
- package/dist/chunks/{location-service-map-n0p0277s.js → file-retention-n0p0277s.js} +1 -1
- package/dist/chunks/{location-service-map-90z9wy20.js → file-retention-n0wndcqz.js} +39 -39
- package/dist/chunks/{location-service-map-vgw3dfza.js → file-retention-n2zgan0r.js} +11 -11
- package/dist/chunks/{location-service-map-rr7wf6ce.js → file-retention-na0a39nw.js} +50 -50
- package/dist/chunks/{location-service-map-nah043kf.js → file-retention-nah043kf.js} +1 -1
- package/dist/chunks/{location-service-map-a2x4jk9y.js → file-retention-nbkd2rx6.js} +14 -14
- package/dist/chunks/{location-service-map-a3en8ngd.js → file-retention-ncfxqt3s.js} +10 -10
- package/dist/chunks/{location-service-map-5em4e5nr.js → file-retention-nf4f45p9.js} +41 -41
- package/dist/chunks/{location-service-map-rhdbdzx3.js → file-retention-nk9akxx5.js} +2 -2
- package/dist/chunks/{location-service-map-6ga3t03x.js → file-retention-nk9n5r8p.js} +15 -15
- package/dist/chunks/{location-service-map-a5g15581.js → file-retention-nkr5r85d.js} +2 -2
- package/dist/chunks/{location-service-map-ww12ck0g.js → file-retention-nm20qxyr.js} +20 -20
- package/dist/chunks/{location-service-map-0r6mtjdh.js → file-retention-nrb1vmgh.js} +32 -32
- package/dist/chunks/{location-service-map-qbmvg479.js → file-retention-ny5fjnrw.js} +20 -20
- package/dist/chunks/{location-service-map-p015t6z3.js → file-retention-p015t6z3.js} +2 -2
- package/dist/chunks/{location-service-map-aedgfdwr.js → file-retention-p4j299q5.js} +17 -17
- package/dist/chunks/{location-service-map-v9ez2kgh.js → file-retention-p7vhpwh8.js} +5 -5
- package/dist/chunks/{location-service-map-8bc2ahr8.js → file-retention-pc1v25hk.js} +3 -3
- package/dist/chunks/{location-service-map-4xvztgkr.js → file-retention-pd5s7czc.js} +11 -11
- package/dist/chunks/{location-service-map-dkdbv7e2.js → file-retention-pjw5exqh.js} +11 -11
- package/dist/chunks/{location-service-map-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{location-service-map-9sz3mafc.js → file-retention-pm973k6d.js} +4 -4
- package/dist/chunks/{location-service-map-s9kc5ksh.js → file-retention-pp47ehpg.js} +4 -4
- package/dist/chunks/{location-service-map-6281ma0y.js → file-retention-pv64vp27.js} +11 -11
- package/dist/chunks/{location-service-map-yg0c2r26.js → file-retention-qada39n4.js} +3 -3
- package/dist/chunks/{location-service-map-n4vfsstt.js → file-retention-qcv3trs9.js} +9 -9
- package/dist/chunks/{location-service-map-8bbz0hfx.js → file-retention-qer95tax.js} +19 -19
- package/dist/chunks/{location-service-map-e4fwp3bx.js → file-retention-qgqvdsez.js} +11 -11
- package/dist/chunks/{location-service-map-qjgzc4b4.js → file-retention-qjgzc4b4.js} +1 -1
- package/dist/chunks/{location-service-map-wksxchbw.js → file-retention-qv2ex6zx.js} +14 -14
- package/dist/chunks/{location-service-map-r35n27g2.js → file-retention-qx10fapg.js} +24 -24
- package/dist/chunks/{location-service-map-r0yr0wbs.js → file-retention-r0yr0wbs.js} +1 -1
- package/dist/chunks/{location-service-map-5e15319b.js → file-retention-r2jew814.js} +5 -5
- package/dist/chunks/{location-service-map-rb9dy4dg.js → file-retention-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-service-map-013vhq9d.js → file-retention-rbhan2a8.js} +43 -43
- package/dist/chunks/{location-service-map-t72mevzp.js → file-retention-remxw044.js} +1 -1
- package/dist/chunks/{location-service-map-z35z7ez2.js → file-retention-rmd2jjvw.js} +4 -4
- package/dist/chunks/{location-service-map-d00p4xa9.js → file-retention-rqbwb7q3.js} +18 -18
- package/dist/chunks/{location-service-map-rt5dr6hb.js → file-retention-rt5dr6hb.js} +1 -1
- package/dist/chunks/{location-service-map-4ed14fdp.js → file-retention-rw5cqjms.js} +33 -33
- package/dist/chunks/{location-service-map-nb5axcyq.js → file-retention-ry63fkbp.js} +6 -6
- package/dist/chunks/{location-service-map-1ak811wc.js → file-retention-s774txbb.js} +32 -32
- package/dist/chunks/{location-service-map-asregxpd.js → file-retention-s8tktxtj.js} +13 -13
- package/dist/chunks/{location-service-map-j13zswh9.js → file-retention-s9zqy389.js} +8 -8
- package/dist/chunks/{location-service-map-2g2v5pv8.js → file-retention-sbexhbnh.js} +9 -9
- package/dist/chunks/{location-service-map-3twxkf78.js → file-retention-sdgwjry1.js} +45 -45
- package/dist/chunks/{location-service-map-5rffwtjg.js → file-retention-sgj3v8j3.js} +20 -20
- package/dist/chunks/{location-service-map-aecf60s0.js → file-retention-sjx4qwkt.js} +13 -13
- package/dist/chunks/{location-service-map-355rvjhq.js → file-retention-spxhva7x.js} +13 -13
- package/dist/chunks/{location-service-map-sqjzf8x2.js → file-retention-sqjzf8x2.js} +1 -1
- package/dist/chunks/{location-service-map-bhsvbham.js → file-retention-t5qy80th.js} +18 -18
- package/dist/chunks/{location-service-map-fgn5d73r.js → file-retention-t6qzkm7d.js} +34 -34
- package/dist/chunks/{location-service-map-jq5wkjk8.js → file-retention-t9mb6c21.js} +1 -1
- package/dist/chunks/{location-service-map-tczq8hjw.js → file-retention-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-service-map-9abkctgc.js → file-retention-tpdxm5tk.js} +6 -6
- package/dist/chunks/{location-service-map-h8vvdn21.js → file-retention-tth2ngyv.js} +64 -64
- package/dist/chunks/{location-service-map-t8qws3g8.js → file-retention-tthyd1ww.js} +12 -12
- package/dist/chunks/{location-service-map-tw8zr1ps.js → file-retention-tw8zr1ps.js} +1 -1
- package/dist/chunks/{location-service-map-twv2r8f4.js → file-retention-twv2r8f4.js} +2 -2
- package/dist/chunks/{location-service-map-bemj2y7b.js → file-retention-v2bxwf46.js} +38 -38
- package/dist/chunks/{location-service-map-v2r1d0zg.js → file-retention-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-service-map-fvvfx1zv.js → file-retention-v3t7qrd6.js} +189 -189
- package/dist/chunks/{location-service-map-zwfqh4cf.js → file-retention-v3vpydwx.js} +22 -22
- package/dist/chunks/{location-service-map-wa35tw6v.js → file-retention-v70qecbj.js} +15 -15
- package/dist/chunks/{location-service-map-p2426226.js → file-retention-vb1h3fk1.js} +3 -3
- package/dist/chunks/{location-service-map-vd3b3yk9.js → file-retention-vd3b3yk9.js} +1 -1
- package/dist/chunks/{location-service-map-5g505q1a.js → file-retention-vdrf2z40.js} +25 -25
- package/dist/chunks/{location-service-map-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/{location-service-map-m37sd98t.js → file-retention-vmfhgzt5.js} +4 -4
- package/dist/chunks/{location-service-map-7bg5w1mh.js → file-retention-vq1ppevj.js} +8 -8
- package/dist/chunks/{location-service-map-2kagezbr.js → file-retention-vq7nwj9a.js} +33 -33
- package/dist/chunks/{location-service-map-smfcvx02.js → file-retention-vrcsa8qx.js} +9 -9
- package/dist/chunks/{location-service-map-4fde41kk.js → file-retention-vw5yqba1.js} +21 -21
- package/dist/chunks/{location-service-map-139nr8yw.js → file-retention-w1j6kydb.js} +11 -11
- package/dist/chunks/{location-service-map-xrpfz6f8.js → file-retention-w22yp63b.js} +9 -9
- package/dist/chunks/{location-service-map-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-service-map-wakvkjy4.js → file-retention-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-service-map-0pnxwcyc.js → file-retention-wbs5jnf2.js} +10 -10
- package/dist/chunks/{location-service-map-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{location-service-map-j71y8rmy.js → file-retention-wetwfxab.js} +23 -23
- package/dist/chunks/{location-service-map-tn28sp3a.js → file-retention-wj0whgje.js} +14 -14
- package/dist/chunks/{location-service-map-d9x798yd.js → file-retention-wkcmpner.js} +6 -6
- package/dist/chunks/{location-service-map-s7kyse9r.js → file-retention-wqscedq8.js} +9 -9
- package/dist/chunks/{location-service-map-wr3re1en.js → file-retention-wr3re1en.js} +1 -1
- package/dist/chunks/{location-service-map-qbkx5tms.js → file-retention-wvskh021.js} +18 -18
- package/dist/chunks/{location-service-map-8bya8z2e.js → file-retention-wyzcntk3.js} +43 -43
- package/dist/chunks/{location-service-map-ejmz6kkm.js → file-retention-wz1jcdgb.js} +25 -25
- package/dist/chunks/{location-service-map-zg5bfpcj.js → file-retention-wzwsv8q3.js} +8 -8
- package/dist/chunks/{location-service-map-9b28cy4d.js → file-retention-x3t9xer4.js} +5 -5
- package/dist/chunks/{location-service-map-vzb2t1dt.js → file-retention-x3xjyz42.js} +10 -10
- package/dist/chunks/{location-service-map-y81cv5eb.js → file-retention-x43as62j.js} +20 -20
- package/dist/chunks/{location-service-map-7fts76r7.js → file-retention-x6v8tecr.js} +81 -81
- package/dist/chunks/file-retention-x90fzfq6.js +517 -0
- package/dist/chunks/{location-service-map-y2s0ta7g.js → file-retention-xcbr4qhr.js} +23 -23
- package/dist/chunks/{location-service-map-tdyhpgr0.js → file-retention-xs35f6gm.js} +19 -19
- package/dist/chunks/{location-service-map-w8j8mkqh.js → file-retention-xv753k3w.js} +25 -25
- package/dist/chunks/{location-service-map-tx2wf29d.js → file-retention-xvs21e7s.js} +9 -9
- package/dist/chunks/{location-service-map-jchrqzf6.js → file-retention-y2tacs4v.js} +8 -8
- package/dist/chunks/{location-service-map-ffxnyj3q.js → file-retention-y31s63n5.js} +6 -6
- package/dist/chunks/{location-service-map-gah3njre.js → file-retention-y81yjmmg.js} +16 -16
- package/dist/chunks/{location-service-map-yb20nhc3.js → file-retention-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-service-map-bd45fzh3.js → file-retention-yg7ytxzr.js} +6 -6
- package/dist/chunks/{location-service-map-g3j8z5p4.js → file-retention-yh5vc5ym.js} +27 -27
- package/dist/chunks/{location-service-map-zqp8ase3.js → file-retention-yszz6e3t.js} +29 -29
- package/dist/chunks/{location-service-map-zdat2xwq.js → file-retention-yydqqga9.js} +4 -4
- package/dist/chunks/{location-service-map-53x1cw92.js → file-retention-yyqm007w.js} +9 -9
- package/dist/chunks/{location-service-map-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-service-map-z38nccrw.js → file-retention-z38nccrw.js} +1 -1
- package/dist/chunks/{location-service-map-z9r2qbyv.js → file-retention-z781txa6.js} +5 -5
- package/dist/chunks/{location-service-map-nj07n8jc.js → file-retention-zfcxpxqg.js} +58 -58
- package/dist/chunks/{location-service-map-sq86wmmj.js → file-retention-zjrmgn7z.js} +17 -17
- package/dist/chunks/{location-service-map-ppr22hv7.js → file-retention-zjzg4f6c.js} +1 -1
- package/dist/chunks/{location-service-map-zkg84ctx.js → file-retention-zkg84ctx.js} +1 -1
- package/dist/chunks/{location-service-map-3zrv9gmq.js → file-retention-zpr39raf.js} +26 -26
- package/dist/chunks/{location-service-map-0b9rhbpe.js → file-retention-zvp9t4zy.js} +35 -35
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- 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 +116 -116
- 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 +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +94 -94
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +109 -109
- 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 +101 -101
- 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 +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +159 -159
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +138 -138
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +121 -121
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +123 -123
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- 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 +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +102 -102
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- 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 +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +166 -166
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- 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 +135 -135
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +132 -132
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- 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 +84 -84
- 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 +91 -91
- package/dist/worktree.js +102 -102
- package/package.json +8 -8
- package/dist/chunks/location-service-map-03p9d38e.js +0 -257
- package/dist/chunks/location-service-map-1y25g81x.js +0 -517
- package/dist/chunks/location-service-map-7yv5xa0k.js +0 -18
- package/dist/chunks/location-service-map-hmc8wnkn.js +0 -26
- /package/dist/chunks/{location-service-map-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-service-map-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-service-map-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-service-map-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-service-map-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-service-map-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-service-map-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-service-map-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-service-map-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-service-map-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{location-service-map-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-service-map-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-service-map-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-service-map-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-service-map-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-service-map-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-service-map-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{location-service-map-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-service-map-5fjb7ams.js → file-retention-5fjb7ams.js} +0 -0
- /package/dist/chunks/{location-service-map-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{location-service-map-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-service-map-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-service-map-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-service-map-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{location-service-map-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-service-map-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-service-map-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-service-map-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-service-map-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-service-map-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-service-map-a058387c.js → file-retention-a058387c.js} +0 -0
- /package/dist/chunks/{location-service-map-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-service-map-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-service-map-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-service-map-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-service-map-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-service-map-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-service-map-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-service-map-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-service-map-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-service-map-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-service-map-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-service-map-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-service-map-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-service-map-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{location-service-map-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-service-map-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-service-map-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-service-map-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-service-map-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-service-map-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-service-map-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-service-map-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-service-map-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-service-map-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-service-map-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-service-map-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{location-service-map-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-service-map-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{location-service-map-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-service-map-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{location-service-map-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-service-map-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-service-map-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-service-map-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-service-map-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-service-map-jze0r7bz.js → file-retention-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-service-map-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-service-map-m18g726c.js → file-retention-m18g726c.js} +0 -0
- /package/dist/chunks/{location-service-map-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-service-map-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-service-map-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-service-map-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-service-map-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-service-map-pkyv6v7h.js → file-retention-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{location-service-map-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-service-map-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-service-map-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-service-map-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-service-map-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-service-map-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-service-map-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-service-map-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-service-map-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-service-map-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-service-map-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-service-map-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-service-map-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-service-map-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-service-map-wjj7prxr.js → file-retention-wjj7prxr.js} +0 -0
- /package/dist/chunks/{location-service-map-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-service-map-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-service-map-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{location-service-map-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-service-map-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-service-map-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-service-map-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-service-map-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-service-map-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./file-retention-byrp127m.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service73,
|
|
9
|
+
node76
|
|
10
|
+
} from "./file-retention-rw5cqjms.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-vd3b3yk9.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-ar2j3j0f.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-retention-1thmyanr.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event15,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID9,
|
|
41
|
+
Info: () => Info19,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service72,
|
|
49
|
+
node: () => node75
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event15 } from "@opencode/schema/integration";
|
|
72
|
+
var ID9 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info19 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,20 +101,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID9,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service72 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
117
|
-
const bus = yield*
|
|
115
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service73;
|
|
117
|
+
const bus = yield* Service85;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
120
120
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info19.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
301
301
|
const persistence = yield* createCredential({
|
|
302
302
|
integrationID: attempt.integrationID,
|
|
303
303
|
label: attempt.label,
|
|
304
|
-
value:
|
|
304
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
305
305
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
306
306
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
307
307
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service72.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
469
469
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
470
470
|
if (connection.type === "env") {
|
|
471
471
|
const key = process.env[connection.name];
|
|
472
|
-
return key ?
|
|
472
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
473
473
|
}
|
|
474
474
|
const credential = yield* credentials.get(connection.id);
|
|
475
475
|
if (!credential)
|
|
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
502
502
|
yield* createCredential({
|
|
503
503
|
integrationID: input.integrationID,
|
|
504
504
|
label: input.label,
|
|
505
|
-
value:
|
|
505
|
+
value: Key3.make({
|
|
506
506
|
type: "key",
|
|
507
507
|
key: input.key,
|
|
508
508
|
...Object.keys(answer).length > 0 ? { metadata: answer } : {}
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node75 = makeLocationNode({
|
|
633
|
+
service: Service72,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node76, node89, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info19, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service72, node75, exports_integration, Event15 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service52,
|
|
3
|
+
node55
|
|
4
|
+
} from "./file-retention-90h4gxms.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./file-retention-3xbbjsgy.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service51,
|
|
11
|
+
node54
|
|
12
|
+
} from "./file-retention-na0a39nw.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-6esdw8yj.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service9,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer7,
|
|
28
|
+
node: () => node11
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service9 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service51;
|
|
40
|
+
const watcher = yield* Service52;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service82;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service9.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node11 = makeLocationNode({
|
|
74
|
+
service: Service9,
|
|
75
|
+
layer: layer7,
|
|
76
|
+
deps: [node54, FSUtil.node, node55, node86]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service9,
|
|
80
|
+
layer: Layer.succeed(Service9, Service9.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service9, layer7, node11, empty2, exports_source };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-4v008n1t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service52
|
|
6
|
+
} from "./file-retention-90h4gxms.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./file-retention-na0a39nw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service61,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-m463fjkb.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/plugin/module.ts
|
|
20
20
|
var exports_module = {};
|
|
@@ -31,9 +31,9 @@ import path from "path";
|
|
|
31
31
|
import { stat } from "node:fs/promises";
|
|
32
32
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
33
33
|
var make4 = Effect.fn("PluginModule.make")(function* () {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const managed = yield*
|
|
36
|
-
const watcher = yield*
|
|
34
|
+
const config = yield* Service51;
|
|
35
|
+
const managed = yield* Service61;
|
|
36
|
+
const watcher = yield* Service52;
|
|
37
37
|
const scope = yield* Effect.scope;
|
|
38
38
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
39
39
|
const changes = yield* PubSub.unbounded();
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./file-retention-byrp127m.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-vd3b3yk9.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-1b000e53.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event12,
|
|
21
|
+
ID: () => ID6,
|
|
22
|
+
Info: () => Info16,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service65,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
|
-
available: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
available: () => available3,
|
|
29
|
+
node: () => node68,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -35,15 +35,15 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Context, Effect, Layer } from "effect";
|
|
37
37
|
import { Skill } from "@opencode/schema/skill";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event12 } from "@opencode/schema/skill";
|
|
39
39
|
var DirectorySource2 = Skill.DirectorySource;
|
|
40
40
|
var UrlSource2 = Skill.UrlSource;
|
|
41
41
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var Source4 = Skill.Source;
|
|
43
|
+
var Info16 = Skill.Info;
|
|
44
|
+
var ID6 = Skill.ID;
|
|
45
45
|
var Name2 = Skill.Name;
|
|
46
|
-
var
|
|
46
|
+
var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
47
47
|
var toModelOutput3 = (skill, files) => {
|
|
48
48
|
const directory = path.dirname(skill.path);
|
|
49
49
|
return [
|
|
@@ -78,21 +78,21 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
78
78
|
};
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service65 extends Context.Service()("@opencode/Skill") {
|
|
82
82
|
}
|
|
83
|
-
var layer = Layer.effect(
|
|
84
|
-
const bus = yield*
|
|
83
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
84
|
+
const bus = yield* Service85;
|
|
85
85
|
const state = create3({
|
|
86
86
|
name: "skill",
|
|
87
87
|
initial: () => ({ skills: new Map }),
|
|
88
88
|
editor: (editor) => ({
|
|
89
89
|
list: () => Array.from(editor.skills.values()),
|
|
90
|
-
get: (id) => editor.skills.get(
|
|
90
|
+
get: (id) => editor.skills.get(ID6.make(id)),
|
|
91
91
|
add: (skill) => {
|
|
92
92
|
editor.skills.set(skill.id, { ...skill });
|
|
93
93
|
},
|
|
94
94
|
update: (id, update) => {
|
|
95
|
-
const key =
|
|
95
|
+
const key = ID6.make(id);
|
|
96
96
|
const current = editor.skills.get(key);
|
|
97
97
|
if (!current)
|
|
98
98
|
return;
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
100
100
|
current.id = key;
|
|
101
101
|
},
|
|
102
102
|
remove: (id) => {
|
|
103
|
-
editor.skills.delete(
|
|
103
|
+
editor.skills.delete(ID6.make(id));
|
|
104
104
|
}
|
|
105
105
|
}),
|
|
106
106
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service65.of({
|
|
109
109
|
transform: state.transform,
|
|
110
110
|
reload: state.reload,
|
|
111
111
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -116,10 +116,10 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
120
|
-
service:
|
|
119
|
+
var node68 = makeLocationNode({
|
|
120
|
+
service: Service65,
|
|
121
121
|
layer,
|
|
122
|
-
deps: [
|
|
122
|
+
deps: [node89]
|
|
123
123
|
});
|
|
124
124
|
|
|
125
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
125
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info16, ID6, Name2, available3, toModelOutput3, prepare3, Service65, node68, exports_skill5, Event12 };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
provider2,
|
|
3
3
|
model2,
|
|
4
4
|
compatibleModel2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-j113cymg.js";
|
|
6
6
|
import {
|
|
7
7
|
aisdk2,
|
|
8
8
|
packageName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-b69pzmrp.js";
|
|
10
10
|
import {
|
|
11
11
|
Capabilities2,
|
|
12
12
|
compatibility2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-kkgp9ksj.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/v1/config/migrate.ts
|
|
19
19
|
var exports_migrate = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service72
|
|
4
|
+
} from "./file-retention-jjyvd6es.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service72;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID9.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-vd3b3yk9.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-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: () => Service40,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node43
|
|
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 Service40 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(Service40, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service40.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node43 = makeLocationNode({
|
|
143
|
+
service: Service40,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service40, node43, exports_tool_output2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service84,
|
|
6
|
+
node88
|
|
7
|
+
} from "./file-retention-0pv52n9j.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-bstexjd6.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service64,
|
|
16
|
+
node67
|
|
17
|
+
} from "./file-retention-ncfxqt3s.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service63,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node66,
|
|
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 Service63 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service84;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service64;
|
|
110
|
+
return Service63.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node66 = makeGlobalNode({
|
|
171
|
+
service: Service63,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node88, Global.node, node67]
|
|
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, Service63, isError2, validateBranch2, node66, exports_repository_cache };
|