@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,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-mk59f0qp.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
16
|
+
ID: () => ID13,
|
|
17
17
|
Info: () => Info27,
|
|
18
|
-
ListInput: () =>
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service72,
|
|
21
21
|
node: () => node76
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
@@ -25,9 +25,9 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
28
|
+
var ID13 = PermissionSaved.ID;
|
|
29
29
|
var Info27 = PermissionSaved.Info;
|
|
30
|
-
var
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service72 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service80).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID13.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service72.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var node76 = makeGlobalNode({ service:
|
|
67
|
+
var node76 = makeGlobalNode({ service: Service72, layer, deps: [node85] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID13, Info27, ListInput5, AddInput2, Service72, node76, exports_saved };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-34gkz9wj.js";
|
|
5
5
|
import {
|
|
6
|
-
Service76,
|
|
7
|
-
node81
|
|
8
|
-
} from "./persistent-pty-aezrryrs.js";
|
|
9
|
-
import {
|
|
10
|
-
ID16,
|
|
11
6
|
Service74,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
7
|
+
node78
|
|
8
|
+
} from "./model-resolver-9m7evh4e.js";
|
|
9
|
+
import {
|
|
10
|
+
ID18,
|
|
11
|
+
Service78,
|
|
12
|
+
node83
|
|
13
|
+
} from "./model-resolver-ftxm3p3a.js";
|
|
14
14
|
import {
|
|
15
15
|
NotFoundError9
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-6178vqjw.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service71,
|
|
19
|
+
node75
|
|
20
|
+
} from "./model-resolver-shzfhh4e.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
Service72,
|
|
26
26
|
node76
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-resolver-h4rczdf5.js";
|
|
28
28
|
import {
|
|
29
29
|
Service73,
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
node77
|
|
31
|
+
} from "./model-resolver-121k57vw.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -43,7 +43,7 @@ __export(exports_permission2, {
|
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
45
|
Event: () => Event18,
|
|
46
|
-
ID: () =>
|
|
46
|
+
ID: () => ID12,
|
|
47
47
|
NotFoundError: () => NotFoundError8,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply3,
|
|
@@ -55,7 +55,7 @@ __export(exports_permission2, {
|
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node74
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
@@ -64,7 +64,7 @@ import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission"
|
|
|
64
64
|
import { Event as Event18 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID12 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request3 = Permission.Request;
|
|
78
78
|
var Reply3 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID12.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID18.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID12,
|
|
86
86
|
reply: Reply3,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID12,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
-
requestID:
|
|
114
|
+
requestID: ID12
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -129,10 +129,10 @@ class Service70 extends Context.Service()("@opencode/Permission") {
|
|
|
129
129
|
}
|
|
130
130
|
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service79;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
132
|
+
const location = yield* Service74;
|
|
133
|
+
const agents = yield* Service78;
|
|
134
|
+
const sessions = yield* Service71;
|
|
135
|
+
const saved = yield* Service72;
|
|
136
136
|
const hooks = yield* Service73;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID12.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -285,10 +285,10 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
285
285
|
});
|
|
286
286
|
return Service70.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
288
|
+
var node74 = makeLocationNode({
|
|
289
289
|
service: Service70,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [node84,
|
|
291
|
+
deps: [node84, node78, node83, node75, node76, node77]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID12, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service70, node74, exports_permission2, Rule3, Ruleset2, Event18 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-34gkz9wj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./model-resolver-9m7evh4e.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service39
|
|
10
|
+
} from "./model-resolver-a165ysxp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command2 = {};
|
|
17
|
+
__export(exports_command2, {
|
|
18
|
+
CommandPlugin: () => exports_command2,
|
|
19
|
+
Plugin: () => Plugin30
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin30 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service74;
|
|
200
|
+
const mcp = yield* Service39;
|
|
201
201
|
const bus = yield* Service79;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin30, exports_command2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render2
|
|
3
|
+
} from "./model-resolver-47gsdddb.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -12,7 +12,7 @@ __export(exports_optimize, {
|
|
|
12
12
|
ArceePlugin: () => ArceePlugin2,
|
|
13
13
|
KimiPlugin: () => KimiPlugin2,
|
|
14
14
|
MetaPlugin: () => MetaPlugin2,
|
|
15
|
-
OpenAIPlugin: () =>
|
|
15
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
16
16
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
17
17
|
OptimizePlugin: () => exports_optimize,
|
|
18
18
|
Plugins: () => Plugins2
|
|
@@ -368,7 +368,7 @@ assistant: Clients are marked as failed in the \`connectToServer\` function in s
|
|
|
368
368
|
`;
|
|
369
369
|
|
|
370
370
|
// src/plugin/optimize.ts
|
|
371
|
-
var
|
|
371
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
372
372
|
const id = model.id.toLowerCase();
|
|
373
373
|
if (!id.includes("gpt"))
|
|
374
374
|
return;
|
|
@@ -397,7 +397,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
397
397
|
return;
|
|
398
398
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
399
399
|
});
|
|
400
|
-
var Plugins2 = [
|
|
400
|
+
var Plugins2 = [OpenAIPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
401
401
|
function make(id, optimize) {
|
|
402
402
|
return define({
|
|
403
403
|
id,
|
|
@@ -412,10 +412,10 @@ function make(id, optimize) {
|
|
|
412
412
|
const system = event.system[0];
|
|
413
413
|
if (!system)
|
|
414
414
|
return;
|
|
415
|
-
event.system[0] = { ...system, text:
|
|
415
|
+
event.system[0] = { ...system, text: render2(template, Object.keys(event.tools)) };
|
|
416
416
|
}).pipe(Effect.catch(() => Effect.void)));
|
|
417
417
|
})
|
|
418
418
|
});
|
|
419
419
|
}
|
|
420
420
|
|
|
421
|
-
export {
|
|
421
|
+
export { OpenAIPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./model-resolver-cppeb8e9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service4
|
|
6
|
+
} from "./model-resolver-412kwdx9.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin10
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin10 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service51;
|
|
26
|
+
const compaction = yield* Service4;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin44 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin10, exports_compaction };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service62,
|
|
6
|
+
node66
|
|
7
|
+
} from "./model-resolver-8jv093w6.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service26,
|
|
17
|
+
node: () => node30,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service26 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service62;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service26.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node30 = makeLocationNode({ service: Service26, layer, deps: [node66] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service26, readText2, syncTextBom2, node30, exports_file_mutation };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-c1g6mvbq.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/variant.ts
|
|
10
10
|
var exports_variant = {};
|
|
11
11
|
__export(exports_variant, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin29,
|
|
13
13
|
VariantPlugin: () => exports_variant,
|
|
14
14
|
generate: () => generate2
|
|
15
15
|
});
|
|
16
16
|
import { Effect } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Model } from "@opencode/schema/model";
|
|
19
|
-
var
|
|
19
|
+
var Plugin29 = define({
|
|
20
20
|
id: "opencode.variant",
|
|
21
21
|
effect: Effect.fn(function* (ctx) {
|
|
22
22
|
yield* ctx.catalog.transform((catalog) => {
|
|
@@ -52,4 +52,4 @@ function generate2(model, provider) {
|
|
|
52
52
|
}));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { Plugin29, generate2, exports_variant };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./model-resolver-8q9myf25.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-jqh9b0xq.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service44
|
|
9
|
+
} from "./model-resolver-6q5arvd8.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service57;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service44), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options7,
|
|
15
|
+
Service: () => Service50,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured8,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list3,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node55,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve2
|
|
27
27
|
});
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options7 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service50 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -184,11 +184,11 @@ resolve2.reset = () => {
|
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list3(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service50.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin))
|
|
206
206
|
});
|
|
207
207
|
}));
|
|
208
|
-
function
|
|
209
|
-
return makeLocationNode({ service:
|
|
208
|
+
function configured8(options) {
|
|
209
|
+
return makeLocationNode({ service: Service50, layer: layer(options), deps: [Global.node] });
|
|
210
210
|
}
|
|
211
|
-
var
|
|
211
|
+
var node55 = configured8();
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Options7, Service50, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list3, configured8, node55, exports_select };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID6,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-wdevvqhk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service51
|
|
7
|
+
} from "./model-resolver-cppeb8e9.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-syctdxxv.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make8(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service51;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
catalog.model.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID6.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make8();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make8, LMStudioPlugin2 };
|