@opencode/core 0.0.0-dev-1032 → 0.0.0-dev-1039
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 +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +250 -250
- package/dist/bus.js +86 -86
- package/dist/chunks/{persistent-pty-13s9knam.js → workspace-00884c5c.js} +39 -39
- package/dist/chunks/{persistent-pty-7kd3kb55.js → workspace-00tw5qc0.js} +18 -18
- package/dist/chunks/{persistent-pty-aj7mw0zk.js → workspace-034tev2y.js} +2 -2
- package/dist/chunks/{persistent-pty-h28t7544.js → workspace-06hfc2zm.js} +3 -3
- package/dist/chunks/{persistent-pty-t5n3652n.js → workspace-0aqgkge0.js} +21 -21
- package/dist/chunks/{persistent-pty-e9f91jjt.js → workspace-0gpzbbmj.js} +30 -30
- package/dist/chunks/{persistent-pty-0j7gp832.js → workspace-0j7gp832.js} +1 -1
- package/dist/chunks/{persistent-pty-0ma9gw4f.js → workspace-0ma9gw4f.js} +2 -2
- package/dist/chunks/{persistent-pty-tc6a3jrq.js → workspace-0n720z3p.js} +5 -5
- package/dist/chunks/{persistent-pty-1aqsckx4.js → workspace-1aqsckx4.js} +1 -1
- package/dist/chunks/{persistent-pty-27w5k9zf.js → workspace-1ep2p91f.js} +2 -2
- package/dist/chunks/{persistent-pty-syht00xc.js → workspace-1q451vc1.js} +21 -21
- package/dist/chunks/{persistent-pty-3wy79f45.js → workspace-1qbjy8pk.js} +8 -8
- package/dist/chunks/{persistent-pty-q2wvz720.js → workspace-1rpp84ap.js} +3 -3
- package/dist/chunks/{persistent-pty-1x2knyw4.js → workspace-1x2knyw4.js} +1 -1
- package/dist/chunks/{persistent-pty-p7vhpwh8.js → workspace-1yq9hg58.js} +5 -5
- package/dist/chunks/{persistent-pty-pw9jqd11.js → workspace-22fm032a.js} +45 -45
- package/dist/chunks/{persistent-pty-yg04shzz.js → workspace-23r89wcg.js} +8 -8
- package/dist/chunks/{persistent-pty-4159fx6g.js → workspace-24h02a6m.js} +39 -39
- package/dist/chunks/{persistent-pty-4xkt0fpb.js → workspace-25h9cy8f.js} +11 -11
- package/dist/chunks/{persistent-pty-1q07fp1w.js → workspace-26wfx3k0.js} +4 -4
- package/dist/chunks/{persistent-pty-69r9trhz.js → workspace-27mf3p81.js} +9 -9
- package/dist/chunks/{persistent-pty-1yyk7nd3.js → workspace-2c7rmx2w.js} +25 -25
- package/dist/chunks/{persistent-pty-h6rfbwat.js → workspace-2cdz0hxw.js} +13 -13
- package/dist/chunks/{persistent-pty-2fc7eemy.js → workspace-2fc7eemy.js} +1 -1
- package/dist/chunks/{persistent-pty-gvm60899.js → workspace-2g4hvwna.js} +32 -32
- package/dist/chunks/{persistent-pty-8xb43s2n.js → workspace-2merx6cy.js} +11 -11
- package/dist/chunks/{persistent-pty-weqc7sb9.js → workspace-2n444ktb.js} +3 -3
- package/dist/chunks/{persistent-pty-2p60zmnr.js → workspace-2p60zmnr.js} +2 -2
- package/dist/chunks/{persistent-pty-eyg57hv5.js → workspace-2qe45pye.js} +3 -3
- package/dist/chunks/{persistent-pty-4tkbxcjd.js → workspace-2shrqbn8.js} +16 -16
- package/dist/chunks/{persistent-pty-fwcjjeez.js → workspace-2vch0phr.js} +49 -49
- package/dist/chunks/{persistent-pty-tycv7n3a.js → workspace-2y8q1569.js} +4 -4
- package/dist/chunks/{persistent-pty-pev27ssz.js → workspace-2z817b9w.js} +20 -20
- package/dist/chunks/{persistent-pty-cbyt66wj.js → workspace-34eceh7a.js} +2 -2
- package/dist/chunks/{persistent-pty-z5hjdsb2.js → workspace-3gtxmydm.js} +37 -37
- package/dist/chunks/{persistent-pty-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-40y6dtc2.js → workspace-40y6dtc2.js} +1 -1
- package/dist/chunks/{persistent-pty-266besvt.js → workspace-41hgxd3n.js} +16 -16
- package/dist/chunks/{persistent-pty-yqzk7gxy.js → workspace-444r3w2c.js} +7 -7
- package/dist/chunks/{persistent-pty-44pmzq9c.js → workspace-44pmzq9c.js} +2 -2
- package/dist/chunks/{persistent-pty-fmdh6ntc.js → workspace-49hgasep.js} +9 -9
- package/dist/chunks/{persistent-pty-m2436x33.js → workspace-4d93v9kz.js} +25 -25
- package/dist/chunks/{persistent-pty-4dx1dgte.js → workspace-4dx1dgte.js} +1 -1
- package/dist/chunks/{persistent-pty-xy9cmw47.js → workspace-4e1tqqbe.js} +41 -41
- package/dist/chunks/{persistent-pty-4f25tdd0.js → workspace-4f25tdd0.js} +1 -1
- package/dist/chunks/{persistent-pty-p8pjvayg.js → workspace-4krr2nde.js} +3 -3
- package/dist/chunks/{persistent-pty-6v3nz0sg.js → workspace-4pc8k6ps.js} +10 -10
- package/dist/chunks/{persistent-pty-4pyp9zr9.js → workspace-4pyp9zr9.js} +1 -1
- package/dist/chunks/{persistent-pty-yc0zpe5z.js → workspace-4sv1z4wq.js} +9 -9
- package/dist/chunks/{persistent-pty-4v008n1t.js → workspace-4v008n1t.js} +1 -1
- package/dist/chunks/{persistent-pty-05rmg206.js → workspace-4v01986m.js} +8 -8
- package/dist/chunks/{persistent-pty-94e33dpz.js → workspace-4vzr2b15.js} +3 -3
- package/dist/chunks/{persistent-pty-zkm723st.js → workspace-4wjkxzaf.js} +15 -15
- package/dist/chunks/{persistent-pty-g6axq7c8.js → workspace-4ygb74tw.js} +8 -8
- package/dist/chunks/{persistent-pty-arjrttjv.js → workspace-51khm69f.js} +29 -29
- package/dist/chunks/{persistent-pty-wc1zf1mw.js → workspace-520zv1z0.js} +3 -3
- package/dist/chunks/{persistent-pty-dkpjsqx5.js → workspace-530xg6vw.js} +3 -3
- package/dist/chunks/{persistent-pty-6nqa5c8e.js → workspace-55edmcdq.js} +31 -31
- package/dist/chunks/{persistent-pty-bqtkhzzp.js → workspace-5618vcn8.js} +5 -5
- package/dist/chunks/{persistent-pty-pa83dvsw.js → workspace-598a2sf2.js} +22 -22
- package/dist/chunks/{persistent-pty-sdwrp5t9.js → workspace-59qf6w8q.js} +5 -5
- package/dist/chunks/{persistent-pty-bq5mnsak.js → workspace-5azf7efg.js} +18 -18
- package/dist/chunks/{persistent-pty-ygyn9pw1.js → workspace-5fhr4sz1.js} +35 -35
- package/dist/chunks/{persistent-pty-vhnx89g9.js → workspace-5ga3qt8n.js} +6 -6
- package/dist/chunks/{persistent-pty-5m9w47nd.js → workspace-5m9w47nd.js} +1 -1
- package/dist/chunks/{persistent-pty-f33r9zn5.js → workspace-5sbm6tnp.js} +7 -7
- package/dist/chunks/{persistent-pty-s47rahr7.js → workspace-5whx36p1.js} +4 -4
- package/dist/chunks/{persistent-pty-r45nfa48.js → workspace-61prxpw3.js} +9 -9
- package/dist/chunks/{persistent-pty-wsecr1wj.js → workspace-62kjwa3q.js} +53 -53
- package/dist/chunks/{persistent-pty-babktaw3.js → workspace-67wwskyb.js} +4 -4
- package/dist/chunks/{persistent-pty-tyhh164w.js → workspace-694y1dy8.js} +23 -23
- package/dist/chunks/{persistent-pty-ycmh1q3e.js → workspace-6edbc7zm.js} +5 -5
- package/dist/chunks/{persistent-pty-7d9xhrrr.js → workspace-6kfvc88n.js} +5 -5
- package/dist/chunks/{persistent-pty-3c8g2tnf.js → workspace-6km18sfr.js} +5 -5
- package/dist/chunks/{persistent-pty-9ct73esb.js → workspace-6mmwetw0.js} +37 -37
- package/dist/chunks/{persistent-pty-hj7m51sm.js → workspace-6tc549z2.js} +15 -15
- package/dist/chunks/{persistent-pty-ghdv7bgm.js → workspace-6vpwybh1.js} +18 -18
- package/dist/chunks/{persistent-pty-0dbea112.js → workspace-71jx2zh9.js} +33 -33
- package/dist/chunks/{persistent-pty-j6kp0q3a.js → workspace-72sb0qx7.js} +4 -4
- package/dist/chunks/{persistent-pty-j5k2q35g.js → workspace-73e0dtrh.js} +5 -5
- package/dist/chunks/{persistent-pty-02sw5z67.js → workspace-74x45bv1.js} +19 -19
- package/dist/chunks/{persistent-pty-w5f4t4jj.js → workspace-751vknd9.js} +11 -11
- package/dist/chunks/{persistent-pty-cs3vapk0.js → workspace-76atc448.js} +23 -23
- package/dist/chunks/{persistent-pty-3aq5kzzx.js → workspace-78s6qfrs.js} +19 -19
- package/dist/chunks/{persistent-pty-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-hj0xet7m.js → workspace-7nb8tm12.js} +5 -5
- package/dist/chunks/{persistent-pty-xex4k2qj.js → workspace-7pg86t1t.js} +35 -35
- package/dist/chunks/{persistent-pty-7csf6rvh.js → workspace-7spdfq8c.js} +15 -15
- package/dist/chunks/{persistent-pty-7w2ypzdf.js → workspace-7w2ypzdf.js} +1 -1
- package/dist/chunks/{persistent-pty-7weczvnd.js → workspace-7weczvnd.js} +1 -1
- package/dist/chunks/{persistent-pty-775hqbnd.js → workspace-80mg3ag8.js} +3 -3
- package/dist/chunks/{persistent-pty-80pdk984.js → workspace-80pdk984.js} +1 -1
- package/dist/chunks/{persistent-pty-gerka9tj.js → workspace-859w1rtj.js} +9 -9
- package/dist/chunks/{persistent-pty-85jq8dht.js → workspace-85jq8dht.js} +1 -1
- package/dist/chunks/{persistent-pty-8b3vzgkx.js → workspace-8b3vzgkx.js} +1 -1
- package/dist/chunks/{persistent-pty-m528r48h.js → workspace-8bjrjs1n.js} +4 -4
- package/dist/chunks/{persistent-pty-7906w3qj.js → workspace-8fjjqcvw.js} +36 -36
- package/dist/chunks/{persistent-pty-fjsbg05v.js → workspace-8fjs3r6w.js} +26 -26
- package/dist/chunks/{persistent-pty-20apqqgx.js → workspace-8nk240wm.js} +19 -19
- package/dist/chunks/{persistent-pty-bb3mmwvh.js → workspace-8sxe6kv8.js} +2 -2
- package/dist/chunks/{persistent-pty-6dwjhfha.js → workspace-8v3h3pkr.js} +8 -8
- package/dist/chunks/{persistent-pty-8wtp7s3z.js → workspace-8wtp7s3z.js} +1 -1
- package/dist/chunks/{persistent-pty-8zv0xmg5.js → workspace-8zv0xmg5.js} +1 -1
- package/dist/chunks/{persistent-pty-xe6pezxp.js → workspace-963hk181.js} +7 -7
- package/dist/chunks/{persistent-pty-m0qw8bp9.js → workspace-9cvebhsv.js} +12 -12
- package/dist/chunks/{persistent-pty-kj3403fm.js → workspace-9dm5ycx5.js} +12 -12
- package/dist/chunks/{persistent-pty-4g3sdj5g.js → workspace-9f3jsh1d.js} +9 -9
- package/dist/chunks/{persistent-pty-xw1at7cb.js → workspace-9j9hzbb5.js} +1 -1
- package/dist/chunks/{persistent-pty-0kwzp1h3.js → workspace-9kqkq9ey.js} +11 -11
- package/dist/chunks/{persistent-pty-5m6a7xby.js → workspace-9nkjg9qd.js} +6 -6
- package/dist/chunks/{persistent-pty-ms3ackzp.js → workspace-9qvnmhte.js} +20 -20
- package/dist/chunks/{persistent-pty-dbatw319.js → workspace-9rqfe4ad.js} +3 -3
- package/dist/chunks/{persistent-pty-yz7qpr75.js → workspace-9wjcjbgb.js} +3 -3
- package/dist/chunks/{persistent-pty-y2nh019w.js → workspace-9wkfvd86.js} +5 -5
- package/dist/chunks/{persistent-pty-fzvzvf7m.js → workspace-9z7m8h5t.js} +23 -23
- package/dist/chunks/{persistent-pty-ggh1vzxf.js → workspace-a1tswj55.js} +12 -12
- package/dist/chunks/{persistent-pty-5xfnvs9t.js → workspace-a1ytbjbv.js} +90 -90
- package/dist/chunks/{persistent-pty-55g2q5p5.js → workspace-a3fn0gmm.js} +2 -2
- package/dist/chunks/{persistent-pty-yzcavgq9.js → workspace-aecmbawk.js} +12 -12
- package/dist/chunks/{persistent-pty-tg1vr1qt.js → workspace-aedwt843.js} +8 -8
- package/dist/chunks/{persistent-pty-axkw7k22.js → workspace-afvmwxsa.js} +16 -16
- package/dist/chunks/{persistent-pty-vwcz1f45.js → workspace-agje4kmn.js} +7 -7
- package/dist/chunks/{persistent-pty-nd2qx06s.js → workspace-agy7b3sy.js} +9 -9
- package/dist/chunks/{persistent-pty-50mnmyd9.js → workspace-aj4f24z5.js} +1 -1
- package/dist/chunks/{persistent-pty-anvcme1c.js → workspace-anvcme1c.js} +1 -1
- package/dist/chunks/workspace-aqczazaa.js +16 -0
- package/dist/chunks/{persistent-pty-3cbjf1nt.js → workspace-ayjs7tqn.js} +2 -2
- package/dist/chunks/{persistent-pty-b26ddj6h.js → workspace-b26ddj6h.js} +4 -4
- package/dist/chunks/{persistent-pty-gaczjh3k.js → workspace-b5bw7g94.js} +25 -25
- package/dist/chunks/{persistent-pty-jt10jbkf.js → workspace-b6fks4eb.js} +24 -24
- package/dist/chunks/{persistent-pty-ysae8jbx.js → workspace-b8y2jd3x.js} +29 -29
- package/dist/chunks/{persistent-pty-daccadq3.js → workspace-bh40pkda.js} +31 -31
- package/dist/chunks/{persistent-pty-8a1dtk4b.js → workspace-bh6934t1.js} +15 -15
- package/dist/chunks/{persistent-pty-36dpt3f9.js → workspace-bqfp32qw.js} +9 -9
- package/dist/chunks/{persistent-pty-y5ydw4mn.js → workspace-brpyjdqe.js} +31 -31
- package/dist/chunks/{persistent-pty-xd9cc171.js → workspace-bstexjd6.js} +5 -5
- package/dist/chunks/{persistent-pty-nm6gbtbr.js → workspace-c0df41yj.js} +4 -4
- package/dist/chunks/{persistent-pty-xmx7xj34.js → workspace-c6x7d2ts.js} +4 -4
- package/dist/chunks/{persistent-pty-n8y2t71q.js → workspace-cb11h7rh.js} +5 -5
- package/dist/chunks/{persistent-pty-90ej29g3.js → workspace-cbabmgan.js} +21 -21
- package/dist/chunks/{persistent-pty-5fv5qszf.js → workspace-cdxvzye2.js} +10 -10
- package/dist/chunks/{persistent-pty-6kvezxzn.js → workspace-cmwbrth2.js} +80 -80
- package/dist/chunks/{persistent-pty-qgtht8ak.js → workspace-ctqn5xr2.js} +59 -59
- package/dist/chunks/{persistent-pty-cwrgdav8.js → workspace-cwrgdav8.js} +2 -2
- package/dist/chunks/{persistent-pty-xv6pghre.js → workspace-cxrpq2vw.js} +5 -5
- package/dist/chunks/{persistent-pty-zbnt2kpn.js → workspace-d3tnx52b.js} +14 -14
- package/dist/chunks/{persistent-pty-d4v9tmah.js → workspace-d4v9tmah.js} +2 -2
- package/dist/chunks/{persistent-pty-5thev09r.js → workspace-d7ghtrxv.js} +8 -8
- package/dist/chunks/{persistent-pty-s5qqf86t.js → workspace-da7vv5qs.js} +20 -20
- package/dist/chunks/{persistent-pty-99eawj82.js → workspace-daaa7x5w.js} +11 -11
- package/dist/chunks/{persistent-pty-w6a4rfzh.js → workspace-dhsyh00d.js} +54 -54
- package/dist/chunks/workspace-dj52zamc.js +273 -0
- package/dist/chunks/{persistent-pty-mj7rnnrd.js → workspace-dnq8553e.js} +28 -28
- package/dist/chunks/{persistent-pty-av2grgkj.js → workspace-dqjf3rq4.js} +3 -3
- package/dist/chunks/{persistent-pty-dt77769w.js → workspace-dt77769w.js} +1 -1
- package/dist/chunks/{persistent-pty-dr9jq6ps.js → workspace-e1qt2fr5.js} +19 -19
- package/dist/chunks/{persistent-pty-54kb3r0y.js → workspace-e29emhj5.js} +18 -18
- package/dist/chunks/{persistent-pty-d8p3t516.js → workspace-e8pm465n.js} +4 -4
- package/dist/chunks/{persistent-pty-phrewnzr.js → workspace-efxjnt5q.js} +37 -37
- package/dist/chunks/{persistent-pty-eqw4pqj1.js → workspace-eqw4pqj1.js} +2 -2
- package/dist/chunks/{persistent-pty-ch55aqef.js → workspace-etp2nyx7.js} +23 -23
- package/dist/chunks/{persistent-pty-ckdg7d4d.js → workspace-f1ta10aj.js} +43 -43
- package/dist/chunks/{persistent-pty-twhczwgq.js → workspace-f927gtrb.js} +24 -24
- package/dist/chunks/{persistent-pty-fg9p65nk.js → workspace-fg9p65nk.js} +2 -2
- package/dist/chunks/{persistent-pty-8y4adk89.js → workspace-fxpbvz8b.js} +14 -14
- package/dist/chunks/{persistent-pty-jvna2xk7.js → workspace-fzc9baxt.js} +23 -23
- package/dist/chunks/{persistent-pty-479eyxvy.js → workspace-g175b8z9.js} +14 -14
- package/dist/chunks/{persistent-pty-gbjdnr5j.js → workspace-gbjdnr5j.js} +2 -2
- package/dist/chunks/{persistent-pty-m3bwdyvc.js → workspace-ge0ya7h8.js} +20 -20
- package/dist/chunks/{persistent-pty-pg1md4vx.js → workspace-gf4twwwe.js} +12 -12
- package/dist/chunks/{persistent-pty-ghrv1g9c.js → workspace-ghrv1g9c.js} +1 -1
- package/dist/chunks/workspace-grzehpz7.js +18 -0
- package/dist/chunks/{persistent-pty-2s9mae96.js → workspace-gwyytpcj.js} +6 -6
- package/dist/chunks/{persistent-pty-spg3d6gt.js → workspace-h39ntvfa.js} +8 -8
- package/dist/chunks/workspace-h5m2cdyb.js +577 -0
- package/dist/chunks/{persistent-pty-72ghnh0f.js → workspace-h80ecpt5.js} +22 -22
- package/dist/chunks/{persistent-pty-ybd7cc9e.js → workspace-h9xvjfqn.js} +9 -9
- package/dist/chunks/{persistent-pty-qa0vgdwz.js → workspace-hf9m9cmn.js} +17 -17
- package/dist/chunks/{persistent-pty-b1zmcwxq.js → workspace-hggwr7g8.js} +9 -9
- package/dist/chunks/{persistent-pty-hgzwgvze.js → workspace-hgzwgvze.js} +2 -2
- package/dist/chunks/{persistent-pty-gk9vpw29.js → workspace-hn4qxmk3.js} +11 -11
- package/dist/chunks/{persistent-pty-n18yd1gk.js → workspace-hrpg1pdd.js} +5 -5
- package/dist/chunks/{persistent-pty-vyy6dw9k.js → workspace-ht9qex5w.js} +7 -7
- package/dist/chunks/{persistent-pty-j95aavqs.js → workspace-hvwpt1mk.js} +36 -36
- package/dist/chunks/workspace-j5ahpr82.js +26 -0
- package/dist/chunks/{persistent-pty-nyg080gc.js → workspace-j7r5vxqc.js} +15 -15
- package/dist/chunks/{persistent-pty-ar7zn80h.js → workspace-jcq84z9d.js} +25 -25
- package/dist/chunks/{persistent-pty-w8mjxz1x.js → workspace-jgcas92x.js} +8 -8
- package/dist/chunks/{persistent-pty-xynthp8b.js → workspace-jjx6aha5.js} +8 -8
- package/dist/chunks/{persistent-pty-jm70asfg.js → workspace-jm70asfg.js} +1 -1
- package/dist/chunks/{persistent-pty-t8erkws8.js → workspace-jv5ccajn.js} +5 -5
- package/dist/chunks/{persistent-pty-mjncsf6d.js → workspace-jxbvx59w.js} +43 -43
- package/dist/chunks/{persistent-pty-0aepn986.js → workspace-k33wsh8d.js} +5 -5
- package/dist/chunks/{persistent-pty-vsn8s1db.js → workspace-k97dz2de.js} +11 -11
- package/dist/chunks/{persistent-pty-3h6zqhk3.js → workspace-kan1xajj.js} +67 -67
- package/dist/chunks/{persistent-pty-zd7gysdr.js → workspace-kej1jtpy.js} +1 -1
- package/dist/chunks/{persistent-pty-55mce0kc.js → workspace-kh53kjvg.js} +33 -33
- package/dist/chunks/{persistent-pty-s2fyzqp6.js → workspace-kpd6fkkz.js} +5 -5
- package/dist/chunks/{persistent-pty-kt3bjfbg.js → workspace-kt3bjfbg.js} +1 -1
- package/dist/chunks/{persistent-pty-g701k7s0.js → workspace-ktjdgvwb.js} +27 -27
- package/dist/chunks/{persistent-pty-kzczzf4v.js → workspace-kzczzf4v.js} +1 -1
- package/dist/chunks/{persistent-pty-m1714858.js → workspace-m1714858.js} +1 -1
- package/dist/chunks/{persistent-pty-ty8hj3pf.js → workspace-m2wjx6q0.js} +6 -6
- package/dist/chunks/{persistent-pty-kx5zn6kr.js → workspace-m4yj4656.js} +11 -11
- package/dist/chunks/{persistent-pty-7thzb1bs.js → workspace-m6tdssjc.js} +33 -33
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-ytgt8nph.js → workspace-ma9gvec9.js} +17 -17
- package/dist/chunks/{persistent-pty-8z6m94af.js → workspace-mb7mbhnz.js} +3 -3
- package/dist/chunks/{persistent-pty-nw5eecxx.js → workspace-me215f18.js} +1 -1
- package/dist/chunks/{persistent-pty-v0t96s7a.js → workspace-mf63ygpr.js} +4 -4
- package/dist/chunks/{persistent-pty-xnrb1esw.js → workspace-mfme2p3f.js} +85 -85
- package/dist/chunks/{persistent-pty-xq3kv1yr.js → workspace-mrnsy1sb.js} +13 -13
- package/dist/chunks/{persistent-pty-msd2a3qm.js → workspace-msd2a3qm.js} +4 -4
- package/dist/chunks/{persistent-pty-3rmaysnb.js → workspace-mwvy6k0c.js} +18 -18
- package/dist/chunks/{persistent-pty-fcrd7kek.js → workspace-n320gsn2.js} +4 -4
- package/dist/chunks/{persistent-pty-wfd0njk8.js → workspace-nbg8wmvj.js} +11 -11
- package/dist/chunks/{persistent-pty-gb55vkr1.js → workspace-nc0bh77k.js} +13 -13
- package/dist/chunks/{persistent-pty-s5k2yxe7.js → workspace-ncbjb39v.js} +27 -27
- package/dist/chunks/{persistent-pty-vqvjgts4.js → workspace-ner56pww.js} +46 -46
- package/dist/chunks/{persistent-pty-pha4g85c.js → workspace-nggsj8ja.js} +16 -16
- package/dist/chunks/{persistent-pty-e5per85x.js → workspace-nk8ra572.js} +19 -19
- package/dist/chunks/{persistent-pty-54d1fxz7.js → workspace-nma40609.js} +36 -36
- package/dist/chunks/{persistent-pty-9mhjgwg6.js → workspace-p191jbjh.js} +8 -8
- package/dist/chunks/{persistent-pty-fhsyb8a2.js → workspace-p2y69mfz.js} +21 -21
- package/dist/chunks/{persistent-pty-vsm2qhy0.js → workspace-p43pvj3x.js} +46 -46
- package/dist/chunks/{persistent-pty-ef9rmxvn.js → workspace-p440r897.js} +20 -20
- package/dist/chunks/{persistent-pty-3p3vrp57.js → workspace-p7tz0n1m.js} +34 -34
- package/dist/chunks/{persistent-pty-wzb0nzr7.js → workspace-p82nen0h.js} +5 -5
- package/dist/chunks/{persistent-pty-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-4ed64wak.js → workspace-pn22hexz.js} +11 -11
- package/dist/chunks/{persistent-pty-2xaxmgsp.js → workspace-pty7ddkk.js} +13 -13
- package/dist/chunks/{persistent-pty-fqzc6vv2.js → workspace-pwt4cxzm.js} +22 -22
- package/dist/chunks/{persistent-pty-c5zvymhv.js → workspace-px7qpgcn.js} +4 -4
- package/dist/chunks/{persistent-pty-bykntp9t.js → workspace-q05kpyda.js} +194 -194
- package/dist/chunks/{persistent-pty-q42tzrxa.js → workspace-q42tzrxa.js} +1 -1
- package/dist/chunks/{persistent-pty-7wt2j25k.js → workspace-q6n41c1v.js} +19 -19
- package/dist/chunks/{persistent-pty-y68qyc85.js → workspace-qbyvray2.js} +37 -37
- package/dist/chunks/{persistent-pty-wzfa06mn.js → workspace-qfz6bxfd.js} +4 -4
- package/dist/chunks/{persistent-pty-qp7r0hxv.js → workspace-qp7r0hxv.js} +1 -1
- package/dist/chunks/{persistent-pty-4s0af25y.js → workspace-qpb35ste.js} +12 -12
- package/dist/chunks/{persistent-pty-wkx8cfqz.js → workspace-qqdmrqfx.js} +8 -8
- package/dist/chunks/{persistent-pty-d92j7ps2.js → workspace-qysx7kqw.js} +28 -28
- package/dist/chunks/{persistent-pty-enbdjs5f.js → workspace-r4ck78gy.js} +9 -9
- package/dist/chunks/{persistent-pty-ba2680mm.js → workspace-r599gh2z.js} +1 -1
- package/dist/chunks/{persistent-pty-rb9dy4dg.js → workspace-rb9dy4dg.js} +1 -1
- package/dist/chunks/{persistent-pty-y9hymxjv.js → workspace-rbh1nbw6.js} +4 -4
- package/dist/chunks/{persistent-pty-b1h36zfr.js → workspace-rbwyy842.js} +7 -7
- package/dist/chunks/{persistent-pty-0xt30dj7.js → workspace-rdnxe97n.js} +12 -12
- package/dist/chunks/{persistent-pty-02x640a5.js → workspace-res4w25d.js} +16 -16
- package/dist/chunks/{persistent-pty-rgc9cx3e.js → workspace-rgc9cx3e.js} +2 -2
- package/dist/chunks/{persistent-pty-052w9z54.js → workspace-rh0qb0sj.js} +28 -28
- package/dist/chunks/{persistent-pty-ta65xwbd.js → workspace-rht8amak.js} +13 -13
- package/dist/chunks/{persistent-pty-sgfnyq3m.js → workspace-rtbk02r0.js} +14 -14
- package/dist/chunks/{persistent-pty-2j4fkh89.js → workspace-s05hbgh9.js} +17 -17
- package/dist/chunks/{persistent-pty-z51dkrce.js → workspace-s22zvc49.js} +10 -10
- package/dist/chunks/{persistent-pty-sbya78hr.js → workspace-sbya78hr.js} +1 -1
- package/dist/chunks/{persistent-pty-s5zrq09q.js → workspace-sbzezcpx.js} +8 -8
- package/dist/chunks/{persistent-pty-ebr616tk.js → workspace-sccyzqgr.js} +6 -6
- package/dist/chunks/{persistent-pty-3m0b6qpz.js → workspace-serj3vts.js} +51 -51
- package/dist/chunks/{persistent-pty-66bn7b26.js → workspace-sesyp2g9.js} +6 -6
- package/dist/chunks/{persistent-pty-cwqy654b.js → workspace-sfamv88v.js} +45 -45
- package/dist/chunks/{persistent-pty-529v019t.js → workspace-sha8wjrn.js} +30 -30
- package/dist/chunks/{persistent-pty-1ghd4wvb.js → workspace-skc22c6z.js} +18 -18
- package/dist/chunks/{persistent-pty-8q0qjtas.js → workspace-sndvtvh7.js} +12 -12
- package/dist/chunks/{persistent-pty-q8epvwh5.js → workspace-snh4mdm1.js} +17 -17
- package/dist/chunks/{persistent-pty-zeej7hz5.js → workspace-srt9fcc5.js} +27 -27
- package/dist/chunks/{persistent-pty-67mr8n5m.js → workspace-stybskzm.js} +5 -5
- package/dist/chunks/{persistent-pty-svcy3p9a.js → workspace-svcy3p9a.js} +1 -1
- package/dist/chunks/{persistent-pty-w0vng6zx.js → workspace-syazfkbr.js} +27 -27
- package/dist/chunks/{persistent-pty-n3j33rb6.js → workspace-t62dywgn.js} +4 -4
- package/dist/chunks/{persistent-pty-tbpn7jtk.js → workspace-tbpn7jtk.js} +1 -1
- package/dist/chunks/{persistent-pty-tczq8hjw.js → workspace-tczq8hjw.js} +1 -1
- package/dist/chunks/{persistent-pty-jrfjmkz9.js → workspace-tet8ratn.js} +31 -31
- package/dist/chunks/{persistent-pty-tg7s7b5t.js → workspace-tg7s7b5t.js} +1 -1
- package/dist/chunks/{persistent-pty-3nnrz6f6.js → workspace-tmc7xdjs.js} +4 -4
- package/dist/chunks/{persistent-pty-b5fbxp4f.js → workspace-tpxq49sd.js} +6 -6
- package/dist/chunks/{persistent-pty-m3j6vy3e.js → workspace-tpxy298n.js} +40 -40
- package/dist/chunks/{persistent-pty-tr8x705m.js → workspace-tr8x705m.js} +1 -1
- package/dist/chunks/{persistent-pty-ny6mnk2g.js → workspace-tsbzkan4.js} +18 -18
- package/dist/chunks/{persistent-pty-qz9v9b44.js → workspace-tt91mykf.js} +12 -12
- package/dist/chunks/{persistent-pty-tvtps2q9.js → workspace-tvtps2q9.js} +1 -1
- package/dist/chunks/{persistent-pty-tjvb8cdj.js → workspace-twhmf8m6.js} +9 -9
- package/dist/chunks/{persistent-pty-twssxy5n.js → workspace-twssxy5n.js} +2 -2
- package/dist/chunks/{persistent-pty-efq2r9mz.js → workspace-v08f8bae.js} +19 -19
- package/dist/chunks/{persistent-pty-v2r1d0zg.js → workspace-v2r1d0zg.js} +1 -1
- package/dist/chunks/{persistent-pty-wxs8n6r9.js → workspace-vg3zfqzq.js} +9 -9
- package/dist/chunks/{persistent-pty-mqsrdytg.js → workspace-vgf4z6ys.js} +14 -14
- package/dist/chunks/{persistent-pty-vjf35v1f.js → workspace-vjf35v1f.js} +1 -1
- package/dist/chunks/{persistent-pty-vmxsyvj6.js → workspace-vmxsyvj6.js} +1 -1
- package/dist/chunks/{persistent-pty-q2m9hkf6.js → workspace-vq5ktqnp.js} +28 -28
- package/dist/chunks/{persistent-pty-2naa2pyn.js → workspace-vs7eet1f.js} +14 -14
- package/dist/chunks/{persistent-pty-r41sfy63.js → workspace-w2eysc6j.js} +6 -6
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-kmekj7m2.js → workspace-w4xw9ac5.js} +4 -4
- package/dist/chunks/{persistent-pty-ydbwe5aa.js → workspace-w5vb9bn8.js} +4 -4
- package/dist/chunks/{persistent-pty-wr3re1en.js → workspace-w687dnns.js} +4 -4
- package/dist/chunks/{persistent-pty-wakvkjy4.js → workspace-wakvkjy4.js} +1 -1
- package/dist/chunks/{persistent-pty-qmcvqmmr.js → workspace-wb5wsb2j.js} +9 -9
- package/dist/chunks/{persistent-pty-x9q7tyzk.js → workspace-wcsde1k8.js} +17 -17
- package/dist/chunks/{persistent-pty-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-nx4vzyjd.js → workspace-wegkxhrn.js} +2 -2
- package/dist/chunks/{persistent-pty-wfdx5ztx.js → workspace-wfdx5ztx.js} +1 -1
- package/dist/chunks/{persistent-pty-wcm5dmz2.js → workspace-wgcy5ye5.js} +16 -16
- package/dist/chunks/{persistent-pty-7m7xz3kt.js → workspace-wpevp5sd.js} +30 -30
- package/dist/chunks/{persistent-pty-c7cw818c.js → workspace-wt99tj4q.js} +5 -5
- package/dist/chunks/{persistent-pty-8xfrfp31.js → workspace-wzksmcjn.js} +9 -9
- package/dist/chunks/{persistent-pty-9xd27y89.js → workspace-x26g66pj.js} +6 -6
- package/dist/chunks/{persistent-pty-wma4bvzc.js → workspace-x449xwqz.js} +55 -55
- package/dist/chunks/{persistent-pty-x165wbyp.js → workspace-x8wd2r05.js} +9 -9
- package/dist/chunks/{persistent-pty-r17fbvme.js → workspace-xacrkbdt.js} +4 -4
- package/dist/chunks/{persistent-pty-gj5mtfrs.js → workspace-xc664b6w.js} +43 -43
- package/dist/chunks/{persistent-pty-61c202f5.js → workspace-xfk79g22.js} +14 -14
- package/dist/chunks/{persistent-pty-3c49005s.js → workspace-xjfsy72k.js} +41 -41
- package/dist/chunks/{persistent-pty-xww8vq85.js → workspace-xkaydag2.js} +22 -22
- package/dist/chunks/{persistent-pty-39j3dj9y.js → workspace-xmfbe4bd.js} +19 -19
- package/dist/chunks/{persistent-pty-8z2w2hfr.js → workspace-xsk74dna.js} +43 -43
- package/dist/chunks/{persistent-pty-73xb0yka.js → workspace-xtyxcf1m.js} +14 -14
- package/dist/chunks/{persistent-pty-xjr6c8m4.js → workspace-xxschbft.js} +4 -4
- package/dist/chunks/{persistent-pty-f6krd2ps.js → workspace-xypfb8jg.js} +9 -9
- package/dist/chunks/{persistent-pty-gkh3b8fz.js → workspace-y3drsnph.js} +11 -11
- package/dist/chunks/{persistent-pty-6166w2t8.js → workspace-y455wd3s.js} +19 -19
- package/dist/chunks/{persistent-pty-yb20nhc3.js → workspace-yb20nhc3.js} +1 -1
- package/dist/chunks/{persistent-pty-xcj8ebhb.js → workspace-ynwsyvmh.js} +10 -10
- package/dist/chunks/{persistent-pty-w9w8mt4n.js → workspace-yqveydy6.js} +4 -4
- package/dist/chunks/{persistent-pty-q4374hh0.js → workspace-yqx33qse.js} +18 -18
- package/dist/chunks/{persistent-pty-yr705xyq.js → workspace-yr705xyq.js} +1 -1
- package/dist/chunks/{persistent-pty-yvtc2x31.js → workspace-yvtc2x31.js} +1 -1
- package/dist/chunks/{persistent-pty-q4dd99bp.js → workspace-yzj6na13.js} +31 -31
- package/dist/chunks/{persistent-pty-99dq7pwz.js → workspace-z6ggcv4j.js} +28 -28
- package/dist/chunks/{persistent-pty-pm8j4n8z.js → workspace-z6nad2b9.js} +20 -20
- package/dist/chunks/{persistent-pty-rmy5batf.js → workspace-z7y810kk.js} +2 -2
- package/dist/chunks/{persistent-pty-yswt24xe.js → workspace-za1h6cmh.js} +5 -5
- package/dist/chunks/{persistent-pty-z1w6mwej.js → workspace-zc7vahjk.js} +40 -40
- package/dist/chunks/{persistent-pty-j9nxzz3g.js → workspace-ze75qvmd.js} +3 -3
- package/dist/chunks/{persistent-pty-rem7qn2m.js → workspace-zh4hvapz.js} +8 -8
- package/dist/chunks/{persistent-pty-ds68585e.js → workspace-zk3m7qs8.js} +20 -20
- package/dist/chunks/{persistent-pty-9npe7we1.js → workspace-zk4m0wc5.js} +28 -28
- package/dist/chunks/{persistent-pty-zpdbqgja.js → workspace-zpdbqgja.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +90 -90
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +133 -133
- package/dist/config/plugin/command.js +240 -240
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +145 -145
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +128 -128
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +135 -135
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/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/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +116 -108
- package/dist/database/v1-migration.js +5 -4
- package/dist/effect/app-node-builder.js +441 -441
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- 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 +85 -85
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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 +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +253 -253
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +133 -133
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +104 -104
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +432 -432
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +185 -185
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +429 -429
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +126 -126
- package/dist/mcp/instructions.js +187 -187
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +115 -115
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +156 -156
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +93 -93
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +119 -119
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +408 -408
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +127 -127
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
- package/dist/plugin/provider/claude-agent/index.js +146 -146
- package/dist/plugin/provider/claude-agent/instructions.js +110 -110
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +138 -138
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -138
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +161 -161
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +138 -138
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +239 -239
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +418 -418
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +255 -255
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +257 -257
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +250 -250
- package/dist/session/execution.js +171 -171
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +148 -148
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +86 -86
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +144 -144
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +256 -256
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +186 -186
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +207 -207
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +250 -250
- package/dist/session/usage.js +1 -1
- package/dist/session.js +239 -239
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +159 -159
- package/dist/snapshot.js +104 -104
- 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 +188 -188
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +169 -169
- package/dist/tool/plugin/question.js +151 -151
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +243 -243
- package/dist/tool/plugin/skill.js +160 -160
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +156 -156
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +165 -165
- package/dist/types/database/v1-migration.bun.d.ts +1 -1
- package/dist/usage-limits.js +100 -100
- 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 +105 -105
- package/dist/v1/config/permission.js +3 -3
- 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 +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- 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 +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +9 -9
- package/dist/chunks/persistent-pty-4jm3sk83.js +0 -26
- package/dist/chunks/persistent-pty-a610t88q.js +0 -18
- package/dist/chunks/persistent-pty-dnk52k5g.js +0 -273
- package/dist/chunks/persistent-pty-gkb3m8fg.js +0 -16
- package/dist/chunks/persistent-pty-nnqmkxkb.js +0 -577
- package/dist/chunks/persistent-pty-rt5dr6hb.js +0 -14
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kah00gy.js → workspace-1kah00gy.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → workspace-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4qk9sjk2.js → workspace-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-5w3e23ze.js → workspace-5w3e23ze.js} +0 -0
- /package/dist/chunks/{persistent-pty-6agm2x70.js → workspace-6agm2x70.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-6q2bdcd1.js → workspace-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-84wd9syh.js → workspace-84wd9syh.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → workspace-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-beh6qq61.js → workspace-beh6qq61.js} +0 -0
- /package/dist/chunks/{persistent-pty-bhmrqjy3.js → workspace-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cqv5kn06.js → workspace-cqv5kn06.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-ean2d8b5.js → workspace-ean2d8b5.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fkpq3x5p.js → workspace-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hcxmzztb.js → workspace-hcxmzztb.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwr30sdr.js → workspace-jwr30sdr.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-m18g726c.js → workspace-m18g726c.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-nh4v3znn.js → workspace-nh4v3znn.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-p71gwv9c.js → workspace-p71gwv9c.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-syrav9an.js → workspace-syrav9an.js} +0 -0
- /package/dist/chunks/{persistent-pty-t03h4f5z.js → workspace-t03h4f5z.js} +0 -0
- /package/dist/chunks/{persistent-pty-ty7weeps.js → workspace-ty7weeps.js} +0 -0
- /package/dist/chunks/{persistent-pty-ve7vex1e.js → workspace-ve7vex1e.js} +0 -0
- /package/dist/chunks/{persistent-pty-vtarvj67.js → workspace-vtarvj67.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x4th4bpe.js → workspace-x4th4bpe.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → workspace-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-z0h12gs8.js → workspace-z0h12gs8.js} +0 -0
- /package/dist/chunks/{persistent-pty-z5v4ffb3.js → workspace-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → workspace-z9919s4g.js} +0 -0
- /package/dist/chunks/{persistent-pty-zxpyjp51.js → workspace-zxpyjp51.js} +0 -0
- /package/dist/chunks/{persistent-pty-zz5vv3aq.js → workspace-zz5vv3aq.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2,
|
|
3
3
|
exists2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-svcy3p9a.js";
|
|
5
5
|
import {
|
|
6
6
|
AbsolutePath2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-z5v4ffb3.js";
|
|
8
8
|
import {
|
|
9
9
|
root2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-xsk74dna.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service90,
|
|
13
|
+
node92
|
|
14
|
+
} from "./workspace-nggsj8ja.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service63,
|
|
17
|
+
node65
|
|
18
|
+
} from "./workspace-2z817b9w.js";
|
|
19
19
|
import {
|
|
20
20
|
invocation2,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service74,
|
|
22
|
+
node76
|
|
23
|
+
} from "./workspace-p43pvj3x.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./workspace-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/file-access.ts
|
|
29
29
|
var exports_file_access = {};
|
|
@@ -31,8 +31,8 @@ __export(exports_file_access, {
|
|
|
31
31
|
FileAccess: () => exports_file_access,
|
|
32
32
|
Kind: () => Kind2,
|
|
33
33
|
ResolveInput: () => ResolveInput2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
node: () =>
|
|
34
|
+
Service: () => Service17,
|
|
35
|
+
node: () => node19,
|
|
36
36
|
resolvePath: () => resolvePath2
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -46,18 +46,18 @@ var ResolveInput2 = Schema.Struct({
|
|
|
46
46
|
kind: Kind2.pipe(Schema.optional)
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service17 extends Context.Service()("@opencode/FileAccess") {
|
|
50
50
|
}
|
|
51
51
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
52
52
|
const normalized = FSUtil.windowsPath(input);
|
|
53
53
|
return path.resolve(directory, normalized === "~" ? home : normalized.startsWith("~/") || process.platform === "win32" && normalized.startsWith("~\\") ? path.join(home, normalized.slice(2)) : normalized);
|
|
54
54
|
};
|
|
55
55
|
var slash = (value) => value.replaceAll("\\", "/");
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const { files } = yield*
|
|
56
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
57
|
+
const { files } = yield* Service63;
|
|
58
58
|
const exists = (file) => exists2(files, file);
|
|
59
|
-
const location = yield*
|
|
60
|
-
const permission = yield*
|
|
59
|
+
const location = yield* Service90;
|
|
60
|
+
const permission = yield* Service74;
|
|
61
61
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
62
62
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
63
63
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -106,12 +106,12 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
106
106
|
});
|
|
107
107
|
return target;
|
|
108
108
|
});
|
|
109
|
-
return
|
|
109
|
+
return Service17.of({ resolve, authorizeExternal, authorizeRead });
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node19 = makeLocationNode({
|
|
112
|
+
service: Service17,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node65, node92, node76]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { Kind2, ResolveInput2,
|
|
117
|
+
export { Kind2, ResolveInput2, Service17, resolvePath2, node19, exports_file_access };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./workspace-dhsyh00d.js";
|
|
4
4
|
import {
|
|
5
5
|
observe2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-tvtps2q9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service77
|
|
9
|
+
} from "./workspace-jcq84z9d.js";
|
|
10
10
|
import {
|
|
11
11
|
invocation2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service74
|
|
13
|
+
} from "./workspace-p43pvj3x.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/tool/plugin/todo.ts
|
|
19
19
|
var exports_todo = {};
|
|
20
20
|
__export(exports_todo, {
|
|
21
21
|
Info: () => Info2,
|
|
22
|
-
Input: () =>
|
|
23
|
-
Output: () =>
|
|
24
|
-
Plugin: () =>
|
|
22
|
+
Input: () => Input7,
|
|
23
|
+
Output: () => Output5,
|
|
24
|
+
Plugin: () => Plugin26,
|
|
25
25
|
TodoTool: () => exports_todo,
|
|
26
|
-
name: () =>
|
|
26
|
+
name: () => name7,
|
|
27
27
|
summarize: () => summarize2
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -40,17 +40,17 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
|
|
|
40
40
|
`;
|
|
41
41
|
|
|
42
42
|
// src/tool/plugin/todo.ts
|
|
43
|
-
var
|
|
43
|
+
var name7 = "todowrite";
|
|
44
44
|
var Info2 = Schema.Struct({
|
|
45
45
|
content: Schema.String.annotate({ description: "Brief description of the task" }),
|
|
46
46
|
status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
|
|
47
47
|
description: "Current status of the task: pending, in_progress, completed, cancelled"
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Input7 = Schema.Struct({
|
|
51
51
|
todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output5 = Schema.Struct({
|
|
54
54
|
todos: Schema.Array(Info2)
|
|
55
55
|
});
|
|
56
56
|
var summarize2 = (todos) => {
|
|
@@ -64,25 +64,25 @@ var summarize2 = (todos) => {
|
|
|
64
64
|
const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
|
|
65
65
|
return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Plugin26 = {
|
|
68
68
|
id: "opencode.tool.todo",
|
|
69
69
|
effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
|
|
70
|
-
const config = yield*
|
|
71
|
-
const permission = yield*
|
|
70
|
+
const config = yield* Service81;
|
|
71
|
+
const permission = yield* Service74;
|
|
72
72
|
const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
|
|
73
|
-
const flags = yield*
|
|
73
|
+
const flags = yield* Service77;
|
|
74
74
|
const enabled = () => flags.resolve(loaded.entries).todo.enabled;
|
|
75
75
|
yield* ctx.tool.transform((editor) => {
|
|
76
76
|
if (!enabled())
|
|
77
77
|
return;
|
|
78
78
|
editor.add({
|
|
79
|
-
name:
|
|
79
|
+
name: name7,
|
|
80
80
|
options: { codemode: false },
|
|
81
81
|
description: todowrite_default,
|
|
82
|
-
input:
|
|
83
|
-
output:
|
|
82
|
+
input: Input7,
|
|
83
|
+
output: Output5,
|
|
84
84
|
execute: (input, context) => permission.assert({
|
|
85
|
-
action:
|
|
85
|
+
action: name7,
|
|
86
86
|
resources: ["*"],
|
|
87
87
|
save: ["*"],
|
|
88
88
|
...invocation2(context)
|
|
@@ -96,4 +96,4 @@ var Plugin16 = {
|
|
|
96
96
|
})
|
|
97
97
|
};
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { name7, Info2, Input7, Output5, summarize2, Plugin26, exports_todo };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service93,
|
|
3
|
+
node95
|
|
4
|
+
} from "./workspace-g175b8z9.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service89,
|
|
9
|
+
node91
|
|
10
|
+
} from "./workspace-yzj6na13.js";
|
|
11
11
|
import {
|
|
12
12
|
changes2,
|
|
13
13
|
create4
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./workspace-40y6dtc2.js";
|
|
15
15
|
import {
|
|
16
16
|
key3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./workspace-n320gsn2.js";
|
|
18
18
|
import {
|
|
19
19
|
validateAnswer2,
|
|
20
20
|
validateFields2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./workspace-8fjs3r6w.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./workspace-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/integration.ts
|
|
27
27
|
var exports_integration3 = {};
|
|
@@ -36,18 +36,18 @@ __export(exports_integration3, {
|
|
|
36
36
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
37
37
|
CommandMethod: () => CommandMethod2,
|
|
38
38
|
EnvMethod: () => EnvMethod2,
|
|
39
|
-
Event: () =>
|
|
39
|
+
Event: () => Event18,
|
|
40
40
|
ExternalMethod: () => ExternalMethod2,
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
41
|
+
ID: () => ID18,
|
|
42
|
+
Info: () => Info26,
|
|
43
43
|
Integration: () => exports_integration3,
|
|
44
44
|
KeyMethod: () => KeyMethod2,
|
|
45
45
|
Method: () => Method2,
|
|
46
46
|
MethodID: () => MethodID2,
|
|
47
47
|
OAuthMethod: () => OAuthMethod2,
|
|
48
48
|
Ref: () => Ref4,
|
|
49
|
-
Service: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
Service: () => Service87,
|
|
50
|
+
node: () => node89
|
|
51
51
|
});
|
|
52
52
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
53
53
|
import {
|
|
@@ -69,8 +69,8 @@ import {
|
|
|
69
69
|
import { Integration } from "@opencode/schema/integration";
|
|
70
70
|
import { AppProcess } from "@opencode/util/process";
|
|
71
71
|
import { ChildProcess } from "effect/process";
|
|
72
|
-
import { Event as
|
|
73
|
-
var
|
|
72
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
73
|
+
var ID18 = Integration.ID;
|
|
74
74
|
var MethodID2 = Integration.MethodID;
|
|
75
75
|
var AttemptID2 = Integration.AttemptID;
|
|
76
76
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -79,7 +79,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
79
79
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
80
80
|
var EnvMethod2 = Integration.EnvMethod;
|
|
81
81
|
var Method2 = Integration.Method;
|
|
82
|
-
var
|
|
82
|
+
var Info26 = Integration.Info;
|
|
83
83
|
var Attempt2 = Integration.Attempt;
|
|
84
84
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
85
85
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -102,20 +102,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
105
|
-
integrationID:
|
|
105
|
+
integrationID: ID18,
|
|
106
106
|
attemptID: AttemptID2
|
|
107
107
|
}) {
|
|
108
108
|
}
|
|
109
109
|
var Ref4 = Integration.Ref;
|
|
110
110
|
|
|
111
|
-
class
|
|
111
|
+
class Service87 extends Context.Service()("@opencode/Integration") {
|
|
112
112
|
}
|
|
113
113
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
114
114
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
115
115
|
var scrubInterval = Duration.seconds(30);
|
|
116
|
-
var layer = Layer.effect(
|
|
117
|
-
const credentials = yield*
|
|
118
|
-
const bus = yield*
|
|
116
|
+
var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
117
|
+
const credentials = yield* Service89;
|
|
118
|
+
const bus = yield* Service93;
|
|
119
119
|
const processes = yield* AppProcess.Service;
|
|
120
120
|
const scope = yield* Scope.Scope;
|
|
121
121
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -201,7 +201,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
201
201
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
202
202
|
return [...credentials, ...env];
|
|
203
203
|
};
|
|
204
|
-
const project = (entry, connections) =>
|
|
204
|
+
const project = (entry, connections) => Info26.make({
|
|
205
205
|
id: entry.ref.id,
|
|
206
206
|
name: entry.ref.name,
|
|
207
207
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -403,7 +403,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
403
403
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
404
404
|
return CommandAttempt2.make({ attemptID, time });
|
|
405
405
|
});
|
|
406
|
-
return
|
|
406
|
+
return Service87.of({
|
|
407
407
|
transform: state.transform,
|
|
408
408
|
reload: state.reload,
|
|
409
409
|
revision: state.revision,
|
|
@@ -571,10 +571,10 @@ var answerError = (form, answer, method) => {
|
|
|
571
571
|
if (method && Object.keys(answer).length > 0)
|
|
572
572
|
return `${method} method does not accept a form answer`;
|
|
573
573
|
};
|
|
574
|
-
var
|
|
575
|
-
service:
|
|
574
|
+
var node89 = makeLocationNode({
|
|
575
|
+
service: Service87,
|
|
576
576
|
layer,
|
|
577
|
-
deps: [
|
|
577
|
+
deps: [node91, node95, AppProcess.node]
|
|
578
578
|
});
|
|
579
579
|
|
|
580
|
-
export {
|
|
580
|
+
export { ID18, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info26, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref4, Service87, node89, exports_integration3, Event18 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolFailure2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-z0h12gs8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service90
|
|
6
|
+
} from "./workspace-nggsj8ja.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service63
|
|
9
|
+
} from "./workspace-2z817b9w.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service62,
|
|
12
12
|
readText2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-2cdz0hxw.js";
|
|
14
14
|
import {
|
|
15
15
|
invocation2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service74
|
|
17
|
+
} from "./workspace-p43pvj3x.js";
|
|
18
18
|
import {
|
|
19
19
|
resolvePath2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./workspace-b5bw7g94.js";
|
|
21
21
|
import {
|
|
22
22
|
fileDiff2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-6prwharc.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service13
|
|
26
|
+
} from "./workspace-55edmcdq.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./workspace-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/plugin/edit.ts
|
|
32
32
|
var exports_edit = {};
|
|
33
33
|
__export(exports_edit, {
|
|
34
34
|
EditTool: () => exports_edit,
|
|
35
|
-
Input: () =>
|
|
36
|
-
Output: () =>
|
|
37
|
-
Plugin: () =>
|
|
38
|
-
name: () =>
|
|
35
|
+
Input: () => Input2,
|
|
36
|
+
Output: () => Output2,
|
|
37
|
+
Plugin: () => Plugin20,
|
|
38
|
+
name: () => name2
|
|
39
39
|
});
|
|
40
40
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
|
-
var
|
|
44
|
-
var
|
|
43
|
+
var name2 = "edit";
|
|
44
|
+
var Input2 = Schema.Struct({
|
|
45
45
|
path: Schema.String.annotate({
|
|
46
46
|
description: "File to edit"
|
|
47
47
|
}),
|
|
@@ -51,7 +51,7 @@ var Input8 = Schema.Struct({
|
|
|
51
51
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
52
52
|
})
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Output2 = Schema.Struct({
|
|
55
55
|
files: Schema.Array(FileDiff.Info),
|
|
56
56
|
replacements: Schema.Number
|
|
57
57
|
});
|
|
@@ -243,20 +243,20 @@ var countBefore = (positions, offset) => {
|
|
|
243
243
|
}
|
|
244
244
|
return low;
|
|
245
245
|
};
|
|
246
|
-
var
|
|
246
|
+
var Plugin20 = {
|
|
247
247
|
id: "opencode.tool.edit",
|
|
248
248
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
249
|
-
const fileMutation = yield*
|
|
250
|
-
const fileWrite = yield*
|
|
251
|
-
const environment = yield*
|
|
252
|
-
const location = yield*
|
|
253
|
-
const permission = yield*
|
|
249
|
+
const fileMutation = yield* Service62;
|
|
250
|
+
const fileWrite = yield* Service13;
|
|
251
|
+
const environment = yield* Service63;
|
|
252
|
+
const location = yield* Service90;
|
|
253
|
+
const permission = yield* Service74;
|
|
254
254
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
255
|
-
name:
|
|
255
|
+
name: name2,
|
|
256
256
|
options: { codemode: false, permission: "edit" },
|
|
257
257
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
258
|
-
input:
|
|
259
|
-
output:
|
|
258
|
+
input: Input2,
|
|
259
|
+
output: Output2,
|
|
260
260
|
execute: (input, context) => {
|
|
261
261
|
return Effect.gen(function* () {
|
|
262
262
|
if (input.oldString === input.newString) {
|
|
@@ -318,4 +318,4 @@ ${hint}` : ""}`
|
|
|
318
318
|
})
|
|
319
319
|
};
|
|
320
320
|
|
|
321
|
-
export {
|
|
321
|
+
export { name2, Input2, Output2, Plugin20, exports_edit };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-wb5wsb2j.js";
|
|
4
4
|
import {
|
|
5
5
|
collectBoundedResponseBody2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-3v8g72cx.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_RESPONSE_BYTES3,
|
|
9
9
|
call2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-w2eysc6j.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
register3
|
|
13
|
+
} from "./workspace-xxschbft.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/websearch/tinyfish.ts
|
|
19
19
|
var exports_tinyfish = {};
|
|
20
20
|
__export(exports_tinyfish, {
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin40,
|
|
22
22
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
23
|
-
endpoint: () =>
|
|
23
|
+
endpoint: () => endpoint4
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Duration, Effect, Option, Schema } from "effect";
|
|
27
27
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
28
|
-
var
|
|
28
|
+
var endpoint4 = "https://agent.tinyfish.ai/mcp";
|
|
29
29
|
var McpInput = Schema.Struct({
|
|
30
30
|
query: Schema.String
|
|
31
31
|
});
|
|
@@ -54,11 +54,11 @@ var InitializedNotification = Schema.Struct({
|
|
|
54
54
|
jsonrpc: Schema.Literal("2.0"),
|
|
55
55
|
method: Schema.Literal("notifications/initialized")
|
|
56
56
|
});
|
|
57
|
-
var
|
|
57
|
+
var Plugin40 = define({
|
|
58
58
|
id: "opencode.websearch.tinyfish",
|
|
59
59
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
60
60
|
const http = yield* HttpClient.HttpClient;
|
|
61
|
-
yield*
|
|
61
|
+
yield* register3(ctx, {
|
|
62
62
|
id: "tinyfish",
|
|
63
63
|
name: "TinyFish",
|
|
64
64
|
env: "TINYFISH_API_KEY",
|
|
@@ -68,7 +68,7 @@ var Plugin22 = define({
|
|
|
68
68
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
69
69
|
};
|
|
70
70
|
const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
|
|
71
|
-
const result = yield* call2(http,
|
|
71
|
+
const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
|
|
72
72
|
const content = result?.content.find((item) => item.text);
|
|
73
73
|
const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
|
|
74
74
|
return response?.results.map((item) => ({
|
|
@@ -83,7 +83,7 @@ var Plugin22 = define({
|
|
|
83
83
|
});
|
|
84
84
|
var initialize = (http, headers) => Effect.gen(function* () {
|
|
85
85
|
const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
|
|
86
|
-
const request = yield* HttpClientRequest.post(
|
|
86
|
+
const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
|
|
87
87
|
jsonrpc: "2.0",
|
|
88
88
|
id: 1,
|
|
89
89
|
method: "initialize",
|
|
@@ -98,7 +98,7 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
98
98
|
const session = response.headers["mcp-session-id"];
|
|
99
99
|
if (session === undefined)
|
|
100
100
|
return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
|
|
101
|
-
const notification = yield* HttpClientRequest.post(
|
|
101
|
+
const notification = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
|
|
102
102
|
jsonrpc: "2.0",
|
|
103
103
|
method: "notifications/initialized"
|
|
104
104
|
}));
|
|
@@ -109,4 +109,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
109
109
|
orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
|
|
110
110
|
}));
|
|
111
111
|
|
|
112
|
-
export {
|
|
112
|
+
export { endpoint4, Plugin40, exports_tinyfish };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-c0df41yj.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make32,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-t62dywgn.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-mb7mbhnz.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -26,7 +26,7 @@ __export(exports_instruction_entry, {
|
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node38,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -64,7 +64,7 @@ class Service34 extends Context.Service()("@opencode/InstructionEntry") {
|
|
|
64
64
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
65
65
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
66
66
|
`);
|
|
67
|
-
var source = (entry) =>
|
|
67
|
+
var source = (entry) => make32({
|
|
68
68
|
key: Key3.make(`api/${entry.key}`),
|
|
69
69
|
codec: Schema.toCodecJson(Schema.Json),
|
|
70
70
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -106,6 +106,6 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
106
106
|
});
|
|
107
107
|
return Service34.of({ list, put, remove, load });
|
|
108
108
|
}));
|
|
109
|
-
var
|
|
109
|
+
var node38 = makeGlobalNode({ service: Service34, layer, deps: [node96] });
|
|
110
110
|
|
|
111
|
-
export { Key2, Info9, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service34,
|
|
111
|
+
export { Key2, Info9, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service34, node38, exports_instruction_entry };
|