@opencode/core 0.0.0-dev-20315 → 0.0.0-dev-20316
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 +75 -75
- package/dist/chunks/{websearch-r98e92ep.js → project-00z3vp5f.js} +4 -4
- package/dist/chunks/{websearch-r8z811q0.js → project-045baswh.js} +14 -14
- package/dist/chunks/{websearch-zw0fwj7b.js → project-048xc26x.js} +47 -47
- package/dist/chunks/{websearch-8s64f4zr.js → project-06nv7jxy.js} +2 -2
- package/dist/chunks/{websearch-744h6hpz.js → project-09w06n2q.js} +10 -10
- package/dist/chunks/project-0adt99ty.js +252 -0
- package/dist/chunks/{websearch-0paq2nw3.js → project-0paq2nw3.js} +1 -1
- package/dist/chunks/{websearch-m1h0tx1s.js → project-0vfkfsvf.js} +3 -3
- package/dist/chunks/{websearch-ysmh0qcb.js → project-0x3qcm03.js} +25 -25
- package/dist/chunks/{websearch-30846h32.js → project-0xezjjjn.js} +8 -8
- package/dist/chunks/{websearch-aftbda3g.js → project-0z5seett.js} +17 -17
- package/dist/chunks/{websearch-z9hgdvrx.js → project-128pgwnk.js} +26 -26
- package/dist/chunks/{websearch-qd90pas1.js → project-14wgfyw1.js} +35 -35
- package/dist/chunks/{websearch-67yngfbk.js → project-16s6chgv.js} +7 -7
- package/dist/chunks/{websearch-s9e0embe.js → project-17y0377r.js} +39 -39
- package/dist/chunks/{websearch-r8xr0va3.js → project-1acjjqhc.js} +4 -4
- package/dist/chunks/{websearch-510kmzsn.js → project-1c29hv3p.js} +10 -10
- package/dist/chunks/{websearch-1dazxqgg.js → project-1dazxqgg.js} +2 -2
- package/dist/chunks/{websearch-z46nqmt0.js → project-1hskrfnt.js} +22 -22
- package/dist/chunks/{websearch-sp2q8w15.js → project-1n2pc2hr.js} +12 -12
- package/dist/chunks/{websearch-2d3was31.js → project-1t90kb9x.js} +23 -23
- package/dist/chunks/{websearch-4ayrdjn3.js → project-1xweqgb1.js} +18 -18
- package/dist/chunks/{websearch-21r38tys.js → project-21r38tys.js} +1 -1
- package/dist/chunks/{websearch-8s1fj8xg.js → project-25cs5cen.js} +8 -8
- package/dist/chunks/{websearch-2a5m3afh.js → project-2a5m3afh.js} +1 -1
- package/dist/chunks/{websearch-7bbm11g6.js → project-2e8hs3n1.js} +17 -17
- package/dist/chunks/{websearch-gj3tcdjz.js → project-2jpf0fvd.js} +73 -73
- package/dist/chunks/{websearch-2zeps9bf.js → project-2mzfjhd5.js} +27 -27
- package/dist/chunks/{websearch-pbex7gjf.js → project-2n37e6w7.js} +3 -3
- package/dist/chunks/{websearch-75bft53p.js → project-2tr1k1b8.js} +10 -10
- package/dist/chunks/{websearch-tnjqcmf2.js → project-2v338a3n.js} +17 -17
- package/dist/chunks/{websearch-gd52xpsw.js → project-2vfwjvt0.js} +5 -5
- package/dist/chunks/{websearch-ram43mb6.js → project-2wnd0vm8.js} +24 -24
- package/dist/chunks/{websearch-2cmv458r.js → project-2xwkyk0m.js} +5 -5
- package/dist/chunks/{websearch-s6ta71px.js → project-32jw649k.js} +14 -14
- package/dist/chunks/{websearch-hn98dy4c.js → project-339h4057.js} +3 -3
- package/dist/chunks/{websearch-z3pw5915.js → project-37s12vcn.js} +5 -5
- package/dist/chunks/{websearch-2qg9r24m.js → project-3by8z3q7.js} +31 -31
- package/dist/chunks/{websearch-mq5qpvgt.js → project-3c9vxe8z.js} +18 -18
- package/dist/chunks/{websearch-18q5qf09.js → project-3e15rq0w.js} +32 -32
- package/dist/chunks/{websearch-3fc6dm20.js → project-3fc6dm20.js} +1 -1
- package/dist/chunks/{websearch-yw5az23y.js → project-3ff3e122.js} +13 -13
- package/dist/chunks/{websearch-z46atd3x.js → project-3fvrem5n.js} +32 -32
- package/dist/chunks/{websearch-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-whtab2de.js → project-3jq7hafk.js} +38 -38
- package/dist/chunks/{websearch-83yvtnma.js → project-3k28x0rq.js} +7 -7
- package/dist/chunks/{websearch-xqe4nx7y.js → project-3sg0jw0d.js} +20 -20
- package/dist/chunks/{websearch-3smtnn6g.js → project-3smtnn6g.js} +1 -1
- package/dist/chunks/{websearch-3tvqynh2.js → project-3tvqynh2.js} +1 -1
- package/dist/chunks/{websearch-d8q7azdv.js → project-3x2h1jqq.js} +16 -16
- package/dist/chunks/{websearch-3zsf4n22.js → project-3zsf4n22.js} +1 -1
- package/dist/chunks/{websearch-tc6h97yq.js → project-403m2ss4.js} +6 -6
- package/dist/chunks/{websearch-g7swxvb3.js → project-41wzkj33.js} +14 -14
- package/dist/chunks/{websearch-mg4kb3sm.js → project-460prvfa.js} +32 -32
- package/dist/chunks/{websearch-5dkn69vz.js → project-4j4tgtq5.js} +4 -4
- package/dist/chunks/{websearch-v8jfbz3g.js → project-4mwpykj0.js} +6 -6
- package/dist/chunks/{websearch-f473zzm1.js → project-4n26wkx8.js} +4 -4
- package/dist/chunks/{websearch-75cbc0wp.js → project-4tzsdqn7.js} +43 -43
- package/dist/chunks/{websearch-54ma36ye.js → project-54ma36ye.js} +1 -1
- package/dist/chunks/{websearch-qn2t683x.js → project-563x647v.js} +15 -15
- package/dist/chunks/{websearch-56gdpj1q.js → project-56gdpj1q.js} +2 -2
- package/dist/chunks/{websearch-4sn99hha.js → project-57ez7d0k.js} +7 -7
- package/dist/chunks/{websearch-cbnb0qhw.js → project-5beq9rmc.js} +18 -18
- package/dist/chunks/{websearch-5daktx2q.js → project-5daktx2q.js} +1 -1
- package/dist/chunks/{websearch-sht1ggzb.js → project-5ejns0m0.js} +4 -4
- package/dist/chunks/{websearch-e3qxr5gk.js → project-5qd3pb7m.js} +2 -2
- package/dist/chunks/{websearch-5t3nmthw.js → project-5t3nmthw.js} +2 -2
- package/dist/chunks/{websearch-3fmtxraa.js → project-5xpznt2d.js} +4 -4
- package/dist/chunks/{websearch-jtpqwtf5.js → project-5yv68qc1.js} +15 -15
- package/dist/chunks/{websearch-1dmbhjkf.js → project-607q5haz.js} +12 -12
- package/dist/chunks/project-619r8v3y.js +18 -0
- package/dist/chunks/{websearch-e68yym1a.js → project-619t0cxh.js} +34 -34
- package/dist/chunks/{websearch-5qmq9jsc.js → project-624xt6we.js} +22 -22
- package/dist/chunks/{websearch-v7y0g2dx.js → project-65ptgm6v.js} +13 -13
- package/dist/chunks/{websearch-669tq793.js → project-669tq793.js} +1 -1
- package/dist/chunks/{websearch-zqmxcax1.js → project-6a8xraeq.js} +13 -13
- package/dist/chunks/{websearch-qzvt6g0y.js → project-6k23k7vx.js} +48 -48
- package/dist/chunks/{websearch-6msgmcgs.js → project-6msgmcgs.js} +1 -1
- package/dist/chunks/{websearch-kf2091jj.js → project-6pwz9vdm.js} +15 -15
- package/dist/chunks/{websearch-vne8fx5y.js → project-6w454pee.js} +16 -16
- package/dist/chunks/{websearch-4ww9n9r4.js → project-6wg8zrc8.js} +24 -24
- package/dist/chunks/{websearch-snyhvzmq.js → project-6zsmm6dr.js} +43 -43
- package/dist/chunks/{websearch-15q9zhw6.js → project-75mzgwkf.js} +32 -32
- package/dist/chunks/{websearch-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-mfjatvga.js → project-7dnkkhh4.js} +16 -16
- package/dist/chunks/{websearch-wjhk09fd.js → project-7gaega4f.js} +9 -9
- package/dist/chunks/{websearch-1vhcn32p.js → project-7gfsvgty.js} +9 -9
- package/dist/chunks/{websearch-y13zm6th.js → project-7kb53k34.js} +8 -8
- package/dist/chunks/{websearch-rndjshpn.js → project-7kjckr2c.js} +3 -3
- package/dist/chunks/{websearch-0dbhx5c8.js → project-7pcrhvh4.js} +7 -7
- package/dist/chunks/{websearch-g5agzp2h.js → project-7pr2hkwv.js} +5 -5
- package/dist/chunks/{websearch-y76jjpt2.js → project-7v99a3s2.js} +44 -44
- package/dist/chunks/{websearch-7g2dwhq9.js → project-7w0y71jc.js} +8 -8
- package/dist/chunks/{websearch-ze3aemja.js → project-818pfwc9.js} +11 -11
- package/dist/chunks/{websearch-5brnvgs1.js → project-83nh47t2.js} +7 -7
- package/dist/chunks/{websearch-nzzq53xj.js → project-8496rxe5.js} +30 -30
- package/dist/chunks/{websearch-84txncab.js → project-84txncab.js} +1 -1
- package/dist/chunks/{websearch-jvz2vva3.js → project-884bfwk0.js} +9 -9
- package/dist/chunks/{websearch-tcezcvh9.js → project-89znhe33.js} +4 -4
- package/dist/chunks/{websearch-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
- package/dist/chunks/{websearch-25danj7w.js → project-8ezkp1w1.js} +24 -24
- package/dist/chunks/{websearch-gmffv4tx.js → project-8f78v9qy.js} +3 -3
- package/dist/chunks/{websearch-mq4hv3jy.js → project-8fq5ayth.js} +11 -11
- package/dist/chunks/{websearch-ga9qj16j.js → project-8fqdsx23.js} +184 -184
- package/dist/chunks/project-8nxkrca3.js +26 -0
- package/dist/chunks/{websearch-jznkeq6r.js → project-8p2pmgw9.js} +23 -23
- package/dist/chunks/{websearch-xftkdb3f.js → project-8wvrh9f5.js} +1 -1
- package/dist/chunks/{websearch-94ek1h2f.js → project-94ek1h2f.js} +2 -2
- package/dist/chunks/{websearch-fajpydvj.js → project-96n2ccqs.js} +5 -5
- package/dist/chunks/{websearch-2ve4gsd6.js → project-98eksqsr.js} +8 -8
- package/dist/chunks/{websearch-76jqgbzw.js → project-9cw7v7t0.js} +5 -5
- package/dist/chunks/{websearch-rjfym8a1.js → project-9herab98.js} +36 -36
- package/dist/chunks/{websearch-3gqbdmzf.js → project-9qkx95r0.js} +19 -19
- package/dist/chunks/{websearch-58dtx8ms.js → project-9qvr998c.js} +11 -11
- package/dist/chunks/{websearch-w50pcx5b.js → project-9rybd2zw.js} +24 -24
- package/dist/chunks/{websearch-gx9hpsfx.js → project-9stnwpgq.js} +10 -10
- package/dist/chunks/{websearch-m4x1wxq0.js → project-a1by8739.js} +23 -23
- package/dist/chunks/{websearch-0ck15x4z.js → project-a1jns5ne.js} +21 -21
- package/dist/chunks/{websearch-aaet6srn.js → project-aaet6srn.js} +2 -2
- package/dist/chunks/{websearch-4smaernk.js → project-atjyqtyt.js} +6 -6
- package/dist/chunks/{websearch-ydvyv12k.js → project-atrcd26x.js} +23 -23
- package/dist/chunks/{websearch-yt3hy1g9.js → project-axs6pdy0.js} +5 -5
- package/dist/chunks/{websearch-xwdehcth.js → project-azzr0vhd.js} +13 -13
- package/dist/chunks/{websearch-zed2rj9n.js → project-b18wbhdm.js} +11 -11
- package/dist/chunks/{websearch-tmzr3e9p.js → project-b227wj0j.js} +4 -4
- package/dist/chunks/{websearch-b6gygkdw.js → project-b6gygkdw.js} +2 -2
- package/dist/chunks/{websearch-8amrmy6h.js → project-b6vdck89.js} +58 -58
- package/dist/chunks/{websearch-3c019r4e.js → project-b7t4d0bx.js} +6 -6
- package/dist/chunks/{websearch-mxcxzvg0.js → project-b9krrcn2.js} +21 -21
- package/dist/chunks/{websearch-54frdkap.js → project-b9ycemf2.js} +11 -11
- package/dist/chunks/{websearch-3ta3wknr.js → project-benezg7w.js} +10 -10
- package/dist/chunks/{websearch-fg62k31m.js → project-bn399aes.js} +34 -34
- package/dist/chunks/{websearch-37rvek3e.js → project-bneggmm6.js} +5 -5
- package/dist/chunks/{websearch-y58kfvay.js → project-c5bjafsp.js} +28 -28
- package/dist/chunks/{websearch-79qaa2kf.js → project-c765mh8b.js} +9 -9
- package/dist/chunks/{websearch-h34v8h42.js → project-c874zv42.js} +11 -11
- package/dist/chunks/{websearch-hnhy823k.js → project-c8j29rkk.js} +11 -11
- package/dist/chunks/{websearch-74k0abgc.js → project-cebq52h3.js} +21 -21
- package/dist/chunks/{websearch-ckecvw8r.js → project-ckecvw8r.js} +2 -2
- package/dist/chunks/{websearch-eys57y9b.js → project-cmwkp3r5.js} +8 -8
- package/dist/chunks/{websearch-35agz59w.js → project-cqg8v4c7.js} +6 -6
- package/dist/chunks/{websearch-zfras33v.js → project-cwv7yqrw.js} +37 -37
- package/dist/chunks/{websearch-f1smd48c.js → project-czg9x4h8.js} +11 -11
- package/dist/chunks/{websearch-7zt2hy8r.js → project-d3fj698k.js} +5 -5
- package/dist/chunks/{websearch-vter92x3.js → project-d4fbvmpv.js} +8 -8
- package/dist/chunks/{websearch-sbg2ffdw.js → project-d6dqh9nb.js} +4 -4
- package/dist/chunks/{websearch-b9rp53qd.js → project-dbggsdn6.js} +15 -15
- package/dist/chunks/{websearch-7krgpby0.js → project-df7trzx9.js} +33 -33
- package/dist/chunks/{websearch-jeyg0ke5.js → project-dnaw0pkd.js} +3 -3
- package/dist/chunks/{websearch-mpk0rfs5.js → project-dnxkq42g.js} +4 -4
- package/dist/chunks/{websearch-dpkg50ah.js → project-dpkg50ah.js} +1 -1
- package/dist/chunks/{websearch-gs5xsmqt.js → project-dryza082.js} +20 -20
- package/dist/chunks/{websearch-ghjn1vr2.js → project-e049drp9.js} +11 -11
- package/dist/chunks/{websearch-qv4qswxh.js → project-e0t5n6h4.js} +25 -25
- package/dist/chunks/{websearch-599yrsc6.js → project-e2qcx340.js} +12 -12
- package/dist/chunks/{websearch-det6nmjv.js → project-e63gg9ae.js} +27 -27
- package/dist/chunks/{websearch-hnr5yq9h.js → project-e6hmchc5.js} +5 -5
- package/dist/chunks/{websearch-ecfe7b91.js → project-ecfe7b91.js} +2 -2
- package/dist/chunks/{websearch-9k94y365.js → project-ed2m8rt6.js} +20 -20
- package/dist/chunks/{websearch-ef5x83kb.js → project-ef5x83kb.js} +1 -1
- package/dist/chunks/{websearch-hegvwz92.js → project-enmvcg2s.js} +5 -5
- package/dist/chunks/{websearch-jb03acqs.js → project-erkqxs4v.js} +16 -16
- package/dist/chunks/{websearch-etq0c3wd.js → project-etq0c3wd.js} +1 -1
- package/dist/chunks/{websearch-has5vve3.js → project-ew3ps6bh.js} +2 -2
- package/dist/chunks/{websearch-ghr0z1c5.js → project-f3zdv7ej.js} +30 -30
- package/dist/chunks/{websearch-y8r0b0d7.js → project-far2xf0m.js} +4 -4
- package/dist/chunks/{websearch-34rkz0x9.js → project-fdv30zvt.js} +4 -4
- package/dist/chunks/{websearch-xkwfj8pw.js → project-ffmtnmcc.js} +28 -28
- package/dist/chunks/{websearch-p57dvf2n.js → project-fjvydvzm.js} +6 -6
- package/dist/chunks/{websearch-rv6z7gw2.js → project-fzp769bc.js} +25 -25
- package/dist/chunks/{websearch-p51p3jcg.js → project-g190xswt.js} +21 -21
- package/dist/chunks/{websearch-gd4qta3r.js → project-gd4qta3r.js} +1 -1
- package/dist/chunks/{websearch-5pcerek2.js → project-gq19827e.js} +1 -1
- package/dist/chunks/{websearch-ztg86a82.js → project-gq3bt1cd.js} +14 -14
- package/dist/chunks/{websearch-z961w9n7.js → project-gt50eczq.js} +11 -11
- package/dist/chunks/{websearch-gv6a8nnw.js → project-gv6a8nnw.js} +2 -2
- package/dist/chunks/{websearch-9sjzy932.js → project-gyjy55vd.js} +3 -3
- package/dist/chunks/project-h15qk984.js +507 -0
- package/dist/chunks/{websearch-h6vf3j39.js → project-h6vf3j39.js} +1 -1
- package/dist/chunks/{websearch-4kq9pb9m.js → project-h8hwphbd.js} +24 -24
- package/dist/chunks/{websearch-h5w29vws.js → project-hd8vw2pw.js} +1 -1
- package/dist/chunks/{websearch-qwn8ah54.js → project-hn43hy9v.js} +7 -7
- package/dist/chunks/{websearch-65cry6gt.js → project-hnmy0hsy.js} +50 -50
- package/dist/chunks/{websearch-vs04cnh9.js → project-hz5p8n7r.js} +15 -15
- package/dist/chunks/{websearch-2735jr6x.js → project-j26sntzs.js} +12 -12
- package/dist/chunks/{websearch-mgpyxjx6.js → project-j50a6jve.js} +11 -11
- package/dist/chunks/{websearch-j56e64zr.js → project-j56e64zr.js} +1 -1
- package/dist/chunks/{websearch-pqs75qat.js → project-j8f5yte4.js} +15 -15
- package/dist/chunks/{websearch-nwaxkyn6.js → project-jdtykp26.js} +83 -83
- package/dist/chunks/{websearch-n35d2xk4.js → project-jjs74g98.js} +9 -9
- package/dist/chunks/{websearch-k3c624dm.js → project-k3c624dm.js} +3 -3
- package/dist/chunks/{websearch-pk2244jm.js → project-k6yq57aq.js} +3 -3
- package/dist/chunks/{websearch-3gkfjs8g.js → project-kfewz56y.js} +22 -22
- package/dist/chunks/{websearch-s6thwhsa.js → project-kjkxz51n.js} +28 -28
- package/dist/chunks/{websearch-rk7s9xkn.js → project-knevfgda.js} +4 -4
- package/dist/chunks/{websearch-m3fdjcah.js → project-m3fdjcah.js} +1 -1
- package/dist/chunks/{websearch-4k6nebbf.js → project-m6f3t844.js} +8 -8
- package/dist/chunks/{websearch-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-jrb3ybzb.js → project-mk2wn6nt.js} +46 -46
- package/dist/chunks/{websearch-55t35ge0.js → project-mksgfzgs.js} +5 -5
- package/dist/chunks/{websearch-1bbkgx8g.js → project-mvfsc1pv.js} +3 -3
- package/dist/chunks/{websearch-n8r2xnj4.js → project-n3csagb3.js} +27 -27
- package/dist/chunks/{websearch-z8b4kjbk.js → project-n5g5f6a9.js} +29 -29
- package/dist/chunks/{websearch-6361pm7t.js → project-n7kq7syy.js} +11 -11
- package/dist/chunks/{websearch-jmdxyne3.js → project-n9brwhfv.js} +11 -11
- package/dist/chunks/{websearch-e5jdprf0.js → project-ncpnxt6w.js} +17 -17
- package/dist/chunks/{websearch-m868v4qf.js → project-nm0q2jgj.js} +26 -26
- package/dist/chunks/{websearch-kgw03ymn.js → project-nm4b89zg.js} +24 -24
- package/dist/chunks/{websearch-xs77dcbq.js → project-nmbqr5ec.js} +29 -29
- package/dist/chunks/{websearch-8fk8ddme.js → project-nykjhsrz.js} +58 -58
- package/dist/chunks/{websearch-mzch8gy8.js → project-pfnjx98c.js} +22 -22
- package/dist/chunks/{websearch-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
- package/dist/chunks/{websearch-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-a5k959kv.js → project-pm3a7hnh.js} +41 -41
- package/dist/chunks/{websearch-8zvfy1sx.js → project-ptf9bkze.js} +9 -9
- package/dist/chunks/{websearch-f7hnam9t.js → project-pv66basf.js} +11 -11
- package/dist/chunks/{websearch-8sze2n9a.js → project-py3kkmfq.js} +6 -6
- package/dist/chunks/{websearch-w2h2marb.js → project-q03xkger.js} +10 -10
- package/dist/chunks/{websearch-t30g6ptf.js → project-q19fen1v.js} +30 -30
- package/dist/chunks/{websearch-mefsdm1z.js → project-q9jkegzq.js} +37 -37
- package/dist/chunks/{websearch-743fkmh2.js → project-qaqjyhfq.js} +10 -10
- package/dist/chunks/{websearch-5cp6651z.js → project-qbqbaz6q.js} +4 -4
- package/dist/chunks/{websearch-2k8khapm.js → project-qgn6gcr1.js} +5 -5
- package/dist/chunks/{websearch-nswq2vff.js → project-qhvf56dz.js} +9 -9
- package/dist/chunks/{websearch-qsdy395h.js → project-qsdy395h.js} +1 -1
- package/dist/chunks/{websearch-x2g21h5k.js → project-r14vm1xa.js} +19 -19
- package/dist/chunks/{websearch-rdw6cm16.js → project-rdw6cm16.js} +1 -1
- package/dist/chunks/{websearch-nfbxkr4j.js → project-rfj00t6s.js} +20 -20
- package/dist/chunks/{websearch-v82ahx5x.js → project-s04yvqe9.js} +47 -47
- package/dist/chunks/{websearch-j3fq2wes.js → project-s2fyaqj8.js} +12 -12
- package/dist/chunks/{websearch-6jev5hzb.js → project-s825grcd.js} +42 -42
- package/dist/chunks/{websearch-rhjbct0v.js → project-s8d7rejh.js} +4 -4
- package/dist/chunks/{websearch-nxhqveyz.js → project-s8zy8myc.js} +5 -5
- package/dist/chunks/{websearch-kdq8v965.js → project-sk2hk6tq.js} +9 -9
- package/dist/chunks/{websearch-d32cvgp3.js → project-swk1efsm.js} +10 -10
- package/dist/chunks/{websearch-v3y2rnh8.js → project-t41mts01.js} +9 -9
- package/dist/chunks/{websearch-tazgh4e4.js → project-tazgh4e4.js} +1 -1
- package/dist/chunks/{websearch-tdstcens.js → project-tdstcens.js} +1 -1
- package/dist/chunks/{websearch-6q2vn9ec.js → project-tr8mceaa.js} +17 -17
- package/dist/chunks/{websearch-8vb5tqwb.js → project-tv78pmrq.js} +38 -38
- package/dist/chunks/{websearch-tvtrv512.js → project-tvtrv512.js} +1 -1
- package/dist/chunks/{websearch-wzaheq51.js → project-tvyg9cvp.js} +6 -6
- package/dist/chunks/{websearch-sp9z2nbm.js → project-tzxknpb8.js} +14 -14
- package/dist/chunks/{websearch-1p4wrj55.js → project-v2gj3r6j.js} +23 -23
- package/dist/chunks/{websearch-e809e4x5.js → project-v89ca3yf.js} +5 -5
- package/dist/chunks/{websearch-gfxm4tx3.js → project-ve8aas4y.js} +10 -10
- package/dist/chunks/{websearch-veqvce7d.js → project-veqvce7d.js} +1 -1
- package/dist/chunks/{websearch-wbpsemv3.js → project-vf87633e.js} +20 -20
- package/dist/chunks/{websearch-6dzt0jsp.js → project-vf98g9bw.js} +29 -29
- package/dist/chunks/{websearch-c349nqvk.js → project-vhs061t7.js} +14 -14
- package/dist/chunks/{websearch-vzcthcp8.js → project-vzcthcp8.js} +1 -1
- package/dist/chunks/{websearch-vzs5sf6e.js → project-vzs5sf6e.js} +1 -1
- package/dist/chunks/{websearch-b48k6s9j.js → project-w2236gjw.js} +22 -22
- package/dist/chunks/{websearch-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-pnvk1zxf.js → project-w6zk8pbt.js} +8 -8
- package/dist/chunks/{websearch-ckbmf8wb.js → project-w893fnt1.js} +95 -95
- package/dist/chunks/{websearch-9nj21xqc.js → project-was7srj9.js} +8 -8
- package/dist/chunks/{websearch-5xy19ny6.js → project-wcqyh1ts.js} +9 -9
- package/dist/chunks/{websearch-wd3x2cqz.js → project-wd3x2cqz.js} +2 -2
- package/dist/chunks/{websearch-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-xpcm6zc0.js → project-wnkxv0q5.js} +33 -33
- package/dist/chunks/{websearch-nxas41wb.js → project-wpeqwd3m.js} +11 -11
- package/dist/chunks/{websearch-j699j8bt.js → project-wqc6684y.js} +2 -2
- package/dist/chunks/{websearch-05gncdem.js → project-wyjk5hfb.js} +3 -3
- package/dist/chunks/{websearch-gdhrwhft.js → project-x176zp1b.js} +24 -24
- package/dist/chunks/{websearch-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
- package/dist/chunks/{websearch-pp3sfry4.js → project-x2y9dr9x.js} +20 -20
- package/dist/chunks/{websearch-4wwqnvbr.js → project-xb50yt4b.js} +4 -4
- package/dist/chunks/{websearch-8yt0sx58.js → project-xbk7y0ps.js} +20 -20
- package/dist/chunks/{websearch-xfkkasph.js → project-xfkkasph.js} +1 -1
- package/dist/chunks/{websearch-dmqcgk4z.js → project-xkntkrq7.js} +5 -5
- package/dist/chunks/{websearch-djw7193z.js → project-xzb2kbk8.js} +26 -26
- package/dist/chunks/{websearch-7v81x33d.js → project-y0mc46pw.js} +9 -9
- package/dist/chunks/{websearch-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
- package/dist/chunks/{websearch-6c75yjmg.js → project-yfc128y6.js} +8 -8
- package/dist/chunks/{websearch-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
- package/dist/chunks/{websearch-s4enseaf.js → project-yrznvahk.js} +2 -2
- package/dist/chunks/{websearch-z07pqspn.js → project-z07pqspn.js} +3 -3
- package/dist/chunks/{websearch-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
- package/dist/chunks/{websearch-29x78va6.js → project-z63w68vq.js} +6 -6
- package/dist/chunks/{websearch-b31wxpcf.js → project-zc89qxvr.js} +18 -18
- package/dist/chunks/{websearch-dhmh7aw6.js → project-zcrspsvn.js} +4 -4
- package/dist/chunks/{websearch-zeh9ct20.js → project-zeh9ct20.js} +2 -2
- package/dist/chunks/{websearch-3h88fw2c.js → project-zf1fk0v2.js} +11 -11
- package/dist/chunks/{websearch-pr7xs3qk.js → project-zfgkzra5.js} +17 -17
- package/dist/chunks/{websearch-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
- package/dist/chunks/{websearch-zxq2ej10.js → project-zxq2ej10.js} +1 -1
- 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 +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- 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 +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- 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 +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- 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 +122 -122
- 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 +81 -81
- package/dist/database/database.js +66 -66
- 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.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 +1 -1
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +90 -90
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- 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 +85 -85
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +127 -127
- 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 +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- 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/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- 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 +95 -95
- 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 +78 -78
- 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 +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- 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 +79 -79
- 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 +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +84 -84
- package/dist/plugin/vcs/hg.js +84 -84
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +2 -2
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +151 -151
- 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 +225 -225
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- 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 +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- 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 +3 -3
- 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 +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +16 -16
- 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 +74 -74
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/websearch-0562jfy0.js +0 -507
- package/dist/chunks/websearch-c72agqfj.js +0 -252
- package/dist/chunks/websearch-qc068m1q.js +0 -18
- package/dist/chunks/websearch-r26p9eks.js +0 -26
- /package/dist/chunks/{websearch-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{websearch-24dcb14g.js → project-24dcb14g.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2axfhc9x.js → project-2axfhc9x.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-34c7v6d4.js → project-34c7v6d4.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3w5fmr99.js → project-3w5fmr99.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-8wj87zfr.js → project-8wj87zfr.js} +0 -0
- /package/dist/chunks/{websearch-922hggd3.js → project-922hggd3.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dajrwvna.js → project-dajrwvna.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-e73j6tqm.js → project-e73j6tqm.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-eh3zwz77.js → project-eh3zwz77.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hjbc5kem.js → project-hjbc5kem.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jjkms2e6.js → project-jjkms2e6.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qg3g05ea.js → project-qg3g05ea.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8cydn3q.js → project-y8cydn3q.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-ym463w8f.js → project-ym463w8f.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → project-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-dnxkq42g.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./project-vhs061t7.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event20
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-8p2pmgw9.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./project-n3csagb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service76
|
|
20
|
+
} from "./project-vf98g9bw.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./project-nmbqr5ec.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./project-pv66basf.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./project-j50a6jve.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID10
|
|
33
|
+
} from "./project-e63gg9ae.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./project-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID14.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,8 +163,8 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
167
|
-
const bus = yield*
|
|
166
|
+
const providers = yield* Service76;
|
|
167
|
+
const bus = yield* Service83;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
170
170
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -180,7 +180,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID13.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
185
|
try: () => load3(url, {
|
|
186
186
|
...provider?.headers,
|
|
@@ -202,7 +202,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID13.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
222
222
|
}
|
|
223
223
|
});
|
|
224
224
|
yield* ctx.model.transform((models) => {
|
|
225
|
-
if (models.get(
|
|
226
|
-
models.update(
|
|
225
|
+
if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
|
|
226
|
+
models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
|
|
227
227
|
model.enabled = false;
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
231
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
232
|
-
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
232
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
233
233
|
yield* refresh().pipe(Effect.forkScoped);
|
|
234
234
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
235
|
-
if (evt.model.providerID !==
|
|
235
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
236
236
|
return;
|
|
237
237
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
238
238
|
return;
|
|
@@ -241,7 +241,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
241
241
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
242
242
|
}));
|
|
243
243
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
247
247
|
return;
|
|
@@ -251,13 +251,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
251
251
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
252
252
|
if (interaction !== "conversation-agent")
|
|
253
253
|
evt.headers["x-initiator"] = "agent";
|
|
254
|
-
}), { providerID:
|
|
254
|
+
}), { providerID: ID13.githubCopilot });
|
|
255
255
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
256
|
-
if (evt.model.providerID !==
|
|
256
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
257
257
|
return;
|
|
258
258
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
259
259
|
return;
|
|
260
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
260
|
+
const agent = yield* ctx.agent.get({ agentID: ID10.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
261
261
|
return;
|
|
262
262
|
}));
|
|
263
263
|
if (agent?.data.model)
|
|
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
268
268
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
|
-
}), { providerID:
|
|
271
|
+
}), { providerID: ID13.githubCopilot });
|
|
272
272
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
273
|
-
if (evt.model.providerID !==
|
|
273
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
274
274
|
return;
|
|
275
275
|
const token = evt.request.headers.get("x-api-key");
|
|
276
276
|
if (!token)
|
|
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
278
278
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
279
279
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
280
280
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
281
|
-
}), { providerID:
|
|
281
|
+
}), { providerID: ID13.githubCopilot });
|
|
282
282
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
283
|
-
if (evt.model.providerID !==
|
|
283
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
284
284
|
return;
|
|
285
285
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
286
286
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./project-2v338a3n.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service25
|
|
6
|
+
} from "./project-w893fnt1.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make6
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make6 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service25;
|
|
24
|
+
const jobs = yield* Service45;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make10 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make6, exports_subagent_job };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-k6yq57aq.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-6k23k7vx.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-34c7v6d4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-g190xswt.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info15
|
|
9
|
+
} from "./project-818pfwc9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info10
|
|
12
|
+
} from "./project-37s12vcn.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info14
|
|
15
|
+
} from "./project-fdv30zvt.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info11
|
|
18
|
+
} from "./project-s8zy8myc.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./project-qgn6gcr1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info13
|
|
24
|
+
} from "./project-e6hmchc5.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info8
|
|
27
|
+
} from "./project-4tzsdqn7.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./project-far2xf0m.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./project-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info8.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info10, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info14, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info11, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info13, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./project-b6vdck89.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input4,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin23,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name4
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name4 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input4 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input11 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input4.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin23 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service66;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name4,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input4,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin32 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name4,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name4, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input4, Plugin23, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin31,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin31 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin21 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin31, exports_opencode };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-0vfkfsvf.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service83,
|
|
10
|
+
node87
|
|
11
|
+
} from "./project-vhs061t7.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./project-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./project-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./project-k6yq57aq.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./project-z07pqspn.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./project-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -37,7 +37,7 @@ __export(exports_inbox, {
|
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service42,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer16,
|
|
49
49
|
list: () => list3,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make16,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node44,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service42 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service84;
|
|
158
158
|
const db = database.db;
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service83;
|
|
160
160
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
161
161
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
162
162
|
if (existing === undefined)
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer16 = Layer.effect(Service42, make16());
|
|
231
|
+
var node44 = makeGlobalNode({ service: Service42, layer: layer16, deps: [node88, node87] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2, Info7, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info7, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service42, make16, layer16, node44, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update2
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
21
21
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function update2(adapter, event) {
|
|
25
25
|
const created = DateTime.makeUnsafe(event.created);
|
|
26
26
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
27
27
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -402,4 +402,4 @@ function update3(adapter, event) {
|
|
|
402
402
|
return project(event);
|
|
403
403
|
}
|
|
404
404
|
|
|
405
|
-
export {
|
|
405
|
+
export { update2, exports_message_updater };
|