@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,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-924ykxna.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service80,
|
|
10
|
+
node85
|
|
11
|
+
} from "./file-retention-pmc74pb4.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-retention-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-retention-xxynqx5z.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-retention-a1bz86dw.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info20,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service58,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
49
|
-
list: () =>
|
|
50
|
-
make: () =>
|
|
48
|
+
layer: () => layer23,
|
|
49
|
+
list: () => list4,
|
|
50
|
+
make: () => make18,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node63,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info20,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -97,7 +97,7 @@ var fromRow = (row) => {
|
|
|
97
97
|
const base = {
|
|
98
98
|
id: SessionMessage2.ID.make(row.id),
|
|
99
99
|
sessionID: SessionSchema2.ID.make(row.session_id),
|
|
100
|
-
|
|
100
|
+
time: { created: DateTime.makeUnsafe(row.time_created) }
|
|
101
101
|
};
|
|
102
102
|
if (row.type === "compaction")
|
|
103
103
|
return Compaction2.make({
|
|
@@ -135,7 +135,7 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
135
135
|
if (row.session_id !== sessionID || row.type !== "user" && row.type !== "synthetic")
|
|
136
136
|
return yield* new LifecycleConflict2({ id });
|
|
137
137
|
const message = decodeMessage({ ...row.data, id: row.id, type: row.type });
|
|
138
|
-
const base = { id, sessionID,
|
|
138
|
+
const base = { id, sessionID, time: { created: message.time.created }, delivery };
|
|
139
139
|
if (message.type === "user")
|
|
140
140
|
return User2.make({
|
|
141
141
|
...base,
|
|
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service58 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service81;
|
|
158
158
|
const db = database.db;
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service80;
|
|
160
160
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
161
161
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
162
162
|
if (existing === undefined)
|
|
@@ -173,10 +173,10 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info20.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
|
-
|
|
179
|
+
time: { created: DateTime.makeUnsafe(event.created) },
|
|
180
180
|
...request.item
|
|
181
181
|
})), Effect.catchDefect((defect) => defect instanceof LifecycleConflict2 ? find2(db, request.id).pipe(Effect.flatMap((stored) => stored === undefined ? Effect.fail(defect) : Effect.succeed(stored))) : Effect.die(defect)));
|
|
182
182
|
if (!matches(admitted, { ...request, type: request.item.type }))
|
|
@@ -193,7 +193,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
193
193
|
}
|
|
194
194
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
195
195
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
196
|
-
const pending = (yield*
|
|
196
|
+
const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
197
197
|
if (pending)
|
|
198
198
|
return pending;
|
|
199
199
|
return yield* admit({
|
|
@@ -218,7 +218,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
218
218
|
delivery: "queue"
|
|
219
219
|
})));
|
|
220
220
|
return {
|
|
221
|
-
list: (sessionID) =>
|
|
221
|
+
list: (sessionID) => list4(db, sessionID),
|
|
222
222
|
reconcile,
|
|
223
223
|
admit,
|
|
224
224
|
admitCompaction,
|
|
@@ -227,8 +227,8 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer23 = Layer.effect(Service58, make18());
|
|
231
|
+
var node63 = makeGlobalNode({ service: Service58, layer: layer23, deps: [node86, node85] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
266
266
|
from: input.delivery === "steer" ? "queue" : "steer",
|
|
267
267
|
to: input.delivery
|
|
268
268
|
}));
|
|
269
|
-
var
|
|
269
|
+
var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
270
270
|
const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
271
271
|
return rows.map(fromRow);
|
|
272
272
|
});
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info20, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service58, make18, layer23, node63, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-xxynqx5z.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -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
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID10,
|
|
17
|
+
Info: () => Info23,
|
|
18
18
|
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service68,
|
|
21
|
+
node: () => node73
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID10 = PermissionSaved.ID;
|
|
29
|
+
var Info23 = PermissionSaved.Info;
|
|
30
30
|
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service68 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service81).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID10.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service68.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node73 = makeGlobalNode({ service: Service68, layer, deps: [node86] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID10, Info23, ListInput5, AddInput2, Service68, node73, exports_saved };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-kcyfyv8v.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service61,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node66
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service61 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service61, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var node66 = LayerNode.unbound(Service61, Node.tags.values.global);
|
|
27
27
|
function canonical3(ref) {
|
|
28
28
|
return Ref4.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
@@ -31,4 +31,4 @@ function canonical3(ref) {
|
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service61, node66, canonical3, exports_location_service_map };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
7
7
|
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info15,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule2
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info15 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info15, exports_permission };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp2 = {};
|
|
10
10
|
__export(exports_mcp2, {
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
12
|
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES2 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make9(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make9 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./file-retention-kcyfyv8v.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service25
|
|
7
|
+
} from "./file-retention-q509s3k3.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service51,
|
|
10
|
+
node56
|
|
11
|
+
} from "./file-retention-jx8kcw9w.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
node19
|
|
14
|
+
} from "./file-retention-qc5a07km.js";
|
|
15
15
|
import {
|
|
16
16
|
node6
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-retention-3fp85657.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/worktree/refresh.ts
|
|
23
23
|
var exports_refresh = {};
|
|
24
24
|
__export(exports_refresh, {
|
|
25
25
|
WorktreeRefresh: () => exports_refresh,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node4
|
|
27
27
|
});
|
|
28
28
|
import { Effect, Layer } from "effect";
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
31
|
-
const location = yield*
|
|
32
|
-
const plugins = yield*
|
|
33
|
-
const worktrees = yield*
|
|
31
|
+
const location = yield* Service77;
|
|
32
|
+
const plugins = yield* Service25;
|
|
33
|
+
const worktrees = yield* Service51;
|
|
34
34
|
if (location.workspaceID)
|
|
35
35
|
return;
|
|
36
36
|
yield* plugins.awaitActivation.pipe(Effect.andThen(worktrees.refresh()), Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped);
|
|
37
37
|
}));
|
|
38
|
-
var
|
|
38
|
+
var node4 = makeLocationNode({
|
|
39
39
|
name: "worktree-refresh",
|
|
40
40
|
layer,
|
|
41
|
-
deps: [
|
|
41
|
+
deps: [node56, node82, node19, node6]
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
export {
|
|
44
|
+
export { node4, exports_refresh };
|