@opencode/core 0.0.0-dev-19613 → 0.0.0-dev-19617
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 +80 -80
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{location-service-map-1hc11dc4.js → file-retention-06dxphr1.js} +4 -4
- package/dist/chunks/{location-service-map-sp86gy6a.js → file-retention-07wrr0rm.js} +19 -19
- package/dist/chunks/{location-service-map-ykf3ptpw.js → file-retention-0b4f6mp2.js} +30 -30
- package/dist/chunks/{location-service-map-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-service-map-0q0f95c6.js → file-retention-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-service-map-fhg6wqx7.js → file-retention-0r2k9kj6.js} +15 -15
- package/dist/chunks/{location-service-map-44kr7xc2.js → file-retention-126se46d.js} +10 -10
- package/dist/chunks/{location-service-map-nf9hvehr.js → file-retention-13b7xy8e.js} +5 -5
- package/dist/chunks/{location-service-map-dsbehk3j.js → file-retention-18swyw0t.js} +45 -45
- package/dist/chunks/{location-service-map-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-service-map-zfnp7b6b.js → file-retention-1gw4hrxs.js} +19 -19
- package/dist/chunks/{location-service-map-fnq3w2rd.js → file-retention-1zprvct9.js} +8 -8
- package/dist/chunks/{location-service-map-21r38tys.js → file-retention-21r38tys.js} +1 -1
- package/dist/chunks/{location-service-map-j5208yae.js → file-retention-23sxaqwc.js} +6 -6
- package/dist/chunks/{location-service-map-6h73sxmp.js → file-retention-2402vzrj.js} +5 -5
- package/dist/chunks/{location-service-map-n4geea0h.js → file-retention-264y2mvj.js} +10 -10
- package/dist/chunks/{location-service-map-2n5p0fxg.js → file-retention-276gygcj.js} +5 -5
- package/dist/chunks/{location-service-map-06f8gtew.js → file-retention-29cs1g18.js} +11 -11
- package/dist/chunks/{location-service-map-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-service-map-wr994sqv.js → file-retention-2h7tr172.js} +10 -10
- package/dist/chunks/{location-service-map-dx23rp9b.js → file-retention-2pam5ezh.js} +23 -23
- package/dist/chunks/{location-service-map-4pmy1264.js → file-retention-2tkyep3v.js} +19 -19
- package/dist/chunks/{location-service-map-t7183y40.js → file-retention-30ffk5w0.js} +31 -31
- package/dist/chunks/{location-service-map-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-service-map-c464yk7e.js → file-retention-3fp85657.js} +37 -37
- package/dist/chunks/{location-service-map-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-service-map-9n3wxq1j.js → file-retention-3p5hkrxv.js} +35 -35
- package/dist/chunks/{location-service-map-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-service-map-3qdx31v0.js → file-retention-3thn9ygr.js} +35 -35
- package/dist/chunks/{location-service-map-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-service-map-sktczvrt.js → file-retention-3w1d8477.js} +11 -11
- package/dist/chunks/{location-service-map-w2kh4c12.js → file-retention-3wpzg793.js} +15 -15
- package/dist/chunks/{location-service-map-1mkrhngc.js → file-retention-3zykk5as.js} +8 -8
- package/dist/chunks/file-retention-49gatq4q.js +472 -0
- package/dist/chunks/{location-service-map-gqqd7yp5.js → file-retention-4cyvw3p6.js} +58 -58
- package/dist/chunks/{location-service-map-r55vasa2.js → file-retention-4dgbcxzg.js} +4 -4
- package/dist/chunks/{location-service-map-pqsm2j1s.js → file-retention-4gyxjxrp.js} +51 -51
- package/dist/chunks/{location-service-map-qfzde7bh.js → file-retention-4m2pmvxz.js} +6 -6
- package/dist/chunks/{location-service-map-mr09x0kn.js → file-retention-4tzvqyk7.js} +34 -34
- package/dist/chunks/{location-service-map-eet9vec2.js → file-retention-4wdhwteq.js} +3 -3
- package/dist/chunks/{location-service-map-qm7jrdpz.js → file-retention-4xhhjths.js} +8 -8
- package/dist/chunks/{location-service-map-h7jb3q20.js → file-retention-4y1pzw9c.js} +4 -4
- package/dist/chunks/{location-service-map-75fve0te.js → file-retention-4z0v33m4.js} +21 -21
- package/dist/chunks/{location-service-map-8prvq2df.js → file-retention-508cf8kg.js} +5 -5
- package/dist/chunks/{location-service-map-2fgn2we9.js → file-retention-57ez7d0k.js} +9 -9
- package/dist/chunks/{location-service-map-vav2c2cr.js → file-retention-5cb8a4qv.js} +28 -28
- package/dist/chunks/{location-service-map-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
- package/dist/chunks/{location-service-map-zf7grqb8.js → file-retention-5er01f6t.js} +178 -178
- package/dist/chunks/{location-service-map-62va5rb3.js → file-retention-5ffqwp29.js} +24 -24
- package/dist/chunks/{location-service-map-4gbrk6eh.js → file-retention-5k148b68.js} +9 -9
- package/dist/chunks/{location-service-map-hbtnxrex.js → file-retention-5qzqc01j.js} +4 -4
- package/dist/chunks/{location-service-map-jst8vt3d.js → file-retention-5r3jnckw.js} +5 -5
- package/dist/chunks/{location-service-map-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-service-map-xap1vr3y.js → file-retention-5t9ap4g5.js} +7 -7
- package/dist/chunks/{location-service-map-669tq793.js → file-retention-669tq793.js} +1 -1
- package/dist/chunks/file-retention-6kdq0pjd.js +4 -0
- package/dist/chunks/{location-service-map-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-service-map-9cwb0bqx.js → file-retention-6p84ymk5.js} +34 -34
- package/dist/chunks/{location-service-map-d1r5081s.js → file-retention-70y17xeh.js} +5 -5
- package/dist/chunks/{location-service-map-71q4at8m.js → file-retention-71q4at8m.js} +1 -1
- package/dist/chunks/{location-service-map-5mvsn0n4.js → file-retention-7581kcks.js} +30 -30
- package/dist/chunks/{location-service-map-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-service-map-9ff31bqh.js → file-retention-7d01vtdt.js} +9 -9
- package/dist/chunks/{location-service-map-5nd6hqg1.js → file-retention-7fyak8f4.js} +8 -8
- package/dist/chunks/{location-service-map-jva4mgym.js → file-retention-7j92jdde.js} +4 -4
- package/dist/chunks/{location-service-map-c7437d7y.js → file-retention-81q6s179.js} +15 -15
- package/dist/chunks/{location-service-map-bsa98fqx.js → file-retention-8310x4c5.js} +12 -12
- package/dist/chunks/{location-service-map-cxv3b682.js → file-retention-844ef7ks.js} +8 -8
- package/dist/chunks/{location-service-map-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-service-map-ds2mmwsg.js → file-retention-8e1b1gzh.js} +6 -6
- package/dist/chunks/{location-service-map-8p4f9s12.js → file-retention-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-service-map-6p10pdhr.js → file-retention-8rr5w2ew.js} +89 -89
- package/dist/chunks/{location-service-map-zqyzccv6.js → file-retention-8vx9rmwz.js} +11 -11
- package/dist/chunks/file-retention-907a706s.js +251 -0
- package/dist/chunks/{location-service-map-drdg73e4.js → file-retention-9180haxf.js} +41 -41
- package/dist/chunks/{location-service-map-7cdr5gb1.js → file-retention-924ykxna.js} +3 -3
- package/dist/chunks/{location-service-map-6zqpf67v.js → file-retention-9jwg4mj7.js} +11 -11
- package/dist/chunks/{location-service-map-3vw407vt.js → file-retention-9kts0vsr.js} +25 -25
- package/dist/chunks/{location-service-map-hmjjxanq.js → file-retention-9nz7ga5n.js} +13 -13
- package/dist/chunks/{location-service-map-q32k0fs9.js → file-retention-9s7s2hrz.js} +1 -1
- package/dist/chunks/{location-service-map-b56xca68.js → file-retention-9xzn68v5.js} +35 -35
- package/dist/chunks/{location-service-map-a1bz86dw.js → file-retention-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-service-map-dz573yjp.js → file-retention-a4d6h2dp.js} +25 -25
- package/dist/chunks/{location-service-map-0v3mhfgm.js → file-retention-a9tcrq61.js} +12 -12
- package/dist/chunks/{location-service-map-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
- package/dist/chunks/{location-service-map-xafs9hxs.js → file-retention-agq2sn5n.js} +6 -6
- package/dist/chunks/{location-service-map-cxcx5ffv.js → file-retention-ak8w4t1r.js} +31 -31
- package/dist/chunks/{location-service-map-yv948d01.js → file-retention-aq9j564q.js} +19 -19
- package/dist/chunks/{location-service-map-2y91kqbg.js → file-retention-aqeqq1tf.js} +54 -54
- package/dist/chunks/{location-service-map-x62a4d48.js → file-retention-av8es0ey.js} +11 -11
- package/dist/chunks/{location-service-map-vx3t9wvk.js → file-retention-ax9ctke6.js} +11 -11
- package/dist/chunks/{location-service-map-4xk2t4nb.js → file-retention-b1v7x4f0.js} +12 -12
- package/dist/chunks/{location-service-map-9hnn71yg.js → file-retention-b4m0jvqm.js} +20 -20
- package/dist/chunks/{location-service-map-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-service-map-fgbd9a1c.js → file-retention-bdhd9qj0.js} +9 -9
- package/dist/chunks/{location-service-map-9vq0hs4s.js → file-retention-bgr2vz0b.js} +24 -24
- package/dist/chunks/{location-service-map-3zrb79sp.js → file-retention-bhb5n9xr.js} +22 -22
- package/dist/chunks/{location-service-map-pw9ddc5h.js → file-retention-bsda9gvx.js} +24 -24
- package/dist/chunks/{location-service-map-2jz473v5.js → file-retention-bz85s9hh.js} +1 -1
- package/dist/chunks/{location-service-map-6ejkwac2.js → file-retention-c390ksyj.js} +5 -5
- package/dist/chunks/{location-service-map-gya96k67.js → file-retention-cb9cr8vz.js} +11 -11
- package/dist/chunks/{location-service-map-phew4xhx.js → file-retention-ccxmgenq.js} +1 -1
- package/dist/chunks/{location-service-map-cfpkc3c9.js → file-retention-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-service-map-z0a4xc00.js → file-retention-cjvw1vr1.js} +6 -6
- package/dist/chunks/{location-service-map-fqmd4s1j.js → file-retention-cqxef839.js} +32 -32
- package/dist/chunks/{location-service-map-xhmq8qgk.js → file-retention-d09006c3.js} +9 -9
- package/dist/chunks/{location-service-map-bxcs3vgc.js → file-retention-d0q8x7fd.js} +22 -22
- package/dist/chunks/{location-service-map-7y6s2xgk.js → file-retention-d72qkhwk.js} +11 -11
- package/dist/chunks/{location-service-map-6cr3es9y.js → file-retention-d85qp1ds.js} +28 -28
- package/dist/chunks/{location-service-map-fr4993az.js → file-retention-dd4k3tty.js} +47 -47
- package/dist/chunks/{location-service-map-cxbs0x8p.js → file-retention-dmxvr22s.js} +20 -20
- package/dist/chunks/{location-service-map-y71avatq.js → file-retention-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-service-map-vyz1nvqm.js → file-retention-dyr0fjz1.js} +11 -11
- package/dist/chunks/{location-service-map-kmzmb758.js → file-retention-e0jdvfpf.js} +6 -6
- package/dist/chunks/{location-service-map-e5nv3ght.js → file-retention-e5nv3ght.js} +2 -2
- package/dist/chunks/{location-service-map-r33ff4dw.js → file-retention-e6hd9jay.js} +6 -6
- package/dist/chunks/{location-service-map-ec3p188n.js → file-retention-e8340df8.js} +8 -8
- package/dist/chunks/{location-service-map-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-service-map-yfxwqvqs.js → file-retention-egthh08c.js} +15 -15
- package/dist/chunks/{location-service-map-e09qeq0x.js → file-retention-ej3vp9cf.js} +6 -6
- package/dist/chunks/{location-service-map-cvh2qfn1.js → file-retention-esj6mydx.js} +13 -13
- package/dist/chunks/{location-service-map-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-service-map-37s12vcn.js → file-retention-evbgk2k8.js} +5 -5
- package/dist/chunks/{location-service-map-md8mx0w8.js → file-retention-ewd1ksqg.js} +23 -23
- package/dist/chunks/{location-service-map-hhn9sqhg.js → file-retention-exx0kxr8.js} +7 -7
- package/dist/chunks/{location-service-map-dqc529nz.js → file-retention-f2742wym.js} +19 -19
- package/dist/chunks/{location-service-map-14ca214m.js → file-retention-f2gjs8p9.js} +19 -19
- package/dist/chunks/{location-service-map-8vph1emt.js → file-retention-f2h0ge9w.js} +13 -13
- package/dist/chunks/{location-service-map-bx4ntnz9.js → file-retention-f5wvj1yw.js} +11 -11
- package/dist/chunks/{location-service-map-gst7axd9.js → file-retention-f73rjn58.js} +4 -4
- package/dist/chunks/{location-service-map-f828m53h.js → file-retention-f828m53h.js} +2 -2
- package/dist/chunks/{location-service-map-kaq1kxkp.js → file-retention-fcwjxcrg.js} +1 -1
- package/dist/chunks/{location-service-map-h6pyjjh7.js → file-retention-fd1zsxbb.js} +3 -3
- package/dist/chunks/{location-service-map-nqqf9675.js → file-retention-fdttfrh6.js} +13 -13
- package/dist/chunks/{location-service-map-eb0bx2e4.js → file-retention-fg50ch7r.js} +4 -4
- package/dist/chunks/{location-service-map-fdv30zvt.js → file-retention-fqb2p7cx.js} +7 -7
- package/dist/chunks/{location-service-map-fxbjtjnd.js → file-retention-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-service-map-375f5jdk.js → file-retention-fy1kaafr.js} +18 -18
- package/dist/chunks/{location-service-map-fxmgaxj3.js → file-retention-g17wn8cw.js} +12 -12
- package/dist/chunks/{location-service-map-z27700qy.js → file-retention-g2n1kqkx.js} +18 -18
- package/dist/chunks/{location-service-map-5mjvfe5y.js → file-retention-g7pgb33s.js} +6 -6
- package/dist/chunks/{location-service-map-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-service-map-ht6c2863.js → file-retention-gjzff5er.js} +12 -12
- package/dist/chunks/{location-service-map-481njsdn.js → file-retention-gn2hfjap.js} +8 -8
- package/dist/chunks/{location-service-map-px76j0pk.js → file-retention-gs3psw06.js} +9 -9
- package/dist/chunks/{location-service-map-gv6a8nnw.js → file-retention-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-service-map-dmg9z6p5.js → file-retention-gxdqkm0c.js} +9 -9
- package/dist/chunks/{location-service-map-h03wrkyp.js → file-retention-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-service-map-kd9s22ns.js → file-retention-h1afk52f.js} +6 -6
- package/dist/chunks/{location-service-map-f0k0k52x.js → file-retention-h4qgb8xj.js} +38 -38
- package/dist/chunks/{location-service-map-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-service-map-h7ygw6q4.js → file-retention-h7ygw6q4.js} +2 -2
- package/dist/chunks/{location-service-map-r0t15azg.js → file-retention-havwf4k9.js} +8 -8
- package/dist/chunks/{location-service-map-vwc7evev.js → file-retention-hf8fr414.js} +17 -17
- package/dist/chunks/{location-service-map-fxqygnfa.js → file-retention-hfdr1yjj.js} +4 -4
- package/dist/chunks/{location-service-map-2kmeykc3.js → file-retention-hk9ksenn.js} +10 -10
- package/dist/chunks/{location-service-map-bktmsznq.js → file-retention-hkmh7tch.js} +23 -23
- package/dist/chunks/{location-service-map-wbkyxrgf.js → file-retention-hnr5yq9h.js} +5 -5
- package/dist/chunks/{location-service-map-k6y8t4k1.js → file-retention-hpc1ag31.js} +56 -56
- package/dist/chunks/{location-service-map-dmmbqwqg.js → file-retention-hsp71j46.js} +1 -1
- package/dist/chunks/{location-service-map-c4rw650c.js → file-retention-j07ynkak.js} +19 -19
- package/dist/chunks/{location-service-map-8drea2pm.js → file-retention-j279vgb3.js} +51 -51
- package/dist/chunks/{location-service-map-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
- package/dist/chunks/{location-service-map-0g02wqjc.js → file-retention-j6dc1d3z.js} +17 -17
- package/dist/chunks/{location-service-map-v7hep15h.js → file-retention-j6h70cxt.js} +22 -22
- package/dist/chunks/{location-service-map-ve4pfa0n.js → file-retention-j83byb14.js} +4 -4
- package/dist/chunks/{location-service-map-hz4565jb.js → file-retention-jhxy2sk1.js} +2 -2
- package/dist/chunks/{location-service-map-dyfjpvav.js → file-retention-jx8kcw9w.js} +37 -37
- package/dist/chunks/{location-service-map-41camxag.js → file-retention-kcfncsdb.js} +11 -11
- package/dist/chunks/{location-service-map-hsj2h3cb.js → file-retention-kcyfyv8v.js} +16 -16
- package/dist/chunks/{location-service-map-5pjjts7m.js → file-retention-kemm8n5q.js} +30 -30
- package/dist/chunks/{location-service-map-qbgx7nv3.js → file-retention-kf3rtttb.js} +26 -26
- package/dist/chunks/{location-service-map-xgn7tabx.js → file-retention-kg5r7emp.js} +24 -24
- package/dist/chunks/{location-service-map-6nxsvtkx.js → file-retention-kgtbg51g.js} +30 -30
- package/dist/chunks/{location-service-map-z2mtc428.js → file-retention-ky3seynh.js} +2 -2
- package/dist/chunks/{location-service-map-xp03h3xb.js → file-retention-m2bm8kgx.js} +15 -15
- package/dist/chunks/{location-service-map-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-service-map-xhh1n5fz.js → file-retention-mab4qcb1.js} +8 -8
- package/dist/chunks/{location-service-map-cavr175a.js → file-retention-magykp64.js} +4 -4
- package/dist/chunks/{location-service-map-56gdpj1q.js → file-retention-mfqp6xfm.js} +6 -6
- package/dist/chunks/{location-service-map-r5x6zcsm.js → file-retention-mhkvc446.js} +3 -3
- package/dist/chunks/{location-service-map-efhqt4af.js → file-retention-mm71tc60.js} +19 -19
- package/dist/chunks/{location-service-map-fgz39w39.js → file-retention-mnhyjcyd.js} +88 -88
- package/dist/chunks/{location-service-map-f389d7gj.js → file-retention-mw7s1qqm.js} +32 -32
- package/dist/chunks/{location-service-map-mbnh2t2h.js → file-retention-mypwhdkk.js} +6 -6
- package/dist/chunks/{location-service-map-46kds8gk.js → file-retention-n3gg6d5p.js} +17 -17
- package/dist/chunks/{location-service-map-d81aexdy.js → file-retention-na6jv411.js} +2 -2
- package/dist/chunks/{location-service-map-qeqdnheg.js → file-retention-nbx459v7.js} +17 -17
- package/dist/chunks/{location-service-map-zr7h07xm.js → file-retention-ndf7wh7w.js} +23 -23
- package/dist/chunks/{location-service-map-e82z9tr0.js → file-retention-nhy5jxhy.js} +7 -7
- package/dist/chunks/{location-service-map-xehevt9d.js → file-retention-nnmab3m5.js} +12 -12
- package/dist/chunks/{location-service-map-jxgp7g53.js → file-retention-npkymxxz.js} +1 -1
- package/dist/chunks/{location-service-map-n16mkrvf.js → file-retention-nvv2w69t.js} +8 -8
- package/dist/chunks/{location-service-map-7wrt80ma.js → file-retention-p8bhcqp6.js} +5 -5
- package/dist/chunks/{location-service-map-g8jasmdt.js → file-retention-pb1eahw5.js} +8 -8
- package/dist/chunks/{location-service-map-s8zy8myc.js → file-retention-pecb0brz.js} +5 -5
- package/dist/chunks/{location-service-map-ae83exes.js → file-retention-pesg4g4m.js} +3 -3
- package/dist/chunks/{location-service-map-ypg67s3v.js → file-retention-pgy12fq2.js} +17 -17
- package/dist/chunks/{location-service-map-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-service-map-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{location-service-map-87n3nhds.js → file-retention-pmc74pb4.js} +12 -12
- package/dist/chunks/{location-service-map-3g1feh6n.js → file-retention-pvp0fmcy.js} +7 -7
- package/dist/chunks/{location-service-map-bwytfvjm.js → file-retention-q1gp8mbh.js} +6 -6
- package/dist/chunks/{location-service-map-e5vq6wef.js → file-retention-q2f8db2z.js} +4 -4
- package/dist/chunks/file-retention-q509s3k3.js +18 -0
- package/dist/chunks/{location-service-map-vywfytpn.js → file-retention-q80dxf01.js} +22 -22
- package/dist/chunks/{location-service-map-7qqnjw5d.js → file-retention-qb8wdytp.js} +8 -8
- package/dist/chunks/{location-service-map-aez1es5f.js → file-retention-qbvd2c79.js} +28 -28
- package/dist/chunks/{location-service-map-wzgf8172.js → file-retention-qc5a07km.js} +22 -22
- package/dist/chunks/{location-service-map-09dv4b35.js → file-retention-qefhz522.js} +11 -11
- package/dist/chunks/{location-service-map-cn96cn60.js → file-retention-qg9t7k56.js} +4 -4
- package/dist/chunks/{location-service-map-7dqw4kz8.js → file-retention-qgn6gcr1.js} +5 -5
- package/dist/chunks/{location-service-map-rcax84ya.js → file-retention-qh7d57mv.js} +4 -4
- package/dist/chunks/{location-service-map-ws4etjf1.js → file-retention-qs0gs2g1.js} +5 -5
- package/dist/chunks/{location-service-map-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
- package/dist/chunks/{location-service-map-xt3w6yk5.js → file-retention-qsxff6dv.js} +27 -27
- package/dist/chunks/{location-service-map-scjvjzrv.js → file-retention-qv9y4v6r.js} +36 -36
- package/dist/chunks/{location-service-map-bgp3z89z.js → file-retention-r5depw3d.js} +33 -33
- package/dist/chunks/{location-service-map-8dh90zjj.js → file-retention-r7g94wtk.js} +28 -28
- package/dist/chunks/{location-service-map-r9mregkx.js → file-retention-r9mregkx.js} +2 -2
- package/dist/chunks/{location-service-map-nxmk8ws5.js → file-retention-rb9d13h1.js} +43 -43
- package/dist/chunks/{location-service-map-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-service-map-2n8zc6am.js → file-retention-rg3v5vpq.js} +17 -17
- package/dist/chunks/{location-service-map-f2n192rq.js → file-retention-rhraev7y.js} +4 -4
- package/dist/chunks/{location-service-map-hzmtefn0.js → file-retention-rsyxjf6n.js} +11 -11
- package/dist/chunks/{location-service-map-1vbvjjmc.js → file-retention-rtfsnp04.js} +8 -8
- package/dist/chunks/{location-service-map-henk663z.js → file-retention-s0nkzfby.js} +6 -6
- package/dist/chunks/{location-service-map-drbtznh8.js → file-retention-s5rh44ar.js} +4 -4
- package/dist/chunks/{location-service-map-02nrjc1r.js → file-retention-s8d7rejh.js} +8 -8
- package/dist/chunks/{location-service-map-cpevarj8.js → file-retention-s90s62as.js} +17 -17
- package/dist/chunks/{location-service-map-ebj3yfyc.js → file-retention-sazb1h0p.js} +11 -11
- package/dist/chunks/{location-service-map-czrth2gj.js → file-retention-spp1p3tw.js} +30 -30
- package/dist/chunks/{location-service-map-z0064rbb.js → file-retention-sx8f04je.js} +16 -16
- package/dist/chunks/{location-service-map-x9m2j9ps.js → file-retention-t3q0zrtj.js} +5 -5
- package/dist/chunks/{location-service-map-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-service-map-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-service-map-tdstcens.js → file-retention-tdstcens.js} +1 -1
- package/dist/chunks/{location-service-map-ce6s4nt1.js → file-retention-tf7cta9d.js} +18 -18
- package/dist/chunks/{location-service-map-sfmx7ja1.js → file-retention-tph3grx4.js} +9 -9
- package/dist/chunks/{location-service-map-7j0w7kx5.js → file-retention-trdbzp7q.js} +41 -41
- package/dist/chunks/{location-service-map-wjhm61d9.js → file-retention-tt4xct96.js} +22 -22
- package/dist/chunks/{location-service-map-ybxvfqcx.js → file-retention-tvh2peyk.js} +7 -7
- package/dist/chunks/{location-service-map-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
- package/dist/chunks/{location-service-map-29074q1n.js → file-retention-v07rhjax.js} +9 -9
- package/dist/chunks/{location-service-map-2m5fqp7n.js → file-retention-v4cwwf6k.js} +1 -1
- package/dist/chunks/{location-service-map-xpzqjy6f.js → file-retention-v6wrn1g2.js} +35 -35
- package/dist/chunks/{location-service-map-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/file-retention-vh6dfrxf.js +26 -0
- package/dist/chunks/{location-service-map-3h3e4z98.js → file-retention-vzbef369.js} +26 -26
- package/dist/chunks/{location-service-map-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-service-map-93dbjmah.js → file-retention-w171fkng.js} +23 -23
- package/dist/chunks/{location-service-map-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-service-map-4r0h6etc.js → file-retention-w6k2nhch.js} +22 -22
- package/dist/chunks/{location-service-map-qhxjjwxg.js → file-retention-wbhjeqa0.js} +24 -24
- package/dist/chunks/{location-service-map-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{location-service-map-h6nte9nw.js → file-retention-wdrzmzfn.js} +35 -35
- package/dist/chunks/{location-service-map-0exk3n2e.js → file-retention-wknvw5dv.js} +15 -15
- package/dist/chunks/{location-service-map-r7mtf7va.js → file-retention-wmzw9v22.js} +13 -13
- package/dist/chunks/{location-service-map-nhf4zmre.js → file-retention-wvapbnfc.js} +10 -10
- package/dist/chunks/{location-service-map-f35htakt.js → file-retention-wxffcvth.js} +3 -3
- package/dist/chunks/{location-service-map-wj2f1e6q.js → file-retention-wyj0k83d.js} +46 -46
- package/dist/chunks/{location-service-map-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-service-map-5nkww2gb.js → file-retention-x4nz54qe.js} +15 -15
- package/dist/chunks/{location-service-map-22pe83z9.js → file-retention-xezh77hc.js} +22 -22
- package/dist/chunks/{location-service-map-p0a47g0h.js → file-retention-xj7wbnn3.js} +4 -4
- package/dist/chunks/{location-service-map-jgnxw11k.js → file-retention-xqmwp9mt.js} +10 -10
- package/dist/chunks/{location-service-map-t67987gv.js → file-retention-xwgqmv93.js} +27 -27
- package/dist/chunks/{location-service-map-256nx13v.js → file-retention-xxynqx5z.js} +3 -3
- package/dist/chunks/{location-service-map-yx2y7hvv.js → file-retention-y183daxr.js} +9 -9
- package/dist/chunks/{location-service-map-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-service-map-9xc6rpr7.js → file-retention-y3pw9whf.js} +23 -23
- package/dist/chunks/{location-service-map-n77bm98b.js → file-retention-y50sdzkw.js} +43 -43
- package/dist/chunks/{location-service-map-73rz0h41.js → file-retention-y9eqwahs.js} +9 -9
- package/dist/chunks/{location-service-map-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-service-map-yrznvahk.js → file-retention-yrznvahk.js} +2 -2
- package/dist/chunks/{location-service-map-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-service-map-z63w68vq.js → file-retention-z63w68vq.js} +2 -2
- package/dist/chunks/{location-service-map-vb997v53.js → file-retention-z8y90bmn.js} +29 -29
- package/dist/chunks/{location-service-map-zeh9ct20.js → file-retention-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-service-map-296t09yc.js → file-retention-zkqsy98m.js} +15 -15
- package/dist/chunks/{location-service-map-5y4txvzj.js → file-retention-zqcfhx7s.js} +28 -28
- package/dist/chunks/{location-service-map-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-service-map-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
- 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 +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +121 -121
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- 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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +99 -99
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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 +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +356 -356
- package/dist/instruction-discovery.js +80 -80
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +135 -135
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +101 -101
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +94 -94
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +89 -89
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +89 -89
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +89 -89
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +89 -89
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +91 -91
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +100 -100
- 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 +95 -95
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +223 -223
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- 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 +123 -123
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/session/inbox.d.ts +120 -40
- package/dist/types/session/session.d.ts +21 -7
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/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 +91 -91
- 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 +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/refresh.js +345 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/location-service-map-0mesazry.js +0 -4
- package/dist/chunks/location-service-map-9sh4wc5j.js +0 -18
- package/dist/chunks/location-service-map-jgy3c5f9.js +0 -472
- package/dist/chunks/location-service-map-v76s5b0s.js +0 -251
- package/dist/chunks/location-service-map-x7bazcqt.js +0 -26
- /package/dist/chunks/{location-service-map-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-service-map-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-service-map-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-service-map-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-service-map-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-service-map-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-service-map-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-service-map-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-service-map-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-service-map-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{location-service-map-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-service-map-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-service-map-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-service-map-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-service-map-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-service-map-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-service-map-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-service-map-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{location-service-map-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-service-map-5qd3pb7m.js → file-retention-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-service-map-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{location-service-map-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-service-map-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-service-map-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{location-service-map-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-service-map-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-service-map-922hggd3.js → file-retention-922hggd3.js} +0 -0
- /package/dist/chunks/{location-service-map-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-service-map-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-service-map-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-service-map-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-service-map-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-service-map-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-service-map-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-service-map-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-service-map-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-service-map-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-service-map-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-service-map-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-service-map-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-service-map-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-service-map-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-service-map-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{location-service-map-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-service-map-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-service-map-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-service-map-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-service-map-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-service-map-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-service-map-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-service-map-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-service-map-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-service-map-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-service-map-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-service-map-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-service-map-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{location-service-map-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-service-map-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{location-service-map-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-service-map-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{location-service-map-hrnqkpcd.js → file-retention-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-service-map-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-service-map-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-service-map-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-service-map-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-service-map-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-service-map-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-service-map-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-service-map-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-service-map-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-service-map-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-service-map-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-service-map-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-service-map-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-service-map-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-service-map-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-service-map-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-service-map-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-service-map-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-service-map-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-service-map-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-service-map-twg0f83k.js → file-retention-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-service-map-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-service-map-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-service-map-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-service-map-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-service-map-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{location-service-map-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-service-map-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-service-map-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-service-map-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-service-map-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-service-map-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make21,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-s8d7rejh.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-j279vgb3.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service27,
|
|
13
|
+
node31
|
|
14
|
+
} from "./file-retention-aqeqq1tf.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
17
|
name13
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-5cb8a4qv.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
|
-
var
|
|
25
|
-
__export(
|
|
26
|
-
McpInstructions: () =>
|
|
27
|
-
Service: () =>
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
24
|
+
var exports_instructions4 = {};
|
|
25
|
+
__export(exports_instructions4, {
|
|
26
|
+
McpInstructions: () => exports_instructions4,
|
|
27
|
+
Service: () => Service24,
|
|
28
|
+
layer: () => layer11,
|
|
29
|
+
node: () => node29
|
|
30
30
|
});
|
|
31
31
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -62,17 +62,17 @@ var update = (previous, current) => {
|
|
|
62
62
|
`);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service24 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
const mcp = yield*
|
|
69
|
-
return
|
|
67
|
+
var layer11 = Layer.effect(Service24, Effect.gen(function* () {
|
|
68
|
+
const mcp = yield* Service27;
|
|
69
|
+
return Service24.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
72
72
|
if (!agent)
|
|
73
73
|
return empty3;
|
|
74
|
-
const source = (value) =>
|
|
75
|
-
key:
|
|
74
|
+
const source = (value) => make21({
|
|
75
|
+
key: Key3.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
78
78
|
render: {
|
|
@@ -100,6 +100,6 @@ var layer10 = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node29 = makeLocationNode({ service: Service24, layer: layer11, deps: [node31] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service24, layer11, node29, exports_instructions4 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-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,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service79,
|
|
9
9
|
node84
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-qs0gs2g1.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service77,
|
|
13
|
+
node82
|
|
14
|
+
} from "./file-retention-kcyfyv8v.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-retention-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error3,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID6,
|
|
27
|
+
Service: () => Service50,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node55,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID6 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,13 +43,13 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service50 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service79;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service77;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID6.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service50.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node55 = makeLocationNode({
|
|
144
|
+
service: Service50,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node, node84, Global.node,
|
|
146
|
+
deps: [FSUtil.node, node84, Global.node, node82]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service50, Service50.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -163,4 +163,4 @@ function failure(operation, cause) {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID6, Error3, Service50, node55, noopLayer2, exports_snapshot2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-magykp64.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info14
|
|
9
|
+
} from "./file-retention-pb1eahw5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info13
|
|
12
|
+
} from "./file-retention-evbgk2k8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info9
|
|
15
|
+
} from "./file-retention-fqb2p7cx.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info10
|
|
18
|
+
} from "./file-retention-pecb0brz.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-retention-qgn6gcr1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info16
|
|
24
|
+
} from "./file-retention-hnr5yq9h.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info8
|
|
27
|
+
} from "./file-retention-rb9d13h1.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./file-retention-5qzqc01j.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info8.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info13, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info9, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info14, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info14, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info10, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info16, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-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,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./file-retention-pmc74pb4.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service77,
|
|
11
|
+
node82
|
|
12
|
+
} from "./file-retention-kcyfyv8v.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
ID13,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
17
|
+
Service72,
|
|
18
|
+
node77,
|
|
19
|
+
Event17
|
|
20
|
+
} from "./file-retention-v6wrn1g2.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/model.ts
|
|
26
26
|
var exports_model2 = {};
|
|
@@ -28,25 +28,25 @@ __export(exports_model2, {
|
|
|
28
28
|
Capabilities: () => Capabilities2,
|
|
29
29
|
Compatibility: () => Compatibility2,
|
|
30
30
|
Cost: () => Cost2,
|
|
31
|
-
Event: () =>
|
|
31
|
+
Event: () => Event14,
|
|
32
32
|
Family: () => Family2,
|
|
33
|
-
ID: () =>
|
|
34
|
-
Info: () =>
|
|
33
|
+
ID: () => ID8,
|
|
34
|
+
Info: () => Info21,
|
|
35
35
|
Model: () => exports_model2,
|
|
36
36
|
ReasoningField: () => ReasoningField2,
|
|
37
37
|
Ref: () => Ref2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service65,
|
|
39
39
|
VariantID: () => VariantID2,
|
|
40
40
|
compatibility: () => compatibility2,
|
|
41
|
-
node: () =>
|
|
42
|
-
parse: () =>
|
|
41
|
+
node: () => node70,
|
|
42
|
+
parse: () => parse5
|
|
43
43
|
});
|
|
44
44
|
import { Model } from "@opencode/schema/model";
|
|
45
45
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import { freeze } from "immer";
|
|
48
|
-
import { Event as
|
|
49
|
-
var
|
|
48
|
+
import { Event as Event14 } from "@opencode/schema/model";
|
|
49
|
+
var ID8 = Model.ID;
|
|
50
50
|
var VariantID2 = Model.VariantID;
|
|
51
51
|
var Family2 = Model.Family;
|
|
52
52
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -54,14 +54,14 @@ var Compatibility2 = Model.Compatibility;
|
|
|
54
54
|
var Capabilities2 = Model.Capabilities;
|
|
55
55
|
var Cost2 = Model.Cost;
|
|
56
56
|
var Ref2 = Model.Ref;
|
|
57
|
-
var
|
|
57
|
+
var Info21 = Model.Info;
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service65 extends Context.Service()("@opencode/Model") {
|
|
60
60
|
}
|
|
61
|
-
var layer = Layer.effect(
|
|
62
|
-
const providers = yield*
|
|
63
|
-
const bus = yield*
|
|
64
|
-
const location = yield*
|
|
61
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
62
|
+
const providers = yield* Service72;
|
|
63
|
+
const bus = yield* Service80;
|
|
64
|
+
const location = yield* Service77;
|
|
65
65
|
let input;
|
|
66
66
|
const state = create3({
|
|
67
67
|
name: "model",
|
|
@@ -85,7 +85,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
85
85
|
const models = data.models.get(providerID);
|
|
86
86
|
if (!models)
|
|
87
87
|
return;
|
|
88
|
-
const model = models.get(modelID) ??
|
|
88
|
+
const model = models.get(modelID) ?? Info21.default(providerID, modelID);
|
|
89
89
|
update(model);
|
|
90
90
|
model.id = modelID;
|
|
91
91
|
model.providerID = providerID;
|
|
@@ -162,8 +162,8 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
162
162
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
163
163
|
});
|
|
164
164
|
});
|
|
165
|
-
yield* bus.subscribe(
|
|
166
|
-
return
|
|
165
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
166
|
+
return Service65.of({
|
|
167
167
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
168
168
|
reload,
|
|
169
169
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -182,7 +182,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
182
182
|
})
|
|
183
183
|
});
|
|
184
184
|
}));
|
|
185
|
-
var
|
|
185
|
+
var node70 = makeLocationNode({ service: Service65, layer, deps: [node77, node85, node82] });
|
|
186
186
|
function compatibility2(input) {
|
|
187
187
|
if (typeof input === "string")
|
|
188
188
|
return { reasoningField: input };
|
|
@@ -190,12 +190,12 @@ function compatibility2(input) {
|
|
|
190
190
|
return;
|
|
191
191
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function parse5(input) {
|
|
194
194
|
const index = input.indexOf("/");
|
|
195
195
|
return {
|
|
196
|
-
providerID:
|
|
197
|
-
modelID:
|
|
196
|
+
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
197
|
+
modelID: ID8.make(index === -1 ? "" : input.slice(index + 1))
|
|
198
198
|
};
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { ID8, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info21, Service65, node70, compatibility2, parse5, exports_model2, Event14 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./file-retention-pmc74pb4.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-4dgbcxzg.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event20
|
|
9
|
+
} from "./file-retention-r5depw3d.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID14
|
|
12
|
+
} from "./file-retention-mw7s1qqm.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID13,
|
|
15
|
+
Service72
|
|
16
|
+
} from "./file-retention-v6wrn1g2.js";
|
|
17
17
|
import {
|
|
18
18
|
load3,
|
|
19
19
|
derive3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-retention-b1v7x4f0.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service72;
|
|
30
|
+
const bus = yield* Service80;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./file-retention-kcyfyv8v.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service42
|
|
9
|
+
} from "./file-retention-wyj0k83d.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-ak8w4t1r.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin9
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin9 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service42;
|
|
35
|
+
const location = yield* Service77;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin9, exports_reference };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-wdrzmzfn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service42
|
|
7
|
+
} from "./file-retention-wyj0k83d.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-h1afk52f.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 make5(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* Service42;
|
|
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 make9(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
providers.models.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID8.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 make9(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make5();
|
|
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 { make5, LMStudioPlugin2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-xxynqx5z.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|