@opencode/core 0.0.0-dev-19435 → 0.0.0-dev-19437
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{location-kg1vvjz6.js → aisdk-native-00xmw14g.js} +16 -16
- package/dist/chunks/{location-889pe7d8.js → aisdk-native-0840f9aq.js} +41 -41
- package/dist/chunks/{location-56ek0vvh.js → aisdk-native-0gybywnx.js} +13 -13
- package/dist/chunks/{location-qxqbfyt6.js → aisdk-native-0mpna936.js} +33 -33
- package/dist/chunks/{location-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-whhmk8k9.js → aisdk-native-0px0gx5m.js} +11 -11
- package/dist/chunks/{location-0q0f95c6.js → aisdk-native-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-pzfzh42t.js → aisdk-native-0rzdqhx6.js} +15 -15
- package/dist/chunks/{location-mfpdf0ta.js → aisdk-native-0y4h6tbz.js} +7 -7
- package/dist/chunks/{location-pfwdjrz4.js → aisdk-native-11h1hnb3.js} +2 -2
- package/dist/chunks/{location-t072myer.js → aisdk-native-14vj0jvn.js} +4 -4
- package/dist/chunks/{location-f2n192rq.js → aisdk-native-1acjjqhc.js} +4 -4
- package/dist/chunks/{location-g7j46mhj.js → aisdk-native-1bcw1qtd.js} +14 -14
- package/dist/chunks/{location-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-hvpzgxgs.js → aisdk-native-1dsb41mm.js} +9 -9
- package/dist/chunks/{location-wh6nx8gk.js → aisdk-native-1hb8yyvn.js} +4 -4
- package/dist/chunks/{location-21r38tys.js → aisdk-native-21r38tys.js} +1 -1
- package/dist/chunks/{location-e61xx2n8.js → aisdk-native-230e0txc.js} +5 -5
- package/dist/chunks/{location-rmdyxgmk.js → aisdk-native-23279rje.js} +8 -8
- package/dist/chunks/{location-qvf5hp1t.js → aisdk-native-23rr3770.js} +32 -32
- package/dist/chunks/{location-2402vzrj.js → aisdk-native-2402vzrj.js} +1 -1
- package/dist/chunks/{location-z63w68vq.js → aisdk-native-29x78va6.js} +6 -6
- package/dist/chunks/{location-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-ekvngk86.js → aisdk-native-2c8836h2.js} +10 -10
- package/dist/chunks/{location-k5jcx5w1.js → aisdk-native-2cnw5e9r.js} +9 -9
- package/dist/chunks/{location-29e0nmzb.js → aisdk-native-2ewqh1jr.js} +20 -20
- package/dist/chunks/{location-gvnbva7c.js → aisdk-native-2k01gwm7.js} +14 -14
- package/dist/chunks/{location-2f0bjgcj.js → aisdk-native-2qp6y8xf.js} +5 -5
- package/dist/chunks/{location-3tbkqww7.js → aisdk-native-2rqbk1he.js} +5 -5
- package/dist/chunks/{location-bsj0k59k.js → aisdk-native-2smzk9py.js} +26 -26
- package/dist/chunks/{location-bndvft47.js → aisdk-native-33bws32g.js} +24 -24
- package/dist/chunks/{location-y506eeqx.js → aisdk-native-38e760wk.js} +17 -17
- package/dist/chunks/{location-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-3af3sqg9.js → aisdk-native-3nbxrw4d.js} +15 -15
- package/dist/chunks/{location-xgpdceje.js → aisdk-native-3nekdnre.js} +21 -21
- package/dist/chunks/{location-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-5x0v6vja.js → aisdk-native-3trbxeqx.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-16tb5cjj.js → aisdk-native-41983a39.js} +16 -16
- package/dist/chunks/aisdk-native-45th5jwr.js +18 -0
- package/dist/chunks/{location-29arvqx0.js → aisdk-native-482x06dj.js} +165 -165
- package/dist/chunks/{location-2sc5vdwx.js → aisdk-native-50ap4gs0.js} +10 -10
- package/dist/chunks/{location-tm7ffpnn.js → aisdk-native-53g2xa05.js} +7 -7
- package/dist/chunks/{location-n002fnqn.js → aisdk-native-55e931th.js} +43 -43
- package/dist/chunks/{location-1ygqh575.js → aisdk-native-56gdpj1q.js} +9 -9
- package/dist/chunks/{location-v4t0dn9g.js → aisdk-native-593yh7cm.js} +2 -2
- package/dist/chunks/{location-9tbtdqpf.js → aisdk-native-5aqfxp9a.js} +4 -4
- package/dist/chunks/{location-t45hv4wr.js → aisdk-native-5d140bk6.js} +15 -15
- package/dist/chunks/{location-v7br46vm.js → aisdk-native-5d53psdr.js} +4 -4
- package/dist/chunks/{location-5daktx2q.js → aisdk-native-5daktx2q.js} +1 -1
- package/dist/chunks/{location-szfjwb31.js → aisdk-native-5kcbcnxc.js} +3 -3
- package/dist/chunks/{location-q3d655mj.js → aisdk-native-5ktjab4p.js} +79 -79
- package/dist/chunks/aisdk-native-5rk65n7t.js +22 -0
- package/dist/chunks/{location-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-xaadjf4r.js → aisdk-native-5vcmybmc.js} +24 -24
- package/dist/chunks/{location-7b15y959.js → aisdk-native-5xtgfte3.js} +8 -8
- package/dist/chunks/{location-669tq793.js → aisdk-native-669tq793.js} +1 -1
- package/dist/chunks/{location-zwsxqnjr.js → aisdk-native-6a0v8w2c.js} +18 -18
- package/dist/chunks/{location-6msgmcgs.js → aisdk-native-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-paegk39x.js → aisdk-native-6p3xbzsx.js} +4 -4
- package/dist/chunks/{location-71q4at8m.js → aisdk-native-71q4at8m.js} +1 -1
- package/dist/chunks/{location-gzg98a5d.js → aisdk-native-73fvzhyf.js} +3 -3
- package/dist/chunks/{location-ratrq7cm.js → aisdk-native-73gmm198.js} +4 -4
- package/dist/chunks/{location-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-svv6qsvk.js → aisdk-native-7gd4x462.js} +8 -8
- package/dist/chunks/{location-ndmv45hp.js → aisdk-native-7jdsj2a9.js} +3 -3
- package/dist/chunks/{location-ve6nm2s5.js → aisdk-native-7syv1xgw.js} +6 -6
- package/dist/chunks/{location-cvaj0dbv.js → aisdk-native-7w3v5q6j.js} +17 -17
- package/dist/chunks/{location-qhs4rngb.js → aisdk-native-7x6hfb2y.js} +30 -30
- package/dist/chunks/{location-swabsky0.js → aisdk-native-7zdrdht4.js} +6 -6
- package/dist/chunks/{location-81swgkk7.js → aisdk-native-81swgkk7.js} +2 -2
- package/dist/chunks/{location-1as6q9f6.js → aisdk-native-84rtzrf6.js} +10 -10
- package/dist/chunks/{location-a24v126d.js → aisdk-native-84tssp1s.js} +8 -8
- package/dist/chunks/{location-8m3d2bhh.js → aisdk-native-87py6qtt.js} +8 -8
- package/dist/chunks/{location-c0xs0mpv.js → aisdk-native-88j01mk5.js} +23 -23
- package/dist/chunks/{location-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-8p4f9s12.js → aisdk-native-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-t96n3knx.js → aisdk-native-8pfv004b.js} +14 -14
- package/dist/chunks/{location-vdpzq508.js → aisdk-native-8s076s20.js} +18 -18
- package/dist/chunks/{location-3be754jd.js → aisdk-native-94vhyftb.js} +7 -7
- package/dist/chunks/{location-2qjvwhpy.js → aisdk-native-9d1w8q7a.js} +30 -30
- package/dist/chunks/{location-zxvgyezd.js → aisdk-native-9k2v62xn.js} +1 -1
- package/dist/chunks/{location-a1bz86dw.js → aisdk-native-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-gx10v58f.js → aisdk-native-a6g7ctrh.js} +18 -18
- package/dist/chunks/{location-pec4bm3r.js → aisdk-native-a6vkafpf.js} +13 -13
- package/dist/chunks/{location-gc9rycst.js → aisdk-native-aa70zscs.js} +10 -10
- package/dist/chunks/{location-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
- package/dist/chunks/{location-f8hxd4bv.js → aisdk-native-agnm54gs.js} +15 -15
- package/dist/chunks/{location-sq0fsqh3.js → aisdk-native-amc9zrkj.js} +11 -11
- package/dist/chunks/{location-5vqd2904.js → aisdk-native-as4rxx02.js} +17 -17
- package/dist/chunks/{location-bpqahvg7.js → aisdk-native-at5vefz0.js} +8 -8
- package/dist/chunks/{location-ae99a08d.js → aisdk-native-az6thn3b.js} +6 -6
- package/dist/chunks/{location-rz6djy9m.js → aisdk-native-azgkc19j.js} +34 -34
- package/dist/chunks/{location-qdyxpk4m.js → aisdk-native-b0216jhd.js} +31 -31
- package/dist/chunks/{location-kyrbgmgz.js → aisdk-native-b1hwkhhg.js} +4 -4
- package/dist/chunks/{location-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-r8qagt8b.js → aisdk-native-b9cbw8cf.js} +20 -20
- package/dist/chunks/{location-w08q9gc9.js → aisdk-native-b9hpem2e.js} +22 -22
- package/dist/chunks/{location-2x8aavte.js → aisdk-native-bafekp6x.js} +11 -11
- package/dist/chunks/{location-j69nrb2c.js → aisdk-native-c82mgr5r.js} +17 -17
- package/dist/chunks/{location-gs13a0mc.js → aisdk-native-cbdx500h.js} +51 -51
- package/dist/chunks/{location-t268s8j2.js → aisdk-native-cckb3k5y.js} +11 -11
- package/dist/chunks/{location-f6t340ae.js → aisdk-native-cffk5scv.js} +18 -18
- package/dist/chunks/{location-cfpkc3c9.js → aisdk-native-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-96yrngjz.js → aisdk-native-cfrmvhjx.js} +11 -11
- package/dist/chunks/{location-bde8na58.js → aisdk-native-d6ez4sy0.js} +25 -25
- package/dist/chunks/{location-m1y7e9ek.js → aisdk-native-d9whb66d.js} +24 -24
- package/dist/chunks/{location-ae9ptqg3.js → aisdk-native-dhh5xd54.js} +6 -6
- package/dist/chunks/{location-h7jk4asw.js → aisdk-native-dpe2kymk.js} +42 -42
- package/dist/chunks/{location-dpkg50ah.js → aisdk-native-dpkg50ah.js} +1 -1
- package/dist/chunks/{location-n8f3mzga.js → aisdk-native-dqq2643g.js} +4 -4
- package/dist/chunks/{location-tmbxdmay.js → aisdk-native-dxmfxnv6.js} +36 -36
- package/dist/chunks/{location-y14y9keq.js → aisdk-native-dxq14y40.js} +1 -1
- package/dist/chunks/{location-ca9c6syk.js → aisdk-native-dzcn95em.js} +28 -28
- package/dist/chunks/{location-j556b5bm.js → aisdk-native-e5fmdc7h.js} +25 -25
- package/dist/chunks/{location-nhy5jxhy.js → aisdk-native-e82z9tr0.js} +7 -7
- package/dist/chunks/{location-1q5awywt.js → aisdk-native-e89xj288.js} +5 -5
- package/dist/chunks/{location-qycwybve.js → aisdk-native-ebnnqyp8.js} +10 -10
- package/dist/chunks/{location-8s8mxddj.js → aisdk-native-ec8389mk.js} +4 -4
- package/dist/chunks/{location-hv4jntb9.js → aisdk-native-ekhdnqeg.js} +18 -18
- package/dist/chunks/{location-yz4r56ez.js → aisdk-native-eqna0yr9.js} +23 -23
- package/dist/chunks/{location-mk60nzq1.js → aisdk-native-esdnemd6.js} +1 -1
- package/dist/chunks/{location-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-4pfqqkn9.js → aisdk-native-ex6vs5n0.js} +20 -20
- package/dist/chunks/{location-s6g7bkfa.js → aisdk-native-exys1kgc.js} +8 -8
- package/dist/chunks/{location-j0fb3yen.js → aisdk-native-ey5kq0ak.js} +24 -24
- package/dist/chunks/{location-qx0n0hnh.js → aisdk-native-f705x0rq.js} +19 -19
- package/dist/chunks/{location-f828m53h.js → aisdk-native-f828m53h.js} +2 -2
- package/dist/chunks/{location-t5d3pp3j.js → aisdk-native-f8skd28d.js} +20 -20
- package/dist/chunks/{location-yt0fqk68.js → aisdk-native-f90chkmn.js} +5 -5
- package/dist/chunks/{location-2k8khapm.js → aisdk-native-fcrkznn8.js} +5 -5
- package/dist/chunks/{location-rwc534w8.js → aisdk-native-fg9tr2v4.js} +14 -14
- package/dist/chunks/{location-389stghd.js → aisdk-native-fjxda7tk.js} +11 -11
- package/dist/chunks/{location-s6xwevjp.js → aisdk-native-fq1h1v14.js} +3 -3
- package/dist/chunks/{location-fxbjtjnd.js → aisdk-native-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-k3zbr1bh.js → aisdk-native-g0dg6wzp.js} +7 -7
- package/dist/chunks/{location-sst0ghmm.js → aisdk-native-g51xf709.js} +22 -22
- package/dist/chunks/{location-bvr2g14r.js → aisdk-native-gaahdxmg.js} +11 -11
- package/dist/chunks/{location-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-3fc6dm20.js → aisdk-native-gdvy8fx6.js} +4 -4
- package/dist/chunks/{location-1j70cen6.js → aisdk-native-gfc4q5wv.js} +31 -31
- package/dist/chunks/{location-fjmrr6sh.js → aisdk-native-gfqzzqy5.js} +8 -8
- package/dist/chunks/{location-ep6qtvyr.js → aisdk-native-ggns5n5n.js} +32 -32
- package/dist/chunks/{location-8q61w4ba.js → aisdk-native-gh51qv6z.js} +6 -6
- package/dist/chunks/{location-q17hktv8.js → aisdk-native-gjm5s37h.js} +16 -16
- package/dist/chunks/{location-410zfba8.js → aisdk-native-gn6yk5ww.js} +2 -2
- package/dist/chunks/{location-2xsh895f.js → aisdk-native-gshgym2h.js} +11 -11
- package/dist/chunks/{location-qgqfnjyk.js → aisdk-native-gt3yqw5p.js} +86 -86
- package/dist/chunks/{location-h03wrkyp.js → aisdk-native-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-yb440psp.js → aisdk-native-h0jnz0mn.js} +5 -5
- package/dist/chunks/{location-7j0rmcxv.js → aisdk-native-h2gyv3sg.js} +1 -1
- package/dist/chunks/{location-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-m86bnw2c.js → aisdk-native-h7ygw6q4.js} +9 -9
- package/dist/chunks/{location-07g0wp3c.js → aisdk-native-hb1v72ya.js} +23 -23
- package/dist/chunks/{location-a5z4fv32.js → aisdk-native-hcryw3z6.js} +19 -19
- package/dist/chunks/{location-bha4atvq.js → aisdk-native-hfdr1yjj.js} +4 -4
- package/dist/chunks/{location-zcrspsvn.js → aisdk-native-hn57h045.js} +4 -4
- package/dist/chunks/{location-rpr7nt0p.js → aisdk-native-hqg6sb4q.js} +12 -12
- package/dist/chunks/{location-vc5bk1c0.js → aisdk-native-hvspwq6g.js} +7 -7
- package/dist/chunks/{location-eq1pz5kg.js → aisdk-native-j028xdjb.js} +3 -3
- package/dist/chunks/{location-ax870rrv.js → aisdk-native-j0famzcd.js} +9 -9
- package/dist/chunks/{location-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
- package/dist/chunks/{location-hdmnnff5.js → aisdk-native-j80s9j4h.js} +8 -8
- package/dist/chunks/{location-paphc93g.js → aisdk-native-j935v87r.js} +2 -2
- package/dist/chunks/{location-e8ne3dpa.js → aisdk-native-jrreb4f4.js} +20 -20
- package/dist/chunks/{location-etwfhkz9.js → aisdk-native-jsymqedf.js} +9 -9
- package/dist/chunks/{location-141fpr1p.js → aisdk-native-k75rtej4.js} +27 -27
- package/dist/chunks/{location-f7ehr2sm.js → aisdk-native-k79tzb9n.js} +9 -9
- package/dist/chunks/{location-kg06axw8.js → aisdk-native-kg06axw8.js} +1 -1
- package/dist/chunks/{location-w79zsp0s.js → aisdk-native-kjcr15p7.js} +1 -1
- package/dist/chunks/{location-x7vckax8.js → aisdk-native-knxwv22d.js} +9 -9
- package/dist/chunks/{location-j26kwb45.js → aisdk-native-kt5w8vxh.js} +10 -10
- package/dist/chunks/{location-sycr0cxz.js → aisdk-native-ktab48es.js} +26 -26
- package/dist/chunks/{location-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-kjtkant2.js → aisdk-native-mbmb2rkk.js} +13 -13
- package/dist/chunks/{location-5rp8v4vz.js → aisdk-native-mdavksa3.js} +16 -16
- package/dist/chunks/{location-6bsjh9v7.js → aisdk-native-mg5afxrb.js} +286 -286
- package/dist/chunks/{location-x80tm2rf.js → aisdk-native-mj3wj180.js} +20 -20
- package/dist/chunks/{location-mkcjrzeh.js → aisdk-native-mkcjrzeh.js} +1 -1
- package/dist/chunks/{location-bh19jbb0.js → aisdk-native-mkcn2ebg.js} +6 -6
- package/dist/chunks/{location-n25jd2cw.js → aisdk-native-mmfjar12.js} +28 -28
- package/dist/chunks/{location-ayhzktfb.js → aisdk-native-mpsn8vqb.js} +30 -30
- package/dist/chunks/{location-dchs2g52.js → aisdk-native-mrw4weg4.js} +5 -5
- package/dist/chunks/{location-pw9v3g6d.js → aisdk-native-mw934p8z.js} +8 -8
- package/dist/chunks/{location-yryey8bw.js → aisdk-native-mwav9qm3.js} +20 -20
- package/dist/chunks/{location-9y8gg6zj.js → aisdk-native-n8fgk775.js} +8 -8
- package/dist/chunks/{location-7smaqcb0.js → aisdk-native-nd9sgs86.js} +14 -14
- package/dist/chunks/{location-y2r22c8c.js → aisdk-native-nk7s85f0.js} +59 -59
- package/dist/chunks/{location-wknpsqf7.js → aisdk-native-nsk4pmpc.js} +31 -31
- package/dist/chunks/{location-hnr5yq9h.js → aisdk-native-p1nm93x7.js} +5 -5
- package/dist/chunks/{location-vhbmzvty.js → aisdk-native-p2xqw2sz.js} +25 -25
- package/dist/chunks/{location-ezedb5nb.js → aisdk-native-pa98002e.js} +16 -16
- package/dist/chunks/{location-hky8et6e.js → aisdk-native-paay8gke.js} +13 -13
- package/dist/chunks/{location-tgnvbkra.js → aisdk-native-pb4vra25.js} +15 -15
- package/dist/chunks/{location-39s9xh8n.js → aisdk-native-pcpr6ykb.js} +16 -16
- package/dist/chunks/{location-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{location-p6drjj8h.js → aisdk-native-pqpm7sfx.js} +6 -6
- package/dist/chunks/{location-yjdnpxry.js → aisdk-native-pytyr678.js} +12 -12
- package/dist/chunks/{location-h8ja802q.js → aisdk-native-q6zxxt9y.js} +4 -4
- package/dist/chunks/aisdk-native-q7fypddd.js +247 -0
- package/dist/chunks/{location-dwfyc9qf.js → aisdk-native-qbs0f730.js} +9 -9
- package/dist/chunks/{location-8hg6030g.js → aisdk-native-qfkm7725.js} +28 -28
- package/dist/chunks/{location-bte2cbsy.js → aisdk-native-qjrkxhk6.js} +22 -22
- package/dist/chunks/{location-qqs4xmxe.js → aisdk-native-qqq3x3sa.js} +51 -51
- package/dist/chunks/{location-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
- package/dist/chunks/{location-cc10ch8m.js → aisdk-native-qvfbf04p.js} +20 -20
- package/dist/chunks/{location-1jk276m1.js → aisdk-native-r1ya17we.js} +3 -3
- package/dist/chunks/{location-3j8sdtpz.js → aisdk-native-r98e92ep.js} +4 -4
- package/dist/chunks/{location-x43y2vfs.js → aisdk-native-r9mregkx.js} +3 -3
- package/dist/chunks/{location-c03trhyz.js → aisdk-native-r9yxppz2.js} +24 -24
- package/dist/chunks/{location-zzqyq7ew.js → aisdk-native-r9z6pqtf.js} +35 -35
- package/dist/chunks/{location-4hyxw530.js → aisdk-native-re9hte73.js} +9 -9
- package/dist/chunks/{location-aab08neh.js → aisdk-native-rgfb9vbw.js} +8 -8
- package/dist/chunks/{location-2wyd3ps6.js → aisdk-native-rs226bz6.js} +5 -5
- package/dist/chunks/{location-yrznvahk.js → aisdk-native-s4enseaf.js} +2 -2
- package/dist/chunks/{location-cj3c3by5.js → aisdk-native-s62msjv3.js} +18 -18
- package/dist/chunks/{location-eaj1djv9.js → aisdk-native-s8d7rejh.js} +6 -6
- package/dist/chunks/{location-srhw5zxk.js → aisdk-native-sea28k5q.js} +11 -11
- package/dist/chunks/{location-rp8jz6x1.js → aisdk-native-sf16dj5v.js} +4 -4
- package/dist/chunks/{location-k44by2q5.js → aisdk-native-sxz67tqa.js} +38 -38
- package/dist/chunks/{location-q7cq3y4p.js → aisdk-native-szvvk72w.js} +46 -46
- package/dist/chunks/{location-eewaj409.js → aisdk-native-t1wvxcjg.js} +11 -11
- package/dist/chunks/{location-b8q5k5sw.js → aisdk-native-t2jnpd7n.js} +20 -20
- package/dist/chunks/{location-3t8eac1t.js → aisdk-native-t51qk8jz.js} +21 -21
- package/dist/chunks/{location-m8nqv7st.js → aisdk-native-t6dzw5rf.js} +25 -25
- package/dist/chunks/{location-j2p38w15.js → aisdk-native-ta0qxm0m.js} +48 -48
- package/dist/chunks/{location-ppdy6qwe.js → aisdk-native-ta5jc9f4.js} +4 -4
- package/dist/chunks/{location-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-y8z56cqz.js → aisdk-native-tbajnw8q.js} +16 -16
- package/dist/chunks/{location-bfrarwjs.js → aisdk-native-tbp3kt2h.js} +5 -5
- package/dist/chunks/{location-tcezcvh9.js → aisdk-native-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
- package/dist/chunks/{location-dyysx4dq.js → aisdk-native-tey2eytt.js} +6 -6
- package/dist/chunks/{location-th5km1p3.js → aisdk-native-th5km1p3.js} +2 -2
- package/dist/chunks/{location-v542w56z.js → aisdk-native-thh98hbb.js} +26 -26
- package/dist/chunks/{location-3bvf0a01.js → aisdk-native-tnkheefm.js} +35 -35
- package/dist/chunks/{location-tvtrv512.js → aisdk-native-tvtrv512.js} +1 -1
- package/dist/chunks/{location-2hgjbaq7.js → aisdk-native-tyme6x47.js} +4 -4
- package/dist/chunks/{location-ncaez7fb.js → aisdk-native-vabb23s0.js} +1 -1
- package/dist/chunks/{location-nxjhxkv3.js → aisdk-native-vcww18r2.js} +8 -8
- package/dist/chunks/{location-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
- package/dist/chunks/{location-58gxdv9m.js → aisdk-native-vm79m67k.js} +12 -12
- package/dist/chunks/{location-829mfcx0.js → aisdk-native-vms1qh06.js} +9 -9
- package/dist/chunks/{location-s138m409.js → aisdk-native-vvbqk37b.js} +14 -14
- package/dist/chunks/{location-226tafxp.js → aisdk-native-vypqtakx.js} +1 -1
- package/dist/chunks/{location-vzcthcp8.js → aisdk-native-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-gw2vvezc.js → aisdk-native-w19pd4gw.js} +6 -6
- package/dist/chunks/{location-bqs6z16n.js → aisdk-native-w1m7fpe3.js} +3 -3
- package/dist/chunks/{location-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-en58n665.js → aisdk-native-w6rzf7rr.js} +10 -10
- package/dist/chunks/{location-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{location-4sr2v72b.js → aisdk-native-wgmz4se6.js} +10 -10
- package/dist/chunks/{location-xcrbymt7.js → aisdk-native-wsgxnvbg.js} +43 -43
- package/dist/chunks/{location-m0kbr7p9.js → aisdk-native-wxmbf8jb.js} +5 -5
- package/dist/chunks/{location-wb8znxk9.js → aisdk-native-wzq4pq7r.js} +9 -9
- package/dist/chunks/{location-x1ezjp6w.js → aisdk-native-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-xv590yw7.js → aisdk-native-x2cstgz7.js} +26 -26
- package/dist/chunks/{location-ent09bmt.js → aisdk-native-x47scgmz.js} +4 -4
- package/dist/chunks/{location-xshrq19q.js → aisdk-native-xmqe5mjy.js} +20 -20
- package/dist/chunks/{location-rp7ht49k.js → aisdk-native-xv565bpd.js} +39 -39
- package/dist/chunks/{location-psg6js8p.js → aisdk-native-xx519kpd.js} +22 -22
- package/dist/chunks/{location-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-tgsqfs3c.js → aisdk-native-y2a57acc.js} +39 -39
- package/dist/chunks/{location-jbhgm1pg.js → aisdk-native-y9zv0tqm.js} +13 -13
- package/dist/chunks/{location-yddgxcp4.js → aisdk-native-yddgxcp4.js} +2 -2
- package/dist/chunks/{location-03b5nb02.js → aisdk-native-ygbe9h9m.js} +15 -15
- package/dist/chunks/{location-ky1ech8t.js → aisdk-native-ygtbvk0x.js} +3 -3
- package/dist/chunks/{location-b1chm04x.js → aisdk-native-yhemyvg6.js} +7 -7
- package/dist/chunks/{location-yrhqyw5v.js → aisdk-native-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-czkxp88d.js → aisdk-native-ysmvfpmb.js} +8 -8
- package/dist/chunks/{location-wx89x9gj.js → aisdk-native-ytdd3bbv.js} +13 -13
- package/dist/chunks/{location-kpe4e0s9.js → aisdk-native-yx7d88az.js} +17 -17
- package/dist/chunks/{location-y8f7dagd.js → aisdk-native-yy90rqk6.js} +19 -19
- package/dist/chunks/{location-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-sdtwcfar.js → aisdk-native-z6wvrrth.js} +30 -30
- package/dist/chunks/{location-b33xe3vz.js → aisdk-native-zbpnfvtq.js} +24 -24
- package/dist/chunks/{location-zeh9ct20.js → aisdk-native-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-czmgezh1.js → aisdk-native-zm18a7xh.js} +24 -24
- package/dist/chunks/{location-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- 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 +117 -117
- 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 +83 -83
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +85 -85
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +89 -89
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +90 -90
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +91 -91
- 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 +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- 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 +103 -103
- 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 +7 -7
- 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 +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +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 +117 -117
- 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 +117 -117
- 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 +70 -70
- 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 +6 -6
- 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 +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +7 -7
- 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 +82 -82
- package/dist/reference.js +84 -84
- 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 +123 -123
- 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 +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +88 -88
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- 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 +3 -3
- 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 +108 -108
- 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 +71 -71
- 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 +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +88 -88
- 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 +119 -119
- 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 +115 -115
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/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 +79 -79
- 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 +5 -5
- 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/location-4v7qdvcn.js +0 -18
- package/dist/chunks/location-a0etbwks.js +0 -22
- package/dist/chunks/location-w850rf70.js +0 -247
- /package/dist/chunks/{location-0mesazry.js → aisdk-native-0mesazry.js} +0 -0
- /package/dist/chunks/{location-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → aisdk-native-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → aisdk-native-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{location-hrnqkpcd.js → aisdk-native-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → aisdk-native-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-twg0f83k.js → aisdk-native-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./aisdk-native-3nekdnre.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service40
|
|
6
|
+
} from "./aisdk-native-7syv1xgw.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-45th5jwr.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service40;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service70), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-r1ya17we.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-a1bz86dw.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service24,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node28,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service24 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
64
|
var source = (entry) => make21({
|
|
65
|
-
key:
|
|
65
|
+
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service80;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service24.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node28 = makeLocationNode({ service: Service24, layer, deps: [node85] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service24, node28, exports_instruction_entry };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-ebnnqyp8.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-5d53psdr.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service74
|
|
11
|
+
} from "./aisdk-native-mpsn8vqb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID7,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service49
|
|
16
|
+
} from "./aisdk-native-dzcn95em.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./aisdk-native-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID16
|
|
23
|
+
} from "./aisdk-native-84tssp1s.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./aisdk-native-94vhyftb.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID16.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID7.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service74;
|
|
57
|
+
const integrations = yield* Service49;
|
|
58
58
|
const bus = yield* Service79;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -178,7 +178,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
178
178
|
model.settings.baseURL = endpoint(model.settings.baseURL, account.value);
|
|
179
179
|
}
|
|
180
180
|
});
|
|
181
|
-
yield* bus.subscribe(
|
|
181
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
182
182
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
183
183
|
const token = envToken();
|
|
184
184
|
if (token)
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-r1ya17we.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
10
|
node84
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-native-5d53psdr.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-native-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./aisdk-native-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./aisdk-native-7jdsj2a9.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./aisdk-native-a1bz86dw.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info6,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service39,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -47,10 +47,10 @@ __export(exports_inbox, {
|
|
|
47
47
|
has: () => has2,
|
|
48
48
|
layer: () => layer17,
|
|
49
49
|
list: () => list3,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make18,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node44,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info6,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service39 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service80;
|
|
158
158
|
const db = database.db;
|
|
159
159
|
const bus = yield* Service79;
|
|
@@ -173,7 +173,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info6.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
timeCreated: DateTime.makeUnsafe(event.created),
|
|
@@ -227,8 +227,8 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var layer17 = Layer.effect(
|
|
231
|
-
var
|
|
230
|
+
var layer17 = Layer.effect(Service39, make18());
|
|
231
|
+
var node44 = makeGlobalNode({ service: Service39, layer: layer17, deps: [node85, node84] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info6, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service39, make18, layer17, node44, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service34
|
|
3
|
+
} from "./aisdk-native-5vcmybmc.js";
|
|
4
4
|
import {
|
|
5
5
|
Service13,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-native-hvspwq6g.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service57
|
|
11
|
+
} from "./aisdk-native-ekhdnqeg.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service59
|
|
14
|
+
} from "./aisdk-native-qqq3x3sa.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service58
|
|
17
|
+
} from "./aisdk-native-a6g7ctrh.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./aisdk-native-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input8,
|
|
29
|
+
Output: () => Output5,
|
|
30
|
+
Plugin: () => Plugin25,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name8,
|
|
33
|
+
toModelContent: () => toModelContent5
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name8 = "write";
|
|
39
|
+
var Input8 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output5 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin25 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
55
|
+
const access = yield* Service58;
|
|
56
56
|
const fileMutation = yield* Service13;
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
57
|
+
const environment = yield* Service34;
|
|
58
|
+
const formatter = yield* Service57;
|
|
59
|
+
const permission = yield* Service59;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name8,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input8,
|
|
69
|
+
output: Output5,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name8, Input8, Output5, toModelContent5, Plugin25, exports_write };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load3
|
|
6
|
+
} from "./aisdk-native-j935v87r.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event17,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options9,
|
|
17
|
+
Service: () => Service72,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured11,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer25,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node77,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event17 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load3());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options9 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service72 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer25 = (options) => Layer.effect(Service72, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service72.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer24 = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service72.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer25().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service72).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service72, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured11(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service72, layer: layer25(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node77 = configured11();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event17, hasNativeBinding2, Native3, Options9, Service72, Test3, layer25, testLayer3, nativeLayer2, nativeNode2, configured11, node77, exports_watcher };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-native-r9mregkx.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-native-kg06axw8.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service65,
|
|
17
|
+
node70
|
|
18
|
+
} from "./aisdk-native-wzq4pq7r.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service64,
|
|
21
|
+
node69
|
|
22
|
+
} from "./aisdk-native-at5vefz0.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./aisdk-native-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error5,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service63,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node68
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error5, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service63 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service64;
|
|
58
|
+
const image = yield* Service65;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
180
180
|
error: error.message
|
|
181
181
|
}), { discard: true })
|
|
182
182
|
});
|
|
183
|
-
return
|
|
183
|
+
return Service63.of({
|
|
184
184
|
transform: state.transform,
|
|
185
185
|
reload: state.reload,
|
|
186
186
|
snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
|
|
@@ -262,10 +262,10 @@ function namespaceError(name) {
|
|
|
262
262
|
return;
|
|
263
263
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
264
264
|
}
|
|
265
|
-
var
|
|
266
|
-
service:
|
|
265
|
+
var node68 = makeLocationNode({
|
|
266
|
+
service: Service63,
|
|
267
267
|
layer,
|
|
268
|
-
deps: [
|
|
268
|
+
deps: [node69, node70]
|
|
269
269
|
});
|
|
270
270
|
|
|
271
|
-
export { RegistrationError2,
|
|
271
|
+
export { RegistrationError2, Service63, node68, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
|