@opencode/core 0.0.0-dev-457 → 0.0.0-dev-461
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 +7 -7
- package/dist/artifact.js +238 -238
- package/dist/bus.js +84 -84
- package/dist/chunks/{shared-cache-kcvmrqty.js → console-access-02b46etp.js} +4 -4
- package/dist/chunks/{shared-cache-034tev2y.js → console-access-034tev2y.js} +2 -2
- package/dist/chunks/{shared-cache-c322zrrb.js → console-access-0bwm9wgn.js} +14 -14
- package/dist/chunks/{shared-cache-92etfc35.js → console-access-0hbxbaq1.js} +20 -20
- package/dist/chunks/{shared-cache-9rxeyvad.js → console-access-0hgs9x36.js} +23 -23
- package/dist/chunks/{shared-cache-sqjzf8x2.js → console-access-0j7gp832.js} +4 -4
- package/dist/chunks/{shared-cache-qc39n20q.js → console-access-0khk3rs4.js} +11 -11
- package/dist/chunks/{shared-cache-9b6r78gs.js → console-access-0kyfq6vf.js} +23 -23
- package/dist/chunks/{shared-cache-0ma9gw4f.js → console-access-0ma9gw4f.js} +2 -2
- package/dist/chunks/{shared-cache-as0mg86e.js → console-access-0sy41ttq.js} +13 -13
- package/dist/chunks/{shared-cache-0wdj7mfr.js → console-access-0vnr7bd6.js} +17 -17
- package/dist/chunks/{shared-cache-m9622p9a.js → console-access-14b41dgv.js} +15 -15
- package/dist/chunks/{shared-cache-3d9m6vm1.js → console-access-174aa04v.js} +34 -34
- package/dist/chunks/{shared-cache-p33kn2f3.js → console-access-17z0xkr7.js} +4 -4
- package/dist/chunks/{shared-cache-1aqsckx4.js → console-access-1aqsckx4.js} +1 -1
- package/dist/chunks/{shared-cache-tb4cnk9d.js → console-access-1bd9yvcg.js} +4 -4
- package/dist/chunks/{shared-cache-1ep2p91f.js → console-access-1ep2p91f.js} +2 -2
- package/dist/chunks/{shared-cache-2hh34rxg.js → console-access-1fvz2s7b.js} +37 -37
- package/dist/chunks/{shared-cache-vdgf3x25.js → console-access-1ghpw5k9.js} +12 -12
- package/dist/chunks/{shared-cache-msd2a3qm.js → console-access-1v2g13eq.js} +4 -4
- package/dist/chunks/{shared-cache-0zrvsdva.js → console-access-1vj9xkjh.js} +16 -16
- package/dist/chunks/{shared-cache-1x2knyw4.js → console-access-1x2knyw4.js} +1 -1
- package/dist/chunks/{shared-cache-1yq9hg58.js → console-access-1yq9hg58.js} +1 -1
- package/dist/chunks/{shared-cache-k46dd5bg.js → console-access-20pht57w.js} +4 -4
- package/dist/chunks/{shared-cache-9cdcbvsm.js → console-access-24yxk1vj.js} +12 -12
- package/dist/chunks/{shared-cache-xzqp8jdw.js → console-access-25evc41f.js} +23 -23
- package/dist/chunks/{shared-cache-jg6qty85.js → console-access-267xht6e.js} +54 -54
- package/dist/chunks/{shared-cache-qwr0zwd0.js → console-access-284gzvr3.js} +6 -6
- package/dist/chunks/{shared-cache-rhx7sxcq.js → console-access-2bsm227b.js} +9 -9
- package/dist/chunks/{shared-cache-pap24bzz.js → console-access-2dht8359.js} +15 -15
- package/dist/chunks/{shared-cache-r1xc615x.js → console-access-2ftaaj09.js} +29 -29
- package/dist/chunks/{shared-cache-szgw3rmb.js → console-access-2gpcv0rd.js} +36 -36
- package/dist/chunks/{shared-cache-czh9y0nn.js → console-access-2h1c0rfr.js} +12 -12
- package/dist/chunks/{shared-cache-8889jn16.js → console-access-2k6zd025.js} +33 -33
- package/dist/chunks/{shared-cache-3gv0spa2.js → console-access-2mbjfaxd.js} +4 -4
- package/dist/chunks/{shared-cache-2p60zmnr.js → console-access-2p60zmnr.js} +2 -2
- package/dist/chunks/{shared-cache-hxjp32hp.js → console-access-3032atf7.js} +8 -8
- package/dist/chunks/{shared-cache-3we67zyn.js → console-access-30a3jnc3.js} +7 -7
- package/dist/chunks/{shared-cache-390xskpw.js → console-access-390xskpw.js} +1 -1
- package/dist/chunks/{shared-cache-29tqe9d2.js → console-access-39b4ptzy.js} +28 -28
- package/dist/chunks/{shared-cache-kpa6mjfj.js → console-access-3aq445hw.js} +9 -9
- package/dist/chunks/{shared-cache-wmxbp2m1.js → console-access-3b0jq727.js} +32 -32
- package/dist/chunks/{shared-cache-73hwfq4w.js → console-access-3fzg5t3e.js} +28 -28
- package/dist/chunks/{shared-cache-f7qhqc2m.js → console-access-3g1e149e.js} +16 -16
- package/dist/chunks/{shared-cache-3hepkmqq.js → console-access-3hepkmqq.js} +1 -1
- package/dist/chunks/{shared-cache-hp5p8e88.js → console-access-3mrkr0j9.js} +41 -41
- package/dist/chunks/{shared-cache-3nnrz6f6.js → console-access-3nnrz6f6.js} +1 -1
- package/dist/chunks/{shared-cache-j8q030kd.js → console-access-3zh8b9k5.js} +37 -37
- package/dist/chunks/{shared-cache-40y6dtc2.js → console-access-40y6dtc2.js} +1 -1
- package/dist/chunks/{shared-cache-nsr0xhep.js → console-access-40zb2q8m.js} +33 -33
- package/dist/chunks/{shared-cache-44pmzq9c.js → console-access-44pmzq9c.js} +2 -2
- package/dist/chunks/{shared-cache-8cg7mtm3.js → console-access-4d2dtj2f.js} +4 -4
- package/dist/chunks/{shared-cache-vtnm23gn.js → console-access-4d4wgq11.js} +13 -13
- package/dist/chunks/{shared-cache-4dx1dgte.js → console-access-4dx1dgte.js} +1 -1
- package/dist/chunks/{shared-cache-pf5m8b3c.js → console-access-4fdqt7xn.js} +23 -23
- package/dist/chunks/{shared-cache-8d1w7f37.js → console-access-4kavva8r.js} +23 -23
- package/dist/chunks/{shared-cache-b096peb1.js → console-access-4m99k5br.js} +8 -8
- package/dist/chunks/{shared-cache-4pyp9zr9.js → console-access-4pyp9zr9.js} +1 -1
- package/dist/chunks/{shared-cache-5sk19c47.js → console-access-4sxdbd6s.js} +18 -18
- package/dist/chunks/{shared-cache-4v008n1t.js → console-access-4v008n1t.js} +1 -1
- package/dist/chunks/{shared-cache-p9xrsnvg.js → console-access-4vkzmtry.js} +19 -19
- package/dist/chunks/{shared-cache-wgzqyxnv.js → console-access-54jtsw6t.js} +9 -9
- package/dist/chunks/{shared-cache-78az2fcw.js → console-access-56egqvqj.js} +56 -56
- package/dist/chunks/{shared-cache-0xe6vqk7.js → console-access-57st1r2p.js} +11 -11
- package/dist/chunks/{shared-cache-r41sfy63.js → console-access-5enarcya.js} +9 -9
- package/dist/chunks/{shared-cache-5m9w47nd.js → console-access-5m9w47nd.js} +1 -1
- package/dist/chunks/{shared-cache-e4dsdy5r.js → console-access-5mnp43qe.js} +9 -9
- package/dist/chunks/{shared-cache-ahytd4qs.js → console-access-5qk7pcez.js} +47 -47
- package/dist/chunks/{shared-cache-segd0erw.js → console-access-5rdngahw.js} +9 -9
- package/dist/chunks/{shared-cache-9y752z0k.js → console-access-5stb89cg.js} +11 -11
- package/dist/chunks/{shared-cache-5sbjqqwj.js → console-access-5sx3wtd1.js} +27 -27
- package/dist/chunks/{shared-cache-1ss34ysn.js → console-access-5w9z9t4q.js} +18 -18
- package/dist/chunks/{shared-cache-wv6svstt.js → console-access-5wpa8w3w.js} +32 -32
- package/dist/chunks/{shared-cache-pm55fh0v.js → console-access-61c6a8fw.js} +24 -24
- package/dist/chunks/{shared-cache-9zwexsxs.js → console-access-61qraad9.js} +5 -5
- package/dist/chunks/{shared-cache-tb2mrvc9.js → console-access-694dpcrp.js} +7 -7
- package/dist/chunks/{shared-cache-ekkk0f4d.js → console-access-6d4mvkjv.js} +23 -23
- package/dist/chunks/{shared-cache-fjae3t1k.js → console-access-6nfsbj4c.js} +17 -17
- package/dist/chunks/{shared-cache-28mzk8dv.js → console-access-6rhbe9q4.js} +33 -33
- package/dist/chunks/{shared-cache-x6x1nndz.js → console-access-6rhd9160.js} +32 -32
- package/dist/chunks/{shared-cache-76cb1hcw.js → console-access-76cb1hcw.js} +1 -1
- package/dist/chunks/{shared-cache-qgr2wv1c.js → console-access-77pk7shp.js} +30 -30
- package/dist/chunks/{shared-cache-wvr8xscb.js → console-access-79k544d0.js} +7 -7
- package/dist/chunks/{shared-cache-jc512s3p.js → console-access-7bg5w1mh.js} +8 -8
- package/dist/chunks/{shared-cache-7bmhse3q.js → console-access-7bmhse3q.js} +1 -1
- package/dist/chunks/{shared-cache-7kr66rt3.js → console-access-7kr66rt3.js} +1 -1
- package/dist/chunks/{shared-cache-gn6y8vzr.js → console-access-7pzqke8r.js} +12 -12
- package/dist/chunks/{shared-cache-3wmw86pa.js → console-access-7t7a223t.js} +19 -19
- package/dist/chunks/{shared-cache-7w2ypzdf.js → console-access-7w2ypzdf.js} +1 -1
- package/dist/chunks/{shared-cache-7weczvnd.js → console-access-7weczvnd.js} +1 -1
- package/dist/chunks/{shared-cache-0vfm4m30.js → console-access-7x73zfpa.js} +10 -10
- package/dist/chunks/console-access-7yv5xa0k.js +18 -0
- package/dist/chunks/{shared-cache-fwj8chqf.js → console-access-80kjwkyf.js} +15 -15
- package/dist/chunks/{shared-cache-80mg3ag8.js → console-access-80mg3ag8.js} +3 -3
- package/dist/chunks/{shared-cache-8dq44xrt.js → console-access-88tse5zy.js} +24 -24
- package/dist/chunks/{shared-cache-89287pr7.js → console-access-89287pr7.js} +1 -1
- package/dist/chunks/{shared-cache-25h84942.js → console-access-8b3vzgkx.js} +4 -4
- package/dist/chunks/{shared-cache-8sxe6kv8.js → console-access-8sxe6kv8.js} +2 -2
- package/dist/chunks/{shared-cache-dyebhzpv.js → console-access-8ty8gphb.js} +19 -19
- package/dist/chunks/{shared-cache-8wtp7s3z.js → console-access-8wtp7s3z.js} +1 -1
- package/dist/chunks/{shared-cache-gcjdgkn2.js → console-access-8x9y3wj0.js} +9 -9
- package/dist/chunks/{shared-cache-xksw6ev0.js → console-access-8xz27cp9.js} +4 -4
- package/dist/chunks/{shared-cache-90zstvax.js → console-access-90zstvax.js} +1 -1
- package/dist/chunks/{shared-cache-963hk181.js → console-access-963hk181.js} +2 -2
- package/dist/chunks/{shared-cache-m7ksbpap.js → console-access-986s6yzw.js} +89 -89
- package/dist/chunks/{shared-cache-660m4eb8.js → console-access-9cr47wgy.js} +7 -7
- package/dist/chunks/{shared-cache-a4tn1t8d.js → console-access-9ev8nbrr.js} +12 -12
- package/dist/chunks/{shared-cache-5e5gz891.js → console-access-9n3zya5s.js} +6 -6
- package/dist/chunks/{shared-cache-83z2hrem.js → console-access-9ntysx2f.js} +8 -8
- package/dist/chunks/{shared-cache-9q8g9sv8.js → console-access-9q8g9sv8.js} +1 -1
- package/dist/chunks/{shared-cache-z0naddr1.js → console-access-9srrvzre.js} +7 -7
- package/dist/chunks/{shared-cache-ww26epb1.js → console-access-9wcjat3p.js} +17 -17
- package/dist/chunks/{shared-cache-pmh2kq9n.js → console-access-9yskam8v.js} +35 -35
- package/dist/chunks/{shared-cache-8ejs04fm.js → console-access-9zh6h3zf.js} +25 -25
- package/dist/chunks/{shared-cache-73czttcw.js → console-access-a4n8q08m.js} +11 -11
- package/dist/chunks/console-access-a4tessf8.js +555 -0
- package/dist/chunks/{shared-cache-spe6nwpw.js → console-access-aa8e116b.js} +35 -35
- package/dist/chunks/{shared-cache-wfs84ra6.js → console-access-aenn6vam.js} +7 -7
- package/dist/chunks/{shared-cache-cv3zt5fr.js → console-access-aj55bz5r.js} +32 -32
- package/dist/chunks/{shared-cache-44jvmyw9.js → console-access-areqykj9.js} +12 -12
- package/dist/chunks/{shared-cache-vgt1abs0.js → console-access-ayd63gnn.js} +25 -25
- package/dist/chunks/{shared-cache-ayjs7tqn.js → console-access-ayjs7tqn.js} +2 -2
- package/dist/chunks/{shared-cache-x8jx2pq0.js → console-access-azmhmg9n.js} +11 -11
- package/dist/chunks/{shared-cache-4zqa8vte.js → console-access-b6pm0s44.js} +27 -27
- package/dist/chunks/{shared-cache-5nnwax6m.js → console-access-b6vsg801.js} +5 -5
- package/dist/chunks/{shared-cache-3kmrk0at.js → console-access-bam5a6tw.js} +8 -8
- package/dist/chunks/{shared-cache-9x29zr15.js → console-access-baq3yqba.js} +6 -6
- package/dist/chunks/{shared-cache-4he7yfh3.js → console-access-bav7q4m1.js} +18 -18
- package/dist/chunks/{shared-cache-bgs9y14h.js → console-access-bgs9y14h.js} +5 -5
- package/dist/chunks/{shared-cache-1tcfse8e.js → console-access-brtqpa8p.js} +5 -5
- package/dist/chunks/{shared-cache-xd9cc171.js → console-access-bstexjd6.js} +5 -5
- package/dist/chunks/{shared-cache-hvra224z.js → console-access-btm7bkhg.js} +3 -3
- package/dist/chunks/{shared-cache-jxr5ks98.js → console-access-bw23crm5.js} +6 -6
- package/dist/chunks/{shared-cache-2q55fwpn.js → console-access-bzk5aeb2.js} +17 -17
- package/dist/chunks/{shared-cache-mxxad9v0.js → console-access-c09y0a8j.js} +11 -11
- package/dist/chunks/{shared-cache-7bdez437.js → console-access-c0v1nnxm.js} +3 -3
- package/dist/chunks/{shared-cache-j351eg86.js → console-access-c6qtypbt.js} +4 -9
- package/dist/chunks/{shared-cache-vgsh18yn.js → console-access-cds01v4k.js} +11 -11
- package/dist/chunks/{shared-cache-5hzm2a2n.js → console-access-cks4e87a.js} +5 -5
- package/dist/chunks/{shared-cache-jkdcm5hg.js → console-access-cr4rfj9z.js} +4 -4
- package/dist/chunks/{shared-cache-cwrgdav8.js → console-access-cwrgdav8.js} +2 -2
- package/dist/chunks/{shared-cache-g6fwdp5w.js → console-access-cwzzac1q.js} +11 -11
- package/dist/chunks/{shared-cache-d4v9tmah.js → console-access-d4v9tmah.js} +2 -2
- package/dist/chunks/{shared-cache-yv1nawr6.js → console-access-d8dmjm89.js} +12 -12
- package/dist/chunks/{shared-cache-7z7n868z.js → console-access-dach63h6.js} +13 -13
- package/dist/chunks/{shared-cache-0r84vseg.js → console-access-dd0f4r17.js} +9 -9
- package/dist/chunks/{shared-cache-rj7j5fvs.js → console-access-dg5naf6e.js} +4 -4
- package/dist/chunks/{shared-cache-kfg9w0kz.js → console-access-dkajxp5n.js} +35 -18
- package/dist/chunks/{shared-cache-6v1f9b3c.js → console-access-dq1vbq82.js} +3 -3
- package/dist/chunks/{shared-cache-18y3b983.js → console-access-dqfqn090.js} +50 -50
- package/dist/chunks/{shared-cache-jg9jtwr2.js → console-access-dqymrb6j.js} +11 -11
- package/dist/chunks/{shared-cache-dt77769w.js → console-access-dt77769w.js} +1 -1
- package/dist/chunks/{shared-cache-01qan1r0.js → console-access-dtabb3x4.js} +12 -12
- package/dist/chunks/{shared-cache-sqaq72qw.js → console-access-dw91h3aj.js} +13 -13
- package/dist/chunks/{shared-cache-6qqp4y7r.js → console-access-dycjh86r.js} +9 -9
- package/dist/chunks/{shared-cache-emjzq4az.js → console-access-dzfp7kbr.js} +18 -18
- package/dist/chunks/{shared-cache-cskeh2qn.js → console-access-e4mq6v1v.js} +5 -5
- package/dist/chunks/{shared-cache-4ajefbv8.js → console-access-e832xn25.js} +14 -14
- package/dist/chunks/{shared-cache-e834z07m.js → console-access-e834z07m.js} +1 -1
- package/dist/chunks/{shared-cache-rd3k82cy.js → console-access-e8bg73ef.js} +8 -8
- package/dist/chunks/{shared-cache-r4gz9jm9.js → console-access-edgp587h.js} +10 -10
- package/dist/chunks/{shared-cache-87dpdb9s.js → console-access-ej29q6tg.js} +9 -9
- package/dist/chunks/{shared-cache-eqw4pqj1.js → console-access-eqw4pqj1.js} +2 -2
- package/dist/chunks/{shared-cache-gtsw9av3.js → console-access-ersdrtn3.js} +9 -9
- package/dist/chunks/{shared-cache-jhp78y9r.js → console-access-ew33kjef.js} +20 -20
- package/dist/chunks/{shared-cache-ewa1ec51.js → console-access-ewa1ec51.js} +4 -4
- package/dist/chunks/{shared-cache-qqg4080p.js → console-access-ez4z675w.js} +9 -9
- package/dist/chunks/{shared-cache-yvbkpmy4.js → console-access-f1pzy042.js} +31 -26
- package/dist/chunks/{shared-cache-y1r4n95f.js → console-access-f2kh68ms.js} +5 -5
- package/dist/chunks/{shared-cache-4908ts34.js → console-access-f3qtec8a.js} +17 -17
- package/dist/chunks/{shared-cache-8n59df1n.js → console-access-fcmh389t.js} +6 -6
- package/dist/chunks/{shared-cache-fffv3p7h.js → console-access-fffv3p7h.js} +1 -1
- package/dist/chunks/{shared-cache-fg9p65nk.js → console-access-fg9p65nk.js} +2 -2
- package/dist/chunks/{shared-cache-jgtdwqt8.js → console-access-fjds1fn3.js} +2 -2
- package/dist/chunks/{shared-cache-0j8e1req.js → console-access-frr3db5h.js} +18 -18
- package/dist/chunks/{shared-cache-w17yb6n4.js → console-access-fyw2c29a.js} +3 -3
- package/dist/chunks/{shared-cache-d34c0f98.js → console-access-g4v74gy6.js} +8 -8
- package/dist/chunks/{shared-cache-gbjdnr5j.js → console-access-gbjdnr5j.js} +2 -2
- package/dist/chunks/{shared-cache-3aftw05r.js → console-access-gg1k7xne.js} +14 -14
- package/dist/chunks/{shared-cache-s2xjhrkd.js → console-access-gk5zfyzz.js} +4 -4
- package/dist/chunks/{shared-cache-h4694nx1.js → console-access-gq6jhf3f.js} +2 -2
- package/dist/chunks/{shared-cache-tg7s7b5t.js → console-access-gxs71cxp.js} +4 -4
- package/dist/chunks/{shared-cache-mvvw8933.js → console-access-gya79xwr.js} +27 -27
- package/dist/chunks/{shared-cache-p94q8hge.js → console-access-h99babpy.js} +53 -53
- package/dist/chunks/{shared-cache-nemnqzpn.js → console-access-hced1q2j.js} +4 -4
- package/dist/chunks/{shared-cache-x9y7w5qr.js → console-access-hkwj5b1f.js} +19 -19
- package/dist/chunks/{shared-cache-hs0y3m5w.js → console-access-hnyxx5af.js} +28 -28
- package/dist/chunks/{shared-cache-hpg1pkwy.js → console-access-hpg1pkwy.js} +1 -1
- package/dist/chunks/{shared-cache-54kgf0t3.js → console-access-hqq8daba.js} +13 -13
- package/dist/chunks/{shared-cache-aq5frc3d.js → console-access-hqyd9qtc.js} +4 -4
- package/dist/chunks/{shared-cache-y9c350ew.js → console-access-hretfjjx.js} +2 -2
- package/dist/chunks/{shared-cache-hsnq1va6.js → console-access-hsnq1va6.js} +2 -2
- package/dist/chunks/{shared-cache-k4jqjvqk.js → console-access-htqjq3p0.js} +27 -27
- package/dist/chunks/{shared-cache-76ac2f9y.js → console-access-j2p0aq2q.js} +43 -43
- package/dist/chunks/{shared-cache-xmx7xj34.js → console-access-j3f8hyeg.js} +4 -4
- package/dist/chunks/{shared-cache-4wwt44bz.js → console-access-j6rd03df.js} +23 -23
- package/dist/chunks/{shared-cache-yyr882aa.js → console-access-j6zmg9wc.js} +5 -5
- package/dist/chunks/{shared-cache-h1fsh5gg.js → console-access-jbs6jwkk.js} +11 -11
- package/dist/chunks/{shared-cache-nn1p33cp.js → console-access-jejb9f09.js} +32 -32
- package/dist/chunks/{shared-cache-jtnps1zs.js → console-access-jtnps1zs.js} +2 -2
- package/dist/chunks/{shared-cache-pn1g3a6b.js → console-access-jvcygd6j.js} +9 -9
- package/dist/chunks/{shared-cache-j5pp33gg.js → console-access-jxv9802m.js} +14 -14
- package/dist/chunks/{shared-cache-mjnhe1nq.js → console-access-kdz26drv.js} +25 -25
- package/dist/chunks/{shared-cache-y6z0jv9h.js → console-access-khrw954m.js} +21 -21
- package/dist/chunks/{shared-cache-8vbpq9va.js → console-access-kn0cpt95.js} +30 -30
- package/dist/chunks/{shared-cache-kt3bjfbg.js → console-access-kt3bjfbg.js} +1 -1
- package/dist/chunks/{shared-cache-qpchws8n.js → console-access-kt8rgxn2.js} +87 -87
- package/dist/chunks/{shared-cache-6mdbkvg8.js → console-access-kwsz9n07.js} +5 -5
- package/dist/chunks/{shared-cache-kzczzf4v.js → console-access-kzczzf4v.js} +1 -1
- package/dist/chunks/{shared-cache-m1714858.js → console-access-m1714858.js} +1 -1
- package/dist/chunks/{shared-cache-ytj76p73.js → console-access-m2ggzdr4.js} +25 -25
- package/dist/chunks/{shared-cache-g7szjcez.js → console-access-m8rq167t.js} +51 -51
- package/dist/chunks/{shared-cache-m9w0rfyh.js → console-access-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shared-cache-mb7mbhnz.js → console-access-mb7mbhnz.js} +3 -3
- package/dist/chunks/{shared-cache-335h8y1q.js → console-access-mbf4sf1b.js} +45 -45
- package/dist/chunks/{shared-cache-c54xxfzm.js → console-access-mdkqrnke.js} +31 -31
- package/dist/chunks/{shared-cache-f3fdhana.js → console-access-mdvts110.js} +15 -15
- package/dist/chunks/{shared-cache-xs0w7nj3.js → console-access-mxv82ryp.js} +5 -5
- package/dist/chunks/{shared-cache-bfmgkdsj.js → console-access-n5wq5eab.js} +43 -43
- package/dist/chunks/{shared-cache-pe032dms.js → console-access-n900mnaw.js} +9 -9
- package/dist/chunks/{shared-cache-szt8as1t.js → console-access-nekmxn1r.js} +25 -25
- package/dist/chunks/{shared-cache-nv64swaj.js → console-access-nr8bs24c.js} +26 -26
- package/dist/chunks/{shared-cache-7e18g4px.js → console-access-nsvwbd9q.js} +21 -21
- package/dist/chunks/{shared-cache-dv250zvr.js → console-access-nv2c5e9q.js} +3 -3
- package/dist/chunks/{shared-cache-35540211.js → console-access-nzdv8kjb.js} +15 -15
- package/dist/chunks/{shared-cache-qx7d52zy.js → console-access-p242xzew.js} +32 -32
- package/dist/chunks/{shared-cache-mv0k3gyx.js → console-access-p2kaj3kt.js} +24 -24
- package/dist/chunks/{shared-cache-fpjxw46t.js → console-access-p3g3b7x5.js} +6 -6
- package/dist/chunks/{shared-cache-a4ejydmw.js → console-access-p45kkdsf.js} +37 -37
- package/dist/chunks/{shared-cache-31r9ew24.js → console-access-pc7e7tqs.js} +20 -20
- package/dist/chunks/{shared-cache-gw99hzbq.js → console-access-pgwxehkf.js} +187 -187
- package/dist/chunks/{shared-cache-pknna89w.js → console-access-pknna89w.js} +1 -1
- package/dist/chunks/{shared-cache-d9j8kz1s.js → console-access-pmb0f11j.js} +6 -6
- package/dist/chunks/{shared-cache-pnwsrq7c.js → console-access-pnwsrq7c.js} +3 -3
- package/dist/chunks/{shared-cache-ph12y7yp.js → console-access-pqq01qb6.js} +3 -3
- package/dist/chunks/{shared-cache-bd54nrqf.js → console-access-ps0sd0ch.js} +13 -13
- package/dist/chunks/{shared-cache-kzw92vkv.js → console-access-q4chxmqq.js} +38 -38
- package/dist/chunks/{shared-cache-qw2t3dzn.js → console-access-qnqasnye.js} +6 -6
- package/dist/chunks/{shared-cache-qp7r0hxv.js → console-access-qp7r0hxv.js} +1 -1
- package/dist/chunks/{shared-cache-qqvy8y24.js → console-access-qqvy8y24.js} +1 -1
- package/dist/chunks/{shared-cache-qsdghx1p.js → console-access-qsdghx1p.js} +1 -1
- package/dist/chunks/{shared-cache-03mpff5k.js → console-access-r2gkykbs.js} +7 -7
- package/dist/chunks/{shared-cache-0s2nyjka.js → console-access-r2zmw29q.js} +19 -19
- package/dist/chunks/{shared-cache-4f25tdd0.js → console-access-r542h3bh.js} +5 -5
- package/dist/chunks/{shared-cache-y37rxwzh.js → console-access-r6q0f2ac.js} +18 -18
- package/dist/chunks/{shared-cache-rb9dy4dg.js → console-access-rb9dy4dg.js} +1 -1
- package/dist/chunks/{shared-cache-y4t0y6zk.js → console-access-rbp3w7ma.js} +14 -14
- package/dist/chunks/{shared-cache-53dvpje3.js → console-access-rhqb5500.js} +1 -1
- package/dist/chunks/{shared-cache-j6r348n2.js → console-access-rkvcsjsd.js} +8 -8
- package/dist/chunks/{shared-cache-76pt27tc.js → console-access-rpmef3xq.js} +20 -20
- package/dist/chunks/{shared-cache-ybw2rd55.js → console-access-rq6msc4n.js} +11 -11
- package/dist/chunks/{shared-cache-rt5dr6hb.js → console-access-rt5dr6hb.js} +1 -1
- package/dist/chunks/{shared-cache-xxh1ym0y.js → console-access-rwsvr4dq.js} +5 -5
- package/dist/chunks/{shared-cache-pana0d56.js → console-access-s4kyhetj.js} +3 -3
- package/dist/chunks/{shared-cache-sa3fpqfw.js → console-access-sa3fpqfw.js} +2 -2
- package/dist/chunks/{shared-cache-dbxc1608.js → console-access-sawn0w0v.js} +21 -21
- package/dist/chunks/{shared-cache-sbya78hr.js → console-access-sbya78hr.js} +1 -1
- package/dist/chunks/{shared-cache-1scgcwfj.js → console-access-sbz71ybr.js} +3 -3
- package/dist/chunks/{shared-cache-n5v7jmd6.js → console-access-sd14szt8.js} +22 -22
- package/dist/chunks/{shared-cache-53j7xvnm.js → console-access-ss63bjb1.js} +16 -16
- package/dist/chunks/{shared-cache-j1pth68z.js → console-access-st0tm0xf.js} +29 -29
- package/dist/chunks/{shared-cache-svcy3p9a.js → console-access-svcy3p9a.js} +1 -1
- package/dist/chunks/{shared-cache-2bswbpgz.js → console-access-sx27c7qs.js} +7 -7
- package/dist/chunks/{shared-cache-szwm4crx.js → console-access-szwm4crx.js} +4 -4
- package/dist/chunks/{shared-cache-cb32ztw6.js → console-access-t01mm60p.js} +7 -7
- package/dist/chunks/{shared-cache-b2scchx5.js → console-access-t0wfjgtr.js} +12 -12
- package/dist/chunks/{shared-cache-2j9d56vn.js → console-access-t5j54pmh.js} +27 -27
- package/dist/chunks/{shared-cache-b948jmy1.js → console-access-t74pe6sk.js} +51 -51
- package/dist/chunks/{shared-cache-tczq8hjw.js → console-access-tczq8hjw.js} +1 -1
- package/dist/chunks/{shared-cache-vq0qa3sh.js → console-access-teav1bzy.js} +9 -9
- package/dist/chunks/{shared-cache-tr8x705m.js → console-access-tr8x705m.js} +1 -1
- package/dist/chunks/{shared-cache-956zvm58.js → console-access-twj5avwp.js} +7 -7
- package/dist/chunks/{shared-cache-twssxy5n.js → console-access-twssxy5n.js} +2 -2
- package/dist/chunks/{shared-cache-yx89v5j3.js → console-access-tzc3v83t.js} +25 -25
- package/dist/chunks/{shared-cache-xrtd710r.js → console-access-v03ttmzk.js} +32 -14
- package/dist/chunks/{shared-cache-v2r1d0zg.js → console-access-v2r1d0zg.js} +1 -1
- package/dist/chunks/{shared-cache-csby1x6w.js → console-access-v3278p87.js} +35 -35
- package/dist/chunks/{shared-cache-v5hpj9dd.js → console-access-v5hpj9dd.js} +1 -1
- package/dist/chunks/{shared-cache-fv0gqzre.js → console-access-va94v6j2.js} +2 -2
- package/dist/chunks/{shared-cache-stztk7h0.js → console-access-vdaneqs3.js} +23 -23
- package/dist/chunks/{shared-cache-vjf35v1f.js → console-access-vjf35v1f.js} +1 -1
- package/dist/chunks/{shared-cache-rc7cmy01.js → console-access-vnn2afwv.js} +9 -9
- package/dist/chunks/{shared-cache-wvcem29w.js → console-access-vnqfh8t4.js} +5 -5
- package/dist/chunks/{shared-cache-0q0exa15.js → console-access-vpw3c1s6.js} +14 -14
- package/dist/chunks/{shared-cache-65zstjt1.js → console-access-vvnnts4c.js} +15 -15
- package/dist/chunks/{shared-cache-ac0nrts2.js → console-access-vy8hqggn.js} +7 -7
- package/dist/chunks/{shared-cache-79hsyw72.js → console-access-w0s8m7er.js} +12 -12
- package/dist/chunks/{shared-cache-b8kb0jc9.js → console-access-w3c3s7r0.js} +16 -16
- package/dist/chunks/{shared-cache-pp5gghwv.js → console-access-w3gd9t09.js} +1 -1
- package/dist/chunks/{shared-cache-w3wsvvr9.js → console-access-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shared-cache-bgtfms1n.js → console-access-w8hd9jg9.js} +30 -30
- package/dist/chunks/{shared-cache-wakvkjy4.js → console-access-wakvkjy4.js} +1 -1
- package/dist/chunks/{shared-cache-e09ngpdh.js → console-access-wbt9c5jn.js} +32 -32
- package/dist/chunks/{shared-cache-wd87259q.js → console-access-wd87259q.js} +1 -1
- package/dist/chunks/{shared-cache-wegkxhrn.js → console-access-wegkxhrn.js} +2 -2
- package/dist/chunks/{shared-cache-h99ek2x4.js → console-access-wm14cjjm.js} +23 -23
- package/dist/chunks/{shared-cache-x1138qf2.js → console-access-wm3df3fg.js} +21 -21
- package/dist/chunks/{shared-cache-gjb13sdp.js → console-access-wn12jdbp.js} +5 -5
- package/dist/chunks/{shared-cache-wnhgecwx.js → console-access-wnhgecwx.js} +1 -1
- package/dist/chunks/{shared-cache-j05qjvrv.js → console-access-wnq1eck8.js} +12 -12
- package/dist/chunks/{shared-cache-w687dnns.js → console-access-wr3re1en.js} +4 -4
- package/dist/chunks/{shared-cache-pvx25tzf.js → console-access-wtw1hn5v.js} +4 -4
- package/dist/chunks/{shared-cache-95sp4hdf.js → console-access-wws03c5r.js} +4 -4
- package/dist/chunks/{shared-cache-0gdrrj59.js → console-access-x3c9tvtc.js} +4 -4
- package/dist/chunks/{shared-cache-7nqkf5r1.js → console-access-x4mcewfn.js} +4 -4
- package/dist/chunks/{shared-cache-82m30djg.js → console-access-xbm420df.js} +11 -11
- package/dist/chunks/{shared-cache-ara4d2g6.js → console-access-xhdyat8s.js} +9 -9
- package/dist/chunks/{shared-cache-0se1q41g.js → console-access-xjffre0m.js} +16 -16
- package/dist/chunks/{shared-cache-978jgtnz.js → console-access-xmpgs8za.js} +75 -73
- package/dist/chunks/{shared-cache-ree0x2as.js → console-access-xs7kvz87.js} +10 -10
- package/dist/chunks/{shared-cache-xsvq7cjt.js → console-access-xsvq7cjt.js} +1 -1
- package/dist/chunks/{shared-cache-1vbrkdbs.js → console-access-xya5z1v4.js} +3 -3
- package/dist/chunks/{shared-cache-dmze3mc3.js → console-access-y762rkg4.js} +5 -5
- package/dist/chunks/{shared-cache-e4939h50.js → console-access-yat0atrq.js} +17 -17
- package/dist/chunks/{shared-cache-yb20nhc3.js → console-access-yb20nhc3.js} +1 -1
- package/dist/chunks/{shared-cache-p7d7t6w3.js → console-access-ydtx5n99.js} +43 -43
- package/dist/chunks/{shared-cache-78c83dz3.js → console-access-yf28ngb5.js} +5 -5
- package/dist/chunks/{shared-cache-dn2tbeq0.js → console-access-yjbbgan4.js} +20 -20
- package/dist/chunks/{shared-cache-1sz52pcc.js → console-access-yptt5g1p.js} +7 -7
- package/dist/chunks/{shared-cache-yr705xyq.js → console-access-yr705xyq.js} +1 -1
- package/dist/chunks/{shared-cache-yvtc2x31.js → console-access-yvtc2x31.js} +1 -1
- package/dist/chunks/console-access-yzbbc780.js +261 -0
- package/dist/chunks/{shared-cache-z080rjh6.js → console-access-z080rjh6.js} +1 -1
- package/dist/chunks/{shared-cache-20httykd.js → console-access-z2q9n5pc.js} +31 -31
- package/dist/chunks/{shared-cache-1rfmbpcr.js → console-access-z5bk1z25.js} +25 -25
- package/dist/chunks/{shared-cache-bexzbe2y.js → console-access-z7q48sws.js} +37 -37
- package/dist/chunks/{shared-cache-40r16e5m.js → console-access-zb3ebwgt.js} +3 -3
- package/dist/chunks/{shared-cache-3sj5a19d.js → console-access-zctn3sx9.js} +2 -2
- package/dist/chunks/{shared-cache-ze75qvmd.js → console-access-ze75qvmd.js} +3 -3
- package/dist/chunks/{shared-cache-sykxe607.js → console-access-zfsfk48f.js} +59 -59
- package/dist/chunks/{shared-cache-wtpcbd8x.js → console-access-zgbrbxkx.js} +17 -17
- package/dist/chunks/{shared-cache-dpfwk0f7.js → console-access-zx20wyhw.js} +27 -27
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +5 -5
- 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 +132 -132
- package/dist/config/plugin/command.js +231 -231
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- 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 +130 -130
- 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 +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +133 -133
- 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 +131 -131
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- 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 +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +430 -430
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +106 -106
- 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 +156 -156
- package/dist/file-mutation.js +103 -103
- package/dist/file-retention.js +1 -1
- 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 +243 -243
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +112 -112
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +115 -115
- package/dist/form.js +87 -87
- package/dist/formatter/builtins.js +4 -4
- 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 +112 -112
- 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 +3 -3
- 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 +421 -421
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/sql.js +2 -2
- package/dist/job.js +86 -86
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +179 -179
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +418 -418
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +179 -179
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +115 -115
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +113 -113
- 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 +149 -149
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +397 -397
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +127 -127
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +132 -132
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
- package/dist/plugin/provider/claude-agent/index.js +145 -145
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- 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 +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +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 +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -107
- 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 +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -107
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +130 -130
- package/dist/plugin/provider/opencode.js +132 -132
- 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 +129 -129
- package/dist/plugin/provider/vllm.js +137 -137
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +212 -212
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +147 -147
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +405 -405
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +97 -97
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -128
- package/dist/plugin/websearch/exa.js +3 -3
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +4 -4
- package/dist/plugin/websearch/tavily.js +2 -2
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +241 -241
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +97 -97
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +107 -107
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +110 -110
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +255 -255
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +167 -167
- package/dist/session/context.js +198 -198
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +246 -246
- package/dist/session/execution.js +161 -161
- package/dist/session/generate.js +198 -198
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +149 -149
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +143 -143
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +248 -248
- 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 +149 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +161 -161
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +179 -179
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +229 -229
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +196 -196
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +240 -240
- package/dist/session/usage.js +3 -3
- package/dist/session.js +233 -233
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +146 -146
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +154 -154
- package/dist/snapshot.js +104 -104
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +180 -180
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +162 -162
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +166 -166
- package/dist/tool/plugin/grep.js +168 -168
- package/dist/tool/plugin/image-generate.js +239 -239
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +164 -164
- package/dist/tool/plugin/question.js +146 -146
- package/dist/tool/plugin/read.js +169 -169
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +235 -235
- package/dist/tool/plugin/skill.js +157 -157
- package/dist/tool/plugin/subagent.js +236 -236
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +151 -151
- package/dist/tool/plugin/write.js +164 -164
- package/dist/tool/read-filesystem.js +113 -113
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +157 -157
- package/dist/types/plugin/optimize.d.ts +1 -22
- package/dist/types/session/runner/publish-llm-event.d.ts +1 -1
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +100 -100
- package/dist/voice.js +99 -99
- package/dist/websearch.js +99 -99
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +88 -88
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/shared-cache-fsrrdggk.js +0 -261
- package/dist/chunks/shared-cache-m6qqtaps.js +0 -555
- package/dist/chunks/shared-cache-qmh7vbk2.js +0 -18
- /package/dist/chunks/{shared-cache-0qkdqm5v.js → console-access-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shared-cache-0zkw76rk.js → console-access-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shared-cache-17cy0kzp.js → console-access-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shared-cache-1cnp2v09.js → console-access-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shared-cache-1kah00gy.js → console-access-1kah00gy.js} +0 -0
- /package/dist/chunks/{shared-cache-1pevy3nx.js → console-access-1pevy3nx.js} +0 -0
- /package/dist/chunks/{shared-cache-24dcb14g.js → console-access-24dcb14g.js} +0 -0
- /package/dist/chunks/{shared-cache-2710q6r3.js → console-access-2710q6r3.js} +0 -0
- /package/dist/chunks/{shared-cache-2bv980vf.js → console-access-2bv980vf.js} +0 -0
- /package/dist/chunks/{shared-cache-2c3vjs8z.js → console-access-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shared-cache-359p4xyc.js → console-access-359p4xyc.js} +0 -0
- /package/dist/chunks/{shared-cache-3asan66x.js → console-access-3asan66x.js} +0 -0
- /package/dist/chunks/{shared-cache-3v8g72cx.js → console-access-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shared-cache-3wcehsnq.js → console-access-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shared-cache-43n2bw4t.js → console-access-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shared-cache-4knz6hnm.js → console-access-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shared-cache-4qk9sjk2.js → console-access-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{shared-cache-4vcrnpx2.js → console-access-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shared-cache-4y7fprxs.js → console-access-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shared-cache-53557ph1.js → console-access-53557ph1.js} +0 -0
- /package/dist/chunks/{shared-cache-550bvhaj.js → console-access-550bvhaj.js} +0 -0
- /package/dist/chunks/{shared-cache-5w3e23ze.js → console-access-5w3e23ze.js} +0 -0
- /package/dist/chunks/{shared-cache-6agm2x70.js → console-access-6agm2x70.js} +0 -0
- /package/dist/chunks/{shared-cache-6prwharc.js → console-access-6prwharc.js} +0 -0
- /package/dist/chunks/{shared-cache-6q2bdcd1.js → console-access-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{shared-cache-7akdwqpd.js → console-access-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shared-cache-7m9af43g.js → console-access-7m9af43g.js} +0 -0
- /package/dist/chunks/{shared-cache-822emrt2.js → console-access-822emrt2.js} +0 -0
- /package/dist/chunks/{shared-cache-84wd9syh.js → console-access-84wd9syh.js} +0 -0
- /package/dist/chunks/{shared-cache-88xbtdfr.js → console-access-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shared-cache-8n3pysct.js → console-access-8n3pysct.js} +0 -0
- /package/dist/chunks/{shared-cache-8wj87zfr.js → console-access-8wj87zfr.js} +0 -0
- /package/dist/chunks/{shared-cache-9a4afbnw.js → console-access-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shared-cache-9rqn6x4v.js → console-access-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shared-cache-a6k6eb26.js → console-access-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shared-cache-af5trqkr.js → console-access-af5trqkr.js} +0 -0
- /package/dist/chunks/{shared-cache-afrmfg78.js → console-access-afrmfg78.js} +0 -0
- /package/dist/chunks/{shared-cache-aqzs7mqg.js → console-access-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shared-cache-atq7p7m5.js → console-access-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shared-cache-beh6qq61.js → console-access-beh6qq61.js} +0 -0
- /package/dist/chunks/{shared-cache-bkyjaxrp.js → console-access-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shared-cache-bmr6ed5q.js → console-access-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shared-cache-cf4snx6d.js → console-access-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shared-cache-cqv5kn06.js → console-access-cqv5kn06.js} +0 -0
- /package/dist/chunks/{shared-cache-cvy3z8tj.js → console-access-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shared-cache-d9fn303g.js → console-access-d9fn303g.js} +0 -0
- /package/dist/chunks/{shared-cache-d9jj8t3e.js → console-access-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shared-cache-dap0rakb.js → console-access-dap0rakb.js} +0 -0
- /package/dist/chunks/{shared-cache-dbht28n9.js → console-access-dbht28n9.js} +0 -0
- /package/dist/chunks/{shared-cache-df08tz66.js → console-access-df08tz66.js} +0 -0
- /package/dist/chunks/{shared-cache-dy18nga0.js → console-access-dy18nga0.js} +0 -0
- /package/dist/chunks/{shared-cache-e5kj55wp.js → console-access-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shared-cache-e73j6tqm.js → console-access-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shared-cache-ean2d8b5.js → console-access-ean2d8b5.js} +0 -0
- /package/dist/chunks/{shared-cache-ec1grn59.js → console-access-ec1grn59.js} +0 -0
- /package/dist/chunks/{shared-cache-eh3zwz77.js → console-access-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shared-cache-emrn6kk6.js → console-access-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shared-cache-f0mxakyp.js → console-access-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shared-cache-f6n9ztr4.js → console-access-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shared-cache-faypxj3z.js → console-access-faypxj3z.js} +0 -0
- /package/dist/chunks/{shared-cache-fd410y7t.js → console-access-fd410y7t.js} +0 -0
- /package/dist/chunks/{shared-cache-fkpq3x5p.js → console-access-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{shared-cache-g4wezp1m.js → console-access-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shared-cache-g86h250q.js → console-access-g86h250q.js} +0 -0
- /package/dist/chunks/{shared-cache-gebd4c9n.js → console-access-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shared-cache-gftt206x.js → console-access-gftt206x.js} +0 -0
- /package/dist/chunks/{shared-cache-hcxmzztb.js → console-access-hcxmzztb.js} +0 -0
- /package/dist/chunks/{shared-cache-hk9envan.js → console-access-hk9envan.js} +0 -0
- /package/dist/chunks/{shared-cache-j2ntwpah.js → console-access-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shared-cache-j5zkgpj8.js → console-access-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shared-cache-jjkms2e6.js → console-access-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shared-cache-jr7sbwjy.js → console-access-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shared-cache-jwfs4k6c.js → console-access-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shared-cache-jwr30sdr.js → console-access-jwr30sdr.js} +0 -0
- /package/dist/chunks/{shared-cache-jzg6c2d5.js → console-access-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shared-cache-m18g726c.js → console-access-m18g726c.js} +0 -0
- /package/dist/chunks/{shared-cache-mp448xyj.js → console-access-mp448xyj.js} +0 -0
- /package/dist/chunks/{shared-cache-msx8hqn2.js → console-access-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shared-cache-n05xt0ee.js → console-access-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shared-cache-n3j8tn72.js → console-access-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shared-cache-nh4v3znn.js → console-access-nh4v3znn.js} +0 -0
- /package/dist/chunks/{shared-cache-njntx4h6.js → console-access-njntx4h6.js} +0 -0
- /package/dist/chunks/{shared-cache-p71gwv9c.js → console-access-p71gwv9c.js} +0 -0
- /package/dist/chunks/{shared-cache-q3sfg36h.js → console-access-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shared-cache-q74kybfr.js → console-access-q74kybfr.js} +0 -0
- /package/dist/chunks/{shared-cache-qaymkmh1.js → console-access-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shared-cache-qb87gjwd.js → console-access-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shared-cache-qfa1cgps.js → console-access-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shared-cache-qg3g05ea.js → console-access-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shared-cache-qrg20bc0.js → console-access-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shared-cache-rcb2kzg1.js → console-access-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shared-cache-sdp7kfr6.js → console-access-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shared-cache-ssg3fenm.js → console-access-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shared-cache-syrav9an.js → console-access-syrav9an.js} +0 -0
- /package/dist/chunks/{shared-cache-t03h4f5z.js → console-access-t03h4f5z.js} +0 -0
- /package/dist/chunks/{shared-cache-ty7weeps.js → console-access-ty7weeps.js} +0 -0
- /package/dist/chunks/{shared-cache-ve7vex1e.js → console-access-ve7vex1e.js} +0 -0
- /package/dist/chunks/{shared-cache-vtarvj67.js → console-access-vtarvj67.js} +0 -0
- /package/dist/chunks/{shared-cache-w803qqfp.js → console-access-w803qqfp.js} +0 -0
- /package/dist/chunks/{shared-cache-wc3fc9cn.js → console-access-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shared-cache-wer8tq1h.js → console-access-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shared-cache-wtztk69x.js → console-access-wtztk69x.js} +0 -0
- /package/dist/chunks/{shared-cache-x0ckcb58.js → console-access-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shared-cache-x61499pn.js → console-access-x61499pn.js} +0 -0
- /package/dist/chunks/{shared-cache-y44na4kk.js → console-access-y44na4kk.js} +0 -0
- /package/dist/chunks/{shared-cache-y8f7s663.js → console-access-y8f7s663.js} +0 -0
- /package/dist/chunks/{shared-cache-ygaqb7jw.js → console-access-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shared-cache-z5v4ffb3.js → console-access-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{shared-cache-z9919s4g.js → console-access-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./console-access-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./console-access-nv2c5e9q.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./console-access-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./console-access-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider3 = {};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
server2,
|
|
3
3
|
headers2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./console-access-kt3bjfbg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
ID18,
|
|
7
|
+
Service83,
|
|
8
|
+
node86
|
|
9
|
+
} from "./console-access-6rhd9160.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./console-access-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/usage-limits.ts
|
|
15
15
|
var exports_usage_limits = {};
|
|
16
16
|
__export(exports_usage_limits, {
|
|
17
|
-
Info: () =>
|
|
18
|
-
Service: () =>
|
|
19
|
-
UnavailableError: () =>
|
|
17
|
+
Info: () => Info3,
|
|
18
|
+
Service: () => Service13,
|
|
19
|
+
UnavailableError: () => UnavailableError2,
|
|
20
20
|
UsageLimits: () => exports_usage_limits,
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
21
|
+
layer: () => layer9,
|
|
22
|
+
node: () => node15
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
25
|
import { Money } from "@opencode/schema/money";
|
|
@@ -29,23 +29,23 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
29
29
|
import { httpClient } from "@opencode/util/effect/app-node-platform";
|
|
30
30
|
import { Context, Duration, Effect, Layer, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var Info3 = UsageLimits.Info;
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError2 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
|
|
35
35
|
message: Schema.String
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service13 extends Context.Service()("@opencode/UsageLimits") {
|
|
40
40
|
}
|
|
41
|
-
var
|
|
42
|
-
const integrations = yield*
|
|
41
|
+
var layer9 = Layer.effect(Service13, Effect.gen(function* () {
|
|
42
|
+
const integrations = yield* Service83;
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
44
44
|
const get = Effect.fn("UsageLimits.get")(function* () {
|
|
45
|
-
const connection = yield* integrations.connection.active(
|
|
45
|
+
const connection = yield* integrations.connection.active(ID18.make("opencode"));
|
|
46
46
|
if (!connection)
|
|
47
47
|
return;
|
|
48
|
-
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new
|
|
48
|
+
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError2({ message: error.message })));
|
|
49
49
|
if (!credential || credential.type === "external")
|
|
50
50
|
return;
|
|
51
51
|
const workspaceID = credential.metadata?.orgID;
|
|
@@ -54,7 +54,7 @@ var layer10 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
54
54
|
const server = server2(credential);
|
|
55
55
|
const [budgets, go] = yield* Effect.all([readBudgets(http, server, credential), readGo(http, server, credential, workspaceID)], { concurrency: 2 }).pipe(Effect.timeoutOrElse({
|
|
56
56
|
duration: Duration.seconds(15),
|
|
57
|
-
orElse: () => Effect.fail(new
|
|
57
|
+
orElse: () => Effect.fail(new UnavailableError2({ message: "OpenCode Console usage limits timed out" }))
|
|
58
58
|
}));
|
|
59
59
|
return {
|
|
60
60
|
workspace: {
|
|
@@ -66,12 +66,12 @@ var layer10 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
66
66
|
budgets
|
|
67
67
|
};
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service13.of({ get });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
72
|
-
service:
|
|
73
|
-
layer:
|
|
74
|
-
deps: [
|
|
71
|
+
var node15 = makeLocationNode({
|
|
72
|
+
service: Service13,
|
|
73
|
+
layer: layer9,
|
|
74
|
+
deps: [node86, httpClient]
|
|
75
75
|
});
|
|
76
76
|
var ConsoleBudget = Schema.Struct({
|
|
77
77
|
ruleID: Schema.String,
|
|
@@ -117,17 +117,17 @@ function readBudgets(http, server, credential) {
|
|
|
117
117
|
picked: budget.picked,
|
|
118
118
|
shared: budget.shared,
|
|
119
119
|
resetsAt: budget.resetsAt.getTime()
|
|
120
|
-
}))))), Effect.scoped, Effect.mapError((error) => new
|
|
120
|
+
}))))), Effect.scoped, Effect.mapError((error) => new UnavailableError2({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
|
|
121
121
|
}
|
|
122
122
|
function readGo(http, server, credential, workspaceID) {
|
|
123
123
|
return HttpClient.withScope(http).execute(HttpClientRequest.get(`${new URL(server).origin}/zen/go/v1/usage`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(credential.type === "oauth" ? credential.access : credential.key), HttpClientRequest.setHeader("x-opencode-org-id", workspaceID))).pipe(Effect.flatMap((response) => response.status === 403 ? Effect.succeed(undefined) : HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(GoUsage)), Effect.map((body) => ({
|
|
124
124
|
rolling: meter(body.usage.rolling),
|
|
125
125
|
weekly: meter(body.usage.weekly),
|
|
126
126
|
monthly: meter(body.usage.monthly)
|
|
127
|
-
})))), Effect.scoped, Effect.mapError((error) => new
|
|
127
|
+
})))), Effect.scoped, Effect.mapError((error) => new UnavailableError2({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
|
|
128
128
|
}
|
|
129
129
|
function meter(value) {
|
|
130
130
|
return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
export {
|
|
133
|
+
export { Info3, UnavailableError2, Service13, layer9, node15, exports_usage_limits };
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./console-access-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
NonNegativeInt2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./console-access-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service64
|
|
9
|
+
} from "./console-access-61c6a8fw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service53
|
|
12
|
+
} from "./console-access-wnq1eck8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service72
|
|
15
|
+
} from "./console-access-3mrkr0j9.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service23,
|
|
18
18
|
resolvePath2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./console-access-9zh6h3zf.js";
|
|
20
20
|
import {
|
|
21
21
|
output2,
|
|
22
22
|
notice2,
|
|
23
23
|
metadata2,
|
|
24
24
|
notification2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./console-access-89287pr7.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
27
|
+
Service67,
|
|
28
28
|
name17
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./console-access-r6q0f2ac.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
NotFoundError8,
|
|
32
|
+
Service61
|
|
33
|
+
} from "./console-access-t74pe6sk.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service27
|
|
36
|
+
} from "./console-access-986s6yzw.js";
|
|
37
37
|
import {
|
|
38
38
|
scan3
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./console-access-17z0xkr7.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./console-access-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/tool/plugin/shell.ts
|
|
45
|
-
var
|
|
46
|
-
__export(
|
|
45
|
+
var exports_shell2 = {};
|
|
46
|
+
__export(exports_shell2, {
|
|
47
47
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
48
|
-
Input: () =>
|
|
49
|
-
Plugin: () =>
|
|
50
|
-
ShellTool: () =>
|
|
51
|
-
name: () =>
|
|
48
|
+
Input: () => Input7,
|
|
49
|
+
Plugin: () => Plugin46,
|
|
50
|
+
ShellTool: () => exports_shell2,
|
|
51
|
+
name: () => name7
|
|
52
52
|
});
|
|
53
53
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
54
54
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
55
|
-
var
|
|
55
|
+
var name7 = "shell";
|
|
56
56
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
57
57
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
58
58
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -66,7 +66,7 @@ var description = (shell) => [
|
|
|
66
66
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
67
67
|
"Background commands return immediately, and you will be notified when they complete."
|
|
68
68
|
].join(" ");
|
|
69
|
-
var
|
|
69
|
+
var Input7 = Schema.Struct({
|
|
70
70
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
71
71
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
72
72
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -112,18 +112,18 @@ Output is streaming to: ${file}`,
|
|
|
112
112
|
truncated: false,
|
|
113
113
|
status: "running"
|
|
114
114
|
});
|
|
115
|
-
var
|
|
115
|
+
var Plugin46 = {
|
|
116
116
|
id: "opencode.tool.shell",
|
|
117
117
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
118
|
-
const sessions = yield*
|
|
119
|
-
const jobs = yield*
|
|
118
|
+
const sessions = yield* Service27;
|
|
119
|
+
const jobs = yield* Service53;
|
|
120
120
|
const scope = yield* Scope.Scope;
|
|
121
|
-
const environment = yield*
|
|
122
|
-
const access = yield*
|
|
123
|
-
const shell = yield*
|
|
124
|
-
const shellSelect = yield*
|
|
121
|
+
const environment = yield* Service64;
|
|
122
|
+
const access = yield* Service23;
|
|
123
|
+
const shell = yield* Service61;
|
|
124
|
+
const shellSelect = yield* Service67;
|
|
125
125
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
126
|
-
const permission = yield*
|
|
126
|
+
const permission = yield* Service72;
|
|
127
127
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
128
128
|
const source = {
|
|
129
129
|
type: "tool",
|
|
@@ -141,7 +141,7 @@ var Plugin6 = {
|
|
|
141
141
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
142
142
|
if (parsed.commands.length > 0)
|
|
143
143
|
yield* permission.assert({
|
|
144
|
-
action:
|
|
144
|
+
action: name7,
|
|
145
145
|
resources: parsed.commands.map((command) => command.resource),
|
|
146
146
|
save: parsed.commands.map((command) => command.save),
|
|
147
147
|
sessionID: context.sessionID,
|
|
@@ -178,10 +178,10 @@ var Plugin6 = {
|
|
|
178
178
|
yield* jobs.completeBackground(info.notificationID);
|
|
179
179
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
180
180
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
181
|
-
name:
|
|
181
|
+
name: name7,
|
|
182
182
|
options: { codemode: false },
|
|
183
183
|
description: description(),
|
|
184
|
-
input:
|
|
184
|
+
input: Input7,
|
|
185
185
|
output: Output,
|
|
186
186
|
execute: (input, context) => Effect.gen(function* () {
|
|
187
187
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -204,7 +204,7 @@ var Plugin6 = {
|
|
|
204
204
|
const run = Effect.gen(function* () {
|
|
205
205
|
const result = yield* shell.result(info);
|
|
206
206
|
if (!result.capture)
|
|
207
|
-
return yield* new
|
|
207
|
+
return yield* new NotFoundError8({ id: info.id });
|
|
208
208
|
const output = output2(result);
|
|
209
209
|
return {
|
|
210
210
|
...output,
|
|
@@ -218,7 +218,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
218
218
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
219
219
|
const job = yield* jobs.start({
|
|
220
220
|
id: info.id,
|
|
221
|
-
type:
|
|
221
|
+
type: name7,
|
|
222
222
|
title: info.command,
|
|
223
223
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
224
224
|
recovery: {
|
|
@@ -248,7 +248,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
248
248
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
249
249
|
})).pipe(Effect.orDie);
|
|
250
250
|
const hook = (event) => Effect.gen(function* () {
|
|
251
|
-
const tool = event.tools[
|
|
251
|
+
const tool = event.tools[name7];
|
|
252
252
|
if (!tool)
|
|
253
253
|
return;
|
|
254
254
|
tool.description = description(name17(yield* compatibleShell));
|
|
@@ -259,4 +259,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
259
259
|
})
|
|
260
260
|
};
|
|
261
261
|
|
|
262
|
-
export {
|
|
262
|
+
export { name7, DEFAULT_TIMEOUT_MS2, Input7, Plugin46, exports_shell2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./console-access-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info22
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info22 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info21 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info22, exports_command5 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./console-access-w3c3s7r0.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./console-access-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service86
|
|
9
|
+
} from "./console-access-jxv9802m.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service77
|
|
12
|
+
} from "./console-access-5qk7pcez.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./console-access-kdz26drv.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service7
|
|
20
|
+
} from "./console-access-8x9y3wj0.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./console-access-baq3yqba.js";
|
|
24
24
|
import {
|
|
25
25
|
ignore2,
|
|
26
26
|
scan2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./console-access-yvtc2x31.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./console-access-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/config/plugin/skill.ts
|
|
33
|
-
var
|
|
34
|
-
__export(
|
|
35
|
-
ConfigSkillPlugin: () =>
|
|
36
|
-
Plugin: () =>
|
|
33
|
+
var exports_skill = {};
|
|
34
|
+
__export(exports_skill, {
|
|
35
|
+
ConfigSkillPlugin: () => exports_skill,
|
|
36
|
+
Plugin: () => Plugin15
|
|
37
37
|
});
|
|
38
38
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
39
39
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
40
40
|
import { Global } from "@opencode/util/global";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
43
|
-
var
|
|
43
|
+
var Plugin15 = define({
|
|
44
44
|
id: "opencode.config.skill",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const config = yield*
|
|
47
|
-
const discovery = yield*
|
|
46
|
+
const config = yield* Service77;
|
|
47
|
+
const discovery = yield* Service7;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const global = yield* Global.Service;
|
|
50
|
-
const location = yield*
|
|
51
|
-
const watcher = yield*
|
|
50
|
+
const location = yield* Service86;
|
|
51
|
+
const watcher = yield* Service78;
|
|
52
52
|
const loaded = {
|
|
53
53
|
entries: yield* config.entries(),
|
|
54
54
|
skills: []
|
|
@@ -179,4 +179,4 @@ var Plugin52 = define({
|
|
|
179
179
|
})
|
|
180
180
|
});
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { Plugin15, exports_skill };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./console-access-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service86
|
|
6
|
+
} from "./console-access-jxv9802m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./console-access-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -54,7 +54,7 @@ function stripPreferenceMetadata2(json) {
|
|
|
54
54
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
55
55
|
const fs = yield* FSUtil.Service;
|
|
56
56
|
const global = yield* Global.Service;
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service86;
|
|
58
58
|
const system = (() => {
|
|
59
59
|
if (options?.system === false)
|
|
60
60
|
return;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service77
|
|
4
|
+
} from "./console-access-5qk7pcez.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service63
|
|
7
|
+
} from "./console-access-xbm420df.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./console-access-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./console-access-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin6
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin6 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service77;
|
|
27
|
+
const output = yield* Service63;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin49 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin6, exports_tool_output };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node93
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./console-access-btm7bkhg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service89,
|
|
7
|
+
node92
|
|
8
|
+
} from "./console-access-areqykj9.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./console-access-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./console-access-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./console-access-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: () => Event20,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
25
|
+
ID: () => ID20,
|
|
26
|
+
Info: () => Info29,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service85,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node88
|
|
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 ID20 = 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 Event20 = Credential.Event;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class Info29 extends Schema.Class("Credential.Info")({
|
|
48
|
+
id: ID20,
|
|
49
49
|
integrationID: Integration.ID,
|
|
50
50
|
label: Schema.String,
|
|
51
51
|
value: Value2
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service85 extends Context.Service()("@opencode/Credential") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
58
58
|
const db = (yield* Service90).db;
|
|
59
|
-
const bus = yield*
|
|
59
|
+
const bus = yield* Service89;
|
|
60
60
|
const flock = yield* EffectFlock.Service;
|
|
61
61
|
const scope = yield* Effect.scope;
|
|
62
62
|
const pending = new Map;
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
64
64
|
const stored = (row) => {
|
|
65
65
|
if (!row.integration_id)
|
|
66
66
|
return;
|
|
67
|
-
return new
|
|
67
|
+
return new Info29({
|
|
68
68
|
id: row.id,
|
|
69
69
|
integrationID: row.integration_id,
|
|
70
70
|
label: row.label,
|
|
@@ -75,7 +75,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
75
75
|
const credential = stored(row);
|
|
76
76
|
return credential ? [credential] : [];
|
|
77
77
|
});
|
|
78
|
-
return
|
|
78
|
+
return Service85.of({
|
|
79
79
|
lock: Effect.fn("Credential.lock")((id, operation) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
|
|
80
80
|
const current = pending.get(id);
|
|
81
81
|
if (current)
|
|
@@ -84,15 +84,15 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
84
84
|
pending.set(id, fiber);
|
|
85
85
|
return yield* restore(Fiber.join(fiber));
|
|
86
86
|
}))),
|
|
87
|
-
all:
|
|
87
|
+
all: () => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows)),
|
|
88
88
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
89
89
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
90
90
|
const row = yield* db.select().from(CredentialTable2).where(eq(CredentialTable2.id, id)).get().pipe(Effect.orDie);
|
|
91
91
|
return row ? stored(row) : undefined;
|
|
92
92
|
}),
|
|
93
93
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
94
|
-
const credential = new
|
|
95
|
-
id: input.id ??
|
|
94
|
+
const credential = new Info29({
|
|
95
|
+
id: input.id ?? ID20.create(),
|
|
96
96
|
integrationID: input.integrationID,
|
|
97
97
|
label: input.label ?? "default",
|
|
98
98
|
value: input.value
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
123
123
|
type: credential.value.type,
|
|
124
124
|
active: activated
|
|
125
125
|
});
|
|
126
|
-
yield* bus.publish(
|
|
126
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
127
127
|
if (activated)
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
129
129
|
return credential;
|
|
130
130
|
}),
|
|
131
131
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
145
145
|
})), Effect.orDie);
|
|
146
146
|
if (integrationID) {
|
|
147
147
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
148
|
-
yield* bus.publish(
|
|
148
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
149
149
|
}
|
|
150
150
|
}),
|
|
151
151
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -177,7 +177,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
177
177
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
178
178
|
});
|
|
179
179
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
180
|
-
yield* bus.publish(
|
|
180
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
181
181
|
}),
|
|
182
182
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
183
183
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -210,12 +210,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
210
210
|
active: removed.switched,
|
|
211
211
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
212
212
|
});
|
|
213
|
-
yield* bus.publish(
|
|
213
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
214
214
|
if (removed.switched)
|
|
215
|
-
yield* bus.publish(
|
|
215
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
216
216
|
})
|
|
217
217
|
});
|
|
218
218
|
}));
|
|
219
|
-
var
|
|
219
|
+
var node88 = makeGlobalNode({ service: Service85, layer, deps: [node93, node92, EffectFlock.node] });
|
|
220
220
|
|
|
221
|
-
export {
|
|
221
|
+
export { ID20, OAuth3, Key4, External2, Value2, Event20, Info29, Service85, node88, exports_credential };
|