@opencode/core 0.0.0-dev-20166 → 0.0.0-dev-20170
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{aisdk-native-3cwb9jzf.js → pty-00832hy7.js} +8 -8
- package/dist/chunks/{aisdk-native-gxpss1xa.js → pty-07yh2w3s.js} +6 -6
- package/dist/chunks/{aisdk-native-prq7hedt.js → pty-0996nyz8.js} +9 -9
- package/dist/chunks/{aisdk-native-ncs0r9tr.js → pty-0f7yvzkx.js} +16 -16
- package/dist/chunks/{aisdk-native-7ebn0nc0.js → pty-0ft9cg2j.js} +6 -6
- package/dist/chunks/{aisdk-native-a1rbk2ft.js → pty-0hbp2t3w.js} +18 -18
- package/dist/chunks/{aisdk-native-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{aisdk-native-p1nm93x7.js → pty-0r7yqxbf.js} +5 -5
- package/dist/chunks/{aisdk-native-7hkajg4n.js → pty-17y8z6sp.js} +3 -3
- package/dist/chunks/{aisdk-native-4a1s5xyh.js → pty-1813d5zh.js} +10 -10
- package/dist/chunks/{aisdk-native-1acjjqhc.js → pty-1acjjqhc.js} +1 -1
- package/dist/chunks/{aisdk-native-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{aisdk-native-5xpznt2d.js → pty-1ed2t66p.js} +4 -4
- package/dist/chunks/{aisdk-native-eksyns0b.js → pty-1hpkc3d9.js} +20 -20
- package/dist/chunks/{aisdk-native-hz0q9sdq.js → pty-1p7f10vm.js} +8 -8
- package/dist/chunks/{aisdk-native-badk0g9a.js → pty-1sxsykr6.js} +8 -8
- package/dist/chunks/{aisdk-native-5yqszg3x.js → pty-1w51kcab.js} +30 -30
- package/dist/chunks/{aisdk-native-56gdpj1q.js → pty-1ygqh575.js} +9 -9
- package/dist/chunks/{aisdk-native-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{aisdk-native-bv15qszz.js → pty-221x7bq0.js} +16 -16
- package/dist/chunks/{aisdk-native-2402vzrj.js → pty-2402vzrj.js} +1 -1
- package/dist/chunks/{aisdk-native-r330g3qr.js → pty-27ra7qpk.js} +20 -20
- package/dist/chunks/{aisdk-native-xyf7qag9.js → pty-27xgxgv2.js} +35 -35
- package/dist/chunks/{aisdk-native-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{aisdk-native-w1091e71.js → pty-2bc87pvv.js} +7 -7
- package/dist/chunks/{aisdk-native-5vq5pev8.js → pty-2dejz1mq.js} +28 -28
- package/dist/chunks/{aisdk-native-zn4g51n9.js → pty-2gds47hr.js} +15 -15
- package/dist/chunks/{aisdk-native-9reax6ey.js → pty-2h9st16x.js} +14 -14
- package/dist/chunks/{aisdk-native-fcrkznn8.js → pty-2k8khapm.js} +5 -5
- package/dist/chunks/{aisdk-native-cpneeje0.js → pty-2sejkfem.js} +9 -9
- package/dist/chunks/{aisdk-native-t39zfvd7.js → pty-2v6ca730.js} +10 -10
- package/dist/chunks/{aisdk-native-7ff0b6qm.js → pty-33yknepq.js} +29 -29
- package/dist/chunks/{aisdk-native-bm24h9b0.js → pty-36agyrng.js} +21 -21
- package/dist/chunks/{aisdk-native-d5xmbf4y.js → pty-372k5868.js} +24 -24
- package/dist/chunks/{aisdk-native-nfz195bp.js → pty-37bbksa5.js} +67 -67
- package/dist/chunks/{aisdk-native-vn6mzfkn.js → pty-3bbgm4hs.js} +9 -9
- package/dist/chunks/{aisdk-native-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{aisdk-native-22pe7en3.js → pty-3fqt7tyn.js} +32 -32
- package/dist/chunks/{aisdk-native-dsgp01fg.js → pty-3gnkk110.js} +4 -4
- package/dist/chunks/{aisdk-native-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{aisdk-native-60e0rhdg.js → pty-3p6y7fhg.js} +44 -44
- package/dist/chunks/{aisdk-native-ecek39m2.js → pty-3pb9a38v.js} +24 -24
- package/dist/chunks/{aisdk-native-sea28k5q.js → pty-3pbjq009.js} +11 -11
- package/dist/chunks/{aisdk-native-7v2swv69.js → pty-3rkt7740.js} +24 -24
- package/dist/chunks/{aisdk-native-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{aisdk-native-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{aisdk-native-be9hed2s.js → pty-3vnaarfk.js} +10 -10
- package/dist/chunks/{aisdk-native-x4dpqgp7.js → pty-3vqxbr3s.js} +10 -10
- package/dist/chunks/{aisdk-native-raze7gex.js → pty-3yakcpj9.js} +16 -16
- package/dist/chunks/{aisdk-native-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{aisdk-native-fjz0aa7f.js → pty-40y54r5c.js} +3 -3
- package/dist/chunks/{aisdk-native-p91pbrra.js → pty-41tapkvj.js} +43 -43
- package/dist/chunks/{aisdk-native-gqm1myh4.js → pty-45tygp0h.js} +30 -30
- package/dist/chunks/{aisdk-native-gn4geh0c.js → pty-45y21gs0.js} +18 -18
- package/dist/chunks/{aisdk-native-cvpmzx8n.js → pty-47erbzba.js} +14 -14
- package/dist/chunks/{aisdk-native-zd30eb5w.js → pty-4n607a2z.js} +5 -5
- package/dist/chunks/{aisdk-native-j5nd189x.js → pty-4xgaqrq2.js} +13 -13
- package/dist/chunks/{aisdk-native-bzz3j4kr.js → pty-4z2qm7e6.js} +10 -10
- package/dist/chunks/{aisdk-native-ckecvw8r.js → pty-54tcyq79.js} +2 -2
- package/dist/chunks/{aisdk-native-7xrm22xg.js → pty-54xnztgb.js} +44 -44
- package/dist/chunks/{aisdk-native-7r1bdjm6.js → pty-571ezfbc.js} +11 -11
- package/dist/chunks/{aisdk-native-57ez7d0k.js → pty-57ez7d0k.js} +2 -2
- package/dist/chunks/{aisdk-native-g1vwh7gs.js → pty-5ar2sckv.js} +5 -5
- package/dist/chunks/{aisdk-native-1b8tarq1.js → pty-5b0bje4b.js} +25 -25
- package/dist/chunks/{aisdk-native-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{aisdk-native-eha5251d.js → pty-5dmpnzwe.js} +15 -15
- package/dist/chunks/{aisdk-native-h6r3nrb9.js → pty-5mtzsd3b.js} +4 -4
- package/dist/chunks/{aisdk-native-p7yas4pp.js → pty-5n2dsd6w.js} +5 -5
- package/dist/chunks/{aisdk-native-df338s40.js → pty-5nqyfg55.js} +24 -24
- package/dist/chunks/{aisdk-native-e3qxr5gk.js → pty-5qd3pb7m.js} +2 -2
- package/dist/chunks/{aisdk-native-t8khhztf.js → pty-5rt6txf8.js} +18 -18
- package/dist/chunks/{aisdk-native-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{aisdk-native-dqttg4zw.js → pty-60t26s16.js} +15 -15
- package/dist/chunks/{aisdk-native-e22y3be9.js → pty-60vycrkp.js} +22 -22
- package/dist/chunks/{aisdk-native-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{aisdk-native-nmvew81g.js → pty-67d35v68.js} +11 -11
- package/dist/chunks/{aisdk-native-ry9zt9dv.js → pty-6d6xcght.js} +8 -8
- package/dist/chunks/{aisdk-native-wfa4jg53.js → pty-6d77vjf5.js} +26 -26
- package/dist/chunks/{aisdk-native-p6as9sew.js → pty-6dxfrfn6.js} +39 -39
- package/dist/chunks/pty-6kdq0pjd.js +4 -0
- package/dist/chunks/{aisdk-native-jm37a8dk.js → pty-6kspbkqh.js} +24 -24
- package/dist/chunks/{aisdk-native-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{aisdk-native-x7mvejvx.js → pty-6rm04a4d.js} +4 -4
- package/dist/chunks/{aisdk-native-mvfsc1pv.js → pty-73tb2d7t.js} +3 -3
- package/dist/chunks/{aisdk-native-ty58128x.js → pty-75wwy8y2.js} +13 -13
- package/dist/chunks/{aisdk-native-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{aisdk-native-v41vjcv4.js → pty-7e8n9cs3.js} +29 -29
- package/dist/chunks/{aisdk-native-kwz2dqpt.js → pty-7end9xac.js} +29 -29
- package/dist/chunks/{aisdk-native-ek869srh.js → pty-7febzfrp.js} +27 -27
- package/dist/chunks/pty-7fj5dwt0.js +18 -0
- package/dist/chunks/{aisdk-native-kemw6cwn.js → pty-7fnyxttq.js} +4 -4
- package/dist/chunks/{aisdk-native-n6kknske.js → pty-7w357n7h.js} +13 -13
- package/dist/chunks/{aisdk-native-rewx2cv8.js → pty-7xxh74w6.js} +11 -11
- package/dist/chunks/{aisdk-native-dmag7nky.js → pty-7y7dz3xh.js} +26 -26
- package/dist/chunks/{aisdk-native-pnsbb3ch.js → pty-8anx25cs.js} +11 -11
- package/dist/chunks/{aisdk-native-df2tmfns.js → pty-8d0p2m37.js} +6 -6
- package/dist/chunks/{aisdk-native-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{aisdk-native-9fmezh6z.js → pty-8kjs0e52.js} +2 -2
- package/dist/chunks/{aisdk-native-j6axv030.js → pty-8njz7rt2.js} +19 -19
- package/dist/chunks/{aisdk-native-jtvkje2b.js → pty-8vrhx02r.js} +35 -35
- package/dist/chunks/{aisdk-native-7ca7p8ak.js → pty-8wqe6q5q.js} +82 -82
- package/dist/chunks/{aisdk-native-wp86rkxd.js → pty-8yen0vmk.js} +19 -19
- package/dist/chunks/{aisdk-native-v6v48kjp.js → pty-979hjcpa.js} +32 -32
- package/dist/chunks/{aisdk-native-v6ya2fzy.js → pty-97fmyryk.js} +9 -9
- package/dist/chunks/pty-99kmt16y.js +26 -0
- package/dist/chunks/{aisdk-native-jgjx2zn2.js → pty-99taak7k.js} +31 -31
- package/dist/chunks/{aisdk-native-mph2p600.js → pty-9by0nc1z.js} +25 -25
- package/dist/chunks/{aisdk-native-7n6vh58r.js → pty-9gea571p.js} +6 -6
- package/dist/chunks/{aisdk-native-t5e8vxk8.js → pty-9gh63tf7.js} +11 -11
- package/dist/chunks/{aisdk-native-cmkj70ft.js → pty-9kmbd9mt.js} +2 -2
- package/dist/chunks/{aisdk-native-b7v9mr6d.js → pty-9kzv5r3t.js} +5 -5
- package/dist/chunks/{aisdk-native-09yyvjj6.js → pty-9wbp47sd.js} +3 -3
- package/dist/chunks/{aisdk-native-8b6wz1s2.js → pty-9x77fmbz.js} +4 -4
- package/dist/chunks/{aisdk-native-gph6wx2b.js → pty-9zdcvzy0.js} +24 -24
- package/dist/chunks/{aisdk-native-a5xs7f5d.js → pty-a2ywx13m.js} +1 -1
- package/dist/chunks/{aisdk-native-sfjrjc0q.js → pty-a3c7ahw6.js} +4 -4
- package/dist/chunks/{aisdk-native-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{aisdk-native-c834wpnp.js → pty-afp6dc07.js} +7 -7
- package/dist/chunks/{aisdk-native-rtathh62.js → pty-ag3twsq1.js} +8 -8
- package/dist/chunks/{aisdk-native-zwrrbvf8.js → pty-avjan795.js} +9 -9
- package/dist/chunks/{aisdk-native-73gmm198.js → pty-b27vhd2z.js} +4 -4
- package/dist/chunks/{aisdk-native-pr75c60x.js → pty-b4xp5b4g.js} +6 -6
- package/dist/chunks/{aisdk-native-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{aisdk-native-de92ghnc.js → pty-bbdm7xgf.js} +4 -4
- package/dist/chunks/{aisdk-native-z91q3e0k.js → pty-bc0ha7f3.js} +80 -80
- package/dist/chunks/{aisdk-native-4gsvhmqq.js → pty-bc1mwsm1.js} +24 -24
- package/dist/chunks/{aisdk-native-a9gdze24.js → pty-bh8ht1d2.js} +7 -7
- package/dist/chunks/{aisdk-native-z07pqspn.js → pty-bjtzbw4r.js} +3 -3
- package/dist/chunks/{aisdk-native-r5bn9wzf.js → pty-bv318s69.js} +20 -20
- package/dist/chunks/{aisdk-native-7q4g3gpc.js → pty-c4n9gx9q.js} +17 -17
- package/dist/chunks/{aisdk-native-7ab805y6.js → pty-c72g4n35.js} +5 -5
- package/dist/chunks/{aisdk-native-zb9jyr62.js → pty-c9fqa78w.js} +10 -10
- package/dist/chunks/{aisdk-native-g6zze47x.js → pty-cbamtmth.js} +8 -8
- package/dist/chunks/pty-cgtg3r0q.js +511 -0
- package/dist/chunks/{aisdk-native-m0dq93hx.js → pty-ch9yp1pz.js} +25 -25
- package/dist/chunks/{aisdk-native-x5styf07.js → pty-cj3sqp0r.js} +11 -11
- package/dist/chunks/{aisdk-native-4k3j2nfq.js → pty-ckqn5b0t.js} +17 -17
- package/dist/chunks/{aisdk-native-3xmjfq4c.js → pty-cx803r68.js} +4 -4
- package/dist/chunks/{aisdk-native-rsnx4dgt.js → pty-dfncrten.js} +8 -8
- package/dist/chunks/{aisdk-native-0pr3hkd7.js → pty-dg2cj1yd.js} +4 -4
- package/dist/chunks/{aisdk-native-benftw9y.js → pty-dnh4eggc.js} +26 -26
- package/dist/chunks/{aisdk-native-607q5haz.js → pty-dq0v80fr.js} +5 -5
- package/dist/chunks/{aisdk-native-6sy2xapb.js → pty-dv4smdre.js} +25 -25
- package/dist/chunks/{aisdk-native-nca7p386.js → pty-dwvzh0g2.js} +6 -6
- package/dist/chunks/{aisdk-native-fyntrd31.js → pty-dwwvf93g.js} +11 -11
- package/dist/chunks/{aisdk-native-x3zcp5yc.js → pty-e2n265pm.js} +8 -8
- package/dist/chunks/{aisdk-native-s8d7rejh.js → pty-eaj1djv9.js} +6 -6
- package/dist/chunks/{aisdk-native-6msatqvv.js → pty-ebzz9p7s.js} +27 -27
- package/dist/chunks/{aisdk-native-ecfe7b91.js → pty-ecfe7b91.js} +2 -2
- package/dist/chunks/{aisdk-native-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{aisdk-native-t1pd95j1.js → pty-eg2tb1rm.js} +11 -11
- package/dist/chunks/{aisdk-native-fjn4kjsk.js → pty-eh24cpx8.js} +8 -8
- package/dist/chunks/{aisdk-native-n24ecswk.js → pty-eqdtwbsd.js} +6 -6
- package/dist/chunks/{aisdk-native-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{aisdk-native-4xekqt84.js → pty-ew0v584s.js} +21 -21
- package/dist/chunks/{aisdk-native-yc2sbh79.js → pty-exr53306.js} +31 -31
- package/dist/chunks/{aisdk-native-xtrc69rm.js → pty-ezqh9axr.js} +16 -16
- package/dist/chunks/{aisdk-native-618bv1wb.js → pty-f3eh0ser.js} +31 -31
- package/dist/chunks/{aisdk-native-t51qk8jz.js → pty-f3ngv102.js} +21 -21
- package/dist/chunks/{aisdk-native-06x8he3q.js → pty-f73rjn58.js} +4 -4
- package/dist/chunks/{aisdk-native-w2p5spd8.js → pty-f76fhdgf.js} +3 -3
- package/dist/chunks/{aisdk-native-yw00738g.js → pty-fjwmcm9g.js} +12 -12
- package/dist/chunks/{aisdk-native-85p9nrpp.js → pty-fne9b88m.js} +4 -4
- package/dist/chunks/{aisdk-native-0f0h8b4n.js → pty-fwpk2wm7.js} +14 -14
- package/dist/chunks/{aisdk-native-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{aisdk-native-6tvegmjw.js → pty-gfmqcfkq.js} +13 -13
- package/dist/chunks/{aisdk-native-94ek1h2f.js → pty-gfvb90ym.js} +2 -2
- package/dist/chunks/{aisdk-native-2e3jnptq.js → pty-gje89n48.js} +8 -8
- package/dist/chunks/{aisdk-native-ry4a9a4t.js → pty-gnk6yzfx.js} +41 -41
- package/dist/chunks/{aisdk-native-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{aisdk-native-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{aisdk-native-yct9dbr8.js → pty-hx5dphvg.js} +48 -48
- package/dist/chunks/{aisdk-native-a1tgash3.js → pty-hxf9ag7d.js} +43 -43
- package/dist/chunks/{aisdk-native-tky8rebp.js → pty-j1dhetpm.js} +11 -11
- package/dist/chunks/{aisdk-native-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{aisdk-native-985xde3f.js → pty-jd6az1p0.js} +11 -11
- package/dist/chunks/{aisdk-native-ta313mx8.js → pty-jmr301rc.js} +21 -21
- package/dist/chunks/{aisdk-native-jey2mpn9.js → pty-jrm07jrz.js} +15 -15
- package/dist/chunks/{aisdk-native-nx97ad9f.js → pty-jy93wyqx.js} +24 -24
- package/dist/chunks/{aisdk-native-8tqe74jz.js → pty-jyb2y6gr.js} +15 -15
- package/dist/chunks/{aisdk-native-63zd7t47.js → pty-jzsws37g.js} +12 -12
- package/dist/chunks/{aisdk-native-nzks3jc8.js → pty-k3c624dm.js} +3 -3
- package/dist/chunks/{aisdk-native-pnqe9gv0.js → pty-k53npxr2.js} +1 -1
- package/dist/chunks/{aisdk-native-st8frzem.js → pty-kahn2df4.js} +13 -13
- package/dist/chunks/{aisdk-native-hhq66pne.js → pty-kba9tdab.js} +10 -10
- package/dist/chunks/{aisdk-native-pc4rb338.js → pty-ke9c0zby.js} +48 -48
- package/dist/chunks/{aisdk-native-b7wq8w3g.js → pty-kehatjqj.js} +11 -11
- package/dist/chunks/{aisdk-native-h0sqzbsw.js → pty-kjhqpjf5.js} +3 -3
- package/dist/chunks/{aisdk-native-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{aisdk-native-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{aisdk-native-ba07h9gm.js → pty-mf9m2v67.js} +2 -2
- package/dist/chunks/{aisdk-native-t3xrh3z5.js → pty-mg0z7gqm.js} +5 -5
- package/dist/chunks/{aisdk-native-veaa02hx.js → pty-mja4j6rb.js} +8 -8
- package/dist/chunks/{aisdk-native-k8pb3j6f.js → pty-mqvas0bz.js} +11 -11
- package/dist/chunks/{aisdk-native-11zb40tz.js → pty-mrz2mfwp.js} +18 -18
- package/dist/chunks/{aisdk-native-e9mqmqx1.js → pty-mv4t038k.js} +4 -4
- package/dist/chunks/{aisdk-native-964bf8jp.js → pty-n158bs7w.js} +9 -9
- package/dist/chunks/{aisdk-native-p6hs14xm.js → pty-nb301scj.js} +6 -6
- package/dist/chunks/{aisdk-native-w8t38ta4.js → pty-nefa8w28.js} +17 -17
- package/dist/chunks/{aisdk-native-wthb5wf9.js → pty-nekn4kj4.js} +14 -14
- package/dist/chunks/{aisdk-native-4vhbetej.js → pty-nfzmfrje.js} +6 -6
- package/dist/chunks/{aisdk-native-thx2h4ny.js → pty-nndwhze1.js} +15 -15
- package/dist/chunks/{aisdk-native-nq7qbqzc.js → pty-nq7qbqzc.js} +2 -2
- package/dist/chunks/{aisdk-native-7gvwkz6m.js → pty-nxhqveyz.js} +5 -5
- package/dist/chunks/{aisdk-native-4exk4ph0.js → pty-nzfzj4ee.js} +25 -25
- package/dist/chunks/{aisdk-native-76nxygtj.js → pty-p7656wpr.js} +25 -25
- package/dist/chunks/{aisdk-native-p37cw4rj.js → pty-pa8pe2x7.js} +8 -8
- package/dist/chunks/{aisdk-native-vbh50phm.js → pty-ph20cxtq.js} +9 -9
- package/dist/chunks/{aisdk-native-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/pty-pjz83rka.js +252 -0
- package/dist/chunks/{aisdk-native-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{aisdk-native-0411afek.js → pty-prc9mp0v.js} +27 -27
- package/dist/chunks/{aisdk-native-wd3x2cqz.js → pty-psazpmmj.js} +2 -2
- package/dist/chunks/{aisdk-native-fpdxg4xy.js → pty-pwf03s6r.js} +5 -11
- package/dist/chunks/{aisdk-native-jws6fkes.js → pty-py3kkmfq.js} +8 -8
- package/dist/chunks/{aisdk-native-e74f9w2k.js → pty-q4qsq2r1.js} +7 -7
- package/dist/chunks/{aisdk-native-52b8k7fd.js → pty-qgyvxnrz.js} +3 -3
- package/dist/chunks/{aisdk-native-jht73604.js → pty-qmjzgd7a.js} +48 -48
- package/dist/chunks/{aisdk-native-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{aisdk-native-bt3m5npt.js → pty-qsra982x.js} +5 -5
- package/dist/chunks/{aisdk-native-grzyvwex.js → pty-qy4pzfzt.js} +5 -5
- package/dist/chunks/{aisdk-native-569tvpx5.js → pty-r0841nan.js} +17 -17
- package/dist/chunks/{aisdk-native-s527qr6n.js → pty-r0kh7xsn.js} +9 -9
- package/dist/chunks/{aisdk-native-3wr25a2m.js → pty-r369ybd3.js} +16 -16
- package/dist/chunks/{aisdk-native-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{aisdk-native-5t9pv2sj.js → pty-rgr7zy8c.js} +24 -24
- package/dist/chunks/{aisdk-native-msb7j328.js → pty-rt925ear.js} +11 -11
- package/dist/chunks/{aisdk-native-5k97zg4w.js → pty-rw780tjq.js} +1 -1
- package/dist/chunks/{aisdk-native-gdkgbb9c.js → pty-rx2zrev4.js} +20 -20
- package/dist/chunks/{aisdk-native-3cgcc5xm.js → pty-se2405xg.js} +8 -8
- package/dist/chunks/{aisdk-native-3fcjbxc2.js → pty-ss96nb5e.js} +8 -8
- package/dist/chunks/{aisdk-native-2f0bjgcj.js → pty-t0fxg8b9.js} +5 -5
- package/dist/chunks/{aisdk-native-mjybk9x9.js → pty-t1kj1ks6.js} +13 -13
- package/dist/chunks/{aisdk-native-ryarbw50.js → pty-t70hw2aa.js} +303 -303
- package/dist/chunks/{aisdk-native-j55r4s0a.js → pty-t9ag37r3.js} +21 -21
- package/dist/chunks/{aisdk-native-dfe8djrf.js → pty-t9zs3egg.js} +4 -4
- package/dist/chunks/{aisdk-native-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{aisdk-native-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{aisdk-native-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{aisdk-native-zppxy86t.js → pty-te7gyzaz.js} +6 -6
- package/dist/chunks/{aisdk-native-1y283654.js → pty-tjedn1bk.js} +4 -4
- package/dist/chunks/{aisdk-native-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{aisdk-native-s3tzh3t4.js → pty-twrb86q2.js} +2 -2
- package/dist/chunks/{aisdk-native-n8k4stph.js → pty-tx7gh1kr.js} +33 -33
- package/dist/chunks/{aisdk-native-sgw9vpc3.js → pty-v2fqb831.js} +5 -5
- package/dist/chunks/{aisdk-native-knwefcs2.js → pty-v64esaz8.js} +11 -11
- package/dist/chunks/{aisdk-native-dqt2sq0z.js → pty-v6aqgby1.js} +16 -16
- package/dist/chunks/{aisdk-native-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{aisdk-native-qrete4m7.js → pty-vfcs7mkg.js} +23 -23
- package/dist/chunks/{aisdk-native-65r4ge80.js → pty-vp2t77bj.js} +5 -5
- package/dist/chunks/{aisdk-native-9b00c1fb.js → pty-vxp3kcg3.js} +5 -5
- package/dist/chunks/{aisdk-native-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{aisdk-native-f37tt1n5.js → pty-vzqmaqpm.js} +22 -22
- package/dist/chunks/{aisdk-native-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{aisdk-native-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{aisdk-native-m2735k09.js → pty-w6xjr483.js} +13 -13
- package/dist/chunks/{aisdk-native-mga8kmpp.js → pty-w6yz6n38.js} +169 -169
- package/dist/chunks/{aisdk-native-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{aisdk-native-w15qa8j6.js → pty-wvtedn3t.js} +4 -4
- package/dist/chunks/{aisdk-native-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{aisdk-native-8qgz5w83.js → pty-x45rtsks.js} +13 -13
- package/dist/chunks/{aisdk-native-qk0a8rk8.js → pty-x4z8t7mn.js} +13 -13
- package/dist/chunks/{aisdk-native-5trnyhv0.js → pty-x6k9b9cw.js} +20 -20
- package/dist/chunks/{aisdk-native-ewwz3rhe.js → pty-x6vvseye.js} +9 -9
- package/dist/chunks/{aisdk-native-qgjbqkee.js → pty-xazd4z7p.js} +20 -20
- package/dist/chunks/{aisdk-native-bh68jfm4.js → pty-xbps7699.js} +12 -12
- package/dist/chunks/{aisdk-native-qqeeq2t9.js → pty-xfkkasph.js} +7 -7
- package/dist/chunks/{aisdk-native-xkntkrq7.js → pty-xkntkrq7.js} +2 -2
- package/dist/chunks/{aisdk-native-6sxk18qx.js → pty-xt0qjtha.js} +14 -14
- package/dist/chunks/{aisdk-native-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{aisdk-native-dpkg50ah.js → pty-y71avatq.js} +4 -4
- package/dist/chunks/{aisdk-native-b67v1h81.js → pty-y8vthjxv.js} +12 -12
- package/dist/chunks/{aisdk-native-syxqyv9t.js → pty-ycxstv38.js} +11 -11
- package/dist/chunks/{aisdk-native-a4gez6gy.js → pty-yhwy8nw2.js} +33 -33
- package/dist/chunks/{aisdk-native-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{aisdk-native-s4enseaf.js → pty-yrznvahk.js} +2 -2
- package/dist/chunks/{aisdk-native-vee7d757.js → pty-yttzf3nj.js} +4 -4
- package/dist/chunks/{aisdk-native-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{aisdk-native-05w46678.js → pty-z1swwevk.js} +40 -40
- package/dist/chunks/{aisdk-native-29x78va6.js → pty-z63w68vq.js} +6 -6
- package/dist/chunks/{aisdk-native-ntez8q7m.js → pty-z9ftkqee.js} +8 -8
- package/dist/chunks/{aisdk-native-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{aisdk-native-1ng7rx47.js → pty-zn493atz.js} +10 -10
- package/dist/chunks/{aisdk-native-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{aisdk-native-x353b1jt.js → pty-zrq8kphx.js} +8 -8
- package/dist/chunks/{aisdk-native-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{aisdk-native-z50w0853.js → pty-zz3dkezh.js} +12 -12
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +94 -94
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +91 -91
- 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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +130 -130
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- 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 +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -353
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +99 -99
- 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 +96 -96
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- 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 +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +91 -91
- 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 +125 -125
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +103 -103
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- 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 +92 -92
- package/dist/v1/config/permission.js +7 -7
- 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/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/aisdk-native-0mesazry.js +0 -4
- package/dist/chunks/aisdk-native-eat1ev4j.js +0 -252
- package/dist/chunks/aisdk-native-jmegf2wy.js +0 -26
- package/dist/chunks/aisdk-native-pf31ssb9.js +0 -18
- package/dist/chunks/aisdk-native-vdz668fh.js +0 -511
- /package/dist/chunks/{aisdk-native-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{aisdk-native-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{aisdk-native-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{aisdk-native-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{aisdk-native-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{aisdk-native-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{aisdk-native-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{aisdk-native-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{aisdk-native-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{aisdk-native-34c7v6d4.js → pty-34c7v6d4.js} +0 -0
- /package/dist/chunks/{aisdk-native-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{aisdk-native-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{aisdk-native-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{aisdk-native-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{aisdk-native-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{aisdk-native-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{aisdk-native-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{aisdk-native-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{aisdk-native-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{aisdk-native-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{aisdk-native-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{aisdk-native-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{aisdk-native-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{aisdk-native-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{aisdk-native-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{aisdk-native-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{aisdk-native-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{aisdk-native-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{aisdk-native-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{aisdk-native-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{aisdk-native-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{aisdk-native-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{aisdk-native-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{aisdk-native-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{aisdk-native-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{aisdk-native-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{aisdk-native-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{aisdk-native-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{aisdk-native-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{aisdk-native-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{aisdk-native-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{aisdk-native-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{aisdk-native-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{aisdk-native-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{aisdk-native-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{aisdk-native-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{aisdk-native-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{aisdk-native-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{aisdk-native-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{aisdk-native-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{aisdk-native-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{aisdk-native-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{aisdk-native-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{aisdk-native-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{aisdk-native-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{aisdk-native-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{aisdk-native-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{aisdk-native-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{aisdk-native-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{aisdk-native-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{aisdk-native-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{aisdk-native-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{aisdk-native-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{aisdk-native-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{aisdk-native-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{aisdk-native-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{aisdk-native-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{aisdk-native-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{aisdk-native-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{aisdk-native-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{aisdk-native-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{aisdk-native-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{aisdk-native-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{aisdk-native-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{aisdk-native-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{aisdk-native-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{aisdk-native-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{aisdk-native-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{aisdk-native-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{aisdk-native-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{aisdk-native-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{aisdk-native-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{aisdk-native-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{aisdk-native-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{aisdk-native-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{aisdk-native-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{aisdk-native-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{aisdk-native-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{aisdk-native-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{aisdk-native-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{aisdk-native-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./pty-jy93wyqx.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service78
|
|
13
|
+
} from "./pty-9zdcvzy0.js";
|
|
14
14
|
import {
|
|
15
15
|
Service80
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-twrb86q2.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin44
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin44 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service78;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
41
|
const location = yield* Service80;
|
|
42
|
-
const watcher = yield*
|
|
42
|
+
const watcher = yield* Service52;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin44, exports_instruction };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-mv4t038k.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service66,
|
|
8
|
+
node69
|
|
9
|
+
} from "./pty-2v6ca730.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event11,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service53,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node57,
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service53 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event11 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service66;
|
|
81
81
|
const bus = yield* Service83;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event11.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service53.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event11.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event11.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node57 = makeGlobalNode({ service: Service53, layer, deps: [httpClient, node69, node87] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service53, Event11, inspect2, resolve3, node57, exports_wellknown };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./pty-9gea571p.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-7fj5dwt0.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-97fmyryk.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service55
|
|
12
|
+
} from "./pty-3yakcpj9.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service59;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service55), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-eg2tb1rm.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-mv4t038k.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./pty-45tygp0h.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID12,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-7end9xac.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-5mtzsd3b.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID11,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service70
|
|
22
|
+
} from "./pty-t70hw2aa.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID10,
|
|
25
|
+
Info24
|
|
26
|
+
} from "./pty-2dejz1mq.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
|
|
|
35
35
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
36
36
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
37
37
|
import { Form } from "@opencode/schema/form";
|
|
38
|
-
var providerID =
|
|
39
|
-
var integrationID =
|
|
38
|
+
var providerID = ID11.gitlab;
|
|
39
|
+
var integrationID = ID12.make("gitlab");
|
|
40
40
|
var methodID = MethodID2.make("pkce");
|
|
41
41
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
42
42
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -57,7 +57,7 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
60
|
+
const providers = yield* Service70;
|
|
61
61
|
const bus = yield* Service83;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info24.default(providerID, ID10.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
|
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
221
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
222
|
-
if (evt.model.providerID !==
|
|
222
|
+
if (evt.model.providerID !== ID11.gitlab)
|
|
223
223
|
return;
|
|
224
224
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
225
225
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service54,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node58
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service54 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service54.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node58 = makeLocationNode({
|
|
137
|
+
service: Service54,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service54, node58, exports_tool_output2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make15,
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make15(tools) {
|
|
33
|
+
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render3(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make15, render3, exports_system_prompt };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-mv4t038k.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-twrb86q2.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
Service63,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
node66
|
|
15
|
+
} from "./pty-3vnaarfk.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service7,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node9
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,9 +32,9 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service7 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service83;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const store = yield* Service63;
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service7.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node9 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node87, FSUtil.node, node84,
|
|
101
|
+
deps: [node87, FSUtil.node, node84, node66]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service7, node9, exports_instructions };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make22,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make22 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make22, exports_keyed_mutex };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./pty-z1swwevk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service27
|
|
6
|
+
} from "./pty-1p7f10vm.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
observe2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-qsdy395h.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/config/plugin/policy.ts
|
|
18
18
|
var exports_policy = {};
|
|
19
19
|
__export(exports_policy, {
|
|
20
20
|
ConfigPolicyPlugin: () => exports_policy,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin38
|
|
22
22
|
});
|
|
23
23
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin38 = define({
|
|
26
26
|
id: "opencode.config.policy",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
29
|
-
const managed = yield*
|
|
28
|
+
const config = yield* Service51;
|
|
29
|
+
const managed = yield* Service27;
|
|
30
30
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
31
31
|
const policies = () => {
|
|
32
32
|
const organization = managed.current();
|
|
@@ -57,4 +57,4 @@ var Plugin2 = define({
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { Plugin38, exports_policy };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-mf9m2v67.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-97fmyryk.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-eaj1djv9.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-bjtzbw4r.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-1ed2t66p.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./pty-dg2cj1yd.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./pty-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load5,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|