@opencode/core 2.0.28 → 2.0.29
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{filesystem-kjrg4dz2.js → websearch-07vcyzex.js} +23 -23
- package/dist/chunks/{filesystem-5w9yjztw.js → websearch-0fz4623t.js} +1 -1
- package/dist/chunks/{filesystem-q0xm7vwc.js → websearch-0j77ygfz.js} +6 -6
- package/dist/chunks/{filesystem-0vbcp93d.js → websearch-0vbcp93d.js} +2 -2
- package/dist/chunks/{filesystem-thnax083.js → websearch-0wmc8652.js} +11 -11
- package/dist/chunks/{filesystem-zx2dsnbk.js → websearch-0zmxjhgt.js} +31 -31
- package/dist/chunks/{filesystem-7kmr86m7.js → websearch-103sg1x0.js} +27 -27
- package/dist/chunks/{filesystem-3sj8yt8v.js → websearch-1b4m0bzf.js} +4 -4
- package/dist/chunks/{filesystem-28n8c4ka.js → websearch-1cegxmx6.js} +58 -18
- package/dist/chunks/{filesystem-w40f6bsw.js → websearch-1k6qkxqp.js} +4 -4
- package/dist/chunks/{filesystem-53rak1ew.js → websearch-1p799z25.js} +2 -2
- package/dist/chunks/{filesystem-3rj2b0mx.js → websearch-1pekzpef.js} +24 -24
- package/dist/chunks/{filesystem-9h395ey8.js → websearch-1tehwsrg.js} +20 -20
- package/dist/chunks/{filesystem-xcf4ra81.js → websearch-1y335d10.js} +4 -4
- package/dist/chunks/{filesystem-p3m2ynk3.js → websearch-25xd1pye.js} +12 -7
- package/dist/chunks/{filesystem-4ts7tf6z.js → websearch-2ccvkpx1.js} +2 -2
- package/dist/chunks/{filesystem-q0zsatc3.js → websearch-2yb0fdev.js} +52 -52
- package/dist/chunks/{filesystem-ek1kdr8s.js → websearch-30n06459.js} +28 -28
- package/dist/chunks/{filesystem-h7s7r6s9.js → websearch-31xfzrxg.js} +5 -5
- package/dist/chunks/{filesystem-z2jd07rd.js → websearch-346y6mfm.js} +9 -9
- package/dist/chunks/{filesystem-rthc7gf6.js → websearch-3c656pdg.js} +9 -9
- package/dist/chunks/{filesystem-z114v3my.js → websearch-3dmcmtv3.js} +20 -20
- package/dist/chunks/{filesystem-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-3hwn7j4h.js → websearch-3hwn7j4h.js} +2 -2
- package/dist/chunks/{filesystem-mrfr3fv8.js → websearch-3m7syb4v.js} +13 -13
- package/dist/chunks/{filesystem-315k6hst.js → websearch-3p5nkzgw.js} +12 -12
- package/dist/chunks/{filesystem-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-g3wzybmp.js → websearch-3yzh7hr7.js} +20 -20
- package/dist/chunks/{filesystem-3zsf4n22.js → websearch-3zsf4n22.js} +1 -1
- package/dist/chunks/{filesystem-ffk923an.js → websearch-44gjh96b.js} +85 -85
- package/dist/chunks/{filesystem-hppj45g6.js → websearch-4ft0y05w.js} +26 -26
- package/dist/chunks/{filesystem-cfkx2x8f.js → websearch-4gq7ecwc.js} +16 -16
- package/dist/chunks/{filesystem-9s29ec0q.js → websearch-4se3h60w.js} +9 -9
- package/dist/chunks/websearch-4wb4djvq.js +253 -0
- package/dist/chunks/{filesystem-6xktvksv.js → websearch-4xzdjh1a.js} +10 -10
- package/dist/chunks/{filesystem-tfw769rq.js → websearch-52xjsfcv.js} +11 -11
- package/dist/chunks/{filesystem-54ma36ye.js → websearch-54ma36ye.js} +1 -1
- package/dist/chunks/{filesystem-kzxe22pz.js → websearch-55nka2g1.js} +4 -4
- package/dist/chunks/{filesystem-kdykjer7.js → websearch-5aq1sray.js} +15 -15
- package/dist/chunks/{filesystem-3b9qt4hj.js → websearch-5e1pzs32.js} +9 -9
- package/dist/chunks/{filesystem-p42kja40.js → websearch-5hft8km6.js} +10 -10
- package/dist/chunks/{filesystem-5m9w47nd.js → websearch-5m9w47nd.js} +1 -1
- package/dist/chunks/{filesystem-btv47zes.js → websearch-5pffn7jv.js} +32 -32
- package/dist/chunks/{filesystem-kmpk7fbr.js → websearch-5r3x27sy.js} +20 -20
- package/dist/chunks/{filesystem-tyts7tda.js → websearch-5z3y5rqa.js} +50 -50
- package/dist/chunks/{filesystem-7mwvqe74.js → websearch-6560wqgx.js} +2 -2
- package/dist/chunks/{filesystem-0m69c59p.js → websearch-663z1agk.js} +30 -30
- package/dist/chunks/{filesystem-6hjx5zpb.js → websearch-6hjx5zpb.js} +2 -2
- package/dist/chunks/{filesystem-234r1ky0.js → websearch-6wc34s84.js} +11 -11
- package/dist/chunks/{filesystem-6xb47vfp.js → websearch-6xb47vfp.js} +1 -1
- package/dist/chunks/{filesystem-njfdx3sy.js → websearch-6xt5eqb0.js} +4 -4
- package/dist/chunks/{filesystem-w39jehkq.js → websearch-6yz0wx8n.js} +5 -5
- package/dist/chunks/{filesystem-gtfaydnj.js → websearch-71434wjh.js} +14 -14
- package/dist/chunks/{filesystem-hddh30xx.js → websearch-73ndx0kt.js} +9 -9
- package/dist/chunks/{filesystem-775gj3j1.js → websearch-775gj3j1.js} +2 -2
- package/dist/chunks/{filesystem-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-ng5df8nw.js → websearch-7cmmjc66.js} +8 -8
- package/dist/chunks/{filesystem-svcw9x3w.js → websearch-7gra0nqm.js} +5 -5
- package/dist/chunks/{filesystem-k97zh3d1.js → websearch-7hpzdccj.js} +5 -5
- package/dist/chunks/{filesystem-y8p3zjbc.js → websearch-7qq3ahcc.js} +6 -6
- package/dist/chunks/{filesystem-dg29p2pd.js → websearch-7xrzajz9.js} +16 -16
- package/dist/chunks/{filesystem-w1eejvng.js → websearch-84txncab.js} +5 -5
- package/dist/chunks/{filesystem-aj2z5ayr.js → websearch-866agajq.js} +22 -22
- package/dist/chunks/{filesystem-pr4c8k5d.js → websearch-88wazn9e.js} +34 -34
- package/dist/chunks/{filesystem-8m6m0r52.js → websearch-8m6m0r52.js} +1 -1
- package/dist/chunks/{filesystem-b8h848z5.js → websearch-8p3ctfjr.js} +11 -11
- package/dist/chunks/{filesystem-rkprpv83.js → websearch-8sze2n9a.js} +6 -6
- package/dist/chunks/{filesystem-8004wwfb.js → websearch-8t7fzwbd.js} +20 -20
- package/dist/chunks/{filesystem-vy98fec5.js → websearch-8wjeg5tw.js} +11 -11
- package/dist/chunks/{filesystem-wwgtjrva.js → websearch-8wkxae25.js} +13 -13
- package/dist/chunks/{filesystem-91qna3x0.js → websearch-91qna3x0.js} +3 -3
- package/dist/chunks/{filesystem-c8cfwmf0.js → websearch-92m1j5rh.js} +11 -11
- package/dist/chunks/{filesystem-qpdrzbsd.js → websearch-97j7w773.js} +42 -42
- package/dist/chunks/{filesystem-ysasxjy6.js → websearch-97zq4prq.js} +11 -11
- package/dist/chunks/{filesystem-w3x9v1nk.js → websearch-9c3np669.js} +8 -8
- package/dist/chunks/{filesystem-ct7wq3h5.js → websearch-9h5qj14f.js} +1 -1
- package/dist/chunks/{filesystem-9hn6k4tm.js → websearch-9hn6k4tm.js} +1 -1
- package/dist/chunks/{filesystem-zqq8czsd.js → websearch-9vkn4ng5.js} +33 -33
- package/dist/chunks/{filesystem-krc3a0yk.js → websearch-9zfhyfhf.js} +3 -3
- package/dist/chunks/{filesystem-2mcy88br.js → websearch-a2647qfq.js} +135 -129
- package/dist/chunks/{filesystem-4h495arh.js → websearch-a4h58p2q.js} +3 -3
- package/dist/chunks/{filesystem-65v4cnad.js → websearch-a73a6c6h.js} +12 -12
- package/dist/chunks/{filesystem-qa6qpaa9.js → websearch-aa567zw8.js} +11 -11
- package/dist/chunks/{filesystem-hp4earpc.js → websearch-ada5kfrj.js} +10 -10
- package/dist/chunks/{filesystem-addxnjmp.js → websearch-addxnjmp.js} +1 -1
- package/dist/chunks/{filesystem-7t1q934f.js → websearch-am1tmpj5.js} +10 -10
- package/dist/chunks/{filesystem-dvb8jg9v.js → websearch-aq92k1t1.js} +33 -27
- package/dist/chunks/{filesystem-g5gnrdpy.js → websearch-aqa98z50.js} +14 -14
- package/dist/chunks/{filesystem-cjb3hyea.js → websearch-arkfezfn.js} +25 -25
- package/dist/chunks/{filesystem-7cjfetaf.js → websearch-avae2qkj.js} +14 -14
- package/dist/chunks/{filesystem-75kbjv4y.js → websearch-ay2x71k1.js} +9 -9
- package/dist/chunks/{filesystem-f1bjnzfm.js → websearch-ay3jh19j.js} +20 -23
- package/dist/chunks/{filesystem-bjx1sjef.js → websearch-bjx1sjef.js} +2 -2
- package/dist/chunks/{filesystem-7q2snjpw.js → websearch-br0hqn3c.js} +16 -16
- package/dist/chunks/{filesystem-93b1zj1y.js → websearch-btgkzwpb.js} +11 -11
- package/dist/chunks/{filesystem-r9h634c8.js → websearch-bwd5tn72.js} +3 -3
- package/dist/chunks/{filesystem-es1vcfrp.js → websearch-c1fqxshp.js} +3 -3
- package/dist/chunks/{filesystem-ft3hqk2c.js → websearch-c765mh8b.js} +9 -9
- package/dist/chunks/{filesystem-c1pk8j7t.js → websearch-c7gbd1xe.js} +16 -16
- package/dist/chunks/{filesystem-pb5kndam.js → websearch-caa8k32f.js} +6 -6
- package/dist/chunks/{filesystem-0q6ztsng.js → websearch-crt9038w.js} +25 -25
- package/dist/chunks/{filesystem-73n0zeyz.js → websearch-cyakegjg.js} +8 -8
- package/dist/chunks/{filesystem-18a9s3e7.js → websearch-d08ezc3t.js} +12 -12
- package/dist/chunks/{filesystem-naas6dry.js → websearch-d2wa1q6j.js} +24 -24
- package/dist/chunks/{filesystem-d77571hn.js → websearch-d883s65k.js} +20 -20
- package/dist/chunks/{filesystem-7bj0298e.js → websearch-d8qsn68y.js} +15 -15
- package/dist/chunks/{filesystem-7w42pd46.js → websearch-da8gdpq5.js} +9 -9
- package/dist/chunks/{filesystem-139mpvga.js → websearch-ddypr82j.js} +8 -8
- package/dist/chunks/{filesystem-58hng72m.js → websearch-dhb2hta4.js} +5 -5
- package/dist/chunks/{filesystem-rpg9c19m.js → websearch-dhmh7aw6.js} +4 -4
- package/dist/chunks/{filesystem-6y8xypev.js → websearch-dk6ncfcg.js} +4 -4
- package/dist/chunks/{filesystem-dqxsqydv.js → websearch-dqxsqydv.js} +1 -1
- package/dist/chunks/{filesystem-vtbmj6qa.js → websearch-dxzfr4ve.js} +7 -7
- package/dist/chunks/{filesystem-k0sjew9s.js → websearch-dyd0ex0t.js} +22 -22
- package/dist/chunks/{filesystem-3fz2a589.js → websearch-e0dbc2qq.js} +2 -2
- package/dist/chunks/{filesystem-5qd3pb7m.js → websearch-e3qxr5gk.js} +2 -2
- package/dist/chunks/{filesystem-e80seqcp.js → websearch-e80seqcp.js} +1 -1
- package/dist/chunks/{filesystem-faat08va.js → websearch-e8peznf1.js} +21 -21
- package/dist/chunks/{filesystem-jv0d82ph.js → websearch-eawvaaey.js} +50 -50
- package/dist/chunks/{filesystem-dqcpnaex.js → websearch-ec2vep54.js} +12 -12
- package/dist/chunks/{filesystem-eej6y6fw.js → websearch-eej6y6fw.js} +2 -2
- package/dist/chunks/{filesystem-ef5x83kb.js → websearch-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-zrj251rj.js → websearch-efjjmtnj.js} +29 -29
- package/dist/chunks/{filesystem-42q5z408.js → websearch-espep7zj.js} +1 -1
- package/dist/chunks/{filesystem-cv0wr4wv.js → websearch-etc2b570.js} +15 -15
- package/dist/chunks/{filesystem-0z1n3j5c.js → websearch-f7ayr8mx.js} +24 -24
- package/dist/chunks/{filesystem-2k8khapm.js → websearch-fcrkznn8.js} +5 -5
- package/dist/chunks/{filesystem-8rqycdgd.js → websearch-fm2qvscf.js} +7 -7
- package/dist/chunks/{filesystem-yar3z0vm.js → websearch-g37mjr4e.js} +18 -18
- package/dist/chunks/{filesystem-zrdk58qt.js → websearch-g5x1q65a.js} +4 -4
- package/dist/chunks/{filesystem-hnh8n5n7.js → websearch-g6vmwyfr.js} +11 -11
- package/dist/chunks/{filesystem-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-t3f4tea4.js → websearch-gdbb1day.js} +1 -1
- package/dist/chunks/{filesystem-cv0e3ffa.js → websearch-geq2zx23.js} +313 -313
- package/dist/chunks/{filesystem-ma48de29.js → websearch-gfhhve88.js} +5 -5
- package/dist/chunks/{filesystem-v7s1536z.js → websearch-gjk5m4qa.js} +3 -3
- package/dist/chunks/{filesystem-bvv8j0qg.js → websearch-gqkzrhj2.js} +11 -11
- package/dist/chunks/{filesystem-y9q49zk7.js → websearch-gspy0ysg.js} +4 -4
- package/dist/chunks/{filesystem-t8c0xvf3.js → websearch-gwj41vyz.js} +7 -7
- package/dist/chunks/{filesystem-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-d9jtx293.js → websearch-haa4cca0.js} +6 -6
- package/dist/chunks/{filesystem-hgz4x7wa.js → websearch-hgz4x7wa.js} +1 -1
- package/dist/chunks/{filesystem-n2bdxpfq.js → websearch-hhd9bfcx.js} +14 -14
- package/dist/chunks/{filesystem-ktnh1044.js → websearch-hhtxcv9s.js} +34 -34
- package/dist/chunks/{filesystem-tz35mf6x.js → websearch-hhyv66vq.js} +8 -8
- package/dist/chunks/{filesystem-2ryng5r3.js → websearch-hkffa77z.js} +4 -4
- package/dist/chunks/{filesystem-9s024g5s.js → websearch-hkkd4pm1.js} +4 -4
- package/dist/chunks/{filesystem-fxaymqdw.js → websearch-hq3c8me3.js} +4 -4
- package/dist/chunks/{filesystem-hnb4yx9q.js → websearch-hrg4krg0.js} +7 -7
- package/dist/chunks/{filesystem-crx3azpj.js → websearch-hrgbrncq.js} +12 -12
- package/dist/chunks/{filesystem-r3fk5851.js → websearch-hx6kv5hf.js} +38 -38
- package/dist/chunks/{filesystem-47wyv12f.js → websearch-ja06ey8y.js} +11 -11
- package/dist/chunks/{filesystem-e6464sbd.js → websearch-jehjq15e.js} +14 -14
- package/dist/chunks/{filesystem-wd9v2wqs.js → websearch-jhxrt86x.js} +23 -23
- package/dist/chunks/{filesystem-ws0htp7c.js → websearch-jneafm26.js} +13 -13
- package/dist/chunks/{filesystem-rgx5n1kn.js → websearch-k10p7qps.js} +4 -4
- package/dist/chunks/{filesystem-4wxv1g1t.js → websearch-k2grd0fw.js} +3 -3
- package/dist/chunks/{filesystem-kzk6m8s6.js → websearch-k9mnbpyw.js} +82 -65
- package/dist/chunks/{filesystem-a78v4ve5.js → websearch-kb7wnz6t.js} +17 -17
- package/dist/chunks/{filesystem-xey671re.js → websearch-kev8d4bj.js} +25 -25
- package/dist/chunks/{filesystem-e29yd45t.js → websearch-kfxbay1b.js} +13 -13
- package/dist/chunks/{filesystem-mwpbc7s8.js → websearch-kjm8yh2d.js} +18 -18
- package/dist/chunks/{filesystem-wtwcdvfd.js → websearch-kkkrbyg1.js} +20 -20
- package/dist/chunks/{filesystem-9wfts7m5.js → websearch-kqn4kc20.js} +17 -17
- package/dist/chunks/{filesystem-38mdmq5f.js → websearch-krdzrw7f.js} +78 -78
- package/dist/chunks/{filesystem-t5jqnx4m.js → websearch-m2xy2q1r.js} +10 -10
- package/dist/chunks/{filesystem-h9k3zmfa.js → websearch-m3chcn87.js} +16 -16
- package/dist/chunks/{filesystem-cc09gky1.js → websearch-m5yraf7v.js} +24 -24
- package/dist/chunks/{filesystem-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-maspj1v3.js → websearch-maspj1v3.js} +1 -1
- package/dist/chunks/{filesystem-ej4n91fq.js → websearch-mj7h6rjn.js} +19 -19
- package/dist/chunks/{filesystem-ycge4e7e.js → websearch-mp6nn8em.js} +3 -3
- package/dist/chunks/{filesystem-628nc13m.js → websearch-mq0qga5n.js} +28 -28
- package/dist/chunks/{filesystem-jvz4rjy9.js → websearch-n33ezsnm.js} +22 -22
- package/dist/chunks/{filesystem-rjtxxem0.js → websearch-n3dj4p5b.js} +8 -8
- package/dist/chunks/{filesystem-zftfvc0z.js → websearch-ng1gee1q.js} +5 -5
- package/dist/chunks/{filesystem-z7d7tagb.js → websearch-nkndh8r8.js} +11 -11
- package/dist/chunks/{filesystem-n9kc33re.js → websearch-nkt96xeg.js} +3 -3
- package/dist/chunks/{filesystem-m30bzzm8.js → websearch-nvgev6qc.js} +15 -15
- package/dist/chunks/{filesystem-qnxbmed8.js → websearch-nytcpyw5.js} +44 -44
- package/dist/chunks/{filesystem-shnqbm89.js → websearch-p08b6fdv.js} +10 -10
- package/dist/chunks/{filesystem-rb70syh1.js → websearch-p2aadfsr.js} +15 -15
- package/dist/chunks/{filesystem-ehv7knr3.js → websearch-p2w45j0v.js} +16 -16
- package/dist/chunks/{filesystem-gp9jqd59.js → websearch-p97g2b6e.js} +6 -6
- package/dist/chunks/{filesystem-b6snqm39.js → websearch-pb47hwpg.js} +11 -11
- package/dist/chunks/{filesystem-60fs82z5.js → websearch-pghxh1nh.js} +11 -11
- package/dist/chunks/{filesystem-20mebfjn.js → websearch-phepkm1d.js} +21 -21
- package/dist/chunks/{filesystem-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-bmr56wjg.js → websearch-pkj8hqbd.js} +9 -9
- package/dist/chunks/{filesystem-pknna89w.js → websearch-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-shy0vwdw.js → websearch-pqwxz2b0.js} +2 -2
- package/dist/chunks/{filesystem-wm56crqz.js → websearch-pxwwnbaf.js} +63 -45
- package/dist/chunks/{filesystem-d0gnxsps.js → websearch-pzwg7x8a.js} +21 -21
- package/dist/chunks/{filesystem-rdd07134.js → websearch-q8fpdxtt.js} +27 -27
- package/dist/chunks/{filesystem-axkrk270.js → websearch-qcs9fwqv.js} +14 -14
- package/dist/chunks/{filesystem-4rdhmkj7.js → websearch-qfx9w7bq.js} +3 -3
- package/dist/chunks/{filesystem-qnc92qwc.js → websearch-qnc92qwc.js} +1 -1
- package/dist/chunks/{filesystem-d8kc7qyj.js → websearch-qp956b5j.js} +6 -6
- package/dist/chunks/{filesystem-wpf4st6a.js → websearch-qr9hjn0s.js} +9 -9
- package/dist/chunks/{filesystem-qsdy395h.js → websearch-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-pn3cc07s.js → websearch-qwjmgwmn.js} +8 -8
- package/dist/chunks/{filesystem-k7xxzs5q.js → websearch-r2710ff6.js} +23 -23
- package/dist/chunks/{filesystem-hgx0r8wb.js → websearch-r2k8chwn.js} +45 -45
- package/dist/chunks/{filesystem-adgawzpd.js → websearch-r8x9drbh.js} +5 -5
- package/dist/chunks/{filesystem-02hzg919.js → websearch-r9m9gn5p.js} +27 -24
- package/dist/chunks/websearch-rap9a73h.js +18 -0
- package/dist/chunks/{filesystem-rdw6cm16.js → websearch-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-tkb22qbm.js → websearch-rert0e01.js} +2 -2
- package/dist/chunks/{filesystem-eebh6wmp.js → websearch-rgxvqbqk.js} +32 -32
- package/dist/chunks/{filesystem-n3yfs7ec.js → websearch-rh5yy33f.js} +31 -31
- package/dist/chunks/{filesystem-mek16e5d.js → websearch-rhbc2745.js} +11 -11
- package/dist/chunks/{filesystem-c41wscbt.js → websearch-rj3eygr5.js} +2 -2
- package/dist/chunks/{filesystem-y5x50g1v.js → websearch-rp432f9z.js} +27 -27
- package/dist/chunks/{filesystem-zdqhb26j.js → websearch-rww43xzx.js} +3 -3
- package/dist/chunks/{filesystem-j72mgbmv.js → websearch-s5dq0fh7.js} +33 -33
- package/dist/chunks/{filesystem-rhjbct0v.js → websearch-s8d7rejh.js} +4 -4
- package/dist/chunks/{filesystem-c8ax2afj.js → websearch-sa8ekw3f.js} +2 -2
- package/dist/chunks/{filesystem-scgrse2b.js → websearch-scgrse2b.js} +2 -2
- package/dist/chunks/{filesystem-3xj61p28.js → websearch-sjh1dprn.js} +22 -22
- package/dist/chunks/{filesystem-vbk72xvh.js → websearch-stv64172.js} +16 -16
- package/dist/chunks/{filesystem-syv4x271.js → websearch-syv4x271.js} +1 -1
- package/dist/chunks/{filesystem-426dk71k.js → websearch-t3nt8dwz.js} +13 -13
- package/dist/chunks/{filesystem-cqwer3tv.js → websearch-t41sszjr.js} +24 -24
- package/dist/chunks/{filesystem-hxdhxhc0.js → websearch-t8n1383z.js} +36 -36
- package/dist/chunks/{filesystem-9sjeq45g.js → websearch-tax3fkaf.js} +1 -1
- package/dist/chunks/{filesystem-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-w5yqftge.js → websearch-tcay1cqt.js} +6 -6
- package/dist/chunks/{filesystem-tcezcvh9.js → websearch-tcezcvh9.js} +1 -1
- package/dist/chunks/{filesystem-9sdvy6ea.js → websearch-tdhdpjpk.js} +5 -5
- package/dist/chunks/{filesystem-tdstcens.js → websearch-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-4kv77ab9.js → websearch-tf2nhjex.js} +13 -13
- package/dist/chunks/{filesystem-tm0kqsz3.js → websearch-tm0kqsz3.js} +1 -1
- package/dist/chunks/{filesystem-bfegkxfd.js → websearch-tmfxf5e7.js} +11 -11
- package/dist/chunks/{filesystem-42721k3a.js → websearch-tt87ktex.js} +18 -18
- package/dist/chunks/{filesystem-aqazz0j8.js → websearch-tx4eqkkw.js} +22 -22
- package/dist/chunks/{filesystem-tyytaxap.js → websearch-tyytaxap.js} +1 -1
- package/dist/chunks/{filesystem-v0es1rhs.js → websearch-v0es1rhs.js} +2 -2
- package/dist/chunks/{filesystem-4g0yx14a.js → websearch-v1kmxtyj.js} +10 -10
- package/dist/chunks/{filesystem-v7p4zvkq.js → websearch-v7p4zvkq.js} +2 -2
- package/dist/chunks/{filesystem-v7z2bvyd.js → websearch-v7z2bvyd.js} +1 -1
- package/dist/chunks/{filesystem-veqvce7d.js → websearch-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-mddpn92g.js → websearch-vrc1bnre.js} +29 -29
- package/dist/chunks/{filesystem-09ygvw9n.js → websearch-vywg70mg.js} +9 -9
- package/dist/chunks/{filesystem-vzs5sf6e.js → websearch-vzs5sf6e.js} +1 -1
- package/dist/chunks/{filesystem-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-0sdzw0m1.js → websearch-w46jqsvm.js} +27 -27
- package/dist/chunks/{filesystem-gveanz76.js → websearch-w4y2mxn4.js} +20 -20
- package/dist/chunks/{filesystem-7ha8mbyb.js → websearch-w4zft92x.js} +9 -9
- package/dist/chunks/{filesystem-yezy7z0k.js → websearch-wazcrk27.js} +11 -11
- package/dist/chunks/{filesystem-wd87259q.js → websearch-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-yw46jfkh.js → websearch-we87z89c.js} +13 -13
- package/dist/chunks/{filesystem-e1t3mam8.js → websearch-wgdke5pv.js} +9 -9
- package/dist/chunks/{filesystem-0x07vhym.js → websearch-x0fnqmv0.js} +13 -13
- package/dist/chunks/{filesystem-n4fsvy2x.js → websearch-x5h28p89.js} +24 -24
- package/dist/chunks/{filesystem-fzcmqh9t.js → websearch-x5wkbpg0.js} +21 -21
- package/dist/chunks/{filesystem-drwq78ky.js → websearch-xfkkasph.js} +4 -4
- package/dist/chunks/{filesystem-6nt2he5f.js → websearch-xg4371px.js} +33 -33
- package/dist/chunks/{filesystem-m5jcjszt.js → websearch-xkhfjrgz.js} +3 -3
- package/dist/chunks/{filesystem-wne619hj.js → websearch-xrb85mgg.js} +25 -25
- package/dist/chunks/{filesystem-2k71kv7p.js → websearch-xxxym934.js} +4 -4
- package/dist/chunks/{filesystem-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-y71avatq.js → websearch-y71avatq.js} +1 -1
- package/dist/chunks/{filesystem-bxqk5pf5.js → websearch-y7nndgyc.js} +9 -9
- package/dist/chunks/{filesystem-qmr691ca.js → websearch-yfy85faz.js} +3 -3
- package/dist/chunks/{filesystem-f5dbfwc4.js → websearch-ynreg67e.js} +4 -4
- package/dist/chunks/{filesystem-f2n192rq.js → websearch-yp2x3t23.js} +4 -4
- package/dist/chunks/{filesystem-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-b5s5zk2w.js → websearch-z7m47ewa.js} +11 -11
- package/dist/chunks/{filesystem-wb1x78f5.js → websearch-z938xz10.js} +36 -36
- package/dist/chunks/{filesystem-v0xmac3n.js → websearch-zd7wpxs7.js} +2 -2
- package/dist/chunks/{filesystem-b71jh5yt.js → websearch-zkf2w606.js} +12 -12
- package/dist/chunks/{filesystem-bx0gyb4h.js → websearch-zmr78fwr.js} +5 -5
- package/dist/chunks/{filesystem-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-4c2dxef7.js → websearch-ztcw2cka.js} +16 -16
- package/dist/chunks/{filesystem-e0w2vstn.js → websearch-ztvjr4k5.js} +10 -10
- package/dist/chunks/{filesystem-zxq2ej10.js → websearch-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 +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- 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 +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +95 -95
- 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 +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +101 -101
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- 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 +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +104 -104
- package/dist/models-dev.js +103 -103
- 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 +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +74 -74
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +91 -91
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +90 -90
- 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 +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +92 -92
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/session/runner/publish-llm-event.d.ts +1 -0
- package/dist/types/session/runner/step.d.ts +32 -3
- 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/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/filesystem-1z5jn46p.js +0 -253
- package/dist/chunks/filesystem-qc068m1q.js +0 -18
- /package/dist/chunks/{filesystem-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → websearch-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → websearch-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2bv980vf.js → websearch-2bv980vf.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → websearch-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → websearch-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3t0ybcrp.js → websearch-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → websearch-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → websearch-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → websearch-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-6q2bdcd1.js → websearch-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → websearch-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → websearch-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-84wd9syh.js → websearch-84wd9syh.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → websearch-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → websearch-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → websearch-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → websearch-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → websearch-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → websearch-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → websearch-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → websearch-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → websearch-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → websearch-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → websearch-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → websearch-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → websearch-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → websearch-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hcxmzztb.js → websearch-hcxmzztb.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → websearch-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → websearch-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jze0r7bz.js → websearch-jze0r7bz.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-m18g726c.js → websearch-m18g726c.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → websearch-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → websearch-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-pkyv6v7h.js → websearch-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{filesystem-pyv0edze.js → websearch-pyv0edze.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → websearch-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → websearch-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-ve7vex1e.js → websearch-ve7vex1e.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → websearch-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → websearch-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wjj7prxr.js → websearch-wjj7prxr.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → websearch-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → websearch-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → websearch-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → websearch-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → websearch-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z5v4ffb3.js → websearch-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → websearch-z9919s4g.js} +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-g5x1q65a.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./websearch-1p799z25.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service61,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node65
|
|
13
|
+
} from "./websearch-dyd0ex0t.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./websearch-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./websearch-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
24
|
CreateInput: () => CreateInput2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event4,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
27
|
ID: () => ID2,
|
|
28
28
|
Info: () => Info2,
|
|
29
|
-
NotFoundError: () =>
|
|
29
|
+
NotFoundError: () => NotFoundError3,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service21,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node23
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event4 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
@@ -44,7 +44,7 @@ var Info2 = Pty.Info;
|
|
|
44
44
|
var CreateInput2 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
47
|
+
class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
48
|
ptyID: ID2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
@@ -54,12 +54,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service21 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service84;
|
|
61
61
|
const location = yield* Service81;
|
|
62
|
-
const shell = yield*
|
|
62
|
+
const shell = yield* Service61;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service21.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node23 = makeLocationNode({
|
|
273
|
+
service: Service21,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [node88, node85,
|
|
275
|
+
deps: [node88, node85, node65]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export { ID2, Info2, CreateInput2, UpdateInput2,
|
|
278
|
+
export { ID2, Info2, CreateInput2, UpdateInput2, NotFoundError3, ExitedError2, Service21, node23, exports_pty, Event4 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-g5x1q65a.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-2yb0fdev.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event8,
|
|
21
21
|
ID: () => ID5,
|
|
22
|
-
Info: () =>
|
|
22
|
+
Info: () => Info7,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service43,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available3,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node46,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,12 +34,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event8 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source3 = Skill.Source;
|
|
42
|
-
var
|
|
42
|
+
var Info7 = Skill.Info;
|
|
43
43
|
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
@@ -71,9 +71,9 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service43 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service84;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service43.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node46 = makeLocationNode({
|
|
112
|
+
service: Service43,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node88]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info7, ID5, Name2, available3, toModelOutput3, prepare3, Service43, node46, exports_skill5, Event8 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./websearch-t41sszjr.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-z5v4ffb3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service50
|
|
13
|
+
} from "./websearch-m5yraf7v.js";
|
|
14
14
|
import {
|
|
15
15
|
Service81
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./websearch-1p799z25.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./websearch-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin22
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,17 +30,17 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { sameDirectory } from "@opencode/util/path";
|
|
31
31
|
import { dirname, join } from "path";
|
|
32
32
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin22 = define({
|
|
34
34
|
id: "opencode.config.instruction",
|
|
35
35
|
effect: Effect.fn(function* () {
|
|
36
|
-
const discovery = yield*
|
|
36
|
+
const discovery = yield* Service50;
|
|
37
37
|
if (!discovery.project && !discovery.global)
|
|
38
38
|
return;
|
|
39
39
|
yield* Effect.gen(function* () {
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
42
|
const location = yield* Service81;
|
|
43
|
-
const watcher = yield*
|
|
43
|
+
const watcher = yield* Service73;
|
|
44
44
|
const changes = yield* PubSub.sliding(1);
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -115,4 +115,4 @@ function ancestorDirectories(start, stop) {
|
|
|
115
115
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { Plugin22, exports_instruction };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load5
|
|
6
|
+
} from "./websearch-e3qxr5gk.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event14,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options9,
|
|
17
|
+
Service: () => Service73,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured11,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer26,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node77,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event14 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load5());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options9 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service73 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer26 = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service73.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer20 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service73.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer26().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service73).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service73, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured11(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service73, layer: layer26(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node77 = configured11();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event14, hasNativeBinding2, Native3, Options9, Service73, Test3, layer26, testLayer3, nativeLayer2, nativeNode2, configured11, node77, exports_watcher };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-bwd5tn72.js";
|
|
5
5
|
import {
|
|
6
6
|
Service84,
|
|
7
7
|
node88
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./websearch-g5x1q65a.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service52,
|
|
11
|
+
node54
|
|
12
|
+
} from "./websearch-c7gbd1xe.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service48,
|
|
15
|
+
node50
|
|
16
|
+
} from "./websearch-tcay1cqt.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./websearch-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make16
|
|
22
|
+
} from "./websearch-yp2x3t23.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service46
|
|
26
|
+
} from "./websearch-dhmh7aw6.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service69,
|
|
29
|
+
node73
|
|
30
|
+
} from "./websearch-aqa98z50.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./websearch-ng1gee1q.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./websearch-x5h28p89.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./websearch-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service45,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer19,
|
|
47
|
+
node: () => node48,
|
|
48
48
|
noopLayer: () => noopLayer3,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service45 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer19 = Layer.effect(Service45, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service69;
|
|
64
|
+
const instances = yield* Service48;
|
|
65
65
|
const bus = yield* Service84;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service52;
|
|
67
67
|
const db = (yield* Service85).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer21 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service46.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make16({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer21 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service45.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer21 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node48 = makeGlobalNode({
|
|
127
|
+
service: Service45,
|
|
128
|
+
layer: layer19,
|
|
129
|
+
deps: [node73, node50, node88, node89, node54]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer3 = Layer.succeed(
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service45, Service45.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service51, Service51.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service45, terminal2, layer19, node48, noopLayer3, exports_execution };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service48,
|
|
10
|
+
node: () => node50
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service48 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node50 = LayerNode.unbound(Service48, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service48, node50, exports_service2 };
|
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./websearch-tazgh4e4.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./websearch-ef5x83kb.js";
|
|
12
12
|
import {
|
|
13
13
|
Service81
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./websearch-1p799z25.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./websearch-ztvjr4k5.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./websearch-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|