@opencode-ai/core 0.0.0-dev-19119 → 0.0.0-dev-19120
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +82 -82
- package/dist/chunks/{websearch-kjxynnhj.js → location-service-map-00wry05e.js} +8 -8
- package/dist/chunks/{websearch-m8f4y9mz.js → location-service-map-07sg0667.js} +13 -13
- package/dist/chunks/{websearch-0yvd3pfe.js → location-service-map-09the3rx.js} +57 -57
- package/dist/chunks/{websearch-0e0xafbb.js → location-service-map-0e0xafbb.js} +2 -2
- package/dist/chunks/{websearch-7yenzqxj.js → location-service-map-0g9x0jch.js} +19 -19
- package/dist/chunks/{websearch-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
- package/dist/chunks/{websearch-0s9ayhjt.js → location-service-map-0s9ayhjt.js} +1 -1
- package/dist/chunks/{websearch-g3f12aw4.js → location-service-map-0vp0v91d.js} +15 -15
- package/dist/chunks/{websearch-0hasn9ff.js → location-service-map-0z93466p.js} +18 -18
- package/dist/chunks/{websearch-2xnaffrb.js → location-service-map-13yqp5nw.js} +14 -14
- package/dist/chunks/{websearch-d6faz3t2.js → location-service-map-18m6e1av.js} +22 -22
- package/dist/chunks/{websearch-2s7w2qxb.js → location-service-map-1axk3xc0.js} +31 -31
- package/dist/chunks/{websearch-sb910js5.js → location-service-map-1cngsnb6.js} +20 -20
- package/dist/chunks/{websearch-1ct4r87x.js → location-service-map-1ct4r87x.js} +1 -1
- package/dist/chunks/{websearch-07kyeq17.js → location-service-map-1m2g7vnw.js} +9 -9
- package/dist/chunks/{websearch-m6kpjacq.js → location-service-map-1psqsenn.js} +21 -21
- package/dist/chunks/{websearch-njr6r1t9.js → location-service-map-20hnz5p1.js} +46 -46
- package/dist/chunks/{websearch-qntar7wb.js → location-service-map-2125gz1e.js} +19 -19
- package/dist/chunks/{websearch-mbttcmz7.js → location-service-map-21fyrwt6.js} +14 -14
- package/dist/chunks/{websearch-21r38tys.js → location-service-map-21r38tys.js} +1 -1
- package/dist/chunks/{websearch-2402vzrj.js → location-service-map-2402vzrj.js} +1 -1
- package/dist/chunks/{websearch-5rkq28d7.js → location-service-map-260gz6t8.js} +7 -7
- package/dist/chunks/{websearch-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
- package/dist/chunks/{websearch-2ht70gj7.js → location-service-map-2ht70gj7.js} +1 -1
- package/dist/chunks/{websearch-2jqmte8w.js → location-service-map-2jqmte8w.js} +2 -2
- package/dist/chunks/{websearch-2b3wjbhf.js → location-service-map-2jt13kmw.js} +23 -23
- package/dist/chunks/{websearch-nmxp7cq8.js → location-service-map-2sjkem4h.js} +15 -15
- package/dist/chunks/{websearch-68d87kgz.js → location-service-map-305k387t.js} +1 -1
- package/dist/chunks/{websearch-zqarsgkh.js → location-service-map-3c4a78ta.js} +4 -4
- package/dist/chunks/{websearch-gdvy8fx6.js → location-service-map-3fc6dm20.js} +4 -4
- package/dist/chunks/{websearch-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-pcfe4ghh.js → location-service-map-3ktfk1t2.js} +4 -4
- package/dist/chunks/{websearch-3qzbfqsy.js → location-service-map-3qzbfqsy.js} +2 -2
- package/dist/chunks/{websearch-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{websearch-52ba2sra.js → location-service-map-3t5dfjc8.js} +8 -8
- package/dist/chunks/{websearch-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{websearch-hm333kvd.js → location-service-map-3wtczznq.js} +62 -62
- package/dist/chunks/{websearch-qjr20smf.js → location-service-map-40mdf54f.js} +37 -37
- package/dist/chunks/{websearch-ya77tz7a.js → location-service-map-41r81cy4.js} +8 -8
- package/dist/chunks/{websearch-454k5vzh.js → location-service-map-454k5vzh.js} +1 -1
- package/dist/chunks/{websearch-v99jrwrz.js → location-service-map-498x2am8.js} +4 -4
- package/dist/chunks/{websearch-gkq46jej.js → location-service-map-4ex15pvw.js} +1 -1
- package/dist/chunks/{websearch-mq9r6drf.js → location-service-map-4he2j10r.js} +3 -3
- package/dist/chunks/{websearch-9xmspcc4.js → location-service-map-4hk62fah.js} +3 -3
- package/dist/chunks/{websearch-ac7d37sd.js → location-service-map-4k4jemnd.js} +9 -9
- package/dist/chunks/{websearch-4e0wk8k8.js → location-service-map-4pgnv374.js} +7 -7
- package/dist/chunks/{websearch-hk2g75wg.js → location-service-map-4ph9tgks.js} +24 -24
- package/dist/chunks/{websearch-4r2nyarf.js → location-service-map-4r2nyarf.js} +1 -1
- package/dist/chunks/{websearch-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
- package/dist/chunks/{websearch-r2v2qg2t.js → location-service-map-5daq29n9.js} +38 -38
- package/dist/chunks/{websearch-5fmxt4p5.js → location-service-map-5fmxt4p5.js} +1 -1
- package/dist/chunks/{websearch-5jvc5tg2.js → location-service-map-5jvc5tg2.js} +1 -1
- package/dist/chunks/{websearch-esxy42q4.js → location-service-map-5mh3znf8.js} +6 -6
- package/dist/chunks/{websearch-ez5b8bq3.js → location-service-map-5sg4xzjf.js} +7 -7
- package/dist/chunks/{websearch-bhnr65dt.js → location-service-map-5yt6h9t8.js} +29 -29
- package/dist/chunks/{websearch-ebdcck53.js → location-service-map-625gqt9g.js} +23 -23
- package/dist/chunks/{websearch-25epwd50.js → location-service-map-646rggwr.js} +7 -7
- package/dist/chunks/{websearch-p5621xbk.js → location-service-map-66hysxsd.js} +20 -20
- package/dist/chunks/{websearch-d4w1rbz4.js → location-service-map-68taxtet.js} +82 -82
- package/dist/chunks/{websearch-28pcbh69.js → location-service-map-6e958v7x.js} +4 -4
- package/dist/chunks/{websearch-10c9v7fm.js → location-service-map-6fz6z6k0.js} +35 -35
- package/dist/chunks/{websearch-6tf8tr4v.js → location-service-map-6tf8tr4v.js} +2 -2
- package/dist/chunks/{websearch-711hfp6y.js → location-service-map-711hfp6y.js} +2 -2
- package/dist/chunks/{websearch-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-pczr48ja.js → location-service-map-7dqecfa5.js} +11 -11
- package/dist/chunks/{websearch-7dqw4kz8.js → location-service-map-7dqw4kz8.js} +1 -1
- package/dist/chunks/{websearch-945pddfh.js → location-service-map-7dvm334t.js} +26 -26
- package/dist/chunks/{websearch-2jb656d6.js → location-service-map-7grd12ez.js} +49 -49
- package/dist/chunks/{websearch-etfd1sj4.js → location-service-map-7gt4qt3x.js} +18 -18
- package/dist/chunks/{websearch-m12d8awe.js → location-service-map-7kd10yt5.js} +12 -12
- package/dist/chunks/{websearch-dqs7myny.js → location-service-map-7vtgp6gm.js} +29 -29
- package/dist/chunks/{websearch-adwe5887.js → location-service-map-7zfx12k3.js} +23 -23
- package/dist/chunks/location-service-map-7zk4hah4.js +4 -0
- package/dist/chunks/{websearch-g08zf1r8.js → location-service-map-802myvtx.js} +13 -13
- package/dist/chunks/{websearch-jyjjr01j.js → location-service-map-84e20ted.js} +16 -16
- package/dist/chunks/{websearch-h1kgnmsa.js → location-service-map-882w3bjt.js} +31 -31
- package/dist/chunks/{websearch-nj6x7cer.js → location-service-map-8je09tnp.js} +17 -17
- package/dist/chunks/{websearch-ep24ddxq.js → location-service-map-8mnp1ez3.js} +11 -11
- package/dist/chunks/{websearch-mqwm6h4y.js → location-service-map-8n1tzgm3.js} +1 -1
- package/dist/chunks/{websearch-cygj501f.js → location-service-map-8n4wb1gp.js} +18 -18
- package/dist/chunks/{websearch-exh78p7x.js → location-service-map-8yx0hnvf.js} +14 -14
- package/dist/chunks/{websearch-93a8yfjt.js → location-service-map-93a8yfjt.js} +2 -2
- package/dist/chunks/{websearch-x0m2rn61.js → location-service-map-99aevtfh.js} +20 -20
- package/dist/chunks/{websearch-ytgxds4t.js → location-service-map-9byrf6x1.js} +11 -11
- package/dist/chunks/{websearch-5yzkec37.js → location-service-map-9etq4f5g.js} +11 -11
- package/dist/chunks/{websearch-6jyxqvre.js → location-service-map-9jt7q7p4.js} +7 -7
- package/dist/chunks/{websearch-6bjjrt3e.js → location-service-map-9wvrztvm.js} +10 -10
- package/dist/chunks/{websearch-eqtey8mh.js → location-service-map-9y5rmgt6.js} +15 -15
- package/dist/chunks/{websearch-k4fns9ta.js → location-service-map-a04gckda.js} +20 -20
- package/dist/chunks/{websearch-x57dfy1p.js → location-service-map-a5v5rdxj.js} +11 -11
- package/dist/chunks/{websearch-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
- package/dist/chunks/{websearch-kver2n51.js → location-service-map-aaf9tk6g.js} +8 -8
- package/dist/chunks/{websearch-7vdtdkgs.js → location-service-map-af5vyrpj.js} +10 -10
- package/dist/chunks/{websearch-drf6svdd.js → location-service-map-af95cbph.js} +39 -39
- package/dist/chunks/{websearch-76mpqn6b.js → location-service-map-agmm5r84.js} +28 -28
- package/dist/chunks/{websearch-8rvx16ag.js → location-service-map-ajqptv8w.js} +31 -31
- package/dist/chunks/{websearch-t3088jj0.js → location-service-map-akkmbbyy.js} +6 -6
- package/dist/chunks/{websearch-497w5wze.js → location-service-map-b4sgh963.js} +26 -26
- package/dist/chunks/{websearch-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
- package/dist/chunks/{websearch-b9wsbatv.js → location-service-map-b9wsbatv.js} +1 -1
- package/dist/chunks/{websearch-mm1zw9b7.js → location-service-map-beca96dd.js} +36 -36
- package/dist/chunks/{websearch-06ehnqe9.js → location-service-map-bfmbmasw.js} +9 -9
- package/dist/chunks/{websearch-01v9whfm.js → location-service-map-br38anqy.js} +23 -23
- package/dist/chunks/{websearch-f4saz0r8.js → location-service-map-bve5bdy4.js} +6 -6
- package/dist/chunks/{websearch-jyarsrrw.js → location-service-map-bwt96rmt.js} +1 -1
- package/dist/chunks/{websearch-by5v678g.js → location-service-map-by5v678g.js} +1 -1
- package/dist/chunks/{websearch-fn914p83.js → location-service-map-c0e53q07.js} +160 -160
- package/dist/chunks/{websearch-837db1ym.js → location-service-map-cbfp232e.js} +14 -14
- package/dist/chunks/{websearch-8qxeb67a.js → location-service-map-cc8qt4va.js} +13 -13
- package/dist/chunks/{websearch-5xwg1gye.js → location-service-map-chjptjpy.js} +28 -28
- package/dist/chunks/{websearch-p08r3gys.js → location-service-map-chqn43fe.js} +7 -7
- package/dist/chunks/{websearch-vzd1pb60.js → location-service-map-cqq29a67.js} +11 -11
- package/dist/chunks/{websearch-1gjc24aq.js → location-service-map-ct7p0bgn.js} +20 -20
- package/dist/chunks/{websearch-877hfn54.js → location-service-map-cx3vg6ed.js} +14 -14
- package/dist/chunks/{websearch-9de7rjyq.js → location-service-map-cyhhq1mh.js} +11 -11
- package/dist/chunks/{websearch-xq0fy9s8.js → location-service-map-d1qyg7af.js} +9 -9
- package/dist/chunks/{websearch-r8vewsd2.js → location-service-map-drxrg1v0.js} +10 -10
- package/dist/chunks/{websearch-fd1bx7eq.js → location-service-map-dvzne70n.js} +7 -7
- package/dist/chunks/{websearch-823p23z6.js → location-service-map-ecmr8h82.js} +44 -41
- package/dist/chunks/{websearch-2q0vfwcg.js → location-service-map-ededc259.js} +10 -10
- package/dist/chunks/{websearch-p3w24k5h.js → location-service-map-eehrej6d.js} +34 -34
- package/dist/chunks/{websearch-7yh4e7ss.js → location-service-map-eq1pz5kg.js} +3 -3
- package/dist/chunks/{websearch-6v7xw293.js → location-service-map-evr0pgyk.js} +20 -20
- package/dist/chunks/{websearch-erqwyhs3.js → location-service-map-f76ybynp.js} +18 -18
- package/dist/chunks/{websearch-bwfq55w2.js → location-service-map-f9anq697.js} +12 -12
- package/dist/chunks/{websearch-z78tg67p.js → location-service-map-famd3pv6.js} +5 -5
- package/dist/chunks/{websearch-059sa96c.js → location-service-map-fc4te2qx.js} +33 -33
- package/dist/chunks/{websearch-n3c15ckr.js → location-service-map-fj8p536s.js} +10 -10
- package/dist/chunks/{websearch-fm2qvscf.js → location-service-map-fm2qvscf.js} +1 -1
- package/dist/chunks/{websearch-fxbjtjnd.js → location-service-map-fxbjtjnd.js} +1 -1
- package/dist/chunks/{websearch-fxypknc8.js → location-service-map-fxypknc8.js} +1 -1
- package/dist/chunks/{websearch-mapcj911.js → location-service-map-g1aevtqk.js} +3 -3
- package/dist/chunks/{websearch-hrvm11jt.js → location-service-map-g2dy4bvs.js} +3 -3
- package/dist/chunks/{websearch-d72308c8.js → location-service-map-g2gt0w0k.js} +2 -2
- package/dist/chunks/{websearch-67m4hsxs.js → location-service-map-g6h5r72d.js} +14 -14
- package/dist/chunks/location-service-map-gcd54713.js +243 -0
- package/dist/chunks/{websearch-4zfpe0bk.js → location-service-map-gcm21zry.js} +5 -5
- package/dist/chunks/{websearch-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{websearch-brmqp0an.js → location-service-map-ghrf58bv.js} +3 -3
- package/dist/chunks/{websearch-tbwfdm3w.js → location-service-map-gs3xgpdk.js} +24 -24
- package/dist/chunks/{websearch-21bc1bxn.js → location-service-map-h0wwysn1.js} +6 -6
- package/dist/chunks/{websearch-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{websearch-m3fm0fm8.js → location-service-map-h722e297.js} +5 -5
- package/dist/chunks/{websearch-8nfjm8ym.js → location-service-map-h9gn2f9p.js} +3 -3
- package/dist/chunks/{websearch-heyhwy2w.js → location-service-map-heyhwy2w.js} +1 -1
- package/dist/chunks/{websearch-a6d7kq3n.js → location-service-map-hj2634nk.js} +13 -13
- package/dist/chunks/{websearch-hpj7r8kk.js → location-service-map-hppvak6g.js} +10 -10
- package/dist/chunks/{websearch-kzbv1s9x.js → location-service-map-hscbfyyz.js} +24 -24
- package/dist/chunks/{websearch-kvsjn1dr.js → location-service-map-hw4pv20g.js} +2 -2
- package/dist/chunks/{websearch-gn5v3dt0.js → location-service-map-j11c8bcb.js} +7 -7
- package/dist/chunks/{websearch-h3prm5xq.js → location-service-map-j7a4wd22.js} +5 -5
- package/dist/chunks/{websearch-ve4pfa0n.js → location-service-map-j83byb14.js} +4 -4
- package/dist/chunks/{websearch-5qd3pb7m.js → location-service-map-j935v87r.js} +2 -2
- package/dist/chunks/{websearch-pdbs02xq.js → location-service-map-jcyemy94.js} +4 -4
- package/dist/chunks/{websearch-bphmvjfp.js → location-service-map-je9hks3h.js} +5 -5
- package/dist/chunks/{websearch-96mnj2h8.js → location-service-map-jfw3kf1b.js} +3 -3
- package/dist/chunks/{websearch-aa10cqvs.js → location-service-map-jp6616f9.js} +33 -33
- package/dist/chunks/{websearch-nmpk57xe.js → location-service-map-jtj621ma.js} +27 -27
- package/dist/chunks/{websearch-3e86n9es.js → location-service-map-jwjcxa6n.js} +6 -6
- package/dist/chunks/{websearch-k4bwy1x5.js → location-service-map-k4bwy1x5.js} +1 -1
- package/dist/chunks/{websearch-qc1epm8y.js → location-service-map-k5ffr7xx.js} +32 -32
- package/dist/chunks/{websearch-5zec3rsz.js → location-service-map-k66gpt8e.js} +9 -9
- package/dist/chunks/{websearch-tdpndm1c.js → location-service-map-kbj2dgab.js} +5 -5
- package/dist/chunks/{websearch-a2thck7t.js → location-service-map-ke05zhk0.js} +2 -2
- package/dist/chunks/{websearch-kg06axw8.js → location-service-map-kg06axw8.js} +1 -1
- package/dist/chunks/{websearch-f10xmzzm.js → location-service-map-kq5mhh51.js} +4 -4
- package/dist/chunks/{websearch-67ze60yh.js → location-service-map-kxd4d1qq.js} +19 -19
- package/dist/chunks/{websearch-rp8jz6x1.js → location-service-map-kxpygcw9.js} +4 -4
- package/dist/chunks/{websearch-bpnz08mb.js → location-service-map-m3550wrf.js} +2 -2
- package/dist/chunks/{websearch-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-cfg4kwee.js → location-service-map-mb2ptk3w.js} +12 -12
- package/dist/chunks/{websearch-k5xmxedw.js → location-service-map-mdszqj5g.js} +11 -11
- package/dist/chunks/{websearch-7pdw0qrk.js → location-service-map-mfpr5wn0.js} +14 -14
- package/dist/chunks/{websearch-9g3rhs35.js → location-service-map-mmzenv5f.js} +3 -3
- package/dist/chunks/location-service-map-myp2dgmc.js +450 -0
- package/dist/chunks/{websearch-m5p45e9n.js → location-service-map-n2armzsq.js} +19 -19
- package/dist/chunks/{websearch-tkz73wwa.js → location-service-map-n3bm393f.js} +17 -17
- package/dist/chunks/{websearch-ddt2bs9e.js → location-service-map-n3jkd22a.js} +4 -4
- package/dist/chunks/{websearch-ync0834v.js → location-service-map-nb3jjt8c.js} +19 -19
- package/dist/chunks/{websearch-250kwjtq.js → location-service-map-nf72w2gp.js} +13 -13
- package/dist/chunks/{websearch-1h561g3c.js → location-service-map-nmgddbg4.js} +8 -8
- package/dist/chunks/{websearch-ytcbjck8.js → location-service-map-nrz5c8c1.js} +9 -9
- package/dist/chunks/{websearch-nv1mfemk.js → location-service-map-nv1mfemk.js} +1 -1
- package/dist/chunks/{websearch-4fw0d0a7.js → location-service-map-p7jcs0js.js} +29 -29
- package/dist/chunks/location-service-map-p7y3scfn.js +22 -0
- package/dist/chunks/{websearch-3wa8602p.js → location-service-map-pdk6wt6a.js} +36 -36
- package/dist/chunks/{websearch-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{websearch-fk6t0npy.js → location-service-map-pk5y9xd5.js} +42 -42
- package/dist/chunks/{websearch-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-2s6shf28.js → location-service-map-pm6epfys.js} +33 -33
- package/dist/chunks/{websearch-cc7e89c2.js → location-service-map-ppwb7q83.js} +39 -39
- package/dist/chunks/{websearch-tknjtqgf.js → location-service-map-q5dwep56.js} +24 -24
- package/dist/chunks/{websearch-6ey98fp9.js → location-service-map-q5zqwhwk.js} +20 -20
- package/dist/chunks/{websearch-tw8cp5tf.js → location-service-map-q6ypvj74.js} +10 -10
- package/dist/chunks/{websearch-yab53grx.js → location-service-map-q7b231kb.js} +14 -14
- package/dist/chunks/{websearch-cmbqfntm.js → location-service-map-qq8x5mwt.js} +4 -4
- package/dist/chunks/{websearch-1qcdvn9t.js → location-service-map-qs3x3ax8.js} +6 -6
- package/dist/chunks/{websearch-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{websearch-9qm9egsn.js → location-service-map-qvbcabdc.js} +2 -2
- package/dist/chunks/{websearch-6qcf70st.js → location-service-map-r2rvrjw1.js} +15 -15
- package/dist/chunks/{websearch-91xne3r9.js → location-service-map-r2ty9qa9.js} +20 -20
- package/dist/chunks/{websearch-r8dhm0tv.js → location-service-map-r8dhm0tv.js} +1 -1
- package/dist/chunks/{websearch-fhwfpnm9.js → location-service-map-r9n9aa8b.js} +2 -2
- package/dist/chunks/{websearch-884smcwt.js → location-service-map-rb9628vc.js} +13 -13
- package/dist/chunks/{websearch-js83qjry.js → location-service-map-re9ss62v.js} +4 -4
- package/dist/chunks/{websearch-b1r3cp4z.js → location-service-map-rvn46zq7.js} +9 -9
- package/dist/chunks/{websearch-erehw21k.js → location-service-map-s86vjgsv.js} +6 -6
- package/dist/chunks/{websearch-sba4qhjf.js → location-service-map-sba4qhjf.js} +1 -1
- package/dist/chunks/{websearch-936y82n7.js → location-service-map-sms1b131.js} +1 -1
- package/dist/chunks/{websearch-sqm8p044.js → location-service-map-sp82xb14.js} +10 -10
- package/dist/chunks/{websearch-vwkd659g.js → location-service-map-ssvfzqqs.js} +6 -6
- package/dist/chunks/{websearch-x9nzy2fr.js → location-service-map-stk731w5.js} +22 -22
- package/dist/chunks/{websearch-249h8t4y.js → location-service-map-t0bb3yqr.js} +5 -5
- package/dist/chunks/{websearch-aaykp5pt.js → location-service-map-t4es3k9e.js} +9 -9
- package/dist/chunks/{websearch-aatb1gkh.js → location-service-map-t56srm0g.js} +20 -20
- package/dist/chunks/{websearch-2xqth09t.js → location-service-map-t7zyqk2f.js} +30 -30
- package/dist/chunks/{websearch-r66vmz5t.js → location-service-map-tastsmxx.js} +4 -4
- package/dist/chunks/{websearch-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{websearch-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
- package/dist/chunks/{websearch-n85eh5f8.js → location-service-map-teqpbs12.js} +8 -8
- package/dist/chunks/{websearch-wc8kmp1w.js → location-service-map-thcxaxg6.js} +4 -4
- package/dist/chunks/{websearch-tjykrgmx.js → location-service-map-tjykrgmx.js} +1 -1
- package/dist/chunks/{websearch-j0nsd3fp.js → location-service-map-tn07jwq3.js} +15 -15
- package/dist/chunks/{websearch-4rn4xbh4.js → location-service-map-tn8yk0pq.js} +17 -17
- package/dist/chunks/{websearch-tppvcy65.js → location-service-map-tppvcy65.js} +2 -2
- package/dist/chunks/{websearch-1rpvqfzx.js → location-service-map-tr4nj3rx.js} +9 -9
- package/dist/chunks/{websearch-7q1ydfca.js → location-service-map-v483pfss.js} +18 -18
- package/dist/chunks/{websearch-facztfwm.js → location-service-map-v8zfzxah.js} +20 -20
- package/dist/chunks/{websearch-6ge14e5r.js → location-service-map-vban0v2p.js} +11 -11
- package/dist/chunks/{websearch-jzkvqh9p.js → location-service-map-vd1wcwj1.js} +32 -32
- package/dist/chunks/{websearch-57e9kj2e.js → location-service-map-vm6eapw1.js} +23 -23
- package/dist/chunks/{websearch-3b1a8v26.js → location-service-map-vmzwzyq9.js} +8 -8
- package/dist/chunks/{websearch-1m8xsxst.js → location-service-map-vp9200sn.js} +13 -13
- package/dist/chunks/{websearch-421zmedr.js → location-service-map-w0dw5pyz.js} +24 -24
- package/dist/chunks/{websearch-w0k1he6w.js → location-service-map-w0k1he6w.js} +2 -2
- package/dist/chunks/{websearch-pa1pwwcr.js → location-service-map-w2atbtse.js} +15 -15
- package/dist/chunks/{websearch-6z5bwd8g.js → location-service-map-w3jym6ha.js} +6 -6
- package/dist/chunks/{websearch-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-36mzbjn4.js → location-service-map-w4600456.js} +4 -4
- package/dist/chunks/{websearch-mecacsc0.js → location-service-map-w7762vkv.js} +23 -23
- package/dist/chunks/{websearch-vypc1q0c.js → location-service-map-wb07f7wp.js} +68 -68
- package/dist/chunks/{websearch-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-6s9akg99.js → location-service-map-wfcdh4fk.js} +23 -23
- package/dist/chunks/{websearch-9qnmcbqm.js → location-service-map-whq2yqqr.js} +11 -11
- package/dist/chunks/{websearch-w4sqx5c2.js → location-service-map-wyynzqxe.js} +33 -33
- package/dist/chunks/{websearch-07p4y6pt.js → location-service-map-wztj94nr.js} +3 -3
- package/dist/chunks/{websearch-m68cbq3v.js → location-service-map-wzv8aag1.js} +17 -17
- package/dist/chunks/{websearch-x1ezjp6w.js → location-service-map-x1ezjp6w.js} +1 -1
- package/dist/chunks/{websearch-g585tkj2.js → location-service-map-x5hde6ee.js} +4 -4
- package/dist/chunks/{websearch-7bwzkkpq.js → location-service-map-xgk8fqy1.js} +7 -7
- package/dist/chunks/{websearch-3vvm944g.js → location-service-map-xgn4ekx3.js} +20 -20
- package/dist/chunks/{websearch-7h1a19dk.js → location-service-map-xk92akw2.js} +6 -6
- package/dist/chunks/{websearch-zn6m5v1n.js → location-service-map-xqystzyh.js} +28 -28
- package/dist/chunks/{websearch-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{websearch-whzw9s0q.js → location-service-map-y6apgg1j.js} +1 -1
- package/dist/chunks/{websearch-f0nz223j.js → location-service-map-y71avatq.js} +4 -4
- package/dist/chunks/{websearch-bvnrmn8y.js → location-service-map-ycmkc729.js} +15 -15
- package/dist/chunks/{websearch-yfbd16n1.js → location-service-map-yfbd16n1.js} +2 -2
- package/dist/chunks/{websearch-ajtjthsy.js → location-service-map-yg7sb877.js} +2 -2
- package/dist/chunks/{websearch-e3wa6n63.js → location-service-map-ykf1bvva.js} +9 -9
- package/dist/chunks/{websearch-8sjjmapp.js → location-service-map-yqptqahh.js} +12 -12
- package/dist/chunks/{websearch-qm3pvk2k.js → location-service-map-yswn773t.js} +46 -46
- package/dist/chunks/{websearch-7nh0n89y.js → location-service-map-ytf4r5bp.js} +11 -11
- package/dist/chunks/{websearch-56d7g5fj.js → location-service-map-ywb3r1mr.js} +5 -5
- package/dist/chunks/{websearch-z1k01bn4.js → location-service-map-z1k01bn4.js} +2 -2
- package/dist/chunks/{websearch-gdkjhw4h.js → location-service-map-z3h7hm3n.js} +4 -4
- package/dist/chunks/{websearch-nnswkck1.js → location-service-map-z3jc06sm.js} +5 -5
- package/dist/chunks/{websearch-e7gxy7fd.js → location-service-map-z3xgatyd.js} +4 -4
- package/dist/chunks/{websearch-29x78va6.js → location-service-map-z63w68vq.js} +6 -6
- package/dist/chunks/{websearch-77j7wjmd.js → location-service-map-zfvm84h0.js} +28 -28
- package/dist/chunks/{websearch-1drs6s6a.js → location-service-map-zjfngtfk.js} +31 -31
- package/dist/chunks/{websearch-hq6e9b48.js → location-service-map-zptcpcdj.js} +14 -14
- package/dist/chunks/{websearch-rbwftchb.js → location-service-map-zw9170t4.js} +11 -11
- package/dist/chunks/{websearch-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/chunks/{websearch-tdz2d0bf.js → location-service-map-zyp7h3sm.js} +11 -11
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +114 -114
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +114 -114
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +70 -70
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +350 -350
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +70 -70
- package/dist/file-mutation.js +89 -89
- 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 +217 -217
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +98 -98
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +86 -86
- package/dist/git.js +7 -7
- 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 +7 -7
- 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 +1 -1
- package/dist/instance.js +343 -343
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +69 -69
- package/dist/location-activity.js +85 -85
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +344 -344
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +76 -76
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +210 -210
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +316 -316
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +4 -4
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +335 -335
- package/dist/plugin/system-prompt.js +5 -5
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +77 -77
- package/dist/provider.js +5 -5
- 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 +92 -92
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +143 -143
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +213 -213
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +120 -120
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +220 -220
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +205 -205
- 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 +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +80 -80
- 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 +119 -119
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +206 -206
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +100 -100
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +110 -110
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/worktree.d.ts +1 -1
- package/dist/util/error.js +1 -1
- 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 +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +7 -7
- package/dist/chunks/websearch-0p53sjzq.js +0 -243
- package/dist/chunks/websearch-673snps9.js +0 -22
- package/dist/chunks/websearch-e3ze3pba.js +0 -4
- package/dist/chunks/websearch-xpcnf621.js +0 -450
- /package/dist/chunks/{websearch-0fabt78z.js → location-service-map-0fabt78z.js} +0 -0
- /package/dist/chunks/{websearch-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3t738kvx.js → location-service-map-3t738kvx.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-41nvscxy.js → location-service-map-41nvscxy.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-982e01ww.js → location-service-map-982e01ww.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a1tpkmh4.js → location-service-map-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{websearch-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-mntxs535.js → location-service-map-mntxs535.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-p8qxwesx.js → location-service-map-p8qxwesx.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-se0s1eqw.js → location-service-map-se0s1eqw.js} +0 -0
- /package/dist/chunks/{websearch-sk3qaz4a.js → location-service-map-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-twg0f83k.js → location-service-map-twg0f83k.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x1b8g1yb.js → location-service-map-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
- /package/dist/chunks/{websearch-zbjnn3ac.js → location-service-map-zbjnn3ac.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service78,
|
|
3
3
|
node82
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-ycmkc729.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-2402vzrj.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-p8qxwesx.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service69,
|
|
17
|
+
node73
|
|
18
|
+
} from "./location-service-map-7gt4qt3x.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-service-map-kg06axw8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event19,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info27,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service68,
|
|
35
35
|
Source: () => Source5,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node72
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode-ai/schema/reference";
|
|
41
41
|
import { Global } from "@opencode-ai/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event19 } from "@opencode-ai/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source5 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info27 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service68 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service78;
|
|
53
|
+
const cache = yield* Service69;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info27.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info27.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service68.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node72 = makeLocationNode({
|
|
116
|
+
service: Service68,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node82,
|
|
118
|
+
deps: [Global.node, node82, node73]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source5,
|
|
121
|
+
export { LocalSource2, GitSource2, Source5, Info27, Service68, node72, exports_reference2, Event19 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service78,
|
|
6
6
|
node82
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-ycmkc729.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event16,
|
|
10
|
+
Service61,
|
|
11
|
+
node64
|
|
12
|
+
} from "./location-service-map-zjfngtfk.js";
|
|
13
13
|
import {
|
|
14
14
|
Service76,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node80
|
|
16
|
+
} from "./location-service-map-af5vyrpj.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service65,
|
|
19
|
+
node68
|
|
20
|
+
} from "./location-service-map-stk731w5.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID6,
|
|
23
|
+
Service48,
|
|
24
|
+
node50
|
|
25
|
+
} from "./location-service-map-chjptjpy.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-service-map-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID5,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service47,
|
|
34
|
+
node49
|
|
35
|
+
} from "./location-service-map-zfvm84h0.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
45
|
Options: () => Options5,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service41,
|
|
60
60
|
Status: () => Status2,
|
|
61
|
-
Tool: () =>
|
|
61
|
+
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
65
|
configured: () => configured5,
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
66
|
+
layer: () => layer18,
|
|
67
|
+
node: () => node43
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode-ai/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode-ai/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID5.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -91,7 +91,7 @@ class ServerInstructions2 extends Schema.Class("MCP.ServerInstructions")({
|
|
|
91
91
|
}) {
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Tool3 extends Schema.Class("MCP.Tool")({
|
|
95
95
|
server: ServerName2,
|
|
96
96
|
name: Schema.String,
|
|
97
97
|
codemode: Schema.Boolean.pipe(Schema.optional),
|
|
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
147
147
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
148
148
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
149
149
|
|
|
150
|
-
class
|
|
150
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
151
151
|
server: ServerName2
|
|
152
152
|
}) {
|
|
153
153
|
get message() {
|
|
@@ -165,7 +165,7 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service41 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
170
|
var Options5 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -173,13 +173,13 @@ var Options5 = Schema.Struct({
|
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
176
|
+
var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
177
177
|
const location = yield* Service76;
|
|
178
|
-
const environment = yield*
|
|
179
|
-
const bus = yield*
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
178
|
+
const environment = yield* Service65;
|
|
179
|
+
const bus = yield* Service78;
|
|
180
|
+
const forms = yield* Service48;
|
|
181
|
+
const integration = yield* Service47;
|
|
182
|
+
const credentials = yield* Service61;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID5.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -216,7 +216,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
216
216
|
const name = ServerName2.make(server);
|
|
217
217
|
const entry = entries.get(name);
|
|
218
218
|
if (!entry)
|
|
219
|
-
return yield* new
|
|
219
|
+
return yield* new NotFoundError4({ server: name });
|
|
220
220
|
return { name, entry };
|
|
221
221
|
});
|
|
222
222
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -285,7 +285,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
285
285
|
const elicitation = {
|
|
286
286
|
create: (input) => Effect.gen(function* () {
|
|
287
287
|
if (input.params.mode === "url") {
|
|
288
|
-
const formID =
|
|
288
|
+
const formID = ID6.create();
|
|
289
289
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
290
290
|
urlElicitations.set(key, formID);
|
|
291
291
|
return yield* forms.ask({
|
|
@@ -328,7 +328,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
328
328
|
yield* forms.reply({ id: formID, answer: { [URL_ELICITATION_FIELD_KEY]: true } }).pipe(Effect.ignore);
|
|
329
329
|
})
|
|
330
330
|
};
|
|
331
|
-
const toTool = (server, entry, def) => new
|
|
331
|
+
const toTool = (server, entry, def) => new Tool3({
|
|
332
332
|
server,
|
|
333
333
|
name: def.name,
|
|
334
334
|
codemode: entry.config.codemode,
|
|
@@ -403,7 +403,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
403
403
|
entry.scope = scope;
|
|
404
404
|
const authProvider = yield* connectProvider(entry);
|
|
405
405
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
406
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
406
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service65, environment), Scope.provide(scope), Effect.exit);
|
|
407
407
|
if (Exit.isSuccess(result)) {
|
|
408
408
|
entry.client = result.value.connection;
|
|
409
409
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -527,7 +527,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
527
527
|
yield* startServer(name, entry);
|
|
528
528
|
}).pipe(locks.withLock(name));
|
|
529
529
|
});
|
|
530
|
-
fork(bus.subscribe(
|
|
530
|
+
fork(bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
531
531
|
const state = create3({
|
|
532
532
|
name: "mcp",
|
|
533
533
|
initial: () => ({
|
|
@@ -557,7 +557,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
557
557
|
concurrency: "unbounded",
|
|
558
558
|
discard: true
|
|
559
559
|
}));
|
|
560
|
-
return
|
|
560
|
+
return Service41.of({
|
|
561
561
|
transform: state.transform,
|
|
562
562
|
reload: state.reload,
|
|
563
563
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -679,12 +679,12 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
679
679
|
}));
|
|
680
680
|
function configured5(options) {
|
|
681
681
|
return makeLocationNode({
|
|
682
|
-
service:
|
|
683
|
-
layer:
|
|
684
|
-
deps: [
|
|
682
|
+
service: Service41,
|
|
683
|
+
layer: layer18(options),
|
|
684
|
+
deps: [node80, node68, node82, node50, node49, node64]
|
|
685
685
|
});
|
|
686
686
|
}
|
|
687
|
-
var
|
|
687
|
+
var node43 = configured5();
|
|
688
688
|
function toElicitationField(key, property, required) {
|
|
689
689
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
690
690
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -735,4 +735,4 @@ function toElicitationField(key, property, required) {
|
|
|
735
735
|
}
|
|
736
736
|
}
|
|
737
737
|
|
|
738
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2,
|
|
738
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service41, Options5, layer18, configured5, node43, exports_mcp4 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node84
|
|
7
|
+
} from "./location-service-map-9wvrztvm.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
15
|
Service71,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
node75
|
|
17
|
+
} from "./location-service-map-aaf9tk6g.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service69,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node73,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service69 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service80;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
109
|
const kv = yield* Service71;
|
|
110
|
-
return
|
|
110
|
+
return Service69.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node73 = makeGlobalNode({
|
|
171
|
+
service: Service69,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node75]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service69, isError2, validateBranch2, node73, exports_repository_cache };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-k4bwy1x5.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service53,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node55
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service53 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service53.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node55 = makeLocationNode({
|
|
143
|
+
service: Service53,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service53, node55, exports_tool_output2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service76
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-af5vyrpj.js";
|
|
7
7
|
import {
|
|
8
8
|
externalDirectoryPermission2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service16
|
|
10
|
+
} from "./location-service-map-8yx0hnvf.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service57
|
|
13
|
+
} from "./location-service-map-09the3rx.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service11
|
|
16
|
+
} from "./location-service-map-2125gz1e.js";
|
|
17
17
|
import {
|
|
18
18
|
NotFound2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-2a5m3afh.js";
|
|
20
20
|
import {
|
|
21
21
|
MEDIA_MIMES2,
|
|
22
22
|
BinaryFileError2,
|
|
@@ -27,26 +27,26 @@ import {
|
|
|
27
27
|
FileContent2,
|
|
28
28
|
TextPage2,
|
|
29
29
|
ListPage2,
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service12
|
|
31
|
+
} from "./location-service-map-w2atbtse.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/read.ts
|
|
37
37
|
var exports_read = {};
|
|
38
38
|
__export(exports_read, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input8,
|
|
40
|
+
Plugin: () => Plugin38,
|
|
41
41
|
ReadTool: () => exports_read,
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
42
|
+
name: () => name8,
|
|
43
|
+
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { basename, dirname, join } from "path";
|
|
46
46
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
48
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
49
|
-
var
|
|
49
|
+
var name8 = "read";
|
|
50
50
|
var FILENAME = "AGENTS.md";
|
|
51
51
|
var LocationInput = Schema.Struct({
|
|
52
52
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -57,22 +57,22 @@ var LocationInput = Schema.Struct({
|
|
|
57
57
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
58
58
|
})
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var Input8 = LocationInput;
|
|
61
61
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
62
|
-
var
|
|
62
|
+
var Plugin38 = {
|
|
63
63
|
id: "opencode.tool.read",
|
|
64
64
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
65
|
-
const reader = yield*
|
|
66
|
-
const mutation = yield*
|
|
67
|
-
const permission = yield*
|
|
68
|
-
const sessionInstructions = yield*
|
|
65
|
+
const reader = yield* Service12;
|
|
66
|
+
const mutation = yield* Service16;
|
|
67
|
+
const permission = yield* Service57;
|
|
68
|
+
const sessionInstructions = yield* Service11;
|
|
69
69
|
const fs = yield* FSUtil.Service;
|
|
70
70
|
const location = yield* Service76;
|
|
71
71
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
72
|
-
name:
|
|
72
|
+
name: name8,
|
|
73
73
|
options: { codemode: false },
|
|
74
74
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
75
|
-
input:
|
|
75
|
+
input: Input8,
|
|
76
76
|
output: Output,
|
|
77
77
|
execute: (input, context) => {
|
|
78
78
|
return Effect.gen(function* () {
|
|
@@ -90,7 +90,7 @@ var Plugin16 = {
|
|
|
90
90
|
source
|
|
91
91
|
});
|
|
92
92
|
yield* permission.assert({
|
|
93
|
-
action:
|
|
93
|
+
action: name8,
|
|
94
94
|
resources: [target.resource],
|
|
95
95
|
save: ["*"],
|
|
96
96
|
sessionID: context.sessionID,
|
|
@@ -141,7 +141,7 @@ var Plugin16 = {
|
|
|
141
141
|
return { output: result.content, path: result.path };
|
|
142
142
|
}).pipe(Effect.map((result) => ({
|
|
143
143
|
output: result.output,
|
|
144
|
-
content:
|
|
144
|
+
content: toModelContent5(result.path, input.offset, result.output),
|
|
145
145
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
146
146
|
})), Effect.mapError((error) => {
|
|
147
147
|
if (error instanceof ToolFailure)
|
|
@@ -173,7 +173,7 @@ ${suggestions.join(`
|
|
|
173
173
|
});
|
|
174
174
|
})
|
|
175
175
|
};
|
|
176
|
-
var
|
|
176
|
+
var toModelContent5 = (path, offset, output) => {
|
|
177
177
|
if (output.type === "file" && output.encoding === "base64")
|
|
178
178
|
return [
|
|
179
179
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -208,4 +208,4 @@ var toModelContent2 = (path, offset, output) => {
|
|
|
208
208
|
`);
|
|
209
209
|
};
|
|
210
210
|
|
|
211
|
-
export {
|
|
211
|
+
export { name8, Input8, Plugin38, toModelContent5, exports_read };
|