@opencode/core 0.0.0-dev-19382 → 0.0.0-dev-19384
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{persistent-pty-eaj1djv9.js → model-resolver-02nrjc1r.js} +4 -4
- package/dist/chunks/{persistent-pty-kr9sgtgf.js → model-resolver-0a57wjjf.js} +6 -6
- package/dist/chunks/{persistent-pty-nqnxh7mc.js → model-resolver-0ft9cg2j.js} +6 -6
- package/dist/chunks/{persistent-pty-1w52t0mb.js → model-resolver-0p99qez5.js} +35 -35
- package/dist/chunks/{persistent-pty-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
- package/dist/chunks/{persistent-pty-jefma2gq.js → model-resolver-0wrbff2f.js} +10 -10
- package/dist/chunks/{persistent-pty-zw3btwk7.js → model-resolver-10zhb9cj.js} +16 -16
- package/dist/chunks/{persistent-pty-jj63jgrn.js → model-resolver-121k57vw.js} +4 -4
- package/dist/chunks/{persistent-pty-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-1dfhrqqs.js → model-resolver-1eyaby9q.js} +9 -3
- package/dist/chunks/{persistent-pty-3mbmw1sq.js → model-resolver-1g817pcs.js} +33 -33
- package/dist/chunks/{persistent-pty-w1k39n5e.js → model-resolver-1hc11dc4.js} +4 -4
- package/dist/chunks/{persistent-pty-kh3ehkc0.js → model-resolver-1pjc74g1.js} +4 -4
- package/dist/chunks/{persistent-pty-pg5p62yz.js → model-resolver-1r8xap2c.js} +52 -52
- package/dist/chunks/{persistent-pty-c2hefdhc.js → model-resolver-1y2x0aqg.js} +15 -15
- package/dist/chunks/{persistent-pty-203e24v7.js → model-resolver-20fjk41b.js} +11 -11
- package/dist/chunks/{persistent-pty-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-f3ymaypt.js → model-resolver-266ddf5t.js} +82 -82
- package/dist/chunks/{persistent-pty-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-4gh75n31.js → model-resolver-2bhdwkz4.js} +36 -36
- package/dist/chunks/{persistent-pty-v397qx2x.js → model-resolver-2c9abtxg.js} +8 -8
- package/dist/chunks/{persistent-pty-4v5j83by.js → model-resolver-2de4jeeq.js} +15 -15
- package/dist/chunks/{persistent-pty-3w0fmcng.js → model-resolver-2f0bjgcj.js} +5 -5
- package/dist/chunks/{persistent-pty-2dqdz844.js → model-resolver-2neek4c8.js} +22 -22
- package/dist/chunks/{persistent-pty-3rn9y9mm.js → model-resolver-2qjqjmaw.js} +9 -9
- package/dist/chunks/{persistent-pty-q0a6gzyv.js → model-resolver-2szxs6c7.js} +4 -4
- package/dist/chunks/{persistent-pty-jnmqjdkf.js → model-resolver-2wyjv582.js} +4 -4
- package/dist/chunks/{persistent-pty-sznf9k39.js → model-resolver-32sr25b2.js} +6 -6
- package/dist/chunks/{persistent-pty-d2eaxeas.js → model-resolver-32yfgjtf.js} +6 -6
- package/dist/chunks/{persistent-pty-hm87teft.js → model-resolver-341vskh0.js} +31 -31
- package/dist/chunks/{persistent-pty-f2ew84cp.js → model-resolver-34gkz9wj.js} +4 -4
- package/dist/chunks/{persistent-pty-xcz8yps6.js → model-resolver-394mryvr.js} +11 -11
- package/dist/chunks/{persistent-pty-vmbc9md7.js → model-resolver-3axs0qpa.js} +9 -9
- package/dist/chunks/{persistent-pty-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-rfnzy394.js → model-resolver-3q1jyqhd.js} +1 -1
- package/dist/chunks/{persistent-pty-h9gezfnd.js → model-resolver-3rr3nb8h.js} +7 -7
- package/dist/chunks/{persistent-pty-5bkegwna.js → model-resolver-3sexfajv.js} +3 -3
- package/dist/chunks/{persistent-pty-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-00mqm9kf.js → model-resolver-3y2vzd8j.js} +1 -1
- package/dist/chunks/{persistent-pty-wzgex4pb.js → model-resolver-412kwdx9.js} +33 -29
- package/dist/chunks/{persistent-pty-hjt4xg1x.js → model-resolver-47gsdddb.js} +7 -7
- package/dist/chunks/{persistent-pty-4066mr2m.js → model-resolver-4am1wjpn.js} +1 -1
- package/dist/chunks/{persistent-pty-nxb1d4ft.js → model-resolver-4bbwdacz.js} +44 -44
- package/dist/chunks/{persistent-pty-0cxbqrwq.js → model-resolver-4gd74qvs.js} +6 -6
- package/dist/chunks/{persistent-pty-a9dg8arj.js → model-resolver-4h6za3g8.js} +11 -11
- package/dist/chunks/{persistent-pty-bq15f1dj.js → model-resolver-4p59xbax.js} +11 -11
- package/dist/chunks/{persistent-pty-xfwn3bvs.js → model-resolver-54n99x85.js} +27 -27
- package/dist/chunks/{persistent-pty-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-t0x5rdq8.js → model-resolver-5kptn8c0.js} +9 -9
- package/dist/chunks/{persistent-pty-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-jsdanxxx.js → model-resolver-60jadqqn.js} +15 -15
- package/dist/chunks/{persistent-pty-qwkytnft.js → model-resolver-6178vqjw.js} +3 -3
- package/dist/chunks/{persistent-pty-wjhyqx8g.js → model-resolver-62v8g8sf.js} +28 -28
- package/dist/chunks/{persistent-pty-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-rxr84acp.js → model-resolver-6adjmyr0.js} +17 -17
- package/dist/chunks/{persistent-pty-a8w0823b.js → model-resolver-6b99yyvg.js} +11 -11
- package/dist/chunks/{persistent-pty-3xgyx5eq.js → model-resolver-6bpyz9aj.js} +17 -17
- package/dist/chunks/{persistent-pty-2402vzrj.js → model-resolver-6h73sxmp.js} +5 -5
- package/dist/chunks/model-resolver-6kdq0pjd.js +4 -0
- package/dist/chunks/{persistent-pty-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-bqvjxhzq.js → model-resolver-6nxs6bmb.js} +6 -6
- package/dist/chunks/{persistent-pty-sqe88krq.js → model-resolver-6p2e52w0.js} +32 -32
- package/dist/chunks/{persistent-pty-2fnsjhej.js → model-resolver-6q5arvd8.js} +44 -44
- package/dist/chunks/{persistent-pty-8fq8nx20.js → model-resolver-6rsb5r8s.js} +21 -21
- package/dist/chunks/{persistent-pty-egptq5ne.js → model-resolver-6sg55drv.js} +27 -27
- package/dist/chunks/{persistent-pty-71q4at8m.js → model-resolver-71q4at8m.js} +1 -1
- package/dist/chunks/{persistent-pty-380vsvkf.js → model-resolver-754zj9nk.js} +16 -16
- package/dist/chunks/{persistent-pty-vz3schgb.js → model-resolver-77bj7wjf.js} +33 -33
- package/dist/chunks/{persistent-pty-844ef7ks.js → model-resolver-7b15y959.js} +8 -8
- package/dist/chunks/{persistent-pty-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-0tpn3p1b.js → model-resolver-7bzsnhgb.js} +11 -11
- package/dist/chunks/{persistent-pty-qgn6gcr1.js → model-resolver-7dqw4kz8.js} +5 -5
- package/dist/chunks/{persistent-pty-vq1smemt.js → model-resolver-7jhhyt0b.js} +35 -35
- package/dist/chunks/{persistent-pty-496txj22.js → model-resolver-7s3an50r.js} +7 -7
- package/dist/chunks/{persistent-pty-qp5gp8ee.js → model-resolver-7xhxth10.js} +14 -14
- package/dist/chunks/{persistent-pty-bf3rh841.js → model-resolver-7zavcbms.js} +3 -3
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-k4ewzjtn.js → model-resolver-8fqcqt95.js} +2 -2
- package/dist/chunks/{persistent-pty-yp9wmgac.js → model-resolver-8jv093w6.js} +24 -24
- package/dist/chunks/{persistent-pty-e8ne7jhy.js → model-resolver-8n5es00k.js} +13 -13
- package/dist/chunks/{persistent-pty-rr02k77t.js → model-resolver-8nnbah93.js} +4 -4
- package/dist/chunks/{persistent-pty-8p4f9s12.js → model-resolver-8p4f9s12.js} +2 -2
- package/dist/chunks/{persistent-pty-w9nng7hv.js → model-resolver-8q9myf25.js} +6 -6
- package/dist/chunks/{persistent-pty-42mde3pg.js → model-resolver-922arjmq.js} +15 -15
- package/dist/chunks/{persistent-pty-zqsxpf7r.js → model-resolver-964trts7.js} +21 -21
- package/dist/chunks/{persistent-pty-ytcfwrs1.js → model-resolver-9a34e234.js} +13 -13
- package/dist/chunks/{persistent-pty-s3428mxb.js → model-resolver-9km4y146.js} +6 -6
- package/dist/chunks/{persistent-pty-aezrryrs.js → model-resolver-9m7evh4e.js} +16 -16
- package/dist/chunks/{persistent-pty-xbcdabpt.js → model-resolver-9q2j1ek8.js} +23 -23
- package/dist/chunks/{persistent-pty-j7wq2tw5.js → model-resolver-9vs0xtad.js} +3 -3
- package/dist/chunks/{persistent-pty-fyjrpq2n.js → model-resolver-9w6qx4ar.js} +5 -5
- package/dist/chunks/{persistent-pty-h7x6gk14.js → model-resolver-9w6wr46b.js} +28 -28
- package/dist/chunks/{persistent-pty-ydky9c7y.js → model-resolver-a165ysxp.js} +50 -50
- package/dist/chunks/{persistent-pty-a1bz86dw.js → model-resolver-a1bz86dw.js} +3 -3
- package/dist/chunks/{persistent-pty-g5dj6d40.js → model-resolver-a211gggb.js} +20 -20
- package/dist/chunks/model-resolver-a5tg2hvh.js +462 -0
- package/dist/chunks/{persistent-pty-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-k38a9k66.js → model-resolver-abgeen7n.js} +24 -24
- package/dist/chunks/{persistent-pty-8f3c4n8p.js → model-resolver-ahtyeane.js} +46 -46
- package/dist/chunks/{persistent-pty-axp4ehpq.js → model-resolver-ak9msbxp.js} +6 -6
- package/dist/chunks/{persistent-pty-5qkxfyep.js → model-resolver-awaee7qt.js} +6 -6
- package/dist/chunks/{persistent-pty-bw41nzns.js → model-resolver-b4cdxvsz.js} +43 -43
- package/dist/chunks/{persistent-pty-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-qcfsefxz.js → model-resolver-bd9nqr2t.js} +5 -5
- package/dist/chunks/{persistent-pty-4jwxjs78.js → model-resolver-bkqqcfdf.js} +16 -16
- package/dist/chunks/{persistent-pty-sfxpj00y.js → model-resolver-bnfv4bke.js} +10 -10
- package/dist/chunks/{persistent-pty-mq0g1pjt.js → model-resolver-bwc3vdty.js} +10 -10
- package/dist/chunks/{persistent-pty-t69nnh3p.js → model-resolver-c1g6mvbq.js} +6 -6
- package/dist/chunks/{persistent-pty-kn9q0df9.js → model-resolver-c8p7nfbc.js} +81 -81
- package/dist/chunks/{persistent-pty-fgxp3znt.js → model-resolver-cejc3es4.js} +24 -24
- package/dist/chunks/{persistent-pty-cfpkc3c9.js → model-resolver-cfpkc3c9.js} +2 -2
- package/dist/chunks/{persistent-pty-sv2fejnn.js → model-resolver-chtn9pha.js} +30 -30
- package/dist/chunks/{persistent-pty-gpt16vvq.js → model-resolver-cppeb8e9.js} +43 -43
- package/dist/chunks/{persistent-pty-wsg5c7h7.js → model-resolver-cr4v6k8r.js} +22 -22
- package/dist/chunks/{persistent-pty-5gachfgg.js → model-resolver-cwxby6pr.js} +8 -8
- package/dist/chunks/{persistent-pty-c3kepfq8.js → model-resolver-cz2fjc0t.js} +1 -1
- package/dist/chunks/{persistent-pty-ra27perh.js → model-resolver-d7tbmrmr.js} +9 -9
- package/dist/chunks/{persistent-pty-2g1m3br9.js → model-resolver-dcd7yt0v.js} +4 -4
- package/dist/chunks/{persistent-pty-0ccq33vw.js → model-resolver-dn00p2xs.js} +18 -18
- package/dist/chunks/{persistent-pty-c8ada3m6.js → model-resolver-ds30tbjg.js} +7 -7
- package/dist/chunks/{persistent-pty-w5qx82t0.js → model-resolver-dtf70dba.js} +41 -41
- package/dist/chunks/{persistent-pty-djvn5p54.js → model-resolver-dzdf5n0b.js} +15 -15
- package/dist/chunks/{persistent-pty-ab1e930g.js → model-resolver-e23m03bd.js} +28 -28
- package/dist/chunks/{persistent-pty-ejanc1th.js → model-resolver-e592wy5s.js} +13 -13
- package/dist/chunks/{persistent-pty-zm83jvmn.js → model-resolver-ebk7g7ej.js} +16 -16
- package/dist/chunks/{persistent-pty-jyh705nr.js → model-resolver-ee7h6a8j.js} +13 -13
- package/dist/chunks/{persistent-pty-1dnwr72p.js → model-resolver-eg5vnqyk.js} +30 -30
- package/dist/chunks/{persistent-pty-m86bnw2c.js → model-resolver-es1gkq3r.js} +9 -9
- package/dist/chunks/{persistent-pty-1tjg7tvh.js → model-resolver-esj243wz.js} +9 -9
- package/dist/chunks/{persistent-pty-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-f828m53h.js → model-resolver-f828m53h.js} +2 -2
- package/dist/chunks/{persistent-pty-bhkdh15s.js → model-resolver-fc3gg9nv.js} +8 -8
- package/dist/chunks/{persistent-pty-rxpytfvj.js → model-resolver-fmxf2c45.js} +14 -14
- package/dist/chunks/{persistent-pty-8gs24b9n.js → model-resolver-fn61cvhn.js} +18 -18
- package/dist/chunks/{persistent-pty-05xfxpq7.js → model-resolver-fqj9nv8j.js} +8 -8
- package/dist/chunks/{persistent-pty-6p3c3cwj.js → model-resolver-ftxm3p3a.js} +21 -21
- package/dist/chunks/{persistent-pty-5pxstkb3.js → model-resolver-fwfyd8fy.js} +6 -6
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-bha4atvq.js → model-resolver-fxqygnfa.js} +4 -4
- package/dist/chunks/{persistent-pty-psjz8p8b.js → model-resolver-fz4feqya.js} +9 -9
- package/dist/chunks/{persistent-pty-qqgkdyp0.js → model-resolver-g756tth6.js} +9 -9
- package/dist/chunks/{persistent-pty-eq21rbs0.js → model-resolver-g9vkt591.js} +18 -18
- package/dist/chunks/{persistent-pty-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-ssrx42ha.js → model-resolver-gg3hwfv5.js} +24 -24
- package/dist/chunks/{persistent-pty-q31fgcfb.js → model-resolver-gpffk3sd.js} +2 -2
- package/dist/chunks/{persistent-pty-k5ezyj3d.js → model-resolver-grf3440t.js} +27 -27
- package/dist/chunks/{persistent-pty-gdvyk2fc.js → model-resolver-grxcxy9j.js} +8 -8
- package/dist/chunks/{persistent-pty-cpb6a78b.js → model-resolver-gsa0bc7f.js} +27 -27
- package/dist/chunks/{persistent-pty-c53hcw8m.js → model-resolver-gteg2vnc.js} +14 -14
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-h03wrkyp.js → model-resolver-h03wrkyp.js} +2 -2
- package/dist/chunks/{persistent-pty-nbzsj80d.js → model-resolver-h2r7bbkd.js} +8 -8
- package/dist/chunks/{persistent-pty-djc8e50c.js → model-resolver-h3930hs4.js} +11 -11
- package/dist/chunks/{persistent-pty-ttv5kw1x.js → model-resolver-h4rczdf5.js} +14 -14
- package/dist/chunks/{persistent-pty-3nrktzjr.js → model-resolver-h63xhtna.js} +34 -34
- package/dist/chunks/{persistent-pty-xfe2x8na.js → model-resolver-h6693ktv.js} +14 -14
- package/dist/chunks/{persistent-pty-bv56xrks.js → model-resolver-h6nsps6f.js} +8 -8
- package/dist/chunks/{persistent-pty-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-ry6p75md.js → model-resolver-h8b7tcqs.js} +11 -11
- package/dist/chunks/{persistent-pty-r0perv49.js → model-resolver-hcb85x7b.js} +13 -13
- package/dist/chunks/{persistent-pty-xyqew3mv.js → model-resolver-hdn37q54.js} +5 -5
- package/dist/chunks/{persistent-pty-1rx0sgk8.js → model-resolver-hvnwc3gd.js} +9 -9
- package/dist/chunks/{persistent-pty-egy5b1a6.js → model-resolver-hwwca0qh.js} +17 -17
- package/dist/chunks/{persistent-pty-tjhr2e2t.js → model-resolver-hymdpy01.js} +10 -10
- package/dist/chunks/{persistent-pty-zbqm35g7.js → model-resolver-j53p89fq.js} +22 -22
- package/dist/chunks/{persistent-pty-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-br7dekmv.js → model-resolver-jbad0je3.js} +16 -16
- package/dist/chunks/model-resolver-jqh9b0xq.js +18 -0
- package/dist/chunks/{persistent-pty-50mzsvk4.js → model-resolver-jw80jp6b.js} +4 -4
- package/dist/chunks/{persistent-pty-2ht10vg0.js → model-resolver-k1xpzw1w.js} +18 -18
- package/dist/chunks/{persistent-pty-0thdkkg9.js → model-resolver-k36djr8a.js} +22 -22
- package/dist/chunks/{persistent-pty-df3me751.js → model-resolver-k3w3g6yz.js} +16 -16
- package/dist/chunks/{persistent-pty-kg06axw8.js → model-resolver-kg06axw8.js} +1 -1
- package/dist/chunks/{persistent-pty-esqtk39r.js → model-resolver-kts9wqnk.js} +17 -17
- package/dist/chunks/{persistent-pty-z2r733d6.js → model-resolver-m9mm4cnh.js} +16 -16
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-hbrvt83f.js → model-resolver-ma62v64d.js} +13 -13
- package/dist/chunks/{persistent-pty-1ygqh575.js → model-resolver-mfqp6xfm.js} +6 -6
- package/dist/chunks/{persistent-pty-9c74y0ya.js → model-resolver-mgxq4wd9.js} +5 -5
- package/dist/chunks/{persistent-pty-5fk2x3ne.js → model-resolver-mj27xt9n.js} +26 -26
- package/dist/chunks/{persistent-pty-rp5c9stp.js → model-resolver-mk59f0qp.js} +3 -3
- package/dist/chunks/{persistent-pty-mkcjrzeh.js → model-resolver-mkcjrzeh.js} +1 -1
- package/dist/chunks/{persistent-pty-nvh2x716.js → model-resolver-n8120r6k.js} +4 -4
- package/dist/chunks/{persistent-pty-62ck2ww7.js → model-resolver-nda3z8kh.js} +6 -6
- package/dist/chunks/{persistent-pty-dwwycwrc.js → model-resolver-ngmpv4k0.js} +15 -15
- package/dist/chunks/{persistent-pty-0zqpp7wj.js → model-resolver-nmhj9mbj.js} +26 -26
- package/dist/chunks/{persistent-pty-q71trj3n.js → model-resolver-nyxmwzmx.js} +20 -20
- package/dist/chunks/{persistent-pty-1xxx0jg9.js → model-resolver-nzckpb8h.js} +13 -13
- package/dist/chunks/{persistent-pty-79r1wrqa.js → model-resolver-p905rm1f.js} +1 -1
- package/dist/chunks/{persistent-pty-fqhavq00.js → model-resolver-pe1m764c.js} +160 -160
- package/dist/chunks/{persistent-pty-a4zefx4s.js → model-resolver-pj0fhg0j.js} +38 -38
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-s2prs345.js → model-resolver-pkxy8g8t.js} +56 -56
- package/dist/chunks/{persistent-pty-dfe8djrf.js → model-resolver-pmr4s4kc.js} +4 -4
- package/dist/chunks/{persistent-pty-zzdrk7md.js → model-resolver-pth6n3j5.js} +25 -25
- package/dist/chunks/{persistent-pty-ka3dfe4s.js → model-resolver-pxq6bqj6.js} +9 -9
- package/dist/chunks/{persistent-pty-8gxqpgph.js → model-resolver-q5asdkn4.js} +4 -4
- package/dist/chunks/{persistent-pty-g8dftn7c.js → model-resolver-q77c0ew5.js} +11 -11
- package/dist/chunks/{persistent-pty-2g2y3drj.js → model-resolver-qmsqtg79.js} +7 -7
- package/dist/chunks/{persistent-pty-pa491p54.js → model-resolver-qsare228.js} +3 -3
- package/dist/chunks/{persistent-pty-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-zv0yrbwn.js → model-resolver-qx26rsfj.js} +24 -24
- package/dist/chunks/{persistent-pty-1kpvqeks.js → model-resolver-r0vvnr3j.js} +26 -26
- package/dist/chunks/{persistent-pty-j6y2w35b.js → model-resolver-r2jnt3k9.js} +4 -4
- package/dist/chunks/{persistent-pty-za010qp9.js → model-resolver-r59qmds9.js} +15 -15
- package/dist/chunks/{persistent-pty-eq1pz5kg.js → model-resolver-r5x6zcsm.js} +3 -3
- package/dist/chunks/{persistent-pty-r8xr0va3.js → model-resolver-r8xr0va3.js} +1 -1
- package/dist/chunks/{persistent-pty-wm96rsv2.js → model-resolver-rjeyb174.js} +8 -8
- package/dist/chunks/{persistent-pty-h9rdfrn4.js → model-resolver-rjjg3e34.js} +7 -7
- package/dist/chunks/{persistent-pty-f8714f1t.js → model-resolver-rsmx3r31.js} +18 -18
- package/dist/chunks/{persistent-pty-0gr7cw0d.js → model-resolver-s0hza5ac.js} +4 -4
- package/dist/chunks/{persistent-pty-cr07tj7n.js → model-resolver-s8zy8myc.js} +5 -5
- package/dist/chunks/{persistent-pty-6hjj4s54.js → model-resolver-shk6rdn6.js} +20 -20
- package/dist/chunks/{persistent-pty-prvjh75d.js → model-resolver-shxa3zc7.js} +19 -19
- package/dist/chunks/{persistent-pty-2p82gks5.js → model-resolver-shzfhh4e.js} +14 -14
- package/dist/chunks/{persistent-pty-rz0qknjf.js → model-resolver-snxhrb6z.js} +5 -5
- package/dist/chunks/{persistent-pty-ppky1t1y.js → model-resolver-syctdxxv.js} +7 -7
- package/dist/chunks/{persistent-pty-xfwnp4wv.js → model-resolver-ta08rfq5.js} +9 -9
- package/dist/chunks/{persistent-pty-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-d8vze2cf.js → model-resolver-tevc9p4b.js} +13 -13
- package/dist/chunks/{persistent-pty-w76whj5z.js → model-resolver-tfjws8eq.js} +3 -3
- package/dist/chunks/{persistent-pty-ppnmpad2.js → model-resolver-tj8f0xj4.js} +32 -32
- package/dist/chunks/{persistent-pty-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-d9sn21bc.js → model-resolver-tx1bbn1t.js} +2 -2
- package/dist/chunks/{persistent-pty-qsr17ax6.js → model-resolver-txht7vc4.js} +34 -34
- package/dist/chunks/{persistent-pty-krp391jj.js → model-resolver-v2zxy9vy.js} +1 -1
- package/dist/chunks/{persistent-pty-brv10750.js → model-resolver-v44d1hzb.js} +27 -27
- package/dist/chunks/{persistent-pty-1g7epwpd.js → model-resolver-v5dkyp31.js} +7 -7
- package/dist/chunks/{persistent-pty-qgwcde76.js → model-resolver-v93xbqr2.js} +16 -16
- package/dist/chunks/{persistent-pty-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-qvxvbnwj.js → model-resolver-vex7y4d1.js} +23 -23
- package/dist/chunks/{persistent-pty-m526qhmk.js → model-resolver-vnrz4pgq.js} +14 -14
- package/dist/chunks/{persistent-pty-jkg31575.js → model-resolver-vs2mxw6e.js} +12 -12
- package/dist/chunks/{persistent-pty-x1xcpfha.js → model-resolver-vstb6x8b.js} +15 -15
- package/dist/chunks/{persistent-pty-sdch2j4x.js → model-resolver-vwqc105j.js} +12 -12
- package/dist/chunks/{persistent-pty-pavjzv7z.js → model-resolver-vy3jd71w.js} +18 -18
- package/dist/chunks/{persistent-pty-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-qn4ba14w.js → model-resolver-wbkyxrgf.js} +5 -5
- package/dist/chunks/{persistent-pty-dcj77ap2.js → model-resolver-wbqy31zn.js} +1 -1
- package/dist/chunks/{persistent-pty-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-72tn9ghv.js → model-resolver-wdevvqhk.js} +14 -14
- package/dist/chunks/{persistent-pty-jtwxsvja.js → model-resolver-wdgm1b9h.js} +21 -21
- package/dist/chunks/{persistent-pty-q3x0tf1z.js → model-resolver-wea85wnq.js} +8 -8
- package/dist/chunks/{persistent-pty-p28nmw69.js → model-resolver-wkgjqrx7.js} +4 -4
- package/dist/chunks/{persistent-pty-tejv9b0j.js → model-resolver-wn7wpz7v.js} +22 -22
- package/dist/chunks/{persistent-pty-xskhzebk.js → model-resolver-wvh8s2yn.js} +8 -8
- package/dist/chunks/{persistent-pty-yq2bn28b.js → model-resolver-wy1grk9j.js} +5 -5
- package/dist/chunks/{persistent-pty-wk2d4yp7.js → model-resolver-x04m22yd.js} +28 -28
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-x43y2vfs.js → model-resolver-x43y2vfs.js} +2 -2
- package/dist/chunks/{persistent-pty-t369btdv.js → model-resolver-x46gjfhs.js} +11 -11
- package/dist/chunks/{persistent-pty-hx11cw1n.js → model-resolver-x8qpn73s.js} +28 -28
- package/dist/chunks/model-resolver-xfa62wd8.js +22 -0
- package/dist/chunks/{persistent-pty-2vgzs72b.js → model-resolver-xh49vxj8.js} +5 -5
- package/dist/chunks/{persistent-pty-a1tpkmh4.js → model-resolver-xjmdmay6.js} +2 -0
- package/dist/chunks/{persistent-pty-2b6sywcb.js → model-resolver-xmwzbncj.js} +8 -8
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-81swgkk7.js → model-resolver-y5mrfvw4.js} +9 -9
- package/dist/chunks/{persistent-pty-y71avatq.js → model-resolver-y71avatq.js} +1 -1
- package/dist/chunks/model-resolver-ypaemdrr.js +247 -0
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-2qqgsyc5.js → model-resolver-yvx62gnn.js} +5 -5
- package/dist/chunks/{persistent-pty-zyehkexa.js → model-resolver-yw2gt92n.js} +10 -10
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-1eygjsb7.js → model-resolver-z2kgn23z.js} +30 -30
- package/dist/chunks/{persistent-pty-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
- package/dist/chunks/{persistent-pty-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-pwby03bc.js → model-resolver-zem9gw1c.js} +22 -22
- package/dist/chunks/{persistent-pty-cnhax2e6.js → model-resolver-zknapg7q.js} +15 -15
- package/dist/chunks/{persistent-pty-zs8qganv.js → model-resolver-zqczhjy7.js} +33 -33
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-kmv022h3.js → model-resolver-zsjw64s0.js} +1 -1
- package/dist/chunks/{persistent-pty-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/chunks/{persistent-pty-c05fm11c.js → model-resolver-zzy03re2.js} +18 -18
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- 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 +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +68 -68
- package/dist/file-access.js +99 -99
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +78 -78
- package/dist/generate.js +91 -91
- 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 +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +81 -81
- 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 +86 -86
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- 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 +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +98 -98
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- 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 +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- 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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- 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 +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- 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 +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- 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 +84 -84
- package/dist/reference.js +78 -78
- package/dist/repository-cache.js +74 -74
- package/dist/repository.js +3 -3
- 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 +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- 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 +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +145 -145
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +82 -82
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- 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 +9 -9
- package/dist/types/session/history.d.ts +80 -0
- package/dist/types/session/transfer.d.ts +44 -0
- package/dist/util/error-summary.js +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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +72 -72
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-9sh4wc5j.js +0 -18
- package/dist/chunks/persistent-pty-drn01q1n.js +0 -22
- package/dist/chunks/persistent-pty-qapv375x.js +0 -4
- package/dist/chunks/persistent-pty-vj8pphjv.js +0 -247
- package/dist/chunks/persistent-pty-yaazxw7p.js +0 -462
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-hrnqkpcd.js → model-resolver-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-paphc93g.js → model-resolver-paphc93g.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-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: () => Service46,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node50
|
|
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 Service46 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(Service46, 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(Service41, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service46.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 node50 = makeLocationNode({
|
|
143
|
+
service: Service46,
|
|
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, Service46, node50, exports_tool_output2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service76,
|
|
6
|
+
node80
|
|
7
|
+
} from "./model-resolver-0wrbff2f.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-6h73sxmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service61,
|
|
16
|
+
node65
|
|
17
|
+
} from "./model-resolver-yw2gt92n.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -32,7 +32,7 @@ __export(exports_repository_cache, {
|
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
33
|
Service: () => Service43,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node47,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -103,10 +103,10 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
103
103
|
});
|
|
104
104
|
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service76;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
109
|
+
const kv = yield* Service61;
|
|
110
110
|
return Service43.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
@@ -114,12 +114,12 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse5(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse5(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
170
|
+
var node47 = makeGlobalNode({
|
|
171
171
|
service: Service43,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node80, Global.node, node65]
|
|
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, Service43, isError2, validateBranch2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service43, isError2, validateBranch2, node47, exports_repository_cache };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/delete.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info15,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info15 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info12 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info15, exports_provider2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./model-resolver-c1g6mvbq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-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: () => ID6,
|
|
16
|
+
Info: () => Info20,
|
|
17
17
|
Model: () => exports_model2,
|
|
18
18
|
ReasoningField: () => ReasoningField2,
|
|
19
|
-
Ref: () =>
|
|
19
|
+
Ref: () => Ref2,
|
|
20
20
|
VariantID: () => VariantID2,
|
|
21
21
|
compatibility: () => compatibility2,
|
|
22
|
-
parse: () =>
|
|
22
|
+
parse: () => parse4
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
|
-
var
|
|
25
|
+
var ID6 = 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 Ref2 = Model.Ref;
|
|
33
|
+
var Info20 = Model.Info;
|
|
34
34
|
function compatibility2(input) {
|
|
35
35
|
if (typeof input === "string")
|
|
36
36
|
return { reasoningField: input };
|
|
@@ -38,12 +38,12 @@ function compatibility2(input) {
|
|
|
38
38
|
return;
|
|
39
39
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function parse4(input) {
|
|
42
42
|
const index = input.indexOf("/");
|
|
43
43
|
return {
|
|
44
|
-
providerID:
|
|
45
|
-
modelID:
|
|
44
|
+
providerID: ID7.make(index === -1 ? input : input.slice(0, index)),
|
|
45
|
+
modelID: ID6.make(index === -1 ? "" : input.slice(index + 1))
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { ID6, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info20, compatibility2, parse4, exports_model2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
Service78,
|
|
9
|
-
node83
|
|
10
|
-
} from "./persistent-pty-jefma2gq.js";
|
|
11
|
-
import {
|
|
12
8
|
Service76,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
9
|
+
node80
|
|
10
|
+
} from "./model-resolver-0wrbff2f.js";
|
|
11
|
+
import {
|
|
12
|
+
Service74,
|
|
13
|
+
node78
|
|
14
|
+
} from "./model-resolver-9m7evh4e.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error3,
|
|
26
26
|
ID: () => ID5,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service40,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node44,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service40 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service76;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service74;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -133,14 +133,14 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service40.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node44 = makeLocationNode({
|
|
139
|
+
service: Service40,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node80, Global.node, node78]
|
|
142
142
|
});
|
|
143
|
-
var noopLayer2 = Layer.succeed(
|
|
143
|
+
var noopLayer2 = Layer.succeed(Service40, Service40.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -158,4 +158,4 @@ function failure(operation, cause) {
|
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export { ID5, Error3,
|
|
161
|
+
export { ID5, Error3, Service40, node44, noopLayer2, exports_snapshot2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9m7evh4e.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service58,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node62
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service58 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service58, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var node62 = LayerNode.unbound(Service58, Node.tags.values.global);
|
|
27
27
|
function canonical3(ref) {
|
|
28
28
|
return Ref4.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
@@ -31,4 +31,4 @@ function canonical3(ref) {
|
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service58, node62, canonical3, exports_location_service_map };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-c1g6mvbq.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-wdevvqhk.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-xmwzbncj.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-34gkz9wj.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./model-resolver-9w6wr46b.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-r0vvnr3j.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID7,
|
|
17
17
|
isAISDK2,
|
|
18
18
|
packageName2,
|
|
19
19
|
mergeOverlay2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-c1g6mvbq.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
which2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-qaymkmh1.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-resolver-syctdxxv.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/azure.ts
|
|
32
32
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ function selectLanguage(sdk, modelID, useChat) {
|
|
|
57
57
|
var AzurePlugin2 = define({
|
|
58
58
|
id: "opencode.provider.azure",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const configured = yield* configuredSettings2(
|
|
60
|
+
const configured = yield* configuredSettings2(ID7.azure);
|
|
61
61
|
const processes = yield* AppProcess.Service;
|
|
62
62
|
const bus = yield* Service79;
|
|
63
63
|
const tokens = new Map;
|
|
@@ -93,13 +93,13 @@ var AzurePlugin2 = define({
|
|
|
93
93
|
});
|
|
94
94
|
yield* ctx.integration.transform((editor) => {
|
|
95
95
|
editor.method.update({
|
|
96
|
-
integrationID:
|
|
96
|
+
integrationID: ID7.azure,
|
|
97
97
|
method: { type: "key", label: "API key", form: form() }
|
|
98
98
|
});
|
|
99
99
|
if (!available)
|
|
100
100
|
return;
|
|
101
101
|
editor.method.update({
|
|
102
|
-
integrationID:
|
|
102
|
+
integrationID: ID7.azure,
|
|
103
103
|
method: {
|
|
104
104
|
id: methodID,
|
|
105
105
|
type: "oauth",
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
});
|
|
132
132
|
});
|
|
133
133
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
134
|
-
const connection = yield* ctx.integration.connection.active(
|
|
134
|
+
const connection = yield* ctx.integration.connection.active(ID7.azure);
|
|
135
135
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
136
136
|
return;
|
|
137
137
|
})) : undefined;
|
|
@@ -145,7 +145,7 @@ var AzurePlugin2 = define({
|
|
|
145
145
|
yield* load();
|
|
146
146
|
yield* ctx.catalog.transform((evt) => {
|
|
147
147
|
for (const item of evt.provider.list()) {
|
|
148
|
-
if (item.provider.id !==
|
|
148
|
+
if (item.provider.id !== ID7.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
|
|
149
149
|
continue;
|
|
150
150
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
151
151
|
if (resourceName)
|
|
@@ -167,11 +167,11 @@ var AzurePlugin2 = define({
|
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
169
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
170
|
-
yield* bus.subscribe(
|
|
170
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
171
171
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
172
|
-
if (evt.model.providerID !==
|
|
172
|
+
if (evt.model.providerID !== ID7.azure)
|
|
173
173
|
return;
|
|
174
|
-
const connection = yield* ctx.integration.connection.active(
|
|
174
|
+
const connection = yield* ctx.integration.connection.active(ID7.azure);
|
|
175
175
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
})) : undefined;
|
|
@@ -184,11 +184,11 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", `Bearer ${current.access}`);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID7.azure });
|
|
188
188
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
189
189
|
if (evt.package !== "@ai-sdk/azure")
|
|
190
190
|
return;
|
|
191
|
-
if (evt.model.providerID ===
|
|
191
|
+
if (evt.model.providerID === ID7.azure) {
|
|
192
192
|
if (!evt.options.resourceName && !evt.options.baseURL && (!isAISDK2(evt.model.package) || typeof evt.model.settings?.baseURL !== "string")) {
|
|
193
193
|
throw new Error("Azure resource name is missing; set AZURE_RESOURCE_NAME or configure resourceName/baseURL");
|
|
194
194
|
}
|
|
@@ -197,7 +197,7 @@ var AzurePlugin2 = define({
|
|
|
197
197
|
evt.sdk = mod.createAzure(evt.options);
|
|
198
198
|
}));
|
|
199
199
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
200
|
-
if (evt.model.providerID !==
|
|
200
|
+
if (evt.model.providerID !== ID7.azure)
|
|
201
201
|
return;
|
|
202
202
|
evt.language = selectLanguage(evt.sdk, evt.model.modelID ?? evt.model.id, Boolean(evt.options.useCompletionUrls));
|
|
203
203
|
}));
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-xmwzbncj.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin23,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin23 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin5 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin5 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin23, exports_tavily };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9w6wr46b.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID8,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-r0vvnr3j.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID8.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|