@opencode/core 0.0.0-dev-21876 → 0.0.0-dev-21894
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 +87 -87
- package/dist/aisdk-native.js +97 -96
- package/dist/aisdk.js +103 -102
- package/dist/app.js +9 -9
- package/dist/bus.js +79 -79
- package/dist/chunks/{agent-aj7mw0zk.js → image-034tev2y.js} +2 -2
- package/dist/chunks/{agent-nvakqqep.js → image-0chf3frg.js} +12 -12
- package/dist/chunks/{agent-t0s3yhk6.js → image-0f33tz00.js} +22 -22
- package/dist/chunks/{agent-3hekd5hc.js → image-0f57eq9f.js} +17 -17
- package/dist/chunks/{agent-3xynd5jb.js → image-0hhp0beb.js} +29 -29
- package/dist/chunks/{agent-3pgqqt17.js → image-0jq6xs6g.js} +22 -22
- package/dist/chunks/image-0namxv6m.js +26 -0
- package/dist/chunks/{agent-y3h8fq5y.js → image-0t1h01ha.js} +37 -37
- package/dist/chunks/{agent-p70n5a2e.js → image-0twh7x0p.js} +45 -45
- package/dist/chunks/{agent-aqnwz5fn.js → image-0xa5r7gy.js} +18 -18
- package/dist/chunks/{agent-eyn6zj3x.js → image-0zav5kyp.js} +24 -24
- package/dist/chunks/{agent-11hfp36g.js → image-11hfp36g.js} +1 -1
- package/dist/chunks/{agent-nynx6wfa.js → image-15jp5dqc.js} +15 -15
- package/dist/chunks/{agent-630d3s4r.js → image-15wvffc0.js} +21 -21
- package/dist/chunks/{agent-27w5k9zf.js → image-1ep2p91f.js} +2 -2
- package/dist/chunks/{agent-7xm5yhm8.js → image-1eqy2zth.js} +46 -46
- package/dist/chunks/{agent-z9cf55b4.js → image-1p4yt6ne.js} +13 -13
- package/dist/chunks/{agent-aqjzr6r1.js → image-1ph64p7d.js} +24 -24
- package/dist/chunks/{agent-k497vvr9.js → image-1w2zn1e5.js} +4 -4
- package/dist/chunks/{agent-1x2knyw4.js → image-1x2knyw4.js} +1 -1
- package/dist/chunks/{agent-fshpjc7v.js → image-1x6596zm.js} +11 -11
- package/dist/chunks/{agent-jzga9m04.js → image-1y5v4mkh.js} +7 -7
- package/dist/chunks/{agent-hendem5s.js → image-1ya9fna5.js} +60 -66
- package/dist/chunks/{agent-psjhb6h9.js → image-1yefr3a7.js} +11 -11
- package/dist/chunks/{agent-p7vhpwh8.js → image-1yq9hg58.js} +5 -5
- package/dist/chunks/{agent-vd3b3yk9.js → image-204s3925.js} +13 -2
- package/dist/chunks/{agent-2c71xmrd.js → image-28d6a7kc.js} +40 -40
- package/dist/chunks/{agent-9tqk2n2m.js → image-28h91mdk.js} +5 -5
- package/dist/chunks/{agent-kd4chd64.js → image-2azy8kv6.js} +5 -5
- package/dist/chunks/{agent-jtrgaghe.js → image-2b68dg32.js} +46 -46
- package/dist/chunks/{agent-88byhbg6.js → image-2ccysd6w.js} +16 -16
- package/dist/chunks/{agent-sfm9ka6b.js → image-2mvc8y7w.js} +38 -38
- package/dist/chunks/{agent-808w5zy2.js → image-2sr7r47n.js} +24 -24
- package/dist/chunks/{agent-akqrtxca.js → image-2tfftvad.js} +9 -9
- package/dist/chunks/{agent-2z1j29yd.js → image-2z1j29yd.js} +1 -1
- package/dist/chunks/{agent-s2pfznc4.js → image-32rqdfc7.js} +6 -6
- package/dist/chunks/{agent-06ezgrzy.js → image-35kr33c6.js} +8 -8
- package/dist/chunks/{agent-t5kz8xvk.js → image-3fxg60jv.js} +20 -20
- package/dist/chunks/{agent-43extae9.js → image-3fxvhw31.js} +13 -13
- package/dist/chunks/{agent-2y49s4ck.js → image-3h718rah.js} +30 -31
- package/dist/chunks/{agent-3hepkmqq.js → image-3hepkmqq.js} +1 -1
- package/dist/chunks/{agent-3nnrz6f6.js → image-3nnrz6f6.js} +1 -1
- package/dist/chunks/{agent-akxzt346.js → image-3rtadbmj.js} +25 -25
- package/dist/chunks/{agent-g4qbe2v9.js → image-3t73xeyv.js} +2 -2
- package/dist/chunks/{agent-c8g0sqk1.js → image-405jdxex.js} +3 -3
- package/dist/chunks/{agent-w2eysc6j.js → image-40za9wsf.js} +9 -9
- package/dist/chunks/{agent-km2ven80.js → image-41b5h7kw.js} +8 -8
- package/dist/chunks/{agent-8sw8s5xk.js → image-465gqz21.js} +48 -45
- package/dist/chunks/{agent-xvqc07w7.js → image-489czqv0.js} +13 -13
- package/dist/chunks/{agent-9ygqb4bs.js → image-49c735ne.js} +17 -17
- package/dist/chunks/{agent-y49518kq.js → image-4b5nmf5q.js} +45 -45
- package/dist/chunks/{agent-qax5zjmd.js → image-4een2pqp.js} +24 -24
- package/dist/chunks/{agent-gjkhks3w.js → image-4f6p1dag.js} +10 -10
- package/dist/chunks/{agent-pv6sstp4.js → image-4kj4gkg1.js} +12 -12
- package/dist/chunks/{agent-4v008n1t.js → image-4v008n1t.js} +1 -1
- package/dist/chunks/{agent-4xvmh7wp.js → image-4xvmh7wp.js} +3 -3
- package/dist/chunks/{agent-dkdbn7qp.js → image-5af0y8wk.js} +27 -27
- package/dist/chunks/{agent-fyswm6z2.js → image-5deer1e9.js} +9 -9
- package/dist/chunks/{agent-erh01ra6.js → image-5et41axm.js} +9 -9
- package/dist/chunks/{agent-wj0x0my7.js → image-5fxf8m1w.js} +34 -34
- package/dist/chunks/{agent-6mrjjgaf.js → image-5kgs3fk1.js} +6 -6
- package/dist/chunks/{agent-5m9w47nd.js → image-5m9w47nd.js} +1 -1
- package/dist/chunks/{agent-bmx631f3.js → image-5w7vbjkb.js} +12 -12
- package/dist/chunks/{agent-n0f2hcr3.js → image-60qa52yq.js} +33 -33
- package/dist/chunks/{agent-42jd4697.js → image-61ennm6n.js} +4 -4
- package/dist/chunks/{agent-2zwbm7z6.js → image-6ac2qzqj.js} +17 -17
- package/dist/chunks/{agent-6esdw8yj.js → image-6esdw8yj.js} +1 -1
- package/dist/chunks/{agent-7xb8m1hd.js → image-6mnd27wh.js} +33 -31
- package/dist/chunks/{agent-6pjqjmy2.js → image-6pjqjmy2.js} +1 -1
- package/dist/chunks/{agent-f12pq1t4.js → image-6tq0mqqx.js} +41 -39
- package/dist/chunks/{agent-rydtep4r.js → image-6xw34d25.js} +9 -9
- package/dist/chunks/{agent-wt9cess9.js → image-6y263vp8.js} +5 -5
- package/dist/chunks/{agent-y63jcvcc.js → image-731keyrx.js} +5 -5
- package/dist/chunks/{agent-w8qtt4th.js → image-76cb1hcw.js} +4 -4
- package/dist/chunks/{agent-nah043kf.js → image-770pw0s1.js} +4 -4
- package/dist/chunks/{agent-7bmhse3q.js → image-7bmhse3q.js} +1 -1
- package/dist/chunks/{agent-r0sc5khv.js → image-7c837hp4.js} +11 -11
- package/dist/chunks/{agent-m9pm89y0.js → image-7cw7v3jn.js} +7 -7
- package/dist/chunks/{agent-hzyjdts2.js → image-7evmvwfr.js} +2 -2
- package/dist/chunks/{agent-ng3c2vx3.js → image-7hbkmckc.js} +23 -23
- package/dist/chunks/{agent-0ryzmj4j.js → image-7hqnhvmk.js} +6 -6
- package/dist/chunks/{agent-fw7t8tww.js → image-7nxtby5e.js} +20 -20
- package/dist/chunks/{agent-7w2ypzdf.js → image-7w2ypzdf.js} +1 -1
- package/dist/chunks/{agent-92c1azvn.js → image-80m5xgxj.js} +8 -8
- package/dist/chunks/{agent-hx6gesf1.js → image-81a9zpe2.js} +8 -8
- package/dist/chunks/{agent-508bnh7x.js → image-82460pbt.js} +12 -12
- package/dist/chunks/{agent-k1zdwj5m.js → image-85a8a4f2.js} +21 -16
- package/dist/chunks/{agent-90z60219.js → image-8f6rjm1e.js} +30 -31
- package/dist/chunks/{agent-w4g85eya.js → image-8m9tyk9p.js} +21 -21
- package/dist/chunks/{agent-pzzw8bte.js → image-8qrjb01m.js} +9 -9
- package/dist/chunks/{agent-8wtp7s3z.js → image-8wtp7s3z.js} +1 -1
- package/dist/chunks/{agent-8y4jps98.js → image-8y4jps98.js} +1 -1
- package/dist/chunks/{agent-bnvqjy8m.js → image-8ycv8ygb.js} +19 -19
- package/dist/chunks/{agent-91rj84md.js → image-91rj84md.js} +1 -1
- package/dist/chunks/{agent-28kj7fpp.js → image-94v32shx.js} +2 -2
- package/dist/chunks/{agent-gfb9vjwz.js → image-96h5102f.js} +14 -14
- package/dist/chunks/{agent-e8yvr5rn.js → image-983qa8hr.js} +25 -25
- package/dist/chunks/{agent-9cx9sm2q.js → image-9cx9sm2q.js} +1 -1
- package/dist/chunks/{agent-vpy60e9y.js → image-9g2m2ytf.js} +24 -24
- package/dist/chunks/{agent-gjk9ww24.js → image-9gs10211.js} +87 -87
- package/dist/chunks/{agent-1y0wdj51.js → image-9q8g9sv8.js} +9 -9
- package/dist/chunks/{agent-9yr8g2ta.js → image-9ttv7pfb.js} +5 -5
- package/dist/chunks/{agent-c8k7ww63.js → image-a1s8yyjv.js} +26 -26
- package/dist/chunks/{agent-bqje3trr.js → image-a58h53ak.js} +22 -22
- package/dist/chunks/{agent-r476v4sd.js → image-a8kzmvy3.js} +1 -1
- package/dist/chunks/{agent-n585bckd.js → image-aa7k1xs2.js} +12 -12
- package/dist/chunks/{agent-r1t3cyb3.js → image-asgc5s7p.js} +12 -12
- package/dist/chunks/image-av4j8ver.js +257 -0
- package/dist/chunks/{agent-0dcj0mgt.js → image-ay0zdfv2.js} +9 -9
- package/dist/chunks/{agent-3cbjf1nt.js → image-ayjs7tqn.js} +2 -2
- package/dist/chunks/{agent-b0mv4wxm.js → image-b0mv4wxm.js} +2 -2
- package/dist/chunks/{agent-jqjqv5mv.js → image-b13kx4jn.js} +3 -3
- package/dist/chunks/{agent-feq2fds5.js → image-b6j7grnb.js} +23 -23
- package/dist/chunks/{agent-b6vsg801.js → image-b6vsg801.js} +2 -2
- package/dist/chunks/{agent-skxa8yqx.js → image-b9z2pmeq.js} +334 -334
- package/dist/chunks/{agent-gpe9115v.js → image-bcpp1tvw.js} +20 -20
- package/dist/chunks/{agent-7n1bz5n5.js → image-bdc18mvy.js} +11 -11
- package/dist/chunks/{agent-z45ac4nf.js → image-bkjwy8k0.js} +32 -32
- package/dist/chunks/{agent-ghsyx58e.js → image-bn7x7enw.js} +4 -4
- package/dist/chunks/{agent-3vn4m52k.js → image-br2qb96s.js} +26 -26
- package/dist/chunks/{agent-bqabctay.js → image-bs9449bv.js} +16 -16
- package/dist/chunks/{agent-bstexjd6.js → image-bstexjd6.js} +1 -1
- package/dist/chunks/{agent-72ztq2m3.js → image-bw2ypeg9.js} +16 -16
- package/dist/chunks/{agent-e0gqtbhp.js → image-c2gwsyxf.js} +10 -10
- package/dist/chunks/{agent-reqv0nhy.js → image-c9haesmz.js} +54 -54
- package/dist/chunks/{agent-2a94dxzd.js → image-chmh4bqg.js} +17 -17
- package/dist/chunks/{agent-2mbjfaxd.js → image-cnj75yzs.js} +4 -4
- package/dist/chunks/{agent-ademh8e3.js → image-cp9gsj1w.js} +11 -11
- package/dist/chunks/{agent-qvzt83st.js → image-cwcefvfr.js} +20 -20
- package/dist/chunks/{agent-gn8tkhbf.js → image-d4v9tmah.js} +2 -2
- package/dist/chunks/{agent-n66c6y3m.js → image-djjzzs3c.js} +6 -6
- package/dist/chunks/{agent-g85rjq8b.js → image-dr9fxamp.js} +21 -21
- package/dist/chunks/{agent-68s5dt7r.js → image-drh9h2fe.js} +74 -74
- package/dist/chunks/{agent-xgm1b0sj.js → image-dx875p31.js} +16 -16
- package/dist/chunks/{agent-tk0xf7e5.js → image-dyz29spx.js} +11 -11
- package/dist/chunks/{agent-wby0kqsc.js → image-e07q2w5p.js} +4 -4
- package/dist/chunks/{agent-5qd3pb7m.js → image-e3qxr5gk.js} +2 -2
- package/dist/chunks/{agent-nd27gdj2.js → image-e66yb76v.js} +18 -18
- package/dist/chunks/{agent-e834z07m.js → image-e834z07m.js} +1 -1
- package/dist/chunks/{agent-bwe4w6pg.js → image-e89kw89p.js} +27 -27
- package/dist/chunks/{agent-4jyhcbwp.js → image-e9kxjfm5.js} +15 -15
- package/dist/chunks/{agent-j5qp76cc.js → image-edfcvy1j.js} +5 -5
- package/dist/chunks/{agent-z2v06856.js → image-ee12drxn.js} +5 -5
- package/dist/chunks/{agent-ncn2yap2.js → image-ee4scs67.js} +4 -4
- package/dist/chunks/{agent-qxhawqxf.js → image-eqc3e404.js} +14 -14
- package/dist/chunks/{agent-yst6f085.js → image-exned2cn.js} +4 -4
- package/dist/chunks/{agent-97zspg27.js → image-f2kgtz6y.js} +11 -11
- package/dist/chunks/{agent-twhms9x5.js → image-fbgksv32.js} +9 -9
- package/dist/chunks/{agent-fffv3p7h.js → image-fffv3p7h.js} +1 -1
- package/dist/chunks/{agent-y7rptanb.js → image-fjrrbk94.js} +8 -8
- package/dist/chunks/{agent-w687dnns.js → image-fznmdakp.js} +4 -4
- package/dist/chunks/{agent-k6msgc74.js → image-g1pwfypw.js} +32 -32
- package/dist/chunks/{agent-g5h9c0rr.js → image-g5h9c0rr.js} +2 -2
- package/dist/chunks/{agent-a2hq59ke.js → image-g8nfv600.js} +28 -27
- package/dist/chunks/{agent-sp5f2d2e.js → image-g9j07dct.js} +35 -35
- package/dist/chunks/{agent-f8mfn80p.js → image-gbbxnba2.js} +6 -6
- package/dist/chunks/{agent-t5tpffef.js → image-gcq7bt32.js} +14 -14
- package/dist/chunks/{agent-at22psrd.js → image-ge2rcvjg.js} +45 -45
- package/dist/chunks/{agent-ep59zg61.js → image-gg8p9cgs.js} +3 -3
- package/dist/chunks/{agent-s531t74k.js → image-gggcxneh.js} +45 -45
- package/dist/chunks/{agent-y7a54drw.js → image-gk8k4f7x.js} +34 -34
- package/dist/chunks/{agent-z895d3e0.js → image-gkx199ke.js} +10 -10
- package/dist/chunks/image-grzehpz7.js +18 -0
- package/dist/chunks/{agent-e88ktd3c.js → image-gvpcwzxz.js} +32 -32
- package/dist/chunks/{agent-0mq7r730.js → image-h0bne5vx.js} +35 -35
- package/dist/chunks/{agent-we2361r8.js → image-h2fknb2a.js} +7 -7
- package/dist/chunks/{agent-a7s1nr2m.js → image-hdfrs5mg.js} +2 -2
- package/dist/chunks/{agent-1vztwarw.js → image-hsapky1s.js} +14 -14
- package/dist/chunks/{agent-tm42qtpg.js → image-hz51tbbp.js} +15 -15
- package/dist/chunks/{agent-j113cymg.js → image-j113cymg.js} +1 -1
- package/dist/chunks/{agent-rxp322v2.js → image-j3371k5r.js} +18 -18
- package/dist/chunks/{agent-dw0tqvgd.js → image-j6mefce3.js} +4 -4
- package/dist/chunks/{agent-w98x3qrj.js → image-jjshshm4.js} +20 -20
- package/dist/chunks/{agent-08jmxpw8.js → image-jn88007r.js} +9 -9
- package/dist/chunks/{agent-wqf6whd0.js → image-k2kq73jz.js} +4 -4
- package/dist/chunks/{agent-swtsh7ge.js → image-k2zexe6b.js} +37 -36
- package/dist/chunks/{agent-kmch1wfz.js → image-k6ve0bec.js} +28 -28
- package/dist/chunks/{agent-s9ngdvzg.js → image-k7twgq46.js} +16 -16
- package/dist/chunks/{agent-k814nvkf.js → image-k814nvkf.js} +1 -1
- package/dist/chunks/{agent-hw621kav.js → image-kmzgegqq.js} +8 -8
- package/dist/chunks/{agent-a8g4y5z7.js → image-kpnmqdrr.js} +4 -4
- package/dist/chunks/{agent-35198y27.js → image-kqrbk72r.js} +3 -3
- package/dist/chunks/{agent-kt3bjfbg.js → image-kt3bjfbg.js} +1 -1
- package/dist/chunks/{agent-c3zt26pz.js → image-kwecz68a.js} +5 -5
- package/dist/chunks/{agent-8xns6cym.js → image-ky7xv0tv.js} +6 -6
- package/dist/chunks/{agent-164he8xt.js → image-ky8tssh9.js} +13 -13
- package/dist/chunks/{agent-m1714858.js → image-m1714858.js} +1 -1
- package/dist/chunks/{agent-z514f9er.js → image-m7pchqqv.js} +16 -16
- package/dist/chunks/{agent-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
- package/dist/chunks/{agent-maspj1v3.js → image-maspj1v3.js} +1 -1
- package/dist/chunks/{agent-kbmq0v6f.js → image-mbwgdc5a.js} +5 -5
- package/dist/chunks/{agent-ks6g0x1g.js → image-mm7a63e9.js} +9 -7
- package/dist/chunks/{agent-cfg1gyez.js → image-mn2dt8ay.js} +1 -1
- package/dist/chunks/{agent-xz8r6fbg.js → image-mrpqwg29.js} +19 -19
- package/dist/chunks/{agent-nes0c8n7.js → image-n452f4c5.js} +18 -18
- package/dist/chunks/{agent-bgg6fpfq.js → image-n7wnam13.js} +7 -7
- package/dist/chunks/{agent-xbymdpda.js → image-ncqafsx0.js} +25 -24
- package/dist/chunks/{agent-qdq46y43.js → image-nh53frcf.js} +32 -32
- package/dist/chunks/{agent-hjtcdw49.js → image-npqrkmj2.js} +11 -11
- package/dist/chunks/{agent-32c4tavh.js → image-ns86x0g6.js} +40 -40
- package/dist/chunks/{agent-52jahdhd.js → image-nsjyjchz.js} +12 -12
- package/dist/chunks/{agent-yr88cfc3.js → image-nwrh4nrz.js} +20 -20
- package/dist/chunks/{agent-ybkhfr2c.js → image-nxfd4m75.js} +3 -3
- package/dist/chunks/{agent-p015t6z3.js → image-p015t6z3.js} +2 -2
- package/dist/chunks/{agent-ys6sktyv.js → image-p2x2ykdn.js} +19 -19
- package/dist/chunks/{agent-w162aavb.js → image-p6ad9m80.js} +27 -27
- package/dist/chunks/{agent-6e50d9hn.js → image-p7ajhkt3.js} +58 -58
- package/dist/chunks/{agent-f1dzx5gz.js → image-p8kmn6p1.js} +3 -3
- package/dist/chunks/{agent-zm3vydp0.js → image-pdj0m96v.js} +14 -14
- package/dist/chunks/{agent-xsdgnd9a.js → image-pg8xwt5s.js} +5 -5
- package/dist/chunks/{agent-hezwayvj.js → image-pgtf141g.js} +23 -23
- package/dist/chunks/{agent-pknna89w.js → image-pknna89w.js} +1 -1
- package/dist/chunks/{agent-9872gzyf.js → image-pkwadbh0.js} +35 -35
- package/dist/chunks/{agent-6b8sf6ch.js → image-pr13x5tz.js} +9 -9
- package/dist/chunks/{agent-ctm212j9.js → image-pw77mtnd.js} +191 -191
- package/dist/chunks/{agent-a013asta.js → image-pwfx9xzx.js} +13 -13
- package/dist/chunks/{agent-zbyebx2k.js → image-qaxg3z3a.js} +9 -9
- package/dist/chunks/{agent-gz1ychq3.js → image-qd1gejzd.js} +19 -19
- package/dist/chunks/{agent-xnhfvn64.js → image-qk4nhm2w.js} +21 -21
- package/dist/chunks/{agent-82ahwy3q.js → image-qvm0zdhb.js} +17 -17
- package/dist/chunks/{agent-9wssh0tx.js → image-qx8tdc9v.js} +35 -35
- package/dist/chunks/{agent-033a0jkt.js → image-qyq8h28g.js} +3 -3
- package/dist/chunks/{agent-r0yr0wbs.js → image-r0yr0wbs.js} +1 -1
- package/dist/chunks/{agent-r542h3bh.js → image-r542h3bh.js} +1 -1
- package/dist/chunks/{agent-je6j3j9f.js → image-r5ef1bj7.js} +27 -27
- package/dist/chunks/{agent-dekedfjb.js → image-r5x9wjg5.js} +16 -16
- package/dist/chunks/{agent-8er64j5e.js → image-r93dx0pk.js} +31 -30
- package/dist/chunks/{agent-yc04cj61.js → image-r9amg80d.js} +38 -32
- package/dist/chunks/{agent-rb9dy4dg.js → image-rb9dy4dg.js} +1 -1
- package/dist/chunks/{agent-2bc1d118.js → image-rd02mkry.js} +11 -11
- package/dist/chunks/{agent-6qeh1vj5.js → image-rh4sx1pa.js} +29 -29
- package/dist/chunks/{agent-wz5tj16h.js → image-rmk2c50f.js} +5 -5
- package/dist/chunks/{agent-h36b412q.js → image-rnmnt1zv.js} +89 -89
- package/dist/chunks/{agent-rt5dr6hb.js → image-rt5dr6hb.js} +1 -1
- package/dist/chunks/{agent-wj8xy6vp.js → image-rvpj35j6.js} +7 -7
- package/dist/chunks/{agent-fwsmq32q.js → image-s1527p4m.js} +7 -7
- package/dist/chunks/{agent-sa3fpqfw.js → image-sa3fpqfw.js} +2 -2
- package/dist/chunks/{agent-d9b58nj2.js → image-sf9d32j3.js} +53 -53
- package/dist/chunks/{agent-8dzbm67s.js → image-sn1fshxa.js} +14 -14
- package/dist/chunks/{agent-sqjzf8x2.js → image-sqjzf8x2.js} +1 -1
- package/dist/chunks/{agent-45gaytxr.js → image-sx8nkve2.js} +21 -16
- package/dist/chunks/{agent-f0vthqmt.js → image-szn95e7f.js} +21 -21
- package/dist/chunks/{agent-eyaew5ez.js → image-t0b83k8a.js} +22 -22
- package/dist/chunks/{agent-jw023j4b.js → image-t0bc7c9c.js} +4 -4
- package/dist/chunks/{agent-g5h81d8x.js → image-tbebkah3.js} +52 -31
- package/dist/chunks/{agent-tczq8hjw.js → image-tczq8hjw.js} +1 -1
- package/dist/chunks/{agent-ssfehs1z.js → image-tfx8q2f5.js} +4 -4
- package/dist/chunks/{agent-xfmhx0sz.js → image-tm90js6s.js} +33 -33
- package/dist/chunks/{agent-pt1ss6jy.js → image-ts7mkfs9.js} +3 -3
- package/dist/chunks/{agent-2mcwn9hz.js → image-twd3mrfp.js} +19 -19
- package/dist/chunks/{agent-twv2r8f4.js → image-twv2r8f4.js} +2 -2
- package/dist/chunks/{agent-v2r1d0zg.js → image-v2r1d0zg.js} +1 -1
- package/dist/chunks/{agent-m8rxg9cs.js → image-v8w1bnvx.js} +35 -35
- package/dist/chunks/{agent-kknkytq1.js → image-v9khnj00.js} +15 -15
- package/dist/chunks/{agent-veqvce7d.js → image-veqvce7d.js} +1 -1
- package/dist/chunks/image-vha83cg2.js +42 -0
- package/dist/chunks/{agent-r4pwrx75.js → image-vrcsa8qx.js} +9 -9
- package/dist/chunks/{agent-xpzag304.js → image-vxep47rf.js} +18 -18
- package/dist/chunks/{agent-052306eg.js → image-w2gxr2bn.js} +11 -11
- package/dist/chunks/{agent-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
- package/dist/chunks/{agent-wakvkjy4.js → image-wakvkjy4.js} +1 -1
- package/dist/chunks/{agent-d75wdvfq.js → image-wb63k751.js} +28 -28
- package/dist/chunks/{agent-wd87259q.js → image-wd87259q.js} +1 -1
- package/dist/chunks/{agent-csnrqqvz.js → image-x2askrax.js} +3 -3
- package/dist/chunks/{agent-a8b15abj.js → image-x7a9enwj.js} +22 -22
- package/dist/chunks/{agent-0ear39jp.js → image-x7hq4v6t.js} +11 -11
- package/dist/chunks/{agent-wddf3ds8.js → image-xcgcy0qm.js} +5 -5
- package/dist/chunks/{agent-x8m11snx.js → image-y4pr8w8r.js} +28 -28
- package/dist/chunks/{agent-095ywf79.js → image-yafd30nv.js} +18 -18
- package/dist/chunks/image-yara3q77.js +132 -0
- package/dist/chunks/{agent-yb20nhc3.js → image-yb20nhc3.js} +1 -1
- package/dist/chunks/{agent-wqwygejh.js → image-yn1cc37b.js} +47 -47
- package/dist/chunks/{agent-jnwx2kg9.js → image-ynrq1a8k.js} +6 -6
- package/dist/chunks/{agent-tzgk7pc9.js → image-ypfyeefr.js} +9 -9
- package/dist/chunks/{agent-3ayfnv7k.js → image-ytn8yj3j.js} +29 -29
- package/dist/chunks/{agent-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
- package/dist/chunks/{agent-zegbnajt.js → image-z3294gqc.js} +4 -4
- package/dist/chunks/{agent-z38nccrw.js → image-z38nccrw.js} +1 -1
- package/dist/chunks/image-z5zx3gz5.js +215 -0
- package/dist/chunks/{agent-csg411tc.js → image-zdj0mree.js} +18 -18
- package/dist/chunks/{agent-4c58dp62.js → image-zdmjncrg.js} +53 -53
- package/dist/chunks/{agent-7a2bwsmz.js → image-zfyb5tr4.js} +4 -4
- package/dist/chunks/{agent-zgt5j0h2.js → image-zgt5j0h2.js} +2 -2
- package/dist/chunks/{agent-799ckdtf.js → image-zh7bbm8x.js} +9 -9
- package/dist/chunks/{agent-g925vmef.js → image-zh8rh1nn.js} +5 -5
- package/dist/chunks/{agent-ard2b0yg.js → image-zk95xct4.js} +3 -3
- package/dist/chunks/{agent-zkg84ctx.js → image-zkg84ctx.js} +1 -1
- package/dist/chunks/{agent-r0yav5tq.js → image-zntxr30m.js} +14 -14
- package/dist/chunks/{agent-e3nyjr0f.js → image-zqyt9eh5.js} +30 -25
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +92 -91
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -106
- package/dist/config/plugin/agent.js +123 -122
- package/dist/config/plugin/command.js +221 -220
- package/dist/config/plugin/compaction.js +162 -161
- package/dist/config/plugin/compatibility.js +142 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -121
- package/dist/config/plugin/image.js +121 -120
- package/dist/config/plugin/instruction.js +121 -120
- package/dist/config/plugin/location-watcher.js +121 -120
- package/dist/config/plugin/mcp.js +132 -131
- package/dist/config/plugin/policy.js +123 -122
- package/dist/config/plugin/provider.js +122 -121
- package/dist/config/plugin/reference.js +123 -122
- package/dist/config/plugin/shell.js +123 -122
- package/dist/config/plugin/skill-file.js +138 -111
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +145 -144
- package/dist/config/plugin/snapshot.js +121 -120
- package/dist/config/plugin/source.js +124 -123
- package/dist/config/plugin/tool-output.js +122 -121
- package/dist/config/plugin/websearch.js +122 -121
- package/dist/config/plugin/worktree.js +123 -122
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -125
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +91 -91
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +95 -94
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +385 -382
- 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 +101 -100
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +101 -100
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +80 -80
- package/dist/file-access.js +140 -113
- package/dist/file-mutation.js +102 -101
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +221 -0
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +232 -231
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +107 -106
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +112 -111
- package/dist/form.js +90 -90
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -94
- package/dist/generate.js +115 -114
- package/dist/git.js +11 -11
- 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 +107 -106
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +372 -371
- package/dist/instruction-discovery.js +88 -88
- package/dist/instructions/builtins.js +95 -94
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +95 -95
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +168 -169
- package/dist/location-lifecycle.js +142 -116
- package/dist/location-service-map.js +94 -93
- package/dist/location-services.js +369 -368
- package/dist/location.js +93 -92
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +99 -98
- package/dist/mcp/index.js +109 -108
- package/dist/mcp/instructions.js +166 -145
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -97
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +107 -106
- package/dist/model-resolver.js +105 -104
- package/dist/model-retry.js +1 -1
- package/dist/model.js +110 -109
- package/dist/models-dev.js +111 -110
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +151 -124
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +82 -82
- package/dist/plugin/command.js +110 -109
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +227 -226
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +342 -341
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +104 -103
- package/dist/plugin/module.js +123 -122
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -111
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -97
- package/dist/plugin/provider/azure.js +121 -120
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -120
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +117 -116
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -100
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -102
- package/dist/plugin/provider/gitlab.js +101 -100
- package/dist/plugin/provider/google-vertex.js +118 -117
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -129
- package/dist/plugin/provider/local.js +127 -126
- package/dist/plugin/provider/modal.js +100 -99
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -129
- package/dist/plugin/provider/openai-context-caps.js +98 -97
- package/dist/plugin/provider/openai.js +121 -120
- package/dist/plugin/provider/opencode-legacy.js +108 -107
- package/dist/plugin/provider/opencode.js +127 -126
- package/dist/plugin/provider/openrouter.js +99 -98
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -98
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -119
- package/dist/plugin/provider/vercel.js +98 -97
- package/dist/plugin/provider/vllm.js +130 -129
- package/dist/plugin/provider/xai.js +99 -98
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +178 -177
- package/dist/plugin/sdk.js +82 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +359 -358
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -93
- package/dist/plugin/vcs/hg.js +94 -93
- package/dist/plugin/verbosity.js +101 -100
- package/dist/plugin/warming.js +119 -118
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +236 -235
- package/dist/project/icon.js +14 -0
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -91
- package/dist/provider.js +109 -108
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +104 -103
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +96 -96
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -104
- package/dist/rpc.js +94 -93
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +137 -9
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +162 -143
- package/dist/session/context.js +188 -171
- package/dist/session/diff.js +96 -95
- 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 +231 -230
- package/dist/session/execution.js +154 -137
- package/dist/session/generate.js +190 -173
- package/dist/session/history.js +129 -17
- package/dist/session/inbox.js +140 -103
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +134 -106
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -129
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +156 -139
- package/dist/session/projector.js +134 -97
- package/dist/session/prompt.js +140 -114
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -103
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -237
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -107
- package/dist/session/runner/publish-llm-event.js +141 -122
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +154 -135
- package/dist/session/runner/to-llm-message.js +128 -16
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -169
- package/dist/session/shell.js +135 -134
- package/dist/session/skill.js +139 -112
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -93
- package/dist/session/stored.js +6 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -218
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +192 -175
- package/dist/session/to-session-error.js +140 -121
- package/dist/session/transfer.js +227 -226
- package/dist/session/usage.js +1 -1
- package/dist/session.js +223 -222
- package/dist/shell/parse.js +8 -8
- 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 +135 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -116
- package/dist/skill.js +144 -117
- package/dist/snapshot.js +97 -96
- package/dist/state.js +3 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +165 -144
- package/dist/tool/plugin/edit.js +156 -129
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -133
- package/dist/tool/plugin/grep.js +160 -133
- package/dist/tool/plugin/mcp-resource.js +154 -133
- package/dist/tool/plugin/opencode.js +145 -118
- package/dist/tool/plugin/patch.js +152 -125
- package/dist/tool/plugin/question.js +136 -110
- package/dist/tool/plugin/read.js +157 -130
- package/dist/tool/plugin/shell.js +224 -223
- package/dist/tool/plugin/skill.js +145 -118
- package/dist/tool/plugin/subagent.js +218 -217
- package/dist/tool/plugin/todo.js +145 -144
- package/dist/tool/plugin/webfetch.js +149 -122
- package/dist/tool/plugin/websearch.js +145 -121
- package/dist/tool/plugin/write.js +152 -125
- package/dist/tool/read-filesystem.js +108 -107
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/config/plugin/command.d.ts +1 -1
- package/dist/types/config.d.ts +1 -1
- package/dist/types/filesystem/file-watch.d.ts +33 -0
- package/dist/types/instance/service.d.ts +2 -0
- package/dist/types/instance.d.ts +1 -1
- package/dist/types/mcp/index.d.ts +1 -1
- package/dist/types/models-dev.d.ts +1 -1
- package/dist/types/plugin/host.d.ts +2 -2
- package/dist/types/plugin/internal.d.ts +1 -1
- package/dist/types/plugin/provider/azure.d.ts +2 -2
- package/dist/types/plugin/provider/chatgpt.d.ts +1 -1
- package/dist/types/plugin/provider/github-copilot.d.ts +1 -1
- package/dist/types/plugin/provider/gitlab.d.ts +1 -1
- package/dist/types/plugin/provider/google-vertex.d.ts +1 -1
- package/dist/types/plugin/provider/modal.d.ts +1 -1
- package/dist/types/plugin/provider/openai.d.ts +1 -1
- package/dist/types/plugin/provider/opencode.d.ts +1 -1
- package/dist/types/plugin/provider/snowflake-cortex.d.ts +1 -1
- package/dist/types/project/icon.d.ts +26 -0
- package/dist/types/session/blob.d.ts +877 -0
- package/dist/types/session/compaction.d.ts +1 -1
- package/dist/types/session/prompt.d.ts +5 -2
- package/dist/types/session/stored.d.ts +3 -1
- package/dist/types/state.d.ts +6 -0
- package/dist/types/tool/plugin/subagent.d.ts +1 -1
- package/dist/types/wellknown/plugin.d.ts +1 -1
- package/dist/usage-limits.js +89 -89
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -99
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +99 -98
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -96
- package/dist/voice.js +94 -94
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -96
- package/dist/worktree.js +102 -101
- package/package.json +8 -8
- package/dist/chunks/agent-66c1tj1c.js +0 -39
- package/dist/chunks/agent-db6xh5f5.js +0 -26
- package/dist/chunks/agent-es3b2gsk.js +0 -107
- package/dist/chunks/agent-ev660z6k.js +0 -18
- package/dist/chunks/agent-rzcykvvq.js +0 -257
- /package/dist/chunks/{agent-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{agent-0zkw76rk.js → image-0zkw76rk.js} +0 -0
- /package/dist/chunks/{agent-17cy0kzp.js → image-17cy0kzp.js} +0 -0
- /package/dist/chunks/{agent-1cnp2v09.js → image-1cnp2v09.js} +0 -0
- /package/dist/chunks/{agent-24dcb14g.js → image-24dcb14g.js} +0 -0
- /package/dist/chunks/{agent-2710q6r3.js → image-2710q6r3.js} +0 -0
- /package/dist/chunks/{agent-2bv980vf.js → image-2bv980vf.js} +0 -0
- /package/dist/chunks/{agent-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{agent-359p4xyc.js → image-359p4xyc.js} +0 -0
- /package/dist/chunks/{agent-3asan66x.js → image-3asan66x.js} +0 -0
- /package/dist/chunks/{agent-3v8g72cx.js → image-3v8g72cx.js} +0 -0
- /package/dist/chunks/{agent-3wcehsnq.js → image-3wcehsnq.js} +0 -0
- /package/dist/chunks/{agent-43n2bw4t.js → image-43n2bw4t.js} +0 -0
- /package/dist/chunks/{agent-4knz6hnm.js → image-4knz6hnm.js} +0 -0
- /package/dist/chunks/{agent-4m86bj6y.js → image-4m86bj6y.js} +0 -0
- /package/dist/chunks/{agent-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{agent-4y7fprxs.js → image-4y7fprxs.js} +0 -0
- /package/dist/chunks/{agent-53557ph1.js → image-53557ph1.js} +0 -0
- /package/dist/chunks/{agent-550bvhaj.js → image-550bvhaj.js} +0 -0
- /package/dist/chunks/{agent-5fjb7ams.js → image-5fjb7ams.js} +0 -0
- /package/dist/chunks/{agent-5w3e23ze.js → image-5w3e23ze.js} +0 -0
- /package/dist/chunks/{agent-6prwharc.js → image-6prwharc.js} +0 -0
- /package/dist/chunks/{agent-6q2bdcd1.js → image-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{agent-7akdwqpd.js → image-7akdwqpd.js} +0 -0
- /package/dist/chunks/{agent-7m9af43g.js → image-7m9af43g.js} +0 -0
- /package/dist/chunks/{agent-822emrt2.js → image-822emrt2.js} +0 -0
- /package/dist/chunks/{agent-84wd9syh.js → image-84wd9syh.js} +0 -0
- /package/dist/chunks/{agent-88xbtdfr.js → image-88xbtdfr.js} +0 -0
- /package/dist/chunks/{agent-8n3pysct.js → image-8n3pysct.js} +0 -0
- /package/dist/chunks/{agent-8wj87zfr.js → image-8wj87zfr.js} +0 -0
- /package/dist/chunks/{agent-9a4afbnw.js → image-9a4afbnw.js} +0 -0
- /package/dist/chunks/{agent-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{agent-a058387c.js → image-a058387c.js} +0 -0
- /package/dist/chunks/{agent-a6k6eb26.js → image-a6k6eb26.js} +0 -0
- /package/dist/chunks/{agent-af5trqkr.js → image-af5trqkr.js} +0 -0
- /package/dist/chunks/{agent-afrmfg78.js → image-afrmfg78.js} +0 -0
- /package/dist/chunks/{agent-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{agent-atq7p7m5.js → image-atq7p7m5.js} +0 -0
- /package/dist/chunks/{agent-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{agent-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{agent-cf4snx6d.js → image-cf4snx6d.js} +0 -0
- /package/dist/chunks/{agent-cqv5kn06.js → image-cqv5kn06.js} +0 -0
- /package/dist/chunks/{agent-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{agent-d9fn303g.js → image-d9fn303g.js} +0 -0
- /package/dist/chunks/{agent-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{agent-dajrwvna.js → image-dajrwvna.js} +0 -0
- /package/dist/chunks/{agent-dap0rakb.js → image-dap0rakb.js} +0 -0
- /package/dist/chunks/{agent-df08tz66.js → image-df08tz66.js} +0 -0
- /package/dist/chunks/{agent-dy18nga0.js → image-dy18nga0.js} +0 -0
- /package/dist/chunks/{agent-e5kj55wp.js → image-e5kj55wp.js} +0 -0
- /package/dist/chunks/{agent-e73j6tqm.js → image-e73j6tqm.js} +0 -0
- /package/dist/chunks/{agent-ec1grn59.js → image-ec1grn59.js} +0 -0
- /package/dist/chunks/{agent-eh3zwz77.js → image-eh3zwz77.js} +0 -0
- /package/dist/chunks/{agent-emrn6kk6.js → image-emrn6kk6.js} +0 -0
- /package/dist/chunks/{agent-f0mxakyp.js → image-f0mxakyp.js} +0 -0
- /package/dist/chunks/{agent-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{agent-faypxj3z.js → image-faypxj3z.js} +0 -0
- /package/dist/chunks/{agent-fd410y7t.js → image-fd410y7t.js} +0 -0
- /package/dist/chunks/{agent-fkpq3x5p.js → image-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{agent-g4wezp1m.js → image-g4wezp1m.js} +0 -0
- /package/dist/chunks/{agent-g86h250q.js → image-g86h250q.js} +0 -0
- /package/dist/chunks/{agent-gebd4c9n.js → image-gebd4c9n.js} +0 -0
- /package/dist/chunks/{agent-gftt206x.js → image-gftt206x.js} +0 -0
- /package/dist/chunks/{agent-hcxmzztb.js → image-hcxmzztb.js} +0 -0
- /package/dist/chunks/{agent-hk9envan.js → image-hk9envan.js} +0 -0
- /package/dist/chunks/{agent-j2ntwpah.js → image-j2ntwpah.js} +0 -0
- /package/dist/chunks/{agent-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{agent-jjkms2e6.js → image-jjkms2e6.js} +0 -0
- /package/dist/chunks/{agent-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{agent-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{agent-jwr30sdr.js → image-jwr30sdr.js} +0 -0
- /package/dist/chunks/{agent-jze0r7bz.js → image-jze0r7bz.js} +0 -0
- /package/dist/chunks/{agent-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{agent-m18g726c.js → image-m18g726c.js} +0 -0
- /package/dist/chunks/{agent-mp448xyj.js → image-mp448xyj.js} +0 -0
- /package/dist/chunks/{agent-msx8hqn2.js → image-msx8hqn2.js} +0 -0
- /package/dist/chunks/{agent-n05xt0ee.js → image-n05xt0ee.js} +0 -0
- /package/dist/chunks/{agent-n3j8tn72.js → image-n3j8tn72.js} +0 -0
- /package/dist/chunks/{agent-njntx4h6.js → image-njntx4h6.js} +0 -0
- /package/dist/chunks/{agent-q3sfg36h.js → image-q3sfg36h.js} +0 -0
- /package/dist/chunks/{agent-q74kybfr.js → image-q74kybfr.js} +0 -0
- /package/dist/chunks/{agent-qaymkmh1.js → image-qaymkmh1.js} +0 -0
- /package/dist/chunks/{agent-qb87gjwd.js → image-qb87gjwd.js} +0 -0
- /package/dist/chunks/{agent-qfa1cgps.js → image-qfa1cgps.js} +0 -0
- /package/dist/chunks/{agent-qg3g05ea.js → image-qg3g05ea.js} +0 -0
- /package/dist/chunks/{agent-qrg20bc0.js → image-qrg20bc0.js} +0 -0
- /package/dist/chunks/{agent-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{agent-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{agent-ssg3fenm.js → image-ssg3fenm.js} +0 -0
- /package/dist/chunks/{agent-ve7vex1e.js → image-ve7vex1e.js} +0 -0
- /package/dist/chunks/{agent-w803qqfp.js → image-w803qqfp.js} +0 -0
- /package/dist/chunks/{agent-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{agent-wer8tq1h.js → image-wer8tq1h.js} +0 -0
- /package/dist/chunks/{agent-wjj7prxr.js → image-wjj7prxr.js} +0 -0
- /package/dist/chunks/{agent-wtztk69x.js → image-wtztk69x.js} +0 -0
- /package/dist/chunks/{agent-x0ckcb58.js → image-x0ckcb58.js} +0 -0
- /package/dist/chunks/{agent-x61499pn.js → image-x61499pn.js} +0 -0
- /package/dist/chunks/{agent-y44na4kk.js → image-y44na4kk.js} +0 -0
- /package/dist/chunks/{agent-y8f7s663.js → image-y8f7s663.js} +0 -0
- /package/dist/chunks/{agent-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{agent-ym463w8f.js → image-ym463w8f.js} +0 -0
- /package/dist/chunks/{agent-z5v4ffb3.js → image-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{agent-z9919s4g.js → image-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./image-4f6p1dag.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-ts7mkfs9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
node: () =>
|
|
19
|
+
Service: () => Service72,
|
|
20
|
+
make: () => make23,
|
|
21
|
+
node: () => node76
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service72 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
|
|
|
83
83
|
next.set(sessionID, count - 1);
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
const kv = yield*
|
|
86
|
+
var make23 = Effect.gen(function* () {
|
|
87
|
+
const kv = yield* Service85;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -343,7 +343,7 @@ var make21 = Effect.gen(function* () {
|
|
|
343
343
|
next.delete(entry[0]);
|
|
344
344
|
return next;
|
|
345
345
|
})));
|
|
346
|
-
return
|
|
346
|
+
return Service72.of({
|
|
347
347
|
get,
|
|
348
348
|
start,
|
|
349
349
|
wait,
|
|
@@ -356,7 +356,7 @@ var make21 = Effect.gen(function* () {
|
|
|
356
356
|
completeBackground
|
|
357
357
|
});
|
|
358
358
|
});
|
|
359
|
-
var layer = Layer.effect(
|
|
360
|
-
var
|
|
359
|
+
var layer = Layer.effect(Service72, make23);
|
|
360
|
+
var node76 = makeGlobalNode({ service: Service72, layer, deps: [node89] });
|
|
361
361
|
|
|
362
|
-
export {
|
|
362
|
+
export { Service72, make23, node76, exports_job };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-61ennm6n.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./image-82460pbt.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./image-60qa52yq.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-k2zexe6b.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service78
|
|
20
|
+
} from "./image-pkwadbh0.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./image-0t1h01ha.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./image-x7a9enwj.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./image-npqrkmj2.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID10
|
|
33
|
+
} from "./image-465gqz21.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./image-3nnrz6f6.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
@@ -66,7 +66,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
66
66
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
67
67
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
68
68
|
var oauth = (app) => ({
|
|
69
|
-
integrationID:
|
|
69
|
+
integrationID: ID14.make("github-copilot"),
|
|
70
70
|
method: {
|
|
71
71
|
id: methodID,
|
|
72
72
|
type: "oauth",
|
|
@@ -164,8 +164,8 @@ var oauth = (app) => ({
|
|
|
164
164
|
var GithubCopilotPlugin2 = define({
|
|
165
165
|
id: "opencode.provider.github.copilot",
|
|
166
166
|
effect: Effect.fn(function* (ctx) {
|
|
167
|
-
const providers = yield*
|
|
168
|
-
const bus = yield*
|
|
167
|
+
const providers = yield* Service78;
|
|
168
|
+
const bus = yield* Service84;
|
|
169
169
|
const loading = Semaphore.makeUnsafe(1);
|
|
170
170
|
const loaded = {};
|
|
171
171
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -181,9 +181,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
181
181
|
return;
|
|
182
182
|
}
|
|
183
183
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
184
|
-
const provider = yield* providers.get(
|
|
184
|
+
const provider = yield* providers.get(ID13.githubCopilot);
|
|
185
185
|
const remote = yield* Effect.tryPromise({
|
|
186
|
-
try: () =>
|
|
186
|
+
try: () => load2(url, {
|
|
187
187
|
...provider?.headers,
|
|
188
188
|
Authorization: `Bearer ${credential.refresh}`,
|
|
189
189
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -203,13 +203,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
203
203
|
editor.method.update(oauth(ctx.app));
|
|
204
204
|
});
|
|
205
205
|
yield* ctx.provider.transform((evt) => {
|
|
206
|
-
const item = evt.get(
|
|
206
|
+
const item = evt.get(ID13.githubCopilot);
|
|
207
207
|
if (!item)
|
|
208
208
|
return;
|
|
209
209
|
if (loaded.models) {
|
|
210
210
|
evt.add({
|
|
211
211
|
info: item.provider,
|
|
212
|
-
models: Array.from(
|
|
212
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
213
213
|
sourceConnection: loaded.connection
|
|
214
214
|
});
|
|
215
215
|
return;
|
|
@@ -231,17 +231,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
231
231
|
}
|
|
232
232
|
});
|
|
233
233
|
yield* ctx.model.transform((models) => {
|
|
234
|
-
if (models.get(
|
|
235
|
-
models.update(
|
|
234
|
+
if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
|
|
235
|
+
models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
|
|
236
236
|
model.enabled = false;
|
|
237
237
|
});
|
|
238
238
|
}
|
|
239
239
|
});
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
yield* refresh().pipe(Effect.forkScoped);
|
|
243
243
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
247
247
|
return;
|
|
@@ -250,7 +250,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
250
250
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
251
251
|
}));
|
|
252
252
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
253
|
-
if (evt.model.providerID !==
|
|
253
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
254
254
|
return;
|
|
255
255
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
256
256
|
return;
|
|
@@ -260,13 +260,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
260
260
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
261
261
|
if (interaction !== "conversation-agent")
|
|
262
262
|
evt.headers["x-initiator"] = "agent";
|
|
263
|
-
}), { providerID:
|
|
263
|
+
}), { providerID: ID13.githubCopilot });
|
|
264
264
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
265
|
-
if (evt.model.providerID !==
|
|
265
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
266
266
|
return;
|
|
267
267
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
268
268
|
return;
|
|
269
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
269
|
+
const agent = yield* ctx.agent.get({ agentID: ID10.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
270
270
|
return;
|
|
271
271
|
}));
|
|
272
272
|
if (agent?.data.model)
|
|
@@ -277,9 +277,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
277
277
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
278
278
|
return;
|
|
279
279
|
}));
|
|
280
|
-
}), { providerID:
|
|
280
|
+
}), { providerID: ID13.githubCopilot });
|
|
281
281
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
282
|
-
if (evt.model.providerID !==
|
|
282
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
283
283
|
return;
|
|
284
284
|
const token = evt.request.headers.get("x-api-key");
|
|
285
285
|
if (!token)
|
|
@@ -287,9 +287,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
287
287
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
288
288
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
289
289
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
290
|
-
}), { providerID:
|
|
290
|
+
}), { providerID: ID13.githubCopilot });
|
|
291
291
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
292
|
-
if (evt.model.providerID !==
|
|
292
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
293
293
|
return;
|
|
294
294
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
295
295
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-2z1j29yd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./image-zdmjncrg.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_MARKDOWN_BYTES2,
|
|
9
9
|
convertHTMLToMarkdown2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-4vcrnpx2.js";
|
|
11
11
|
import {
|
|
12
12
|
collectBoundedResponseBody2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-3v8g72cx.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/tool/plugin/webfetch.ts
|
|
19
19
|
var exports_webfetch = {};
|
|
20
20
|
__export(exports_webfetch, {
|
|
21
21
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
22
|
-
Input: () =>
|
|
23
|
-
MAX_RESPONSE_BYTES: () =>
|
|
22
|
+
Input: () => Input11,
|
|
23
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
24
24
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin28,
|
|
26
26
|
WebFetchTool: () => exports_webfetch,
|
|
27
27
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
28
|
-
description: () =>
|
|
28
|
+
description: () => description4,
|
|
29
29
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
30
|
-
name: () =>
|
|
30
|
+
name: () => name11
|
|
31
31
|
});
|
|
32
32
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
33
33
|
import { Duration, Effect, Schema } from "effect";
|
|
34
34
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
35
35
|
import { Parser } from "htmlparser2";
|
|
36
|
-
var
|
|
37
|
-
var
|
|
36
|
+
var name11 = "webfetch";
|
|
37
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
38
38
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
39
39
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
40
|
-
var
|
|
40
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
41
41
|
|
|
42
42
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
43
43
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
44
|
-
var
|
|
44
|
+
var Input11 = Schema.Struct({
|
|
45
45
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
46
46
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
47
47
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -51,7 +51,7 @@ var Input5 = Schema.Struct({
|
|
|
51
51
|
var Output = Schema.Struct({
|
|
52
52
|
url: Schema.String,
|
|
53
53
|
contentType: Schema.String,
|
|
54
|
-
format:
|
|
54
|
+
format: Input11.fields.format,
|
|
55
55
|
output: Schema.String
|
|
56
56
|
});
|
|
57
57
|
var acceptHeader = (format) => {
|
|
@@ -82,7 +82,7 @@ var assertHttpUrl = (url) => {
|
|
|
82
82
|
throw new Error("URL must use http:// or https://");
|
|
83
83
|
};
|
|
84
84
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
85
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
85
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
86
86
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
87
87
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
88
88
|
var convert = (content, contentType, format) => {
|
|
@@ -94,16 +94,16 @@ var convert = (content, contentType, format) => {
|
|
|
94
94
|
return extractTextFromHTML2(content);
|
|
95
95
|
return content;
|
|
96
96
|
};
|
|
97
|
-
var
|
|
97
|
+
var Plugin28 = {
|
|
98
98
|
id: "opencode.tool.webfetch",
|
|
99
99
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
100
100
|
const http = yield* HttpClient.HttpClient;
|
|
101
|
-
const permission = yield*
|
|
101
|
+
const permission = yield* Service66;
|
|
102
102
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
103
|
-
name:
|
|
103
|
+
name: name11,
|
|
104
104
|
options: { codemode: false },
|
|
105
|
-
description:
|
|
106
|
-
input:
|
|
105
|
+
description: description4,
|
|
106
|
+
input: Input11,
|
|
107
107
|
output: Output,
|
|
108
108
|
execute: (input, context) => Effect.gen(function* () {
|
|
109
109
|
yield* Effect.try({
|
|
@@ -111,7 +111,7 @@ var Plugin22 = {
|
|
|
111
111
|
catch: (error) => error
|
|
112
112
|
});
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name11,
|
|
115
115
|
resources: [input.url],
|
|
116
116
|
save: ["*"],
|
|
117
117
|
metadata: input,
|
|
@@ -169,4 +169,4 @@ function extractTextFromHTML2(html) {
|
|
|
169
169
|
parser.end();
|
|
170
170
|
return text.trim();
|
|
171
171
|
}
|
|
172
|
-
export {
|
|
172
|
+
export { name11, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input11, Plugin28, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-204s3925.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service57,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node62
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service57 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service57.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node62 = makeLocationNode({ service: Service57, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service57, node62, exports_image2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service63,
|
|
10
|
+
node: () => node67
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service63 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node67 = LayerNode.unbound(Service63, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service63, node67, exports_service2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error4,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make19,
|
|
14
|
+
node: () => node59,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make19 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node59 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error4, ProviderNotFound2, make19, RegistryService2, registry2, registryNode2, node59, exports_driver };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./image-465gqz21.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info18
|
|
9
|
+
} from "./image-80m5xgxj.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-t0bc7c9c.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service69
|
|
16
|
+
} from "./image-sf9d32j3.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-e834z07m.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./image-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent2 = {};
|
|
26
|
+
__export(exports_agent2, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
+
Plugin: () => Plugin41
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info18);
|
|
44
44
|
var pathActions = ["external_directory", "read", "edit"];
|
|
45
45
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
46
46
|
var nativeKeys = ["permissions", "request", "system", "disabled"];
|
|
47
|
-
var
|
|
47
|
+
var Plugin41 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service69;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin17 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID10.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID10.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -163,4 +163,4 @@ var decode = Effect.fnUntraced(function* (file, content) {
|
|
|
163
163
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
164
164
|
});
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { Plugin41, exports_agent2 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./image-hsapky1s.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service69
|
|
9
|
+
} from "./image-sf9d32j3.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-r93dx0pk.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-6pjqjmy2.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin42
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin42 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service69;
|
|
35
|
+
const location = yield* Service82;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin42, exports_reference };
|