@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,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-924ykxna.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node85
|
|
8
|
+
} from "./file-retention-pmc74pb4.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service60,
|
|
11
|
+
node65
|
|
12
|
+
} from "./file-retention-4m2pmvxz.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service78,
|
|
19
|
+
node83
|
|
20
|
+
} from "./file-retention-h4qgb8xj.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-kcyfyv8v.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service61,
|
|
26
|
+
node66
|
|
27
|
+
} from "./file-retention-mab4qcb1.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-gftt206x.js";
|
|
31
31
|
import {
|
|
32
32
|
NotFoundError9
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-retention-wxffcvth.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./file-retention-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service57
|
|
39
|
+
} from "./file-retention-f73rjn58.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service67,
|
|
42
|
+
node72
|
|
43
|
+
} from "./file-retention-nnmab3m5.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service58,
|
|
48
|
+
node63,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./file-retention-kgtbg51g.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service56,
|
|
53
|
+
node62
|
|
54
|
+
} from "./file-retention-trdbzp7q.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node24
|
|
57
|
+
} from "./file-retention-1gw4hrxs.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service19,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node23
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,19 +83,19 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service19 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service78;
|
|
92
|
+
const locations = yield* Service61;
|
|
93
|
+
const store = yield* Service67;
|
|
94
|
+
const execution = yield* Service56;
|
|
95
|
+
const instances = yield* Service60;
|
|
96
|
+
const admission = yield* Service58;
|
|
97
97
|
const database = yield* Service81;
|
|
98
|
-
const bus = yield*
|
|
98
|
+
const bus = yield* Service80;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service57.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service19.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node23 = makeGlobalNode({
|
|
167
|
+
service: Service19,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
node83,
|
|
173
|
+
node66,
|
|
174
|
+
node72,
|
|
175
|
+
node62,
|
|
176
|
+
node65,
|
|
177
|
+
node63,
|
|
178
178
|
node86,
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
node85,
|
|
180
|
+
node24
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service19, node23, exports_move };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
SQLiteEffectPreparedQuery2,
|
|
3
3
|
SQLiteEffectSession2,
|
|
4
4
|
SQLiteEffectTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-jhxy2sk1.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/effect-sqlite/session.ts
|
|
8
8
|
import * as Context from "effect/Context";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-2h7tr172.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./file-retention-pmc74pb4.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./file-retention-r5depw3d.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-mw7s1qqm.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-v6wrn1g2.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID14.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID14.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -159,10 +159,10 @@ var headless = (app) => ({
|
|
|
159
159
|
}),
|
|
160
160
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var OpenAIPlugin3 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service80;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.provider.transform((providers) => {
|
|
181
|
-
const item = providers.get(
|
|
181
|
+
const item = providers.get(ID13.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
if (!chatgpt)
|
|
@@ -194,7 +194,7 @@ var OpenAIPlugin2 = define({
|
|
|
194
194
|
});
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.model.transform((models) => {
|
|
197
|
-
for (const model of models.list(
|
|
197
|
+
for (const model of models.list(ID13.openai)) {
|
|
198
198
|
models.update(model.providerID, model.id, (draft) => {
|
|
199
199
|
draft.capabilities.responsesWebsockets = true;
|
|
200
200
|
draft.websocket = true;
|
|
@@ -224,9 +224,9 @@ var OpenAIPlugin2 = define({
|
|
|
224
224
|
evt.baseURL = codexBaseURL;
|
|
225
225
|
evt.headers.originator = "opencode";
|
|
226
226
|
evt.headers["session-id"] = evt.sessionID;
|
|
227
|
-
}), { providerID:
|
|
227
|
+
}), { providerID: ID13.openai });
|
|
228
228
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
229
|
-
yield* bus.subscribe(
|
|
229
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
230
230
|
})
|
|
231
231
|
});
|
|
232
232
|
function headers(contentType, app) {
|
|
@@ -317,4 +317,4 @@ function claim(token) {
|
|
|
317
317
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
-
export {
|
|
320
|
+
export { OpenAIPlugin3 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./file-retention-pmc74pb4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node82
|
|
8
|
+
} from "./file-retention-kcyfyv8v.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID12,
|
|
11
|
+
Service70,
|
|
12
|
+
node75
|
|
13
|
+
} from "./file-retention-bsda9gvx.js";
|
|
14
14
|
import {
|
|
15
15
|
NotFoundError9
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-wxffcvth.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service67,
|
|
19
|
+
node72
|
|
20
|
+
} from "./file-retention-nnmab3m5.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
24
|
-
import {
|
|
25
|
-
Service66,
|
|
26
|
-
node71
|
|
27
|
-
} from "./location-service-map-xp03h3xb.js";
|
|
23
|
+
} from "./file-retention-y1fvbwt7.js";
|
|
28
24
|
import {
|
|
29
25
|
Service68,
|
|
30
26
|
node73
|
|
31
|
-
} from "./
|
|
27
|
+
} from "./file-retention-m2bm8kgx.js";
|
|
28
|
+
import {
|
|
29
|
+
Service69,
|
|
30
|
+
node74
|
|
31
|
+
} from "./file-retention-3zykk5as.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,29 +42,29 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
45
|
+
Event: () => Event15,
|
|
46
|
+
ID: () => ID9,
|
|
47
47
|
NotFoundError: () => NotFoundError8,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
|
-
Reply: () =>
|
|
49
|
+
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
51
|
+
Request: () => Request2,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service66,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node71
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event15 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID9 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
78
|
-
var
|
|
77
|
+
var Request2 = Permission.Request;
|
|
78
|
+
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID9.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID12.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID9,
|
|
86
|
+
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID9,
|
|
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: ID9
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service66 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
130
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service80;
|
|
132
|
+
const location = yield* Service77;
|
|
133
|
+
const agents = yield* Service70;
|
|
134
|
+
const sessions = yield* Service67;
|
|
135
|
+
const saved = yield* Service68;
|
|
136
|
+
const hooks = yield* Service69;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID9.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service66.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node71 = makeLocationNode({
|
|
289
|
+
service: Service66,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [
|
|
291
|
+
deps: [node85, node82, node75, node72, node73, node74]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID9, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service66, node71, exports_permission2, Rule3, Ruleset2, Event15 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-924ykxna.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-a1bz86dw.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info3,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service20,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node25,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info3 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service20 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make21({
|
|
65
|
+
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make20({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service81;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service20.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node25 = makeLocationNode({ service: Service20, layer, deps: [node86] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info3, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service20, node25, exports_instruction_entry };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service64,
|
|
6
|
+
node69
|
|
7
|
+
} from "./file-retention-18swyw0t.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate2 = {};
|
|
14
14
|
__export(exports_generate2, {
|
|
15
15
|
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service47,
|
|
18
|
+
UnavailableError: () => UnavailableError3,
|
|
19
|
+
layer: () => layer19,
|
|
20
|
+
node: () => node51
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
27
27
|
}) {
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
31
31
|
message: Schema.String,
|
|
32
32
|
service: Schema.optional(Schema.String)
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service47 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer19 = Layer.effect(Service47, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service64;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -47,28 +47,28 @@ var layer18 = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
47
47
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
48
48
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
49
49
|
], (error) => {
|
|
50
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
50
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
|
|
51
51
|
return Effect.fail(mapped);
|
|
52
52
|
}));
|
|
53
53
|
if (!resolved)
|
|
54
54
|
return yield* new ModelSelectionError2({
|
|
55
55
|
message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
|
|
56
56
|
});
|
|
57
|
-
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new
|
|
57
|
+
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
|
|
58
58
|
message: error.message,
|
|
59
59
|
service: resolved.ref.providerID
|
|
60
60
|
})));
|
|
61
61
|
return response.text;
|
|
62
62
|
});
|
|
63
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
63
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service47.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
70
|
-
layer:
|
|
71
|
-
deps: [
|
|
68
|
+
var node51 = makeLocationNode({
|
|
69
|
+
service: Service47,
|
|
70
|
+
layer: layer19,
|
|
71
|
+
deps: [node69, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError3, Service47, layer19, node51, exports_generate2 };
|