@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
@@ -8,9 +8,9 @@ __export(exports_app, {
|
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
10
|
configured: () => configured6,
|
|
11
|
-
layer: () =>
|
|
11
|
+
layer: () => layer18,
|
|
12
12
|
make: () => make16,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node49,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
@@ -28,8 +28,8 @@ function make16(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer:
|
|
33
|
-
var
|
|
31
|
+
var layer18 = (input) => Layer.succeed(Metadata2, make16(input));
|
|
32
|
+
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer18(input), deps: [] });
|
|
33
|
+
var node49 = configured6();
|
|
34
34
|
|
|
35
|
-
export { Metadata2, make16, useragent2,
|
|
35
|
+
export { Metadata2, make16, useragent2, layer18, configured6, node49, exports_app };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./integration-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service56,
|
|
8
|
+
node60
|
|
9
|
+
} from "./integration-jjx8nex0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content3
|
|
12
|
+
} from "./integration-k1gvekgg.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./integration-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service12,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node14,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content3.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service56;
|
|
331
|
+
return Service12.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node14 = makeLocationNode({ service: Service12, layer, deps: [node60] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node14, exports_read_filesystem };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-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: () => Plugin29,
|
|
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 Plugin29 = 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 Plugin14 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin29, exports_identity };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info16
|
|
6
|
+
} from "./integration-g190xswt.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent3 = {};
|
|
13
|
+
__export(exports_agent3, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent3,
|
|
15
|
+
Info: () => Info15
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info16)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info15 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info15, exports_agent3 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service75
|
|
9
|
+
} from "./integration-zfs2vqh8.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service56
|
|
12
|
+
} from "./integration-jjx8nex0.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service55
|
|
15
|
+
} from "./integration-aqex15s7.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Entry4
|
|
21
|
+
} from "./integration-k1gvekgg.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service67
|
|
24
|
+
} from "./integration-6fv08nd3.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service37
|
|
27
|
+
} from "./integration-4q64j22s.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./integration-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input2,
|
|
37
|
+
Output: () => Output2,
|
|
38
|
+
Plugin: () => Plugin35,
|
|
39
|
+
name: () => name2,
|
|
40
|
+
toModelContent: () => toModelContent2
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name2 = "glob";
|
|
46
|
+
var Input2 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input6 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output2 = Schema.Array(Entry4);
|
|
59
|
+
var toModelContent2 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin35 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service56;
|
|
70
|
+
const ripgrep = yield* Service55;
|
|
71
|
+
const location = yield* Service75;
|
|
72
|
+
const access = yield* Service37;
|
|
73
|
+
const permission = yield* Service67;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name2,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input2,
|
|
79
|
+
output: Output2,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name2,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -111,18 +111,18 @@ var Plugin39 = {
|
|
|
111
111
|
orElse: () => Effect.fail(new ToolFailure({
|
|
112
112
|
message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
|
|
113
113
|
}))
|
|
114
|
-
}), Effect.map((result) => result.map((entry) =>
|
|
114
|
+
}), Effect.map((result) => result.map((entry) => Entry4.make({
|
|
115
115
|
...entry,
|
|
116
116
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
|
|
117
117
|
}))));
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name2, Input2, Output2, toModelContent2, Plugin35, exports_glob };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/filesystem/protected.ts
|
|
6
6
|
var exports_protected = {};
|
|
7
7
|
__export(exports_protected, {
|
|
8
8
|
Protected: () => exports_protected,
|
|
9
9
|
isHome: () => isHome2,
|
|
10
|
-
names: () =>
|
|
10
|
+
names: () => names4,
|
|
11
11
|
paths: () => paths2
|
|
12
12
|
});
|
|
13
13
|
import os from "os";
|
|
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
|
|
|
41
41
|
];
|
|
42
42
|
var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
|
|
43
43
|
var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
|
|
44
|
-
function
|
|
44
|
+
function names4() {
|
|
45
45
|
if (process.platform === "darwin")
|
|
46
46
|
return new Set(DARWIN_HOME);
|
|
47
47
|
if (process.platform === "win32")
|
|
@@ -60,4 +60,4 @@ function paths2() {
|
|
|
60
60
|
return [];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export { isHome2,
|
|
63
|
+
export { isHome2, names4, paths2, exports_protected };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-ngw33wy2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node79
|
|
8
|
+
} from "./integration-zfs2vqh8.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID6
|
|
11
|
+
} from "./integration-gbadjzag.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service49,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node53
|
|
16
|
+
} from "./integration-pc872h1m.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./integration-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./integration-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
27
|
CreateInput: () => CreateInput3,
|
|
28
|
-
Event: () =>
|
|
28
|
+
Event: () => Event9,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info9,
|
|
31
|
+
NotFoundError: () => NotFoundError5,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service43,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node46
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event9 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
44
|
+
var Info9 = Pty.Info;
|
|
45
45
|
var CreateInput3 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError5 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID6
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID6
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service43 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service82;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
62
|
+
const location = yield* Service75;
|
|
63
|
+
const shell = yield* Service49;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError5({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID6.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service43.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node46 = makeLocationNode({
|
|
274
|
+
service: Service43,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node86,
|
|
276
|
+
deps: [node86, node79, node53]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info9, CreateInput3, UpdateInput2, NotFoundError5, ExitedError2, Service43, node46, exports_pty, Event9 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
node85
|
|
7
|
+
} from "./integration-znsgg7xb.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-jexxy024.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./integration-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service64,
|
|
23
|
+
make: () => make20,
|
|
24
|
+
node: () => node68
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -50,7 +50,7 @@ var Background = Schema.Struct({
|
|
|
50
50
|
var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service64 extends Context.Service()("@opencode/Job") {
|
|
54
54
|
}
|
|
55
55
|
function snapshot(job) {
|
|
56
56
|
return {
|
|
@@ -85,8 +85,8 @@ function decrementSession(input, sessionID) {
|
|
|
85
85
|
next.set(sessionID, count - 1);
|
|
86
86
|
return next;
|
|
87
87
|
}
|
|
88
|
-
var
|
|
89
|
-
const kv = yield*
|
|
88
|
+
var make20 = Effect.gen(function* () {
|
|
89
|
+
const kv = yield* Service81;
|
|
90
90
|
const state = {
|
|
91
91
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
92
92
|
scope: yield* Scope.Scope
|
|
@@ -315,7 +315,7 @@ var make19 = Effect.gen(function* () {
|
|
|
315
315
|
return recovered;
|
|
316
316
|
}).pipe(Effect.withSpan("Job.pendingBackground"));
|
|
317
317
|
const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => kv.remove(`${backgroundPrefix}${notificationID}`));
|
|
318
|
-
return
|
|
318
|
+
return Service64.of({
|
|
319
319
|
get,
|
|
320
320
|
start,
|
|
321
321
|
wait,
|
|
@@ -327,7 +327,7 @@ var make19 = Effect.gen(function* () {
|
|
|
327
327
|
completeBackground
|
|
328
328
|
});
|
|
329
329
|
});
|
|
330
|
-
var layer = Layer.effect(
|
|
331
|
-
var
|
|
330
|
+
var layer = Layer.effect(Service64, make20);
|
|
331
|
+
var node68 = makeGlobalNode({ service: Service64, layer, deps: [node85] });
|
|
332
332
|
|
|
333
|
-
export {
|
|
333
|
+
export { Service64, make20, node68, exports_job };
|