@opencode/core 0.0.0-dev-19708 → 0.0.0-dev-19710
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +5 -5
- package/dist/bus.js +68 -68
- package/dist/chunks/{pty-cq9vh2fv.js → integration-00x4qneg.js} +8 -8
- package/dist/chunks/{pty-2q6kkxxq.js → integration-036p5t1s.js} +4 -4
- package/dist/chunks/{pty-hn8hcjvd.js → integration-07afz3z6.js} +1 -1
- package/dist/chunks/{pty-6ejv29z8.js → integration-0ejpa9z4.js} +11 -11
- package/dist/chunks/{pty-0paq2nw3.js → integration-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-0q0f95c6.js → integration-0q0f95c6.js} +1 -1
- package/dist/chunks/{pty-h3c20vca.js → integration-0sh1nr9y.js} +4 -4
- package/dist/chunks/{pty-3b9qt4hj.js → integration-0tmgye68.js} +9 -9
- package/dist/chunks/{pty-pph8wkt5.js → integration-0v7gp0te.js} +147 -147
- package/dist/chunks/{pty-8kgt14gf.js → integration-0wf2tqk0.js} +27 -27
- package/dist/chunks/{pty-bm3m92rh.js → integration-0z6w7vfv.js} +12 -12
- package/dist/chunks/{pty-b6yzcphf.js → integration-0zjhxtck.js} +11 -11
- package/dist/chunks/{pty-jdbtptns.js → integration-177enxgr.js} +14 -14
- package/dist/chunks/{pty-1dazxqgg.js → integration-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-kbmk2nk1.js → integration-1dq8jzyn.js} +2 -2
- package/dist/chunks/{pty-zwp73gaw.js → integration-1g783q47.js} +19 -19
- package/dist/chunks/{pty-waqpjwb8.js → integration-1grerm3k.js} +3 -3
- package/dist/chunks/{pty-mx4hjh21.js → integration-1gsc2sjq.js} +32 -32
- package/dist/chunks/{pty-137n2cjd.js → integration-1mvse44m.js} +5 -5
- package/dist/chunks/{pty-6avas0hs.js → integration-1rq7khgm.js} +3 -3
- package/dist/chunks/{pty-9mmr4cym.js → integration-20sd5k6h.js} +11 -11
- package/dist/chunks/{pty-21r38tys.js → integration-21r38tys.js} +1 -1
- package/dist/chunks/{pty-5fwvr3fa.js → integration-231knzcm.js} +32 -32
- package/dist/chunks/{pty-2402vzrj.js → integration-2402vzrj.js} +1 -1
- package/dist/chunks/{pty-2a5m3afh.js → integration-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-z62c9ayt.js → integration-2ehxpneg.js} +12 -12
- package/dist/chunks/{pty-7dqw4kz8.js → integration-2k8khapm.js} +5 -5
- package/dist/chunks/{pty-tgayy43x.js → integration-2svdb8be.js} +303 -303
- package/dist/chunks/{pty-7nzv51qx.js → integration-2tb6fqrv.js} +13 -13
- package/dist/chunks/{pty-zz4khrmb.js → integration-31mppqh5.js} +22 -22
- package/dist/chunks/{pty-44jfm9c6.js → integration-38dcbtyf.js} +7 -7
- package/dist/chunks/{pty-cah9s9ss.js → integration-3daac4ec.js} +8 -8
- package/dist/chunks/{pty-3fc6dm20.js → integration-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-1cr9kxrr.js → integration-3j12nn08.js} +23 -23
- package/dist/chunks/{pty-7xnx6cga.js → integration-3mdxeew8.js} +24 -24
- package/dist/chunks/{pty-sd8zp0nj.js → integration-3nd13y92.js} +4 -4
- package/dist/chunks/{pty-rhafb4aa.js → integration-3pe7sts8.js} +9 -9
- package/dist/chunks/{pty-d7tjjqf6.js → integration-3pm9bks8.js} +3 -3
- package/dist/chunks/{pty-3smtnn6g.js → integration-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → integration-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-qtwarjwz.js → integration-43bw3pmb.js} +12 -12
- package/dist/chunks/{pty-fsmc1k8s.js → integration-4evxzfd7.js} +82 -82
- package/dist/chunks/{pty-bmsmevym.js → integration-4nyxymxc.js} +13 -13
- package/dist/chunks/{pty-jqe5ka82.js → integration-4q64j22s.js} +18 -18
- package/dist/chunks/integration-4tq96d62.js +252 -0
- package/dist/chunks/{pty-k1gkpfdk.js → integration-4w5f3qm5.js} +8 -8
- package/dist/chunks/{pty-4ztghn5t.js → integration-50635kd6.js} +16 -16
- package/dist/chunks/{pty-aqvz20a2.js → integration-58rmb8nn.js} +10 -10
- package/dist/chunks/{pty-czhz2k7d.js → integration-59zmnph4.js} +9 -9
- package/dist/chunks/{pty-tqg72d4k.js → integration-5b66h8r4.js} +11 -11
- package/dist/chunks/{pty-kmrnkd77.js → integration-5bgttvnk.js} +3 -3
- package/dist/chunks/{pty-6p3xbzsx.js → integration-5c0f1prt.js} +4 -4
- package/dist/chunks/{pty-3ythc6yv.js → integration-5d5383gp.js} +4 -4
- package/dist/chunks/{pty-5daktx2q.js → integration-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-ynxbryrd.js → integration-5e30vc75.js} +24 -24
- package/dist/chunks/{pty-tk66bvfd.js → integration-5nz6ax1n.js} +13 -13
- package/dist/chunks/{pty-e3qxr5gk.js → integration-5qd3pb7m.js} +2 -2
- package/dist/chunks/{pty-5t3nmthw.js → integration-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-rccz2tys.js → integration-5tabw72p.js} +6 -6
- package/dist/chunks/{pty-1c5ncfj1.js → integration-5vewfdfe.js} +19 -19
- package/dist/chunks/{pty-q3a5az1v.js → integration-5vr8b22m.js} +12 -12
- package/dist/chunks/{pty-bwbrqz0a.js → integration-5y8n8k4h.js} +10 -10
- package/dist/chunks/{pty-v68hp2va.js → integration-65j9yajg.js} +47 -47
- package/dist/chunks/{pty-669tq793.js → integration-669tq793.js} +1 -1
- package/dist/chunks/{pty-nv4k505m.js → integration-68tc3g1n.js} +35 -35
- package/dist/chunks/{pty-v58jy1xd.js → integration-6efrd1bz.js} +9 -9
- package/dist/chunks/{pty-2em355j9.js → integration-6fv08nd3.js} +39 -39
- package/dist/chunks/{pty-nsm4zd3z.js → integration-6kqbn47c.js} +11 -11
- package/dist/chunks/{pty-6msgmcgs.js → integration-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-wvh43mtc.js → integration-73w3apwg.js} +19 -19
- package/dist/chunks/{pty-mg0hvqns.js → integration-7atgh4d8.js} +24 -24
- package/dist/chunks/{pty-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-d58ea4wx.js → integration-7fyhb82m.js} +8 -8
- package/dist/chunks/{pty-r3grxea3.js → integration-7gmh2wfv.js} +41 -41
- package/dist/chunks/{pty-3sqv75dt.js → integration-7rce4ag1.js} +7 -7
- package/dist/chunks/{pty-vydbjx2x.js → integration-7wmyjdq5.js} +17 -17
- package/dist/chunks/{pty-d858xzj7.js → integration-80scg3y3.js} +4 -4
- package/dist/chunks/{pty-dhwr7h25.js → integration-818pfwc9.js} +11 -11
- package/dist/chunks/{pty-hkjtz3an.js → integration-86me6zzc.js} +37 -37
- package/dist/chunks/{pty-tcezcvh9.js → integration-89znhe33.js} +4 -4
- package/dist/chunks/{pty-c9g527t4.js → integration-8bqxprts.js} +32 -32
- package/dist/chunks/{pty-8d7r5vzw.js → integration-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-ypvakwm4.js → integration-8jg8ek5x.js} +17 -17
- package/dist/chunks/{pty-1qkgdbp4.js → integration-8m62krp8.js} +32 -32
- package/dist/chunks/{pty-4hqncmrj.js → integration-8p3jdhrw.js} +15 -15
- package/dist/chunks/{pty-dj2t23y0.js → integration-8p4f9s12.js} +2 -2
- package/dist/chunks/{pty-tptwhs54.js → integration-97p40ssa.js} +9 -9
- package/dist/chunks/{pty-rbs0ef4y.js → integration-9k3sg66h.js} +12 -12
- package/dist/chunks/{pty-kpccdapq.js → integration-9n16tggd.js} +7 -7
- package/dist/chunks/{pty-vg55cczh.js → integration-9njw1pbg.js} +22 -22
- package/dist/chunks/{pty-5c4hm403.js → integration-a1bz86dw.js} +3 -3
- package/dist/chunks/{pty-g2yz86wh.js → integration-a3r4dcrj.js} +2 -2
- package/dist/chunks/{pty-m1brvmts.js → integration-a6z4j4k6.js} +9 -9
- package/dist/chunks/{pty-02j327mk.js → integration-a79cn4dv.js} +27 -27
- package/dist/chunks/{pty-aaet6srn.js → integration-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-57ez7d0k.js → integration-aamtrqep.js} +9 -9
- package/dist/chunks/{pty-4kyk22vj.js → integration-ad16xee0.js} +43 -43
- package/dist/chunks/{pty-sk1rxzc5.js → integration-aqex15s7.js} +14 -14
- package/dist/chunks/{pty-wzdyyep8.js → integration-b0nxs32q.js} +5 -5
- package/dist/chunks/{pty-645gcfag.js → integration-b5p2j6p0.js} +79 -79
- package/dist/chunks/{pty-b6gygkdw.js → integration-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-899tt7an.js → integration-bbcx7f9q.js} +21 -21
- package/dist/chunks/{pty-e41je68c.js → integration-bd2xdacg.js} +6 -6
- package/dist/chunks/{pty-g9q532r4.js → integration-bda137kz.js} +1 -1
- package/dist/chunks/{pty-sbbcq4qt.js → integration-beb887a4.js} +11 -11
- package/dist/chunks/{pty-xseb90fg.js → integration-bepjw9yn.js} +5 -5
- package/dist/chunks/{pty-vhwvdgna.js → integration-bpbjfb9b.js} +9 -9
- package/dist/chunks/{pty-qf8xbt1v.js → integration-bvapxesr.js} +6 -6
- package/dist/chunks/{pty-00f2f7q8.js → integration-bvntf8rg.js} +24 -24
- package/dist/chunks/{pty-gjmk74th.js → integration-bw9zjykr.js} +6 -6
- package/dist/chunks/{pty-p4nwj3gt.js → integration-c3cy3464.js} +17 -17
- package/dist/chunks/{pty-m0jqrx5p.js → integration-cfpkc3c9.js} +2 -2
- package/dist/chunks/{pty-dcsznwm0.js → integration-csec10jd.js} +15 -15
- package/dist/chunks/{pty-eaznszq2.js → integration-cvbhgv12.js} +28 -28
- package/dist/chunks/{pty-809q4hne.js → integration-d2aac7k2.js} +5 -5
- package/dist/chunks/{pty-4p0kgrzt.js → integration-dbvre6p0.js} +1 -1
- package/dist/chunks/{pty-qq11w61w.js → integration-dfe8djrf.js} +4 -4
- package/dist/chunks/{pty-drwq78ky.js → integration-drwq78ky.js} +1 -1
- package/dist/chunks/{pty-bky20j8j.js → integration-dyvybp4g.js} +9 -9
- package/dist/chunks/{pty-8npqseq9.js → integration-e07jsa65.js} +11 -11
- package/dist/chunks/{pty-az62kead.js → integration-e0zdfgpc.js} +11 -11
- package/dist/chunks/{pty-6pmcb683.js → integration-e9fp0pfc.js} +18 -18
- package/dist/chunks/{pty-ef5x83kb.js → integration-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-2akesbjx.js → integration-ejn9vktr.js} +16 -16
- package/dist/chunks/{pty-a7nqw1aa.js → integration-em6yeas4.js} +8 -8
- package/dist/chunks/{pty-1g4qjxg5.js → integration-eq20eqwv.js} +9 -9
- package/dist/chunks/{pty-etq0c3wd.js → integration-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-z3pw5915.js → integration-evbgk2k8.js} +5 -5
- package/dist/chunks/{pty-5yzzbxa7.js → integration-eys57y9b.js} +8 -8
- package/dist/chunks/{pty-hdnk95c8.js → integration-f828m53h.js} +2 -2
- package/dist/chunks/{pty-kafkdnde.js → integration-fa5vrs7t.js} +31 -31
- package/dist/chunks/{pty-fkjmw100.js → integration-fkjmw100.js} +2 -2
- package/dist/chunks/{pty-fxbjtjnd.js → integration-fxbjtjnd.js} +1 -1
- package/dist/chunks/{pty-4q5rhk67.js → integration-fy8e00qg.js} +15 -15
- package/dist/chunks/{pty-v247sec1.js → integration-fz7v89dg.js} +14 -14
- package/dist/chunks/{pty-vsp1fds9.js → integration-g190xswt.js} +21 -21
- package/dist/chunks/{pty-gq6z7eg4.js → integration-g417z324.js} +17 -17
- package/dist/chunks/{pty-q9k3nk2m.js → integration-g5vga603.js} +14 -14
- package/dist/chunks/{pty-3w8b8hp3.js → integration-gb08tagh.js} +11 -11
- package/dist/chunks/integration-gbadjzag.js +4 -0
- package/dist/chunks/{pty-gd4qta3r.js → integration-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-t4h1a8sm.js → integration-gj2gcseg.js} +8 -8
- package/dist/chunks/{pty-23amh1yx.js → integration-gk9qjeyz.js} +3 -3
- package/dist/chunks/integration-gnc8cbnn.js +26 -0
- package/dist/chunks/{pty-ykjzx05e.js → integration-gnvk75y5.js} +19 -19
- package/dist/chunks/{pty-sasa2c77.js → integration-gqe03ern.js} +37 -37
- package/dist/chunks/{pty-gv6a8nnw.js → integration-gv6a8nnw.js} +2 -2
- package/dist/chunks/{pty-h03wrkyp.js → integration-h03wrkyp.js} +2 -2
- package/dist/chunks/{pty-be3g221r.js → integration-h0g5brtk.js} +15 -15
- package/dist/chunks/{pty-72qck3dr.js → integration-h3a5bynx.js} +58 -58
- package/dist/chunks/{pty-h6r3nrb9.js → integration-h6r3nrb9.js} +1 -1
- package/dist/chunks/{pty-h6vf3j39.js → integration-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-7ac170kv.js → integration-hfdr1yjj.js} +4 -4
- package/dist/chunks/{pty-zxacjnzd.js → integration-hj7a6ch5.js} +15 -15
- package/dist/chunks/{pty-6tc74vrw.js → integration-hk4abz9t.js} +20 -20
- package/dist/chunks/{pty-t96c7fmv.js → integration-hn951e2s.js} +25 -25
- package/dist/chunks/{pty-mm717ve8.js → integration-hq1qm27k.js} +37 -37
- package/dist/chunks/{pty-r6zmwxjt.js → integration-hy0bh2cv.js} +43 -43
- package/dist/chunks/{pty-j56e64zr.js → integration-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-rf9y12ds.js → integration-j5f9ftm1.js} +3 -3
- package/dist/chunks/{pty-xkhfjrgz.js → integration-jexxy024.js} +2 -2
- package/dist/chunks/{pty-bxgqktpk.js → integration-jjx8nex0.js} +23 -23
- package/dist/chunks/{pty-tvkyymax.js → integration-jkfbzspm.js} +4 -4
- package/dist/chunks/{pty-pt8pcyxe.js → integration-jqgpz7cn.js} +31 -31
- package/dist/chunks/{pty-0fdmw6y0.js → integration-jvcsw0eb.js} +11 -11
- package/dist/chunks/{pty-s6qp1k48.js → integration-jyap2m5y.js} +2 -2
- package/dist/chunks/{pty-sgq4gssm.js → integration-k1gvekgg.js} +30 -30
- package/dist/chunks/{pty-k3c624dm.js → integration-k3c624dm.js} +3 -3
- package/dist/chunks/{pty-jppvw2tx.js → integration-k3gnzxs0.js} +5 -5
- package/dist/chunks/{pty-xftagwhq.js → integration-k6me36ee.js} +24 -24
- package/dist/chunks/{pty-2rqgkrfm.js → integration-k6wrbde1.js} +25 -25
- package/dist/chunks/{pty-0nw536sy.js → integration-kadzdddt.js} +4 -4
- package/dist/chunks/{pty-q36t7h4b.js → integration-khdb1k9v.js} +1 -1
- package/dist/chunks/{pty-0jq9fyba.js → integration-kp8q1t60.js} +9 -9
- package/dist/chunks/{pty-rrnpfv6a.js → integration-m0p0vxaq.js} +20 -20
- package/dist/chunks/{pty-m3fdjcah.js → integration-m3fdjcah.js} +1 -1
- package/dist/chunks/{pty-1e7y3jby.js → integration-m5vjhj8j.js} +3 -3
- package/dist/chunks/{pty-qw4hy4dt.js → integration-m9dbm90w.js} +20 -20
- package/dist/chunks/{pty-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-gzbkpp9m.js → integration-m9wy7qrr.js} +6 -6
- package/dist/chunks/{pty-1ygqh575.js → integration-mfqp6xfm.js} +6 -6
- package/dist/chunks/{pty-htekf6zf.js → integration-mm8erg11.js} +9 -9
- package/dist/chunks/{pty-bnt6z98e.js → integration-mn7g0fj4.js} +26 -26
- package/dist/chunks/{pty-qqrhpyxk.js → integration-mnv40ja6.js} +18 -18
- package/dist/chunks/{pty-apzx9pwh.js → integration-mpbpxyqm.js} +27 -27
- package/dist/chunks/{pty-2chp5681.js → integration-mvdf8d0b.js} +11 -11
- package/dist/chunks/{pty-1bbkgx8g.js → integration-mvfsc1pv.js} +3 -3
- package/dist/chunks/{pty-t327jyvg.js → integration-n34s70pn.js} +14 -14
- package/dist/chunks/{pty-qph7hyw7.js → integration-ngw33wy2.js} +4 -4
- package/dist/chunks/{pty-xdw3myhw.js → integration-nkqjxf7y.js} +3 -3
- package/dist/chunks/{pty-hcs01tq7.js → integration-npfcha2j.js} +8 -8
- package/dist/chunks/{pty-4hcrsjja.js → integration-nrcejn5p.js} +54 -54
- package/dist/chunks/{pty-4b3p33ns.js → integration-nwk86703.js} +47 -47
- package/dist/chunks/{pty-tb60vd7q.js → integration-p44z6ga6.js} +4 -4
- package/dist/chunks/{pty-t4gdty5t.js → integration-p9gzpnzn.js} +13 -13
- package/dist/chunks/{pty-eq9606cq.js → integration-pbtfs0fk.js} +26 -26
- package/dist/chunks/{pty-pxnzv34t.js → integration-pc872h1m.js} +22 -22
- package/dist/chunks/{pty-beyt1gb5.js → integration-pcbvmd8f.js} +10 -10
- package/dist/chunks/{pty-pjvnvgmy.js → integration-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → integration-pknna89w.js} +1 -1
- package/dist/chunks/{pty-8msxkbjy.js → integration-pp90atm6.js} +27 -27
- package/dist/chunks/{pty-hyag3rfz.js → integration-pz7qgrhk.js} +11 -11
- package/dist/chunks/{pty-jvt9z3v3.js → integration-q2jz15ea.js} +51 -51
- package/dist/chunks/integration-q509s3k3.js +18 -0
- package/dist/chunks/{pty-fm2qvscf.js → integration-qa3qhgw8.js} +4 -4
- package/dist/chunks/{pty-6wkd5avw.js → integration-qmf9b8yn.js} +28 -28
- package/dist/chunks/{pty-p1nm93x7.js → integration-qn4ba14w.js} +5 -5
- package/dist/chunks/{pty-qsdy395h.js → integration-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-w7drg28q.js → integration-qz3twj3m.js} +11 -11
- package/dist/chunks/{pty-gzfs38sx.js → integration-r3490575.js} +20 -20
- package/dist/chunks/{pty-h9nzbdt3.js → integration-r5vp9y24.js} +5 -5
- package/dist/chunks/{pty-1acjjqhc.js → integration-r8xr0va3.js} +4 -4
- package/dist/chunks/{pty-7t8e8ps1.js → integration-rc200j0g.js} +5 -5
- package/dist/chunks/{pty-rdw6cm16.js → integration-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-7qq3ahcc.js → integration-repb58am.js} +4 -4
- package/dist/chunks/{pty-r2m716tb.js → integration-rey5gbxv.js} +9 -9
- package/dist/chunks/{pty-ch7ar4cr.js → integration-rjs4w6st.js} +20 -20
- package/dist/chunks/{pty-qz49fwgp.js → integration-rp8jz6x1.js} +6 -6
- package/dist/chunks/{pty-byqk2fv6.js → integration-rtfv33p7.js} +24 -24
- package/dist/chunks/{pty-rkb5a4nr.js → integration-s1vqdbhv.js} +36 -36
- package/dist/chunks/{pty-vk5wtspy.js → integration-s4rfjbhr.js} +19 -19
- package/dist/chunks/{pty-ry08j4r8.js → integration-s6kmca70.js} +10 -10
- package/dist/chunks/{pty-s8d7rejh.js → integration-s8d7rejh.js} +1 -1
- package/dist/chunks/{pty-d6mg60jz.js → integration-sb9nptgk.js} +35 -35
- package/dist/chunks/{pty-cbaym82d.js → integration-svf3t0g9.js} +25 -25
- package/dist/chunks/{pty-tazgh4e4.js → integration-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-jnzdfagj.js → integration-tdk79w0v.js} +5 -5
- package/dist/chunks/{pty-tdstcens.js → integration-tdstcens.js} +1 -1
- package/dist/chunks/{pty-rjkasajw.js → integration-ts1a4cmw.js} +13 -13
- package/dist/chunks/{pty-yqngptm3.js → integration-tsj15wq9.js} +13 -13
- package/dist/chunks/{pty-tvtrv512.js → integration-tvtrv512.js} +1 -1
- package/dist/chunks/{pty-veqvce7d.js → integration-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-08fd96st.js → integration-vff0mh3b.js} +6 -6
- package/dist/chunks/{pty-p5hkqs15.js → integration-vfwezysy.js} +1 -1
- package/dist/chunks/{pty-kss3k1ej.js → integration-vhr1vhg9.js} +3 -3
- package/dist/chunks/{pty-p91ndb2v.js → integration-vte0rfzv.js} +46 -46
- package/dist/chunks/{pty-f1cvcqqp.js → integration-vv290ek6.js} +18 -18
- package/dist/chunks/{pty-vzcthcp8.js → integration-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-7nrhymjj.js → integration-wbx2513r.js} +15 -15
- package/dist/chunks/{pty-wd87259q.js → integration-wd87259q.js} +1 -1
- package/dist/chunks/{pty-pyg9x9vb.js → integration-wdk8b0jw.js} +17 -17
- package/dist/chunks/{pty-9yyvrqyy.js → integration-wej2e5j2.js} +24 -24
- package/dist/chunks/{pty-74e549sx.js → integration-wp6sy7k7.js} +15 -15
- package/dist/chunks/{pty-59gkzar2.js → integration-wq70x3f2.js} +11 -11
- package/dist/chunks/{pty-8zqxjytc.js → integration-wqg02fh2.js} +10 -10
- package/dist/chunks/{pty-4a0vtr9b.js → integration-wwgzd70h.js} +18 -18
- package/dist/chunks/{pty-wr7ps67x.js → integration-wz5tj16h.js} +5 -5
- package/dist/chunks/{pty-zw6ax8ke.js → integration-wzntpgpt.js} +40 -40
- package/dist/chunks/{pty-x1ezjp6w.js → integration-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-5tvckp52.js → integration-xcq5wtpt.js} +23 -23
- package/dist/chunks/{pty-04kxwwsn.js → integration-y12ar3nc.js} +9 -9
- package/dist/chunks/{pty-y1fvbwt7.js → integration-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-y71avatq.js → integration-y71avatq.js} +1 -1
- package/dist/chunks/{pty-vqwef2d8.js → integration-y8pjebad.js} +13 -13
- package/dist/chunks/{pty-834a0b17.js → integration-ybhbtxjg.js} +7 -7
- package/dist/chunks/{pty-r48hm6t1.js → integration-yd22jjp7.js} +24 -24
- package/dist/chunks/{pty-nbqevg8t.js → integration-ykzpy18q.js} +13 -13
- package/dist/chunks/{pty-mwfspft0.js → integration-ypb6hbzx.js} +9 -9
- package/dist/chunks/{pty-yrhqyw5v.js → integration-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-s4enseaf.js → integration-yrznvahk.js} +2 -2
- package/dist/chunks/{pty-gydxxgyg.js → integration-ys3hhbzx.js} +12 -12
- package/dist/chunks/{pty-8ev4rrc0.js → integration-ywe2m5gj.js} +2 -2
- package/dist/chunks/{pty-m5mra8ny.js → integration-yxvydm2y.js} +13 -13
- package/dist/chunks/{pty-abyxqag4.js → integration-z04d3x8e.js} +4 -4
- package/dist/chunks/{pty-z0bkrqjs.js → integration-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-s1mn6qcj.js → integration-z4bwa3qe.js} +8 -8
- package/dist/chunks/{pty-29x78va6.js → integration-z63w68vq.js} +6 -6
- package/dist/chunks/{pty-nc9nj3v7.js → integration-z8z657gb.js} +20 -20
- package/dist/chunks/{pty-n7b52vzq.js → integration-z9cechv3.js} +20 -20
- package/dist/chunks/{pty-ssr8tzqd.js → integration-ze3my9xb.js} +7 -7
- package/dist/chunks/{pty-zav06jzw.js → integration-zee1rnkq.js} +4 -4
- package/dist/chunks/{pty-zeh9ct20.js → integration-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-rsd57mk1.js → integration-zfs2vqh8.js} +17 -17
- package/dist/chunks/{pty-cy7q8w9z.js → integration-zhepfts0.js} +8 -8
- package/dist/chunks/{pty-j5786zrt.js → integration-zhq6vg7a.js} +1 -1
- package/dist/chunks/{pty-m2taxsaw.js → integration-znsgg7xb.js} +10 -10
- package/dist/chunks/{pty-x0vzmp4x.js → integration-zq6stcrg.js} +5 -5
- package/dist/chunks/{pty-zr2ceqn5.js → integration-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-vkwcxm6e.js → integration-zxahscqd.js} +1 -1
- package/dist/chunks/{pty-zxq2ej10.js → integration-zxq2ej10.js} +1 -1
- 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 +78 -78
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- 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 +131 -131
- 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 +122 -122
- 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 +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- 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 +82 -82
- package/dist/database/database.js +65 -65
- 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.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 +75 -75
- 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 +1 -1
- 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 +69 -69
- 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 +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- package/dist/form.js +79 -79
- 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 +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- 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 +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- 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 +89 -89
- package/dist/models-dev.js +100 -100
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- 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 +103 -103
- package/dist/plugin/command.js +100 -100
- 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 +7 -7
- package/dist/plugin/optimize.js +2 -2
- 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 +119 -119
- package/dist/plugin/provider/openai.js +91 -91
- 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 +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/update.js +6 -6
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +92 -92
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- 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 +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +5 -5
- 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 +3 -3
- 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 +111 -111
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- 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 +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +104 -104
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- 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 +124 -124
- 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 +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- 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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +75 -75
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- 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/pty-1tm0r3ht.js +0 -4
- package/dist/chunks/pty-pf31ssb9.js +0 -18
- package/dist/chunks/pty-vs2zs2w9.js +0 -26
- package/dist/chunks/pty-ztp3jpvp.js +0 -252
- /package/dist/chunks/{pty-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → integration-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → integration-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → integration-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → integration-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → integration-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → integration-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → integration-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → integration-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → integration-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → integration-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → integration-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → integration-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → integration-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → integration-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → integration-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → integration-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → integration-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → integration-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → integration-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → integration-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → integration-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → integration-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → integration-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → integration-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → integration-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → integration-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → integration-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → integration-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → integration-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → integration-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → integration-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → integration-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → integration-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → integration-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → integration-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → integration-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → integration-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-twg0f83k.js → integration-twg0f83k.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → integration-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → integration-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → integration-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → integration-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → integration-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → integration-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → integration-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → integration-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → integration-z9919s4g.js} +0 -0
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service75
|
|
13
|
+
} from "./integration-zfs2vqh8.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./integration-m0p0vxaq.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./integration-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin22,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin22 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service75;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin22, exports_hg };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-1grerm3k.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
16
|
ID: () => ID9,
|
|
17
|
-
Info: () =>
|
|
17
|
+
Info: () => Info22,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service68,
|
|
21
|
+
node: () => node72
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -26,7 +26,7 @@ import { Project } from "@opencode/schema/project";
|
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
28
|
var ID9 = PermissionSaved.ID;
|
|
29
|
-
var
|
|
29
|
+
var Info22 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service68 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service83).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service68.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node72 = makeGlobalNode({ service: Service68, layer, deps: [node87] });
|
|
72
72
|
|
|
73
|
-
export { ID9,
|
|
73
|
+
export { ID9, Info22, ListInput4, AddInput2, Service68, node72, exports_saved };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service56,
|
|
6
|
+
node60
|
|
7
|
+
} from "./integration-jjx8nex0.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service33,
|
|
17
|
+
node: () => node36,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service33 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service56;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service33.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node36 = makeLocationNode({ service: Service33, layer, deps: [node60] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service33, readText2, syncTextBom2, node36, exports_file_mutation };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-3j12nn08.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./integration-9k3sg66h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./integration-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./integration-wbx2513r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./integration-bw9zjykr.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-q509s3k3.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service62;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service42), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NamedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-2axfhc9x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/error.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
ConfigErrorV1: () =>
|
|
9
|
+
var exports_error = {};
|
|
10
|
+
__export(exports_error, {
|
|
11
|
+
ConfigErrorV1: () => exports_error,
|
|
12
12
|
DirectoryTypoError: () => DirectoryTypoError2,
|
|
13
13
|
FrontmatterError: () => FrontmatterError2,
|
|
14
14
|
InvalidError: () => InvalidError2,
|
|
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
|
|
|
43
43
|
remote: Schema.String
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2,
|
|
46
|
+
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./integration-6fv08nd3.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input7,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin40,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description2,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name7
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name7 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input7 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input8 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input7.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin40 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service67;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name7,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description2,
|
|
104
|
+
input: Input7,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin41 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name7,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name7, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input7, Plugin40, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-1grerm3k.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-ngw33wy2.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service62
|
|
9
|
+
} from "./integration-bw9zjykr.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID3,
|
|
15
|
+
Service30
|
|
16
|
+
} from "./integration-rtfv33p7.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./integration-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./integration-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./integration-ybhbtxjg.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./integration-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./integration-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service62;
|
|
46
46
|
const database = yield* Service83;
|
|
47
47
|
const bus = yield* Service82;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service30;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID3.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service62;
|
|
78
78
|
const bus = yield* Service82;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service30;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID3.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID3.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./integration-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./integration-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service60,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service60 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service60, exports_runner };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node80
|
|
4
|
+
} from "./integration-7gmh2wfv.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info29,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref3,
|
|
15
|
+
Service: () => Service75,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node79,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info29, Ref as Ref3, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service75 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node79 = LayerNode.unbound(Service75, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service76;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service75.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service79, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service75,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node80]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info29, Ref3, response2, Service75, node79, boundNode2, exports_location };
|