@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,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
10
|
+
configured: () => configured6,
|
|
11
11
|
layer: () => layer21,
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
make: () => make18,
|
|
13
|
+
node: () => node57,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make18()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make18(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make19(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var layer21 = (input) => Layer.succeed(Metadata2,
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer21 = (input) => Layer.succeed(Metadata2, make18(input));
|
|
32
|
+
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
|
|
33
|
+
var node57 = configured6();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make18, useragent2, layer21, configured6, node57, exports_app };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./location-v7br46vm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service71
|
|
6
|
+
} from "./location-qvf5hp1t.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error3
|
|
9
|
+
} from "./location-czmgezh1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service37
|
|
12
|
+
} from "./location-58gxdv9m.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-tm7ffpnn.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-n8f3mzga.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-h03wrkyp.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-ky1ech8t.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
55
|
-
const bus = yield*
|
|
54
|
+
var make3 = Effect.gen(function* () {
|
|
55
|
+
const bus = yield* Service79;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service71;
|
|
58
|
+
const toolOutput = yield* Service37;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make7 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error3({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|
|
@@ -205,4 +205,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
205
205
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
206
206
|
};
|
|
207
207
|
|
|
208
|
-
export { Outcome2,
|
|
208
|
+
export { Outcome2, make3, exports_step };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command5 = {};
|
|
7
|
+
__export(exports_command5, {
|
|
8
|
+
ConfigCommandV1: () => exports_command5,
|
|
9
|
+
Info: () => Info15
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info15 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info17 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info15, exports_command5 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service36,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node40
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service36 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service36, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service36.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service45, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node40 = makeGlobalNode({ service: Service36, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service36, node40, exports_environment };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID16,
|
|
3
|
+
Service72
|
|
4
|
+
} from "./location-bndvft47.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service61
|
|
8
|
+
} from "./location-xcrbymt7.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-ndmv45hp.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service49
|
|
14
|
+
} from "./location-j69nrb2c.js";
|
|
15
15
|
import {
|
|
16
16
|
evaluate2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service67
|
|
18
|
+
} from "./location-qqs4xmxe.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service22
|
|
21
|
+
} from "./location-q3d655mj.js";
|
|
22
22
|
import {
|
|
23
23
|
NO_TEXT2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-x1ezjp6w.js";
|
|
25
25
|
import {
|
|
26
26
|
make10
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-9y8gg6zj.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/subagent.ts
|
|
33
33
|
var exports_subagent = {};
|
|
@@ -80,11 +80,11 @@ var description2 = [
|
|
|
80
80
|
var Plugin35 = {
|
|
81
81
|
id: "opencode.tool.subagent",
|
|
82
82
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
83
|
-
const sessions = yield*
|
|
84
|
-
const jobs = yield*
|
|
85
|
-
const agents = yield*
|
|
86
|
-
const config = yield*
|
|
87
|
-
const permission = yield*
|
|
83
|
+
const sessions = yield* Service22;
|
|
84
|
+
const jobs = yield* Service49;
|
|
85
|
+
const agents = yield* Service72;
|
|
86
|
+
const config = yield* Service61;
|
|
87
|
+
const permission = yield* Service67;
|
|
88
88
|
const subagents = yield* make10;
|
|
89
89
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
90
90
|
name: name4,
|
|
@@ -134,7 +134,7 @@ var Plugin35 = {
|
|
|
134
134
|
const child = existing ?? (yield* sessions.create({
|
|
135
135
|
parentID: context.sessionID,
|
|
136
136
|
title: input.description,
|
|
137
|
-
agent:
|
|
137
|
+
agent: ID16.make(input.agent),
|
|
138
138
|
model
|
|
139
139
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
140
140
|
const background = input.background === true;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_lsp, {
|
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
10
|
Entry: () => Entry3,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info19,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info19 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2,
|
|
84
|
+
export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info19, exports_lsp };
|
|
@@ -3,22 +3,22 @@ import {
|
|
|
3
3
|
removed2,
|
|
4
4
|
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
17
|
+
var exports_instructions5 = {};
|
|
18
|
+
__export(exports_instructions5, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions5,
|
|
20
|
+
make: () => make13,
|
|
21
|
+
render: () => render2,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
@@ -34,7 +34,7 @@ Call \`search(...)\` to discover exact paths and signatures for additional tools
|
|
|
34
34
|
- ${searchSignature}` : ""}
|
|
35
35
|
|
|
36
36
|
## Available tools`;
|
|
37
|
-
function
|
|
37
|
+
function render2(catalog) {
|
|
38
38
|
if (catalog.total === 0)
|
|
39
39
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
40
40
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -48,7 +48,7 @@ ${tools.join(`
|
|
|
48
48
|
function update3(previous, current) {
|
|
49
49
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
50
50
|
|
|
51
|
-
${
|
|
51
|
+
${render2(current)}`;
|
|
52
52
|
if (current.total === 0)
|
|
53
53
|
return replacement;
|
|
54
54
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -113,18 +113,18 @@ ${render3(current)}`;
|
|
|
113
113
|
}
|
|
114
114
|
var key = Key4.make("core/codemode");
|
|
115
115
|
var codec = Schema.toCodecJson(Summary2);
|
|
116
|
-
var
|
|
116
|
+
var make13 = (inventory) => {
|
|
117
117
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
118
118
|
return make21({
|
|
119
119
|
key,
|
|
120
120
|
codec,
|
|
121
121
|
read: Effect.succeed(catalog),
|
|
122
122
|
render: {
|
|
123
|
-
initial:
|
|
123
|
+
initial: render2,
|
|
124
124
|
changed: update3,
|
|
125
125
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { render2, update3, make13, exports_instructions5 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node80
|
|
4
|
+
} from "./location-07g0wp3c.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
@@ -12,22 +12,22 @@ __export(exports_location, {
|
|
|
12
12
|
Info: () => Info31,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service74,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node79,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { Info as Info31, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service74 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node79 = LayerNode.unbound(Service74, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service74, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service75;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service74.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service74,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node80]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export { Info31, Ref4, response2,
|
|
43
|
+
export { Info31, Ref4, response2, Service74, node79, boundNode2, exports_location };
|
|
@@ -1,105 +1,105 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AlibabaPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-71q4at8m.js";
|
|
4
4
|
import {
|
|
5
5
|
AmazonBedrockPlugin2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-s6xwevjp.js";
|
|
7
7
|
import {
|
|
8
8
|
AnthropicPlugin2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-ncaez7fb.js";
|
|
10
10
|
import {
|
|
11
11
|
AzurePlugin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-w08q9gc9.js";
|
|
13
13
|
import {
|
|
14
14
|
CerebrasPlugin2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-zxvgyezd.js";
|
|
16
16
|
import {
|
|
17
17
|
CloudflareAIGatewayPlugin2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-bh19jbb0.js";
|
|
19
19
|
import {
|
|
20
20
|
CloudflareWorkersAIPlugin2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-dyysx4dq.js";
|
|
22
22
|
import {
|
|
23
23
|
CoherePlugin2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-z0bkrqjs.js";
|
|
25
25
|
import {
|
|
26
26
|
DigitalOceanPlugin2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-pec4bm3r.js";
|
|
28
28
|
import {
|
|
29
29
|
DynamicProviderPlugin2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-vzcthcp8.js";
|
|
31
31
|
import {
|
|
32
32
|
GatewayPlugin2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-669tq793.js";
|
|
34
34
|
import {
|
|
35
35
|
GithubCopilotPlugin2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-qhs4rngb.js";
|
|
37
37
|
import {
|
|
38
38
|
GitLabPlugin2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-ent09bmt.js";
|
|
40
40
|
import {
|
|
41
41
|
GoogleVertexPlugin2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./location-2wyd3ps6.js";
|
|
43
43
|
import {
|
|
44
44
|
KiloPlugin2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./location-7j0rmcxv.js";
|
|
46
46
|
import {
|
|
47
47
|
LLMGatewayPlugin2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./location-p6drjj8h.js";
|
|
49
49
|
import {
|
|
50
50
|
LMStudioPlugin2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./location-1as6q9f6.js";
|
|
52
52
|
import {
|
|
53
53
|
MistralPlugin2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./location-mkcjrzeh.js";
|
|
55
55
|
import {
|
|
56
56
|
ModalPlugin2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./location-vdpzq508.js";
|
|
58
58
|
import {
|
|
59
59
|
NvidiaPlugin2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./location-5x0v6vja.js";
|
|
61
61
|
import {
|
|
62
62
|
OllamaPlugin2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./location-ekvngk86.js";
|
|
64
64
|
import {
|
|
65
65
|
OpenAIPlugin3
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./location-s138m409.js";
|
|
67
67
|
import {
|
|
68
68
|
SnowflakeCortexPlugin2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./location-kpe4e0s9.js";
|
|
70
70
|
import {
|
|
71
71
|
OpenAICompatiblePlugin2
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./location-hrnqkpcd.js";
|
|
73
73
|
import {
|
|
74
74
|
OpencodePlugin2
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./location-q17hktv8.js";
|
|
76
76
|
import {
|
|
77
77
|
OpenRouterPlugin2
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./location-h8ja802q.js";
|
|
79
79
|
import {
|
|
80
80
|
PerplexityPlugin2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./location-veqvce7d.js";
|
|
82
82
|
import {
|
|
83
83
|
PoePlugin2
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./location-e61xx2n8.js";
|
|
85
85
|
import {
|
|
86
86
|
SapAICorePlugin2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./location-dchs2g52.js";
|
|
88
88
|
import {
|
|
89
89
|
VercelPlugin2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./location-226tafxp.js";
|
|
91
91
|
import {
|
|
92
92
|
VenicePlugin2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./location-yrhqyw5v.js";
|
|
94
94
|
import {
|
|
95
95
|
VLLMPlugin2
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./location-2sc5vdwx.js";
|
|
97
97
|
import {
|
|
98
98
|
XAIPlugin2
|
|
99
|
-
} from "./
|
|
99
|
+
} from "./location-sq0fsqh3.js";
|
|
100
100
|
import {
|
|
101
101
|
ZenmuxPlugin2
|
|
102
|
-
} from "./
|
|
102
|
+
} from "./location-mk60nzq1.js";
|
|
103
103
|
|
|
104
104
|
// src/plugin/provider.ts
|
|
105
105
|
var ProviderPlugins2 = [
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-qycwybve.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./location-v7br46vm.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./location-ayhzktfb.js";
|
|
11
11
|
import {
|
|
12
12
|
ID6,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-ca9c6syk.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID10,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-a24v126d.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -162,7 +162,7 @@ var headless = (app) => ({
|
|
|
162
162
|
var OpenAIPlugin3 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service79;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.catalog.transform((evt) => {
|
|
181
|
-
const item = evt.provider.get(
|
|
181
|
+
const item = evt.provider.get(ID10.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
for (const model of item.models.values()) {
|
|
@@ -222,9 +222,9 @@ var OpenAIPlugin3 = define({
|
|
|
222
222
|
evt.baseURL = codexBaseURL;
|
|
223
223
|
evt.headers.originator = "opencode";
|
|
224
224
|
evt.headers["session-id"] = evt.sessionID;
|
|
225
|
-
}), { providerID:
|
|
225
|
+
}), { providerID: ID10.openai });
|
|
226
226
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
227
|
-
yield* bus.subscribe(
|
|
227
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
})
|
|
229
229
|
});
|
|
230
230
|
function headers(contentType, app) {
|