@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,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-syrav9an.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service92
|
|
3
|
+
} from "./workspace-a1tswj55.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-d4v9tmah.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
|
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
var make23 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service92;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-c0df41yj.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-1ep2p91f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
ConflictError: () => ConflictError2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
NotFoundError: () =>
|
|
16
|
+
ID: () => ID13,
|
|
17
|
+
Info: () => Info16,
|
|
18
|
+
NotFoundError: () => NotFoundError12,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service76,
|
|
21
|
+
node: () => node78
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { isSqlError } from "effect/sql/SqlError";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID13 = PermissionSaved.ID;
|
|
29
|
+
var Info16 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
32
|
-
id:
|
|
31
|
+
class NotFoundError12 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
|
+
id: ID13
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
37
|
-
id:
|
|
37
|
+
id: ID13,
|
|
38
38
|
action: Schema.String,
|
|
39
39
|
resource: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service76 extends Context.Service()("@opencode/PermissionSaved") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
46
46
|
const db = (yield* Service94).db;
|
|
47
47
|
const list = Effect.fnUntraced(function* (input) {
|
|
48
48
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
52
52
|
if (!input.resources.length)
|
|
53
53
|
return;
|
|
54
54
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
55
|
-
id:
|
|
55
|
+
id: ID13.create(),
|
|
56
56
|
project_id: input.projectID,
|
|
57
57
|
action: input.action,
|
|
58
58
|
resource
|
|
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
61
61
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
62
62
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
63
63
|
if (!current)
|
|
64
|
-
return yield* new
|
|
64
|
+
return yield* new NotFoundError12({ id: input.id });
|
|
65
65
|
const action = input.action ?? current.action;
|
|
66
66
|
const resource = input.resource ?? current.resource;
|
|
67
67
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
68
68
|
if (!updated)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError12({ id: input.id });
|
|
70
70
|
return info(updated);
|
|
71
71
|
});
|
|
72
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
73
73
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
74
74
|
});
|
|
75
|
-
return
|
|
75
|
+
return Service76.of({ list, add, update, remove });
|
|
76
76
|
}));
|
|
77
77
|
var isUniqueViolation = (error) => {
|
|
78
78
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -90,6 +90,6 @@ var info = (row) => ({
|
|
|
90
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
var
|
|
93
|
+
var node78 = makeGlobalNode({ service: Service76, layer, deps: [node96] });
|
|
94
94
|
|
|
95
|
-
export {
|
|
95
|
+
export { ID13, Info16, NotFoundError12, ConflictError2, Service76, node78, exports_saved };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error4,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make31,
|
|
14
|
+
node: () => node67,
|
|
15
15
|
registry: () => registry3,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make31 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry3(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node67 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error4, ProviderNotFound2, make31, RegistryService2, registry3, registryNode2, node67, exports_driver };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AGENT_OPTION2,
|
|
3
3
|
INSTRUCTIONS_OPTION2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-qfz6bxfd.js";
|
|
5
5
|
import {
|
|
6
6
|
ID3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-9qvnmhte.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/claude-agent/instructions.ts
|
|
13
13
|
var exports_instructions = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options8,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options8 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options8, Spec2, exports_plugin3 };
|
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-wb5wsb2j.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID20,
|
|
6
6
|
OAuth3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-yzj6na13.js";
|
|
8
8
|
import {
|
|
9
9
|
AbsolutePath2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-z5v4ffb3.js";
|
|
11
11
|
import {
|
|
12
12
|
key3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-n320gsn2.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID18,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-b8y2jd3x.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
ID17
|
|
21
|
+
} from "./workspace-m6tdssjc.js";
|
|
22
22
|
import {
|
|
23
23
|
Remote3,
|
|
24
24
|
Document3,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
make34
|
|
26
|
+
} from "./workspace-xacrkbdt.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service81
|
|
29
|
+
} from "./workspace-dhsyh00d.js";
|
|
30
30
|
import {
|
|
31
31
|
integrate2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./workspace-wzksmcjn.js";
|
|
33
33
|
import {
|
|
34
34
|
uri2,
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service60
|
|
36
|
+
} from "./workspace-ktjdgvwb.js";
|
|
37
37
|
import {
|
|
38
38
|
parse2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./workspace-5ga3qt8n.js";
|
|
40
40
|
import {
|
|
41
41
|
defaultServer2,
|
|
42
42
|
server2,
|
|
43
43
|
headers2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./workspace-kt3bjfbg.js";
|
|
45
45
|
import {
|
|
46
46
|
File2,
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
47
|
+
Service39
|
|
48
|
+
} from "./workspace-2c7rmx2w.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
Service52
|
|
51
|
+
} from "./workspace-d7ghtrxv.js";
|
|
52
52
|
import {
|
|
53
53
|
isSafeSegment2,
|
|
54
54
|
isSafeRelativePath2
|
|
55
|
-
} from "./
|
|
55
|
+
} from "./workspace-859w1rtj.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
ID8,
|
|
58
|
+
Input16,
|
|
59
59
|
Response2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./workspace-nma40609.js";
|
|
61
61
|
import {
|
|
62
62
|
header2,
|
|
63
|
-
|
|
64
|
-
} from "./
|
|
63
|
+
make15
|
|
64
|
+
} from "./workspace-73e0dtrh.js";
|
|
65
65
|
import {
|
|
66
66
|
onSwitch2
|
|
67
|
-
} from "./
|
|
67
|
+
} from "./workspace-twhmf8m6.js";
|
|
68
68
|
|
|
69
69
|
// src/plugin/provider/opencode.ts
|
|
70
70
|
import { isDeepStrictEqual } from "node:util";
|
|
@@ -132,7 +132,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
132
132
|
}
|
|
133
133
|
function oauth(http) {
|
|
134
134
|
return {
|
|
135
|
-
integrationID:
|
|
135
|
+
integrationID: ID18.make("opencode"),
|
|
136
136
|
method: {
|
|
137
137
|
id: methodID,
|
|
138
138
|
type: "oauth",
|
|
@@ -199,10 +199,10 @@ var OpencodePlugin2 = define({
|
|
|
199
199
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
200
200
|
const client = yield* HttpClient.HttpClient;
|
|
201
201
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
202
|
-
const config = yield*
|
|
203
|
-
const discovery = yield*
|
|
204
|
-
const skills = yield*
|
|
205
|
-
const cache = yield*
|
|
202
|
+
const config = yield* Service81;
|
|
203
|
+
const discovery = yield* Service39;
|
|
204
|
+
const skills = yield* Service60;
|
|
205
|
+
const cache = yield* Service52;
|
|
206
206
|
const scope = yield* Scope.Scope;
|
|
207
207
|
const loading = Semaphore.makeUnsafe(1);
|
|
208
208
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined };
|
|
@@ -212,7 +212,7 @@ var OpencodePlugin2 = define({
|
|
|
212
212
|
const skillDownload = yield* FiberHandle.make();
|
|
213
213
|
let reported;
|
|
214
214
|
let explainers = [];
|
|
215
|
-
const watches = yield*
|
|
215
|
+
const watches = yield* make15(ctx, http);
|
|
216
216
|
const load = Effect.fn("OpencodePlugin.load")(function* (maxAge = Duration.minutes(1)) {
|
|
217
217
|
const connection = yield* ctx.integration.connection.active("opencode");
|
|
218
218
|
if (!connection) {
|
|
@@ -250,13 +250,13 @@ var OpencodePlugin2 = define({
|
|
|
250
250
|
});
|
|
251
251
|
let integrated;
|
|
252
252
|
const integrate = Effect.fnUntraced(function* (document) {
|
|
253
|
-
yield* config.integration?.(
|
|
254
|
-
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID ===
|
|
253
|
+
yield* config.integration?.(ID18.make("opencode"), document) ?? Effect.void;
|
|
254
|
+
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID18.make("opencode"));
|
|
255
255
|
});
|
|
256
256
|
const publish = Effect.fnUntraced(function* (next) {
|
|
257
|
-
const document = next.remote && next.connection &&
|
|
258
|
-
integrationID:
|
|
259
|
-
connection: next.connection.type === "credential" ? { ...next.connection, id:
|
|
257
|
+
const document = next.remote && next.connection && make34({
|
|
258
|
+
integrationID: ID18.make("opencode"),
|
|
259
|
+
connection: next.connection.type === "credential" ? { ...next.connection, id: ID20.make(next.connection.id) } : next.connection,
|
|
260
260
|
organization: next.organization,
|
|
261
261
|
info: next.remote
|
|
262
262
|
});
|
|
@@ -319,7 +319,7 @@ var OpencodePlugin2 = define({
|
|
|
319
319
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
320
320
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
321
321
|
const server = yield* normalizeServer(server2(credential));
|
|
322
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
322
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input16)({
|
|
323
323
|
query: input.query,
|
|
324
324
|
providerID
|
|
325
325
|
}));
|
|
@@ -347,7 +347,7 @@ var OpencodePlugin2 = define({
|
|
|
347
347
|
integrate2(providers, integrated);
|
|
348
348
|
});
|
|
349
349
|
yield* ctx.provider.transform((providers) => {
|
|
350
|
-
const item = providers.get(
|
|
350
|
+
const item = providers.get(ID17.opencode);
|
|
351
351
|
if (!item)
|
|
352
352
|
return;
|
|
353
353
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -359,7 +359,7 @@ var OpencodePlugin2 = define({
|
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
361
|
yield* ctx.model.transform((models) => {
|
|
362
|
-
const item = models.provider.get(
|
|
362
|
+
const item = models.provider.get(ID17.opencode);
|
|
363
363
|
if (!item)
|
|
364
364
|
return;
|
|
365
365
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -374,7 +374,7 @@ var OpencodePlugin2 = define({
|
|
|
374
374
|
}
|
|
375
375
|
});
|
|
376
376
|
yield* ctx.websearch.transform((editor) => {
|
|
377
|
-
const provider =
|
|
377
|
+
const provider = ID8.make("opencode");
|
|
378
378
|
if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
|
|
379
379
|
editor.add(search(provider, snapshot.connection));
|
|
380
380
|
});
|
|
@@ -413,7 +413,7 @@ var OpencodePlugin2 = define({
|
|
|
413
413
|
});
|
|
414
414
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
415
415
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
416
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
416
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID17.opencode, ...Object.keys(next.remote?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
417
417
|
});
|
|
418
418
|
yield* guard(snapshot);
|
|
419
419
|
const polling = yield* FiberHandle.make();
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
5
|
ID9,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service58
|
|
7
|
+
} from "./workspace-wpevp5sd.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-2n444ktb.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-530xg6vw.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-mb7mbhnz.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./workspace-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,7 +81,7 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service58;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service93,
|
|
3
|
+
node95
|
|
4
|
+
} from "./workspace-g175b8z9.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service90,
|
|
10
|
+
node92
|
|
11
|
+
} from "./workspace-nggsj8ja.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service66,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node69
|
|
16
|
+
} from "./workspace-q6n41c1v.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./workspace-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
|
-
CreateInput: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
CreateInput: () => CreateInput3,
|
|
25
|
+
Event: () => Event2,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID5,
|
|
28
|
+
Info: () => Info5,
|
|
29
|
+
NotFoundError: () => NotFoundError3,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
32
|
-
UpdateInput: () =>
|
|
33
|
-
node: () =>
|
|
31
|
+
Service: () => Service16,
|
|
32
|
+
UpdateInput: () => UpdateInput2,
|
|
33
|
+
node: () => node18
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event2 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
45
|
-
var
|
|
42
|
+
var ID5 = Pty.ID;
|
|
43
|
+
var Info5 = Pty.Info;
|
|
44
|
+
var CreateInput3 = Pty.CreateInput;
|
|
45
|
+
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID5
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID5
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service16 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
60
|
-
const bus = yield*
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
59
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
60
|
+
const bus = yield* Service93;
|
|
61
|
+
const location = yield* Service90;
|
|
62
|
+
const shell = yield* Service66;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID5.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -255,12 +255,12 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
255
255
|
}
|
|
256
256
|
};
|
|
257
257
|
});
|
|
258
|
-
return
|
|
258
|
+
return Service16.of({ list, get, create, update, remove, write, attach });
|
|
259
259
|
}));
|
|
260
|
-
var
|
|
261
|
-
service:
|
|
260
|
+
var node18 = makeLocationNode({
|
|
261
|
+
service: Service16,
|
|
262
262
|
layer,
|
|
263
|
-
deps: [
|
|
263
|
+
deps: [node95, node92, node69]
|
|
264
264
|
});
|
|
265
265
|
|
|
266
|
-
export {
|
|
266
|
+
export { ID5, Info5, CreateInput3, UpdateInput2, NotFoundError3, ExitedError2, Service16, node18, exports_pty, Event2 };
|