@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,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node84
|
|
6
|
+
} from "./location-service-map-9wvrztvm.js";
|
|
7
7
|
import {
|
|
8
8
|
ID18
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-tppvcy65.js";
|
|
10
10
|
import {
|
|
11
11
|
Slug2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-gebd4c9n.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service79,
|
|
15
15
|
node83
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-q7b231kb.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
Service78,
|
|
19
19
|
node82
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-ycmkc729.js";
|
|
21
21
|
import {
|
|
22
22
|
ProjectTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-qvbcabdc.js";
|
|
24
24
|
import {
|
|
25
25
|
WorktreeTable2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-service-map-yg7sb877.js";
|
|
27
27
|
import {
|
|
28
28
|
Service76,
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
node80
|
|
30
|
+
} from "./location-service-map-af5vyrpj.js";
|
|
31
31
|
import {
|
|
32
32
|
DirectoryUnavailableError2,
|
|
33
33
|
canonical2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-service-map-93a8yfjt.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
make10
|
|
37
|
+
} from "./location-service-map-00wry05e.js";
|
|
38
38
|
import {
|
|
39
39
|
__export
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
41
41
|
|
|
42
42
|
// src/worktree.ts
|
|
43
43
|
var exports_worktree = {};
|
|
@@ -46,21 +46,21 @@ __export(exports_worktree, {
|
|
|
46
46
|
DestinationExistsError: () => DestinationExistsError2,
|
|
47
47
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
48
48
|
DuplicateStrategyError: () => DuplicateStrategyError2,
|
|
49
|
-
Event: () =>
|
|
50
|
-
Info: () =>
|
|
49
|
+
Event: () => Event2,
|
|
50
|
+
Info: () => Info2,
|
|
51
51
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
52
52
|
List: () => List2,
|
|
53
53
|
ListEntry: () => ListEntry3,
|
|
54
|
-
ListInput: () =>
|
|
54
|
+
ListInput: () => ListInput2,
|
|
55
55
|
RefreshInput: () => RefreshInput2,
|
|
56
56
|
RefreshResult: () => RefreshResult2,
|
|
57
57
|
RemoveInput: () => RemoveInput2,
|
|
58
|
-
Service: () =>
|
|
58
|
+
Service: () => Service13,
|
|
59
59
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
60
60
|
StrategyID: () => StrategyID2,
|
|
61
61
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
62
62
|
Worktree: () => exports_worktree,
|
|
63
|
-
node: () =>
|
|
63
|
+
node: () => node15,
|
|
64
64
|
refreshAfterBoot: () => refreshAfterBoot2,
|
|
65
65
|
refreshNode: () => refreshNode2
|
|
66
66
|
});
|
|
@@ -68,6 +68,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
68
68
|
import { and, asc, desc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
69
69
|
import path from "path";
|
|
70
70
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
71
|
+
import { Global } from "@opencode-ai/util/global";
|
|
71
72
|
import { makeGlobalNode, makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
72
73
|
import { Worktree } from "@opencode-ai/schema/worktree";
|
|
73
74
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
@@ -82,8 +83,8 @@ var RefreshResult2 = Schema.Struct({
|
|
|
82
83
|
updated: Schema.Array(AbsolutePath2),
|
|
83
84
|
removed: Schema.Array(AbsolutePath2)
|
|
84
85
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
86
|
-
var
|
|
86
|
+
var Info2 = Worktree.Info;
|
|
87
|
+
var ListInput2 = Worktree.ListInput;
|
|
87
88
|
var List2 = Worktree.List;
|
|
88
89
|
var ListEntry3 = Schema.Struct({
|
|
89
90
|
directory: AbsolutePath2,
|
|
@@ -104,13 +105,13 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
104
105
|
|
|
105
106
|
class DuplicateStrategyError2 extends Schema.TaggedError()("Worktree.DuplicateStrategyError", { strategy: StrategyID2 }) {
|
|
106
107
|
}
|
|
107
|
-
var
|
|
108
|
+
var Event2 = Worktree.Event;
|
|
108
109
|
|
|
109
|
-
class
|
|
110
|
+
class Service13 extends Context.Service()("@opencode/v2/Worktree") {
|
|
110
111
|
}
|
|
111
112
|
var refreshAfterBoot2 = Effect.gen(function* () {
|
|
112
113
|
const location = yield* Service76;
|
|
113
|
-
const worktrees = yield*
|
|
114
|
+
const worktrees = yield* Service13;
|
|
114
115
|
yield* Effect.gen(function* () {
|
|
115
116
|
yield* Effect.logInfo("worktree refresh started", { projectID: location.project.id });
|
|
116
117
|
const result = yield* worktrees.refresh({ projectID: location.project.id });
|
|
@@ -121,14 +122,15 @@ var refreshAfterBoot2 = Effect.gen(function* () {
|
|
|
121
122
|
});
|
|
122
123
|
}).pipe(Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped, Effect.asVoid);
|
|
123
124
|
});
|
|
124
|
-
var layer = Layer.effect(
|
|
125
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
125
126
|
const fs = yield* FSUtil.Service;
|
|
126
|
-
const
|
|
127
|
-
const
|
|
127
|
+
const global = yield* Global.Service;
|
|
128
|
+
const db = (yield* Service79).db;
|
|
129
|
+
const bus = yield* Service78;
|
|
128
130
|
const processService = yield* AppProcess.Service;
|
|
129
131
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
130
132
|
if (update)
|
|
131
|
-
yield* bus.publish(
|
|
133
|
+
yield* bus.publish(Event2.Updated, { projectID });
|
|
132
134
|
});
|
|
133
135
|
const ops = {
|
|
134
136
|
list: Effect.fn("Worktree.list")(function* (projectID) {
|
|
@@ -155,7 +157,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
155
157
|
return yield* new DuplicateStrategyError2({ strategy: strategy.id });
|
|
156
158
|
registry.set(strategy.id, strategy);
|
|
157
159
|
});
|
|
158
|
-
const gitStrategy = yield*
|
|
160
|
+
const gitStrategy = yield* make10;
|
|
159
161
|
yield* register(gitStrategy).pipe(Effect.orDie);
|
|
160
162
|
const source = Effect.fnUntraced(function* (input, projectID) {
|
|
161
163
|
const sourceDirectory = input ?? (yield* ops.primary(projectID))?.directory;
|
|
@@ -175,15 +177,16 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
175
177
|
const create = Effect.fn("Worktree.create")(function* (input) {
|
|
176
178
|
const selected = yield* getStrategy(input.strategy);
|
|
177
179
|
const sourceDirectory = yield* source(input.from, input.projectID);
|
|
178
|
-
|
|
180
|
+
const directory = input.directory ?? path.join(global.data, "worktree", input.projectID.slice(0, 6));
|
|
181
|
+
yield* fs.makeDirectory(directory, { recursive: true }).pipe(Effect.orDie);
|
|
179
182
|
const name = input.name ?? Slug2.create();
|
|
180
183
|
let suffix = 1;
|
|
181
|
-
let worktreeDirectory = AbsolutePath2.make(path.join(
|
|
184
|
+
let worktreeDirectory = AbsolutePath2.make(path.join(directory, name));
|
|
182
185
|
while (yield* fs.existsSafe(worktreeDirectory)) {
|
|
183
186
|
suffix++;
|
|
184
187
|
if (suffix > 10)
|
|
185
188
|
return yield* new DestinationExistsError2({ directory: worktreeDirectory });
|
|
186
|
-
worktreeDirectory = AbsolutePath2.make(path.join(
|
|
189
|
+
worktreeDirectory = AbsolutePath2.make(path.join(directory, `${name}-${suffix}`));
|
|
187
190
|
}
|
|
188
191
|
const result = yield* selected.create({
|
|
189
192
|
directory: worktreeDirectory,
|
|
@@ -244,7 +247,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
244
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
245
248
|
return changes;
|
|
246
249
|
});
|
|
247
|
-
return
|
|
250
|
+
return Service13.of({
|
|
248
251
|
register,
|
|
249
252
|
list: ops.list,
|
|
250
253
|
create,
|
|
@@ -252,15 +255,15 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
252
255
|
refresh
|
|
253
256
|
});
|
|
254
257
|
}));
|
|
255
|
-
var
|
|
256
|
-
service:
|
|
258
|
+
var node15 = makeGlobalNode({
|
|
259
|
+
service: Service13,
|
|
257
260
|
layer,
|
|
258
|
-
deps: [FSUtil.node,
|
|
261
|
+
deps: [FSUtil.node, Global.node, node84, node82, node83, AppProcess.node]
|
|
259
262
|
});
|
|
260
263
|
var refreshNode2 = makeLocationNode({
|
|
261
264
|
name: "worktree-refresh",
|
|
262
265
|
layer: Layer.effectDiscard(refreshAfterBoot2),
|
|
263
|
-
deps: [
|
|
266
|
+
deps: [node15, node80]
|
|
264
267
|
});
|
|
265
268
|
|
|
266
|
-
export { StrategyID2, CreateInput2, RemoveInput2, RefreshInput2, RefreshResult2,
|
|
269
|
+
export { StrategyID2, CreateInput2, RemoveInput2, RefreshInput2, RefreshResult2, Info2, ListInput2, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, DuplicateStrategyError2, Event2, Service13, refreshAfterBoot2, node15, refreshNode2, exports_worktree };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID15
|
|
3
|
+
} from "./location-service-map-f9anq697.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./location-service-map-40mdf54f.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-260gz6t8.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service54;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
catalog.model.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID15.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make6();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make6, VLLMPlugin2 };
|
|
@@ -2,46 +2,46 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
Service76
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-af5vyrpj.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service65
|
|
11
|
+
} from "./location-service-map-stk731w5.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service15
|
|
14
|
+
} from "./location-service-map-07sg0667.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service14,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-hj2634nk.js";
|
|
20
20
|
import {
|
|
21
21
|
externalDirectoryPermission2,
|
|
22
22
|
resolvePath2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service16
|
|
24
|
+
} from "./location-service-map-8yx0hnvf.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service57
|
|
27
|
+
} from "./location-service-map-09the3rx.js";
|
|
28
28
|
import {
|
|
29
29
|
fileDiff2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-service-map-6prwharc.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/patch.ts
|
|
36
36
|
var exports_patch = {};
|
|
37
37
|
__export(exports_patch, {
|
|
38
38
|
Applied: () => Applied2,
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
39
|
+
Input: () => Input5,
|
|
40
|
+
Output: () => Output5,
|
|
41
41
|
PatchTool: () => exports_patch,
|
|
42
|
-
Plugin: () =>
|
|
43
|
-
name: () =>
|
|
44
|
-
toModelContent: () =>
|
|
42
|
+
Plugin: () => Plugin35,
|
|
43
|
+
name: () => name5,
|
|
44
|
+
toModelContent: () => toModelContent4
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
47
47
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
@@ -86,8 +86,8 @@ It is important to remember:
|
|
|
86
86
|
`;
|
|
87
87
|
|
|
88
88
|
// src/tool/plugin/patch.ts
|
|
89
|
-
var
|
|
90
|
-
var
|
|
89
|
+
var name5 = "patch";
|
|
90
|
+
var Input5 = Schema.Struct({
|
|
91
91
|
patchText: Schema.String.annotate({
|
|
92
92
|
description: "The full patch text describing add, update, and delete operations"
|
|
93
93
|
})
|
|
@@ -97,30 +97,30 @@ var Applied2 = Schema.Struct({
|
|
|
97
97
|
resource: Schema.String,
|
|
98
98
|
target: Schema.String
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Output5 = Schema.Struct({
|
|
101
101
|
applied: Schema.Array(Applied2),
|
|
102
102
|
files: Schema.Array(FileDiff.Info)
|
|
103
103
|
});
|
|
104
|
-
var
|
|
104
|
+
var toModelContent4 = (output) => [
|
|
105
105
|
"Success. Updated the following files:",
|
|
106
106
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
107
107
|
].join(`
|
|
108
108
|
`);
|
|
109
|
-
var
|
|
109
|
+
var Plugin35 = {
|
|
110
110
|
id: "opencode.tool.patch",
|
|
111
111
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
112
|
-
const environment = yield*
|
|
113
|
-
const mutation = yield*
|
|
114
|
-
const fileMutation = yield*
|
|
115
|
-
const formatter = yield*
|
|
112
|
+
const environment = yield* Service65;
|
|
113
|
+
const mutation = yield* Service16;
|
|
114
|
+
const fileMutation = yield* Service14;
|
|
115
|
+
const formatter = yield* Service15;
|
|
116
116
|
const location = yield* Service76;
|
|
117
|
-
const permission = yield*
|
|
117
|
+
const permission = yield* Service57;
|
|
118
118
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
119
|
-
name:
|
|
119
|
+
name: name5,
|
|
120
120
|
options: { codemode: false, permission: "edit" },
|
|
121
121
|
description: patch_default,
|
|
122
|
-
input:
|
|
123
|
-
output:
|
|
122
|
+
input: Input5,
|
|
123
|
+
output: Output5,
|
|
124
124
|
execute: (input, context) => {
|
|
125
125
|
const applied = [];
|
|
126
126
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -273,7 +273,7 @@ var Plugin27 = {
|
|
|
273
273
|
return { applied, files };
|
|
274
274
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
275
275
|
output,
|
|
276
|
-
content:
|
|
276
|
+
content: toModelContent4(output),
|
|
277
277
|
metadata: { files: output.files }
|
|
278
278
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
279
279
|
}
|
|
@@ -330,4 +330,4 @@ function trimDiff(diff) {
|
|
|
330
330
|
`);
|
|
331
331
|
}
|
|
332
332
|
|
|
333
|
-
export {
|
|
333
|
+
export { name5, Input5, Applied2, Output5, toModelContent4, Plugin35, exports_patch };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make8(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make8 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service78,
|
|
3
3
|
node82
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-ycmkc729.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node80
|
|
8
|
+
} from "./location-service-map-af5vyrpj.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-service-map-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info26,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service67,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node71
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode-ai/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info26, Mode as Mode2 } from "@opencode-ai/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode-ai/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service67 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const location = yield* Service76;
|
|
53
|
-
const bus = yield*
|
|
53
|
+
const bus = yield* Service78;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
56
56
|
const vcs = location.vcs;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info26));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
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 }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service67.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node71 = makeLocationNode({
|
|
165
|
+
service: Service67,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node80, node82]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info26, Mode2, DiffError2, Service67, node71, exports_vcs };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-zyp7h3sm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./location-service-map-ycmkc729.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./location-service-map-zjfngtfk.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID5,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-zfvm84h0.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID16,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-bve5bdy4.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID5.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID5.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -159,10 +159,10 @@ var headless = (app) => ({
|
|
|
159
159
|
}),
|
|
160
160
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var OpenAIPlugin3 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service78;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.catalog.transform((evt) => {
|
|
181
|
-
const item = evt.provider.get(
|
|
181
|
+
const item = evt.provider.get(ID16.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
for (const model of item.models.values()) {
|
|
@@ -218,9 +218,9 @@ var OpenAIPlugin2 = define({
|
|
|
218
218
|
evt.baseURL = codexBaseURL;
|
|
219
219
|
evt.headers.originator = "opencode";
|
|
220
220
|
evt.headers["session-id"] = evt.sessionID;
|
|
221
|
-
}), { providerID:
|
|
221
|
+
}), { providerID: ID16.openai });
|
|
222
222
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
223
|
-
yield* bus.subscribe(
|
|
223
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID5.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
224
224
|
})
|
|
225
225
|
});
|
|
226
226
|
function headers(contentType, app) {
|
|
@@ -311,4 +311,4 @@ function claim(token) {
|
|
|
311
311
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
312
312
|
}
|
|
313
313
|
|
|
314
|
-
export {
|
|
314
|
+
export { OpenAIPlugin3 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID16
|
|
3
|
+
} from "./location-service-map-bve5bdy4.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/model.ts
|
|
9
9
|
var exports_model2 = {};
|
|
@@ -12,25 +12,25 @@ __export(exports_model2, {
|
|
|
12
12
|
Compatibility: () => Compatibility2,
|
|
13
13
|
Cost: () => Cost2,
|
|
14
14
|
Family: () => Family2,
|
|
15
|
-
ID: () =>
|
|
16
|
-
Info: () =>
|
|
15
|
+
ID: () => ID15,
|
|
16
|
+
Info: () => Info29,
|
|
17
17
|
Model: () => exports_model2,
|
|
18
18
|
ReasoningField: () => ReasoningField2,
|
|
19
|
-
Ref: () =>
|
|
19
|
+
Ref: () => Ref4,
|
|
20
20
|
VariantID: () => VariantID2,
|
|
21
21
|
compatibility: () => compatibility2,
|
|
22
22
|
parse: () => parse5
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode-ai/schema/model";
|
|
25
|
-
var
|
|
25
|
+
var ID15 = Model.ID;
|
|
26
26
|
var VariantID2 = Model.VariantID;
|
|
27
27
|
var Family2 = Model.Family;
|
|
28
28
|
var ReasoningField2 = Model.ReasoningField;
|
|
29
29
|
var Compatibility2 = Model.Compatibility;
|
|
30
30
|
var Capabilities2 = Model.Capabilities;
|
|
31
31
|
var Cost2 = Model.Cost;
|
|
32
|
-
var
|
|
33
|
-
var
|
|
32
|
+
var Ref4 = Model.Ref;
|
|
33
|
+
var Info29 = Model.Info;
|
|
34
34
|
function compatibility2(input) {
|
|
35
35
|
if (typeof input === "string")
|
|
36
36
|
return { reasoningField: input };
|
|
@@ -41,9 +41,9 @@ function compatibility2(input) {
|
|
|
41
41
|
function parse5(input) {
|
|
42
42
|
const index = input.indexOf("/");
|
|
43
43
|
return {
|
|
44
|
-
providerID:
|
|
45
|
-
modelID:
|
|
44
|
+
providerID: ID16.make(index === -1 ? input : input.slice(0, index)),
|
|
45
|
+
modelID: ID15.make(index === -1 ? "" : input.slice(index + 1))
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { ID15, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref4, Info29, compatibility2, parse5, exports_model2 };
|