@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,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-rxqx09cq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./persistent-pty-xc23ff0h.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-8x060fmy.js";
|
|
10
10
|
import {
|
|
11
11
|
preview2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-e57s5jf4.js";
|
|
13
13
|
import {
|
|
14
14
|
retry2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-2fc7eemy.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-3sfneeay.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service33
|
|
21
|
+
} from "./persistent-pty-eevmahfp.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai/effect";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service63;
|
|
36
36
|
const database = yield* Service92;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service33;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID18,
|
|
3
|
+
Service83,
|
|
4
|
+
node86
|
|
5
|
+
} from "./persistent-pty-5f32stg6.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID17,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service82,
|
|
19
|
+
node85
|
|
20
|
+
} from "./persistent-pty-1k9axd8y.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service67,
|
|
23
|
+
node68
|
|
24
|
+
} from "./persistent-pty-gpgjm6pk.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID16,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref3,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service81,
|
|
30
|
+
node84,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./persistent-pty-0w8j3sch.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,7 +41,7 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service66,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
@@ -49,7 +49,7 @@ __export(exports_model_resolver, {
|
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
51
|
layer: () => layer23,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node67,
|
|
53
53
|
resolveModel: () => resolveModel3,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -66,8 +66,8 @@ import { Auth, mergeTransport } from "@opencode/ai/route";
|
|
|
66
66
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
67
67
|
import { Npm } from "@opencode/util/npm";
|
|
68
68
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
69
|
-
providerID:
|
|
70
|
-
modelID:
|
|
69
|
+
providerID: ID17,
|
|
70
|
+
modelID: ID16,
|
|
71
71
|
variant: VariantID2
|
|
72
72
|
}) {
|
|
73
73
|
get message() {
|
|
@@ -76,8 +76,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
79
|
-
providerID:
|
|
80
|
-
modelID:
|
|
79
|
+
providerID: ID17,
|
|
80
|
+
modelID: ID16,
|
|
81
81
|
package: Schema.String
|
|
82
82
|
}) {
|
|
83
83
|
get message() {
|
|
@@ -87,8 +87,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
87
87
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
88
88
|
|
|
89
89
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
90
|
-
providerID:
|
|
91
|
-
modelID:
|
|
90
|
+
providerID: ID17,
|
|
91
|
+
modelID: ID16,
|
|
92
92
|
package: Schema.String,
|
|
93
93
|
detail: Schema.String
|
|
94
94
|
}) {
|
|
@@ -98,8 +98,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
101
|
-
providerID:
|
|
102
|
-
modelID:
|
|
101
|
+
providerID: ID17,
|
|
102
|
+
modelID: ID16,
|
|
103
103
|
package: Schema.String,
|
|
104
104
|
phase: InitializationPhase2,
|
|
105
105
|
detail: Schema.String
|
|
@@ -110,8 +110,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
113
|
-
providerID:
|
|
114
|
-
modelID:
|
|
113
|
+
providerID: ID17,
|
|
114
|
+
modelID: ID16,
|
|
115
115
|
variables: Schema.Array(Schema.String)
|
|
116
116
|
}) {
|
|
117
117
|
get message() {
|
|
@@ -120,8 +120,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
123
|
-
providerID:
|
|
124
|
-
modelID:
|
|
123
|
+
providerID: ID17,
|
|
124
|
+
modelID: ID16,
|
|
125
125
|
route: Schema.String
|
|
126
126
|
}) {
|
|
127
127
|
get message() {
|
|
@@ -129,7 +129,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
class
|
|
132
|
+
class Service66 extends Context.Service()("@opencode/ModelResolver") {
|
|
133
133
|
}
|
|
134
134
|
var withVariant2 = (model, variantID) => {
|
|
135
135
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -273,7 +273,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
273
273
|
return tokenSettings(specifier, credential.access);
|
|
274
274
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
275
275
|
return { auth: "sigv4" };
|
|
276
|
-
if (model.providerID ===
|
|
276
|
+
if (model.providerID === ID17.azure)
|
|
277
277
|
return tokenSettings(specifier, "azure-cli");
|
|
278
278
|
return {};
|
|
279
279
|
};
|
|
@@ -308,19 +308,19 @@ var causeMessage = (cause) => {
|
|
|
308
308
|
};
|
|
309
309
|
var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
310
310
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
311
|
-
var layer23 = Layer.effect(
|
|
312
|
-
const providers = yield*
|
|
313
|
-
const models = yield*
|
|
314
|
-
const integrations = yield*
|
|
311
|
+
var layer23 = Layer.effect(Service66, Effect.gen(function* () {
|
|
312
|
+
const providers = yield* Service82;
|
|
313
|
+
const models = yield* Service81;
|
|
314
|
+
const integrations = yield* Service83;
|
|
315
315
|
const npm = yield* Npm.Service;
|
|
316
|
-
const aisdk = yield*
|
|
316
|
+
const aisdk = yield* Service67;
|
|
317
317
|
const dependencies = {
|
|
318
318
|
loadPackage: (specifier) => loadPackage2(specifier, npm),
|
|
319
319
|
loadAISDK: (model) => aisdk.model(model)
|
|
320
320
|
};
|
|
321
321
|
const prepare = Effect.fn("ModelResolver.prepare")(function* (selected, variant) {
|
|
322
322
|
const provider = yield* providers.get(selected.providerID);
|
|
323
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
323
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID18.make(selected.providerID));
|
|
324
324
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
325
325
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
326
326
|
const runtimeInfo = {
|
|
@@ -356,7 +356,7 @@ var layer23 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
356
356
|
const { credential, runtimeInfo } = yield* prepare(info, ref.variant);
|
|
357
357
|
return yield* fromCatalogMedia(runtimeInfo, is, credential, dependencies);
|
|
358
358
|
});
|
|
359
|
-
return
|
|
359
|
+
return Service66.of({
|
|
360
360
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
361
361
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
362
362
|
if (!selected)
|
|
@@ -415,10 +415,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
415
415
|
return false;
|
|
416
416
|
return API_KEY_AUTH_PACKAGES.has(name) || name.startsWith("@opencode/ai/providers/openai/") || name.startsWith("@opencode/ai/providers/azure/");
|
|
417
417
|
}
|
|
418
|
-
var
|
|
419
|
-
service:
|
|
418
|
+
var node67 = makeLocationNode({
|
|
419
|
+
service: Service66,
|
|
420
420
|
layer: layer23,
|
|
421
|
-
deps: [
|
|
421
|
+
deps: [node85, node84, node86, Npm.node, node68]
|
|
422
422
|
});
|
|
423
423
|
|
|
424
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
424
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service66, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer23, node67, exports_model_resolver };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service91
|
|
3
|
+
} from "./persistent-pty-ge33ydrf.js";
|
|
4
4
|
import {
|
|
5
5
|
group2,
|
|
6
6
|
batch2,
|
|
7
7
|
shutdown2,
|
|
8
8
|
changes2,
|
|
9
9
|
inherit2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-40y6dtc2.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service38,
|
|
13
13
|
awaitActivation2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-8x060fmy.js";
|
|
15
15
|
import {
|
|
16
16
|
make22,
|
|
17
17
|
requirements3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-2gsh130x.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin.ts
|
|
24
24
|
var exports_plugin2 = {};
|
|
25
25
|
__export(exports_plugin2, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event4,
|
|
27
27
|
GuiBundle: () => GuiBundle2,
|
|
28
|
-
ID: () =>
|
|
29
|
-
Info: () =>
|
|
28
|
+
ID: () => ID6,
|
|
29
|
+
Info: () => Info6,
|
|
30
30
|
Plugin: () => exports_plugin2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service38,
|
|
32
32
|
Source: () => Source2,
|
|
33
33
|
State: () => State2,
|
|
34
34
|
awaitActivation: () => awaitActivation2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node25
|
|
36
36
|
});
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event4, GuiBundle as GuiBundle2, ID as ID6, Info as Info6, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
38
38
|
import { readFile } from "node:fs/promises";
|
|
39
39
|
import { fileURLToPath } from "node:url";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
43
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service91;
|
|
45
45
|
const scope = yield* Scope.make();
|
|
46
46
|
const active = new Map;
|
|
47
47
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
211
211
|
yield* shutdown2(Scope.close(scope, exit));
|
|
212
212
|
}));
|
|
213
213
|
yield* Effect.addFinalizer(close);
|
|
214
|
-
return
|
|
214
|
+
return Service38.of({
|
|
215
215
|
activate,
|
|
216
216
|
close,
|
|
217
217
|
awaitActivation: ready.await,
|
|
@@ -229,10 +229,10 @@ function slotInfo(slot) {
|
|
|
229
229
|
features: slot.plugin.features ?? { server: true }
|
|
230
230
|
};
|
|
231
231
|
}
|
|
232
|
-
var
|
|
233
|
-
service:
|
|
232
|
+
var node25 = Node.makeLocationNode({
|
|
233
|
+
service: Service38,
|
|
234
234
|
layer,
|
|
235
235
|
deps: [requirements3]
|
|
236
236
|
});
|
|
237
237
|
|
|
238
|
-
export {
|
|
238
|
+
export { node25, exports_plugin2, Event4, GuiBundle2, ID6, Info6, Source2, State2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-rxqx09cq.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service91,
|
|
7
|
+
node94
|
|
8
|
+
} from "./persistent-pty-ge33ydrf.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event18,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
25
|
+
ID: () => ID19,
|
|
26
26
|
Info: () => Info27,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service84,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node87
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Fiber, Layer, Schema } from "effect";
|
|
@@ -37,26 +37,26 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
|
|
|
37
37
|
import { Integration } from "@opencode/schema/integration";
|
|
38
38
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { EffectFlock } from "@opencode/util/effect-flock";
|
|
40
|
-
var
|
|
40
|
+
var ID19 = Credential.ID;
|
|
41
41
|
var OAuth3 = Credential.OAuth;
|
|
42
42
|
var Key4 = Credential.Key;
|
|
43
43
|
var External2 = Credential.External;
|
|
44
44
|
var Value2 = Credential.Value;
|
|
45
|
-
var
|
|
45
|
+
var Event18 = Credential.Event;
|
|
46
46
|
|
|
47
47
|
class Info27 extends Schema.Class("Credential.Info")({
|
|
48
|
-
id:
|
|
48
|
+
id: ID19,
|
|
49
49
|
integrationID: Integration.ID,
|
|
50
50
|
label: Schema.String,
|
|
51
51
|
value: Value2
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service84 extends Context.Service()("@opencode/Credential") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
58
58
|
const db = (yield* Service92).db;
|
|
59
|
-
const bus = yield*
|
|
59
|
+
const bus = yield* Service91;
|
|
60
60
|
const flock = yield* EffectFlock.Service;
|
|
61
61
|
const scope = yield* Effect.scope;
|
|
62
62
|
const pending = new Map;
|
|
@@ -83,7 +83,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
83
83
|
yield* tx.update(CredentialTable2).set({ active: true }).where(eq(CredentialTable2.id, id)).run();
|
|
84
84
|
});
|
|
85
85
|
const logFailure = (message, fields) => (effect) => effect.pipe(Effect.onError((cause) => Effect.logError(message, { ...fields, errors: from2(Cause.squash(cause)) })), Effect.orDie);
|
|
86
|
-
return
|
|
86
|
+
return Service84.of({
|
|
87
87
|
lock: Effect.fn("Credential.lock")((id, operation) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
|
|
88
88
|
const current = pending.get(id);
|
|
89
89
|
if (current)
|
|
@@ -100,7 +100,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
100
100
|
}),
|
|
101
101
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
102
102
|
const credential = new Info27({
|
|
103
|
-
id: input.id ??
|
|
103
|
+
id: input.id ?? ID19.create(),
|
|
104
104
|
integrationID: input.integrationID,
|
|
105
105
|
label: input.label ?? "default",
|
|
106
106
|
value: input.value
|
|
@@ -130,9 +130,9 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
130
130
|
type: credential.value.type,
|
|
131
131
|
active: activated
|
|
132
132
|
});
|
|
133
|
-
yield* bus.publish(
|
|
133
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
134
134
|
if (activated)
|
|
135
|
-
yield* bus.publish(
|
|
135
|
+
yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
136
136
|
return credential;
|
|
137
137
|
}),
|
|
138
138
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
148
148
|
})).pipe(logFailure("credential activate failed", { credentialID: id }));
|
|
149
149
|
if (integrationID) {
|
|
150
150
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
151
|
-
yield* bus.publish(
|
|
151
|
+
yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
|
|
152
152
|
}
|
|
153
153
|
}),
|
|
154
154
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -173,7 +173,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
173
173
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
174
174
|
});
|
|
175
175
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
176
|
-
yield* bus.publish(
|
|
176
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
177
177
|
}),
|
|
178
178
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
179
179
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -201,12 +201,12 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
201
201
|
active: removed.switched,
|
|
202
202
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
203
203
|
});
|
|
204
|
-
yield* bus.publish(
|
|
204
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
205
205
|
if (removed.switched)
|
|
206
|
-
yield* bus.publish(
|
|
206
|
+
yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
207
207
|
})
|
|
208
208
|
});
|
|
209
209
|
}));
|
|
210
|
-
var
|
|
210
|
+
var node87 = makeGlobalNode({ service: Service84, layer, deps: [node95, node94, EffectFlock.node] });
|
|
211
211
|
|
|
212
|
-
export {
|
|
212
|
+
export { ID19, OAuth3, Key4, External2, Value2, Event18, Info27, Service84, node87, exports_credential };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service91,
|
|
3
|
+
node94
|
|
4
|
+
} from "./persistent-pty-ge33ydrf.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
key3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-xvn8mnch.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID18,
|
|
14
|
+
Service83,
|
|
15
|
+
node86,
|
|
16
|
+
Event17
|
|
17
|
+
} from "./persistent-pty-5f32stg6.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service87,
|
|
20
|
+
node90
|
|
21
|
+
} from "./persistent-pty-q53r7jxg.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider5 = {};
|
|
@@ -31,13 +31,13 @@ __export(exports_provider5, {
|
|
|
31
31
|
Compaction: () => Compaction3,
|
|
32
32
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
33
33
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
34
|
+
Event: () => Event16,
|
|
35
|
+
ID: () => ID17,
|
|
36
36
|
Info: () => Info24,
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider5,
|
|
39
39
|
Request: () => Request4,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service82,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -49,7 +49,7 @@ __export(exports_provider5, {
|
|
|
49
49
|
mergeOverlay: () => mergeOverlay2,
|
|
50
50
|
modelSettings: () => modelSettings2,
|
|
51
51
|
nativeSettings: () => nativeSettings2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node85,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -331,8 +331,8 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
|
|
|
331
331
|
var decode = Schema.decodeUnknownSync(Legacy);
|
|
332
332
|
|
|
333
333
|
// src/provider.ts
|
|
334
|
-
import { Event as
|
|
335
|
-
var
|
|
334
|
+
import { Event as Event16 } from "@opencode/schema/provider";
|
|
335
|
+
var ID17 = Provider.ID;
|
|
336
336
|
var AISDK_PREFIX2 = "aisdk:";
|
|
337
337
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
338
338
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -579,7 +579,7 @@ var Transport2 = Provider.Transport;
|
|
|
579
579
|
var Settings2 = Provider.Settings;
|
|
580
580
|
var Info24 = Provider.Info;
|
|
581
581
|
|
|
582
|
-
class
|
|
582
|
+
class Service82 extends Context.Service()("@opencode/Provider") {
|
|
583
583
|
}
|
|
584
584
|
var definitions = new WeakMap;
|
|
585
585
|
function index(providerID, models) {
|
|
@@ -592,10 +592,10 @@ function index(providerID, models) {
|
|
|
592
592
|
definitions.set(models, indexes);
|
|
593
593
|
return result;
|
|
594
594
|
}
|
|
595
|
-
var layer = Layer.effect(
|
|
596
|
-
const bus = yield*
|
|
597
|
-
const integrations = yield*
|
|
598
|
-
const location = yield*
|
|
595
|
+
var layer = Layer.effect(Service82, Effect2.gen(function* () {
|
|
596
|
+
const bus = yield* Service91;
|
|
597
|
+
const integrations = yield* Service83;
|
|
598
|
+
const location = yield* Service87;
|
|
599
599
|
const state = create4({
|
|
600
600
|
name: "provider",
|
|
601
601
|
initial: () => new Map,
|
|
@@ -687,7 +687,7 @@ var layer = Layer.effect(Service81, Effect2.gen(function* () {
|
|
|
687
687
|
const available = Array.from(records.values()).filter((record) => {
|
|
688
688
|
if (record.provider.activation === "disabled")
|
|
689
689
|
return false;
|
|
690
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
690
|
+
const integration = byID.get(record.provider.integrationID ?? ID18.make(record.provider.id));
|
|
691
691
|
if (record.sourceConnection && key3(record.sourceConnection) !== key3(integration?.connections[0]))
|
|
692
692
|
return false;
|
|
693
693
|
if (record.provider.activation === "enabled")
|
|
@@ -713,8 +713,8 @@ var layer = Layer.effect(Service81, Effect2.gen(function* () {
|
|
|
713
713
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
714
714
|
});
|
|
715
715
|
});
|
|
716
|
-
yield* bus.subscribe([
|
|
717
|
-
return
|
|
716
|
+
yield* bus.subscribe([Event17.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
717
|
+
return Service82.of({
|
|
718
718
|
transform: state.transform,
|
|
719
719
|
reload: state.reload,
|
|
720
720
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -723,7 +723,7 @@ var layer = Layer.effect(Service81, Effect2.gen(function* () {
|
|
|
723
723
|
snapshot
|
|
724
724
|
});
|
|
725
725
|
}));
|
|
726
|
-
var
|
|
726
|
+
var node85 = makeLocationNode({ service: Service82, layer, deps: [node94, node86, node90] });
|
|
727
727
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
728
728
|
const module = yield* Effect2.tryPromise({
|
|
729
729
|
try: () => {
|
|
@@ -745,4 +745,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
745
745
|
return module;
|
|
746
746
|
});
|
|
747
747
|
|
|
748
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
748
|
+
export { rewrite2, native2, exports_aisdk_native, ID17, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info24, Service82, node85, exports_provider5, Event16 };
|