@opencode/core 0.0.0-dev-19433 → 0.0.0-dev-19435
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 +77 -77
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{permission-9mbt5q6r.js → location-03b5nb02.js} +15 -15
- package/dist/chunks/{permission-mg0znfg2.js → location-07g0wp3c.js} +28 -28
- package/dist/chunks/{permission-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{permission-0q0f95c6.js → location-0q0f95c6.js} +1 -1
- package/dist/chunks/{permission-hhsqcnjm.js → location-141fpr1p.js} +27 -27
- package/dist/chunks/{permission-krcmgbzg.js → location-16tb5cjj.js} +14 -14
- package/dist/chunks/{permission-jq2w5eqw.js → location-1as6q9f6.js} +10 -10
- package/dist/chunks/{permission-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{permission-g0dapk05.js → location-1j70cen6.js} +36 -36
- package/dist/chunks/{permission-5hqtspna.js → location-1jk276m1.js} +11 -11
- package/dist/chunks/{permission-6vq97qmv.js → location-1q5awywt.js} +5 -5
- package/dist/chunks/{permission-mfqp6xfm.js → location-1ygqh575.js} +6 -6
- package/dist/chunks/{permission-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{permission-fn2hydb4.js → location-226tafxp.js} +1 -1
- package/dist/chunks/{permission-2402vzrj.js → location-2402vzrj.js} +1 -1
- package/dist/chunks/{permission-bb3z56gq.js → location-29arvqx0.js} +138 -138
- package/dist/chunks/{permission-tq578zw6.js → location-29e0nmzb.js} +23 -23
- package/dist/chunks/{permission-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{permission-evbgk2k8.js → location-2f0bjgcj.js} +5 -5
- package/dist/chunks/{permission-2wyjv582.js → location-2hgjbaq7.js} +4 -4
- package/dist/chunks/{permission-2k8khapm.js → location-2k8khapm.js} +1 -1
- package/dist/chunks/{permission-6a32rn4v.js → location-2qjvwhpy.js} +32 -32
- package/dist/chunks/{permission-frb38jfy.js → location-2sc5vdwx.js} +7 -7
- package/dist/chunks/{permission-e3c36pw0.js → location-2wyd3ps6.js} +5 -5
- package/dist/chunks/{permission-t02gjz1k.js → location-2x8aavte.js} +8 -8
- package/dist/chunks/{permission-8wfdbk8j.js → location-2xsh895f.js} +11 -11
- package/dist/chunks/{permission-rkmq0ftz.js → location-389stghd.js} +9 -9
- package/dist/chunks/{permission-xzbwntxk.js → location-39s9xh8n.js} +16 -16
- package/dist/chunks/{permission-n3mvxh6b.js → location-3af3sqg9.js} +15 -15
- package/dist/chunks/{permission-bb9gdsay.js → location-3be754jd.js} +7 -7
- package/dist/chunks/{permission-xp9xnn8d.js → location-3bvf0a01.js} +35 -35
- package/dist/chunks/{permission-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{permission-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-bct739vz.js → location-3j8sdtpz.js} +4 -4
- package/dist/chunks/{permission-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{permission-magykp64.js → location-3t8eac1t.js} +4 -4
- package/dist/chunks/{permission-43rr00tt.js → location-3tbkqww7.js} +5 -5
- package/dist/chunks/{permission-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{permission-s5wvc7af.js → location-410zfba8.js} +2 -2
- package/dist/chunks/{permission-j1yse1kd.js → location-4hyxw530.js} +9 -9
- package/dist/chunks/{permission-gc7nq2w8.js → location-4pfqqkn9.js} +15 -15
- package/dist/chunks/{permission-kbhrqfch.js → location-4sr2v72b.js} +10 -10
- package/dist/chunks/location-4v7qdvcn.js +18 -0
- package/dist/chunks/{permission-ssbetzbz.js → location-56ek0vvh.js} +13 -13
- package/dist/chunks/{permission-7vc3mrhj.js → location-58gxdv9m.js} +12 -12
- package/dist/chunks/{permission-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{permission-pxz8cxa5.js → location-5rp8v4vz.js} +13 -13
- package/dist/chunks/{permission-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{permission-q494k5ge.js → location-5vqd2904.js} +17 -17
- package/dist/chunks/{permission-6c0389mc.js → location-5x0v6vja.js} +1 -1
- package/dist/chunks/{permission-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{permission-62fptws6.js → location-6bsjh9v7.js} +289 -289
- package/dist/chunks/{permission-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{permission-71q4at8m.js → location-71q4at8m.js} +1 -1
- package/dist/chunks/{permission-dv1qgsyq.js → location-7b15y959.js} +8 -8
- package/dist/chunks/{permission-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-j5nhpq27.js → location-7j0rmcxv.js} +1 -1
- package/dist/chunks/{permission-sgrgw8g2.js → location-7smaqcb0.js} +14 -14
- package/dist/chunks/{permission-81swgkk7.js → location-81swgkk7.js} +2 -2
- package/dist/chunks/{permission-w7a9hpzm.js → location-829mfcx0.js} +9 -9
- package/dist/chunks/{permission-3gam31rs.js → location-889pe7d8.js} +34 -34
- package/dist/chunks/{permission-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{permission-40cbsfw4.js → location-8hg6030g.js} +25 -25
- package/dist/chunks/{permission-g08z5fem.js → location-8m3d2bhh.js} +8 -8
- package/dist/chunks/{permission-8p4f9s12.js → location-8p4f9s12.js} +2 -2
- package/dist/chunks/{permission-wtz46evs.js → location-8q61w4ba.js} +6 -6
- package/dist/chunks/{permission-s0hza5ac.js → location-8s8mxddj.js} +4 -4
- package/dist/chunks/{permission-7e6sjpzv.js → location-96yrngjz.js} +11 -11
- package/dist/chunks/{permission-k6y57zrd.js → location-9tbtdqpf.js} +4 -4
- package/dist/chunks/{permission-q3nxez7d.js → location-9y8gg6zj.js} +8 -8
- package/dist/chunks/location-a0etbwks.js +22 -0
- package/dist/chunks/{permission-a1bz86dw.js → location-a1bz86dw.js} +3 -3
- package/dist/chunks/{permission-apn687kz.js → location-a24v126d.js} +6 -6
- package/dist/chunks/{permission-0vver8sv.js → location-a5z4fv32.js} +27 -27
- package/dist/chunks/{permission-dcyd24wq.js → location-aab08neh.js} +21 -21
- package/dist/chunks/{permission-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{permission-w1k6zdcm.js → location-ae99a08d.js} +8 -8
- package/dist/chunks/{permission-5h0sc7d2.js → location-ae9ptqg3.js} +6 -6
- package/dist/chunks/{permission-fhwh6ymw.js → location-ax870rrv.js} +7 -7
- package/dist/chunks/{permission-bsd2krkr.js → location-ayhzktfb.js} +33 -33
- package/dist/chunks/{permission-awaee7qt.js → location-b1chm04x.js} +7 -7
- package/dist/chunks/{permission-q43b811b.js → location-b33xe3vz.js} +22 -22
- package/dist/chunks/{permission-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{permission-yz8759qy.js → location-b8q5k5sw.js} +20 -20
- package/dist/chunks/{permission-zxwym8ez.js → location-bde8na58.js} +15 -15
- package/dist/chunks/{permission-zegc85zc.js → location-bfrarwjs.js} +5 -5
- package/dist/chunks/{permission-r33c6a77.js → location-bh19jbb0.js} +6 -6
- package/dist/chunks/{permission-bha4atvq.js → location-bha4atvq.js} +4 -4
- package/dist/chunks/{permission-m38pnftj.js → location-bndvft47.js} +22 -22
- package/dist/chunks/{permission-jdh6s7jq.js → location-bpqahvg7.js} +8 -8
- package/dist/chunks/{permission-1aqtxx1v.js → location-bqs6z16n.js} +5 -5
- package/dist/chunks/{permission-jxpkt7tv.js → location-bsj0k59k.js} +26 -26
- package/dist/chunks/{permission-05z6nbb6.js → location-bte2cbsy.js} +22 -22
- package/dist/chunks/{permission-kc0nqpr4.js → location-bvr2g14r.js} +11 -11
- package/dist/chunks/{permission-92c73cms.js → location-c03trhyz.js} +24 -24
- package/dist/chunks/{permission-30p61b7v.js → location-c0xs0mpv.js} +26 -26
- package/dist/chunks/{permission-0w1z60c4.js → location-ca9c6syk.js} +25 -25
- package/dist/chunks/{permission-b09gp3e1.js → location-cc10ch8m.js} +22 -22
- package/dist/chunks/{permission-cfpkc3c9.js → location-cfpkc3c9.js} +2 -2
- package/dist/chunks/{permission-a1sq34g7.js → location-cj3c3by5.js} +20 -20
- package/dist/chunks/{permission-4fqjavnt.js → location-cvaj0dbv.js} +20 -20
- package/dist/chunks/{permission-q4r5v072.js → location-czkxp88d.js} +6 -6
- package/dist/chunks/{permission-8g9sv97x.js → location-czmgezh1.js} +24 -24
- package/dist/chunks/{permission-tv6r6mb4.js → location-dchs2g52.js} +5 -5
- package/dist/chunks/{permission-y71avatq.js → location-dpkg50ah.js} +4 -4
- package/dist/chunks/{permission-q299s37z.js → location-dwfyc9qf.js} +11 -11
- package/dist/chunks/{permission-m9mprvkw.js → location-dyysx4dq.js} +6 -6
- package/dist/chunks/{permission-6ewjxdmc.js → location-e61xx2n8.js} +3 -3
- package/dist/chunks/{permission-dbjeecdk.js → location-e8ne3dpa.js} +21 -21
- package/dist/chunks/{permission-eaj1djv9.js → location-eaj1djv9.js} +1 -1
- package/dist/chunks/{permission-dq0mr2jp.js → location-eewaj409.js} +11 -11
- package/dist/chunks/{permission-61vwcr6k.js → location-ekvngk86.js} +7 -7
- package/dist/chunks/{permission-tasvhq82.js → location-en58n665.js} +13 -13
- package/dist/chunks/{permission-zsg3w01c.js → location-ent09bmt.js} +4 -4
- package/dist/chunks/{permission-sdgbfwbf.js → location-ep6qtvyr.js} +30 -30
- package/dist/chunks/{permission-mhkvc446.js → location-eq1pz5kg.js} +3 -3
- package/dist/chunks/{permission-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{permission-es6yzghe.js → location-etwfhkz9.js} +7 -7
- package/dist/chunks/{permission-mbpabt96.js → location-ezedb5nb.js} +17 -17
- package/dist/chunks/{permission-f2n192rq.js → location-f2n192rq.js} +1 -1
- package/dist/chunks/{permission-7rnn8skb.js → location-f6t340ae.js} +12 -12
- package/dist/chunks/{permission-wk5z6jzv.js → location-f7ehr2sm.js} +8 -8
- package/dist/chunks/{permission-f828m53h.js → location-f828m53h.js} +2 -2
- package/dist/chunks/{permission-f9ggb10g.js → location-f8hxd4bv.js} +13 -13
- package/dist/chunks/{permission-hrvd6t1f.js → location-fjmrr6sh.js} +9 -9
- package/dist/chunks/{permission-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
- package/dist/chunks/{permission-1vhd68sd.js → location-g7j46mhj.js} +14 -14
- package/dist/chunks/{permission-67amkq1e.js → location-gc9rycst.js} +12 -12
- package/dist/chunks/{permission-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{permission-020tazj7.js → location-gs13a0mc.js} +56 -56
- package/dist/chunks/{permission-z2gqb3qg.js → location-gvnbva7c.js} +12 -12
- package/dist/chunks/{permission-b7fz65hd.js → location-gw2vvezc.js} +9 -9
- package/dist/chunks/{permission-rvgrny2v.js → location-gx10v58f.js} +18 -18
- package/dist/chunks/{permission-tawsc025.js → location-gzg98a5d.js} +6 -6
- package/dist/chunks/{permission-h03wrkyp.js → location-h03wrkyp.js} +2 -2
- package/dist/chunks/{permission-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{permission-05d5kf85.js → location-h7jk4asw.js} +43 -43
- package/dist/chunks/{permission-htv999p2.js → location-h8ja802q.js} +4 -4
- package/dist/chunks/{permission-p9wjsttt.js → location-hdmnnff5.js} +8 -8
- package/dist/chunks/{permission-6r41hzjf.js → location-hky8et6e.js} +10 -10
- package/dist/chunks/{permission-yjptyezs.js → location-hnr5yq9h.js} +5 -5
- package/dist/chunks/{permission-epa7ab47.js → location-hv4jntb9.js} +18 -18
- package/dist/chunks/{permission-axswzfy0.js → location-hvpzgxgs.js} +9 -9
- package/dist/chunks/{permission-31e5ersp.js → location-j0fb3yen.js} +18 -18
- package/dist/chunks/{permission-nbddwgy7.js → location-j26kwb45.js} +10 -10
- package/dist/chunks/{permission-eyhztbdt.js → location-j2p38w15.js} +42 -42
- package/dist/chunks/{permission-amsh879j.js → location-j556b5bm.js} +26 -26
- package/dist/chunks/{permission-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{permission-bnmyf0ce.js → location-j69nrb2c.js} +15 -15
- package/dist/chunks/{permission-dhw3sfae.js → location-jbhgm1pg.js} +13 -13
- package/dist/chunks/{permission-xe133f6x.js → location-k3zbr1bh.js} +7 -7
- package/dist/chunks/{permission-qz0j6jwv.js → location-k44by2q5.js} +42 -42
- package/dist/chunks/{permission-bf1f8spf.js → location-k5jcx5w1.js} +9 -9
- package/dist/chunks/{permission-kg06axw8.js → location-kg06axw8.js} +1 -1
- package/dist/chunks/{permission-4kvwdcv5.js → location-kg1vvjz6.js} +22 -22
- package/dist/chunks/{permission-rpvameez.js → location-kjtkant2.js} +11 -11
- package/dist/chunks/{permission-54bvyzn9.js → location-kpe4e0s9.js} +17 -17
- package/dist/chunks/{permission-g5dqybf4.js → location-ky1ech8t.js} +6 -6
- package/dist/chunks/{permission-b1hwkhhg.js → location-kyrbgmgz.js} +4 -4
- package/dist/chunks/{permission-84esvpjp.js → location-m0kbr7p9.js} +8 -8
- package/dist/chunks/{permission-hznecdg9.js → location-m1y7e9ek.js} +26 -26
- package/dist/chunks/{permission-h7ygw6q4.js → location-m86bnw2c.js} +9 -9
- package/dist/chunks/{permission-f2qv4rkk.js → location-m8nqv7st.js} +28 -28
- package/dist/chunks/{permission-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-87mf3pbm.js → location-mfpdf0ta.js} +7 -7
- package/dist/chunks/{permission-9bmt064q.js → location-mk60nzq1.js} +1 -1
- package/dist/chunks/{permission-mkcjrzeh.js → location-mkcjrzeh.js} +1 -1
- package/dist/chunks/{permission-ym6s8ka9.js → location-n002fnqn.js} +50 -50
- package/dist/chunks/{permission-yqt3rh4n.js → location-n25jd2cw.js} +29 -29
- package/dist/chunks/{permission-bzq2w820.js → location-n8f3mzga.js} +4 -4
- package/dist/chunks/{permission-8rzvvpen.js → location-ncaez7fb.js} +1 -1
- package/dist/chunks/{permission-2f04pwep.js → location-ndmv45hp.js} +3 -3
- package/dist/chunks/{permission-e82z9tr0.js → location-nhy5jxhy.js} +7 -7
- package/dist/chunks/{permission-9q891yrf.js → location-nxjhxkv3.js} +8 -8
- package/dist/chunks/{permission-9z3fc33k.js → location-p6drjj8h.js} +4 -4
- package/dist/chunks/{permission-w1k39n5e.js → location-paegk39x.js} +4 -4
- package/dist/chunks/{permission-aq6p0j7t.js → location-pec4bm3r.js} +13 -13
- package/dist/chunks/{permission-xfps67qg.js → location-pfwdjrz4.js} +2 -2
- package/dist/chunks/{permission-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{permission-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{permission-vwj7x1yx.js → location-ppdy6qwe.js} +4 -4
- package/dist/chunks/{permission-d9h2d1ka.js → location-psg6js8p.js} +31 -31
- package/dist/chunks/{permission-hvbks3tt.js → location-pw9v3g6d.js} +8 -8
- package/dist/chunks/{permission-5dcw9y6m.js → location-pzfzh42t.js} +15 -15
- package/dist/chunks/{permission-p3djshn2.js → location-q17hktv8.js} +15 -15
- package/dist/chunks/{permission-hqs268ax.js → location-q3d655mj.js} +85 -85
- package/dist/chunks/{permission-1hbebamh.js → location-q7cq3y4p.js} +46 -46
- package/dist/chunks/{permission-tapgcwap.js → location-qdyxpk4m.js} +38 -38
- package/dist/chunks/{permission-jqfwb0pt.js → location-qgqfnjyk.js} +87 -87
- package/dist/chunks/{permission-4ws74jfa.js → location-qhs4rngb.js} +28 -28
- package/dist/chunks/{permission-0zhcx8km.js → location-qqs4xmxe.js} +49 -49
- package/dist/chunks/{permission-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{permission-2kagef7w.js → location-qvf5hp1t.js} +32 -32
- package/dist/chunks/{permission-6444e1x5.js → location-qx0n0hnh.js} +13 -13
- package/dist/chunks/{permission-686tcbjj.js → location-qxqbfyt6.js} +36 -36
- package/dist/chunks/{permission-2epmtwtd.js → location-qycwybve.js} +10 -10
- package/dist/chunks/{permission-f4b92nvy.js → location-r8qagt8b.js} +22 -22
- package/dist/chunks/{permission-34rkz0x9.js → location-ratrq7cm.js} +7 -7
- package/dist/chunks/{permission-7j2qha59.js → location-rmdyxgmk.js} +8 -8
- package/dist/chunks/{permission-s92vhaeg.js → location-rp7ht49k.js} +21 -21
- package/dist/chunks/{permission-0ft9cg2j.js → location-rp8jz6x1.js} +4 -4
- package/dist/chunks/{permission-q8ym26hm.js → location-rpr7nt0p.js} +13 -13
- package/dist/chunks/{permission-dy0c576n.js → location-rwc534w8.js} +14 -14
- package/dist/chunks/{permission-yq1w5pqx.js → location-rz6djy9m.js} +34 -34
- package/dist/chunks/{permission-rw8f0y5b.js → location-s138m409.js} +13 -13
- package/dist/chunks/{permission-edxfe7s1.js → location-s6g7bkfa.js} +8 -8
- package/dist/chunks/{permission-peyqvyfe.js → location-s6xwevjp.js} +3 -3
- package/dist/chunks/{permission-nx4mcp4p.js → location-sdtwcfar.js} +32 -32
- package/dist/chunks/{permission-h4z9dwcs.js → location-sq0fsqh3.js} +8 -8
- package/dist/chunks/{permission-km9fdhsq.js → location-srhw5zxk.js} +8 -8
- package/dist/chunks/{permission-44bt3e44.js → location-sst0ghmm.js} +26 -26
- package/dist/chunks/{permission-qte4374f.js → location-svv6qsvk.js} +12 -12
- package/dist/chunks/{permission-rbygrj0c.js → location-swabsky0.js} +6 -6
- package/dist/chunks/{permission-sc88h56w.js → location-sycr0cxz.js} +29 -29
- package/dist/chunks/{permission-bpxakdpc.js → location-szfjwb31.js} +3 -3
- package/dist/chunks/{permission-8b0mdtzk.js → location-t072myer.js} +4 -4
- package/dist/chunks/{permission-c5krz9jh.js → location-t268s8j2.js} +11 -11
- package/dist/chunks/{permission-kcdjdwht.js → location-t45hv4wr.js} +15 -15
- package/dist/chunks/{permission-vd2882sq.js → location-t5d3pp3j.js} +20 -20
- package/dist/chunks/{permission-g035anep.js → location-t96n3knx.js} +30 -30
- package/dist/chunks/{permission-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{permission-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{permission-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{permission-dv7mkkh9.js → location-tgnvbkra.js} +18 -18
- package/dist/chunks/{permission-ywh6c7jz.js → location-tgsqfs3c.js} +37 -37
- package/dist/chunks/{permission-th5km1p3.js → location-th5km1p3.js} +2 -2
- package/dist/chunks/{permission-wqkncbjv.js → location-tm7ffpnn.js} +6 -6
- package/dist/chunks/{permission-5q24z5p0.js → location-tmbxdmay.js} +37 -37
- package/dist/chunks/{permission-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{permission-p72z5xx6.js → location-v4t0dn9g.js} +2 -2
- package/dist/chunks/{permission-gz2jw7z9.js → location-v542w56z.js} +26 -26
- package/dist/chunks/{permission-c2ky07yx.js → location-v7br46vm.js} +16 -16
- package/dist/chunks/{permission-3g80ynvx.js → location-vc5bk1c0.js} +13 -13
- package/dist/chunks/{permission-cww8ckd5.js → location-vdpzq508.js} +17 -17
- package/dist/chunks/{permission-ve6nm2s5.js → location-ve6nm2s5.js} +1 -1
- package/dist/chunks/{permission-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{permission-bqnr9rrg.js → location-vhbmzvty.js} +27 -27
- package/dist/chunks/{permission-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{permission-s320sr8b.js → location-w08q9gc9.js} +23 -23
- package/dist/chunks/{permission-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-rfnzy394.js → location-w79zsp0s.js} +1 -1
- package/dist/chunks/location-w850rf70.js +247 -0
- package/dist/chunks/{permission-q2t36530.js → location-wb8znxk9.js} +9 -9
- package/dist/chunks/{permission-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{permission-w9wjp6nc.js → location-wh6nx8gk.js} +4 -4
- package/dist/chunks/{permission-q5w1jtjn.js → location-whhmk8k9.js} +11 -11
- package/dist/chunks/{permission-q7kxw1qj.js → location-wknpsqf7.js} +36 -36
- package/dist/chunks/{permission-bpp1ve0d.js → location-wx89x9gj.js} +16 -16
- package/dist/chunks/{permission-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{permission-x43y2vfs.js → location-x43y2vfs.js} +2 -2
- package/dist/chunks/{permission-fp7afw2y.js → location-x7vckax8.js} +9 -9
- package/dist/chunks/{permission-qyqx8eqj.js → location-x80tm2rf.js} +18 -18
- package/dist/chunks/{permission-dnhfw08a.js → location-xaadjf4r.js} +24 -24
- package/dist/chunks/{permission-46h5h1ad.js → location-xcrbymt7.js} +46 -46
- package/dist/chunks/{permission-79arfv4e.js → location-xgpdceje.js} +23 -23
- package/dist/chunks/{permission-jjx7b5jh.js → location-xshrq19q.js} +20 -20
- package/dist/chunks/{permission-gdhz6ft6.js → location-xv590yw7.js} +32 -32
- package/dist/chunks/{permission-9hk4nqcc.js → location-y14y9keq.js} +1 -1
- package/dist/chunks/{permission-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{permission-h0wmkw4z.js → location-y2r22c8c.js} +72 -72
- package/dist/chunks/{permission-h3ap5ds5.js → location-y506eeqx.js} +11 -11
- package/dist/chunks/{permission-jbk88k2h.js → location-y8f7dagd.js} +21 -21
- package/dist/chunks/{permission-a1wdz8hm.js → location-y8z56cqz.js} +28 -28
- package/dist/chunks/{permission-hrwd0249.js → location-yb440psp.js} +5 -5
- package/dist/chunks/{permission-yddgxcp4.js → location-yddgxcp4.js} +2 -2
- package/dist/chunks/{permission-cqqqgcb7.js → location-yjdnpxry.js} +22 -22
- package/dist/chunks/{permission-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{permission-pwrejdr7.js → location-yryey8bw.js} +25 -25
- package/dist/chunks/{permission-yrznvahk.js → location-yrznvahk.js} +2 -2
- package/dist/chunks/{permission-hkfg6fzm.js → location-yt0fqk68.js} +5 -5
- package/dist/chunks/{permission-1ccpd7mf.js → location-yz4r56ez.js} +17 -17
- package/dist/chunks/{permission-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{permission-z63w68vq.js → location-z63w68vq.js} +2 -2
- package/dist/chunks/{permission-2vs2nh1n.js → location-zcrspsvn.js} +4 -4
- package/dist/chunks/{permission-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{permission-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{permission-04bnhnz9.js → location-zwsxqnjr.js} +18 -18
- package/dist/chunks/{permission-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/chunks/{permission-rsdcqs1d.js → location-zxvgyezd.js} +1 -1
- package/dist/chunks/{permission-1nznx4cc.js → location-zzqyq7ew.js} +35 -35
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +356 -356
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +93 -93
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +1 -1
- package/dist/instance.js +349 -349
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +82 -82
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +97 -97
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +102 -102
- 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 +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +78 -78
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +82 -82
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- 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 +9 -9
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- 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 +113 -113
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +206 -206
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +204 -204
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/permission-9sh4wc5j.js +0 -18
- package/dist/chunks/permission-mk0rj6bs.js +0 -22
- package/dist/chunks/permission-rw5rv931.js +0 -247
- /package/dist/chunks/{permission-0mesazry.js → location-0mesazry.js} +0 -0
- /package/dist/chunks/{permission-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{permission-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-hrnqkpcd.js → location-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-paphc93g.js → location-paphc93g.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-twg0f83k.js → location-twg0f83k.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-bndvft47.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-qqs4xmxe.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
AgentPlugin: () =>
|
|
17
|
-
Plugin: () =>
|
|
14
|
+
var exports_agent = {};
|
|
15
|
+
__export(exports_agent, {
|
|
16
|
+
AgentPlugin: () => exports_agent,
|
|
17
|
+
Plugin: () => Plugin14
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin14 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin23 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID16.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID16.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin23 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID16.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID16.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID16.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin23 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin14, exports_agent };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
|
+
import {
|
|
5
|
+
Service80,
|
|
6
|
+
node85
|
|
7
|
+
} from "./location-1jk276m1.js";
|
|
4
8
|
import {
|
|
5
9
|
Service79,
|
|
6
10
|
node84
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Service78,
|
|
10
|
-
node83
|
|
11
|
-
} from "./permission-c2ky07yx.js";
|
|
11
|
+
} from "./location-v7br46vm.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service76,
|
|
14
|
+
node81
|
|
15
|
+
} from "./location-j26kwb45.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-81swgkk7.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -38,12 +38,12 @@ __export(exports_project, {
|
|
|
38
38
|
Current: () => Current2,
|
|
39
39
|
ID: () => ID17,
|
|
40
40
|
Info: () => Info32,
|
|
41
|
-
NotFoundError: () =>
|
|
41
|
+
NotFoundError: () => NotFoundError9,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service75,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node80,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,7 +61,7 @@ var Current2 = Current3;
|
|
|
61
61
|
var Info32 = Info33;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class NotFoundError9 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
65
|
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service75 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,12 +94,12 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service76;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
|
-
const bus = yield*
|
|
102
|
-
const db = (yield*
|
|
101
|
+
const bus = yield* Service79;
|
|
102
|
+
const db = (yield* Service80).db;
|
|
103
103
|
const announcing = new Set;
|
|
104
104
|
const persist = Effect.fnUntraced(function* (project) {
|
|
105
105
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -167,7 +167,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
167
167
|
time_updated: Date.now()
|
|
168
168
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
169
169
|
if (!row)
|
|
170
|
-
return yield* new
|
|
170
|
+
return yield* new NotFoundError9({ projectID: input.projectID });
|
|
171
171
|
const project = fromRow(row);
|
|
172
172
|
yield* bus.publish(Event20.Updated, project);
|
|
173
173
|
return project;
|
|
@@ -271,12 +271,12 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
271
271
|
vcs: undefined
|
|
272
272
|
});
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service75.of({ list, update, resolve });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node80 = makeGlobalNode({
|
|
277
|
+
service: Service75,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node84, node85, FSUtil.node, node81, AppProcess.node]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { ID17, Vcs2, Current2, Info32, UpdateInput3,
|
|
282
|
+
export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError9, root2, Service75, node80, exports_project };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service62,
|
|
3
|
+
node67
|
|
4
|
+
} from "./location-b33xe3vz.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node79
|
|
8
|
+
} from "./location-rwc534w8.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service61,
|
|
11
|
+
node66
|
|
12
|
+
} from "./location-xcrbymt7.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service8,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer6,
|
|
28
|
+
node: () => node11
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service8 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service61;
|
|
40
|
+
const watcher = yield* Service62;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service74;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service8.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node11 = makeLocationNode({
|
|
74
|
+
service: Service8,
|
|
75
|
+
layer: layer6,
|
|
76
|
+
deps: [node66, FSUtil.node, node67, node79]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service8,
|
|
80
|
+
layer: Layer.succeed(Service8, Service8.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service8, layer6, node11, empty2, exports_source };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./location-wb8znxk9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service43
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-ve6nm2s5.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-4v7qdvcn.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service70
|
|
15
|
+
} from "./location-bpqahvg7.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-tm7ffpnn.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service39
|
|
23
|
+
} from "./location-sst0ghmm.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -42,7 +42,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
42
42
|
const instances = yield* Service43;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service70;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service39;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
125
125
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
126
126
|
if (!mime.startsWith("image/"))
|
|
127
127
|
return { data: Base64.make(data), mime };
|
|
128
|
-
const image = yield*
|
|
128
|
+
const image = yield* Service60;
|
|
129
129
|
const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
|
|
130
130
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
131
131
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-4sr2v72b.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service61
|
|
7
|
+
} from "./location-xcrbymt7.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-3be754jd.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service61;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
catalog.model.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID9.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make7();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make7, LMStudioPlugin2 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service74
|
|
8
|
+
} from "./location-rwc534w8.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service53
|
|
11
|
+
} from "./location-xaadjf4r.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service73
|
|
14
|
+
} from "./location-hv4jntb9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service13,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-vc5bk1c0.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service67
|
|
22
|
+
} from "./location-qqs4xmxe.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service66,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-gx10v58f.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin33,
|
|
42
|
+
name: () => name2,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name2 = "patch";
|
|
89
|
+
var Input2 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output2 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent2 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin33 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service53;
|
|
112
|
+
const access = yield* Service66;
|
|
113
|
+
const fileMutation = yield* Service13;
|
|
114
|
+
const formatter = yield* Service73;
|
|
115
|
+
const location = yield* Service74;
|
|
116
|
+
const permission = yield* Service67;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name2,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input2,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin38 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent2(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -323,4 +323,4 @@ function trimDiff(diff) {
|
|
|
323
323
|
`);
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
export {
|
|
326
|
+
export { name2, Input2, Applied2, Output2, toModelContent2, Plugin33, exports_patch };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-gzg98a5d.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-szfjwb31.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
13
13
|
__export(exports_database, {
|
|
14
14
|
Database: () => exports_database,
|
|
15
15
|
Options: () => Options11,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service80,
|
|
17
17
|
configured: () => configured13,
|
|
18
18
|
configuredClient: () => configuredClient2,
|
|
19
19
|
layer: () => layer26,
|
|
20
20
|
layerFromClient: () => layerFromClient2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node85
|
|
22
22
|
});
|
|
23
23
|
import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
|
|
24
24
|
import { Context, Effect, Layer, Schema, Semaphore } from "effect";
|
|
@@ -30,9 +30,9 @@ var Options11 = Schema.Struct({
|
|
|
30
30
|
path: Schema.optional(Schema.String)
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class Service80 extends Context.Service()("@opencode/storage/Database") {
|
|
34
34
|
}
|
|
35
|
-
var databaseLayer = (lock) => Layer.effect(
|
|
35
|
+
var databaseLayer = (lock) => Layer.effect(Service80, Effect.gen(function* () {
|
|
36
36
|
const db = yield* makeDatabase;
|
|
37
37
|
if (supportsTuningPragmas) {
|
|
38
38
|
yield* db.run("PRAGMA journal_mode = WAL");
|
|
@@ -68,15 +68,15 @@ function layer26(options = { path: ":memory:" }) {
|
|
|
68
68
|
}
|
|
69
69
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
70
70
|
function configured13(options) {
|
|
71
|
-
return makeGlobalNode({ service:
|
|
71
|
+
return makeGlobalNode({ service: Service80, layer: layer26(options), deps: [Global.node] });
|
|
72
72
|
}
|
|
73
73
|
function configuredClient2(client) {
|
|
74
74
|
return makeGlobalNode({
|
|
75
|
-
service:
|
|
75
|
+
service: Service80,
|
|
76
76
|
layer: layerFromClient2.pipe(Layer.provide(client)),
|
|
77
77
|
deps: [Global.node]
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
var
|
|
80
|
+
var node85 = configured13({ path: ":memory:" });
|
|
81
81
|
|
|
82
|
-
export { Options11,
|
|
82
|
+
export { Options11, Service80, layer26, layerFromClient2, configured13, configuredClient2, node85, exports_database };
|