@opencode/core 0.0.0-dev-19769 → 0.0.0-dev-19771
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{repository-j7wq2tw5.js → location-lifecycle-08rawchj.js} +3 -3
- package/dist/chunks/{repository-1tmm29rr.js → location-lifecycle-0c8sczda.js} +6 -6
- package/dist/chunks/{repository-0paq2nw3.js → location-lifecycle-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-0q0f95c6.js → location-lifecycle-0q0f95c6.js} +1 -1
- package/dist/chunks/location-lifecycle-0vmfebvz.js +478 -0
- package/dist/chunks/{repository-n6wrsq7f.js → location-lifecycle-1466r77q.js} +9 -9
- package/dist/chunks/{repository-fn8r46yt.js → location-lifecycle-174zhseq.js} +25 -25
- package/dist/chunks/{repository-73tb2d7t.js → location-lifecycle-1bbkgx8g.js} +3 -3
- package/dist/chunks/{repository-1dazxqgg.js → location-lifecycle-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-v4hmrze8.js → location-lifecycle-1ehww2v2.js} +10 -10
- package/dist/chunks/{repository-cc3rhb19.js → location-lifecycle-1kq7x5qn.js} +62 -62
- package/dist/chunks/{repository-vqxaxcf1.js → location-lifecycle-1ktd7b6f.js} +13 -13
- package/dist/chunks/{repository-pyx37xrr.js → location-lifecycle-1w1k9xpb.js} +30 -30
- package/dist/chunks/{repository-kj2sv36s.js → location-lifecycle-20axtcfn.js} +5 -5
- package/dist/chunks/{repository-21r38tys.js → location-lifecycle-21r38tys.js} +1 -1
- package/dist/chunks/{repository-6h73sxmp.js → location-lifecycle-2402vzrj.js} +5 -5
- package/dist/chunks/{repository-z63w68vq.js → location-lifecycle-29x78va6.js} +6 -6
- package/dist/chunks/{repository-2a5m3afh.js → location-lifecycle-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-9b1atvvx.js → location-lifecycle-2aq52r8k.js} +20 -20
- package/dist/chunks/{repository-9ppytv0z.js → location-lifecycle-2bac5kce.js} +27 -27
- package/dist/chunks/{repository-pwb6zpac.js → location-lifecycle-2facesyc.js} +20 -20
- package/dist/chunks/{repository-tz3nmx0j.js → location-lifecycle-2m15pen8.js} +24 -24
- package/dist/chunks/{repository-m2542dxt.js → location-lifecycle-2mg1dsg3.js} +4 -4
- package/dist/chunks/{repository-e188km2a.js → location-lifecycle-328th6nm.js} +17 -17
- package/dist/chunks/{repository-m8akdy0v.js → location-lifecycle-3744gwmw.js} +31 -31
- package/dist/chunks/{repository-3fc6dm20.js → location-lifecycle-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-6y44j97d.js → location-lifecycle-3j6t0fah.js} +18 -18
- package/dist/chunks/{repository-1ax7tqy2.js → location-lifecycle-3mef1nc0.js} +13 -13
- package/dist/chunks/{repository-7c3st4jz.js → location-lifecycle-3mh8mcsd.js} +19 -19
- package/dist/chunks/{repository-qyzwb919.js → location-lifecycle-3mnwv5pc.js} +25 -25
- package/dist/chunks/{repository-3smtnn6g.js → location-lifecycle-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → location-lifecycle-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-e36qgvhn.js → location-lifecycle-3wbhmqdg.js} +11 -11
- package/dist/chunks/{repository-1z0t5xwh.js → location-lifecycle-4fezg0qr.js} +27 -27
- package/dist/chunks/{repository-3jmhxbye.js → location-lifecycle-4fkqdd82.js} +15 -15
- package/dist/chunks/{repository-5pdbn9ps.js → location-lifecycle-4j2m23fe.js} +19 -19
- package/dist/chunks/{repository-krbqxjpe.js → location-lifecycle-4mhj3wz7.js} +8 -8
- package/dist/chunks/{repository-56gdpj1q.js → location-lifecycle-56gdpj1q.js} +2 -2
- package/dist/chunks/{repository-81swgkk7.js → location-lifecycle-57ez7d0k.js} +7 -7
- package/dist/chunks/{repository-4gawe8x4.js → location-lifecycle-5bg73mre.js} +11 -11
- package/dist/chunks/{repository-5daktx2q.js → location-lifecycle-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-spdwqtpn.js → location-lifecycle-5gb661jz.js} +9 -9
- package/dist/chunks/{repository-j7j31x51.js → location-lifecycle-5jewystt.js} +6 -6
- package/dist/chunks/{repository-5t3nmthw.js → location-lifecycle-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-669tq793.js → location-lifecycle-669tq793.js} +1 -1
- package/dist/chunks/{repository-xetzeabr.js → location-lifecycle-67sa8864.js} +25 -25
- package/dist/chunks/{repository-6msgmcgs.js → location-lifecycle-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-p6z56n1j.js → location-lifecycle-6rjxjn7m.js} +10 -10
- package/dist/chunks/{repository-851wtqqf.js → location-lifecycle-6tcgnf8s.js} +4 -4
- package/dist/chunks/{repository-4qkvfqqk.js → location-lifecycle-6yb5hqwk.js} +29 -29
- package/dist/chunks/{repository-v1nykaf9.js → location-lifecycle-701x6znf.js} +28 -28
- package/dist/chunks/{repository-yexpv489.js → location-lifecycle-74fsgkfp.js} +35 -35
- package/dist/chunks/{repository-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-bbtvb4qv.js → location-lifecycle-7cra1dwx.js} +11 -11
- package/dist/chunks/{repository-2k8khapm.js → location-lifecycle-7dqw4kz8.js} +5 -5
- package/dist/chunks/{repository-w4arg62q.js → location-lifecycle-7ebn0nc0.js} +6 -6
- package/dist/chunks/{repository-qmyzm461.js → location-lifecycle-7n5krer2.js} +12 -12
- package/dist/chunks/{repository-tgyp3sag.js → location-lifecycle-7nyk300c.js} +30 -30
- package/dist/chunks/{repository-0f9afca0.js → location-lifecycle-809q4hne.js} +5 -5
- package/dist/chunks/{repository-02cs18yf.js → location-lifecycle-84regx6k.js} +38 -38
- package/dist/chunks/{repository-8d7r5vzw.js → location-lifecycle-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-6gcwrvb4.js → location-lifecycle-8h643jkf.js} +9 -9
- package/dist/chunks/{repository-dj2t23y0.js → location-lifecycle-8p4f9s12.js} +2 -2
- package/dist/chunks/{repository-tmrdwbct.js → location-lifecycle-8xjjc0pd.js} +19 -19
- package/dist/chunks/{repository-hmc4zdtv.js → location-lifecycle-94em26ae.js} +5 -5
- package/dist/chunks/{repository-122dvtp1.js → location-lifecycle-970bw64c.js} +17 -17
- package/dist/chunks/{repository-vd3gnyv8.js → location-lifecycle-99dmgpqm.js} +11 -11
- package/dist/chunks/{repository-xv0a7vy5.js → location-lifecycle-9jtxab4r.js} +32 -32
- package/dist/chunks/{repository-ce65tj11.js → location-lifecycle-9ktm0b6s.js} +51 -51
- package/dist/chunks/{repository-vm6v9059.js → location-lifecycle-9n1tg09n.js} +11 -11
- package/dist/chunks/{repository-fbw0vhp1.js → location-lifecycle-9sw9mzav.js} +11 -11
- package/dist/chunks/{repository-9b6r1n9h.js → location-lifecycle-9t3sp04t.js} +43 -43
- package/dist/chunks/{repository-k73yd5yd.js → location-lifecycle-9xjgq8a9.js} +3 -3
- package/dist/chunks/{repository-c9thm2jp.js → location-lifecycle-9yw32yaa.js} +14 -14
- package/dist/chunks/{repository-5c4hm403.js → location-lifecycle-a1bz86dw.js} +3 -3
- package/dist/chunks/{repository-wdw0r690.js → location-lifecycle-a81ktjvh.js} +11 -11
- package/dist/chunks/{repository-aaet6srn.js → location-lifecycle-aaet6srn.js} +2 -2
- package/dist/chunks/location-lifecycle-aeqyc5xs.js +26 -0
- package/dist/chunks/{repository-7j2qha59.js → location-lifecycle-ahd542yp.js} +8 -8
- package/dist/chunks/{repository-s9kcfb9z.js → location-lifecycle-aqtafj8r.js} +1 -1
- package/dist/chunks/{repository-g190xswt.js → location-lifecycle-axmvebxj.js} +21 -21
- package/dist/chunks/{repository-s5erq2b1.js → location-lifecycle-ayxxfpy2.js} +15 -15
- package/dist/chunks/{repository-b6gygkdw.js → location-lifecycle-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-9ws33mfb.js → location-lifecycle-bb86ahs1.js} +5 -5
- package/dist/chunks/{repository-a04068z3.js → location-lifecycle-bxarywtn.js} +23 -23
- package/dist/chunks/{repository-ejwr8mgp.js → location-lifecycle-c488s98d.js} +12 -12
- package/dist/chunks/{repository-m0jqrx5p.js → location-lifecycle-cfpkc3c9.js} +2 -2
- package/dist/chunks/{repository-5xtgfte3.js → location-lifecycle-cmwkp3r5.js} +8 -8
- package/dist/chunks/{repository-2tfmgkzg.js → location-lifecycle-cq37gk0t.js} +4 -4
- package/dist/chunks/{repository-2m6tdwb7.js → location-lifecycle-cry8xwhg.js} +3 -3
- package/dist/chunks/{repository-paegk39x.js → location-lifecycle-csf2jhsg.js} +4 -4
- package/dist/chunks/{repository-7bz5ees8.js → location-lifecycle-cwny1ppz.js} +30 -30
- package/dist/chunks/{repository-4jnysezt.js → location-lifecycle-dgwtn50y.js} +19 -19
- package/dist/chunks/{repository-t0fxg8b9.js → location-lifecycle-dqmwfghx.js} +5 -5
- package/dist/chunks/{repository-57b9ws8p.js → location-lifecycle-drwq78ky.js} +5 -5
- package/dist/chunks/{repository-scv7p57g.js → location-lifecycle-dvep9rg9.js} +9 -9
- package/dist/chunks/{repository-95nee50p.js → location-lifecycle-dvkjkx8e.js} +1 -1
- package/dist/chunks/location-lifecycle-dxj72tfx.js +18 -0
- package/dist/chunks/{repository-hrsq9gd1.js → location-lifecycle-dyh11xxw.js} +9 -9
- package/dist/chunks/{repository-5qd3pb7m.js → location-lifecycle-e3qxr5gk.js} +2 -2
- package/dist/chunks/{repository-kypwaetd.js → location-lifecycle-e936zhz9.js} +14 -14
- package/dist/chunks/{repository-nms28mnr.js → location-lifecycle-eek2a8x8.js} +14 -14
- package/dist/chunks/{repository-ef5x83kb.js → location-lifecycle-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-wnbgtmcr.js → location-lifecycle-ef9ad86t.js} +24 -24
- package/dist/chunks/{repository-erw5rpbs.js → location-lifecycle-erw5rpbs.js} +2 -2
- package/dist/chunks/{repository-etq0c3wd.js → location-lifecycle-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-dkepx75h.js → location-lifecycle-ewj0d9fe.js} +11 -11
- package/dist/chunks/{repository-sfkj0ta1.js → location-lifecycle-ex0pka66.js} +5 -5
- package/dist/chunks/{repository-818pfwc9.js → location-lifecycle-f32czd11.js} +11 -11
- package/dist/chunks/{repository-1vr0zdnx.js → location-lifecycle-f38mbwqt.js} +9 -9
- package/dist/chunks/{repository-xg9t41r3.js → location-lifecycle-f38wsw69.js} +2 -2
- package/dist/chunks/{repository-hdnk95c8.js → location-lifecycle-f828m53h.js} +2 -2
- package/dist/chunks/{repository-yn2ye6x1.js → location-lifecycle-fb3ej5ej.js} +23 -23
- package/dist/chunks/{repository-yaamm28n.js → location-lifecycle-fjkp771g.js} +22 -22
- package/dist/chunks/{repository-ryr25ayn.js → location-lifecycle-fm2qvscf.js} +4 -4
- package/dist/chunks/{repository-80783bh5.js → location-lifecycle-fnafhjrm.js} +23 -23
- package/dist/chunks/{repository-3gq312nc.js → location-lifecycle-fpr4rjwc.js} +11 -11
- package/dist/chunks/{repository-fxbjtjnd.js → location-lifecycle-fxbjtjnd.js} +1 -1
- package/dist/chunks/{repository-k8374c5q.js → location-lifecycle-g5dbv4m6.js} +5 -5
- package/dist/chunks/{repository-ej74qwfk.js → location-lifecycle-g858ege8.js} +10 -10
- package/dist/chunks/{repository-s9a2knzy.js → location-lifecycle-g9bsnkw4.js} +8 -8
- package/dist/chunks/{repository-jywznmgw.js → location-lifecycle-gcejxdeh.js} +11 -11
- package/dist/chunks/{repository-gd4qta3r.js → location-lifecycle-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-mmvpf3z9.js → location-lifecycle-gejspzzg.js} +23 -23
- package/dist/chunks/{repository-z73117hq.js → location-lifecycle-gtd25ap0.js} +6 -6
- package/dist/chunks/{repository-gv6a8nnw.js → location-lifecycle-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-zqkcer71.js → location-lifecycle-gwvc1hqs.js} +19 -19
- package/dist/chunks/{repository-xrpj31b0.js → location-lifecycle-gxkxv40a.js} +5 -5
- package/dist/chunks/{repository-11faaktz.js → location-lifecycle-gxtsbhwy.js} +15 -15
- package/dist/chunks/{repository-tqd2p7vb.js → location-lifecycle-h012fvt9.js} +15 -15
- package/dist/chunks/{repository-tf0sfjy1.js → location-lifecycle-h58s4a4v.js} +13 -13
- package/dist/chunks/{repository-rkhtkbzg.js → location-lifecycle-h5wtym79.js} +16 -16
- package/dist/chunks/{repository-qb3z2rd2.js → location-lifecycle-h611g1gx.js} +3 -3
- package/dist/chunks/{repository-nzyhnfxz.js → location-lifecycle-h6r3nrb9.js} +4 -4
- package/dist/chunks/{repository-h6vf3j39.js → location-lifecycle-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-bydnjh3t.js → location-lifecycle-h71w788e.js} +2 -2
- package/dist/chunks/{repository-9gzsgfm4.js → location-lifecycle-h8edqr4y.js} +18 -18
- package/dist/chunks/{repository-xwfaabrj.js → location-lifecycle-ha607pgt.js} +6 -6
- package/dist/chunks/{repository-y4e3v118.js → location-lifecycle-hak61th1.js} +18 -18
- package/dist/chunks/{repository-e48wdnmq.js → location-lifecycle-hba11hfv.js} +28 -28
- package/dist/chunks/{repository-3pkejnne.js → location-lifecycle-heeyhcwp.js} +23 -23
- package/dist/chunks/{repository-qss189bp.js → location-lifecycle-hptzvfm2.js} +12 -12
- package/dist/chunks/{repository-j56e64zr.js → location-lifecycle-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-tbmac1c7.js → location-lifecycle-jewzahs7.js} +4 -4
- package/dist/chunks/location-lifecycle-jjx3pceh.js +252 -0
- package/dist/chunks/{repository-f0173z6s.js → location-lifecycle-jmf3pa4s.js} +4 -4
- package/dist/chunks/{repository-0r7yqxbf.js → location-lifecycle-jv01nqvq.js} +5 -5
- package/dist/chunks/{repository-nw2nz702.js → location-lifecycle-jva4mgym.js} +4 -4
- package/dist/chunks/{repository-6brvp8jk.js → location-lifecycle-jvht4t7z.js} +11 -11
- package/dist/chunks/{repository-ayec40qr.js → location-lifecycle-jy413cw9.js} +18 -18
- package/dist/chunks/{repository-7g7gx5pj.js → location-lifecycle-k1vtzvdf.js} +22 -22
- package/dist/chunks/{repository-nzks3jc8.js → location-lifecycle-k3c624dm.js} +3 -3
- package/dist/chunks/{repository-8gtmmj3e.js → location-lifecycle-k443rats.js} +31 -31
- package/dist/chunks/{repository-1z7773kr.js → location-lifecycle-kbv9vvfe.js} +12 -12
- package/dist/chunks/{repository-aqcfb23j.js → location-lifecycle-kddy6dsc.js} +11 -11
- package/dist/chunks/{repository-21yy59vd.js → location-lifecycle-km2jwbvk.js} +17 -17
- package/dist/chunks/{repository-3tq5qxbk.js → location-lifecycle-knb7evpn.js} +8 -8
- package/dist/chunks/{repository-8gxqpgph.js → location-lifecycle-kne8f3cn.js} +4 -4
- package/dist/chunks/{repository-6ymf14rh.js → location-lifecycle-kpmz6fzy.js} +10 -10
- package/dist/chunks/{repository-ne89hd12.js → location-lifecycle-kqm39a7s.js} +76 -76
- package/dist/chunks/{repository-m3fdjcah.js → location-lifecycle-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-fxmgg4aj.js → location-lifecycle-m9g140gf.js} +4 -4
- package/dist/chunks/{repository-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-wdy8ayv0.js → location-lifecycle-mcvt4s13.js} +33 -33
- package/dist/chunks/{repository-p1dtcdn6.js → location-lifecycle-mf60cw7q.js} +42 -42
- package/dist/chunks/{repository-3pvrcrbr.js → location-lifecycle-mmnww55k.js} +13 -13
- package/dist/chunks/{repository-kjczd05a.js → location-lifecycle-mmsq6tb2.js} +27 -27
- package/dist/chunks/{repository-aj9sfs2c.js → location-lifecycle-mp22a6z6.js} +13 -13
- package/dist/chunks/{repository-5w45afp5.js → location-lifecycle-mvdejg8s.js} +3 -3
- package/dist/chunks/{repository-dzrcb86n.js → location-lifecycle-myrwtzhc.js} +32 -32
- package/dist/chunks/{repository-xx5d256e.js → location-lifecycle-n1aycyk1.js} +25 -25
- package/dist/chunks/{repository-5zhg5203.js → location-lifecycle-n2d630th.js} +7 -7
- package/dist/chunks/{repository-7arn502q.js → location-lifecycle-n92mjzky.js} +22 -22
- package/dist/chunks/{repository-xv28g7bs.js → location-lifecycle-n9qjhx81.js} +4 -4
- package/dist/chunks/{repository-23sxaqwc.js → location-lifecycle-nca7p386.js} +6 -6
- package/dist/chunks/{repository-c2d5mwvj.js → location-lifecycle-nckwd48j.js} +47 -47
- package/dist/chunks/{repository-328cx775.js → location-lifecycle-nkcj1gcj.js} +51 -51
- package/dist/chunks/{repository-fhs97t90.js → location-lifecycle-nscznvay.js} +9 -9
- package/dist/chunks/{repository-38d1cmqw.js → location-lifecycle-ntqm1rav.js} +24 -24
- package/dist/chunks/{repository-3sz2bchy.js → location-lifecycle-p06r72s2.js} +19 -19
- package/dist/chunks/{repository-p28j5sbe.js → location-lifecycle-p28j5sbe.js} +2 -2
- package/dist/chunks/{repository-n8a799tr.js → location-lifecycle-p3xsxnnd.js} +24 -24
- package/dist/chunks/{repository-89avhe1g.js → location-lifecycle-p6wbyqfj.js} +17 -17
- package/dist/chunks/{repository-8sp84cjn.js → location-lifecycle-pdnh11fp.js} +35 -35
- package/dist/chunks/{repository-pjvnvgmy.js → location-lifecycle-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
- package/dist/chunks/{repository-tehh278v.js → location-lifecycle-q7yh6m05.js} +10 -10
- package/dist/chunks/{repository-snkcc4fb.js → location-lifecycle-qk8tymmw.js} +4 -4
- package/dist/chunks/{repository-cwa6csj7.js → location-lifecycle-qmqgtz8f.js} +9 -9
- package/dist/chunks/{repository-gbgzsaak.js → location-lifecycle-qmw5tnb2.js} +37 -37
- package/dist/chunks/{repository-qsdy395h.js → location-lifecycle-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-7a8n5hjw.js → location-lifecycle-qsswvbq8.js} +8 -8
- package/dist/chunks/{repository-64ec3t10.js → location-lifecycle-qx1qj4mn.js} +15 -15
- package/dist/chunks/{repository-btjhzyrj.js → location-lifecycle-qyxe5d7d.js} +65 -65
- package/dist/chunks/{repository-xkz7c9k1.js → location-lifecycle-r0wf10m3.js} +24 -24
- package/dist/chunks/{repository-zd485wpt.js → location-lifecycle-r6rhd2xr.js} +7 -7
- package/dist/chunks/{repository-sx1n432n.js → location-lifecycle-r98e92ep.js} +4 -4
- package/dist/chunks/{repository-7k43vd6t.js → location-lifecycle-r9faq7b2.js} +46 -46
- package/dist/chunks/{repository-74zwf8gc.js → location-lifecycle-r9vtmsk6.js} +93 -93
- package/dist/chunks/{repository-rdw6cm16.js → location-lifecycle-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-29eh7px0.js → location-lifecycle-reqevd7p.js} +17 -17
- package/dist/chunks/{repository-w6xp1hem.js → location-lifecycle-rf51g22b.js} +2 -2
- package/dist/chunks/{repository-eaj1djv9.js → location-lifecycle-rhjbct0v.js} +8 -8
- package/dist/chunks/{repository-jp1thbes.js → location-lifecycle-rmvt8bgk.js} +34 -34
- package/dist/chunks/{repository-7ns1f3fm.js → location-lifecycle-rshs96s6.js} +5 -5
- package/dist/chunks/{repository-j7d6k5qg.js → location-lifecycle-rsn291jg.js} +5 -5
- package/dist/chunks/{repository-2rt9jbq4.js → location-lifecycle-s1bfy7b2.js} +6 -6
- package/dist/chunks/{repository-yrznvahk.js → location-lifecycle-s4enseaf.js} +2 -2
- package/dist/chunks/{repository-se91gbej.js → location-lifecycle-s4fd02w1.js} +44 -44
- package/dist/chunks/{repository-h196rex3.js → location-lifecycle-s8pwec7v.js} +28 -28
- package/dist/chunks/{repository-rbsrykmc.js → location-lifecycle-seqv5kpb.js} +22 -22
- package/dist/chunks/{repository-qdakzt9p.js → location-lifecycle-sm1y1vrb.js} +9 -9
- package/dist/chunks/{repository-1c6rvf29.js → location-lifecycle-sr3h3j4j.js} +42 -42
- package/dist/chunks/{repository-1hgfyhjr.js → location-lifecycle-sx2f478y.js} +22 -22
- package/dist/chunks/{repository-3f29nsc9.js → location-lifecycle-sx44q36j.js} +10 -10
- package/dist/chunks/{repository-fhqgz6t0.js → location-lifecycle-ta1n0c1s.js} +31 -31
- package/dist/chunks/{repository-tazgh4e4.js → location-lifecycle-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-1fg9yqa8.js → location-lifecycle-tbe2k93y.js} +4 -4
- package/dist/chunks/{repository-tcezcvh9.js → location-lifecycle-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-tdstcens.js → location-lifecycle-tdstcens.js} +1 -1
- package/dist/chunks/{repository-e248x3jn.js → location-lifecycle-tf68swts.js} +12 -12
- package/dist/chunks/{repository-an855pfc.js → location-lifecycle-tk12xd0z.js} +27 -27
- package/dist/chunks/{repository-85ph882g.js → location-lifecycle-tky30qnq.js} +5 -5
- package/dist/chunks/{repository-tcg29b4q.js → location-lifecycle-ts2x07a1.js} +1 -1
- package/dist/chunks/{repository-tvtrv512.js → location-lifecycle-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-2wk1s5ej.js → location-lifecycle-tvze1296.js} +9 -9
- package/dist/chunks/{repository-yqgrxd6e.js → location-lifecycle-v0fmmm42.js} +32 -32
- package/dist/chunks/{repository-rz6nd0at.js → location-lifecycle-v0hepqtm.js} +33 -33
- package/dist/chunks/{repository-96r3cgq7.js → location-lifecycle-v6s0pt21.js} +7 -7
- package/dist/chunks/{repository-8dbdhz5n.js → location-lifecycle-v6yffka4.js} +16 -16
- package/dist/chunks/{repository-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-2z51qmx0.js → location-lifecycle-vp3k42e8.js} +35 -35
- package/dist/chunks/{repository-qdvbds2a.js → location-lifecycle-vsga7d5t.js} +21 -21
- package/dist/chunks/{repository-m4x4s9k7.js → location-lifecycle-vy067vm3.js} +11 -11
- package/dist/chunks/{repository-pjy5167v.js → location-lifecycle-vy44wwf3.js} +28 -28
- package/dist/chunks/{repository-vzcthcp8.js → location-lifecycle-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-xcd0eash.js → location-lifecycle-w21bzq9q.js} +6 -6
- package/dist/chunks/{repository-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-98bk4qe8.js → location-lifecycle-w59r0ea1.js} +10 -10
- package/dist/chunks/{repository-dv9a7byg.js → location-lifecycle-w83fpb0q.js} +3 -3
- package/dist/chunks/{repository-vd6cqa4j.js → location-lifecycle-w9564p80.js} +19 -19
- package/dist/chunks/{repository-qpbc7zwf.js → location-lifecycle-was7srj9.js} +8 -8
- package/dist/chunks/{repository-3srb4c33.js → location-lifecycle-wcc6r8bb.js} +36 -36
- package/dist/chunks/{repository-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
- package/dist/chunks/{repository-gyk8a0b3.js → location-lifecycle-wkqs5zpc.js} +33 -33
- package/dist/chunks/location-lifecycle-ws55t3x7.js +65 -0
- package/dist/chunks/{repository-5v1trjgx.js → location-lifecycle-wvdt0mnj.js} +18 -18
- package/dist/chunks/{repository-x1ezjp6w.js → location-lifecycle-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-3j8q1kjc.js → location-lifecycle-x23498t7.js} +35 -35
- package/dist/chunks/{repository-21418s17.js → location-lifecycle-x75jn9zf.js} +24 -24
- package/dist/chunks/{repository-2wb81fjp.js → location-lifecycle-x75yvd88.js} +15 -15
- package/dist/chunks/{repository-aejz0fra.js → location-lifecycle-x7e0fk1c.js} +17 -17
- package/dist/chunks/{repository-rwtc3fw1.js → location-lifecycle-xc0bfz3r.js} +5 -5
- package/dist/chunks/{repository-cefpf2j3.js → location-lifecycle-xfpy4nt9.js} +20 -20
- package/dist/chunks/{repository-pnstgbf5.js → location-lifecycle-xp2mkh6z.js} +18 -18
- package/dist/chunks/{repository-99e2g3zc.js → location-lifecycle-xt03s1fm.js} +35 -35
- package/dist/chunks/{repository-jef2745y.js → location-lifecycle-xvq2g0b8.js} +15 -15
- package/dist/chunks/{repository-ppqt0576.js → location-lifecycle-xxkd99vv.js} +14 -14
- package/dist/chunks/{repository-y1fvbwt7.js → location-lifecycle-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-dpkg50ah.js → location-lifecycle-y71avatq.js} +4 -4
- package/dist/chunks/{repository-ccs15j7g.js → location-lifecycle-yh0fqsh6.js} +33 -33
- package/dist/chunks/{repository-k12tcn4w.js → location-lifecycle-yjgqe2re.js} +9 -9
- package/dist/chunks/{repository-fkd8950d.js → location-lifecycle-ym1gd12q.js} +25 -25
- package/dist/chunks/{repository-0294hark.js → location-lifecycle-yp116tgd.js} +97 -97
- package/dist/chunks/{repository-yp2x3t23.js → location-lifecycle-yp2x3t23.js} +1 -1
- package/dist/chunks/{repository-yrhqyw5v.js → location-lifecycle-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-g8atgw3j.js → location-lifecycle-yxc59d7f.js} +8 -8
- package/dist/chunks/{repository-etckb5nd.js → location-lifecycle-z09pn87h.js} +25 -25
- package/dist/chunks/{repository-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-mt8rgcqf.js → location-lifecycle-zdkghbrs.js} +5 -5
- package/dist/chunks/{repository-zeh9ct20.js → location-lifecycle-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-vxd5ygdv.js → location-lifecycle-zfgrdwy1.js} +46 -46
- package/dist/chunks/{repository-z9jh4hq6.js → location-lifecycle-zjm4mwk2.js} +10 -10
- package/dist/chunks/{repository-vk6zr57k.js → location-lifecycle-zmbr0qn9.js} +13 -13
- package/dist/chunks/{repository-zr2ceqn5.js → location-lifecycle-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-at1kfnmk.js → location-lifecycle-zrq8kphx.js} +8 -8
- package/dist/chunks/{repository-5bgvk8my.js → location-lifecycle-ztxdexjh.js} +179 -179
- package/dist/chunks/{repository-k7smy2rd.js → location-lifecycle-zv32tym9.js} +6 -6
- package/dist/chunks/{repository-zxq2ej10.js → location-lifecycle-zxq2ej10.js} +1 -1
- package/dist/chunks/{repository-zbx1chvt.js → location-lifecycle-zywrz00y.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +97 -97
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- 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 +90 -90
- 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 +357 -357
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +98 -98
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +118 -118
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +2 -2
- 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 +222 -222
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- 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 +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- 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 +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +92 -92
- 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 +126 -126
- package/dist/tool/plugin/edit.js +113 -113
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- 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/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/repository-by5v678g.js +0 -18
- package/dist/chunks/repository-e83h8wp6.js +0 -252
- package/dist/chunks/repository-p7df8h7a.js +0 -26
- package/dist/chunks/repository-rqx49y6e.js +0 -478
- package/dist/chunks/repository-sfq66c4x.js +0 -65
- /package/dist/chunks/{repository-0mesazry.js → location-lifecycle-0mesazry.js} +0 -0
- /package/dist/chunks/{repository-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → location-lifecycle-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → location-lifecycle-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → location-lifecycle-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → location-lifecycle-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → location-lifecycle-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → location-lifecycle-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → location-lifecycle-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-twg0f83k.js → location-lifecycle-twg0f83k.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → location-lifecycle-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-nckwd48j.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info28,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
key: () => key2
|
|
13
13
|
});
|
|
14
14
|
import { Connection } from "@opencode/schema/connection";
|
|
15
15
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
16
16
|
var EnvInfo2 = Connection.EnvInfo;
|
|
17
|
-
var
|
|
17
|
+
var Info28 = Connection.Info;
|
|
18
18
|
function key2(connection) {
|
|
19
19
|
if (!connection)
|
|
20
20
|
return;
|
|
21
21
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export { CredentialInfo2, EnvInfo2,
|
|
24
|
+
export { CredentialInfo2, EnvInfo2, Info28, key2, exports_connection };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-k443rats.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node82
|
|
10
|
+
} from "./location-lifecycle-h5wtym79.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service60,
|
|
13
|
+
node63
|
|
14
|
+
} from "./location-lifecycle-qyxe5d7d.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service48,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node51,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service48 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service78;
|
|
61
|
+
const permission = yield* Service60;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service48.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node51 = makeLocationNode({ service: Service48, layer, deps: [FSUtil.node, node82, node63] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service48, resolvePath2, node51, exports_file_access };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-lifecycle-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-lifecycle-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-lifecycle-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-lifecycle-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service66,
|
|
8
|
+
node69
|
|
9
|
+
} from "./location-lifecycle-ntqm1rav.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-lifecycle-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service65,
|
|
24
|
+
node: () => node68
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service65 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error3({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service66;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service65.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node68 = makeLocationNode({ service: Service65, layer, deps: [node69, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error3, InvalidPatternError2, Service65, node68, exports_ripgrep };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-h6r3nrb9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./location-lifecycle-v6yffka4.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./location-lifecycle-wcc6r8bb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-v0fmmm42.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service74
|
|
20
|
+
} from "./location-lifecycle-pdnh11fp.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./location-lifecycle-vp3k42e8.js";
|
|
24
24
|
import {
|
|
25
25
|
load2,
|
|
26
26
|
derive2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-lifecycle-gcejxdeh.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-lifecycle-sx44q36j.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID14.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,8 +157,8 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
161
|
-
const bus = yield*
|
|
160
|
+
const providers = yield* Service74;
|
|
161
|
+
const bus = yield* Service80;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
164
164
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -173,7 +173,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID13.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
178
|
try: () => load2(url, {
|
|
179
179
|
...provider?.headers,
|
|
@@ -194,7 +194,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID13.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID13.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID13.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-lifecycle-v6yffka4.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-lifecycle-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event6,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
18
|
+
Info: () => Info5,
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Service: () => Service32,
|
|
21
21
|
layer: () => layer16,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node35
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event6 } from "@opencode/schema/command";
|
|
28
|
+
var Info5 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service32 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var layer16 = Layer.effect(
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer16 = Layer.effect(Service32, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service80;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer16 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info5.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service32.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer16 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
74
|
+
var node35 = makeLocationNode({
|
|
75
|
+
service: Service32,
|
|
76
76
|
layer: layer16,
|
|
77
|
-
deps: [
|
|
77
|
+
deps: [node84]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info5, NotFoundError6, ExecutionError2, Service32, layer16, node35, exports_command4, Event6 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-pdnh11fp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID12,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info26,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-vp3k42e8.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models2 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models2, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID12.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info26.make({
|
|
98
|
+
...Info26.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID12.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin46,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin46 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin42 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin46, exports_identity };
|