@opencode/core 0.0.0-dev-20954 → 0.0.0-dev-20957
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{instance-6mt73k75.js → rpc-0g63a0te.js} +12 -12
- package/dist/chunks/{instance-9vmcz4h6.js → rpc-0kkmefz1.js} +24 -24
- package/dist/chunks/{instance-xt3y6wcz.js → rpc-0rmdt9st.js} +5 -5
- package/dist/chunks/{instance-4k1x6kpe.js → rpc-0s8etjc9.js} +29 -29
- package/dist/chunks/{instance-81fjg4yx.js → rpc-0sgp6vrq.js} +12 -12
- package/dist/chunks/{instance-0vbcp93d.js → rpc-0vbcp93d.js} +2 -2
- package/dist/chunks/{instance-j723vaq8.js → rpc-0yp806wb.js} +4 -4
- package/dist/chunks/{instance-11dqjexa.js → rpc-11dqjexa.js} +2 -2
- package/dist/chunks/{instance-ftjfjc71.js → rpc-13wy7mfs.js} +16 -16
- package/dist/chunks/{instance-7t06q8yg.js → rpc-1577rrhd.js} +57 -57
- package/dist/chunks/{instance-gmxdk168.js → rpc-19r4ktpx.js} +27 -27
- package/dist/chunks/{instance-bjx1sjef.js → rpc-1ffvrpkg.js} +6 -6
- package/dist/chunks/{instance-ecb995cy.js → rpc-1hfz5630.js} +24 -24
- package/dist/chunks/{instance-5nsk3cgd.js → rpc-1j6h4v11.js} +16 -16
- package/dist/chunks/{instance-153cwxcv.js → rpc-1qpmd929.js} +4 -4
- package/dist/chunks/{instance-xnb6dcjs.js → rpc-1vnnf5cd.js} +43 -43
- package/dist/chunks/{instance-6wh5whrv.js → rpc-1yvzb6cq.js} +11 -11
- package/dist/chunks/{instance-aseyxkj3.js → rpc-20dqcrnk.js} +18 -18
- package/dist/chunks/{instance-x2h9ec76.js → rpc-2c1etwgk.js} +21 -21
- package/dist/chunks/{instance-fhe5w9ys.js → rpc-2ew3z5ht.js} +17 -17
- package/dist/chunks/{instance-q2she582.js → rpc-2jnytm9q.js} +5 -5
- package/dist/chunks/{instance-h7s7r6s9.js → rpc-31xfzrxg.js} +5 -5
- package/dist/chunks/{instance-4f5ys4z8.js → rpc-35xt5v3z.js} +48 -48
- package/dist/chunks/{instance-049ztdrq.js → rpc-3cj7mw2f.js} +4 -4
- package/dist/chunks/{instance-y81ryenr.js → rpc-3dn5qvj3.js} +29 -29
- package/dist/chunks/{instance-588c8p84.js → rpc-3emygs37.js} +22 -22
- package/dist/chunks/{instance-3fc6dm20.js → rpc-3fc6dm20.js} +1 -1
- package/dist/chunks/{instance-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-3hwn7j4h.js → rpc-3hwn7j4h.js} +2 -2
- package/dist/chunks/{instance-dpwn1cem.js → rpc-3jxnaj1m.js} +11 -11
- package/dist/chunks/{instance-1rn5pcm9.js → rpc-3sj8yt8v.js} +4 -4
- package/dist/chunks/{instance-cdp3vbb0.js → rpc-3sm5rdfs.js} +17 -17
- package/dist/chunks/{instance-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
- package/dist/chunks/{instance-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
- package/dist/chunks/{instance-x36jn30v.js → rpc-3v44xrgw.js} +23 -23
- package/dist/chunks/{instance-3zsf4n22.js → rpc-3zsf4n22.js} +1 -1
- package/dist/chunks/{instance-4fcyy0r7.js → rpc-412wv95y.js} +34 -34
- package/dist/chunks/{instance-w2h15q85.js → rpc-4xpgt2w9.js} +5 -5
- package/dist/chunks/{instance-bvezaeyq.js → rpc-501wjxab.js} +5 -5
- package/dist/chunks/{instance-3ppptnan.js → rpc-51f5btjf.js} +6 -6
- package/dist/chunks/{instance-54ma36ye.js → rpc-54ma36ye.js} +1 -1
- package/dist/chunks/{instance-whjf4gy9.js → rpc-59nqaqqb.js} +1 -1
- package/dist/chunks/{instance-3dxwnv9s.js → rpc-5ck1sb4w.js} +29 -29
- package/dist/chunks/{instance-hyedsnzy.js → rpc-5e3s40e2.js} +20 -20
- package/dist/chunks/{instance-fgem0d3n.js → rpc-5eer2xf9.js} +8 -8
- package/dist/chunks/{instance-rxdppyvx.js → rpc-5fpmpm6s.js} +11 -11
- package/dist/chunks/{instance-5m9w47nd.js → rpc-5m9w47nd.js} +1 -1
- package/dist/chunks/{instance-e3qxr5gk.js → rpc-5qd3pb7m.js} +2 -2
- package/dist/chunks/{instance-v31sjffe.js → rpc-5qwd6gw2.js} +20 -20
- package/dist/chunks/{instance-68wqtz75.js → rpc-5w9yjztw.js} +1 -1
- package/dist/chunks/{instance-dph5h907.js → rpc-5xhe9v23.js} +9 -9
- package/dist/chunks/{instance-qepgs3zw.js → rpc-618s31kc.js} +10 -10
- package/dist/chunks/{instance-e3x9se89.js → rpc-61rpadeq.js} +20 -20
- package/dist/chunks/{instance-jx879jcj.js → rpc-62yd8t86.js} +14 -14
- package/dist/chunks/{instance-ht9x2vd6.js → rpc-633kc721.js} +11 -11
- package/dist/chunks/{instance-ynt1sdzt.js → rpc-664av6jq.js} +44 -44
- package/dist/chunks/{instance-hg8dw4jf.js → rpc-669jbzsj.js} +15 -15
- package/dist/chunks/{instance-6am9e49w.js → rpc-66keg2ed.js} +9 -9
- package/dist/chunks/{instance-s5rmf723.js → rpc-6ax2sg4n.js} +27 -27
- package/dist/chunks/{instance-sgnkj29h.js → rpc-6fd9p91z.js} +13 -13
- package/dist/chunks/{instance-pzca2xdh.js → rpc-6ha732mw.js} +27 -27
- package/dist/chunks/{instance-rkprpv83.js → rpc-6pc27hjz.js} +6 -6
- package/dist/chunks/{instance-k03wy1kc.js → rpc-6sspz9tf.js} +11 -11
- package/dist/chunks/{instance-5sf8jfzs.js → rpc-6t1bbpnq.js} +7 -7
- package/dist/chunks/{instance-j2sv15a5.js → rpc-6tyv3xa5.js} +4 -4
- package/dist/chunks/{instance-crqsjnwy.js → rpc-6x6tfj0a.js} +12 -12
- package/dist/chunks/{instance-6xb47vfp.js → rpc-6xb47vfp.js} +1 -1
- package/dist/chunks/{instance-f383z995.js → rpc-72gmrwx5.js} +25 -25
- package/dist/chunks/{instance-gsd3cehb.js → rpc-73tr020p.js} +71 -71
- package/dist/chunks/{instance-775gj3j1.js → rpc-775gj3j1.js} +2 -2
- package/dist/chunks/{instance-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-etkznbs4.js → rpc-7jacs1jg.js} +29 -29
- package/dist/chunks/{instance-06y773be.js → rpc-7m6me2kh.js} +26 -26
- package/dist/chunks/{instance-qfrb8da6.js → rpc-7pw4k8pw.js} +17 -17
- package/dist/chunks/{instance-g7by923y.js → rpc-81aqk3w6.js} +11 -11
- package/dist/chunks/{instance-e3t2rexw.js → rpc-82bj86tv.js} +6 -6
- package/dist/chunks/{instance-6n70g1xh.js → rpc-85k52pgz.js} +12 -12
- package/dist/chunks/{instance-8m6m0r52.js → rpc-8m6m0r52.js} +1 -1
- package/dist/chunks/{instance-fy4vjmwr.js → rpc-91pgxm1y.js} +20 -20
- package/dist/chunks/{instance-gsxqm9kc.js → rpc-94zt7vas.js} +8 -8
- package/dist/chunks/{instance-98pzc9xt.js → rpc-99tfdan1.js} +32 -32
- package/dist/chunks/{instance-p37cw4rj.js → rpc-9hn6k4tm.js} +8 -8
- package/dist/chunks/{instance-a34xer23.js → rpc-9pdrjcjq.js} +14 -14
- package/dist/chunks/{instance-wmmcjnbx.js → rpc-a4cx9gg9.js} +27 -27
- package/dist/chunks/{instance-eebbcbg0.js → rpc-a4y2m2pn.js} +25 -25
- package/dist/chunks/{instance-wqzzjrnt.js → rpc-a7dkb545.js} +11 -11
- package/dist/chunks/{instance-fnr33zha.js → rpc-a8nkje97.js} +9 -9
- package/dist/chunks/{instance-bschsqn1.js → rpc-a961kxqf.js} +11 -11
- package/dist/chunks/{instance-9mgbv78s.js → rpc-atjwctsn.js} +18 -18
- package/dist/chunks/{instance-c4p9y2fc.js → rpc-awddqekk.js} +18 -18
- package/dist/chunks/{instance-mf3tt33a.js → rpc-axv8g7q4.js} +15 -15
- package/dist/chunks/{instance-rq46pevd.js → rpc-azsbjgdx.js} +30 -30
- package/dist/chunks/{instance-c2kw168f.js → rpc-b1kwtjp2.js} +5 -5
- package/dist/chunks/{instance-b3f8fkhc.js → rpc-b3f8fkhc.js} +2 -2
- package/dist/chunks/{instance-47jkzegy.js → rpc-b674v2dg.js} +5 -5
- package/dist/chunks/{instance-p4n2vzg9.js → rpc-b6pnk01m.js} +87 -87
- package/dist/chunks/{instance-qhxakm09.js → rpc-b6r9ty7s.js} +15 -15
- package/dist/chunks/{instance-ynmknp8q.js → rpc-bfegkxfd.js} +11 -11
- package/dist/chunks/{instance-5fec3t3w.js → rpc-bmr56wjg.js} +9 -9
- package/dist/chunks/{instance-pgxhr7ry.js → rpc-bpa232ey.js} +6 -6
- package/dist/chunks/{instance-kb81nczd.js → rpc-bpwrvk6g.js} +19 -19
- package/dist/chunks/{instance-fbdvw7d5.js → rpc-bqf8dw7y.js} +29 -29
- package/dist/chunks/{instance-gwcmcykx.js → rpc-bqg1e2cj.js} +4 -4
- package/dist/chunks/{instance-0k1qxdkc.js → rpc-by0awed6.js} +7 -7
- package/dist/chunks/{instance-hzrfc1p4.js → rpc-c2sed5cq.js} +2 -2
- package/dist/chunks/{instance-k50tk4m1.js → rpc-c3kdpfj7.js} +34 -34
- package/dist/chunks/{instance-c41wscbt.js → rpc-c41wscbt.js} +2 -2
- package/dist/chunks/{instance-kdqzryaz.js → rpc-c445dxh9.js} +17 -17
- package/dist/chunks/rpc-c4rtve7x.js +253 -0
- package/dist/chunks/{instance-12khtxcx.js → rpc-c688b2mm.js} +5 -5
- package/dist/chunks/{instance-q4zwmxcv.js → rpc-c6vcmfe6.js} +47 -47
- package/dist/chunks/{instance-c8ax2afj.js → rpc-c8ax2afj.js} +2 -2
- package/dist/chunks/{instance-wn3t7bpb.js → rpc-cp4eewxm.js} +5 -5
- package/dist/chunks/{instance-d3svy0c6.js → rpc-cvgztn7t.js} +37 -37
- package/dist/chunks/{instance-yp7qphem.js → rpc-da09f1g7.js} +11 -11
- package/dist/chunks/{instance-kte28av3.js → rpc-dce2gzrk.js} +8 -8
- package/dist/chunks/{instance-dpkg50ah.js → rpc-dpkg50ah.js} +1 -1
- package/dist/chunks/{instance-dqxsqydv.js → rpc-dqxsqydv.js} +1 -1
- package/dist/chunks/{instance-drwq78ky.js → rpc-drwq78ky.js} +1 -1
- package/dist/chunks/{instance-eewvv2kc.js → rpc-ds513cvv.js} +42 -42
- package/dist/chunks/{instance-z5pd7bnx.js → rpc-dxybt9ry.js} +28 -28
- package/dist/chunks/{instance-k1mw4f8e.js → rpc-e545f8nm.js} +5 -5
- package/dist/chunks/{instance-rhms214n.js → rpc-e5vg0yv6.js} +8 -8
- package/dist/chunks/{instance-8kyj49b1.js → rpc-e6hwranf.js} +11 -11
- package/dist/chunks/{instance-eej6y6fw.js → rpc-eej6y6fw.js} +2 -2
- package/dist/chunks/{instance-ef5x83kb.js → rpc-ef5x83kb.js} +1 -1
- package/dist/chunks/{instance-es1vcfrp.js → rpc-es1vcfrp.js} +3 -3
- package/dist/chunks/{instance-yp2x3t23.js → rpc-f2n192rq.js} +4 -4
- package/dist/chunks/{instance-g6s0yqyn.js → rpc-f45r55fw.js} +15 -15
- package/dist/chunks/{instance-6hh8tjw2.js → rpc-fqb2p7cx.js} +4 -4
- package/dist/chunks/{instance-1c29c2dv.js → rpc-fscc3096.js} +34 -34
- package/dist/chunks/{instance-a7bcxdzj.js → rpc-fw181sc9.js} +9 -9
- package/dist/chunks/{instance-kch01m1z.js → rpc-fwdmbr1p.js} +26 -26
- package/dist/chunks/{instance-de4tk2kz.js → rpc-g62k8ye6.js} +16 -16
- package/dist/chunks/{instance-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
- package/dist/chunks/{instance-gjwgx2c5.js → rpc-gjwgx2c5.js} +2 -2
- package/dist/chunks/{instance-dpk9s60g.js → rpc-gtexymfp.js} +4 -4
- package/dist/chunks/{instance-5wpsrqhm.js → rpc-gtnvez50.js} +30 -30
- package/dist/chunks/{instance-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
- package/dist/chunks/{instance-em38mb3z.js → rpc-h8gytte2.js} +50 -50
- package/dist/chunks/{instance-mbyq8427.js → rpc-h9a815dw.js} +44 -44
- package/dist/chunks/{instance-r9dk3pzz.js → rpc-haysr2j0.js} +13 -13
- package/dist/chunks/{instance-hgz4x7wa.js → rpc-hgz4x7wa.js} +1 -1
- package/dist/chunks/{instance-7g3h11yw.js → rpc-hk7b56jd.js} +83 -83
- package/dist/chunks/{instance-rbrz49bg.js → rpc-hmqnqm20.js} +26 -26
- package/dist/chunks/{instance-2c3anf0v.js → rpc-hnaazdex.js} +4 -4
- package/dist/chunks/{instance-hqhp0zxs.js → rpc-hqhp0zxs.js} +4 -4
- package/dist/chunks/{instance-r0yd71pn.js → rpc-hra9bp9n.js} +18 -18
- package/dist/chunks/{instance-91qna3x0.js → rpc-j09zfasm.js} +3 -3
- package/dist/chunks/{instance-rpwdzjd4.js → rpc-j9ha8nqa.js} +13 -13
- package/dist/chunks/{instance-1359n4t6.js → rpc-jewhh3wd.js} +11 -11
- package/dist/chunks/{instance-6g107h22.js → rpc-jk540des.js} +2 -2
- package/dist/chunks/rpc-jqh9b0xq.js +18 -0
- package/dist/chunks/{instance-zn53zvnm.js → rpc-k5swm7kd.js} +26 -26
- package/dist/chunks/{instance-48r0wrnn.js → rpc-k9yrfzzn.js} +8 -8
- package/dist/chunks/{instance-9devznn4.js → rpc-kchd60gm.js} +5 -5
- package/dist/chunks/{instance-fxaymqdw.js → rpc-khmqacep.js} +4 -4
- package/dist/chunks/{instance-1qwng1wt.js → rpc-kv3n5ztp.js} +11 -11
- package/dist/chunks/{instance-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-maspj1v3.js → rpc-maspj1v3.js} +1 -1
- package/dist/chunks/{instance-vjjaysxc.js → rpc-mb14aw74.js} +2 -2
- package/dist/chunks/{instance-0t8zfa62.js → rpc-mfj47n67.js} +20 -20
- package/dist/chunks/{instance-5tb5cwdx.js → rpc-mtc1cw2z.js} +3 -3
- package/dist/chunks/{instance-mxvxcxwy.js → rpc-mxvxcxwy.js} +1 -1
- package/dist/chunks/{instance-9mwbd6df.js → rpc-mzyxe8gm.js} +19 -19
- package/dist/chunks/{instance-6wmwxeyx.js → rpc-n3vb9epv.js} +27 -27
- package/dist/chunks/{instance-qcqzn796.js → rpc-n7pp7qj2.js} +32 -32
- package/dist/chunks/{instance-eahhehpg.js → rpc-nb9p6b26.js} +4 -4
- package/dist/chunks/{instance-vc9djmmy.js → rpc-nets62yb.js} +3 -3
- package/dist/chunks/{instance-vytvxkvy.js → rpc-nfvfn1nf.js} +1 -1
- package/dist/chunks/{instance-a6sze9s6.js → rpc-ngbwkpd3.js} +11 -11
- package/dist/chunks/{instance-r3pqm3re.js → rpc-ngyrtr94.js} +9 -9
- package/dist/chunks/{instance-nma959mg.js → rpc-nma959mg.js} +1 -1
- package/dist/chunks/{instance-9jaqn8p5.js → rpc-nmp290x7.js} +7 -7
- package/dist/chunks/{instance-70z6efj4.js → rpc-p690rpx8.js} +23 -23
- package/dist/chunks/{instance-gd8nhz58.js → rpc-p7d7zdnm.js} +8 -8
- package/dist/chunks/{instance-z2yekhz7.js → rpc-p7dppmtr.js} +13 -13
- package/dist/chunks/{instance-hf1csh9t.js → rpc-p8sn5v2a.js} +47 -47
- package/dist/chunks/{instance-3g642jy4.js → rpc-pba85c1x.js} +9 -9
- package/dist/chunks/{instance-4v7ngy20.js → rpc-pgp1nwjn.js} +4 -4
- package/dist/chunks/{instance-32m51mgg.js → rpc-phj7b8e3.js} +3 -3
- package/dist/chunks/{instance-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instance-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{instance-jp4d7tph.js → rpc-pkxj7ynd.js} +6 -6
- package/dist/chunks/{instance-gshs7jb6.js → rpc-pqdj80dn.js} +6 -6
- package/dist/chunks/{instance-r8wj9nz9.js → rpc-pybx3045.js} +45 -45
- package/dist/chunks/{instance-0j77ygfz.js → rpc-q0xm7vwc.js} +6 -6
- package/dist/chunks/{instance-vc3pnw0r.js → rpc-q2xhpvxb.js} +19 -19
- package/dist/chunks/{instance-hd5px97x.js → rpc-qg87bzy9.js} +40 -40
- package/dist/chunks/{instance-qgn6gcr1.js → rpc-qgn6gcr1.js} +1 -1
- package/dist/chunks/{instance-qnc92qwc.js → rpc-qnc92qwc.js} +1 -1
- package/dist/chunks/{instance-w8rbtm3j.js → rpc-qq400y0z.js} +10 -10
- package/dist/chunks/{instance-11626hss.js → rpc-qrmqj55a.js} +13 -13
- package/dist/chunks/{instance-qsdy395h.js → rpc-qsdy395h.js} +1 -1
- package/dist/chunks/{instance-1rpevywg.js → rpc-qsqdkngs.js} +22 -22
- package/dist/chunks/{instance-xzfz3f2s.js → rpc-qy24xa0s.js} +15 -15
- package/dist/chunks/{instance-4h50sa89.js → rpc-r0n6t0zc.js} +23 -23
- package/dist/chunks/{instance-18mxrhrw.js → rpc-r1smz7b8.js} +5 -5
- package/dist/chunks/{instance-rdw6cm16.js → rpc-rdw6cm16.js} +1 -1
- package/dist/chunks/{instance-yjbszvmy.js → rpc-rpfw3nqr.js} +7 -7
- package/dist/chunks/{instance-3ratq7br.js → rpc-rxg505xh.js} +13 -13
- package/dist/chunks/{instance-5kbwm9w7.js → rpc-s4a1trnd.js} +3 -3
- package/dist/chunks/{instance-cbx6rtke.js → rpc-s6vv92hd.js} +22 -22
- package/dist/chunks/{instance-at6w9p8t.js → rpc-sdw1hh26.js} +18 -18
- package/dist/chunks/{instance-hem2fds5.js → rpc-sq1bvbqh.js} +11 -11
- package/dist/chunks/{instance-4c1c6x0j.js → rpc-sszn147w.js} +23 -23
- package/dist/chunks/{instance-syv4x271.js → rpc-syv4x271.js} +1 -1
- package/dist/chunks/{instance-6hysr14g.js → rpc-t2jpskh3.js} +22 -22
- package/dist/chunks/{instance-t550f9t1.js → rpc-t550f9t1.js} +1 -1
- package/dist/chunks/{instance-kgm2m1rq.js → rpc-t827rtr3.js} +14 -14
- package/dist/chunks/{instance-wyebs044.js → rpc-tagbrba9.js} +20 -20
- package/dist/chunks/{instance-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
- package/dist/chunks/{instance-89znhe33.js → rpc-tcezcvh9.js} +4 -4
- package/dist/chunks/{instance-p8kjk1y4.js → rpc-td0am7tz.js} +55 -55
- package/dist/chunks/{instance-tdstcens.js → rpc-tdstcens.js} +1 -1
- package/dist/chunks/{instance-12tfj69t.js → rpc-tecdc32p.js} +10 -10
- package/dist/chunks/{instance-v0es1rhs.js → rpc-tg7bkhef.js} +7 -7
- package/dist/chunks/{instance-3mtcg1ph.js → rpc-tg8ddpts.js} +3 -3
- package/dist/chunks/{instance-tkb22qbm.js → rpc-tkb22qbm.js} +2 -2
- package/dist/chunks/{instance-tm0kqsz3.js → rpc-tm0kqsz3.js} +1 -1
- package/dist/chunks/{instance-ng3918dk.js → rpc-tm6m41eq.js} +8 -8
- package/dist/chunks/{instance-m8f85jxc.js → rpc-tpxg3fy4.js} +13 -13
- package/dist/chunks/{instance-tyytaxap.js → rpc-tyytaxap.js} +1 -1
- package/dist/chunks/{instance-skv3wcb4.js → rpc-v08rtmt7.js} +34 -34
- package/dist/chunks/{instance-bxqk5pf5.js → rpc-v1vh7s4p.js} +9 -9
- package/dist/chunks/{instance-v7p4zvkq.js → rpc-v7p4zvkq.js} +2 -2
- package/dist/chunks/{instance-5qw0f10w.js → rpc-veq4qypw.js} +16 -16
- package/dist/chunks/{instance-veqvce7d.js → rpc-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-kb7tk14c.js → rpc-vp0qwmgb.js} +20 -20
- package/dist/chunks/{instance-q7tf21sk.js → rpc-vrxbghgd.js} +9 -9
- package/dist/chunks/{instance-2n295dmf.js → rpc-vwpcpzep.js} +8 -8
- package/dist/chunks/{instance-cfx9nmr8.js → rpc-vxnp931j.js} +21 -21
- package/dist/chunks/{instance-vzs5sf6e.js → rpc-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instance-84txncab.js → rpc-w1eejvng.js} +5 -5
- package/dist/chunks/{instance-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-qh8vdwx1.js → rpc-w4axh9wz.js} +6 -6
- package/dist/chunks/{instance-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{instance-e2s2rsf8.js → rpc-wf35t0j7.js} +11 -11
- package/dist/chunks/{instance-crfvgcqx.js → rpc-wq4ymj1p.js} +39 -39
- package/dist/chunks/{instance-rkdvqggb.js → rpc-wr7ps67x.js} +5 -5
- package/dist/chunks/{instance-pq5v3pd8.js → rpc-wss8ekf6.js} +25 -25
- package/dist/chunks/{instance-kwhtrawa.js → rpc-wv6kh7cb.js} +329 -329
- package/dist/chunks/{instance-e55zmt9g.js → rpc-x4bs0z10.js} +11 -11
- package/dist/chunks/{instance-1q02rcrj.js → rpc-x7ajn6gb.js} +19 -19
- package/dist/chunks/{instance-nqbn7kgw.js → rpc-xb5bw9r2.js} +22 -22
- package/dist/chunks/{instance-55msp0mp.js → rpc-xccpgf1k.js} +25 -25
- package/dist/chunks/{instance-x5h44zm2.js → rpc-xf3b7ak0.js} +10 -10
- package/dist/chunks/{instance-h70qh0pf.js → rpc-xjwg7jja.js} +8 -8
- package/dist/chunks/{instance-zgnxgcd3.js → rpc-xxhgf0eh.js} +9 -9
- package/dist/chunks/{instance-y0afz0bn.js → rpc-xzhg0qv8.js} +24 -24
- package/dist/chunks/{instance-2tpn8pbq.js → rpc-xzr03pq0.js} +9 -9
- package/dist/chunks/{instance-q1tvsmm7.js → rpc-y0xznj3f.js} +11 -11
- package/dist/chunks/{instance-dqrdxvr6.js → rpc-y14yzbv9.js} +17 -17
- package/dist/chunks/{instance-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instance-tdpmrm31.js → rpc-y51ceatp.js} +29 -29
- package/dist/chunks/{instance-g8q5r6zk.js → rpc-y8s1cxkd.js} +30 -30
- package/dist/chunks/{instance-kbvqrc92.js → rpc-yaxkaew0.js} +16 -16
- package/dist/chunks/{instance-7h042088.js → rpc-ycp3cd4k.js} +14 -14
- package/dist/chunks/{instance-zmzkayzc.js → rpc-yfvzqt1f.js} +28 -28
- package/dist/chunks/{instance-3c2vgzf0.js → rpc-yqek1wqm.js} +13 -13
- package/dist/chunks/{instance-gw7gqfev.js → rpc-ysmpv3j4.js} +3 -3
- package/dist/chunks/{instance-73z18d76.js → rpc-yt30aj44.js} +21 -21
- package/dist/chunks/{instance-j3gj8bpw.js → rpc-yyyk3xhf.js} +28 -28
- package/dist/chunks/rpc-z00ewvj9.js +26 -0
- package/dist/chunks/{instance-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-xatakwe1.js → rpc-z1zcjh09.js} +13 -13
- package/dist/chunks/{instance-dx0ahrbs.js → rpc-z5pcptfa.js} +11 -11
- package/dist/chunks/{instance-9wqt6yc5.js → rpc-z7ej7fbh.js} +26 -26
- package/dist/chunks/{instance-8wp5nj2m.js → rpc-zb746e9k.js} +2 -2
- package/dist/chunks/{instance-gst7axd9.js → rpc-zcrspsvn.js} +4 -4
- package/dist/chunks/{instance-t1zbhmnh.js → rpc-zfca28xf.js} +4 -4
- package/dist/chunks/{instance-461nxmbv.js → rpc-zjtrsxny.js} +5 -5
- package/dist/chunks/{instance-pe0vaf1g.js → rpc-zk21kkv9.js} +9 -9
- package/dist/chunks/{instance-2n83m6nt.js → rpc-zm820vvs.js} +40 -40
- package/dist/chunks/{instance-mfhppze3.js → rpc-zqnnyapg.js} +18 -18
- package/dist/chunks/{instance-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instance-cqg0hr3x.js → rpc-zt4ytqs0.js} +183 -183
- package/dist/chunks/{instance-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +97 -97
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- 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 +126 -126
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/instance-65q80m5k.js +0 -26
- package/dist/chunks/instance-by5v678g.js +0 -18
- package/dist/chunks/instance-k2rh4x2t.js +0 -253
- /package/dist/chunks/{instance-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instance-24dcb14g.js → rpc-24dcb14g.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instance-2bv980vf.js → rpc-2bv980vf.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3t0ybcrp.js → rpc-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-6q2bdcd1.js → rpc-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-84wd9syh.js → rpc-84wd9syh.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → rpc-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hcxmzztb.js → rpc-hcxmzztb.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jze0r7bz.js → rpc-jze0r7bz.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-m18g726c.js → rpc-m18g726c.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-pkyv6v7h.js → rpc-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{instance-pyv0edze.js → rpc-pyv0edze.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-ve7vex1e.js → rpc-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wjj7prxr.js → rpc-wjj7prxr.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8f7s663.js → rpc-y8f7s663.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → rpc-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z5v4ffb3.js → rpc-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → rpc-z9919s4g.js} +0 -0
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./rpc-vxnp931j.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service18,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-z1zcjh09.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service17
|
|
11
|
+
} from "./rpc-a7dkb545.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service62
|
|
14
|
+
} from "./rpc-td0am7tz.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service16
|
|
17
|
+
} from "./rpc-axv8g7q4.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-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: () => Input7,
|
|
29
|
+
Output: () => Output5,
|
|
30
|
+
Plugin: () => Plugin9,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name7,
|
|
33
|
+
toModelContent: () => toModelContent4
|
|
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 name7 = "write";
|
|
39
|
+
var Input7 = 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 toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin9 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service16;
|
|
56
|
+
const fileMutation = yield* Service18;
|
|
57
|
+
const environment = yield* Service76;
|
|
58
|
+
const formatter = yield* Service17;
|
|
59
|
+
const permission = yield* Service62;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name7,
|
|
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: Input7,
|
|
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: toModelContent4(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 { name7, Input7, Output5, toModelContent4, Plugin9, exports_write };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service3,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node4
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service3 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node4 = makeLocationNode({
|
|
19
|
+
service: Service3,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service3, node4, bound2, exports_instance2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./rpc-g62k8ye6.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
11
|
Service78,
|
|
12
12
|
node82
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-b1kwtjp2.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service67,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node69
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service67 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,8 +39,8 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
42
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service83;
|
|
44
44
|
const location = yield* Service78;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service67.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node69 = makeLocationNode({ service: Service67, layer, deps: [node87, node82] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service67, node69, exports_rpc, define2 };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service84,
|
|
6
|
+
node88
|
|
7
|
+
} from "./rpc-3jxnaj1m.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service83,
|
|
10
|
+
node87
|
|
11
|
+
} from "./rpc-g62k8ye6.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service85,
|
|
14
|
+
node89
|
|
15
|
+
} from "./rpc-0sgp6vrq.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info28,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-tg7bkhef.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./rpc-c41wscbt.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-c8ax2afj.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./rpc-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
39
|
ID: () => ID17,
|
|
40
|
-
Info: () =>
|
|
40
|
+
Info: () => Info27,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
43
|
Service: () => Service79,
|
|
@@ -59,7 +59,7 @@ import { Hash } from "@opencode/util/hash";
|
|
|
59
59
|
var ID17 = ID18;
|
|
60
60
|
var Vcs2 = Vcs3;
|
|
61
61
|
var Current2 = Current3;
|
|
62
|
-
var
|
|
62
|
+
var Info27 = Info28;
|
|
63
63
|
var UpdateInput3 = UpdateInput4;
|
|
64
64
|
|
|
65
65
|
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
@@ -100,10 +100,10 @@ function fromRow(row) {
|
|
|
100
100
|
}
|
|
101
101
|
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const git = yield*
|
|
103
|
+
const git = yield* Service85;
|
|
104
104
|
const proc = yield* AppProcess.Service;
|
|
105
|
-
const bus = yield*
|
|
106
|
-
const db = (yield*
|
|
105
|
+
const bus = yield* Service83;
|
|
106
|
+
const db = (yield* Service84).db;
|
|
107
107
|
const announcing = new Set;
|
|
108
108
|
const persist = Effect.fnUntraced(function* (project) {
|
|
109
109
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
112
112
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
113
113
|
const changed = replaced ?? unarchived;
|
|
114
114
|
if (changed)
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event20.Updated, fromRow(changed));
|
|
116
116
|
if (!project.vcs)
|
|
117
117
|
return project;
|
|
118
118
|
const directories = [
|
|
@@ -173,7 +173,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
173
173
|
if (!row)
|
|
174
174
|
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
175
175
|
const project = fromRow(row);
|
|
176
|
-
yield* bus.publish(
|
|
176
|
+
yield* bus.publish(Event20.Updated, project);
|
|
177
177
|
return project;
|
|
178
178
|
});
|
|
179
179
|
const activated = new Map;
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
184
184
|
activated.set(projectID, now);
|
|
185
185
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
186
186
|
if (row)
|
|
187
|
-
yield* bus.publish(
|
|
187
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
188
188
|
});
|
|
189
189
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
190
190
|
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
301
301
|
return;
|
|
302
302
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
303
303
|
if (row)
|
|
304
|
-
yield* bus.publish(
|
|
304
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
305
305
|
}), { concurrency: 8, discard: true });
|
|
306
306
|
});
|
|
307
307
|
return Service79.of({ list, update, activate, resolve, sweep });
|
|
@@ -309,7 +309,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
309
309
|
var node83 = makeGlobalNode({
|
|
310
310
|
service: Service79,
|
|
311
311
|
layer,
|
|
312
|
-
deps: [
|
|
312
|
+
deps: [node87, node88, FSUtil.node, node89, AppProcess.node]
|
|
313
313
|
});
|
|
314
314
|
var sweepNode2 = makeGlobalNode({
|
|
315
315
|
name: "project-archive-sweep",
|
|
@@ -320,4 +320,4 @@ var sweepNode2 = makeGlobalNode({
|
|
|
320
320
|
deps: [node83]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export { ID17, Vcs2, Current2,
|
|
323
|
+
export { ID17, Vcs2, Current2, Info27, UpdateInput3, NotFoundError11, root2, Service79, node83, sweepNode2, exports_project };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./rpc-td0am7tz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID5,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service39
|
|
10
|
+
} from "./rpc-yyyk3xhf.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
|
+
Input: () => Input5,
|
|
19
19
|
Output: () => Output3,
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
20
|
+
Plugin: () => Plugin7,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
|
+
description: () => description3,
|
|
23
|
+
name: () => name5,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name5 = "skill";
|
|
30
|
+
var Input5 = Schema.Struct({
|
|
31
|
+
id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
33
|
var Output3 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description3 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,17 +43,17 @@ var description2 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin7 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service39;
|
|
51
|
+
const permission = yield* Service62;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name5,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
55
|
+
description: description3,
|
|
56
|
+
input: Input5,
|
|
57
57
|
output: Output3,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
@@ -61,7 +61,7 @@ var Plugin37 = {
|
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name5,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin37 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name5, Input5, Output3, description3, toModelOutput2, Plugin7, exports_skill };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service78,
|
|
3
3
|
node82
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-b1kwtjp2.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service17,
|
|
17
|
+
node: () => node19
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service17 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
27
27
|
const location = yield* Service78;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service17.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node19 = makeLocationNode({
|
|
91
|
+
service: Service17,
|
|
92
92
|
layer,
|
|
93
93
|
deps: [node82, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service17, node19, exports_formatter2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service35,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
13
|
layer: () => layer16,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node38
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service35 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service32, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service35.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
372
|
var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node38 = makeGlobalNode({ service: Service35, layer: layer16, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service35, makeLayer2, layer16, node38, exports_model_transport };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
Service60
|
|
4
|
-
} from "./instance-q4zwmxcv.js";
|
|
5
|
-
import {
|
|
6
3
|
Service52
|
|
7
|
-
} from "./
|
|
4
|
+
} from "./rpc-c6vcmfe6.js";
|
|
5
|
+
import {
|
|
6
|
+
Service46
|
|
7
|
+
} from "./rpc-3dn5qvj3.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin36
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin36 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service52;
|
|
27
|
+
const snapshot = yield* Service46;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin29 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin36, exports_snapshot };
|