@opencode/core 0.0.0-dev-21769 → 0.0.0-dev-21775
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 +86 -86
- package/dist/aisdk-native.js +93 -93
- package/dist/aisdk.js +99 -99
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{job-034tev2y.js → file-retention-034tev2y.js} +2 -2
- package/dist/chunks/{job-fc676en7.js → file-retention-043edbps.js} +18 -18
- package/dist/chunks/{job-5khkhrw1.js → file-retention-05038jtd.js} +9 -9
- package/dist/chunks/{job-fr2f1m1r.js → file-retention-0c77ab74.js} +28 -28
- package/dist/chunks/{job-depqps6m.js → file-retention-0dye9s24.js} +4 -4
- package/dist/chunks/{job-p0v1dg7b.js → file-retention-0ex69mkq.js} +43 -43
- package/dist/chunks/{job-epr6pgje.js → file-retention-0gqjs8xd.js} +11 -11
- package/dist/chunks/{job-gsxca3wm.js → file-retention-0kpntjxf.js} +3 -3
- package/dist/chunks/{job-r7f1exjj.js → file-retention-1a3825m9.js} +24 -24
- package/dist/chunks/{job-camv0hkb.js → file-retention-1dt1w7eh.js} +53 -53
- package/dist/chunks/{job-5cr25at0.js → file-retention-1e1kb1f8.js} +14 -14
- package/dist/chunks/{job-1ep2p91f.js → file-retention-1ep2p91f.js} +2 -2
- package/dist/chunks/{job-p2w5ktpw.js → file-retention-1hg0zxtx.js} +10 -10
- package/dist/chunks/{job-9t6kz4yn.js → file-retention-1htg6rk5.js} +8 -8
- package/dist/chunks/{job-ecn75qh7.js → file-retention-1v3pmt1f.js} +33 -33
- package/dist/chunks/{job-1x2knyw4.js → file-retention-1x2knyw4.js} +1 -1
- package/dist/chunks/{job-s62jcsw9.js → file-retention-1yq6n76y.js} +45 -45
- package/dist/chunks/{job-0ks2n9jf.js → file-retention-1z6jjy5p.js} +6 -6
- package/dist/chunks/{job-kswqed78.js → file-retention-234ntbqc.js} +24 -24
- package/dist/chunks/{job-tq23nqd3.js → file-retention-23nwgtns.js} +7 -7
- package/dist/chunks/{job-ztf6n3de.js → file-retention-2mbjfaxd.js} +4 -4
- package/dist/chunks/{job-9f8kjqcs.js → file-retention-2qvs9jak.js} +11 -11
- package/dist/chunks/{job-16dv3vcw.js → file-retention-2vejemke.js} +13 -13
- package/dist/chunks/{job-2z1j29yd.js → file-retention-2z1j29yd.js} +1 -1
- package/dist/chunks/{job-wh1szddg.js → file-retention-30yerwvb.js} +32 -32
- package/dist/chunks/{job-zv3ngxvp.js → file-retention-3164ts83.js} +4 -4
- package/dist/chunks/{job-wzzxv2br.js → file-retention-37rj4464.js} +13 -13
- package/dist/chunks/{job-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{job-3nnrz6f6.js → file-retention-3nnrz6f6.js} +1 -1
- package/dist/chunks/{job-zh6epzxc.js → file-retention-3r7w24g9.js} +4 -4
- package/dist/chunks/{job-ns3509nx.js → file-retention-3wb8nyxx.js} +17 -17
- package/dist/chunks/{job-ra34yqmw.js → file-retention-3xv5yes5.js} +6 -6
- package/dist/chunks/{job-w2eysc6j.js → file-retention-40za9wsf.js} +9 -9
- package/dist/chunks/{job-0vwjk0zk.js → file-retention-4hh7j8bj.js} +23 -23
- package/dist/chunks/file-retention-4t67gtqn.js +257 -0
- package/dist/chunks/{job-4v008n1t.js → file-retention-4v008n1t.js} +1 -1
- package/dist/chunks/{job-wkbqnrhq.js → file-retention-4vc6yp1q.js} +33 -33
- package/dist/chunks/{job-4xvmh7wp.js → file-retention-4xvmh7wp.js} +3 -3
- package/dist/chunks/{job-47tzqap1.js → file-retention-4y5adm9d.js} +45 -45
- package/dist/chunks/{job-x0mraq11.js → file-retention-562s2c64.js} +32 -32
- package/dist/chunks/{job-84s6ykaf.js → file-retention-5784b4h2.js} +6 -6
- package/dist/chunks/{job-y3seyarw.js → file-retention-5ej6fcjw.js} +6 -6
- package/dist/chunks/{job-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
- package/dist/chunks/{job-4wz891kw.js → file-retention-5tw9zmff.js} +89 -89
- package/dist/chunks/{job-fjqb5k1e.js → file-retention-5yj1svp7.js} +23 -23
- package/dist/chunks/{job-583bpm5a.js → file-retention-5yvm9gq4.js} +16 -16
- package/dist/chunks/{job-nvzbks2x.js → file-retention-5yw85qpw.js} +28 -28
- package/dist/chunks/{job-9g9gr9cr.js → file-retention-62n5agxz.js} +2 -2
- package/dist/chunks/{job-tmbyavd7.js → file-retention-6481hcqs.js} +11 -11
- package/dist/chunks/{job-f1714srx.js → file-retention-66hxanz0.js} +26 -26
- package/dist/chunks/{job-apzcc30e.js → file-retention-6a2eq7nz.js} +14 -14
- package/dist/chunks/{job-7e6v05zy.js → file-retention-6cahmqzr.js} +8 -8
- package/dist/chunks/{job-gck8kagd.js → file-retention-6dw9a62t.js} +83 -83
- package/dist/chunks/{job-6esdw8yj.js → file-retention-6esdw8yj.js} +1 -1
- package/dist/chunks/{job-m73cv6xb.js → file-retention-6g7e0vcw.js} +15 -15
- package/dist/chunks/{job-6pjqjmy2.js → file-retention-6pjqjmy2.js} +1 -1
- package/dist/chunks/{job-nx86nf9y.js → file-retention-6tx8rgr5.js} +12 -12
- package/dist/chunks/{job-5bdgdw8y.js → file-retention-6z77c2r8.js} +19 -19
- package/dist/chunks/{job-qzq84z6s.js → file-retention-74by25sn.js} +22 -22
- package/dist/chunks/{job-43wdc5jv.js → file-retention-757kxfk5.js} +5 -5
- package/dist/chunks/{job-76cb1hcw.js → file-retention-76cb1hcw.js} +1 -1
- package/dist/chunks/{job-7vak5zc2.js → file-retention-79zrs9sr.js} +11 -11
- package/dist/chunks/{job-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{job-dbws61np.js → file-retention-7ta0ytq2.js} +36 -36
- package/dist/chunks/{job-7w2ypzdf.js → file-retention-7w2ypzdf.js} +1 -1
- package/dist/chunks/{job-scpjc83d.js → file-retention-7zkdf223.js} +13 -13
- package/dist/chunks/{job-hvd2kv94.js → file-retention-7zkpzyeb.js} +25 -25
- package/dist/chunks/{job-aaff687b.js → file-retention-802q13vp.js} +7 -7
- package/dist/chunks/{job-ex6nx2y3.js → file-retention-86nyzsdp.js} +2 -2
- package/dist/chunks/{job-mcd69q5a.js → file-retention-8aaegyc4.js} +4 -4
- package/dist/chunks/{job-h5qan5zz.js → file-retention-8esf06c6.js} +7 -7
- package/dist/chunks/{job-ncngwgvw.js → file-retention-8gaq3e8g.js} +9 -9
- package/dist/chunks/{job-vw6ggxxz.js → file-retention-8k7fs4yk.js} +5 -5
- package/dist/chunks/{job-8r6n0qax.js → file-retention-8r6n0qax.js} +1 -1
- package/dist/chunks/{job-z744zbef.js → file-retention-8rqkymsz.js} +5 -5
- package/dist/chunks/{job-bmy8j4r4.js → file-retention-8w0qx81v.js} +19 -19
- package/dist/chunks/{job-8wtp7s3z.js → file-retention-8wtp7s3z.js} +1 -1
- package/dist/chunks/{job-91rj84md.js → file-retention-91rj84md.js} +1 -1
- package/dist/chunks/{job-knqff586.js → file-retention-995kf3fb.js} +21 -21
- package/dist/chunks/{job-xvj3yh3y.js → file-retention-9bz5f2aq.js} +21 -21
- package/dist/chunks/{job-nz5v6eva.js → file-retention-9nz28cm2.js} +11 -11
- package/dist/chunks/{job-tja1dekk.js → file-retention-9qp5p8zq.js} +21 -21
- package/dist/chunks/{job-6esat3dy.js → file-retention-9xhfncsk.js} +34 -34
- package/dist/chunks/{job-ybs6eh6e.js → file-retention-a0vny5h5.js} +17 -17
- package/dist/chunks/{job-1ja2188j.js → file-retention-a1qdfkze.js} +3 -3
- package/dist/chunks/{job-yg961279.js → file-retention-a37vbyfx.js} +19 -19
- package/dist/chunks/{job-fx7ad7ay.js → file-retention-a5dtds7w.js} +5 -5
- package/dist/chunks/{job-gy2dz943.js → file-retention-adgmyams.js} +42 -42
- package/dist/chunks/{job-9ss6xp4s.js → file-retention-af63jp32.js} +21 -21
- package/dist/chunks/{job-n7h9bzpm.js → file-retention-ahrm6a4v.js} +30 -30
- package/dist/chunks/{job-rgh5y1qf.js → file-retention-as38c070.js} +14 -14
- package/dist/chunks/{job-39r35hjc.js → file-retention-atnbxq3j.js} +24 -24
- package/dist/chunks/{job-remzmqqq.js → file-retention-av5ks0e5.js} +9 -9
- package/dist/chunks/{job-dxpen564.js → file-retention-ay3eg20d.js} +16 -16
- package/dist/chunks/{job-6t2pfjaf.js → file-retention-ay8p2qby.js} +69 -69
- package/dist/chunks/{job-ayjs7tqn.js → file-retention-ayjs7tqn.js} +2 -2
- package/dist/chunks/{job-b0mv4wxm.js → file-retention-b0mv4wxm.js} +2 -2
- package/dist/chunks/{job-znrz3tsp.js → file-retention-b3zqj1fn.js} +30 -30
- package/dist/chunks/{job-ar2j3j0f.js → file-retention-bjhzkqyk.js} +4 -4
- package/dist/chunks/{job-5k53810x.js → file-retention-bqwdyg2t.js} +9 -9
- package/dist/chunks/{job-xd9cc171.js → file-retention-bstexjd6.js} +5 -5
- package/dist/chunks/{job-8whp40kv.js → file-retention-c2sed5cq.js} +3 -3
- package/dist/chunks/{job-e2x7gzav.js → file-retention-c3cfh5w6.js} +5 -5
- package/dist/chunks/{job-yhhh4091.js → file-retention-c7nehh90.js} +6 -6
- package/dist/chunks/{job-n42g3edw.js → file-retention-c9x3pgse.js} +14 -14
- package/dist/chunks/{job-pbcze09t.js → file-retention-cf7x3ksa.js} +25 -25
- package/dist/chunks/{job-k8qp89s0.js → file-retention-cjy4375a.js} +4 -4
- package/dist/chunks/{job-yd0y5s3p.js → file-retention-cn5vzm85.js} +5 -5
- package/dist/chunks/{job-pxddkxrv.js → file-retention-d0z36nkj.js} +23 -23
- package/dist/chunks/{job-d2887f8n.js → file-retention-d2887f8n.js} +1 -1
- package/dist/chunks/{job-a2kb6evq.js → file-retention-d356z46s.js} +25 -25
- package/dist/chunks/{job-kfxybkfb.js → file-retention-d3k5k72a.js} +13 -13
- package/dist/chunks/{job-d4v9tmah.js → file-retention-d4v9tmah.js} +2 -2
- package/dist/chunks/{job-vg54vqq3.js → file-retention-d4yvfdjq.js} +14 -14
- package/dist/chunks/{job-9z0av7hh.js → file-retention-d5wa0b2s.js} +3 -3
- package/dist/chunks/{job-vxdv8enp.js → file-retention-d63vatx9.js} +4 -4
- package/dist/chunks/{job-28bw8fhx.js → file-retention-d6n7qg8p.js} +21 -21
- package/dist/chunks/{job-2nwxwjsv.js → file-retention-d7tcj48j.js} +6 -6
- package/dist/chunks/{job-fd7zhv5w.js → file-retention-dbx6pzfq.js} +8 -8
- package/dist/chunks/{job-0ss1ygn7.js → file-retention-dh62xe4r.js} +3 -3
- package/dist/chunks/{job-hkfzr3qs.js → file-retention-dk26t417.js} +18 -18
- package/dist/chunks/{job-q7f22vqs.js → file-retention-dqyjxj68.js} +14 -14
- package/dist/chunks/{job-5qd3pb7m.js → file-retention-e3qxr5gk.js} +2 -2
- package/dist/chunks/{job-e834z07m.js → file-retention-e834z07m.js} +1 -1
- package/dist/chunks/{job-arjazfzt.js → file-retention-ehw7gamr.js} +32 -32
- package/dist/chunks/{job-20egsq1j.js → file-retention-en82s9xt.js} +21 -21
- package/dist/chunks/{job-pst95rh6.js → file-retention-enz9anj1.js} +7 -7
- package/dist/chunks/{job-kqcny68j.js → file-retention-eqtjzdmt.js} +16 -16
- package/dist/chunks/{job-2apr77yk.js → file-retention-exyf3fed.js} +10 -10
- package/dist/chunks/{job-94mtnjey.js → file-retention-ezw660nq.js} +5 -5
- package/dist/chunks/{job-53jfmczm.js → file-retention-f0cbaec5.js} +45 -45
- package/dist/chunks/{job-evnxe1t3.js → file-retention-fbx1pf6w.js} +27 -27
- package/dist/chunks/{job-jrpt0x7s.js → file-retention-fe3ptvc8.js} +18 -18
- package/dist/chunks/{job-37kv6ch5.js → file-retention-feghes5g.js} +15 -15
- package/dist/chunks/{job-fffv3p7h.js → file-retention-fffv3p7h.js} +1 -1
- package/dist/chunks/{job-qcaw7b25.js → file-retention-ffnxs1x0.js} +7 -7
- package/dist/chunks/{job-26ew88hr.js → file-retention-fg9nnp40.js} +10 -10
- package/dist/chunks/{job-z7rdq9h9.js → file-retention-fhj25s52.js} +35 -35
- package/dist/chunks/{job-fnrac0zs.js → file-retention-fnrac0zs.js} +3 -3
- package/dist/chunks/{job-7tabfc5z.js → file-retention-fpecf9xp.js} +4 -4
- package/dist/chunks/{job-m5tdmyf8.js → file-retention-frt8zmm9.js} +11 -11
- package/dist/chunks/{job-wr3re1en.js → file-retention-fznmdakp.js} +4 -4
- package/dist/chunks/{job-wcjcqx7r.js → file-retention-g2cjact9.js} +179 -179
- package/dist/chunks/{job-g5h9c0rr.js → file-retention-g5h9c0rr.js} +2 -2
- package/dist/chunks/{job-6twykydk.js → file-retention-gcjdgkn2.js} +9 -9
- package/dist/chunks/{job-gczz9yj9.js → file-retention-h31vq76g.js} +10 -10
- package/dist/chunks/{job-njpeg46w.js → file-retention-h5dyhw6p.js} +30 -30
- package/dist/chunks/{job-qv7y9773.js → file-retention-h7d4rbrg.js} +8 -8
- package/dist/chunks/{job-5zrdbxqg.js → file-retention-he1xcvzj.js} +6 -6
- package/dist/chunks/{job-djenqm91.js → file-retention-hfbj6knv.js} +17 -17
- package/dist/chunks/{job-v6x17yts.js → file-retention-hj1ah81s.js} +27 -27
- package/dist/chunks/{job-f920t01j.js → file-retention-hjznzsdn.js} +11 -11
- package/dist/chunks/{job-pe3cx1rh.js → file-retention-hz9cscar.js} +3 -3
- package/dist/chunks/{job-j113cymg.js → file-retention-j113cymg.js} +1 -1
- package/dist/chunks/{job-mmqqzpqt.js → file-retention-ja8b98rf.js} +8 -8
- package/dist/chunks/{job-b4tgvdq8.js → file-retention-jc09y3gx.js} +5 -5
- package/dist/chunks/{job-y2tacs4v.js → file-retention-jchrqzf6.js} +8 -8
- package/dist/chunks/{job-08qb8cpk.js → file-retention-jd8b4czr.js} +16 -16
- package/dist/chunks/{job-2rk1rt4t.js → file-retention-jp659ej9.js} +15 -15
- package/dist/chunks/{job-kydd8msv.js → file-retention-jsy02eqp.js} +13 -13
- package/dist/chunks/{job-zwpf9d54.js → file-retention-jy12te0b.js} +12 -12
- package/dist/chunks/file-retention-jztn5z23.js +18 -0
- package/dist/chunks/{job-f5dp5tjf.js → file-retention-k6rztwfs.js} +16 -16
- package/dist/chunks/{job-k814nvkf.js → file-retention-k814nvkf.js} +1 -1
- package/dist/chunks/{job-an1bgbrs.js → file-retention-kd9fhfv6.js} +14 -14
- package/dist/chunks/{job-gdfzdzpc.js → file-retention-kf3903q6.js} +2 -2
- package/dist/chunks/{job-v5hpj9dd.js → file-retention-kmzgegqq.js} +8 -8
- package/dist/chunks/{job-mh49ygfm.js → file-retention-kp5tvjar.js} +8 -8
- package/dist/chunks/{job-w5zzsnsq.js → file-retention-kqhr5b96.js} +21 -21
- package/dist/chunks/{job-6xtbfj1t.js → file-retention-ks30mcjv.js} +11 -11
- package/dist/chunks/{job-82zcjnqr.js → file-retention-ktrds4tk.js} +6 -6
- package/dist/chunks/{job-p0nc07rp.js → file-retention-kv52dac4.js} +19 -19
- package/dist/chunks/{job-52k246vf.js → file-retention-kzcwk5ky.js} +11 -11
- package/dist/chunks/{job-ahdrzpm3.js → file-retention-m0ef4zea.js} +15 -15
- package/dist/chunks/{job-m1714858.js → file-retention-m1714858.js} +1 -1
- package/dist/chunks/{job-nr7vhnnk.js → file-retention-m8f63jhp.js} +28 -28
- package/dist/chunks/{job-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{job-c5kbb5wz.js → file-retention-mamyemm0.js} +17 -17
- package/dist/chunks/{job-maspj1v3.js → file-retention-maspj1v3.js} +1 -1
- package/dist/chunks/{job-0scxkcpb.js → file-retention-mc4sw9w4.js} +10 -10
- package/dist/chunks/{job-8y31xnqm.js → file-retention-mjagy123.js} +5 -5
- package/dist/chunks/{job-kbmq0v6f.js → file-retention-mqcadzqw.js} +5 -5
- package/dist/chunks/{job-b14rbhb8.js → file-retention-mr15razv.js} +16 -16
- package/dist/chunks/{job-119f5b36.js → file-retention-mv49vzrc.js} +26 -26
- package/dist/chunks/{job-1q2jq27z.js → file-retention-mv7k79ef.js} +52 -52
- package/dist/chunks/{job-n0p0277s.js → file-retention-n0p0277s.js} +1 -1
- package/dist/chunks/{job-h2n7r74f.js → file-retention-n0wvcyfn.js} +3 -3
- package/dist/chunks/{job-gbmftvqf.js → file-retention-n1s97216.js} +24 -24
- package/dist/chunks/{job-eq3fc1qc.js → file-retention-n9p72mjb.js} +5 -5
- package/dist/chunks/{job-pqt9zwfg.js → file-retention-na64j5m8.js} +19 -19
- package/dist/chunks/{job-770pw0s1.js → file-retention-nah043kf.js} +4 -4
- package/dist/chunks/{job-f9y7rgek.js → file-retention-ndyybwqb.js} +24 -24
- package/dist/chunks/{job-t7crs469.js → file-retention-njc35j2b.js} +17 -17
- package/dist/chunks/{job-fbjqxkhq.js → file-retention-nm4377q9.js} +8 -8
- package/dist/chunks/{job-y4y3pk0p.js → file-retention-nnsghjk2.js} +31 -31
- package/dist/chunks/{job-p015t6z3.js → file-retention-p015t6z3.js} +2 -2
- package/dist/chunks/{job-da6fg7bf.js → file-retention-p22znmy8.js} +11 -11
- package/dist/chunks/{job-jtffzj31.js → file-retention-p2mqe0hz.js} +14 -14
- package/dist/chunks/{job-p7vhpwh8.js → file-retention-p7vhpwh8.js} +1 -1
- package/dist/chunks/{job-rdt41fq6.js → file-retention-pdf3vz88.js} +14 -14
- package/dist/chunks/{job-dg9c8t3h.js → file-retention-pfwczevg.js} +12 -12
- package/dist/chunks/{job-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{job-9cv4a244.js → file-retention-pnx1meeb.js} +51 -51
- package/dist/chunks/{job-h4sdh7h0.js → file-retention-prazahgm.js} +5 -5
- package/dist/chunks/{job-60xzm7qg.js → file-retention-ps196dw6.js} +22 -22
- package/dist/chunks/{job-vm1za7ea.js → file-retention-pv1g07z8.js} +25 -25
- package/dist/chunks/file-retention-q2x3hw9d.js +26 -0
- package/dist/chunks/{job-xx1hb7y0.js → file-retention-q404j35s.js} +52 -52
- package/dist/chunks/{job-k445mj8j.js → file-retention-q83y25yv.js} +7 -7
- package/dist/chunks/file-retention-qegqjw48.js +517 -0
- package/dist/chunks/{job-qjgzc4b4.js → file-retention-qjgzc4b4.js} +1 -1
- package/dist/chunks/{job-wmjzvx4b.js → file-retention-qqg9c0kv.js} +4 -4
- package/dist/chunks/{job-yjhfx4bd.js → file-retention-qr4bptwr.js} +32 -32
- package/dist/chunks/{job-7d5qm50q.js → file-retention-r09k0ff8.js} +18 -18
- package/dist/chunks/{job-r0yr0wbs.js → file-retention-r0yr0wbs.js} +1 -1
- package/dist/chunks/{job-g1wzde80.js → file-retention-r8q5fgtf.js} +33 -33
- package/dist/chunks/{job-rb9dy4dg.js → file-retention-rb9dy4dg.js} +1 -1
- package/dist/chunks/{job-jfe6vke4.js → file-retention-re267s79.js} +14 -14
- package/dist/chunks/{job-5ymb4c83.js → file-retention-rkvrbxb1.js} +5 -5
- package/dist/chunks/{job-rt5dr6hb.js → file-retention-rt5dr6hb.js} +1 -1
- package/dist/chunks/{job-pvhqm9qt.js → file-retention-s27aztda.js} +3 -3
- package/dist/chunks/{job-x6jbvcqn.js → file-retention-s6rab191.js} +30 -30
- package/dist/chunks/{job-g6dfma3d.js → file-retention-s7xmnr8t.js} +2 -2
- package/dist/chunks/{job-sa3fpqfw.js → file-retention-sa3fpqfw.js} +2 -2
- package/dist/chunks/{job-r6274ehh.js → file-retention-sc8prgdb.js} +10 -10
- package/dist/chunks/{job-zr4zxcvs.js → file-retention-sfp4tb26.js} +4 -4
- package/dist/chunks/{job-sqjzf8x2.js → file-retention-sqjzf8x2.js} +1 -1
- package/dist/chunks/{job-7xg2jm5b.js → file-retention-szcgc7h4.js} +5 -5
- package/dist/chunks/{job-pkc0k2vt.js → file-retention-t39e16tb.js} +11 -11
- package/dist/chunks/{job-tnbwmwd1.js → file-retention-t8cetwdg.js} +1 -1
- package/dist/chunks/{job-366j26e9.js → file-retention-t9bqp2qp.js} +11 -11
- package/dist/chunks/{job-tczq8hjw.js → file-retention-tczq8hjw.js} +1 -1
- package/dist/chunks/{job-0dgdsqet.js → file-retention-tp6pqz2g.js} +15 -15
- package/dist/chunks/{job-0421tmwc.js → file-retention-tpm1qpxt.js} +9 -9
- package/dist/chunks/{job-twv2r8f4.js → file-retention-twv2r8f4.js} +2 -2
- package/dist/chunks/{job-v2r1d0zg.js → file-retention-v2r1d0zg.js} +1 -1
- package/dist/chunks/{job-vd3b3yk9.js → file-retention-vd3b3yk9.js} +1 -1
- package/dist/chunks/{job-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/{job-m37sd98t.js → file-retention-vmfhgzt5.js} +4 -4
- package/dist/chunks/{job-jmkewtaa.js → file-retention-vx3z2ta8.js} +18 -18
- package/dist/chunks/{job-6tmc47e9.js → file-retention-w0e5cwhb.js} +34 -34
- package/dist/chunks/{job-wwff91f0.js → file-retention-w29j0fga.js} +8 -8
- package/dist/chunks/{job-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{job-n0tj34em.js → file-retention-w4488581.js} +4 -4
- package/dist/chunks/{job-9698zk4s.js → file-retention-w46nxhz5.js} +10 -10
- package/dist/chunks/{job-wakvkjy4.js → file-retention-wakvkjy4.js} +1 -1
- package/dist/chunks/{job-xwwhhgzj.js → file-retention-wb3zghwg.js} +41 -41
- package/dist/chunks/{job-13pdjzv6.js → file-retention-wbmtbw5y.js} +5 -5
- package/dist/chunks/{job-f6760svz.js → file-retention-wctyzwyk.js} +32 -32
- package/dist/chunks/{job-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{job-v55y79rk.js → file-retention-wj8797dk.js} +20 -20
- package/dist/chunks/{job-qg5f7gjj.js → file-retention-wv1byjhn.js} +46 -46
- package/dist/chunks/{job-w34c9974.js → file-retention-wwyg2b72.js} +16 -16
- package/dist/chunks/{job-rztpp74y.js → file-retention-x6n10bgh.js} +18 -18
- package/dist/chunks/{job-3z1vpydx.js → file-retention-x8570257.js} +9 -9
- package/dist/chunks/{job-5rga4f4j.js → file-retention-xha7ydwr.js} +15 -15
- package/dist/chunks/{job-c0vy79rr.js → file-retention-xjmvvx28.js} +12 -12
- package/dist/chunks/{job-y5kj77y0.js → file-retention-xjvykbh7.js} +21 -21
- package/dist/chunks/{job-e56tv2gp.js → file-retention-xk76yr4x.js} +34 -34
- package/dist/chunks/{job-t9apbavc.js → file-retention-xk8af61m.js} +20 -20
- package/dist/chunks/{job-hmg81b6k.js → file-retention-xw52kzy1.js} +23 -23
- package/dist/chunks/{job-ym942sgn.js → file-retention-y755953d.js} +32 -32
- package/dist/chunks/{job-tdxr7z3z.js → file-retention-y7gf4t9q.js} +20 -20
- package/dist/chunks/{job-y8r7cztq.js → file-retention-y8dsb888.js} +18 -18
- package/dist/chunks/{job-xamg7gyx.js → file-retention-yar054mm.js} +33 -33
- package/dist/chunks/{job-yb20nhc3.js → file-retention-yb20nhc3.js} +1 -1
- package/dist/chunks/{job-42jz0z2e.js → file-retention-ycrb3cr5.js} +15 -15
- package/dist/chunks/{job-akkxyg39.js → file-retention-yhen3jxk.js} +4 -4
- package/dist/chunks/{job-n1nxxwrn.js → file-retention-ymh0wyfn.js} +18 -18
- package/dist/chunks/{job-2dzgz620.js → file-retention-ymzrk7b3.js} +3 -3
- package/dist/chunks/{job-ntkpsd1e.js → file-retention-ys018t90.js} +40 -40
- package/dist/chunks/{job-7rnywhzj.js → file-retention-yz0q7a5m.js} +30 -30
- package/dist/chunks/{job-7xwhy6a6.js → file-retention-yzptcycq.js} +1 -1
- package/dist/chunks/{job-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{job-z38nccrw.js → file-retention-z38nccrw.js} +1 -1
- package/dist/chunks/{job-mbmrkx0x.js → file-retention-zbkhh3g1.js} +35 -35
- package/dist/chunks/{job-4pw98qd4.js → file-retention-zfyb5tr4.js} +4 -4
- package/dist/chunks/{job-22q7r8y9.js → file-retention-zjrarrrn.js} +9 -9
- package/dist/chunks/{job-zkg84ctx.js → file-retention-zkg84ctx.js} +1 -1
- package/dist/chunks/{job-fqvg45x9.js → file-retention-zt6m90gj.js} +8 -8
- package/dist/chunks/{job-84e0t9rk.js → file-retention-ztpn6ax8.js} +7 -7
- package/dist/chunks/{job-b9r20099.js → file-retention-zz0wb7w6.js} +29 -29
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +103 -103
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +117 -117
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +106 -106
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +88 -88
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration.gen.js +52 -52
- package/dist/database/migration.js +54 -54
- 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 +91 -91
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +97 -97
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +108 -108
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +108 -108
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +91 -91
- package/dist/generate.js +109 -109
- package/dist/git.js +11 -11
- 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 +103 -103
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +91 -91
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +90 -90
- package/dist/job.js +81 -81
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +76 -76
- package/dist/location-activity.js +157 -157
- package/dist/location-lifecycle.js +111 -111
- package/dist/location-service-map.js +90 -90
- package/dist/location-services.js +359 -359
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +95 -95
- package/dist/mcp/index.js +113 -113
- package/dist/mcp/instructions.js +142 -142
- package/dist/mcp/oauth.js +81 -81
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +94 -94
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +103 -103
- package/dist/model-resolver.js +103 -103
- package/dist/model-retry.js +1 -1
- package/dist/model.js +106 -106
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +85 -85
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +93 -93
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +78 -78
- package/dist/plugin/agent.js +79 -79
- package/dist/plugin/command.js +106 -106
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +100 -100
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +106 -106
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +94 -94
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +117 -117
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +97 -97
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +99 -99
- package/dist/plugin/provider/gitlab.js +97 -97
- package/dist/plugin/provider/google-vertex.js +114 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +81 -81
- package/dist/plugin/provider/lmstudio.js +126 -126
- package/dist/plugin/provider/local.js +123 -123
- package/dist/plugin/provider/modal.js +96 -96
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +126 -126
- package/dist/plugin/provider/openai-context-caps.js +94 -94
- package/dist/plugin/provider/openai.js +117 -117
- package/dist/plugin/provider/opencode.js +102 -102
- package/dist/plugin/provider/openrouter.js +95 -95
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +82 -82
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +95 -95
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +94 -94
- package/dist/plugin/provider/vllm.js +126 -126
- package/dist/plugin/provider/xai.js +95 -95
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +79 -79
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +90 -90
- package/dist/plugin/vcs/hg.js +90 -90
- package/dist/plugin/verbosity.js +97 -97
- package/dist/plugin/warming.js +115 -115
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +105 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +100 -100
- package/dist/reference/instructions.js +93 -93
- package/dist/reference.js +95 -95
- package/dist/repository-cache.js +85 -85
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +101 -101
- package/dist/rpc.js +90 -90
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +77 -77
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +166 -166
- package/dist/session/diff.js +92 -92
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +82 -82
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +124 -124
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +134 -134
- package/dist/session/projector.js +92 -92
- package/dist/session/prompt.js +109 -109
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +98 -98
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +102 -102
- package/dist/session/runner/publish-llm-event.js +117 -117
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +130 -130
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +76 -76
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +213 -213
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +170 -170
- package/dist/session/to-session-error.js +116 -116
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +111 -111
- package/dist/skill.js +118 -118
- package/dist/snapshot.js +97 -97
- 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 +139 -139
- package/dist/tool/plugin/edit.js +124 -124
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +128 -128
- package/dist/tool/plugin/grep.js +128 -128
- package/dist/tool/plugin/mcp-resource.js +128 -128
- package/dist/tool/plugin/opencode.js +113 -113
- package/dist/tool/plugin/patch.js +126 -126
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +129 -129
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +117 -117
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/todo.js +139 -139
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +106 -106
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +96 -96
- package/dist/v1/config/permission.js +5 -5
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +93 -93
- package/dist/voice.js +91 -91
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +79 -79
- package/dist/wellknown.js +84 -84
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +83 -83
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +93 -93
- package/dist/worktree.js +102 -102
- package/package.json +8 -8
- package/dist/chunks/job-02qq5yf1.js +0 -26
- package/dist/chunks/job-ac070vvz.js +0 -517
- package/dist/chunks/job-yyw85dpm.js +0 -257
- package/dist/chunks/job-z355x5yr.js +0 -18
- /package/dist/chunks/{job-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{job-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{job-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{job-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{job-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{job-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{job-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
- /package/dist/chunks/{job-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{job-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{job-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{job-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{job-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{job-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{job-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{job-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{job-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{job-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{job-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{job-5fjb7ams.js → file-retention-5fjb7ams.js} +0 -0
- /package/dist/chunks/{job-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{job-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{job-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{job-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{job-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{job-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
- /package/dist/chunks/{job-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{job-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{job-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
- /package/dist/chunks/{job-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{job-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{job-a058387c.js → file-retention-a058387c.js} +0 -0
- /package/dist/chunks/{job-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{job-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{job-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{job-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{job-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{job-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{job-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{job-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{job-cqv5kn06.js → file-retention-cqv5kn06.js} +0 -0
- /package/dist/chunks/{job-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{job-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{job-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{job-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{job-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{job-dbztejgq.js → file-retention-dbztejgq.js} +0 -0
- /package/dist/chunks/{job-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{job-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{job-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{job-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{job-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{job-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{job-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{job-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{job-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{job-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{job-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{job-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{job-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{job-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{job-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{job-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
- /package/dist/chunks/{job-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{job-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{job-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{job-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{job-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{job-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{job-jze0r7bz.js → file-retention-jze0r7bz.js} +0 -0
- /package/dist/chunks/{job-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{job-m18g726c.js → file-retention-m18g726c.js} +0 -0
- /package/dist/chunks/{job-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{job-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{job-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{job-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{job-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{job-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{job-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{job-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{job-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{job-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{job-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{job-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{job-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{job-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{job-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{job-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
- /package/dist/chunks/{job-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{job-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{job-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{job-wjj7prxr.js → file-retention-wjj7prxr.js} +0 -0
- /package/dist/chunks/{job-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{job-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{job-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{job-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{job-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{job-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{job-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{job-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{job-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,79 +1,79 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-a1qdfkze.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-3r7w24g9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service48
|
|
9
|
+
} from "./file-retention-3xv5yes5.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-k814nvkf.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError7,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-d7tcj48j.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-retention-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service55
|
|
29
|
+
} from "./file-retention-1e1kb1f8.js";
|
|
30
30
|
import {
|
|
31
31
|
SyntheticPayload2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
Service46
|
|
33
|
+
} from "./file-retention-6a2eq7nz.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service44
|
|
36
|
+
} from "./file-retention-4vc6yp1q.js";
|
|
37
37
|
import {
|
|
38
38
|
prepare2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./file-retention-jd8b4czr.js";
|
|
40
40
|
import {
|
|
41
41
|
stage2,
|
|
42
42
|
clear2,
|
|
43
43
|
commit2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./file-retention-ay3eg20d.js";
|
|
45
45
|
import {
|
|
46
46
|
start2
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./file-retention-8gaq3e8g.js";
|
|
48
48
|
import {
|
|
49
49
|
get4
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./file-retention-05038jtd.js";
|
|
51
51
|
import {
|
|
52
52
|
__export
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
54
54
|
|
|
55
55
|
// src/session/session.ts
|
|
56
56
|
var exports_session2 = {};
|
|
57
57
|
__export(exports_session2, {
|
|
58
58
|
Session: () => exports_session2,
|
|
59
|
-
make: () =>
|
|
59
|
+
make: () => make12
|
|
60
60
|
});
|
|
61
61
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
62
62
|
import { Event } from "@opencode/schema/event";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
|
-
var
|
|
64
|
+
var make12 = Effect.fn("Session.make")(function* () {
|
|
65
65
|
const bus = yield* Service85;
|
|
66
66
|
const database = yield* Service86;
|
|
67
|
-
const store = yield*
|
|
68
|
-
const instances = yield*
|
|
69
|
-
const execution = yield*
|
|
70
|
-
const admission = yield*
|
|
67
|
+
const store = yield* Service55;
|
|
68
|
+
const instances = yield* Service48;
|
|
69
|
+
const execution = yield* Service44;
|
|
70
|
+
const admission = yield* Service46;
|
|
71
71
|
const fs = yield* FSUtil.Service;
|
|
72
72
|
const scope = yield* Scope.Scope;
|
|
73
73
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
74
74
|
const session = yield* store.get(sessionID);
|
|
75
75
|
if (!session)
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new NotFoundError7({ sessionID });
|
|
77
77
|
return session;
|
|
78
78
|
});
|
|
79
79
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -146,7 +146,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
146
146
|
});
|
|
147
147
|
if (existing)
|
|
148
148
|
return existing;
|
|
149
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
149
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service48, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
150
150
|
if (session.revert)
|
|
151
151
|
yield* commit2(bus, session);
|
|
152
152
|
return yield* admission.admit({
|
|
@@ -162,7 +162,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
162
162
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
163
163
|
const session = yield* get(sessionID);
|
|
164
164
|
const running = yield* Effect.gen(function* () {
|
|
165
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
165
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service48, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
166
166
|
text: `User shell command failed to start:
|
|
167
167
|
${input.command}
|
|
168
168
|
|
|
@@ -191,7 +191,7 @@ ${error.message}`,
|
|
|
191
191
|
});
|
|
192
192
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
193
193
|
const session = yield* get(sessionID);
|
|
194
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
194
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service48, instances));
|
|
195
195
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
196
196
|
sessionID,
|
|
197
197
|
id: skill.id,
|
|
@@ -248,13 +248,13 @@ ${error.message}`,
|
|
|
248
248
|
const session = yield* get(sessionID);
|
|
249
249
|
if (yield* execution.isActive(sessionID))
|
|
250
250
|
return yield* new BusyError2({ sessionID });
|
|
251
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
251
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service86, database), Effect.provideService(Service85, bus));
|
|
252
252
|
});
|
|
253
253
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
254
254
|
const session = yield* get(sessionID);
|
|
255
255
|
if (yield* execution.isActive(sessionID))
|
|
256
256
|
return yield* new BusyError2({ sessionID });
|
|
257
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
257
|
+
yield* clear2(session).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service85, bus));
|
|
258
258
|
return yield* execution.wake(sessionID);
|
|
259
259
|
});
|
|
260
260
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -346,4 +346,4 @@ ${error.message}`,
|
|
|
346
346
|
return { forSession };
|
|
347
347
|
});
|
|
348
348
|
|
|
349
|
-
export {
|
|
349
|
+
export { make12, exports_session2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./file-retention-kd9fhfv6.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-vd3b3yk9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service18,
|
|
17
|
+
node: () => node21
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service18 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service82;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service18.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node21 = makeLocationNode({
|
|
91
|
+
service: Service18,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node86, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service18, node21, exports_formatter2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-p2mqe0hz.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/ollama.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
|
|
|
34
34
|
model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
|
|
35
35
|
});
|
|
36
36
|
var shows = new Map;
|
|
37
|
-
var
|
|
37
|
+
var make7 = createLocalProviderPlugin2({
|
|
38
38
|
id: "opencode.provider.ollama",
|
|
39
39
|
providerID: "ollama",
|
|
40
40
|
name: "Ollama",
|
|
@@ -67,6 +67,6 @@ var make10 = createLocalProviderPlugin2({
|
|
|
67
67
|
context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
|
-
var OllamaPlugin2 =
|
|
70
|
+
var OllamaPlugin2 = make7();
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { make7, OllamaPlugin2 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-3r7w24g9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./file-retention-1hg0zxtx.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-vd3b3yk9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service22,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-jztn5z23.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-retention-g2cjact9.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event2,
|
|
30
30
|
ID: () => ID2,
|
|
31
31
|
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service22,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node16
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event2, ID as ID2, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service85;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service68;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service22.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node16 = Node.makeLocationNode({
|
|
226
|
+
service: Service22,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node16, exports_plugin2, Event2, ID2, Info3, Source2, State2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./file-retention-xk76yr4x.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,83 +1,83 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-a1qdfkze.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-3r7w24g9.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-vd3b3yk9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID8,
|
|
14
|
+
Service56,
|
|
15
|
+
node59
|
|
16
|
+
} from "./file-retention-ps196dw6.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-p015t6z3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service76,
|
|
22
|
+
node80
|
|
23
|
+
} from "./file-retention-xk76yr4x.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-retention-8wtp7s3z.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-retention-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
kept2,
|
|
32
32
|
messageToText2,
|
|
33
33
|
serializeToolContent2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-retention-v2r1d0zg.js";
|
|
35
35
|
import {
|
|
36
36
|
isNativeCompaction2,
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
load4
|
|
38
|
+
} from "./file-retention-w46nxhz5.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./file-retention-62n5agxz.js";
|
|
42
42
|
import {
|
|
43
43
|
outputLimit2,
|
|
44
44
|
baseTranscript2,
|
|
45
45
|
unsupportedParts2,
|
|
46
46
|
boundImages2,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service31,
|
|
48
|
+
node34
|
|
49
|
+
} from "./file-retention-s6rab191.js";
|
|
50
50
|
import {
|
|
51
51
|
Service47,
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
52
|
+
node50
|
|
53
|
+
} from "./file-retention-jsy02eqp.js";
|
|
54
54
|
import {
|
|
55
55
|
isRetryable2,
|
|
56
56
|
policy2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./file-retention-1z6jjy5p.js";
|
|
58
58
|
import {
|
|
59
59
|
toSessionError2,
|
|
60
60
|
contentFilterError2
|
|
61
|
-
} from "./
|
|
61
|
+
} from "./file-retention-rkvrbxb1.js";
|
|
62
62
|
import {
|
|
63
63
|
calculateCost2,
|
|
64
64
|
record2,
|
|
65
65
|
add2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./file-retention-8r6n0qax.js";
|
|
67
67
|
import {
|
|
68
68
|
__export
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
70
70
|
|
|
71
71
|
// src/session/compaction.ts
|
|
72
72
|
var exports_compaction2 = {};
|
|
73
73
|
__export(exports_compaction2, {
|
|
74
|
-
Service: () =>
|
|
74
|
+
Service: () => Service7,
|
|
75
75
|
SessionCompaction: () => exports_compaction2,
|
|
76
76
|
buildPrompt: () => buildPrompt2,
|
|
77
77
|
estimateContext: () => estimateContext2,
|
|
78
78
|
estimatePrompt: () => estimatePrompt2,
|
|
79
79
|
layer: () => layer7,
|
|
80
|
-
node: () =>
|
|
80
|
+
node: () => node9,
|
|
81
81
|
recentUserMessages: () => recentUserMessages2
|
|
82
82
|
});
|
|
83
83
|
import {
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
} from "@opencode/ai";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
95
|
import { Context, Effect, Exit, Fiber, Layer, Result, Scope, Stream } from "effect";
|
|
96
|
-
class
|
|
96
|
+
class Service7 extends Context.Service()("@opencode/SessionCompaction") {
|
|
97
97
|
}
|
|
98
98
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
99
99
|
var SHRINK_STEPS = [0.85, 0.7, 0.5, 0.35];
|
|
@@ -184,14 +184,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
184
184
|
};
|
|
185
185
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
186
186
|
var LEGACY_HEADING = "## Additional Context";
|
|
187
|
-
var layer7 = Layer.effect(
|
|
188
|
-
const agents = yield*
|
|
187
|
+
var layer7 = Layer.effect(Service7, Effect.gen(function* () {
|
|
188
|
+
const agents = yield* Service56;
|
|
189
189
|
const bus = yield* Service85;
|
|
190
190
|
const llm = yield* LLMClient.Service;
|
|
191
|
-
const catalog = yield*
|
|
191
|
+
const catalog = yield* Service76;
|
|
192
192
|
const models = yield* Service47;
|
|
193
193
|
const db = (yield* Service86).db;
|
|
194
|
-
const requests = yield*
|
|
194
|
+
const requests = yield* Service31;
|
|
195
195
|
const scope = yield* Scope.Scope;
|
|
196
196
|
const precomputed = new Map;
|
|
197
197
|
const state = create3({
|
|
@@ -204,7 +204,7 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
204
204
|
})
|
|
205
205
|
});
|
|
206
206
|
const selectModel = Effect.fnUntraced(function* (context, buffer, native) {
|
|
207
|
-
const agent = native ? undefined : yield* agents.get(
|
|
207
|
+
const agent = native ? undefined : yield* agents.get(ID8.make("compaction"));
|
|
208
208
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
209
209
|
return;
|
|
210
210
|
})))) ?? context.model;
|
|
@@ -359,7 +359,7 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
359
359
|
const send = (request) => {
|
|
360
360
|
if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
|
|
361
361
|
return Effect.gen(function* () {
|
|
362
|
-
const history = yield*
|
|
362
|
+
const history = yield* load4(db, context.session.id, "local").pipe(Effect.orDie);
|
|
363
363
|
const retained = recentUserMessages2(history, context.model, keep);
|
|
364
364
|
const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
|
|
365
365
|
return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
|
|
@@ -574,17 +574,17 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
574
574
|
}, { metadata: outcome.metadata });
|
|
575
575
|
return { status: "completed" };
|
|
576
576
|
});
|
|
577
|
-
return
|
|
577
|
+
return Service7.of({
|
|
578
578
|
transform: state.transform,
|
|
579
579
|
reload: state.reload,
|
|
580
580
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id)))),
|
|
581
581
|
precompute
|
|
582
582
|
});
|
|
583
583
|
}));
|
|
584
|
-
var
|
|
585
|
-
service:
|
|
584
|
+
var node9 = makeLocationNode({
|
|
585
|
+
service: Service7,
|
|
586
586
|
layer: layer7,
|
|
587
|
-
deps: [
|
|
587
|
+
deps: [node59, node89, node90, llmClient2, node80, node34, node50]
|
|
588
588
|
});
|
|
589
589
|
var heldIndex = (held, context) => {
|
|
590
590
|
if (held.firstID !== context.messages[0]?.id || held.initial !== context.initial)
|
|
@@ -771,4 +771,4 @@ var estimateMedia = (mime) => {
|
|
|
771
771
|
return 0;
|
|
772
772
|
};
|
|
773
773
|
|
|
774
|
-
export {
|
|
774
|
+
export { Service7, buildPrompt2, layer7, node9, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./file-retention-r09k0ff8.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service82
|
|
9
|
+
} from "./file-retention-kd9fhfv6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service65
|
|
12
|
+
} from "./file-retention-adgmyams.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source3
|
|
17
|
+
} from "./file-retention-d356z46s.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service12
|
|
20
|
+
} from "./file-retention-gcjdgkn2.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-ktrds4tk.js";
|
|
24
24
|
import {
|
|
25
25
|
ignore2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
scan2
|
|
27
|
+
} from "./file-retention-nah043kf.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/config/plugin/skill.ts
|
|
33
|
-
var
|
|
34
|
-
__export(
|
|
35
|
-
ConfigSkillPlugin: () =>
|
|
36
|
-
Plugin: () =>
|
|
33
|
+
var exports_skill3 = {};
|
|
34
|
+
__export(exports_skill3, {
|
|
35
|
+
ConfigSkillPlugin: () => exports_skill3,
|
|
36
|
+
Plugin: () => Plugin32
|
|
37
37
|
});
|
|
38
38
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
39
39
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
40
40
|
import { Global } from "@opencode/util/global";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
43
|
-
var
|
|
43
|
+
var Plugin32 = define({
|
|
44
44
|
id: "opencode.config.skill",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const config = yield*
|
|
47
|
-
const discovery = yield*
|
|
46
|
+
const config = yield* Service65;
|
|
47
|
+
const discovery = yield* Service12;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const global = yield* Global.Service;
|
|
50
|
-
const location = yield*
|
|
51
|
-
const watcher = yield*
|
|
50
|
+
const location = yield* Service82;
|
|
51
|
+
const watcher = yield* Service66;
|
|
52
52
|
const loaded = {
|
|
53
53
|
entries: yield* config.entries(),
|
|
54
54
|
skills: []
|
|
@@ -91,7 +91,7 @@ var Plugin23 = define({
|
|
|
91
91
|
const sources = () => {
|
|
92
92
|
const result = [];
|
|
93
93
|
const add = (source) => {
|
|
94
|
-
if (result.some((item) =>
|
|
94
|
+
if (result.some((item) => Source3.equals(item, source)))
|
|
95
95
|
return;
|
|
96
96
|
result.push(source);
|
|
97
97
|
};
|
|
@@ -116,13 +116,13 @@ var Plugin23 = define({
|
|
|
116
116
|
};
|
|
117
117
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
118
118
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
119
|
-
source:
|
|
119
|
+
source: Source3.key(source),
|
|
120
120
|
cause
|
|
121
121
|
}).pipe(Effect.as([]))));
|
|
122
122
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
123
123
|
const skills = [];
|
|
124
124
|
for (const directory of directories) {
|
|
125
|
-
for (const filepath of yield*
|
|
125
|
+
for (const filepath of yield* scan2(directory)) {
|
|
126
126
|
const resolved = yield* fs.realPath(filepath).pipe(Effect.orElseSucceed(() => filepath));
|
|
127
127
|
if (!roots.some((root) => FSUtil.contains(root, resolved)))
|
|
128
128
|
yield* watch(resolved, "file");
|
|
@@ -144,7 +144,7 @@ var Plugin23 = define({
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
yield* Effect.logDebug("skill source loaded", {
|
|
147
|
-
source:
|
|
147
|
+
source: Source3.key(source),
|
|
148
148
|
type: source.type,
|
|
149
149
|
directories,
|
|
150
150
|
skills: skills.map((skill) => skill.id)
|
|
@@ -163,7 +163,7 @@ var Plugin23 = define({
|
|
|
163
163
|
if (file) {
|
|
164
164
|
yield* Effect.logInfo("skills rescanned", {
|
|
165
165
|
file,
|
|
166
|
-
sources: current.map(
|
|
166
|
+
sources: current.map(Source3.key),
|
|
167
167
|
skills: loaded.skills.map((skill) => skill.id)
|
|
168
168
|
});
|
|
169
169
|
}
|
|
@@ -179,4 +179,4 @@ var Plugin23 = define({
|
|
|
179
179
|
})
|
|
180
180
|
});
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { Plugin32, exports_skill3 };
|