@opencode/core 0.0.0-dev-1224 → 0.0.0-dev-1227
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 +84 -84
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +11 -11
- package/dist/artifact.js +262 -262
- package/dist/bus.js +84 -84
- package/dist/chunks/{state-0dnk7p9t.js → reference-00x9nxmm.js} +4 -4
- package/dist/chunks/{state-034tev2y.js → reference-034tev2y.js} +2 -2
- package/dist/chunks/{state-8gc717j2.js → reference-09ngjya1.js} +28 -28
- package/dist/chunks/{state-rgceh5wf.js → reference-0j3qq2xk.js} +20 -20
- package/dist/chunks/{state-0ma9gw4f.js → reference-0ma9gw4f.js} +2 -2
- package/dist/chunks/{state-963hk181.js → reference-0mtp185z.js} +9 -9
- package/dist/chunks/{state-eezvz286.js → reference-0r738390.js} +13 -13
- package/dist/chunks/{state-wjcg0vp3.js → reference-0t8eajta.js} +3 -3
- package/dist/chunks/{state-4p679b5s.js → reference-0vaeebmy.js} +7 -7
- package/dist/chunks/{state-chnap7qb.js → reference-0wm0n0xa.js} +20 -20
- package/dist/chunks/{state-fkkq8w99.js → reference-16zjadfb.js} +24 -24
- package/dist/chunks/{state-1zqfq3fa.js → reference-17d9a00f.js} +9 -9
- package/dist/chunks/{state-1aqsckx4.js → reference-1aqsckx4.js} +1 -1
- package/dist/chunks/{state-1aryjtsy.js → reference-1aryjtsy.js} +1 -1
- package/dist/chunks/{state-r3sws3fk.js → reference-1ccrn5h8.js} +15 -15
- package/dist/chunks/{state-1ep2p91f.js → reference-1ep2p91f.js} +2 -2
- package/dist/chunks/{state-ywxpr5ha.js → reference-1f01wfzy.js} +15 -15
- package/dist/chunks/{state-dsn35pkw.js → reference-1gjdyty6.js} +41 -41
- package/dist/chunks/{state-4gneve8v.js → reference-1hmw8kw3.js} +41 -41
- package/dist/chunks/{state-mvmm73ke.js → reference-1je8666a.js} +16 -16
- package/dist/chunks/{state-djnm8m9y.js → reference-1kvdd2n1.js} +19 -19
- package/dist/chunks/{state-1cgctss4.js → reference-1kxe4gbj.js} +25 -25
- package/dist/chunks/{state-4qfnvyqn.js → reference-1nq01p01.js} +11 -11
- package/dist/chunks/{state-1x2knyw4.js → reference-1x2knyw4.js} +1 -1
- package/dist/chunks/{state-dfpyr7py.js → reference-1xmrjm0c.js} +6 -6
- package/dist/chunks/{state-p7vhpwh8.js → reference-1yq9hg58.js} +5 -5
- package/dist/chunks/{state-cv6amnmh.js → reference-20pht57w.js} +4 -4
- package/dist/chunks/{state-d390zwf3.js → reference-233argac.js} +5 -5
- package/dist/chunks/{state-qj27vsmx.js → reference-2704n80x.js} +31 -31
- package/dist/chunks/{state-t69jc1z4.js → reference-27nrmy7e.js} +5 -5
- package/dist/chunks/{state-2bswbpgz.js → reference-2bswbpgz.js} +2 -2
- package/dist/chunks/{state-g4txs7zc.js → reference-2bxvk2a8.js} +7 -7
- package/dist/chunks/{state-85wm61p0.js → reference-2ee5hqyt.js} +12 -12
- package/dist/chunks/{state-2fc7eemy.js → reference-2fc7eemy.js} +1 -1
- package/dist/chunks/{state-jns4gqy7.js → reference-2mbjfaxd.js} +4 -4
- package/dist/chunks/{state-2prt43t7.js → reference-2prt43t7.js} +1 -1
- package/dist/chunks/{state-jxd6f16v.js → reference-2r1es908.js} +4 -4
- package/dist/chunks/{state-ktck1cjp.js → reference-2s9mae96.js} +6 -6
- package/dist/chunks/{state-wpjpmdpx.js → reference-2zacwa4s.js} +8 -8
- package/dist/chunks/{state-eqfxx9cj.js → reference-3f4qe3yz.js} +8 -8
- package/dist/chunks/{state-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-cpe35zww.js → reference-3jymkt4s.js} +4 -4
- package/dist/chunks/{state-fes325b1.js → reference-3mcdachx.js} +14 -14
- package/dist/chunks/{state-yr4nm0tc.js → reference-3p6av0db.js} +12 -12
- package/dist/chunks/{state-00ceerga.js → reference-3q1p764d.js} +43 -43
- package/dist/chunks/{state-6gjb87wc.js → reference-3qv222pb.js} +2 -2
- package/dist/chunks/{state-narxvgx9.js → reference-40kmrxas.js} +10 -10
- package/dist/chunks/{state-40y6dtc2.js → reference-40y6dtc2.js} +1 -1
- package/dist/chunks/{state-52by9wz1.js → reference-41rah55s.js} +23 -23
- package/dist/chunks/{state-0vaa0e61.js → reference-431jqdx5.js} +31 -31
- package/dist/chunks/{state-w65a8kme.js → reference-43cbgt7g.js} +4 -4
- package/dist/chunks/{state-1xhvy0a1.js → reference-43yex2p1.js} +23 -23
- package/dist/chunks/reference-47mgcevd.js +18 -0
- package/dist/chunks/{state-q3t09a1r.js → reference-49x8v4p2.js} +19 -19
- package/dist/chunks/{state-13gs6whz.js → reference-49xw20nn.js} +88 -88
- package/dist/chunks/{state-427haqbe.js → reference-4c0ptt36.js} +3 -3
- package/dist/chunks/{state-4dx1dgte.js → reference-4dx1dgte.js} +1 -1
- package/dist/chunks/{state-4f25tdd0.js → reference-4f25tdd0.js} +1 -1
- package/dist/chunks/{state-109ycj4d.js → reference-4kad5sby.js} +7 -7
- package/dist/chunks/{state-pgqxr0th.js → reference-4pw98qd4.js} +4 -4
- package/dist/chunks/{state-4pyp9zr9.js → reference-4pyp9zr9.js} +1 -1
- package/dist/chunks/{state-v159dwgd.js → reference-4qe4fvz4.js} +18 -18
- package/dist/chunks/{state-4v008n1t.js → reference-4v008n1t.js} +1 -1
- package/dist/chunks/{state-9evh4g6t.js → reference-4z4z3m1h.js} +15 -15
- package/dist/chunks/{state-s2rw6bpt.js → reference-5263gw2c.js} +30 -30
- package/dist/chunks/{state-v291rggy.js → reference-575acpkf.js} +35 -35
- package/dist/chunks/{state-qvhq5dtp.js → reference-59afrvqr.js} +11 -11
- package/dist/chunks/{state-87kxp3gn.js → reference-5ar0v554.js} +11 -11
- package/dist/chunks/{state-djkt98xq.js → reference-5kkq4zfd.js} +33 -33
- package/dist/chunks/{state-5m9w47nd.js → reference-5m9w47nd.js} +1 -1
- package/dist/chunks/{state-5n0rnk8e.js → reference-5n0rnk8e.js} +1 -1
- package/dist/chunks/{state-5nc9cxcx.js → reference-5pvm3fck.js} +81 -81
- package/dist/chunks/{state-yh9adn63.js → reference-5qkds9ec.js} +15 -15
- package/dist/chunks/{state-7v7sk204.js → reference-5z7c8zeb.js} +40 -40
- package/dist/chunks/{state-hct41e8k.js → reference-64hf0ahy.js} +16 -16
- package/dist/chunks/{state-cbat45jb.js → reference-6gqt88nq.js} +34 -34
- package/dist/chunks/{state-r4ey0dp4.js → reference-6t14jgap.js} +9 -9
- package/dist/chunks/{state-kzv3grbw.js → reference-6xdfqkmm.js} +16 -16
- package/dist/chunks/{state-9fgy5dtv.js → reference-6yj5npp1.js} +7 -7
- package/dist/chunks/{state-5wyjxme5.js → reference-6zps0eyt.js} +9 -9
- package/dist/chunks/{state-t65b4mrh.js → reference-72vz8z1n.js} +1 -1
- package/dist/chunks/{state-zqeyams7.js → reference-739mkdwg.js} +26 -26
- package/dist/chunks/{state-wfyabtyf.js → reference-7535mmt7.js} +92 -92
- package/dist/chunks/{state-mx3cbz75.js → reference-7bj45hq5.js} +23 -23
- package/dist/chunks/{state-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-aypj46ae.js → reference-7fvbxgr7.js} +60 -60
- package/dist/chunks/{state-v9wprw03.js → reference-7k23w7ky.js} +33 -33
- package/dist/chunks/{state-a9qdt05j.js → reference-7m7f43r0.js} +19 -19
- package/dist/chunks/{state-ydet8tgv.js → reference-7m9ay9h9.js} +32 -32
- package/dist/chunks/{state-6508jazp.js → reference-7mf1bgwe.js} +33 -33
- package/dist/chunks/{state-e30cnwrb.js → reference-7mq899wx.js} +12 -12
- package/dist/chunks/{state-4y5qk8wr.js → reference-7n85wec2.js} +10 -10
- package/dist/chunks/reference-7nm6pbrn.js +273 -0
- package/dist/chunks/{state-cse5rjp3.js → reference-7vmgwh22.js} +10 -10
- package/dist/chunks/{state-7w2ypzdf.js → reference-7w2ypzdf.js} +1 -1
- package/dist/chunks/{state-7weczvnd.js → reference-7weczvnd.js} +1 -1
- package/dist/chunks/{state-cr77hmd1.js → reference-7ycww88t.js} +33 -33
- package/dist/chunks/{state-xacrkbdt.js → reference-7zs4mqwf.js} +4 -4
- package/dist/chunks/{state-80mg3ag8.js → reference-80mg3ag8.js} +3 -3
- package/dist/chunks/{state-80pdk984.js → reference-80pdk984.js} +1 -1
- package/dist/chunks/{state-85jq8dht.js → reference-85jq8dht.js} +1 -1
- package/dist/chunks/{state-qvscvz7g.js → reference-862xw3n7.js} +31 -31
- package/dist/chunks/{state-8b3vzgkx.js → reference-8b3vzgkx.js} +1 -1
- package/dist/chunks/{state-dg5naf6e.js → reference-8b68693q.js} +4 -4
- package/dist/chunks/{state-6ssbb960.js → reference-8f4s1s2m.js} +13 -13
- package/dist/chunks/{state-8kjyvwy5.js → reference-8kjyvwy5.js} +1 -1
- package/dist/chunks/{state-8rapdqzr.js → reference-8rapdqzr.js} +4 -4
- package/dist/chunks/{state-8sxe6kv8.js → reference-8sxe6kv8.js} +2 -2
- package/dist/chunks/{state-zhbst51w.js → reference-8vtnq6ez.js} +19 -19
- package/dist/chunks/{state-t1cpgcqv.js → reference-8wa23hrf.js} +9 -9
- package/dist/chunks/{state-8wtp7s3z.js → reference-8wtp7s3z.js} +1 -1
- package/dist/chunks/{state-xvxdf7j2.js → reference-8yv56ax1.js} +8 -8
- package/dist/chunks/{state-8vy8myv0.js → reference-8yvb6qrs.js} +24 -24
- package/dist/chunks/{state-8zv0xmg5.js → reference-8zv0xmg5.js} +1 -1
- package/dist/chunks/{state-p6s20s7v.js → reference-927qdjxb.js} +5 -5
- package/dist/chunks/{state-tye10t2g.js → reference-98w1720y.js} +16 -16
- package/dist/chunks/{state-hd8w7nxr.js → reference-9at5db4q.js} +5 -5
- package/dist/chunks/{state-wmkrkwan.js → reference-9bgcdt6e.js} +8 -8
- package/dist/chunks/{state-yxb8rzbt.js → reference-9bm5fp1b.js} +9 -9
- package/dist/chunks/reference-9g3vqnsq.js +35 -0
- package/dist/chunks/{state-rmeffpf9.js → reference-9jcrhkep.js} +11 -11
- package/dist/chunks/{state-evw2hqks.js → reference-9jw0zbyx.js} +6 -6
- package/dist/chunks/{state-j4vp8fq6.js → reference-9m8n9zbk.js} +11 -11
- package/dist/chunks/{state-nd788t6c.js → reference-9nvad3j1.js} +7 -7
- package/dist/chunks/{state-15rmc56z.js → reference-9v84k2kg.js} +13 -13
- package/dist/chunks/{state-4vzr2b15.js → reference-9zfcngb4.js} +3 -3
- package/dist/chunks/{state-vf55m751.js → reference-ag6d02bt.js} +18 -18
- package/dist/chunks/{state-ehhg2xcr.js → reference-aggab5dn.js} +14 -14
- package/dist/chunks/{state-agje4kmn.js → reference-agje4kmn.js} +1 -1
- package/dist/chunks/{state-3djagcat.js → reference-agzxd0yp.js} +22 -22
- package/dist/chunks/{state-bbytzacy.js → reference-aj5p3q94.js} +9 -9
- package/dist/chunks/{state-s1t4haaj.js → reference-an46g3zp.js} +22 -22
- package/dist/chunks/{state-vzbnr37h.js → reference-aqb47jr5.js} +11 -11
- package/dist/chunks/{state-ayjs7tqn.js → reference-ayjs7tqn.js} +2 -2
- package/dist/chunks/{state-2fqhctvv.js → reference-b1myw6a9.js} +33 -33
- package/dist/chunks/{state-b7nkz392.js → reference-b7nkz392.js} +1 -1
- package/dist/chunks/{state-sktstmq7.js → reference-b9nc2zz0.js} +12 -12
- package/dist/chunks/{state-rp6t20zc.js → reference-br85n61x.js} +9 -9
- package/dist/chunks/{state-bstexjd6.js → reference-bstexjd6.js} +1 -1
- package/dist/chunks/{state-7z0rb6fn.js → reference-bv1pmm9v.js} +22 -22
- package/dist/chunks/{state-5strrb1w.js → reference-bv8cexqp.js} +10 -10
- package/dist/chunks/{state-w26ydvkj.js → reference-bx3kb6a3.js} +9 -9
- package/dist/chunks/{state-w0ee2s96.js → reference-bysw97n2.js} +5 -5
- package/dist/chunks/{state-enbnk4v1.js → reference-c6a3ew7b.js} +12 -12
- package/dist/chunks/{state-h4vx8t2t.js → reference-ccbwatt9.js} +4 -4
- package/dist/chunks/{state-3ck5pzsd.js → reference-ceek7szw.js} +31 -31
- package/dist/chunks/{state-f4svtajv.js → reference-chxbh3ax.js} +1 -1
- package/dist/chunks/{state-r5t319e4.js → reference-cmd5bybn.js} +13 -13
- package/dist/chunks/{state-pffxc541.js → reference-cq5jefwz.js} +29 -29
- package/dist/chunks/{state-9khz0wq9.js → reference-cwekmztx.js} +3 -3
- package/dist/chunks/{state-cwrgdav8.js → reference-cwrgdav8.js} +2 -2
- package/dist/chunks/{state-10j04twc.js → reference-d0h808eh.js} +21 -21
- package/dist/chunks/{state-phqefw3j.js → reference-d0jnzfw4.js} +3 -3
- package/dist/chunks/{state-fmers9j5.js → reference-d1v7ce6e.js} +9 -9
- package/dist/chunks/{state-d4v9tmah.js → reference-d4v9tmah.js} +2 -2
- package/dist/chunks/{state-ary6xecs.js → reference-dc5ns5sn.js} +4 -4
- package/dist/chunks/{state-36wtp86d.js → reference-dd0pvf2z.js} +4 -4
- package/dist/chunks/{state-awc294qn.js → reference-dswvnf73.js} +20 -20
- package/dist/chunks/{state-dt77769w.js → reference-dt77769w.js} +1 -1
- package/dist/chunks/{state-a60yvsvr.js → reference-e5exmn2f.js} +13 -13
- package/dist/chunks/{state-edm37t96.js → reference-edm37t96.js} +3 -3
- package/dist/chunks/{state-hd5gh2tq.js → reference-egwgys44.js} +6 -6
- package/dist/chunks/{state-ek8dn5z5.js → reference-ek8dn5z5.js} +1 -1
- package/dist/chunks/{state-d1g7k0n1.js → reference-eph60ty8.js} +4 -4
- package/dist/chunks/{state-eqw4pqj1.js → reference-eqw4pqj1.js} +2 -2
- package/dist/chunks/{state-fjwkbb1x.js → reference-eyfjfzn3.js} +5 -5
- package/dist/chunks/{state-pvh525kc.js → reference-f1ttqtp9.js} +27 -27
- package/dist/chunks/{state-yd4vfr0t.js → reference-f2r6g4vn.js} +11 -11
- package/dist/chunks/{state-nd2e51yr.js → reference-f530d63s.js} +4 -4
- package/dist/chunks/{state-8atgymfb.js → reference-f53yjwh1.js} +7 -7
- package/dist/chunks/{state-4qxrae77.js → reference-fabceh31.js} +16 -16
- package/dist/chunks/{state-gnwx4pxd.js → reference-fd97bfyb.js} +11 -11
- package/dist/chunks/{state-8c2cgf6e.js → reference-febaz1db.js} +19 -19
- package/dist/chunks/{state-fg9p65nk.js → reference-fg9p65nk.js} +2 -2
- package/dist/chunks/{state-e0xk049a.js → reference-fh3aa08y.js} +3 -3
- package/dist/chunks/{state-wz7en73q.js → reference-fhq9rvx2.js} +18 -18
- package/dist/chunks/{state-59r2jq59.js → reference-fr3fbs85.js} +35 -35
- package/dist/chunks/{state-g3v06dfq.js → reference-fr7m1ttx.js} +10 -10
- package/dist/chunks/{state-930967qy.js → reference-ft5sf8be.js} +11 -11
- package/dist/chunks/{state-n1n71mfr.js → reference-fvyngk2n.js} +12 -12
- package/dist/chunks/{state-wr3re1en.js → reference-fznmdakp.js} +4 -4
- package/dist/chunks/{state-cbce2z70.js → reference-g0fde04m.js} +4 -4
- package/dist/chunks/{state-gbjdnr5j.js → reference-gbjdnr5j.js} +2 -2
- package/dist/chunks/{state-gnz7qpne.js → reference-gg6bwa40.js} +7 -7
- package/dist/chunks/{state-hk7vvr1w.js → reference-ggndnxb4.js} +4 -4
- package/dist/chunks/{state-ghrv1g9c.js → reference-ghrv1g9c.js} +1 -1
- package/dist/chunks/{state-cqwm3s9e.js → reference-gkhbdq39.js} +7 -7
- package/dist/chunks/{state-vmwdw956.js → reference-gm1jnmb3.js} +10 -10
- package/dist/chunks/{state-6xm9jdbn.js → reference-hbjn8g43.js} +2 -2
- package/dist/chunks/{state-smk8519c.js → reference-hf3qqrbq.js} +34 -34
- package/dist/chunks/{state-hgzwgvze.js → reference-hgzwgvze.js} +2 -2
- package/dist/chunks/{state-fwmxwjyq.js → reference-hq0945cf.js} +19 -19
- package/dist/chunks/{state-px6wqt9a.js → reference-hvh5rgvm.js} +10 -10
- package/dist/chunks/{state-627a6t8n.js → reference-jggffg54.js} +11 -11
- package/dist/chunks/{state-jm70asfg.js → reference-jm70asfg.js} +1 -1
- package/dist/chunks/{state-27fqdypx.js → reference-jtx35thj.js} +15 -15
- package/dist/chunks/{state-gnrnwaff.js → reference-jwb3hmmy.js} +20 -20
- package/dist/chunks/{state-fzattvf9.js → reference-k5wgseh5.js} +50 -50
- package/dist/chunks/{state-brv6mkyx.js → reference-kbgs7tyr.js} +4 -4
- package/dist/chunks/{state-dr704ma6.js → reference-kfgdh0fw.js} +39 -39
- package/dist/chunks/{state-h0scc2f8.js → reference-kgd577v1.js} +5 -5
- package/dist/chunks/{state-ng5phben.js → reference-kj3enk7g.js} +13 -13
- package/dist/chunks/{state-hmp5x989.js → reference-kmva8a3a.js} +2 -2
- package/dist/chunks/{state-15mkcj75.js → reference-knngpxw6.js} +29 -29
- package/dist/chunks/{state-j376ae4e.js → reference-knpbkrg7.js} +4 -4
- package/dist/chunks/{state-4dg21t77.js → reference-kr6yew48.js} +61 -61
- package/dist/chunks/{state-kt3bjfbg.js → reference-kt3bjfbg.js} +1 -1
- package/dist/chunks/{state-1a9h65em.js → reference-kyewy1qy.js} +13 -13
- package/dist/chunks/{state-vjjnj6g4.js → reference-kzabqhs3.js} +13 -13
- package/dist/chunks/{state-3nft16zg.js → reference-kzavn3n8.js} +27 -27
- package/dist/chunks/{state-kzczzf4v.js → reference-kzczzf4v.js} +1 -1
- package/dist/chunks/{state-m1714858.js → reference-m1714858.js} +1 -1
- package/dist/chunks/{state-m4p4r8nc.js → reference-m4p4r8nc.js} +1 -1
- package/dist/chunks/{state-m90tx7mw.js → reference-m90tx7mw.js} +1 -1
- package/dist/chunks/{state-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-mb7mbhnz.js → reference-mb7mbhnz.js} +3 -3
- package/dist/chunks/{state-ctd3k3x6.js → reference-mdwr0wyr.js} +4 -4
- package/dist/chunks/{state-sq2460zj.js → reference-mhwr1jt7.js} +5 -5
- package/dist/chunks/{state-e9embajv.js → reference-mtjx880k.js} +19 -19
- package/dist/chunks/{state-7g1dpkev.js → reference-my0x6vax.js} +8 -8
- package/dist/chunks/{state-n320gsn2.js → reference-n320gsn2.js} +1 -1
- package/dist/chunks/{state-qq8nxmq8.js → reference-n503jqgj.js} +12 -12
- package/dist/chunks/{state-jy6nqey9.js → reference-ndp5gf92.js} +5 -5
- package/dist/chunks/{state-kqzd954s.js → reference-nf4fn5vh.js} +17 -17
- package/dist/chunks/{state-twn0g4c4.js → reference-nj08j6tz.js} +14 -14
- package/dist/chunks/{state-cjqsf6bw.js → reference-nkaf1g71.js} +9 -9
- package/dist/chunks/{state-htvtdz3s.js → reference-nn189s5v.js} +22 -22
- package/dist/chunks/{state-81d4j08k.js → reference-nng86tvp.js} +27 -27
- package/dist/chunks/{state-ksg1ge82.js → reference-nxjbgrtb.js} +5 -5
- package/dist/chunks/{state-s3jahghs.js → reference-p3tnt6dq.js} +25 -25
- package/dist/chunks/{state-r932s1aq.js → reference-p6enq2t6.js} +26 -26
- package/dist/chunks/{state-kkbwffhf.js → reference-p6x7mcpx.js} +32 -32
- package/dist/chunks/{state-p94p4v4n.js → reference-p94p4v4n.js} +1 -1
- package/dist/chunks/{state-rf2e2mym.js → reference-p976vpdt.js} +23 -23
- package/dist/chunks/{state-s1ba0vj0.js → reference-pah254n3.js} +4 -4
- package/dist/chunks/{state-9q00jv0h.js → reference-pf4j6yes.js} +15 -15
- package/dist/chunks/{state-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{state-5njhb98r.js → reference-pp44shwj.js} +6 -6
- package/dist/chunks/{state-7khw6ctp.js → reference-pqr52v8t.js} +371 -371
- package/dist/chunks/{state-emskjcb9.js → reference-pstr4srq.js} +15 -15
- package/dist/chunks/{state-y5mtf85h.js → reference-pv186ydt.js} +56 -56
- package/dist/chunks/{state-j408af94.js → reference-pvcq0543.js} +17 -17
- package/dist/chunks/{state-fp9bkp4s.js → reference-q030tjbd.js} +9 -9
- package/dist/chunks/{state-hs7q0dfv.js → reference-q2mz41mg.js} +37 -37
- package/dist/chunks/{state-nxbnzhh1.js → reference-q69fea8d.js} +3 -3
- package/dist/chunks/{state-wzf5k0ay.js → reference-q8xjmpdr.js} +9 -9
- package/dist/chunks/{state-6ey5hxvm.js → reference-qbn0p7mz.js} +55 -55
- package/dist/chunks/{state-hww5z1ja.js → reference-qdy9aj30.js} +11 -11
- package/dist/chunks/{state-tts1m72y.js → reference-qe36rwr9.js} +11 -11
- package/dist/chunks/{state-gpr6mhvd.js → reference-qgtt320c.js} +60 -60
- package/dist/chunks/{state-v9edw38w.js → reference-qny07asp.js} +6 -6
- package/dist/chunks/{state-qp7r0hxv.js → reference-qp7r0hxv.js} +1 -1
- package/dist/chunks/{state-kqtyt155.js → reference-qteqgfc1.js} +4 -4
- package/dist/chunks/{state-xnvj0mm3.js → reference-qw9j09rp.js} +3 -3
- package/dist/chunks/{state-tqnb7fam.js → reference-qxywh10x.js} +17 -17
- package/dist/chunks/{state-3nv1v92r.js → reference-r0mfs67f.js} +6 -6
- package/dist/chunks/{state-97d0bxh6.js → reference-r329jvkg.js} +23 -23
- package/dist/chunks/{state-da44vmvv.js → reference-r4zsmg1p.js} +17 -17
- package/dist/chunks/{state-6v3qw19h.js → reference-r9d0wh9d.js} +10 -10
- package/dist/chunks/{state-4bwthz3m.js → reference-ra34yqmw.js} +6 -6
- package/dist/chunks/{state-rb9dy4dg.js → reference-rb9dy4dg.js} +1 -1
- package/dist/chunks/{state-rgc9cx3e.js → reference-rgc9cx3e.js} +2 -2
- package/dist/chunks/{state-p5memtjr.js → reference-rgs8p9wd.js} +18 -18
- package/dist/chunks/{state-7r2vp639.js → reference-rjt1vwfw.js} +41 -41
- package/dist/chunks/{state-2asypf8v.js → reference-rngy16kf.js} +13 -13
- package/dist/chunks/{state-skh0vv1h.js → reference-rnntkx0z.js} +2 -2
- package/dist/chunks/{state-jv28pj5x.js → reference-rpanzb0g.js} +22 -22
- package/dist/chunks/{state-dkvpwghq.js → reference-rwwsbdae.js} +22 -22
- package/dist/chunks/{state-gpz3zcsm.js → reference-ryvn9wfg.js} +22 -22
- package/dist/chunks/{state-3qw8teq0.js → reference-s06309hq.js} +35 -35
- package/dist/chunks/{state-s47rahr7.js → reference-s47rahr7.js} +1 -1
- package/dist/chunks/{state-35tpvsnd.js → reference-s6nhdfzt.js} +23 -23
- package/dist/chunks/{state-ebxw5th9.js → reference-saca11td.js} +12 -12
- package/dist/chunks/{state-vngwnm7r.js → reference-sbgvfbs1.js} +28 -28
- package/dist/chunks/{state-fgzhd4f7.js → reference-sbvetgdd.js} +21 -21
- package/dist/chunks/{state-sbya78hr.js → reference-sbya78hr.js} +1 -1
- package/dist/chunks/{state-r0wrga32.js → reference-sbzezcpx.js} +8 -8
- package/dist/chunks/{state-2fsxdb0d.js → reference-snbqyz5m.js} +23 -23
- package/dist/chunks/{state-svcy3p9a.js → reference-svcy3p9a.js} +1 -1
- package/dist/chunks/{state-7hm90z9h.js → reference-t458mwry.js} +13 -13
- package/dist/chunks/{state-fc9qhm4k.js → reference-t51escx7.js} +15 -15
- package/dist/chunks/{state-ba5f9dy2.js → reference-tb2mrvc9.js} +4 -4
- package/dist/chunks/{state-tbpn7jtk.js → reference-tbpn7jtk.js} +1 -1
- package/dist/chunks/{state-tczq8hjw.js → reference-tczq8hjw.js} +1 -1
- package/dist/chunks/{state-nmbew64m.js → reference-td5zt956.js} +46 -46
- package/dist/chunks/{state-29t5ms5a.js → reference-tee9nshh.js} +3 -3
- package/dist/chunks/{state-v4qeya6z.js → reference-temmhxa1.js} +12 -12
- package/dist/chunks/{state-tqx9c315.js → reference-tg1vr1qt.js} +8 -8
- package/dist/chunks/{state-tg7s7b5t.js → reference-tg7s7b5t.js} +1 -1
- package/dist/chunks/{state-3nnrz6f6.js → reference-tmc7xdjs.js} +4 -4
- package/dist/chunks/{state-6a3n96rr.js → reference-tn33damj.js} +46 -46
- package/dist/chunks/{state-ttz31trp.js → reference-ttz31trp.js} +2 -2
- package/dist/chunks/{state-tvtps2q9.js → reference-tvtps2q9.js} +1 -1
- package/dist/chunks/{state-twssxy5n.js → reference-twssxy5n.js} +2 -2
- package/dist/chunks/{state-jh82ppf8.js → reference-v0p5n7ta.js} +37 -37
- package/dist/chunks/{state-e9efqbvz.js → reference-v10h1m03.js} +20 -20
- package/dist/chunks/{state-v2r1d0zg.js → reference-v2r1d0zg.js} +1 -1
- package/dist/chunks/{state-vjf35v1f.js → reference-vjf35v1f.js} +1 -1
- package/dist/chunks/{state-6pahazrx.js → reference-vq46njmt.js} +10 -10
- package/dist/chunks/{state-tnqc7dvm.js → reference-vxt5hrdb.js} +143 -143
- package/dist/chunks/{state-w2eysc6j.js → reference-w2eysc6j.js} +2 -2
- package/dist/chunks/{state-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-a0f8fvmt.js → reference-w4xw9ac5.js} +6 -6
- package/dist/chunks/{state-2kg89srt.js → reference-w79nt68w.js} +4 -4
- package/dist/chunks/{state-vq1ppevj.js → reference-w7j3r3wx.js} +8 -8
- package/dist/chunks/{state-wakvkjy4.js → reference-wakvkjy4.js} +1 -1
- package/dist/chunks/{state-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{state-wegkxhrn.js → reference-wegkxhrn.js} +2 -2
- package/dist/chunks/{state-v6atjk4t.js → reference-wkbranrv.js} +13 -13
- package/dist/chunks/{state-v8dnj16f.js → reference-wvjx415r.js} +5 -5
- package/dist/chunks/{state-r1qh9q3s.js → reference-wx9tqspf.js} +5 -5
- package/dist/chunks/{state-x150ncgg.js → reference-x150ncgg.js} +2 -2
- package/dist/chunks/{state-1h56tgqc.js → reference-x2y03ead.js} +17 -17
- package/dist/chunks/{state-k5pkx81j.js → reference-x44eb7dr.js} +3 -3
- package/dist/chunks/{state-vt4r9rmy.js → reference-x7de2wha.js} +9 -9
- package/dist/chunks/{state-6d99zds6.js → reference-xee2wrqk.js} +13 -13
- package/dist/chunks/{state-j3f8hyeg.js → reference-xmx7xj34.js} +4 -4
- package/dist/chunks/{state-5zcyx99g.js → reference-xtyr0vxr.js} +4 -4
- package/dist/chunks/{state-xxschbft.js → reference-xxschbft.js} +1 -1
- package/dist/chunks/{state-s81kawhg.js → reference-xyp0v1jm.js} +7 -7
- package/dist/chunks/{state-rgptf7vs.js → reference-xzj7cjwj.js} +20 -20
- package/dist/chunks/{state-egsmxz2f.js → reference-y0bce1k0.js} +59 -59
- package/dist/chunks/{state-eb56k80z.js → reference-y0gzch2q.js} +21 -21
- package/dist/chunks/{state-73ff1310.js → reference-y1n277rb.js} +3 -3
- package/dist/chunks/{state-t8erkws8.js → reference-y3p3hzkr.js} +5 -5
- package/dist/chunks/{state-0hhk97e6.js → reference-y81ke3f6.js} +3 -3
- package/dist/chunks/{state-rgpq9amq.js → reference-y90esxgd.js} +12 -12
- package/dist/chunks/{state-yb20nhc3.js → reference-yb20nhc3.js} +1 -1
- package/dist/chunks/{state-ynzdgah7.js → reference-yepd7x5v.js} +5 -5
- package/dist/chunks/{state-wjz4g2jq.js → reference-ymmkfntj.js} +4 -4
- package/dist/chunks/{state-yr705xyq.js → reference-yr705xyq.js} +1 -1
- package/dist/chunks/{state-yvtc2x31.js → reference-yvtc2x31.js} +1 -1
- package/dist/chunks/{state-8c2aw5yp.js → reference-yx6srf48.js} +11 -11
- package/dist/chunks/{state-9279jmms.js → reference-yxksbwb8.js} +14 -14
- package/dist/chunks/{state-7pf24df8.js → reference-yz4ny9xs.js} +39 -39
- package/dist/chunks/{state-sf9y72b7.js → reference-z080rjh6.js} +4 -4
- package/dist/chunks/{state-z0wbgq7s.js → reference-z0wbgq7s.js} +1 -1
- package/dist/chunks/{state-y8extacy.js → reference-z4rwvadd.js} +25 -25
- package/dist/chunks/{state-yzyzjx54.js → reference-z9eeta16.js} +7 -7
- package/dist/chunks/{state-3efg5d53.js → reference-ze6t155e.js} +16 -16
- package/dist/chunks/{state-ze75qvmd.js → reference-ze75qvmd.js} +3 -3
- package/dist/chunks/{state-y7v4rbnm.js → reference-zscf5gnz.js} +26 -26
- package/dist/chunks/{state-eeqr2ezx.js → reference-zwng3zs2.js} +8 -8
- package/dist/chunks/{state-wevk3aaq.js → reference-zz4cnq1f.js} +23 -23
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +149 -149
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +156 -156
- package/dist/command.js +92 -92
- 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 +113 -113
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +245 -245
- package/dist/config/plugin/compaction.js +174 -174
- package/dist/config/plugin/compatibility.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +131 -131
- package/dist/config/plugin/location-watcher.js +133 -133
- package/dist/config/plugin/mcp.js +144 -144
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +131 -131
- package/dist/config/plugin/skill-file.js +150 -150
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +157 -157
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +132 -132
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +136 -136
- 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 +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/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 +105 -105
- package/dist/effect/app-node-builder.js +448 -448
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- 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 +161 -161
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +165 -165
- 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 +258 -258
- 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 +136 -136
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +121 -121
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +113 -113
- 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 +439 -439
- package/dist/instruction-discovery.js +91 -91
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +92 -92
- 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 +189 -189
- package/dist/location-lifecycle.js +154 -154
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +436 -436
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +159 -159
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +149 -149
- package/dist/mcp/instructions.js +190 -190
- package/dist/mcp/oauth.js +90 -90
- package/dist/mcp/pool.js +110 -110
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +160 -160
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +113 -113
- package/dist/model-resolver.js +111 -111
- package/dist/model-retry.js +1 -1
- package/dist/model.js +108 -108
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +122 -122
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +87 -87
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +153 -153
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +144 -144
- package/dist/plugin/fork-notice.js +1 -1
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +249 -249
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +416 -416
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +130 -130
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +150 -150
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +135 -135
- package/dist/plugin/provider/claude-agent/aisdk.js +116 -116
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +149 -149
- package/dist/plugin/provider/claude-agent/instructions.js +113 -113
- package/dist/plugin/provider/claude-agent/integration.js +114 -114
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- 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 +109 -109
- package/dist/plugin/provider/claude-agent/session.js +111 -111
- 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 +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -111
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +144 -144
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +144 -144
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +137 -137
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +162 -162
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +91 -91
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +133 -133
- package/dist/plugin/provider/vllm.js +144 -144
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +241 -241
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +428 -428
- 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 +107 -107
- package/dist/plugin/warming.js +131 -131
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +260 -260
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +107 -107
- 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 +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +254 -254
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +268 -268
- 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 +133 -133
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +176 -176
- package/dist/session/context.js +206 -206
- 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 +274 -274
- package/dist/session/execution/subagent-report.js +144 -144
- package/dist/session/execution.js +171 -171
- package/dist/session/generate.js +208 -208
- package/dist/session/history.js +140 -140
- package/dist/session/inbox.js +149 -149
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +147 -147
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +172 -172
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +175 -175
- package/dist/session/projector.js +147 -147
- package/dist/session/prompt.js +152 -152
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +143 -143
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +261 -261
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +154 -154
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +167 -167
- package/dist/session/runner/to-llm-message.js +141 -141
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +195 -195
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +153 -153
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +146 -146
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +174 -174
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +210 -210
- package/dist/session/to-session-error.js +153 -153
- package/dist/session/transfer.js +256 -256
- package/dist/session/usage.js +1 -1
- package/dist/session.js +245 -245
- package/dist/shared-cache.js +3 -3
- 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 +151 -151
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +153 -153
- package/dist/skill.js +154 -154
- package/dist/snapshot.js +102 -102
- 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 +187 -187
- package/dist/tool/plugin/artifact.js +244 -244
- package/dist/tool/plugin/edit.js +171 -171
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +173 -173
- package/dist/tool/plugin/grep.js +166 -166
- package/dist/tool/plugin/image-generate.js +253 -253
- package/dist/tool/plugin/mcp-events.js +166 -166
- package/dist/tool/plugin/mcp-resource.js +170 -170
- package/dist/tool/plugin/opencode.js +167 -167
- package/dist/tool/plugin/patch.js +170 -170
- package/dist/tool/plugin/question.js +148 -148
- package/dist/tool/plugin/read.js +176 -176
- package/dist/tool/plugin/schedule.js +260 -260
- package/dist/tool/plugin/shell.js +245 -245
- package/dist/tool/plugin/skill.js +161 -161
- package/dist/tool/plugin/subagent.js +251 -251
- package/dist/tool/plugin/todo.js +157 -157
- package/dist/tool/plugin/webfetch.js +155 -155
- package/dist/tool/plugin/websearch.js +159 -159
- package/dist/tool/plugin/write.js +172 -172
- 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 +166 -166
- package/dist/usage-limits.js +96 -96
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +106 -106
- 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 +107 -107
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +100 -100
- package/dist/voice.js +91 -91
- package/dist/websearch.js +99 -99
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +89 -89
- 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 +111 -111
- package/package.json +9 -9
- package/dist/chunks/state-3k8dzdg4.js +0 -273
- package/dist/chunks/state-9bjnw33a.js +0 -35
- package/dist/chunks/state-ezna1kdx.js +0 -18
- /package/dist/chunks/{state-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kah00gy.js → reference-1kah00gy.js} +0 -0
- /package/dist/chunks/{state-24dcb14g.js → reference-24dcb14g.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4qk9sjk2.js → reference-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{state-5w3e23ze.js → reference-5w3e23ze.js} +0 -0
- /package/dist/chunks/{state-6agm2x70.js → reference-6agm2x70.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{state-6q2bdcd1.js → reference-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-7rvsyqjv.js → reference-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{state-84wd9syh.js → reference-84wd9syh.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-beh6qq61.js → reference-beh6qq61.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cqv5kn06.js → reference-cqv5kn06.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-ean2d8b5.js → reference-ean2d8b5.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → reference-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-fkpq3x5p.js → reference-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → reference-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hcxmzztb.js → reference-hcxmzztb.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jwr30sdr.js → reference-jwr30sdr.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-m18g726c.js → reference-m18g726c.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-nh4v3znn.js → reference-nh4v3znn.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-p71gwv9c.js → reference-p71gwv9c.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-qtf35215.js → reference-qtf35215.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-syrav9an.js → reference-syrav9an.js} +0 -0
- /package/dist/chunks/{state-t03h4f5z.js → reference-t03h4f5z.js} +0 -0
- /package/dist/chunks/{state-ty7weeps.js → reference-ty7weeps.js} +0 -0
- /package/dist/chunks/{state-v2dnd5dt.js → reference-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{state-ve7vex1e.js → reference-ve7vex1e.js} +0 -0
- /package/dist/chunks/{state-vtarvj67.js → reference-vtarvj67.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x4th4bpe.js → reference-x4th4bpe.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → reference-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-z5v4ffb3.js → reference-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → reference-z9919s4g.js} +0 -0
- /package/dist/chunks/{state-zxpyjp51.js → reference-zxpyjp51.js} +0 -0
- /package/dist/chunks/{state-zz5vv3aq.js → reference-zz5vv3aq.js} +0 -0
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service92,
|
|
3
|
+
node94
|
|
4
|
+
} from "./reference-3p6av0db.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref5,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service88,
|
|
8
|
+
node90
|
|
9
|
+
} from "./reference-ze6t155e.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service72,
|
|
12
|
+
node73
|
|
13
|
+
} from "./reference-dswvnf73.js";
|
|
14
14
|
import {
|
|
15
15
|
cleanup3
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./reference-tczq8hjw.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
Service66,
|
|
19
19
|
args2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
node67
|
|
21
|
+
} from "./reference-febaz1db.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
Service65,
|
|
24
|
+
node66,
|
|
25
25
|
available3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./reference-7m9ay9h9.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service78,
|
|
29
|
+
node80
|
|
30
|
+
} from "./reference-sbzezcpx.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service63,
|
|
33
|
+
node64
|
|
34
|
+
} from "./reference-w7j3r3wx.js";
|
|
35
35
|
import {
|
|
36
36
|
SessionSchema2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./reference-qtf35215.js";
|
|
38
38
|
import {
|
|
39
39
|
latest2,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
40
|
+
Service81,
|
|
41
|
+
node83
|
|
42
|
+
} from "./reference-qbn0p7mz.js";
|
|
43
43
|
import {
|
|
44
44
|
MAX_LINES2,
|
|
45
45
|
MAX_BYTES2
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./reference-fd97bfyb.js";
|
|
47
47
|
import {
|
|
48
48
|
__export
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./reference-9rqn6x4v.js";
|
|
50
50
|
|
|
51
51
|
// src/shell.ts
|
|
52
52
|
var exports_shell4 = {};
|
|
53
53
|
__export(exports_shell4, {
|
|
54
54
|
DIRECTORY: () => DIRECTORY2,
|
|
55
55
|
Daemon: () => Daemon2,
|
|
56
|
-
NotFoundError: () =>
|
|
56
|
+
NotFoundError: () => NotFoundError8,
|
|
57
57
|
RETENTION: () => RETENTION2,
|
|
58
|
-
Service: () =>
|
|
58
|
+
Service: () => Service62,
|
|
59
59
|
Shell: () => exports_shell4,
|
|
60
60
|
ToolCall: () => ToolCall2,
|
|
61
61
|
cleanup: () => cleanup2,
|
|
62
62
|
daemonNode: () => daemonNode2,
|
|
63
|
-
node: () =>
|
|
63
|
+
node: () => node63
|
|
64
64
|
});
|
|
65
65
|
import path from "path";
|
|
66
66
|
import {
|
|
@@ -85,7 +85,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
85
85
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
86
86
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
87
87
|
import { Global } from "@opencode/util/global";
|
|
88
|
-
class
|
|
88
|
+
class NotFoundError8 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
89
89
|
id: Shell.ID
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
@@ -114,12 +114,12 @@ var Stored = Schema.Struct({
|
|
|
114
114
|
});
|
|
115
115
|
var decodeStored = Schema.decodeUnknownOption(Stored);
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service62 extends Context.Service()("@opencode/Shell") {
|
|
118
118
|
}
|
|
119
119
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
120
120
|
const fs = yield* FSUtil.Service;
|
|
121
121
|
const global = yield* Global.Service;
|
|
122
|
-
const pty = yield*
|
|
122
|
+
const pty = yield* Service65;
|
|
123
123
|
const directory = path.join(global.data, DIRECTORY2);
|
|
124
124
|
const projects = yield* fs.readDirectoryEntries(directory).pipe(Effect.map((entries) => entries.filter((entry) => entry.type === "Directory")), Effect.orElseSucceed(() => []));
|
|
125
125
|
const files = yield* Effect.forEach(projects, (project) => fs.readDirectoryEntries(path.join(directory, project.name)).pipe(Effect.map((entries) => entries.flatMap((entry) => entry.type === "File" && /^sh_[0-9a-f]{12}.*\.out$/.test(entry.name) ? [path.join(directory, project.name, entry.name)] : [])), Effect.orElseSucceed(() => [])), { concurrency: 8 });
|
|
@@ -139,14 +139,14 @@ var cleanupLayer = Layer.effectDiscard(cleanup2().pipe(Effect.repeat(Schedule.sp
|
|
|
139
139
|
var cleanupNode = makeGlobalNode({
|
|
140
140
|
name: "shell-output-cleanup",
|
|
141
141
|
layer: cleanupLayer,
|
|
142
|
-
deps: [FSUtil.node, Global.node,
|
|
142
|
+
deps: [FSUtil.node, Global.node, node66]
|
|
143
143
|
});
|
|
144
144
|
|
|
145
145
|
class Daemon2 extends Context.Service()("@opencode/Shell/Daemon") {
|
|
146
146
|
}
|
|
147
147
|
var daemonLayer = Layer.effect(Daemon2, Effect.gen(function* () {
|
|
148
|
-
const bus = yield*
|
|
149
|
-
const pty = yield*
|
|
148
|
+
const bus = yield* Service92;
|
|
149
|
+
const pty = yield* Service65;
|
|
150
150
|
const scope = yield* Effect.scope;
|
|
151
151
|
const context = yield* Effect.context();
|
|
152
152
|
const global = yield* Global.Service;
|
|
@@ -188,7 +188,7 @@ var daemonLayer = Layer.effect(Daemon2, Effect.gen(function* () {
|
|
|
188
188
|
yield* Fiber.interrupt(run.wait);
|
|
189
189
|
yield* pty.terminatePipe(run.process).pipe(Effect.ignore);
|
|
190
190
|
yield* Effect.promise(() => unlink(run.info.file).catch(() => {}));
|
|
191
|
-
yield* Deferred.fail(run.done, new
|
|
191
|
+
yield* Deferred.fail(run.done, new NotFoundError8({ id }));
|
|
192
192
|
if (run.info.status === "running")
|
|
193
193
|
yield* bus.publish(Shell.Event.Exited, { id, status: "killed" }, { location: ref });
|
|
194
194
|
yield* bus.publish(Shell.Event.Deleted, { id }, { location: ref });
|
|
@@ -381,17 +381,17 @@ var daemonLayer = Layer.effect(Daemon2, Effect.gen(function* () {
|
|
|
381
381
|
var daemonNode2 = makeGlobalNode({
|
|
382
382
|
service: Daemon2,
|
|
383
383
|
layer: daemonLayer,
|
|
384
|
-
deps: [
|
|
384
|
+
deps: [node94, Global.node, node66]
|
|
385
385
|
});
|
|
386
|
-
var layer = () => Layer.effect(
|
|
387
|
-
const bus = yield*
|
|
388
|
-
const location = yield*
|
|
386
|
+
var layer = () => Layer.effect(Service62, Effect.gen(function* () {
|
|
387
|
+
const bus = yield* Service92;
|
|
388
|
+
const location = yield* Service88;
|
|
389
389
|
const global = yield* Global.Service;
|
|
390
|
-
const shell = yield*
|
|
391
|
-
const environment = yield*
|
|
392
|
-
const hooks = yield*
|
|
393
|
-
const environments = yield*
|
|
394
|
-
const config = yield*
|
|
390
|
+
const shell = yield* Service66;
|
|
391
|
+
const environment = yield* Service72;
|
|
392
|
+
const hooks = yield* Service78;
|
|
393
|
+
const environments = yield* Service63;
|
|
394
|
+
const config = yield* Service81;
|
|
395
395
|
const daemon = yield* Daemon2;
|
|
396
396
|
const context = yield* Effect.context();
|
|
397
397
|
const runFork = Effect.runForkWith(context);
|
|
@@ -414,7 +414,7 @@ var layer = () => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
414
414
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
415
415
|
const command = commands.get(id) ?? runs?.get(id);
|
|
416
416
|
if (!command)
|
|
417
|
-
return yield* new
|
|
417
|
+
return yield* new NotFoundError8({ id });
|
|
418
418
|
return command;
|
|
419
419
|
});
|
|
420
420
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -427,7 +427,7 @@ var layer = () => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
427
427
|
commands.delete(id);
|
|
428
428
|
if (command.timeoutFiber)
|
|
429
429
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
430
|
-
yield* Deferred.fail(command.done, new
|
|
430
|
+
yield* Deferred.fail(command.done, new NotFoundError8({ id }));
|
|
431
431
|
yield* Effect.promise(() => unlink(command.info.file).catch(() => {}));
|
|
432
432
|
if (command.info.status === "running")
|
|
433
433
|
yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
|
|
@@ -757,7 +757,7 @@ var layer = () => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
757
757
|
const command = yield* Deferred.await(ready);
|
|
758
758
|
return command.info;
|
|
759
759
|
});
|
|
760
|
-
return
|
|
760
|
+
return Service62.of({
|
|
761
761
|
create,
|
|
762
762
|
list,
|
|
763
763
|
get,
|
|
@@ -799,21 +799,21 @@ function formatSize(bytes) {
|
|
|
799
799
|
const kb = bytes / 1024;
|
|
800
800
|
return kb > 1024 ? `${(kb / 1024).toFixed(1)} MB` : `${Math.round(kb)} KB`;
|
|
801
801
|
}
|
|
802
|
-
var
|
|
803
|
-
service:
|
|
802
|
+
var node63 = makeLocationNode({
|
|
803
|
+
service: Service62,
|
|
804
804
|
layer: layer(),
|
|
805
805
|
deps: [
|
|
806
|
-
|
|
807
|
-
|
|
806
|
+
node94,
|
|
807
|
+
node90,
|
|
808
808
|
Global.node,
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
809
|
+
node67,
|
|
810
|
+
node73,
|
|
811
|
+
node80,
|
|
812
|
+
node64,
|
|
813
|
+
node83,
|
|
814
814
|
daemonNode2,
|
|
815
815
|
cleanupNode
|
|
816
816
|
]
|
|
817
817
|
});
|
|
818
818
|
|
|
819
|
-
export {
|
|
819
|
+
export { NotFoundError8, RETENTION2, DIRECTORY2, ToolCall2, Service62, cleanup2, Daemon2, daemonNode2, node63, exports_shell4 };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
NonNegativeInt2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service72
|
|
9
|
+
} from "./reference-dswvnf73.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service61
|
|
12
|
+
} from "./reference-wkbranrv.js";
|
|
13
13
|
import {
|
|
14
14
|
enabled3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-f1ttqtp9.js";
|
|
16
16
|
import {
|
|
17
17
|
invocation2,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service74
|
|
19
|
+
} from "./reference-hf3qqrbq.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service71,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./reference-z4rwvadd.js";
|
|
24
24
|
import {
|
|
25
25
|
toolFailure2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./reference-7rvsyqjv.js";
|
|
27
27
|
import {
|
|
28
28
|
output2,
|
|
29
29
|
interrupted2,
|
|
30
30
|
notice2,
|
|
31
31
|
metadata2,
|
|
32
32
|
notification2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./reference-8kjyvwy5.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
35
|
+
Service66,
|
|
36
36
|
name17
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./reference-febaz1db.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
39
|
+
NotFoundError8,
|
|
40
|
+
Service62
|
|
41
|
+
} from "./reference-7fvbxgr7.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
} from "./
|
|
43
|
+
Service29
|
|
44
|
+
} from "./reference-7535mmt7.js";
|
|
45
45
|
import {
|
|
46
46
|
scan3
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./reference-g0fde04m.js";
|
|
48
48
|
import {
|
|
49
49
|
__export
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./reference-9rqn6x4v.js";
|
|
51
51
|
|
|
52
52
|
// src/tool/plugin/shell.ts
|
|
53
53
|
var exports_shell2 = {};
|
|
54
54
|
__export(exports_shell2, {
|
|
55
55
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
56
56
|
Input: () => Input14,
|
|
57
|
-
Plugin: () =>
|
|
57
|
+
Plugin: () => Plugin55,
|
|
58
58
|
ShellTool: () => exports_shell2,
|
|
59
59
|
backgroundToolResult: () => backgroundToolResult2,
|
|
60
60
|
name: () => name14,
|
|
@@ -176,7 +176,7 @@ var startJob = Effect.fnUntraced(function* (jobs, shell, input) {
|
|
|
176
176
|
run: Effect.gen(function* () {
|
|
177
177
|
const result = yield* shell.result(info);
|
|
178
178
|
if (!result.capture)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError8({ id: info.id });
|
|
180
180
|
return { ...output2(result), status: "completed" };
|
|
181
181
|
}).pipe(Effect.tap((output) => Deferred.succeed(settled, output)), Effect.map((output) => resultMessages(output, input.timeout?.()).join(`
|
|
182
182
|
|
|
@@ -209,17 +209,17 @@ var reattach2 = Effect.fnUntraced(function* (input) {
|
|
|
209
209
|
return yield* notifying.pipe(Effect.catch((error) => Effect.logWarning("failed to report a recovered shell command", { id: input.info.id, error })));
|
|
210
210
|
yield* input.shell.watch(notifying);
|
|
211
211
|
});
|
|
212
|
-
var
|
|
212
|
+
var Plugin55 = {
|
|
213
213
|
id: "opencode.tool.shell",
|
|
214
214
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
215
|
-
const sessions = yield*
|
|
216
|
-
const jobs = yield*
|
|
217
|
-
const environment = yield*
|
|
218
|
-
const access = yield*
|
|
219
|
-
const shell = yield*
|
|
220
|
-
const shellSelect = yield*
|
|
215
|
+
const sessions = yield* Service29;
|
|
216
|
+
const jobs = yield* Service61;
|
|
217
|
+
const environment = yield* Service72;
|
|
218
|
+
const access = yield* Service71;
|
|
219
|
+
const shell = yield* Service62;
|
|
220
|
+
const shellSelect = yield* Service66;
|
|
221
221
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
222
|
-
const permission = yield*
|
|
222
|
+
const permission = yield* Service74;
|
|
223
223
|
const autoBackground = yield* enabled3("shell_timeout_background");
|
|
224
224
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
225
225
|
const target = yield* access.resolve({ path: invocation.cwd, kind: "directory" });
|
|
@@ -343,4 +343,4 @@ var Plugin37 = {
|
|
|
343
343
|
})
|
|
344
344
|
};
|
|
345
345
|
|
|
346
|
-
export { name14, DEFAULT_TIMEOUT_MS2, Input14, backgroundToolResult2, reattach2,
|
|
346
|
+
export { name14, DEFAULT_TIMEOUT_MS2, Input14, backgroundToolResult2, reattach2, Plugin55, exports_shell2 };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service23
|
|
3
|
+
} from "./reference-862xw3n7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/tool/plugin/write.ts
|
|
9
9
|
var exports_write = {};
|
|
10
10
|
__export(exports_write, {
|
|
11
|
-
Input: () =>
|
|
12
|
-
Output: () =>
|
|
13
|
-
Plugin: () =>
|
|
11
|
+
Input: () => Input12,
|
|
12
|
+
Output: () => Output9,
|
|
13
|
+
Plugin: () => Plugin34,
|
|
14
14
|
WriteTool: () => exports_write,
|
|
15
|
-
name: () =>
|
|
16
|
-
toModelContent: () =>
|
|
15
|
+
name: () => name12,
|
|
16
|
+
toModelContent: () => toModelContent6
|
|
17
17
|
});
|
|
18
18
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
|
-
var
|
|
21
|
-
var
|
|
20
|
+
var name12 = "write";
|
|
21
|
+
var Input12 = Schema.Struct({
|
|
22
22
|
path: Schema.String.annotate({
|
|
23
23
|
description: "Path to the file to write to"
|
|
24
24
|
}),
|
|
25
25
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
26
26
|
});
|
|
27
|
-
var
|
|
27
|
+
var Output9 = Schema.Struct({
|
|
28
28
|
operation: Schema.Literal("write"),
|
|
29
29
|
target: Schema.String,
|
|
30
30
|
resource: Schema.String,
|
|
31
31
|
existed: Schema.Boolean
|
|
32
32
|
});
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
34
|
+
var Plugin34 = {
|
|
35
35
|
id: "opencode.tool.write",
|
|
36
36
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
37
|
-
const fileWrite = yield*
|
|
37
|
+
const fileWrite = yield* Service23;
|
|
38
38
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
39
|
-
name:
|
|
39
|
+
name: name12,
|
|
40
40
|
options: { codemode: false, permission: "edit" },
|
|
41
41
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
42
42
|
|
|
43
43
|
Missing parent directories are created automatically.
|
|
44
44
|
|
|
45
45
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
46
|
-
input:
|
|
47
|
-
output:
|
|
46
|
+
input: Input12,
|
|
47
|
+
output: Output9,
|
|
48
48
|
execute: (input, context) => Effect.gen(function* () {
|
|
49
49
|
const written = yield* fileWrite.write(input, context);
|
|
50
50
|
return {
|
|
@@ -53,9 +53,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
53
53
|
resource: written.resource,
|
|
54
54
|
existed: written.existed
|
|
55
55
|
};
|
|
56
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
56
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
57
57
|
})).pipe(Effect.orDie);
|
|
58
58
|
})
|
|
59
59
|
};
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { name12, Input12, Output9, toModelContent6, Plugin34, exports_write };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service92,
|
|
3
|
+
node94
|
|
4
|
+
} from "./reference-3p6av0db.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-febaz1db.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-v2dnd5dt.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
19
|
InvalidCwdError: () => InvalidCwdError2,
|
|
20
|
-
NotFoundError: () =>
|
|
21
|
-
Options: () =>
|
|
20
|
+
NotFoundError: () => NotFoundError9,
|
|
21
|
+
Options: () => Options5,
|
|
22
22
|
PersistentPty: () => exports_persistent_pty,
|
|
23
23
|
ProcessNotFoundError: () => ProcessNotFoundError2,
|
|
24
24
|
RequestError: () => RequestError3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
UnavailableError: () =>
|
|
25
|
+
Service: () => Service65,
|
|
26
|
+
UnavailableError: () => UnavailableError5,
|
|
27
27
|
available: () => available3,
|
|
28
|
-
configured: () =>
|
|
29
|
-
layer: () =>
|
|
28
|
+
configured: () => configured6,
|
|
29
|
+
layer: () => layer25,
|
|
30
30
|
layerWith: () => layerWith2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node66
|
|
32
32
|
});
|
|
33
33
|
import { stat } from "node:fs/promises";
|
|
34
34
|
import path from "node:path";
|
|
@@ -48,12 +48,12 @@ import { Global } from "@opencode/util/global";
|
|
|
48
48
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
49
49
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
50
50
|
import { available as available3 } from "#persistent-pty-binary";
|
|
51
|
-
var
|
|
51
|
+
var Options5 = Schema.Struct({
|
|
52
52
|
handoff: Schema.optional(Handoff),
|
|
53
53
|
root: Schema.optional(Schema.String)
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class UnavailableError5 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
57
57
|
message: Schema.String
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
@@ -63,7 +63,7 @@ class RequestError3 extends Schema.TaggedError()("PersistentPty.RequestError", {
|
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError9 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
67
67
|
ptyID: Pty.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -77,10 +77,10 @@ class InvalidCwdError2 extends Schema.TaggedError()("PersistentPty.InvalidCwdErr
|
|
|
77
77
|
}) {
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
class
|
|
80
|
+
class Service65 extends Context.Service()("@opencode/PersistentPty") {
|
|
81
81
|
}
|
|
82
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
83
|
-
const bus = yield*
|
|
82
|
+
var makeLayer = (options = {}) => Layer.effect(Service65, Effect.gen(function* () {
|
|
83
|
+
const bus = yield* Service92;
|
|
84
84
|
const global = yield* Global.Service;
|
|
85
85
|
const context = yield* Effect.context();
|
|
86
86
|
const runFork = Effect.runForkWith(context);
|
|
@@ -103,7 +103,7 @@ var makeLayer = (options = {}) => Layer.effect(Service49, Effect.gen(function* (
|
|
|
103
103
|
const parsed = parseID(id);
|
|
104
104
|
const found = parsed === undefined ? undefined : yield* lookup(daemon, parsed).pipe(Effect.mapError(unavailable));
|
|
105
105
|
if (found?.mode !== "pty")
|
|
106
|
-
return yield* new
|
|
106
|
+
return yield* new NotFoundError9({ ptyID: id });
|
|
107
107
|
return toInfo(found);
|
|
108
108
|
});
|
|
109
109
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -163,7 +163,7 @@ var makeLayer = (options = {}) => Layer.effect(Service49, Effect.gen(function* (
|
|
|
163
163
|
});
|
|
164
164
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
165
165
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
166
|
-
return yield* new
|
|
166
|
+
return yield* new UnavailableError5({ message: "lines must be an integer between 1 and 65535" });
|
|
167
167
|
const id = current.get(sessionID);
|
|
168
168
|
if (!id)
|
|
169
169
|
return null;
|
|
@@ -297,7 +297,7 @@ var makeLayer = (options = {}) => Layer.effect(Service49, Effect.gen(function* (
|
|
|
297
297
|
return yield* unexpectedPipe(response);
|
|
298
298
|
return response.processes.map(toPipeInfo);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service65.of({
|
|
301
301
|
list,
|
|
302
302
|
get,
|
|
303
303
|
create,
|
|
@@ -322,14 +322,14 @@ var makeLayer = (options = {}) => Layer.effect(Service49, Effect.gen(function* (
|
|
|
322
322
|
listPipes
|
|
323
323
|
});
|
|
324
324
|
}));
|
|
325
|
-
var
|
|
325
|
+
var layer25 = makeLayer();
|
|
326
326
|
var layerWith2 = (options) => makeLayer(options);
|
|
327
|
-
var
|
|
328
|
-
service:
|
|
329
|
-
layer: options === undefined ?
|
|
330
|
-
deps: [
|
|
327
|
+
var configured6 = (options) => makeGlobalNode({
|
|
328
|
+
service: Service65,
|
|
329
|
+
layer: options === undefined ? layer25 : makeLayer(options),
|
|
330
|
+
deps: [node94, Global.node]
|
|
331
331
|
});
|
|
332
|
-
var
|
|
332
|
+
var node66 = configured6();
|
|
333
333
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
334
334
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
335
335
|
var lookup = (daemon, id) => daemon.requestIfRunning({ op: "get", id }).pipe(Effect.catchIf((error) => error.kind === "request", () => Effect.succeed(undefined)), Effect.flatMap((response) => {
|
|
@@ -339,9 +339,9 @@ var lookup = (daemon, id) => daemon.requestIfRunning({ op: "get", id }).pipe(Eff
|
|
|
339
339
|
return Effect.fail(new Error(`unexpected opencode-pty response: ${response.type}`));
|
|
340
340
|
return Effect.succeed(response.process);
|
|
341
341
|
}));
|
|
342
|
-
var unexpected = (response) => Effect.fail(new
|
|
343
|
-
var unavailable = (error) => new
|
|
344
|
-
var pipeError = (error) => error.kind === "request" || error.kind === "response" ? new RequestError3({ message: error.message }) : new
|
|
342
|
+
var unexpected = (response) => Effect.fail(new UnavailableError5({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
343
|
+
var unavailable = (error) => new UnavailableError5({ message: error instanceof Error ? error.message : String(error) });
|
|
344
|
+
var pipeError = (error) => error.kind === "request" || error.kind === "response" ? new RequestError3({ message: error.message }) : new UnavailableError5({ message: error.message });
|
|
345
345
|
var unexpectedPipe = (response) => Effect.fail(new RequestError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
346
346
|
function toInfo(value) {
|
|
347
347
|
if (!value.pty)
|
|
@@ -414,4 +414,4 @@ function fromID(value) {
|
|
|
414
414
|
return parsed;
|
|
415
415
|
}
|
|
416
416
|
|
|
417
|
-
export {
|
|
417
|
+
export { Options5, UnavailableError5, RequestError3, NotFoundError9, ProcessNotFoundError2, InvalidCwdError2, Service65, layer25, layerWith2, configured6, node66, exports_persistent_pty, Handoff2, available3 };
|