@opencode/core 0.0.0-dev-986 → 0.0.0-dev-988
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 +90 -90
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +238 -238
- package/dist/bus.js +86 -86
- package/dist/chunks/{location-activity-szsz3sxw.js → persistent-pty-00d8nzmf.js} +9 -9
- package/dist/chunks/{location-activity-4bg6e3je.js → persistent-pty-00na28bw.js} +19 -19
- package/dist/chunks/{location-activity-zbsq3shk.js → persistent-pty-021eawgn.js} +57 -57
- package/dist/chunks/{location-activity-nvz64ws4.js → persistent-pty-0bgm53cb.js} +8 -8
- package/dist/chunks/{location-activity-ffz7ygsj.js → persistent-pty-0g5c7cmg.js} +11 -11
- package/dist/chunks/{location-activity-6r5n26f0.js → persistent-pty-0k2ysg4e.js} +43 -43
- package/dist/chunks/{location-activity-0ma9gw4f.js → persistent-pty-0ma9gw4f.js} +2 -2
- package/dist/chunks/{location-activity-0php2d2a.js → persistent-pty-0mgprbja.js} +4 -4
- package/dist/chunks/{location-activity-4be4kb8k.js → persistent-pty-0w8j3sch.js} +34 -34
- package/dist/chunks/{location-activity-gzwqqkjm.js → persistent-pty-0xrjkq89.js} +15 -15
- package/dist/chunks/{location-activity-jqeghcwb.js → persistent-pty-1229n7m7.js} +22 -22
- package/dist/chunks/{location-activity-zza7aevg.js → persistent-pty-169eh6gv.js} +11 -11
- package/dist/chunks/{location-activity-j145syf3.js → persistent-pty-18b1hh0p.js} +9 -9
- package/dist/chunks/{location-activity-nbbysefx.js → persistent-pty-1920g9pm.js} +6 -6
- package/dist/chunks/{location-activity-1aqsckx4.js → persistent-pty-1aqsckx4.js} +1 -1
- package/dist/chunks/{location-activity-x5neeve2.js → persistent-pty-1d2avepr.js} +12 -12
- package/dist/chunks/{location-activity-865vrn5y.js → persistent-pty-1ee83ay6.js} +43 -43
- package/dist/chunks/{location-activity-za8jtn93.js → persistent-pty-1hgracqd.js} +19 -19
- package/dist/chunks/{location-activity-anf2wv35.js → persistent-pty-1j2vdga2.js} +27 -27
- package/dist/chunks/{location-activity-rvn5wmv4.js → persistent-pty-1k9axd8y.js} +30 -30
- package/dist/chunks/{location-activity-19b2ztj7.js → persistent-pty-1n2wt30b.js} +11 -11
- package/dist/chunks/{location-activity-qhpwjzc9.js → persistent-pty-1p31vrwb.js} +12 -12
- package/dist/chunks/{location-activity-0baxn5me.js → persistent-pty-1sesbncw.js} +5 -5
- package/dist/chunks/{location-activity-1x2knyw4.js → persistent-pty-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-activity-gk36wn3f.js → persistent-pty-1yey6n2a.js} +14 -14
- package/dist/chunks/{location-activity-p7vhpwh8.js → persistent-pty-1yq9hg58.js} +5 -5
- package/dist/chunks/{location-activity-ay3zev2q.js → persistent-pty-1zt7z6nh.js} +15 -15
- package/dist/chunks/{location-activity-71maf361.js → persistent-pty-20pz8hm4.js} +25 -25
- package/dist/chunks/{location-activity-25h84942.js → persistent-pty-25h84942.js} +1 -1
- package/dist/chunks/{location-activity-p322hpaa.js → persistent-pty-2664dn9w.js} +25 -25
- package/dist/chunks/{location-activity-jjvvtnfs.js → persistent-pty-26wfx3k0.js} +4 -4
- package/dist/chunks/{location-activity-1mcnkjvx.js → persistent-pty-27ka4x0n.js} +9 -9
- package/dist/chunks/{location-activity-1ep2p91f.js → persistent-pty-27w5k9zf.js} +2 -2
- package/dist/chunks/{location-activity-hjesbdab.js → persistent-pty-2de9bpp3.js} +11 -11
- package/dist/chunks/{location-activity-yp2c7qyq.js → persistent-pty-2ezzn69c.js} +6 -6
- package/dist/chunks/{location-activity-2fc7eemy.js → persistent-pty-2fc7eemy.js} +1 -1
- package/dist/chunks/{location-activity-fajefbq3.js → persistent-pty-2gsh130x.js} +173 -173
- package/dist/chunks/{location-activity-v0t96s7a.js → persistent-pty-2kg89srt.js} +4 -4
- package/dist/chunks/{location-activity-hd6qzbyk.js → persistent-pty-2nh0ey4b.js} +12 -12
- package/dist/chunks/{location-activity-7f9v5fyh.js → persistent-pty-2ntxzg74.js} +2 -2
- package/dist/chunks/{location-activity-6tw5mxqh.js → persistent-pty-2pjsby5k.js} +36 -36
- package/dist/chunks/{location-activity-1nh45web.js → persistent-pty-2q09cksc.js} +23 -23
- package/dist/chunks/{location-activity-e3sa5501.js → persistent-pty-2r9gcp3b.js} +9 -9
- package/dist/chunks/{location-activity-dk82z2w3.js → persistent-pty-2vywdpsz.js} +19 -19
- package/dist/chunks/{location-activity-q05knjwt.js → persistent-pty-2w47fmb5.js} +10 -10
- package/dist/chunks/{location-activity-xzfe9smq.js → persistent-pty-31f9vfby.js} +15 -15
- package/dist/chunks/{location-activity-pm53prtp.js → persistent-pty-377e96qy.js} +13 -13
- package/dist/chunks/{location-activity-zydqhvyw.js → persistent-pty-379m7qbk.js} +14 -14
- package/dist/chunks/{location-activity-38aws4xb.js → persistent-pty-38aws4xb.js} +1 -1
- package/dist/chunks/{location-activity-xjbsd7zy.js → persistent-pty-3adw4bt5.js} +9 -9
- package/dist/chunks/{location-activity-ayjs7tqn.js → persistent-pty-3cbjf1nt.js} +2 -2
- package/dist/chunks/{location-activity-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-activity-91m5a7bh.js → persistent-pty-3k928xyp.js} +17 -17
- package/dist/chunks/{location-activity-3nnrz6f6.js → persistent-pty-3nnrz6f6.js} +1 -1
- package/dist/chunks/{location-activity-cre43kq6.js → persistent-pty-3sfneeay.js} +27 -27
- package/dist/chunks/{location-activity-sm2hvpwp.js → persistent-pty-3xt58t8k.js} +22 -22
- package/dist/chunks/{location-activity-40y6dtc2.js → persistent-pty-40y6dtc2.js} +1 -1
- package/dist/chunks/{location-activity-r41sfy63.js → persistent-pty-40za9wsf.js} +6 -6
- package/dist/chunks/{location-activity-eqp4vzmr.js → persistent-pty-410cmxqw.js} +13 -13
- package/dist/chunks/{location-activity-8a23t8rd.js → persistent-pty-4c380jdv.js} +5 -5
- package/dist/chunks/{location-activity-4dx1dgte.js → persistent-pty-4dx1dgte.js} +1 -1
- package/dist/chunks/{location-activity-4f25tdd0.js → persistent-pty-4f25tdd0.js} +1 -1
- package/dist/chunks/{location-activity-ccp6j38y.js → persistent-pty-4gx9s146.js} +8 -8
- package/dist/chunks/{location-activity-9ae0dp5z.js → persistent-pty-4h3am8af.js} +46 -46
- package/dist/chunks/persistent-pty-4h45rre0.js +26 -0
- package/dist/chunks/{location-activity-4pyp9zr9.js → persistent-pty-4pyp9zr9.js} +1 -1
- package/dist/chunks/{location-activity-7cx4ny61.js → persistent-pty-4qr8me9t.js} +38 -38
- package/dist/chunks/{location-activity-4v008n1t.js → persistent-pty-4v008n1t.js} +1 -1
- package/dist/chunks/{location-activity-h5chy42v.js → persistent-pty-4vzr2b15.js} +3 -3
- package/dist/chunks/{location-activity-b8n4d4xm.js → persistent-pty-576xydex.js} +5 -5
- package/dist/chunks/{location-activity-bx3khen1.js → persistent-pty-5eh9tjaj.js} +15 -15
- package/dist/chunks/{location-activity-zxsdpqtz.js → persistent-pty-5f32stg6.js} +26 -26
- package/dist/chunks/{location-activity-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-activity-n96wbhab.js → persistent-pty-5sz6y1na.js} +9 -9
- package/dist/chunks/persistent-pty-61jdfweb.js +571 -0
- package/dist/chunks/{location-activity-anv1e2yr.js → persistent-pty-62860jrq.js} +8 -8
- package/dist/chunks/{location-activity-9e41wzsd.js → persistent-pty-65n9jqtg.js} +11 -11
- package/dist/chunks/{location-activity-mtmnkteh.js → persistent-pty-65v8315f.js} +23 -23
- package/dist/chunks/{location-activity-8b65p2wt.js → persistent-pty-6679kzb1.js} +5 -5
- package/dist/chunks/{location-activity-efzbp3gx.js → persistent-pty-679f891g.js} +50 -50
- package/dist/chunks/{location-activity-266325jp.js → persistent-pty-67mxzy6e.js} +7 -7
- package/dist/chunks/{location-activity-8xz27cp9.js → persistent-pty-67wwskyb.js} +4 -4
- package/dist/chunks/{location-activity-b7r7xaex.js → persistent-pty-6eq73h10.js} +10 -10
- package/dist/chunks/{location-activity-ke9w2rwb.js → persistent-pty-6n49gz2e.js} +34 -34
- package/dist/chunks/{location-activity-ypqvz8pf.js → persistent-pty-6ptss8kd.js} +16 -16
- package/dist/chunks/{location-activity-ahnmz6t0.js → persistent-pty-6t6mca70.js} +25 -25
- package/dist/chunks/{location-activity-395zw1h1.js → persistent-pty-6vh0vyy2.js} +4 -4
- package/dist/chunks/{location-activity-6y2b864j.js → persistent-pty-6y2b864j.js} +1 -1
- package/dist/chunks/{location-activity-s0776vef.js → persistent-pty-75ryxqjp.js} +31 -31
- package/dist/chunks/{location-activity-f2ta3wkr.js → persistent-pty-79ktbp6e.js} +9 -9
- package/dist/chunks/{location-activity-1h942abs.js → persistent-pty-7a9fk795.js} +5 -5
- package/dist/chunks/{location-activity-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-activity-m9y43cp9.js → persistent-pty-7c4w75tq.js} +8 -8
- package/dist/chunks/{location-activity-65zzbc8y.js → persistent-pty-7ke2z32d.js} +6 -6
- package/dist/chunks/{location-activity-5b6fb8a7.js → persistent-pty-7nedf101.js} +28 -28
- package/dist/chunks/{location-activity-7w2ypzdf.js → persistent-pty-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-activity-7weczvnd.js → persistent-pty-7weczvnd.js} +1 -1
- package/dist/chunks/{location-activity-775hqbnd.js → persistent-pty-80mg3ag8.js} +3 -3
- package/dist/chunks/{location-activity-80pdk984.js → persistent-pty-80pdk984.js} +1 -1
- package/dist/chunks/{location-activity-brzbb49s.js → persistent-pty-889n34gd.js} +6 -6
- package/dist/chunks/{location-activity-ybwqhjm1.js → persistent-pty-88qcpm0s.js} +15 -15
- package/dist/chunks/{location-activity-89287pr7.js → persistent-pty-89287pr7.js} +1 -1
- package/dist/chunks/{location-activity-qv6bgrtq.js → persistent-pty-8a5ffhv6.js} +16 -16
- package/dist/chunks/{location-activity-hgyr5p7w.js → persistent-pty-8djgdk72.js} +34 -34
- package/dist/chunks/{location-activity-sgwacr3g.js → persistent-pty-8kahevqa.js} +11 -11
- package/dist/chunks/{location-activity-wpxbkpg7.js → persistent-pty-8ph304nh.js} +56 -56
- package/dist/chunks/{location-activity-8wtp7s3z.js → persistent-pty-8wtp7s3z.js} +1 -1
- package/dist/chunks/persistent-pty-8x060fmy.js +18 -0
- package/dist/chunks/{location-activity-fmq3ytxm.js → persistent-pty-8x1c8cbs.js} +27 -27
- package/dist/chunks/{location-activity-mb7mbhnz.js → persistent-pty-8z6m94af.js} +3 -3
- package/dist/chunks/{location-activity-8zv0xmg5.js → persistent-pty-8zv0xmg5.js} +1 -1
- package/dist/chunks/{location-activity-dg7gdepq.js → persistent-pty-90hn1ef8.js} +41 -41
- package/dist/chunks/{location-activity-vjq9kec3.js → persistent-pty-9180dk1z.js} +89 -89
- package/dist/chunks/{location-activity-f0cfj3hk.js → persistent-pty-91zax5nz.js} +7 -7
- package/dist/chunks/{location-activity-a3s1s8y9.js → persistent-pty-96gx2220.js} +41 -41
- package/dist/chunks/{location-activity-b2qfg8rk.js → persistent-pty-9e1p320x.js} +11 -11
- package/dist/chunks/{location-activity-vt4r9rmy.js → persistent-pty-9f3jsh1d.js} +9 -9
- package/dist/chunks/{location-activity-9rqfe4ad.js → persistent-pty-9rqfe4ad.js} +1 -1
- package/dist/chunks/{location-activity-a8mncsd2.js → persistent-pty-9vktj2ym.js} +11 -11
- package/dist/chunks/{location-activity-t8erkws8.js → persistent-pty-9zwexsxs.js} +5 -5
- package/dist/chunks/{location-activity-wvyme1mh.js → persistent-pty-aj3tvxn5.js} +49 -49
- package/dist/chunks/{location-activity-034tev2y.js → persistent-pty-aj7mw0zk.js} +2 -2
- package/dist/chunks/{location-activity-vc1skqsc.js → persistent-pty-ayfgzbqc.js} +30 -30
- package/dist/chunks/{location-activity-fqgzhbp5.js → persistent-pty-azaz8swp.js} +59 -59
- package/dist/chunks/{location-activity-qh2vw6r3.js → persistent-pty-b9ww1fvf.js} +8 -8
- package/dist/chunks/{location-activity-0cv6d17b.js → persistent-pty-ba8zvn9k.js} +18 -18
- package/dist/chunks/{location-activity-8sxe6kv8.js → persistent-pty-bb3mmwvh.js} +2 -2
- package/dist/chunks/{location-activity-2f442gpv.js → persistent-pty-bcbefk6v.js} +31 -31
- package/dist/chunks/{location-activity-xad1gvt8.js → persistent-pty-bj78ahtb.js} +7 -7
- package/dist/chunks/{location-activity-ekz8wcte.js → persistent-pty-bjm764ph.js} +37 -37
- package/dist/chunks/{location-activity-j07ycygx.js → persistent-pty-bs9ct2t6.js} +9 -9
- package/dist/chunks/{location-activity-xd9cc171.js → persistent-pty-bstexjd6.js} +5 -5
- package/dist/chunks/{location-activity-7qfe92n9.js → persistent-pty-by3dfb9a.js} +5 -5
- package/dist/chunks/{location-activity-c7ykw8ef.js → persistent-pty-cahhqd74.js} +17 -17
- package/dist/chunks/{location-activity-7p8x407c.js → persistent-pty-cb5xn3e4.js} +35 -35
- package/dist/chunks/{location-activity-mqee43qv.js → persistent-pty-cct49zht.js} +5 -5
- package/dist/chunks/{location-activity-483zwgb0.js → persistent-pty-cebm6gh7.js} +26 -26
- package/dist/chunks/{location-activity-p548v14x.js → persistent-pty-cgvm0v2b.js} +5 -5
- package/dist/chunks/{location-activity-2dxmz7te.js → persistent-pty-chs9fz48.js} +32 -32
- package/dist/chunks/{location-activity-wy2y7272.js → persistent-pty-cnj75yzs.js} +4 -4
- package/dist/chunks/{location-activity-9r480bk6.js → persistent-pty-cqb0n3fq.js} +16 -16
- package/dist/chunks/{location-activity-40cqa2b9.js → persistent-pty-crrcr980.js} +8 -8
- package/dist/chunks/{location-activity-cwrgdav8.js → persistent-pty-cwrgdav8.js} +2 -2
- package/dist/chunks/{location-activity-5pzdwm6e.js → persistent-pty-cycwgpca.js} +10 -10
- package/dist/chunks/{location-activity-sqvd24qv.js → persistent-pty-d01dvtjs.js} +9 -9
- package/dist/chunks/{location-activity-nhjbks8k.js → persistent-pty-d19j6trw.js} +41 -41
- package/dist/chunks/{location-activity-m052192b.js → persistent-pty-d1x1e4m3.js} +7 -7
- package/dist/chunks/{location-activity-d4v9tmah.js → persistent-pty-d4v9tmah.js} +2 -2
- package/dist/chunks/{location-activity-74zfrwb9.js → persistent-pty-dbwvxspc.js} +5 -5
- package/dist/chunks/{location-activity-w6h7t2r9.js → persistent-pty-ddkyqs5k.js} +16 -16
- package/dist/chunks/{location-activity-f0epbzpj.js → persistent-pty-dj72n6pz.js} +47 -47
- package/dist/chunks/{location-activity-2q8t7c78.js → persistent-pty-ds45kb71.js} +20 -20
- package/dist/chunks/{location-activity-dt77769w.js → persistent-pty-dt77769w.js} +1 -1
- package/dist/chunks/{location-activity-gn3has1x.js → persistent-pty-dxzcjhf2.js} +52 -52
- package/dist/chunks/{location-activity-j1pahscc.js → persistent-pty-dyyem79e.js} +22 -22
- package/dist/chunks/{location-activity-cf2c56bx.js → persistent-pty-e2kjgcxh.js} +4 -4
- package/dist/chunks/{location-activity-hpz2nafz.js → persistent-pty-e57s5jf4.js} +10 -10
- package/dist/chunks/{location-activity-7509kqk9.js → persistent-pty-e7h7pgt8.js} +9 -9
- package/dist/chunks/{location-activity-r4sjcxp2.js → persistent-pty-eab8jqyn.js} +77 -77
- package/dist/chunks/{location-activity-czxw5292.js → persistent-pty-eevmahfp.js} +70 -70
- package/dist/chunks/{location-activity-8b9g9km2.js → persistent-pty-ekscjtd6.js} +26 -26
- package/dist/chunks/{location-activity-eqw4pqj1.js → persistent-pty-eqw4pqj1.js} +2 -2
- package/dist/chunks/{location-activity-6xvf11x0.js → persistent-pty-f146xf76.js} +8 -8
- package/dist/chunks/{location-activity-ky5ygjm5.js → persistent-pty-fangmcnr.js} +12 -12
- package/dist/chunks/{location-activity-sf55jp8q.js → persistent-pty-fcrx8q29.js} +5 -5
- package/dist/chunks/{location-activity-d1qq42fs.js → persistent-pty-fej0mc5f.js} +15 -15
- package/dist/chunks/{location-activity-9a4egc33.js → persistent-pty-ff5bbvbq.js} +8 -8
- package/dist/chunks/{location-activity-fffv3p7h.js → persistent-pty-fffv3p7h.js} +1 -1
- package/dist/chunks/{location-activity-fg9p65nk.js → persistent-pty-fg9p65nk.js} +2 -2
- package/dist/chunks/{location-activity-0c7bpw4e.js → persistent-pty-fmjsjtqm.js} +4 -4
- package/dist/chunks/{location-activity-6dtpdawt.js → persistent-pty-fsfxa1dm.js} +12 -12
- package/dist/chunks/{location-activity-cm0nas3h.js → persistent-pty-fwc5tj9a.js} +4 -4
- package/dist/chunks/{location-activity-9w9nnxsg.js → persistent-pty-fyazzfvp.js} +19 -19
- package/dist/chunks/{location-activity-weqc7sb9.js → persistent-pty-fyfzbt3s.js} +2 -2
- package/dist/chunks/{location-activity-b26ddj6h.js → persistent-pty-g4txs7zc.js} +4 -4
- package/dist/chunks/{location-activity-98qmwjqb.js → persistent-pty-g5mpag0z.js} +28 -28
- package/dist/chunks/{location-activity-gbjdnr5j.js → persistent-pty-gbjdnr5j.js} +2 -2
- package/dist/chunks/{location-activity-9vg4t3y4.js → persistent-pty-ge33ydrf.js} +14 -14
- package/dist/chunks/{location-activity-2ebkj7jt.js → persistent-pty-ge5a5w7j.js} +4 -4
- package/dist/chunks/{location-activity-mn5qaxsg.js → persistent-pty-gfa77hh3.js} +3 -3
- package/dist/chunks/{location-activity-ghrv1g9c.js → persistent-pty-ghrv1g9c.js} +1 -1
- package/dist/chunks/{location-activity-nw5eecxx.js → persistent-pty-gnkmn8c6.js} +1 -1
- package/dist/chunks/{location-activity-xab8adcc.js → persistent-pty-gpgjm6pk.js} +12 -12
- package/dist/chunks/{location-activity-r0vqzna3.js → persistent-pty-gra18tqp.js} +2 -2
- package/dist/chunks/{location-activity-p1y05x6y.js → persistent-pty-grccfrgp.js} +23 -23
- package/dist/chunks/{location-activity-gc6rk9wr.js → persistent-pty-gs4n4z2g.js} +6 -6
- package/dist/chunks/{location-activity-7rt2z6mr.js → persistent-pty-gwa1e55p.js} +9 -9
- package/dist/chunks/{location-activity-gwyytpcj.js → persistent-pty-gwyytpcj.js} +3 -3
- package/dist/chunks/{location-activity-tg7s7b5t.js → persistent-pty-gxs71cxp.js} +4 -4
- package/dist/chunks/{location-activity-ese0v5z8.js → persistent-pty-h27z0pdg.js} +23 -23
- package/dist/chunks/{location-activity-4vb51pdf.js → persistent-pty-hbpy0rcn.js} +3 -3
- package/dist/chunks/{location-activity-2xcf425m.js → persistent-pty-hfcgeme7.js} +5 -5
- package/dist/chunks/{location-activity-hgzwgvze.js → persistent-pty-hgzwgvze.js} +2 -2
- package/dist/chunks/{location-activity-hj0xet7m.js → persistent-pty-hj0xet7m.js} +2 -2
- package/dist/chunks/{location-activity-4gzf4nj8.js → persistent-pty-hrqdgrax.js} +20 -20
- package/dist/chunks/{location-activity-aa8dz5hg.js → persistent-pty-j0c5b0my.js} +9 -9
- package/dist/chunks/{location-activity-2m768y8f.js → persistent-pty-j0zznkf8.js} +28 -28
- package/dist/chunks/{location-activity-b2nw82c8.js → persistent-pty-j2k5pa8j.js} +11 -11
- package/dist/chunks/{location-activity-tr8x705m.js → persistent-pty-j376ae4e.js} +5 -5
- package/dist/chunks/{location-activity-w1h73sev.js → persistent-pty-j3hkn5rx.js} +12 -12
- package/dist/chunks/{location-activity-yjzdh96x.js → persistent-pty-jc8zng93.js} +16 -16
- package/dist/chunks/{location-activity-8zw1zzrq.js → persistent-pty-jh913zzv.js} +4 -4
- package/dist/chunks/{location-activity-jm70asfg.js → persistent-pty-jm70asfg.js} +1 -1
- package/dist/chunks/{location-activity-3msgpv8f.js → persistent-pty-jpyq6v5r.js} +19 -19
- package/dist/chunks/{location-activity-cstzt26r.js → persistent-pty-js7tyv8y.js} +16 -16
- package/dist/chunks/{location-activity-44pmzq9c.js → persistent-pty-jxd6f16v.js} +2 -2
- package/dist/chunks/{location-activity-td6k7w7w.js → persistent-pty-jyaz1nc7.js} +49 -49
- package/dist/chunks/{location-activity-3tg5w4kd.js → persistent-pty-k08w40vs.js} +9 -9
- package/dist/chunks/{location-activity-49ex93cf.js → persistent-pty-k0f962d1.js} +1 -1
- package/dist/chunks/{location-activity-2nww1w26.js → persistent-pty-k0n5zbj0.js} +14 -14
- package/dist/chunks/{location-activity-0f591c62.js → persistent-pty-kbzfkjas.js} +28 -28
- package/dist/chunks/{location-activity-73zdp0d1.js → persistent-pty-kj951gzb.js} +21 -21
- package/dist/chunks/{location-activity-160yv0cs.js → persistent-pty-kmzgegqq.js} +8 -8
- package/dist/chunks/{location-activity-kt3bjfbg.js → persistent-pty-kt3bjfbg.js} +1 -1
- package/dist/chunks/{location-activity-kzczzf4v.js → persistent-pty-kzczzf4v.js} +1 -1
- package/dist/chunks/{location-activity-qk5sk9d1.js → persistent-pty-kzdam8c6.js} +7 -7
- package/dist/chunks/{location-activity-vzbsaact.js → persistent-pty-kzncg94e.js} +14 -14
- package/dist/chunks/{location-activity-99p7npp5.js → persistent-pty-kzr2cvxb.js} +24 -24
- package/dist/chunks/{location-activity-cwf057d5.js → persistent-pty-m0gethed.js} +29 -29
- package/dist/chunks/{location-activity-m1714858.js → persistent-pty-m1714858.js} +1 -1
- package/dist/chunks/{location-activity-rq9ywe4n.js → persistent-pty-m29ya97c.js} +29 -29
- package/dist/chunks/{location-activity-9mm3f9fm.js → persistent-pty-m3qxcrv4.js} +20 -20
- package/dist/chunks/{location-activity-p8pjvayg.js → persistent-pty-m8zx2yvr.js} +3 -3
- package/dist/chunks/{location-activity-pf8r2e8y.js → persistent-pty-m9cv6g17.js} +4 -4
- package/dist/chunks/{location-activity-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-activity-m9hymvy9.js → persistent-pty-mags7jcv.js} +4 -4
- package/dist/chunks/{location-activity-b3r2rkfz.js → persistent-pty-mhyjgj2x.js} +27 -27
- package/dist/chunks/{location-activity-hphm3prp.js → persistent-pty-mqwv2vx4.js} +26 -26
- package/dist/chunks/{location-activity-wz715jh1.js → persistent-pty-myjye4h5.js} +37 -37
- package/dist/chunks/{location-activity-cd8dbke8.js → persistent-pty-n3vtawq1.js} +3 -3
- package/dist/chunks/{location-activity-eds99ymm.js → persistent-pty-n41csmpq.js} +9 -9
- package/dist/chunks/{location-activity-dnttbtze.js → persistent-pty-n9dafyr4.js} +12 -12
- package/dist/chunks/{location-activity-jwjemgc6.js → persistent-pty-narsds6h.js} +18 -18
- package/dist/chunks/{location-activity-9j9t8pqm.js → persistent-pty-ndt8s4x6.js} +5 -5
- package/dist/chunks/{location-activity-wegkxhrn.js → persistent-pty-nx4vzyjd.js} +2 -2
- package/dist/chunks/{location-activity-52r8e5dx.js → persistent-pty-p0pg9q3g.js} +12 -12
- package/dist/chunks/{location-activity-a4vpm9e5.js → persistent-pty-p5cvsygg.js} +23 -23
- package/dist/chunks/{location-activity-qafs5x47.js → persistent-pty-pgm9r03y.js} +8 -8
- package/dist/chunks/{location-activity-pbr9tfyv.js → persistent-pty-pgq7k9pc.js} +36 -36
- package/dist/chunks/{location-activity-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{location-activity-eq6c3wtf.js → persistent-pty-pkq1wpkw.js} +5 -5
- package/dist/chunks/{location-activity-sbfaben9.js → persistent-pty-pn1g3a6b.js} +9 -9
- package/dist/chunks/{location-activity-72tc88tr.js → persistent-pty-pw2qb9m1.js} +24 -24
- package/dist/chunks/{location-activity-37m4tshq.js → persistent-pty-q53r7jxg.js} +14 -14
- package/dist/chunks/{location-activity-mk61ejv0.js → persistent-pty-q6ktd5wj.js} +34 -34
- package/dist/chunks/{location-activity-8jft793v.js → persistent-pty-qava8dj6.js} +10 -10
- package/dist/chunks/{location-activity-pzf2vfse.js → persistent-pty-qeq89js1.js} +6 -6
- package/dist/chunks/{location-activity-xg9k0m8e.js → persistent-pty-qfndfdn2.js} +18 -18
- package/dist/chunks/{location-activity-qp7r0hxv.js → persistent-pty-qp7r0hxv.js} +1 -1
- package/dist/chunks/{location-activity-trjf3y20.js → persistent-pty-qse369mr.js} +7 -7
- package/dist/chunks/{location-activity-3ex1ss0s.js → persistent-pty-r45nfa48.js} +9 -9
- package/dist/chunks/{location-activity-s2yyfdge.js → persistent-pty-r5771ffp.js} +23 -23
- package/dist/chunks/{location-activity-13xcdw0n.js → persistent-pty-r8j6adpk.js} +26 -26
- package/dist/chunks/{location-activity-aq5jt5ex.js → persistent-pty-r9ydap1v.js} +13 -13
- package/dist/chunks/{location-activity-5skzjyqq.js → persistent-pty-ra4xy3sf.js} +4 -4
- package/dist/chunks/{location-activity-rb9dy4dg.js → persistent-pty-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-activity-84hhzen5.js → persistent-pty-rg5pbdym.js} +18 -18
- package/dist/chunks/{location-activity-rgc9cx3e.js → persistent-pty-rgc9cx3e.js} +2 -2
- package/dist/chunks/{location-activity-xmx7xj34.js → persistent-pty-rhv95hk9.js} +7 -7
- package/dist/chunks/{location-activity-xygzzjxz.js → persistent-pty-rmwandh4.js} +6 -6
- package/dist/chunks/{location-activity-gx4798p1.js → persistent-pty-rnktn9vv.js} +14 -14
- package/dist/chunks/{location-activity-rt5dr6hb.js → persistent-pty-rt5dr6hb.js} +1 -1
- package/dist/chunks/{location-activity-e0x8gmf9.js → persistent-pty-rxqx09cq.js} +4 -4
- package/dist/chunks/{location-activity-t83gr191.js → persistent-pty-ry6j5n0w.js} +10 -10
- package/dist/chunks/{location-activity-2p60zmnr.js → persistent-pty-s1ba0vj0.js} +2 -2
- package/dist/chunks/{location-activity-s47rahr7.js → persistent-pty-s47rahr7.js} +1 -1
- package/dist/chunks/{location-activity-05w8jqcq.js → persistent-pty-s5f28rtz.js} +18 -18
- package/dist/chunks/{location-activity-jaeq0yan.js → persistent-pty-s6mybr77.js} +7 -7
- package/dist/chunks/{location-activity-0kdp13vh.js → persistent-pty-s6r0q7cv.js} +14 -14
- package/dist/chunks/{location-activity-px7qpgcn.js → persistent-pty-s79v6bct.js} +4 -4
- package/dist/chunks/{location-activity-sbya78hr.js → persistent-pty-sbya78hr.js} +1 -1
- package/dist/chunks/{location-activity-jzxj5aey.js → persistent-pty-sd64mz2a.js} +8 -8
- package/dist/chunks/{location-activity-sqjzf8x2.js → persistent-pty-sqjzf8x2.js} +1 -1
- package/dist/chunks/{location-activity-svcy3p9a.js → persistent-pty-svcy3p9a.js} +1 -1
- package/dist/chunks/{location-activity-641sdkw1.js → persistent-pty-sxsffefh.js} +25 -25
- package/dist/chunks/{location-activity-vkmy3cx0.js → persistent-pty-syv1b86k.js} +18 -18
- package/dist/chunks/{location-activity-xjr6c8m4.js → persistent-pty-t54kw4zq.js} +7 -7
- package/dist/chunks/{location-activity-n3j33rb6.js → persistent-pty-t62dywgn.js} +4 -4
- package/dist/chunks/{location-activity-j3vrcvba.js → persistent-pty-t74ah8g0.js} +10 -10
- package/dist/chunks/{location-activity-tbpn7jtk.js → persistent-pty-tbpn7jtk.js} +1 -1
- package/dist/chunks/{location-activity-j5tv9tpf.js → persistent-pty-tbxzr82g.js} +41 -41
- package/dist/chunks/{location-activity-tczq8hjw.js → persistent-pty-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-activity-xex87tv9.js → persistent-pty-te0bb5bb.js} +5 -5
- package/dist/chunks/{location-activity-jvv1tk53.js → persistent-pty-tnh82bfg.js} +22 -22
- package/dist/chunks/{location-activity-418hax6x.js → persistent-pty-ttayexjx.js} +43 -43
- package/dist/chunks/{location-activity-vdrbaaer.js → persistent-pty-tty3rz1f.js} +31 -31
- package/dist/chunks/{location-activity-tvtps2q9.js → persistent-pty-tvtps2q9.js} +1 -1
- package/dist/chunks/{location-activity-twssxy5n.js → persistent-pty-twssxy5n.js} +2 -2
- package/dist/chunks/{location-activity-vqdw54h6.js → persistent-pty-v1n7yrde.js} +7 -7
- package/dist/chunks/{location-activity-v2r1d0zg.js → persistent-pty-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-activity-nj7zy4tx.js → persistent-pty-v512wx86.js} +36 -36
- package/dist/chunks/{location-activity-gk491k3z.js → persistent-pty-v6rcf05t.js} +8 -8
- package/dist/chunks/{location-activity-gbe0grn8.js → persistent-pty-v8wxce3j.js} +18 -18
- package/dist/chunks/{location-activity-9mfedm59.js → persistent-pty-va39f3mc.js} +6 -6
- package/dist/chunks/{location-activity-61vv6hcw.js → persistent-pty-vbfeqqyf.js} +11 -11
- package/dist/chunks/{location-activity-1zp9zzz4.js → persistent-pty-ve7s6b96.js} +3 -3
- package/dist/chunks/{location-activity-vjf35v1f.js → persistent-pty-vjf35v1f.js} +1 -1
- package/dist/chunks/{location-activity-cr4rfj9z.js → persistent-pty-vmxsyvj6.js} +4 -4
- package/dist/chunks/{location-activity-9kb67ct4.js → persistent-pty-vtjrwfmx.js} +15 -15
- package/dist/chunks/{location-activity-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-activity-mn3qbxth.js → persistent-pty-w7v8yaha.js} +13 -13
- package/dist/chunks/{location-activity-w8ghbxkm.js → persistent-pty-w98wyk66.js} +6 -6
- package/dist/chunks/{location-activity-wakvkjy4.js → persistent-pty-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-activity-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{location-activity-wfdx5ztx.js → persistent-pty-wfdx5ztx.js} +1 -1
- package/dist/chunks/{location-activity-ze2knpfh.js → persistent-pty-wm90eka7.js} +9 -9
- package/dist/chunks/{location-activity-ekzm2j1j.js → persistent-pty-wnfdfa2g.js} +20 -20
- package/dist/chunks/{location-activity-w687dnns.js → persistent-pty-wr3re1en.js} +4 -4
- package/dist/chunks/{location-activity-b63fb0av.js → persistent-pty-wrszexx5.js} +3 -3
- package/dist/chunks/{location-activity-2h58mtn6.js → persistent-pty-wsaeky5c.js} +34 -34
- package/dist/chunks/{location-activity-c7cw818c.js → persistent-pty-wt99tj4q.js} +5 -5
- package/dist/chunks/{location-activity-7wk1z0ge.js → persistent-pty-wtw4dg7j.js} +28 -28
- package/dist/chunks/{location-activity-6vs1tgjf.js → persistent-pty-wtzwx2np.js} +12 -12
- package/dist/chunks/{location-activity-kyhmtrdb.js → persistent-pty-x68gzpe3.js} +11 -11
- package/dist/chunks/{location-activity-fsgqa1c1.js → persistent-pty-x8b639v8.js} +19 -19
- package/dist/chunks/{location-activity-r17fbvme.js → persistent-pty-xacrkbdt.js} +4 -4
- package/dist/chunks/{location-activity-v3s4bj3j.js → persistent-pty-xc23ff0h.js} +6 -6
- package/dist/chunks/{location-activity-tfzcgk1k.js → persistent-pty-xdvhz3zf.js} +5 -5
- package/dist/chunks/{location-activity-3zbjz086.js → persistent-pty-xf84h0zm.js} +40 -40
- package/dist/chunks/{location-activity-b3jraara.js → persistent-pty-xqsw566f.js} +5 -5
- package/dist/chunks/{location-activity-xvn8mnch.js → persistent-pty-xvn8mnch.js} +1 -1
- package/dist/chunks/{location-activity-9sk33afj.js → persistent-pty-xz07m27x.js} +6 -6
- package/dist/chunks/{location-activity-jy2czfqv.js → persistent-pty-y4n6pw34.js} +4 -4
- package/dist/chunks/{location-activity-6d2a5ztz.js → persistent-pty-y8dehjp8.js} +16 -16
- package/dist/chunks/{location-activity-yb20nhc3.js → persistent-pty-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-activity-msd2a3qm.js → persistent-pty-ybws1qgk.js} +4 -4
- package/dist/chunks/{location-activity-rhe6f533.js → persistent-pty-yndyntgn.js} +3 -3
- package/dist/chunks/{location-activity-5f3nfaf4.js → persistent-pty-ypjs1a93.js} +27 -27
- package/dist/chunks/{location-activity-yr705xyq.js → persistent-pty-yr705xyq.js} +1 -1
- package/dist/chunks/{location-activity-b2812nxz.js → persistent-pty-ytcxcgws.js} +18 -18
- package/dist/chunks/{location-activity-yvtc2x31.js → persistent-pty-yvtc2x31.js} +1 -1
- package/dist/chunks/{location-activity-55g2q5p5.js → persistent-pty-z0c26qk4.js} +2 -2
- package/dist/chunks/persistent-pty-z58m437x.js +265 -0
- package/dist/chunks/{location-activity-k46dd5bg.js → persistent-pty-z5v37w21.js} +4 -4
- package/dist/chunks/{location-activity-xe6pezxp.js → persistent-pty-z7881fav.js} +7 -7
- package/dist/chunks/{location-activity-32jevvsk.js → persistent-pty-zawcq8n2.js} +15 -15
- package/dist/chunks/{location-activity-j9nxzz3g.js → persistent-pty-ze75qvmd.js} +3 -3
- package/dist/chunks/{location-activity-by8ty0bx.js → persistent-pty-zpdbqgja.js} +4 -4
- package/dist/chunks/{location-activity-15ncct9h.js → persistent-pty-zphajxee.js} +16 -16
- package/dist/chunks/{location-activity-71p1fgrw.js → persistent-pty-zrjjm8jj.js} +18 -18
- package/dist/chunks/{location-activity-vvykwx27.js → persistent-pty-zwzrrsgb.js} +28 -28
- package/dist/chunks/{location-activity-mfxkgpb0.js → persistent-pty-zx5gvp2n.js} +11 -11
- package/dist/chunks/{location-activity-5sej186z.js → persistent-pty-zzzxb6t4.js} +12 -12
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +96 -96
- 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 +131 -131
- package/dist/config/plugin/command.js +238 -238
- 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 +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- 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 +92 -92
- 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/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +441 -441
- 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 +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 +111 -111
- 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 +127 -127
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +104 -104
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/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 +1 -1
- package/dist/integration.js +96 -96
- 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 +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +120 -120
- package/dist/mcp/instructions.js +183 -183
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +110 -110
- 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 +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- 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 +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +152 -152
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +97 -97
- 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 +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +3 -3
- 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 +410 -410
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- 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 +117 -117
- 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 +4 -4
- 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 +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- 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 +112 -112
- package/dist/plugin/provider/claude-agent/session.js +110 -110
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- 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 +140 -140
- 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 +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +135 -135
- 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 +140 -140
- 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 +89 -89
- 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 +420 -420
- 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 +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +5 -5
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +7 -7
- 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 +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +111 -111
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +263 -263
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +203 -203
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +250 -250
- package/dist/session/execution.js +165 -165
- 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 +84 -84
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +146 -146
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +169 -169
- package/dist/session/model-transport.js +7 -7
- 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 +258 -258
- 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 +3 -3
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +188 -188
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- 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 +1 -1
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +246 -246
- 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 +15 -15
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +153 -153
- 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 +182 -182
- 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 +147 -147
- 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 +154 -154
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +169 -169
- package/dist/tool/read-filesystem.js +110 -110
- 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 +163 -163
- package/dist/usage-limits.js +98 -98
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- 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 +2 -2
- package/dist/variant.js +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +100 -100
- package/dist/voice.js +99 -99
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +5 -5
- 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 +111 -111
- package/package.json +8 -8
- package/dist/chunks/location-activity-7bxbf7mw.js +0 -265
- package/dist/chunks/location-activity-7yv5xa0k.js +0 -18
- package/dist/chunks/location-activity-t7135hmc.js +0 -26
- package/dist/chunks/location-activity-tdepd5qw.js +0 -571
- /package/dist/chunks/{location-activity-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-activity-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-activity-108x4f4w.js → persistent-pty-108x4f4w.js} +0 -0
- /package/dist/chunks/{location-activity-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-activity-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-activity-1kah00gy.js → persistent-pty-1kah00gy.js} +0 -0
- /package/dist/chunks/{location-activity-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-activity-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-activity-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-activity-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-activity-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-activity-3af0jn4w.js → persistent-pty-3af0jn4w.js} +0 -0
- /package/dist/chunks/{location-activity-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{location-activity-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-activity-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-activity-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-activity-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-activity-4qk9sjk2.js → persistent-pty-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{location-activity-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-activity-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{location-activity-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-activity-5w3e23ze.js → persistent-pty-5w3e23ze.js} +0 -0
- /package/dist/chunks/{location-activity-6agm2x70.js → persistent-pty-6agm2x70.js} +0 -0
- /package/dist/chunks/{location-activity-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{location-activity-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-activity-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-activity-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-activity-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{location-activity-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-activity-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-activity-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-activity-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-activity-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-activity-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-activity-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-activity-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-activity-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-activity-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-activity-beh6qq61.js → persistent-pty-beh6qq61.js} +0 -0
- /package/dist/chunks/{location-activity-bhmrqjy3.js → persistent-pty-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{location-activity-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-activity-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-activity-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-activity-cqv5kn06.js → persistent-pty-cqv5kn06.js} +0 -0
- /package/dist/chunks/{location-activity-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-activity-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-activity-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-activity-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-activity-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{location-activity-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-activity-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-activity-ean2d8b5.js → persistent-pty-ean2d8b5.js} +0 -0
- /package/dist/chunks/{location-activity-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-activity-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-activity-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-activity-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-activity-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-activity-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-activity-fkpq3x5p.js → persistent-pty-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{location-activity-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-activity-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{location-activity-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-activity-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{location-activity-hcxmzztb.js → persistent-pty-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-activity-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{location-activity-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-activity-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-activity-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-activity-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-activity-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-activity-jwr30sdr.js → persistent-pty-jwr30sdr.js} +0 -0
- /package/dist/chunks/{location-activity-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-activity-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
- /package/dist/chunks/{location-activity-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-activity-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-activity-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-activity-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-activity-nh4v3znn.js → persistent-pty-nh4v3znn.js} +0 -0
- /package/dist/chunks/{location-activity-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-activity-p71gwv9c.js → persistent-pty-p71gwv9c.js} +0 -0
- /package/dist/chunks/{location-activity-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-activity-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-activity-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-activity-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-activity-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-activity-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-activity-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-activity-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-activity-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-activity-syrav9an.js → persistent-pty-syrav9an.js} +0 -0
- /package/dist/chunks/{location-activity-t03h4f5z.js → persistent-pty-t03h4f5z.js} +0 -0
- /package/dist/chunks/{location-activity-ty7weeps.js → persistent-pty-ty7weeps.js} +0 -0
- /package/dist/chunks/{location-activity-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-activity-vtarvj67.js → persistent-pty-vtarvj67.js} +0 -0
- /package/dist/chunks/{location-activity-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-activity-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-activity-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-activity-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-activity-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-activity-x4th4bpe.js → persistent-pty-x4th4bpe.js} +0 -0
- /package/dist/chunks/{location-activity-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{location-activity-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-activity-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-activity-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-activity-z0h12gs8.js → persistent-pty-z0h12gs8.js} +0 -0
- /package/dist/chunks/{location-activity-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-activity-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
- /package/dist/chunks/{location-activity-zxpyjp51.js → persistent-pty-zxpyjp51.js} +0 -0
- /package/dist/chunks/{location-activity-zz5vv3aq.js → persistent-pty-zz5vv3aq.js} +0 -0
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service91
|
|
3
|
+
} from "./persistent-pty-ge33ydrf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Event18,
|
|
6
|
+
Service84
|
|
7
|
+
} from "./persistent-pty-1j2vdga2.js";
|
|
8
8
|
import {
|
|
9
9
|
batch2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-40y6dtc2.js";
|
|
11
11
|
import {
|
|
12
12
|
suppliers2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-xacrkbdt.js";
|
|
14
14
|
import {
|
|
15
15
|
match3
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-1aqsckx4.js";
|
|
17
17
|
import {
|
|
18
18
|
statements2,
|
|
19
19
|
decision2,
|
|
20
20
|
integrationResource2,
|
|
21
21
|
accounts2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./persistent-pty-4vzr2b15.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service78
|
|
25
|
+
} from "./persistent-pty-dxzcjhf2.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Service27
|
|
28
|
+
} from "./persistent-pty-hrqdgrax.js";
|
|
29
29
|
import {
|
|
30
30
|
observe2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./persistent-pty-tvtps2q9.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/plugin/policy.ts
|
|
37
37
|
var exports_policy = {};
|
|
38
38
|
__export(exports_policy, {
|
|
39
39
|
ConfigPolicyPlugin: () => exports_policy,
|
|
40
|
-
Plugin: () =>
|
|
40
|
+
Plugin: () => Plugin32
|
|
41
41
|
});
|
|
42
42
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
43
43
|
import { Effect, Stream } from "effect";
|
|
44
|
-
var
|
|
44
|
+
var Plugin32 = define({
|
|
45
45
|
id: "opencode.config.policy",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
48
|
-
const credentials = yield*
|
|
49
|
-
const websearch = yield*
|
|
50
|
-
const bus = yield*
|
|
47
|
+
const config = yield* Service78;
|
|
48
|
+
const credentials = yield* Service84;
|
|
49
|
+
const websearch = yield* Service27;
|
|
50
|
+
const bus = yield* Service91;
|
|
51
51
|
const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload(), websearch.reload()], {
|
|
52
52
|
discard: true
|
|
53
53
|
}));
|
|
54
54
|
const loaded = yield* observe2(config, ctx.event, reload);
|
|
55
55
|
const policies = () => statements2(loaded.entries);
|
|
56
56
|
const current = { accounts: accounts2(yield* credentials.all()) };
|
|
57
|
-
yield* bus.subscribe([
|
|
57
|
+
yield* bus.subscribe([Event18.Updated, Event18.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
58
58
|
const next = accounts2(yield* credentials.all());
|
|
59
59
|
if (next.size === current.accounts.size && Array.from(next).every(([id, account]) => current.accounts.get(id) === account))
|
|
60
60
|
return;
|
|
@@ -110,4 +110,4 @@ var Plugin50 = define({
|
|
|
110
110
|
})
|
|
111
111
|
});
|
|
112
112
|
|
|
113
|
-
export {
|
|
113
|
+
export { Plugin32, exports_policy };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service89
|
|
3
|
+
} from "./persistent-pty-fangmcnr.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-d4v9tmah.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-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* Service89;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service92,
|
|
6
6
|
node95
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-rxqx09cq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service91,
|
|
10
|
+
node94
|
|
11
|
+
} from "./persistent-pty-ge33ydrf.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service89,
|
|
14
|
+
node92
|
|
15
|
+
} from "./persistent-pty-fangmcnr.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID22,
|
|
18
18
|
Current3,
|
|
19
19
|
Info31,
|
|
20
20
|
UpdateInput5,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-z7881fav.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./persistent-pty-aj7mw0zk.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-bb3mmwvh.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./persistent-pty-3cbjf1nt.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
40
40
|
__export(exports_project, {
|
|
41
41
|
ACTIVATE_INTERVAL: () => ACTIVATE_INTERVAL2,
|
|
42
42
|
Current: () => Current2,
|
|
43
|
-
ID: () =>
|
|
43
|
+
ID: () => ID21,
|
|
44
44
|
Info: () => Info30,
|
|
45
|
-
NotFoundError: () =>
|
|
45
|
+
NotFoundError: () => NotFoundError13,
|
|
46
46
|
Project: () => exports_project,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service88,
|
|
48
48
|
UpdateInput: () => UpdateInput4,
|
|
49
49
|
Vcs: () => Vcs2,
|
|
50
|
-
configured: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
configured: () => configured12,
|
|
51
|
+
node: () => node91,
|
|
52
52
|
root: () => root2,
|
|
53
53
|
sweepNode: () => sweepNode2
|
|
54
54
|
});
|
|
@@ -61,14 +61,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
61
61
|
import { AppProcess } from "@opencode/util/process";
|
|
62
62
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { Hash } from "@opencode/util/hash";
|
|
64
|
-
var
|
|
64
|
+
var ID21 = ID22;
|
|
65
65
|
var Vcs2 = Vcs3;
|
|
66
66
|
var Current2 = Current3;
|
|
67
67
|
var Info30 = Info31;
|
|
68
68
|
var UpdateInput4 = UpdateInput5;
|
|
69
69
|
|
|
70
|
-
class
|
|
71
|
-
projectID:
|
|
70
|
+
class NotFoundError13 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
71
|
+
projectID: ID21
|
|
72
72
|
}) {
|
|
73
73
|
}
|
|
74
74
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -87,7 +87,7 @@ var ACTIVATE_INTERVAL2 = 60000;
|
|
|
87
87
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
88
88
|
var Now = Context.Reference("@opencode/Project/Now", { defaultValue: () => Date.now });
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service88 extends Context.Service()("@opencode/Project") {
|
|
91
91
|
}
|
|
92
92
|
function fromRow(row) {
|
|
93
93
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -111,12 +111,12 @@ function fromRow(row) {
|
|
|
111
111
|
sandboxes: row.sandboxes
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
115
115
|
const now = yield* Now;
|
|
116
116
|
const fs = yield* FSUtil.Service;
|
|
117
|
-
const git = yield*
|
|
117
|
+
const git = yield* Service89;
|
|
118
118
|
const proc = yield* AppProcess.Service;
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service91;
|
|
120
120
|
const db = (yield* Service92).db;
|
|
121
121
|
const scope = yield* Scope.Scope;
|
|
122
122
|
const announcing = new Set;
|
|
@@ -127,8 +127,8 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
127
127
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
128
128
|
const changed = replaced ?? unarchived;
|
|
129
129
|
if (changed)
|
|
130
|
-
yield* bus.publish(
|
|
131
|
-
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(
|
|
130
|
+
yield* bus.publish(Event20.Updated, fromRow(changed));
|
|
131
|
+
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event20.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
|
|
132
132
|
if (!project.vcs)
|
|
133
133
|
return project;
|
|
134
134
|
const directories = [
|
|
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
164
164
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
165
165
|
projectID: item.projectID,
|
|
166
166
|
directory: item.directory,
|
|
167
|
-
previous: project.previous ??
|
|
167
|
+
previous: project.previous ?? ID21.global,
|
|
168
168
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
169
169
|
}, {
|
|
170
170
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -187,16 +187,16 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
187
187
|
time_updated: Date.now()
|
|
188
188
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
189
189
|
if (!row)
|
|
190
|
-
return yield* new
|
|
190
|
+
return yield* new NotFoundError13({ projectID: input.projectID });
|
|
191
191
|
const project = fromRow(row);
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event20.Updated, project);
|
|
193
193
|
return project;
|
|
194
194
|
});
|
|
195
195
|
const activated = new Map;
|
|
196
196
|
const persistActivate = Effect.fn("Project.activate")(function* (projectID, timestamp) {
|
|
197
197
|
const row = yield* db.update(ProjectTable2).set({ time_active: timestamp, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
198
198
|
if (row)
|
|
199
|
-
yield* bus.publish(
|
|
199
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
200
200
|
});
|
|
201
201
|
const activate = (projectID, options) => Effect.suspend(() => {
|
|
202
202
|
const timestamp = now();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
208
208
|
return options?.forkIn ? write.pipe(Effect.forkIn(options.forkIn), Effect.asVoid) : write;
|
|
209
209
|
});
|
|
210
210
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
211
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
211
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID21.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
212
212
|
return;
|
|
213
213
|
}));
|
|
214
214
|
});
|
|
@@ -219,7 +219,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
219
219
|
const normalized = url(origin);
|
|
220
220
|
if (!normalized)
|
|
221
221
|
return;
|
|
222
|
-
return
|
|
222
|
+
return ID21.make(Hash.fast(`git-remote:${normalized}`));
|
|
223
223
|
});
|
|
224
224
|
function url(input) {
|
|
225
225
|
const value = input.trim();
|
|
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
244
244
|
}
|
|
245
245
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
246
246
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
247
|
-
return root ?
|
|
247
|
+
return root ? ID21.make(root) : undefined;
|
|
248
248
|
});
|
|
249
249
|
const gitDiscover = Effect.fnUntraced(function* (dotGit) {
|
|
250
250
|
const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
|
|
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
260
260
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
|
|
261
261
|
const resolved = {
|
|
262
262
|
previous,
|
|
263
|
-
id: id ??
|
|
263
|
+
id: id ?? ID21.global,
|
|
264
264
|
directory: repo.worktree,
|
|
265
265
|
canonical,
|
|
266
266
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
285
285
|
return;
|
|
286
286
|
const node = result.stdout.toString("utf8").split(`
|
|
287
287
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
288
|
-
return node ?
|
|
288
|
+
return node ? ID21.make(node) : undefined;
|
|
289
289
|
});
|
|
290
290
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
291
291
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -293,7 +293,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
293
293
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
294
294
|
return {
|
|
295
295
|
previous,
|
|
296
|
-
id: id ??
|
|
296
|
+
id: id ?? ID21.global,
|
|
297
297
|
directory: worktree,
|
|
298
298
|
vcs: { type: "hg", store: dotHg }
|
|
299
299
|
};
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
322
|
return yield* save({
|
|
323
|
-
id:
|
|
323
|
+
id: ID21.make(Hash.fast(`directory:${directory}`)),
|
|
324
324
|
directory,
|
|
325
325
|
canonical: directory,
|
|
326
326
|
vcs: undefined
|
|
@@ -329,7 +329,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
329
329
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
330
330
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
331
331
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
332
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
332
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID21.global))).all().pipe(Effect.orDie);
|
|
333
333
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
334
334
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
335
335
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -342,26 +342,26 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
342
342
|
return;
|
|
343
343
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
344
344
|
if (row)
|
|
345
|
-
yield* bus.publish(
|
|
345
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
346
346
|
}), { concurrency: 8, discard: true });
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service88.of({ list, update, activate, resolve, sweep });
|
|
349
349
|
}));
|
|
350
|
-
function
|
|
350
|
+
function configured12(options) {
|
|
351
351
|
return makeGlobalNode({
|
|
352
|
-
service:
|
|
352
|
+
service: Service88,
|
|
353
353
|
layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
|
|
354
|
-
deps: [
|
|
354
|
+
deps: [node94, node95, FSUtil.node, node92, AppProcess.node]
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
|
-
var
|
|
357
|
+
var node91 = configured12();
|
|
358
358
|
var sweepNode2 = makeGlobalNode({
|
|
359
359
|
name: "project-archive-sweep",
|
|
360
360
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
361
|
-
const project = yield*
|
|
361
|
+
const project = yield* Service88;
|
|
362
362
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
363
363
|
})),
|
|
364
|
-
deps: [
|
|
364
|
+
deps: [node91]
|
|
365
365
|
});
|
|
366
366
|
|
|
367
|
-
export {
|
|
367
|
+
export { ID21, Vcs2, Current2, Info30, UpdateInput4, NotFoundError13, root2, ACTIVATE_INTERVAL2, Service88, configured12, node91, sweepNode2, exports_project };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks2 = {};
|
|
7
7
|
__export(exports_hooks2, {
|
|
8
8
|
PluginHooks: () => exports_hooks2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service73,
|
|
10
10
|
node: () => node75
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service73 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service73.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var node75 = makeLocationNode({ service:
|
|
59
|
+
var node75 = makeLocationNode({ service: Service73, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service73, node75, exports_hooks2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/claude-agent/sync/record.ts
|
|
6
6
|
var exports_record = {};
|
|
7
7
|
__export(exports_record, {
|
|
8
8
|
SessionRecord: () => exports_record,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make5
|
|
10
10
|
});
|
|
11
11
|
import { Effect, Option, Schema } from "effect";
|
|
12
12
|
var Checkpoint = Schema.Struct({ hash: Schema.String, claudeMessageID: Schema.optional(Schema.String) });
|
|
@@ -15,7 +15,7 @@ var Record = Schema.Struct({
|
|
|
15
15
|
history: Schema.optional(Schema.Array(Checkpoint)),
|
|
16
16
|
interrupted: Schema.optional(Schema.Boolean)
|
|
17
17
|
});
|
|
18
|
-
function
|
|
18
|
+
function make5(storage) {
|
|
19
19
|
return {
|
|
20
20
|
get: Effect.fn("SessionRecord.get")(function* (sessionID) {
|
|
21
21
|
const saved = Schema.decodeUnknownOption(Record)(yield* storage.get(`sessions/${sessionID}`));
|
|
@@ -25,4 +25,4 @@ function make7(storage) {
|
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
export {
|
|
28
|
+
export { make5, exports_record };
|
|
@@ -4,24 +4,24 @@ import {
|
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2,
|
|
6
6
|
exists2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-svcy3p9a.js";
|
|
8
8
|
import {
|
|
9
9
|
execDefaults2,
|
|
10
10
|
makeFiles2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-rgc9cx3e.js";
|
|
12
12
|
import {
|
|
13
13
|
makeLocalDriver2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-cwrgdav8.js";
|
|
15
15
|
import {
|
|
16
16
|
makeMemoryDriver2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-twssxy5n.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service75,
|
|
20
|
+
node77
|
|
21
|
+
} from "./persistent-pty-ds45kb71.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/environment/index.ts
|
|
27
27
|
var exports_environment2 = {};
|
|
@@ -29,14 +29,14 @@ __export(exports_environment2, {
|
|
|
29
29
|
Environment: () => exports_environment2,
|
|
30
30
|
Failed: () => Failed2,
|
|
31
31
|
NotFound: () => NotFound3,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service75,
|
|
33
33
|
WrongKind: () => WrongKind2,
|
|
34
34
|
execDefaults: () => execDefaults2,
|
|
35
35
|
exists: () => exists2,
|
|
36
36
|
makeFiles: () => makeFiles2,
|
|
37
37
|
makeLocalDriver: () => makeLocalDriver2,
|
|
38
38
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node77,
|
|
40
40
|
typeFollowing: () => typeFollowing2
|
|
41
41
|
});
|
|
42
42
|
export { exports_environment2 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolFailure2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-z0h12gs8.js";
|
|
4
4
|
import {
|
|
5
5
|
NotFound3,
|
|
6
6
|
WrongKind2,
|
|
7
7
|
Failed2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-svcy3p9a.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service87
|
|
11
|
+
} from "./persistent-pty-q53r7jxg.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service75
|
|
14
|
+
} from "./persistent-pty-ds45kb71.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service15
|
|
17
|
+
} from "./persistent-pty-vtjrwfmx.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service22,
|
|
20
20
|
readText2,
|
|
21
21
|
syncTextBom2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./persistent-pty-w7v8yaha.js";
|
|
23
23
|
import {
|
|
24
24
|
invocation2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service70
|
|
26
|
+
} from "./persistent-pty-bjm764ph.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
Service21,
|
|
29
29
|
resolvePath2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-6t6mca70.js";
|
|
31
31
|
import {
|
|
32
32
|
fileDiff2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./persistent-pty-6prwharc.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/tool/plugin/patch.ts
|
|
39
39
|
var exports_patch = {};
|
|
40
40
|
__export(exports_patch, {
|
|
41
41
|
Applied: () => Applied2,
|
|
42
|
-
Input: () =>
|
|
43
|
-
Output: () =>
|
|
42
|
+
Input: () => Input3,
|
|
43
|
+
Output: () => Output2,
|
|
44
44
|
PatchTool: () => exports_patch,
|
|
45
|
-
Plugin: () =>
|
|
46
|
-
name: () =>
|
|
45
|
+
Plugin: () => Plugin39,
|
|
46
|
+
name: () => name3,
|
|
47
47
|
toModelContent: () => toModelContent3
|
|
48
48
|
});
|
|
49
49
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -89,8 +89,8 @@ It is important to remember:
|
|
|
89
89
|
`;
|
|
90
90
|
|
|
91
91
|
// src/tool/plugin/patch.ts
|
|
92
|
-
var
|
|
93
|
-
var
|
|
92
|
+
var name3 = "patch";
|
|
93
|
+
var Input3 = Schema.Struct({
|
|
94
94
|
patchText: Schema.String.annotate({
|
|
95
95
|
description: "The full patch text describing add, update, and delete operations"
|
|
96
96
|
})
|
|
@@ -100,7 +100,7 @@ var Applied2 = Schema.Struct({
|
|
|
100
100
|
resource: Schema.String,
|
|
101
101
|
target: Schema.String
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var Output2 = Schema.Struct({
|
|
104
104
|
applied: Schema.Array(Applied2),
|
|
105
105
|
files: Schema.Array(FileDiff.Info)
|
|
106
106
|
});
|
|
@@ -109,21 +109,21 @@ var toModelContent3 = (output) => [
|
|
|
109
109
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
110
110
|
].join(`
|
|
111
111
|
`);
|
|
112
|
-
var
|
|
112
|
+
var Plugin39 = {
|
|
113
113
|
id: "opencode.tool.patch",
|
|
114
114
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
115
|
-
const environment = yield*
|
|
116
|
-
const access = yield*
|
|
117
|
-
const fileMutation = yield*
|
|
118
|
-
const formatter = yield*
|
|
119
|
-
const location = yield*
|
|
120
|
-
const permission = yield*
|
|
115
|
+
const environment = yield* Service75;
|
|
116
|
+
const access = yield* Service21;
|
|
117
|
+
const fileMutation = yield* Service22;
|
|
118
|
+
const formatter = yield* Service15;
|
|
119
|
+
const location = yield* Service87;
|
|
120
|
+
const permission = yield* Service70;
|
|
121
121
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
122
|
-
name:
|
|
122
|
+
name: name3,
|
|
123
123
|
options: { codemode: false, permission: "edit" },
|
|
124
124
|
description: patch_default,
|
|
125
|
-
input:
|
|
126
|
-
output:
|
|
125
|
+
input: Input3,
|
|
126
|
+
output: Output2,
|
|
127
127
|
execute: (input, context) => {
|
|
128
128
|
const applied = [];
|
|
129
129
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -325,4 +325,4 @@ function trimDiff(diff) {
|
|
|
325
325
|
`);
|
|
326
326
|
}
|
|
327
327
|
|
|
328
|
-
export {
|
|
328
|
+
export { name3, Input3, Applied2, Output2, toModelContent3, Plugin39, exports_patch };
|