@opencode/core 0.0.0-dev-21048 → 0.0.0-dev-21049
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +77 -77
- package/dist/chunks/{instruction-discovery-va1nha5r.js → tool-09qqh49h.js} +25 -25
- package/dist/chunks/{instruction-discovery-n8bv0sa4.js → tool-0dy26cax.js} +23 -23
- package/dist/chunks/{instruction-discovery-waq2gve3.js → tool-0eyv36ts.js} +31 -31
- package/dist/chunks/{instruction-discovery-d3y6n0b6.js → tool-0n5ns49k.js} +4 -4
- package/dist/chunks/{instruction-discovery-wca6rppr.js → tool-0nxben1n.js} +39 -39
- package/dist/chunks/{instruction-discovery-3fcjan8b.js → tool-0qrpzpdx.js} +11 -11
- package/dist/chunks/{instruction-discovery-7bwjw7wy.js → tool-0spfg2bb.js} +11 -11
- package/dist/chunks/{instruction-discovery-0vbcp93d.js → tool-0vbcp93d.js} +2 -2
- package/dist/chunks/{instruction-discovery-fxataexq.js → tool-11w9b7qd.js} +19 -19
- package/dist/chunks/{instruction-discovery-39p519kw.js → tool-12t6z3cz.js} +4 -4
- package/dist/chunks/{instruction-discovery-rrt0a0ha.js → tool-143qq2q9.js} +3 -3
- package/dist/chunks/{instruction-discovery-n9jssr68.js → tool-15qc111y.js} +11 -11
- package/dist/chunks/{instruction-discovery-wt9anvpp.js → tool-15zrfa03.js} +3 -3
- package/dist/chunks/{instruction-discovery-gdd5b309.js → tool-1b7ejmxt.js} +8 -8
- package/dist/chunks/{instruction-discovery-t23q2gqf.js → tool-1gjkdexd.js} +13 -13
- package/dist/chunks/{instruction-discovery-v0hpbr4w.js → tool-1hz0wgam.js} +29 -29
- package/dist/chunks/{instruction-discovery-g3y7bjhb.js → tool-1w2t7fyn.js} +18 -18
- package/dist/chunks/{instruction-discovery-0gkc12cr.js → tool-230ecda4.js} +7 -7
- package/dist/chunks/{instruction-discovery-ts0gh8et.js → tool-29eykq4v.js} +15 -15
- package/dist/chunks/{instruction-discovery-qz02d4gv.js → tool-2bekqz3a.js} +15 -15
- package/dist/chunks/{instruction-discovery-3pkdza1g.js → tool-2th9fvys.js} +19 -19
- package/dist/chunks/{instruction-discovery-zba37znz.js → tool-2z796rds.js} +20 -20
- package/dist/chunks/{instruction-discovery-afc89ade.js → tool-376dj1j3.js} +10 -10
- package/dist/chunks/{instruction-discovery-9gegnqrt.js → tool-3cdf983x.js} +41 -35
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hwn7j4h.js → tool-3hwn7j4h.js} +2 -2
- package/dist/chunks/{instruction-discovery-gzwa2jyh.js → tool-3pytycam.js} +6 -6
- package/dist/chunks/{instruction-discovery-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{instruction-discovery-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{instruction-discovery-4ybyq5fk.js → tool-3wfexhse.js} +11 -11
- package/dist/chunks/{instruction-discovery-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
- package/dist/chunks/{instruction-discovery-5q5baksb.js → tool-4704tty5.js} +2 -2
- package/dist/chunks/{instruction-discovery-hbs3tas6.js → tool-47bgsghd.js} +5 -5
- package/dist/chunks/{instruction-discovery-6kzp9tjq.js → tool-47jkzegy.js} +5 -5
- package/dist/chunks/{instruction-discovery-nm6k19tz.js → tool-49zdgxhw.js} +25 -25
- package/dist/chunks/{instruction-discovery-fhneg79x.js → tool-4fjma7m8.js} +16 -16
- package/dist/chunks/{instruction-discovery-vp80wfjs.js → tool-4k48dskj.js} +43 -43
- package/dist/chunks/{instruction-discovery-wtww1gdk.js → tool-4ka8hhjj.js} +8 -8
- package/dist/chunks/{instruction-discovery-a0t017ph.js → tool-52zr48d6.js} +16 -16
- package/dist/chunks/{instruction-discovery-54ma36ye.js → tool-54ma36ye.js} +1 -1
- package/dist/chunks/{instruction-discovery-fesr6daw.js → tool-560byads.js} +1 -1
- package/dist/chunks/{instruction-discovery-3x2mfa6x.js → tool-5714egxe.js} +3 -3
- package/dist/chunks/{instruction-discovery-xfkkasph.js → tool-57b9ws8p.js} +7 -7
- package/dist/chunks/{instruction-discovery-cvpgerb4.js → tool-5ds65g7m.js} +174 -174
- package/dist/chunks/{instruction-discovery-r17nf67x.js → tool-5ezpm4ww.js} +18 -18
- package/dist/chunks/{instruction-discovery-5keqaf2g.js → tool-5gq9j52j.js} +18 -18
- package/dist/chunks/{instruction-discovery-0383yw56.js → tool-5kmqhqkx.js} +12 -12
- package/dist/chunks/{instruction-discovery-ygj6d1q8.js → tool-5kpd3qqk.js} +5 -5
- package/dist/chunks/{instruction-discovery-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
- package/dist/chunks/{instruction-discovery-3rr193fp.js → tool-61xwzbr6.js} +33 -33
- package/dist/chunks/{instruction-discovery-zntnh37a.js → tool-62jddv0q.js} +92 -92
- package/dist/chunks/{instruction-discovery-0bg0bx69.js → tool-6g7e4dd5.js} +9 -9
- package/dist/chunks/{instruction-discovery-t6vsspdg.js → tool-6hh8tjw2.js} +7 -7
- package/dist/chunks/{instruction-discovery-vcskyzb7.js → tool-6jpn1xds.js} +1 -1
- package/dist/chunks/{instruction-discovery-tp8w4ggf.js → tool-6mvkgxje.js} +5 -5
- package/dist/chunks/{instruction-discovery-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
- package/dist/chunks/{instruction-discovery-wdy1g13m.js → tool-6yybhc5e.js} +5 -5
- package/dist/chunks/{instruction-discovery-vrrq7v3g.js → tool-6yz0wx8n.js} +5 -5
- package/dist/chunks/{instruction-discovery-5tmmj2ep.js → tool-70h0erza.js} +35 -35
- package/dist/chunks/{instruction-discovery-cqwer3tv.js → tool-70qn9w1v.js} +22 -22
- package/dist/chunks/{instruction-discovery-775gj3j1.js → tool-775gj3j1.js} +2 -2
- package/dist/chunks/{instruction-discovery-674019k8.js → tool-7b2ys08c.js} +3 -3
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-d0sm7wyd.js → tool-7grdpmn4.js} +32 -32
- package/dist/chunks/{instruction-discovery-s97ptryn.js → tool-7kfb2kjh.js} +12 -12
- package/dist/chunks/{instruction-discovery-vywgnqw5.js → tool-7myztyss.js} +45 -45
- package/dist/chunks/{instruction-discovery-d8zg3xw8.js → tool-8022akpp.js} +35 -35
- package/dist/chunks/{instruction-discovery-84txncab.js → tool-84txncab.js} +1 -1
- package/dist/chunks/{instruction-discovery-cn5f6y8n.js → tool-87b0tycv.js} +22 -22
- package/dist/chunks/{instruction-discovery-jdywrghb.js → tool-87t3sg69.js} +8 -8
- package/dist/chunks/{instruction-discovery-d44g346f.js → tool-8f721ffb.js} +4 -4
- package/dist/chunks/{instruction-discovery-8m6m0r52.js → tool-8m6m0r52.js} +1 -1
- package/dist/chunks/{instruction-discovery-wnr73e5f.js → tool-92jqywd0.js} +15 -15
- package/dist/chunks/{instruction-discovery-am6f2qjv.js → tool-93jnn70z.js} +8 -8
- package/dist/chunks/{instruction-discovery-26xa0t1s.js → tool-95f8ca4q.js} +15 -15
- package/dist/chunks/{instruction-discovery-b4ea2vqv.js → tool-98wwwshm.js} +28 -28
- package/dist/chunks/{instruction-discovery-07ypw4px.js → tool-99va16k7.js} +20 -20
- package/dist/chunks/{instruction-discovery-fyjp43ss.js → tool-9b00c1fb.js} +5 -5
- package/dist/chunks/{instruction-discovery-mbnxefga.js → tool-9pa8tak9.js} +2 -2
- package/dist/chunks/{instruction-discovery-b0j129rr.js → tool-9rpqzg1a.js} +15 -15
- package/dist/chunks/{instruction-discovery-5ykfhzjf.js → tool-9z41w441.js} +9 -9
- package/dist/chunks/{instruction-discovery-39ckm3km.js → tool-9zt3hyj2.js} +35 -35
- package/dist/chunks/{instruction-discovery-sgd8205n.js → tool-a6j5r86g.js} +5 -5
- package/dist/chunks/{instruction-discovery-hwvf8j5p.js → tool-a79qvj6d.js} +27 -27
- package/dist/chunks/{instruction-discovery-s26hbv8p.js → tool-afrtgck4.js} +4 -4
- package/dist/chunks/{instruction-discovery-dk8zk830.js → tool-axr9kwmj.js} +50 -50
- package/dist/chunks/{instruction-discovery-6r28svve.js → tool-b44y2phb.js} +25 -25
- package/dist/chunks/{instruction-discovery-te5rt75t.js → tool-b92e8n45.js} +9 -9
- package/dist/chunks/{instruction-discovery-8qv4x6hf.js → tool-bhwamkf8.js} +25 -25
- package/dist/chunks/{instruction-discovery-26msm9mf.js → tool-bnpshxh6.js} +13 -13
- package/dist/chunks/{instruction-discovery-nsprr89q.js → tool-btsvt50k.js} +8 -8
- package/dist/chunks/{instruction-discovery-zw16ksqp.js → tool-c00bz1vb.js} +15 -15
- package/dist/chunks/{instruction-discovery-c1fqxshp.js → tool-c1fqxshp.js} +3 -3
- package/dist/chunks/{instruction-discovery-gbnkk931.js → tool-c29z7hcx.js} +33 -33
- package/dist/chunks/{instruction-discovery-w9d4qx3c.js → tool-cdb4d5hn.js} +8 -8
- package/dist/chunks/{instruction-discovery-zrq8kphx.js → tool-cmmdg65p.js} +8 -8
- package/dist/chunks/{instruction-discovery-dn60m14v.js → tool-cnrvnbz5.js} +32 -32
- package/dist/chunks/{instruction-discovery-rk5a64xw.js → tool-cqw1m3c7.js} +14 -14
- package/dist/chunks/{instruction-discovery-bdz9ry1p.js → tool-cwq5cw92.js} +6 -6
- package/dist/chunks/{instruction-discovery-nnekz5nz.js → tool-cyt5dtwd.js} +8 -8
- package/dist/chunks/{instruction-discovery-7v4674rz.js → tool-d0ge418f.js} +5 -5
- package/dist/chunks/{instruction-discovery-wwajdw47.js → tool-d43tgzm4.js} +9 -9
- package/dist/chunks/{instruction-discovery-tbj4gm0g.js → tool-d9rb3zvs.js} +65 -65
- package/dist/chunks/{instruction-discovery-545ygv0m.js → tool-djs19gy2.js} +4 -4
- package/dist/chunks/{instruction-discovery-ngnpdf4h.js → tool-dp9e102f.js} +9 -9
- package/dist/chunks/{instruction-discovery-dqxsqydv.js → tool-dqxsqydv.js} +1 -1
- package/dist/chunks/{instruction-discovery-mw3hxzp4.js → tool-dvr9mxdx.js} +11 -11
- package/dist/chunks/{instruction-discovery-4ae7g3jr.js → tool-dx4kydrk.js} +9 -9
- package/dist/chunks/{instruction-discovery-pcdt4n7h.js → tool-e0f7tvrt.js} +30 -30
- package/dist/chunks/{instruction-discovery-ed38js2d.js → tool-e0yqexzb.js} +56 -56
- package/dist/chunks/{instruction-discovery-wqfpt31c.js → tool-e58xrjgm.js} +14 -14
- package/dist/chunks/{instruction-discovery-er5c7pdw.js → tool-e8ajjxsc.js} +24 -24
- package/dist/chunks/{instruction-discovery-w3x9v1nk.js → tool-eeaf82dq.js} +8 -8
- package/dist/chunks/{instruction-discovery-eej6y6fw.js → tool-eej6y6fw.js} +2 -2
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-9bbnj2zh.js → tool-eh6ej367.js} +5 -5
- package/dist/chunks/{instruction-discovery-yjagzrbw.js → tool-ehyjreag.js} +23 -23
- package/dist/chunks/{instruction-discovery-hztdefgr.js → tool-en4jjy2t.js} +17 -17
- package/dist/chunks/{instruction-discovery-5cg0q5wd.js → tool-enceqnms.js} +11 -11
- package/dist/chunks/{instruction-discovery-41czef58.js → tool-espax8zg.js} +4 -4
- package/dist/chunks/{instruction-discovery-n36cz2kn.js → tool-exasynrg.js} +3 -3
- package/dist/chunks/{instruction-discovery-dpkg50ah.js → tool-f0nz223j.js} +4 -4
- package/dist/chunks/{instruction-discovery-gf48kp7h.js → tool-f8a4hwr2.js} +7 -7
- package/dist/chunks/{instruction-discovery-99r6wgs9.js → tool-f8c51dk5.js} +14 -14
- package/dist/chunks/{instruction-discovery-2k8khapm.js → tool-fcrkznn8.js} +5 -5
- package/dist/chunks/{instruction-discovery-tw6ga7pb.js → tool-fdv8dmm1.js} +16 -16
- package/dist/chunks/{instruction-discovery-8zknfaqf.js → tool-fkpfeb1d.js} +25 -25
- package/dist/chunks/{instruction-discovery-nx8grar1.js → tool-fmabef4g.js} +24 -24
- package/dist/chunks/{instruction-discovery-56dxv453.js → tool-fprpd8rr.js} +9 -9
- package/dist/chunks/{instruction-discovery-deztckzr.js → tool-fr6f0teb.js} +21 -21
- package/dist/chunks/{instruction-discovery-tnzkad2a.js → tool-fwa0h3zy.js} +40 -40
- package/dist/chunks/{instruction-discovery-eaeaap33.js → tool-g5j27e7f.js} +9 -9
- package/dist/chunks/{instruction-discovery-g686f6pq.js → tool-g686f6pq.js} +2 -2
- package/dist/chunks/{instruction-discovery-ppyys8tk.js → tool-g6q255vp.js} +21 -21
- package/dist/chunks/{instruction-discovery-gvq71yfv.js → tool-g8a3dkpa.js} +21 -21
- package/dist/chunks/{instruction-discovery-p2c3safp.js → tool-ga7mt0se.js} +7 -7
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{instruction-discovery-r0ygj1jg.js → tool-gg52rjyc.js} +26 -26
- package/dist/chunks/{instruction-discovery-89zm7n8n.js → tool-gpvphjq8.js} +7 -7
- package/dist/chunks/{instruction-discovery-r659b7sp.js → tool-gv51xe32.js} +12 -12
- package/dist/chunks/{instruction-discovery-g76hbfwx.js → tool-h28ky92f.js} +24 -24
- package/dist/chunks/{instruction-discovery-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{instruction-discovery-h7s7r6s9.js → tool-h7s7r6s9.js} +2 -2
- package/dist/chunks/{instruction-discovery-5w9yjztw.js → tool-he27pt63.js} +1 -1
- package/dist/chunks/{instruction-discovery-hgz4x7wa.js → tool-hgz4x7wa.js} +1 -1
- package/dist/chunks/{instruction-discovery-91qna3x0.js → tool-j09zfasm.js} +3 -3
- package/dist/chunks/{instruction-discovery-p5erqdfk.js → tool-j49xa6cy.js} +1 -1
- package/dist/chunks/{instruction-discovery-c2f194xb.js → tool-jabbs2pc.js} +42 -42
- package/dist/chunks/{instruction-discovery-myvxdkkw.js → tool-jb4mrxfg.js} +20 -20
- package/dist/chunks/{instruction-discovery-0xe61swr.js → tool-jc5z6esd.js} +14 -14
- package/dist/chunks/{instruction-discovery-bxn8npdm.js → tool-jcc9efy7.js} +13 -13
- package/dist/chunks/{instruction-discovery-kksb4y7r.js → tool-jgxf7b5z.js} +3 -3
- package/dist/chunks/{instruction-discovery-6zdc443m.js → tool-jh7q4nc1.js} +12 -12
- package/dist/chunks/{instruction-discovery-xpbc9swk.js → tool-jjw2fst0.js} +11 -11
- package/dist/chunks/{instruction-discovery-dnnn3g48.js → tool-jmsw07fh.js} +4 -4
- package/dist/chunks/{instruction-discovery-5h4cx8zn.js → tool-jpakg8mx.js} +11 -11
- package/dist/chunks/{instruction-discovery-d05e2dpj.js → tool-jqsqbmjz.js} +41 -41
- package/dist/chunks/{instruction-discovery-rpg9c19m.js → tool-jvf3yq6v.js} +4 -4
- package/dist/chunks/{instruction-discovery-redv2w84.js → tool-jvtxec42.js} +19 -19
- package/dist/chunks/{instruction-discovery-xqf30h8h.js → tool-k7b35hhb.js} +5 -5
- package/dist/chunks/{instruction-discovery-fxaymqdw.js → tool-khmqacep.js} +4 -4
- package/dist/chunks/{instruction-discovery-pah2hahp.js → tool-kkcq69qv.js} +24 -24
- package/dist/chunks/{instruction-discovery-k25jrs0g.js → tool-kp9fp1hg.js} +20 -20
- package/dist/chunks/{instruction-discovery-r21g991y.js → tool-ktw141zw.js} +6 -6
- package/dist/chunks/{instruction-discovery-w667zm0d.js → tool-kwh0g9yr.js} +6 -6
- package/dist/chunks/{instruction-discovery-jd2tz9j2.js → tool-m01k28hg.js} +22 -22
- package/dist/chunks/{instruction-discovery-tm6m41eq.js → tool-m1z5ek08.js} +8 -8
- package/dist/chunks/{instruction-discovery-5w0a3j8n.js → tool-m22hh5g2.js} +34 -34
- package/dist/chunks/{instruction-discovery-66yxf7f5.js → tool-m6vhnv41.js} +10 -10
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-maspj1v3.js → tool-maspj1v3.js} +1 -1
- package/dist/chunks/{instruction-discovery-arkcm2ny.js → tool-mbdexebc.js} +9 -9
- package/dist/chunks/{instruction-discovery-mcgg1rg4.js → tool-mcgg1rg4.js} +2 -2
- package/dist/chunks/{instruction-discovery-97aeaand.js → tool-mqqhst8y.js} +4 -4
- package/dist/chunks/{instruction-discovery-d0k1g5nx.js → tool-mx9vqzsb.js} +6 -6
- package/dist/chunks/{instruction-discovery-5rethk9q.js → tool-n19kh25r.js} +10 -10
- package/dist/chunks/{instruction-discovery-xn3ttaks.js → tool-n721bpxh.js} +51 -51
- package/dist/chunks/{instruction-discovery-ttbszg9w.js → tool-n9asf4py.js} +17 -17
- package/dist/chunks/{instruction-discovery-yzadaxk8.js → tool-n9axg7zh.js} +4 -4
- package/dist/chunks/{instruction-discovery-0qaza0kh.js → tool-nck54nhp.js} +20 -20
- package/dist/chunks/{instruction-discovery-wyhtzqkq.js → tool-nncsyyge.js} +12 -12
- package/dist/chunks/{instruction-discovery-1ajx6rf5.js → tool-pa8pe2x7.js} +8 -8
- package/dist/chunks/{instruction-discovery-1gwacf78.js → tool-pbzbjmff.js} +36 -36
- package/dist/chunks/{instruction-discovery-3qeqpf55.js → tool-pf9eybg4.js} +18 -18
- package/dist/chunks/{instruction-discovery-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instruction-discovery-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-4dkatwf4.js → tool-pr04h4tn.js} +3 -3
- package/dist/chunks/{instruction-discovery-fhm98gwr.js → tool-prg7pynr.js} +3 -3
- package/dist/chunks/{instruction-discovery-q0xm7vwc.js → tool-q0xm7vwc.js} +2 -2
- package/dist/chunks/{instruction-discovery-mek16e5d.js → tool-q9099wq0.js} +11 -11
- package/dist/chunks/{instruction-discovery-8x421jqn.js → tool-qa5pp94n.js} +11 -11
- package/dist/chunks/{instruction-discovery-s6cvh2py.js → tool-qbxqra2w.js} +4 -4
- package/dist/chunks/tool-qc068m1q.js +18 -0
- package/dist/chunks/{instruction-discovery-anwhnb2d.js → tool-qdafbg7b.js} +77 -77
- package/dist/chunks/{instruction-discovery-2sejkfem.js → tool-qmqgtz8f.js} +9 -9
- package/dist/chunks/{instruction-discovery-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
- package/dist/chunks/{instruction-discovery-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/tool-qtqva6ax.js +253 -0
- package/dist/chunks/{instruction-discovery-m98n21m1.js → tool-r0b0zdb7.js} +19 -19
- package/dist/chunks/{instruction-discovery-9qzav5ez.js → tool-r6ewd7yw.js} +11 -11
- package/dist/chunks/{instruction-discovery-kx590b7g.js → tool-r9z49qnw.js} +23 -23
- package/dist/chunks/{instruction-discovery-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
- package/dist/chunks/{instruction-discovery-rert0e01.js → tool-rert0e01.js} +2 -2
- package/dist/chunks/{instruction-discovery-rj3eygr5.js → tool-rj3eygr5.js} +2 -2
- package/dist/chunks/{instruction-discovery-69tmba6b.js → tool-rxva3spn.js} +15 -15
- package/dist/chunks/{instruction-discovery-zbmrnc37.js → tool-s1s9gt8f.js} +16 -16
- package/dist/chunks/{instruction-discovery-dtvpbkqr.js → tool-s2b5phw1.js} +14 -14
- package/dist/chunks/{instruction-discovery-w84sncwb.js → tool-s2j6jbe4.js} +11 -11
- package/dist/chunks/{instruction-discovery-wqrfg65e.js → tool-s43hmkm2.js} +13 -13
- package/dist/chunks/{instruction-discovery-sa8ekw3f.js → tool-sa8ekw3f.js} +2 -2
- package/dist/chunks/{instruction-discovery-k1n9ytqj.js → tool-sgs6tqcg.js} +15 -15
- package/dist/chunks/{instruction-discovery-e80seqcp.js → tool-sxcaecc0.js} +3 -3
- package/dist/chunks/{instruction-discovery-syv4x271.js → tool-syv4x271.js} +1 -1
- package/dist/chunks/{instruction-discovery-r3w64s9s.js → tool-t0stdxg1.js} +18 -18
- package/dist/chunks/{instruction-discovery-tvkrxetj.js → tool-t27cpqqf.js} +14 -14
- package/dist/chunks/{instruction-discovery-4b9sa3r1.js → tool-t3zshges.js} +11 -11
- package/dist/chunks/{instruction-discovery-rhjbct0v.js → tool-t550f9t1.js} +4 -4
- package/dist/chunks/{instruction-discovery-p9hg9hcj.js → tool-t7t1s02j.js} +19 -19
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{instruction-discovery-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
- package/dist/chunks/{instruction-discovery-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{instruction-discovery-9j9yh4s0.js → tool-teddrkej.js} +23 -23
- package/dist/chunks/{instruction-discovery-6ngppndb.js → tool-tkwrxyh9.js} +26 -26
- package/dist/chunks/{instruction-discovery-tm0kqsz3.js → tool-tm0kqsz3.js} +1 -1
- package/dist/chunks/{instruction-discovery-dm1rwr2p.js → tool-tp63ett8.js} +8 -8
- package/dist/chunks/{instruction-discovery-0z67tkav.js → tool-twvynhvt.js} +9 -9
- package/dist/chunks/{instruction-discovery-n37c4crj.js → tool-tyjrg911.js} +9 -9
- package/dist/chunks/{instruction-discovery-tyytaxap.js → tool-tyytaxap.js} +1 -1
- package/dist/chunks/{instruction-discovery-d79e138d.js → tool-v42hp0t0.js} +45 -45
- package/dist/chunks/{instruction-discovery-08vm096y.js → tool-v4cvsrx9.js} +41 -41
- package/dist/chunks/{instruction-discovery-mvfdckk2.js → tool-v4nfzjvf.js} +8 -8
- package/dist/chunks/{instruction-discovery-qykkc67d.js → tool-v5qvjexb.js} +4 -4
- package/dist/chunks/{instruction-discovery-v7p4zvkq.js → tool-v7p4zvkq.js} +2 -2
- package/dist/chunks/{instruction-discovery-jrzmnkg9.js → tool-vb6sw3y2.js} +23 -23
- package/dist/chunks/{instruction-discovery-f4whfjde.js → tool-vdnkbznm.js} +37 -37
- package/dist/chunks/{instruction-discovery-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-bmyepz0x.js → tool-vgsjm2js.js} +15 -15
- package/dist/chunks/tool-vn4qg1y1.js +513 -0
- package/dist/chunks/{instruction-discovery-an1jv1pa.js → tool-vq6g8cn6.js} +13 -13
- package/dist/chunks/{instruction-discovery-sjggpmq3.js → tool-vsp43hx6.js} +11 -11
- package/dist/chunks/{instruction-discovery-hvsbwkzx.js → tool-vw9027f9.js} +45 -45
- package/dist/chunks/{instruction-discovery-gj5mxq9j.js → tool-vx1yezxz.js} +4 -4
- package/dist/chunks/{instruction-discovery-0kd67hfw.js → tool-vzjqqmke.js} +13 -13
- package/dist/chunks/{instruction-discovery-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-2msx844e.js → tool-w6v0a0a0.js} +20 -20
- package/dist/chunks/{instruction-discovery-8sze2n9a.js → tool-w92k2e0p.js} +4 -4
- package/dist/chunks/{instruction-discovery-z4cgyzjc.js → tool-wd141nz2.js} +18 -18
- package/dist/chunks/{instruction-discovery-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-dk8f0wjs.js → tool-wn04sytp.js} +7 -7
- package/dist/chunks/{instruction-discovery-sf96nt6v.js → tool-wpvb0vtd.js} +13 -13
- package/dist/chunks/{instruction-discovery-y9h20586.js → tool-wqm3ja7g.js} +39 -39
- package/dist/chunks/{instruction-discovery-e1djpaqy.js → tool-wwx93a2b.js} +15 -15
- package/dist/chunks/{instruction-discovery-zccg1gv6.js → tool-wyszaa0p.js} +20 -20
- package/dist/chunks/{instruction-discovery-j0nh1mgf.js → tool-x2a7tbvm.js} +26 -26
- package/dist/chunks/{instruction-discovery-addxnjmp.js → tool-x661k3y3.js} +4 -4
- package/dist/chunks/{instruction-discovery-3xt25322.js → tool-xa2yqved.js} +30 -30
- package/dist/chunks/{instruction-discovery-p0jkddme.js → tool-xahevxwt.js} +18 -18
- package/dist/chunks/{instruction-discovery-mqqva4dz.js → tool-xcd5qje4.js} +29 -29
- package/dist/chunks/{instruction-discovery-gh1cfzqe.js → tool-xjjxg6fg.js} +18 -18
- package/dist/chunks/{instruction-discovery-qyeykpda.js → tool-xkgdf0k8.js} +18 -18
- package/dist/chunks/{instruction-discovery-g7d6kkwh.js → tool-xkskqrtp.js} +38 -38
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/tool-y7mkpdv1.js +26 -0
- package/dist/chunks/{instruction-discovery-gmtsgm6h.js → tool-yd6x1vtb.js} +15 -15
- package/dist/chunks/{instruction-discovery-1acjjqhc.js → tool-yp2x3t23.js} +4 -4
- package/dist/chunks/{instruction-discovery-1ffvrpkg.js → tool-ywt8jp22.js} +6 -6
- package/dist/chunks/{instruction-discovery-5z3dn9de.js → tool-yy7ctzsd.js} +21 -21
- package/dist/chunks/{instruction-discovery-34kq85ks.js → tool-yyptd6zt.js} +3 -3
- package/dist/chunks/{instruction-discovery-aynn7abp.js → tool-z082bpte.js} +15 -15
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-975jjne0.js → tool-z44d18ne.js} +11 -11
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-3sj8yt8v.js → tool-zsr4wwhv.js} +4 -4
- package/dist/chunks/{instruction-discovery-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- package/dist/chunks/{instruction-discovery-scgrse2b.js → tool-zyk1yjk8.js} +5 -5
- 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 +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +8 -8
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +95 -95
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- 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 +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-0aj7h19t.js +0 -253
- package/dist/chunks/instruction-discovery-7fj5dwt0.js +0 -18
- package/dist/chunks/instruction-discovery-8m5b1yna.js +0 -26
- package/dist/chunks/instruction-discovery-ttge26p3.js +0 -513
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2bv980vf.js → tool-2bv980vf.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-84wd9syh.js → tool-84wd9syh.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jze0r7bz.js → tool-jze0r7bz.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-m18g726c.js → tool-m18g726c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-pkyv6v7h.js → tool-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-pyv0edze.js → tool-pyv0edze.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wjj7prxr.js → tool-wjj7prxr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./tool-n721bpxh.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
@@ -19,10 +19,10 @@ __export(exports_webfetch, {
|
|
|
19
19
|
Input: () => Input9,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin10,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
27
|
name: () => name9
|
|
28
28
|
});
|
|
@@ -34,7 +34,7 @@ var name9 = "webfetch";
|
|
|
34
34
|
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `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));
|
|
@@ -92,15 +92,15 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin10 = {
|
|
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* Service69;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
101
|
name: name9,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
103
|
+
description: description4,
|
|
104
104
|
input: Input9,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export { name9, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2,
|
|
170
|
+
export { name9, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input9, Plugin10, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./tool-v42hp0t0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./tool-d43tgzm4.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin27
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin27 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service62;
|
|
26
|
+
const image = yield* Service61;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin41 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin27, exports_image };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
Service75
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-49zdgxhw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service62
|
|
7
|
+
} from "./tool-v42hp0t0.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
12
|
const providers = yield* Service75;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service62);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-49zdgxhw.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-3cdf983x.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service62
|
|
11
|
+
} from "./tool-v42hp0t0.js";
|
|
12
12
|
import {
|
|
13
13
|
resolve2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-15zrfa03.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/provider.ts
|
|
23
23
|
var exports_provider = {};
|
|
24
24
|
__export(exports_provider, {
|
|
25
25
|
ConfigProviderPlugin: () => exports_provider,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin21
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Money } from "@opencode/schema/money";
|
|
30
30
|
import { Effect } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Plugin21 = define({
|
|
32
32
|
id: "opencode.config.provider",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service62;
|
|
35
35
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
36
36
|
yield* ctx.integration.transform((integrations) => {
|
|
37
37
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -201,4 +201,4 @@ function configuredProviders(entries) {
|
|
|
201
201
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
export {
|
|
204
|
+
export { Plugin21, exports_provider };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service62
|
|
7
|
+
} from "./tool-v42hp0t0.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-hgz4x7wa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service58
|
|
13
|
+
} from "./tool-87b0tycv.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service83
|
|
16
|
+
} from "./tool-s1s9gt8f.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service69
|
|
19
|
+
} from "./tool-n721bpxh.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service24,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-52zr48d6.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./tool-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service50,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./tool-29eykq4v.js";
|
|
34
34
|
import {
|
|
35
35
|
NotFoundError5,
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service39
|
|
37
|
+
} from "./tool-7myztyss.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service26
|
|
40
|
+
} from "./tool-62jddv0q.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./tool-n9axg7zh.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./tool-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input6,
|
|
53
|
+
Plugin: () => Plugin7,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name6
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name6 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input6 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin7 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service26;
|
|
124
|
+
const jobs = yield* Service83;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service58;
|
|
127
|
+
const access = yield* Service24;
|
|
128
|
+
const shell = yield* Service39;
|
|
129
|
+
const shellSelect = yield* Service50;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service69;
|
|
132
|
+
const config = yield* Service62;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin8 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name6,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin8 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name6,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input6,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name6,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name6];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin7, exports_shell };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-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: () => Service42,
|
|
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 Service42 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service42, exports_runner };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node85
|
|
4
|
+
} from "./tool-e58xrjgm.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-xkskqrtp.js";
|
|
13
13
|
import {
|
|
14
14
|
Service79,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node82
|
|
16
|
+
} from "./tool-dp9e102f.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-rdw6cm16.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -32,9 +32,9 @@ __export(exports_vcs, {
|
|
|
32
32
|
Info: () => Info3,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service14,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node17
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service14 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
61
|
const location = yield* Service79;
|
|
62
|
-
const bus = yield*
|
|
62
|
+
const bus = yield* Service82;
|
|
63
63
|
const root = yield* Effect.scope;
|
|
64
64
|
const fork = yield* FiberSet.makeRuntime();
|
|
65
65
|
const vcs = location.vcs;
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service14.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node17 = makeLocationNode({
|
|
191
|
+
service: Service14,
|
|
192
192
|
layer,
|
|
193
|
-
deps: [FSUtil.node,
|
|
193
|
+
deps: [FSUtil.node, node82, node85]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, InitializeError2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, InitializeError2, Service14, node17, exports_vcs };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./tool-49zdgxhw.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -35,15 +35,15 @@ var AmazonBedrockPlugin2 = define({
|
|
|
35
35
|
})))).filter(Boolean).toSorted();
|
|
36
36
|
yield* ctx.integration.transform((editor) => {
|
|
37
37
|
editor.method.update({
|
|
38
|
-
integrationID:
|
|
38
|
+
integrationID: ID12.amazonBedrock,
|
|
39
39
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
40
40
|
});
|
|
41
41
|
editor.method.update({
|
|
42
|
-
integrationID:
|
|
42
|
+
integrationID: ID12.amazonBedrock,
|
|
43
43
|
method: { type: "key", label: "Bedrock API key" }
|
|
44
44
|
});
|
|
45
45
|
editor.method.update({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID12.amazonBedrock,
|
|
47
47
|
method: {
|
|
48
48
|
id: "aws-profile",
|
|
49
49
|
type: "external",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/environment/unavailable.ts
|
|
6
6
|
var exports_unavailable = {};
|
|
7
7
|
__export(exports_unavailable, {
|
|
8
8
|
EnvironmentUnavailable: () => exports_unavailable,
|
|
9
|
-
layer: () =>
|
|
9
|
+
layer: () => layer8,
|
|
10
10
|
spawner: () => spawner2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Layer, PlatformError } from "effect";
|
|
@@ -17,6 +17,6 @@ var spawner2 = make(() => Effect.fail(PlatformError.systemError({
|
|
|
17
17
|
method: "spawn",
|
|
18
18
|
description: "This location has no execution plane: no workspace is attached and the host cannot spawn processes"
|
|
19
19
|
})));
|
|
20
|
-
var
|
|
20
|
+
var layer8 = Layer.succeed(ChildProcessSpawner, spawner2);
|
|
21
21
|
|
|
22
|
-
export { spawner2,
|
|
22
|
+
export { spawner2, layer8, exports_unavailable };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-pyv0edze.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-j09zfasm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service61,
|
|
17
|
+
node64
|
|
18
|
+
} from "./tool-d43tgzm4.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service73,
|
|
21
|
+
node76
|
|
22
|
+
} from "./tool-cmmdg65p.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./tool-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./tool-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error5,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service60,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node63
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error5, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service60 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service73;
|
|
58
|
+
const image = yield* Service61;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service60.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node63 = makeLocationNode({
|
|
277
|
+
service: Service60,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node76, node64]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service60, node63, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
|