@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,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service90
|
|
6
|
+
} from "./workspace-nggsj8ja.js";
|
|
7
7
|
import {
|
|
8
8
|
NotFound3,
|
|
9
9
|
exists2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-svcy3p9a.js";
|
|
11
11
|
import {
|
|
12
12
|
makeFiles2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-rgc9cx3e.js";
|
|
14
14
|
import {
|
|
15
15
|
makeMemoryDriver2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-twssxy5n.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service63
|
|
19
|
+
} from "./workspace-2z817b9w.js";
|
|
20
20
|
import {
|
|
21
21
|
invocation2,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service74
|
|
23
|
+
} from "./workspace-p43pvj3x.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service17
|
|
26
|
+
} from "./workspace-b5bw7g94.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service12
|
|
29
|
+
} from "./workspace-da7vv5qs.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID10,
|
|
32
32
|
uri2,
|
|
33
33
|
isUri2,
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
34
|
+
Service60
|
|
35
|
+
} from "./workspace-ktjdgvwb.js";
|
|
36
36
|
import {
|
|
37
37
|
isSafeSegment2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./workspace-859w1rtj.js";
|
|
39
39
|
import {
|
|
40
40
|
BinaryFileError2,
|
|
41
41
|
MediaIngestLimitError2,
|
|
@@ -45,27 +45,27 @@ import {
|
|
|
45
45
|
FileContent2,
|
|
46
46
|
TextPage2,
|
|
47
47
|
ListPage2,
|
|
48
|
-
|
|
48
|
+
Service29,
|
|
49
49
|
read2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./workspace-snh4mdm1.js";
|
|
51
51
|
import {
|
|
52
52
|
__export
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./workspace-9rqn6x4v.js";
|
|
54
54
|
|
|
55
55
|
// src/tool/plugin/read.ts
|
|
56
56
|
var exports_read = {};
|
|
57
57
|
__export(exports_read, {
|
|
58
|
-
Input: () =>
|
|
59
|
-
Plugin: () =>
|
|
58
|
+
Input: () => Input8,
|
|
59
|
+
Plugin: () => Plugin27,
|
|
60
60
|
ReadTool: () => exports_read,
|
|
61
|
-
name: () =>
|
|
62
|
-
toModelContent: () =>
|
|
61
|
+
name: () => name8,
|
|
62
|
+
toModelContent: () => toModelContent3
|
|
63
63
|
});
|
|
64
64
|
import { basename, dirname, extname, isAbsolute, join, relative } from "path";
|
|
65
65
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
66
66
|
import { Effect, Schema } from "effect";
|
|
67
67
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
68
|
-
var
|
|
68
|
+
var name8 = "read";
|
|
69
69
|
var FILENAME = "AGENTS.md";
|
|
70
70
|
var LocationInput = Schema.Struct({
|
|
71
71
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -76,24 +76,24 @@ var LocationInput = Schema.Struct({
|
|
|
76
76
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
|
-
var
|
|
79
|
+
var Input8 = LocationInput;
|
|
80
80
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
81
|
-
var
|
|
81
|
+
var Plugin27 = {
|
|
82
82
|
id: "opencode.tool.read",
|
|
83
83
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
84
|
-
const reader = yield*
|
|
85
|
-
const access = yield*
|
|
86
|
-
const permission = yield*
|
|
87
|
-
const skills = yield*
|
|
88
|
-
const sessionInstructions = yield*
|
|
84
|
+
const reader = yield* Service29;
|
|
85
|
+
const access = yield* Service17;
|
|
86
|
+
const permission = yield* Service74;
|
|
87
|
+
const skills = yield* Service60;
|
|
88
|
+
const sessionInstructions = yield* Service12;
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
|
-
const location = yield*
|
|
91
|
-
const environment = yield*
|
|
90
|
+
const location = yield* Service90;
|
|
91
|
+
const environment = yield* Service63;
|
|
92
92
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
93
|
-
name:
|
|
93
|
+
name: name8,
|
|
94
94
|
options: { codemode: false },
|
|
95
95
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
96
|
-
input:
|
|
96
|
+
input: Input8,
|
|
97
97
|
output: Output,
|
|
98
98
|
execute: (input, context) => {
|
|
99
99
|
return Effect.gen(function* () {
|
|
@@ -101,7 +101,7 @@ var Plugin17 = {
|
|
|
101
101
|
const parsed = parseSkillUri(input.path);
|
|
102
102
|
if (!parsed)
|
|
103
103
|
return yield* new ToolFailure({ message: `File not found: ${input.path}` });
|
|
104
|
-
const id =
|
|
104
|
+
const id = ID10.make(parsed.id);
|
|
105
105
|
const skill = yield* skills.get(id);
|
|
106
106
|
if (!skill || !isUri2(skill.path))
|
|
107
107
|
return yield* new ToolFailure({ message: `File not found: ${input.path}` });
|
|
@@ -168,7 +168,7 @@ var Plugin17 = {
|
|
|
168
168
|
return { output: result.content, path: result.path };
|
|
169
169
|
}).pipe(Effect.map((result) => ({
|
|
170
170
|
output: result.output,
|
|
171
|
-
content:
|
|
171
|
+
content: toModelContent3(result.path, input.offset, result.output),
|
|
172
172
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
173
173
|
})), Effect.mapError((error) => {
|
|
174
174
|
if (error instanceof ToolFailure)
|
|
@@ -294,7 +294,7 @@ function parseSkillUri(value) {
|
|
|
294
294
|
return;
|
|
295
295
|
return { id, target: rest === "" ? "/" : `/${rest}`, uri: uri2(id, rest || undefined) };
|
|
296
296
|
}
|
|
297
|
-
var
|
|
297
|
+
var toModelContent3 = (path, offset, output) => {
|
|
298
298
|
if (output.type === "file" && output.encoding === "base64")
|
|
299
299
|
return [
|
|
300
300
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -332,4 +332,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
332
332
|
`);
|
|
333
333
|
};
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { name8, Input8, Plugin27, toModelContent3, exports_read };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service93,
|
|
3
|
+
node95
|
|
4
|
+
} from "./workspace-g175b8z9.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./workspace-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/agent.ts
|
|
14
14
|
var exports_agent3 = {};
|
|
15
15
|
__export(exports_agent3, {
|
|
16
16
|
Agent: () => exports_agent3,
|
|
17
17
|
Color: () => Color2,
|
|
18
|
-
Event: () =>
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
18
|
+
Event: () => Event14,
|
|
19
|
+
ID: () => ID15,
|
|
20
|
+
Info: () => Info18,
|
|
21
21
|
Name: () => Name3,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service80,
|
|
23
23
|
defaultID: () => defaultID2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node82
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
|
-
import { Event as
|
|
30
|
-
var
|
|
29
|
+
import { Event as Event14 } from "@opencode/schema/agent";
|
|
30
|
+
var ID15 = Agent.ID;
|
|
31
31
|
var Name3 = Agent.Name;
|
|
32
|
-
var defaultID2 =
|
|
32
|
+
var defaultID2 = ID15.make("build");
|
|
33
33
|
var Color2 = Agent.Color;
|
|
34
|
-
var
|
|
34
|
+
var Info18 = Agent.Info;
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service80 extends Context.Service()("@opencode/Agent") {
|
|
37
37
|
}
|
|
38
|
-
var layer = Layer.effect(
|
|
39
|
-
const bus = yield*
|
|
38
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
39
|
+
const bus = yield* Service93;
|
|
40
40
|
const selectable = (agent) => agent && agent.mode !== "subagent" && !agent.hidden ? agent : undefined;
|
|
41
41
|
const selectedDefault = (data) => {
|
|
42
42
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
68
68
|
editor.default = id;
|
|
69
69
|
},
|
|
70
70
|
update: (id, fn) => {
|
|
71
|
-
const current = editor.agents.get(id) ??
|
|
71
|
+
const current = editor.agents.get(id) ?? Info18.default(id);
|
|
72
72
|
if (!editor.agents.has(id))
|
|
73
73
|
editor.agents.set(id, current);
|
|
74
74
|
fn(current);
|
|
@@ -80,7 +80,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
80
80
|
}),
|
|
81
81
|
notify: changes2(list, () => bus.publish(Agent.Event.Updated, {}).pipe(Effect.asVoid))
|
|
82
82
|
});
|
|
83
|
-
return
|
|
83
|
+
return Service80.of({
|
|
84
84
|
transform: state.transform,
|
|
85
85
|
reload: state.reload,
|
|
86
86
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
88
88
|
}),
|
|
89
89
|
resolve: Effect.fnUntraced(function* (id) {
|
|
90
90
|
if (id !== undefined)
|
|
91
|
-
return state.get().agents.get(
|
|
91
|
+
return state.get().agents.get(ID15.make(id));
|
|
92
92
|
return selectedDefault(state.get());
|
|
93
93
|
}),
|
|
94
94
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
@@ -102,6 +102,6 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
102
102
|
})
|
|
103
103
|
});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
105
|
+
var node82 = makeLocationNode({ service: Service80, layer, deps: [node95] });
|
|
106
106
|
|
|
107
|
-
export {
|
|
107
|
+
export { ID15, Name3, defaultID2, Color2, Info18, Service80, node82, exports_agent3, Event14 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-wb5wsb2j.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-yzj6na13.js";
|
|
7
7
|
import {
|
|
8
8
|
key3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-n320gsn2.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
ID18,
|
|
12
12
|
MethodID2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-b8y2jd3x.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID17,
|
|
16
16
|
aisdk2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service85
|
|
18
|
+
} from "./workspace-m6tdssjc.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
ID16,
|
|
21
|
+
Info24
|
|
22
|
+
} from "./workspace-efxjnt5q.js";
|
|
23
23
|
import {
|
|
24
24
|
success2,
|
|
25
25
|
error2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./workspace-yb20nhc3.js";
|
|
27
27
|
import {
|
|
28
28
|
onSwitch2,
|
|
29
29
|
reloadIfChanged2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./workspace-twhmf8m6.js";
|
|
31
31
|
import {
|
|
32
32
|
credentialSettings2,
|
|
33
33
|
metadataSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./workspace-tpxq49sd.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/gitlab.ts
|
|
37
37
|
import os from "os";
|
|
@@ -39,8 +39,8 @@ import { Clock, Deferred, Effect, Equal, Exit, Option, Schema, Semaphore } from
|
|
|
39
39
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
40
40
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
41
41
|
import { Form } from "@opencode/schema/form";
|
|
42
|
-
var providerID =
|
|
43
|
-
var integrationID =
|
|
42
|
+
var providerID = ID17.gitlab;
|
|
43
|
+
var integrationID = ID18.make("gitlab");
|
|
44
44
|
var methodID = MethodID2.make("pkce");
|
|
45
45
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
46
46
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -61,7 +61,7 @@ var refreshRetention = 60000;
|
|
|
61
61
|
var GitLabPlugin2 = define({
|
|
62
62
|
id: "opencode.provider.gitlab",
|
|
63
63
|
effect: Effect.fn(function* (ctx) {
|
|
64
|
-
const providers = yield*
|
|
64
|
+
const providers = yield* Service85;
|
|
65
65
|
const http = yield* HttpClient.HttpClient;
|
|
66
66
|
const loading = Semaphore.makeUnsafe(1);
|
|
67
67
|
const loaded = {};
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
models: [
|
|
197
197
|
...item.models.values(),
|
|
198
198
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
199
|
-
...
|
|
199
|
+
...Info24.default(providerID, ID16.make(model.id)),
|
|
200
200
|
name: `Agent Platform (${model.name})`,
|
|
201
201
|
package: aisdk2("gitlab-ai-provider"),
|
|
202
202
|
settings: { workflowRef: model.ref },
|
|
@@ -249,7 +249,7 @@ var GitLabPlugin2 = define({
|
|
|
249
249
|
aiGatewayHeaders: evt.options.aiGatewayHeaders,
|
|
250
250
|
featureFlags
|
|
251
251
|
});
|
|
252
|
-
}), { providerID:
|
|
252
|
+
}), { providerID: ID17.gitlab });
|
|
253
253
|
})
|
|
254
254
|
});
|
|
255
255
|
function resolveDefaultInstanceUrl() {
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service94,
|
|
6
6
|
node96
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Service89,
|
|
10
|
-
node90
|
|
11
|
-
} from "./persistent-pty-479eyxvy.js";
|
|
7
|
+
} from "./workspace-c0df41yj.js";
|
|
12
8
|
import {
|
|
13
9
|
Service93,
|
|
14
10
|
node95
|
|
15
|
-
} from "./
|
|
11
|
+
} from "./workspace-g175b8z9.js";
|
|
12
|
+
import {
|
|
13
|
+
Service92,
|
|
14
|
+
node94
|
|
15
|
+
} from "./workspace-a1tswj55.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID22,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info32,
|
|
20
20
|
UpdateInput5,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-963hk181.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./workspace-034tev2y.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./workspace-8sxe6kv8.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./workspace-ayjs7tqn.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./workspace-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
40
40
|
__export(exports_project, {
|
|
41
41
|
ACTIVATE_INTERVAL: () => ACTIVATE_INTERVAL2,
|
|
42
42
|
Current: () => Current2,
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
43
|
+
ID: () => ID21,
|
|
44
|
+
Info: () => Info31,
|
|
45
45
|
NotFoundError: () => NotFoundError14,
|
|
46
46
|
Project: () => exports_project,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service91,
|
|
48
48
|
UpdateInput: () => UpdateInput4,
|
|
49
49
|
Vcs: () => Vcs2,
|
|
50
|
-
configured: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
configured: () => configured12,
|
|
51
|
+
node: () => node93,
|
|
52
52
|
root: () => root2,
|
|
53
53
|
sweepNode: () => sweepNode2
|
|
54
54
|
});
|
|
@@ -61,14 +61,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
61
61
|
import { AppProcess } from "@opencode/util/process";
|
|
62
62
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { Hash } from "@opencode/util/hash";
|
|
64
|
-
var
|
|
64
|
+
var ID21 = ID22;
|
|
65
65
|
var Vcs2 = Vcs3;
|
|
66
66
|
var Current2 = Current3;
|
|
67
|
-
var
|
|
67
|
+
var Info31 = Info32;
|
|
68
68
|
var UpdateInput4 = UpdateInput5;
|
|
69
69
|
|
|
70
70
|
class NotFoundError14 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
71
|
-
projectID:
|
|
71
|
+
projectID: ID21
|
|
72
72
|
}) {
|
|
73
73
|
}
|
|
74
74
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -87,7 +87,7 @@ var ACTIVATE_INTERVAL2 = 60000;
|
|
|
87
87
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
88
88
|
var Now = Context.Reference("@opencode/Project/Now", { defaultValue: () => Date.now });
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service91 extends Context.Service()("@opencode/Project") {
|
|
91
91
|
}
|
|
92
92
|
function fromRow(row) {
|
|
93
93
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -111,12 +111,12 @@ function fromRow(row) {
|
|
|
111
111
|
sandboxes: row.sandboxes
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service91, Effect.gen(function* () {
|
|
115
115
|
const now = yield* Now;
|
|
116
116
|
const fs = yield* FSUtil.Service;
|
|
117
|
-
const git = yield*
|
|
117
|
+
const git = yield* Service92;
|
|
118
118
|
const proc = yield* AppProcess.Service;
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service93;
|
|
120
120
|
const db = (yield* Service94).db;
|
|
121
121
|
const scope = yield* Scope.Scope;
|
|
122
122
|
const announcing = new Set;
|
|
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
164
164
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
165
165
|
projectID: item.projectID,
|
|
166
166
|
directory: item.directory,
|
|
167
|
-
previous: project.previous ??
|
|
167
|
+
previous: project.previous ?? ID21.global,
|
|
168
168
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
169
169
|
}, {
|
|
170
170
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
208
208
|
return options?.forkIn ? write.pipe(Effect.forkIn(options.forkIn), Effect.asVoid) : write;
|
|
209
209
|
});
|
|
210
210
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
211
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
211
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID21.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
212
212
|
return;
|
|
213
213
|
}));
|
|
214
214
|
});
|
|
@@ -219,7 +219,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
219
219
|
const normalized = url(origin);
|
|
220
220
|
if (!normalized)
|
|
221
221
|
return;
|
|
222
|
-
return
|
|
222
|
+
return ID21.make(Hash.fast(`git-remote:${normalized}`));
|
|
223
223
|
});
|
|
224
224
|
function url(input) {
|
|
225
225
|
const value = input.trim();
|
|
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
244
244
|
}
|
|
245
245
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
246
246
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
247
|
-
return root ?
|
|
247
|
+
return root ? ID21.make(root) : undefined;
|
|
248
248
|
});
|
|
249
249
|
const gitDiscover = Effect.fnUntraced(function* (dotGit) {
|
|
250
250
|
const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
|
|
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
260
260
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
|
|
261
261
|
const resolved = {
|
|
262
262
|
previous,
|
|
263
|
-
id: id ??
|
|
263
|
+
id: id ?? ID21.global,
|
|
264
264
|
directory: repo.worktree,
|
|
265
265
|
canonical,
|
|
266
266
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
285
285
|
return;
|
|
286
286
|
const node = result.stdout.toString("utf8").split(`
|
|
287
287
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
288
|
-
return node ?
|
|
288
|
+
return node ? ID21.make(node) : undefined;
|
|
289
289
|
});
|
|
290
290
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
291
291
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -293,7 +293,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
293
293
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
294
294
|
return {
|
|
295
295
|
previous,
|
|
296
|
-
id: id ??
|
|
296
|
+
id: id ?? ID21.global,
|
|
297
297
|
directory: worktree,
|
|
298
298
|
vcs: { type: "hg", store: dotHg }
|
|
299
299
|
};
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
322
|
return yield* save({
|
|
323
|
-
id:
|
|
323
|
+
id: ID21.make(Hash.fast(`directory:${directory}`)),
|
|
324
324
|
directory,
|
|
325
325
|
canonical: directory,
|
|
326
326
|
vcs: undefined
|
|
@@ -329,7 +329,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
329
329
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
330
330
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
331
331
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
332
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
332
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID21.global))).all().pipe(Effect.orDie);
|
|
333
333
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
334
334
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
335
335
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -345,23 +345,23 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
345
345
|
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
346
346
|
}), { concurrency: 8, discard: true });
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service91.of({ list, update, activate, resolve, sweep });
|
|
349
349
|
}));
|
|
350
|
-
function
|
|
350
|
+
function configured12(options) {
|
|
351
351
|
return makeGlobalNode({
|
|
352
|
-
service:
|
|
352
|
+
service: Service91,
|
|
353
353
|
layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
|
|
354
|
-
deps: [
|
|
354
|
+
deps: [node95, node96, FSUtil.node, node94, AppProcess.node]
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
|
-
var
|
|
357
|
+
var node93 = configured12();
|
|
358
358
|
var sweepNode2 = makeGlobalNode({
|
|
359
359
|
name: "project-archive-sweep",
|
|
360
360
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
361
|
-
const project = yield*
|
|
361
|
+
const project = yield* Service91;
|
|
362
362
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
363
363
|
})),
|
|
364
|
-
deps: [
|
|
364
|
+
deps: [node93]
|
|
365
365
|
});
|
|
366
366
|
|
|
367
|
-
export {
|
|
367
|
+
export { ID21, Vcs2, Current2, Info31, UpdateInput4, NotFoundError14, root2, ACTIVATE_INTERVAL2, Service91, configured12, node93, sweepNode2, exports_project };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service81
|
|
4
|
+
} from "./workspace-dhsyh00d.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service66
|
|
7
|
+
} from "./workspace-q6n41c1v.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-tvtps2q9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell = {};
|
|
17
|
+
__export(exports_shell, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell,
|
|
19
|
+
Plugin: () => Plugin15
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin15 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service81;
|
|
27
|
+
const shell = yield* Service66;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin47 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin15, exports_shell };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/websearch/provider.ts
|
|
6
6
|
var exports_provider = {};
|
|
7
7
|
__export(exports_provider, {
|
|
8
8
|
WebSearchProvider: () => exports_provider,
|
|
9
|
-
register: () =>
|
|
9
|
+
register: () => register3
|
|
10
10
|
});
|
|
11
11
|
import { Effect } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var register3 = Effect.fn("WebSearchProvider.register")(function* (ctx, provider) {
|
|
13
13
|
yield* ctx.integration.transform((editor) => {
|
|
14
14
|
editor.update(provider.id, (integration) => integration.name = provider.name);
|
|
15
15
|
editor.method.update({
|
|
@@ -34,4 +34,4 @@ var register2 = Effect.fn("WebSearchProvider.register")(function* (ctx, provider
|
|
|
34
34
|
});
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { register3, exports_provider };
|