@opencode/core 0.0.0-dev-1015 → 0.0.0-dev-1017
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 +244 -244
- package/dist/bus.js +80 -80
- package/dist/chunks/{instruction-discovery-e437mpew.js → console-access-00wetygp.js} +27 -27
- package/dist/chunks/{instruction-discovery-0nynr8sa.js → console-access-01nh8d1f.js} +13 -13
- package/dist/chunks/{instruction-discovery-034tev2y.js → console-access-034tev2y.js} +2 -2
- package/dist/chunks/{instruction-discovery-2fvrv2dh.js → console-access-0c4tnbwp.js} +42 -42
- package/dist/chunks/{instruction-discovery-bfzxg64b.js → console-access-0fzra7c1.js} +16 -16
- package/dist/chunks/{instruction-discovery-0ma9gw4f.js → console-access-0ma9gw4f.js} +2 -2
- package/dist/chunks/{instruction-discovery-0hmx2qjn.js → console-access-0php2d2a.js} +4 -4
- package/dist/chunks/{instruction-discovery-1aqsckx4.js → console-access-1aqsckx4.js} +1 -1
- package/dist/chunks/{instruction-discovery-1ep2p91f.js → console-access-1ep2p91f.js} +2 -2
- package/dist/chunks/{instruction-discovery-vtkyewdg.js → console-access-1g3ebhf2.js} +11 -11
- package/dist/chunks/{instruction-discovery-qxnmxsad.js → console-access-1jydya01.js} +12 -12
- package/dist/chunks/{instruction-discovery-m8c1a2pd.js → console-access-1ke8bj3s.js} +83 -83
- package/dist/chunks/{instruction-discovery-1x2knyw4.js → console-access-1x2knyw4.js} +1 -1
- package/dist/chunks/{instruction-discovery-a2h73pm3.js → console-access-1ys6s8ex.js} +7 -7
- package/dist/chunks/{instruction-discovery-8b3vzgkx.js → console-access-25h84942.js} +4 -4
- package/dist/chunks/{instruction-discovery-63d3zap5.js → console-access-2a105sgk.js} +20 -20
- package/dist/chunks/{instruction-discovery-2fc7eemy.js → console-access-2fc7eemy.js} +1 -1
- package/dist/chunks/{instruction-discovery-dfsy2zcm.js → console-access-2hmytcqx.js} +5 -5
- package/dist/chunks/{instruction-discovery-ggx84v7x.js → console-access-2s9mae96.js} +6 -6
- package/dist/chunks/{instruction-discovery-5zpqhmp2.js → console-access-319wad08.js} +3 -3
- package/dist/chunks/{instruction-discovery-sj4dkmm8.js → console-access-33m0s2nz.js} +8 -8
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → console-access-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-a1tswj55.js → console-access-3k3rxdp5.js} +5 -5
- package/dist/chunks/{instruction-discovery-3qgwywyc.js → console-access-3qgwywyc.js} +1 -1
- package/dist/chunks/{instruction-discovery-40y6dtc2.js → console-access-40y6dtc2.js} +1 -1
- package/dist/chunks/{instruction-discovery-5enarcya.js → console-access-40za9wsf.js} +6 -6
- package/dist/chunks/{instruction-discovery-t4fc5w9m.js → console-access-42dt597g.js} +22 -22
- package/dist/chunks/{instruction-discovery-rac80r1t.js → console-access-4brrtwnk.js} +4 -4
- package/dist/chunks/{instruction-discovery-4dx1dgte.js → console-access-4dx1dgte.js} +1 -1
- package/dist/chunks/{instruction-discovery-3by6mha1.js → console-access-4e35pt6y.js} +20 -20
- package/dist/chunks/{instruction-discovery-4f25tdd0.js → console-access-4f25tdd0.js} +1 -1
- package/dist/chunks/{instruction-discovery-z8je6wes.js → console-access-4gfb3bt5.js} +28 -28
- package/dist/chunks/{instruction-discovery-pb9gr1fn.js → console-access-4h1wd4gx.js} +10 -10
- package/dist/chunks/{instruction-discovery-cac42eeb.js → console-access-4mwkmjka.js} +12 -12
- package/dist/chunks/{instruction-discovery-4pyp9zr9.js → console-access-4pyp9zr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-4v008n1t.js → console-access-4v008n1t.js} +1 -1
- package/dist/chunks/{instruction-discovery-s51rk2n1.js → console-access-539dw32x.js} +4 -4
- package/dist/chunks/{instruction-discovery-71jgy235.js → console-access-53dkjeyp.js} +5 -5
- package/dist/chunks/{instruction-discovery-096a4ey7.js → console-access-5e40m4rg.js} +28 -28
- package/dist/chunks/{instruction-discovery-rkss24s3.js → console-access-5kwgtyjv.js} +6 -6
- package/dist/chunks/{instruction-discovery-5m9w47nd.js → console-access-5m9w47nd.js} +1 -1
- package/dist/chunks/{instruction-discovery-1mjed9m0.js → console-access-5sx2nyee.js} +18 -18
- package/dist/chunks/{instruction-discovery-8k1b2kbc.js → console-access-5txf6bq2.js} +5 -5
- package/dist/chunks/{instruction-discovery-5whx36p1.js → console-access-5whx36p1.js} +1 -1
- package/dist/chunks/{instruction-discovery-18b1hh0p.js → console-access-5yydhn6j.js} +11 -11
- package/dist/chunks/{instruction-discovery-1yq9hg58.js → console-access-5zrxpy3q.js} +5 -5
- package/dist/chunks/{instruction-discovery-z514yeqw.js → console-access-6779fhng.js} +9 -9
- package/dist/chunks/{instruction-discovery-g5ds3bms.js → console-access-6awqtksd.js} +5 -5
- package/dist/chunks/console-access-6bshxcsx.js +18 -0
- package/dist/chunks/{instruction-discovery-9dqxst5z.js → console-access-6gr25a60.js} +4 -4
- package/dist/chunks/{instruction-discovery-5n4jvj3e.js → console-access-6ph701rk.js} +23 -23
- package/dist/chunks/{instruction-discovery-kp8agc27.js → console-access-6s7y4mzb.js} +41 -41
- package/dist/chunks/{instruction-discovery-j20ahyp3.js → console-access-711ydcza.js} +18 -18
- package/dist/chunks/{instruction-discovery-nq91b848.js → console-access-73j1tefy.js} +10 -10
- package/dist/chunks/{instruction-discovery-45m6e38z.js → console-access-76t9x0j9.js} +11 -11
- package/dist/chunks/{instruction-discovery-80mg3ag8.js → console-access-775hqbnd.js} +3 -3
- package/dist/chunks/{instruction-discovery-a631g2cm.js → console-access-78w6k734.js} +5 -5
- package/dist/chunks/{instruction-discovery-r7fbedde.js → console-access-7a1x92tv.js} +32 -32
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → console-access-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-6ghwpzxw.js → console-access-7fc3zf12.js} +59 -59
- package/dist/chunks/{instruction-discovery-x150ncgg.js → console-access-7h7tvtg0.js} +2 -2
- package/dist/chunks/{instruction-discovery-z8d5w4cp.js → console-access-7kmfd5bq.js} +14 -14
- package/dist/chunks/{instruction-discovery-9r920prg.js → console-access-7m127d97.js} +11 -11
- package/dist/chunks/{instruction-discovery-kmekj7m2.js → console-access-7nqkf5r1.js} +4 -4
- package/dist/chunks/{instruction-discovery-7w2ypzdf.js → console-access-7w2ypzdf.js} +1 -1
- package/dist/chunks/{instruction-discovery-7weczvnd.js → console-access-7weczvnd.js} +1 -1
- package/dist/chunks/{instruction-discovery-k5xaj77z.js → console-access-80d2910p.js} +15 -15
- package/dist/chunks/{instruction-discovery-80pdk984.js → console-access-80pdk984.js} +1 -1
- package/dist/chunks/{instruction-discovery-h0aek10s.js → console-access-81vp2bdd.js} +28 -28
- package/dist/chunks/{instruction-discovery-v48fmenw.js → console-access-82415c55.js} +14 -14
- package/dist/chunks/{instruction-discovery-71cpk4y0.js → console-access-83xqprrw.js} +26 -26
- package/dist/chunks/{instruction-discovery-sykep8z1.js → console-access-84jk9pt4.js} +19 -19
- package/dist/chunks/{instruction-discovery-85jq8dht.js → console-access-85jq8dht.js} +1 -1
- package/dist/chunks/{instruction-discovery-jyk617cr.js → console-access-85z0p8cr.js} +9 -9
- package/dist/chunks/{instruction-discovery-ev4zfx05.js → console-access-88rt2abm.js} +12 -12
- package/dist/chunks/{instruction-discovery-0nqxgmxj.js → console-access-8aa5qpgd.js} +13 -13
- package/dist/chunks/{instruction-discovery-5z37zzep.js → console-access-8e2htjhy.js} +125 -69
- package/dist/chunks/{instruction-discovery-6mx9s162.js → console-access-8j97sx0h.js} +21 -21
- package/dist/chunks/{instruction-discovery-8sxe6kv8.js → console-access-8sxe6kv8.js} +2 -2
- package/dist/chunks/{instruction-discovery-rke1pk6v.js → console-access-8w4dph67.js} +17 -17
- package/dist/chunks/{instruction-discovery-8wtp7s3z.js → console-access-8wtp7s3z.js} +1 -1
- package/dist/chunks/{instruction-discovery-p7y8ak2q.js → console-access-8xfjm4xd.js} +13 -13
- package/dist/chunks/{instruction-discovery-8zv0xmg5.js → console-access-8zv0xmg5.js} +1 -1
- package/dist/chunks/{instruction-discovery-65s9w0ba.js → console-access-92mhy90n.js} +30 -30
- package/dist/chunks/{instruction-discovery-w8yavv78.js → console-access-92szfccm.js} +4 -4
- package/dist/chunks/{instruction-discovery-kzdam8c6.js → console-access-93xmyh8q.js} +5 -5
- package/dist/chunks/{instruction-discovery-2q78srga.js → console-access-95af1ntp.js} +22 -22
- package/dist/chunks/{instruction-discovery-963hk181.js → console-access-963hk181.js} +2 -2
- package/dist/chunks/{instruction-discovery-axa33maw.js → console-access-97t8yghf.js} +3 -3
- package/dist/chunks/{instruction-discovery-fn5th1ab.js → console-access-99wyeap2.js} +21 -21
- package/dist/chunks/{instruction-discovery-npdj87z7.js → console-access-9g2550n8.js} +22 -22
- package/dist/chunks/{instruction-discovery-xqv7e1eg.js → console-access-9kzxe4bd.js} +5 -5
- package/dist/chunks/{instruction-discovery-6cqkw5v2.js → console-access-9rqhy0gk.js} +7 -7
- package/dist/chunks/{instruction-discovery-ptymmbb1.js → console-access-9ws4v24n.js} +9 -9
- package/dist/chunks/{instruction-discovery-61qraad9.js → console-access-9zwexsxs.js} +5 -5
- package/dist/chunks/{instruction-discovery-zjxmd7k6.js → console-access-a5r23509.js} +10 -10
- package/dist/chunks/{instruction-discovery-8hvja03c.js → console-access-abkkd8xa.js} +9 -9
- package/dist/chunks/{instruction-discovery-em917w8p.js → console-access-ahfdps10.js} +31 -31
- package/dist/chunks/{instruction-discovery-fwjbabb2.js → console-access-anr8vs6y.js} +6 -6
- package/dist/chunks/{instruction-discovery-js360skg.js → console-access-aqw5qhcs.js} +12 -12
- package/dist/chunks/{instruction-discovery-dc403p35.js → console-access-as65ctta.js} +27 -27
- package/dist/chunks/{instruction-discovery-qrwsktcm.js → console-access-as9vw75j.js} +10 -10
- package/dist/chunks/{instruction-discovery-gt02w2mb.js → console-access-aw3adnsh.js} +11 -11
- package/dist/chunks/{instruction-discovery-ayjs7tqn.js → console-access-ayjs7tqn.js} +2 -2
- package/dist/chunks/{instruction-discovery-wr3re1en.js → console-access-b6z35kmf.js} +4 -4
- package/dist/chunks/{instruction-discovery-xm43y1n1.js → console-access-b8szz0av.js} +41 -41
- package/dist/chunks/{instruction-discovery-3cnfysr5.js → console-access-b8tn5dt9.js} +6 -6
- package/dist/chunks/{instruction-discovery-n6fjjwma.js → console-access-b9tmr8d0.js} +4 -4
- package/dist/chunks/{instruction-discovery-4jbr7150.js → console-access-baxkc6y7.js} +36 -36
- package/dist/chunks/{instruction-discovery-7bvxhdvg.js → console-access-bf930bhg.js} +12 -12
- package/dist/chunks/{instruction-discovery-45a2j779.js → console-access-bg133t4s.js} +37 -37
- package/dist/chunks/{instruction-discovery-jkdcm5hg.js → console-access-bhfd478d.js} +4 -4
- package/dist/chunks/{instruction-discovery-vmz99vp1.js → console-access-bpacjzwd.js} +15 -15
- package/dist/chunks/{instruction-discovery-hbtbm6gc.js → console-access-bpm7v70q.js} +40 -40
- package/dist/chunks/{instruction-discovery-bq407wpz.js → console-access-brtp5cf0.js} +48 -48
- package/dist/chunks/{instruction-discovery-xksw6ev0.js → console-access-brv6mkyx.js} +4 -4
- package/dist/chunks/{instruction-discovery-bstexjd6.js → console-access-bstexjd6.js} +1 -1
- package/dist/chunks/{instruction-discovery-r147690n.js → console-access-bvsx32pr.js} +25 -25
- package/dist/chunks/{instruction-discovery-fw5v6aya.js → console-access-bzwyaehh.js} +16 -16
- package/dist/chunks/{instruction-discovery-rj7j5fvs.js → console-access-c5zvymhv.js} +4 -4
- package/dist/chunks/{instruction-discovery-qt420wez.js → console-access-c7qen1zz.js} +11 -11
- package/dist/chunks/{instruction-discovery-7xrr1h9y.js → console-access-cm1e61mx.js} +11 -11
- package/dist/chunks/{instruction-discovery-z8dga3gp.js → console-access-cw8qd6jr.js} +16 -16
- package/dist/chunks/{instruction-discovery-cwrgdav8.js → console-access-cwrgdav8.js} +2 -2
- package/dist/chunks/{instruction-discovery-4084dgj6.js → console-access-d08jr1vs.js} +17 -17
- package/dist/chunks/{instruction-discovery-r7r55277.js → console-access-d34c0f98.js} +8 -8
- package/dist/chunks/{instruction-discovery-d4v9tmah.js → console-access-d4v9tmah.js} +2 -2
- package/dist/chunks/{instruction-discovery-cazsqtbb.js → console-access-d5t3r07z.js} +12 -12
- package/dist/chunks/{instruction-discovery-5cr30h4q.js → console-access-d7ghtrxv.js} +8 -8
- package/dist/chunks/{instruction-discovery-yk4ram99.js → console-access-d7qcj0s1.js} +3 -3
- package/dist/chunks/{instruction-discovery-xy2adanr.js → console-access-d8mebr7j.js} +11 -11
- package/dist/chunks/{instruction-discovery-9rqfe4ad.js → console-access-dbatw319.js} +3 -3
- package/dist/chunks/{instruction-discovery-8zjkm0at.js → console-access-dbbw9dzx.js} +33 -33
- package/dist/chunks/{instruction-discovery-c2je6y50.js → console-access-dc9yh1nj.js} +25 -25
- package/dist/chunks/{instruction-discovery-05ww0tct.js → console-access-dcajwrfg.js} +22 -22
- package/dist/chunks/{instruction-discovery-w3mjccnh.js → console-access-dksb4998.js} +20 -20
- package/dist/chunks/{instruction-discovery-m9hjmvdm.js → console-access-dmtjqkrt.js} +7 -7
- package/dist/chunks/{instruction-discovery-0f79bht5.js → console-access-dmwh07z0.js} +5 -5
- package/dist/chunks/{instruction-discovery-qwg91r6f.js → console-access-dntrk4bw.js} +51 -51
- package/dist/chunks/{instruction-discovery-1tng1z6k.js → console-access-dnv9nt59.js} +15 -15
- package/dist/chunks/{instruction-discovery-dt77769w.js → console-access-dt77769w.js} +1 -1
- package/dist/chunks/{instruction-discovery-mtx9qk1x.js → console-access-dtqmsaca.js} +30 -30
- package/dist/chunks/{instruction-discovery-d1spntys.js → console-access-dyjmcgsb.js} +7 -7
- package/dist/chunks/{instruction-discovery-1jqhjz8x.js → console-access-dyycx927.js} +1 -1
- package/dist/chunks/{instruction-discovery-qgp5gqjt.js → console-access-e00ypw80.js} +32 -32
- package/dist/chunks/{instruction-discovery-wprpberk.js → console-access-e1vmmkh1.js} +27 -27
- package/dist/chunks/{instruction-discovery-mh1rreeb.js → console-access-e3bjvj0x.js} +9 -9
- package/dist/chunks/{instruction-discovery-3s0pgq88.js → console-access-e5bam4q2.js} +29 -29
- package/dist/chunks/{instruction-discovery-8n09hdvs.js → console-access-e71bb87j.js} +8 -8
- package/dist/chunks/{instruction-discovery-mge70beb.js → console-access-e9nbs0fg.js} +6 -6
- package/dist/chunks/{instruction-discovery-jwh3xyhe.js → console-access-ephqr37y.js} +7 -7
- package/dist/chunks/{instruction-discovery-eqw4pqj1.js → console-access-eqw4pqj1.js} +2 -2
- package/dist/chunks/{instruction-discovery-2zk860f7.js → console-access-esypk4e8.js} +6 -6
- package/dist/chunks/{instruction-discovery-rh0vkr7v.js → console-access-exc53rth.js} +151 -151
- package/dist/chunks/{instruction-discovery-hpy856qe.js → console-access-ezd208n0.js} +21 -21
- package/dist/chunks/{instruction-discovery-w87p3bvv.js → console-access-f76y97hd.js} +17 -17
- package/dist/chunks/{instruction-discovery-fg9p65nk.js → console-access-fg9p65nk.js} +2 -2
- package/dist/chunks/{instruction-discovery-5wymkgse.js → console-access-frfd7dhs.js} +17 -17
- package/dist/chunks/console-access-fwbnttap.js +26 -0
- package/dist/chunks/{instruction-discovery-g4txs7zc.js → console-access-g4txs7zc.js} +4 -4
- package/dist/chunks/{instruction-discovery-38aws4xb.js → console-access-g5ajqn12.js} +4 -4
- package/dist/chunks/{instruction-discovery-tceawxew.js → console-access-gaak9hc5.js} +14 -14
- package/dist/chunks/{instruction-discovery-gbjdnr5j.js → console-access-gbjdnr5j.js} +2 -2
- package/dist/chunks/{instruction-discovery-yp2c7qyq.js → console-access-gekbr165.js} +6 -6
- package/dist/chunks/{instruction-discovery-xjbsd7zy.js → console-access-gerka9tj.js} +9 -9
- package/dist/chunks/{instruction-discovery-a85bkmsn.js → console-access-gff9pfk6.js} +10 -10
- package/dist/chunks/{instruction-discovery-ghrv1g9c.js → console-access-ghrv1g9c.js} +1 -1
- package/dist/chunks/{instruction-discovery-26wfx3k0.js → console-access-gmemj5zs.js} +4 -4
- package/dist/chunks/{instruction-discovery-vmkgnf08.js → console-access-grqdy4zd.js} +3 -3
- package/dist/chunks/{instruction-discovery-gxs71cxp.js → console-access-gxs71cxp.js} +1 -1
- package/dist/chunks/{instruction-discovery-qgrcdsd3.js → console-access-gyz3qj93.js} +18 -18
- package/dist/chunks/{instruction-discovery-rs6b2qby.js → console-access-h2j9sg05.js} +4 -4
- package/dist/chunks/{instruction-discovery-hgzwgvze.js → console-access-hgzwgvze.js} +2 -2
- package/dist/chunks/{instruction-discovery-6m28zfh6.js → console-access-hkk8p6m2.js} +19 -19
- package/dist/chunks/console-access-hkqsfgg0.js +273 -0
- package/dist/chunks/{instruction-discovery-cg3fcpn4.js → console-access-hmc1gkc2.js} +6 -6
- package/dist/chunks/{instruction-discovery-5k4n1gb3.js → console-access-hn6smzns.js} +12 -12
- package/dist/chunks/{instruction-discovery-zapgmn8f.js → console-access-hpszt470.js} +10 -10
- package/dist/chunks/{instruction-discovery-z1zwgy4a.js → console-access-hst96p25.js} +10 -10
- package/dist/chunks/{instruction-discovery-mbyymhsd.js → console-access-j23maf10.js} +2 -2
- package/dist/chunks/{instruction-discovery-j376ae4e.js → console-access-j376ae4e.js} +1 -1
- package/dist/chunks/{instruction-discovery-zbng777a.js → console-access-j5k2q35g.js} +5 -5
- package/dist/chunks/{instruction-discovery-ze75qvmd.js → console-access-j9nxzz3g.js} +3 -3
- package/dist/chunks/{instruction-discovery-m7t615r4.js → console-access-jka91q9b.js} +12 -12
- package/dist/chunks/{instruction-discovery-jm70asfg.js → console-access-jm70asfg.js} +1 -1
- package/dist/chunks/{instruction-discovery-zded71tf.js → console-access-jtd3nx7d.js} +16 -16
- package/dist/chunks/{instruction-discovery-38ebz7bx.js → console-access-jvbdzyph.js} +25 -25
- package/dist/chunks/{instruction-discovery-jxd6f16v.js → console-access-jxd6f16v.js} +2 -2
- package/dist/chunks/{instruction-discovery-8k8vqbkb.js → console-access-k4mr4bhj.js} +11 -11
- package/dist/chunks/{instruction-discovery-npnga1vf.js → console-access-kfgdwvqa.js} +8 -8
- package/dist/chunks/{instruction-discovery-rj7jtxy8.js → console-access-kn4zqwcq.js} +3 -3
- package/dist/chunks/{instruction-discovery-dee02ybc.js → console-access-kn9egfvk.js} +25 -25
- package/dist/chunks/{instruction-discovery-kt3bjfbg.js → console-access-kt3bjfbg.js} +1 -1
- package/dist/chunks/{instruction-discovery-kzczzf4v.js → console-access-kzczzf4v.js} +1 -1
- package/dist/chunks/{instruction-discovery-m1714858.js → console-access-m1714858.js} +1 -1
- package/dist/chunks/console-access-m6cfdtf3.js +16 -0
- package/dist/chunks/{instruction-discovery-ax3devvw.js → console-access-m6cqxy11.js} +2 -2
- package/dist/chunks/{instruction-discovery-txxmmn21.js → console-access-m7mnrwb4.js} +34 -34
- package/dist/chunks/{instruction-discovery-ncmpkv8w.js → console-access-m7s6ca50.js} +22 -22
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → console-access-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-6ahmdr5g.js → console-access-mafjawne.js} +9 -9
- package/dist/chunks/{instruction-discovery-22qx8d5d.js → console-access-makqk4p0.js} +11 -11
- package/dist/chunks/{instruction-discovery-mb7mbhnz.js → console-access-mb7mbhnz.js} +3 -3
- package/dist/chunks/{instruction-discovery-pd89y4vg.js → console-access-mhyfgg0f.js} +8 -8
- package/dist/chunks/{instruction-discovery-7mv28461.js → console-access-mrqgz68h.js} +18 -18
- package/dist/chunks/{instruction-discovery-0n720z3p.js → console-access-mrshbdnr.js} +6 -6
- package/dist/chunks/{instruction-discovery-s1hdwwky.js → console-access-myrn9hzz.js} +29 -29
- package/dist/chunks/{instruction-discovery-mrzz8s7h.js → console-access-n06gcgnq.js} +36 -36
- package/dist/chunks/{instruction-discovery-n320gsn2.js → console-access-n320gsn2.js} +1 -1
- package/dist/chunks/{instruction-discovery-45nqx4xx.js → console-access-n3j33rb6.js} +4 -4
- package/dist/chunks/{instruction-discovery-q84v8ast.js → console-access-n490h0n0.js} +17 -17
- package/dist/chunks/{instruction-discovery-rzba8b35.js → console-access-n6c28s3t.js} +3 -3
- package/dist/chunks/console-access-n881mvrn.js +577 -0
- package/dist/chunks/{instruction-discovery-82t5zjg4.js → console-access-naj1ztqj.js} +19 -19
- package/dist/chunks/{instruction-discovery-m5brqekz.js → console-access-nd2qx06s.js} +9 -9
- package/dist/chunks/{instruction-discovery-pnw5tfaz.js → console-access-ne6efjj0.js} +6 -6
- package/dist/chunks/{instruction-discovery-4ygb74tw.js → console-access-neary136.js} +8 -8
- package/dist/chunks/{instruction-discovery-j54ey3dk.js → console-access-nrhtst5k.js} +23 -23
- package/dist/chunks/{instruction-discovery-kkx9edz0.js → console-access-nrwphf96.js} +1 -1
- package/dist/chunks/{instruction-discovery-xwb75rjn.js → console-access-ns420n0m.js} +21 -21
- package/dist/chunks/{instruction-discovery-fvdwnf39.js → console-access-nwbwr24c.js} +18 -18
- package/dist/chunks/{instruction-discovery-8nvhek60.js → console-access-nx04q3sg.js} +17 -17
- package/dist/chunks/{instruction-discovery-y8aqsrqr.js → console-access-nzxxhp8f.js} +40 -40
- package/dist/chunks/{instruction-discovery-4dxbz5t2.js → console-access-p0dv86dy.js} +15 -15
- package/dist/chunks/{instruction-discovery-3fbvy841.js → console-access-p112r1sm.js} +46 -46
- package/dist/chunks/{instruction-discovery-sh1vctrz.js → console-access-p7v9ygj7.js} +3 -3
- package/dist/chunks/{instruction-discovery-cnm88yfy.js → console-access-phsfnnr6.js} +8 -8
- package/dist/chunks/{instruction-discovery-k0cpattz.js → console-access-pje0v8s4.js} +8 -8
- package/dist/chunks/{instruction-discovery-pknna89w.js → console-access-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-6xfxs9wt.js → console-access-pnv204xn.js} +3 -3
- package/dist/chunks/{instruction-discovery-npdhee2a.js → console-access-pprmp17x.js} +31 -31
- package/dist/chunks/{instruction-discovery-xrwd0eaa.js → console-access-pqaxy2r3.js} +9 -9
- package/dist/chunks/{instruction-discovery-j0vpes8p.js → console-access-pqd1cn45.js} +12 -12
- package/dist/chunks/{instruction-discovery-gvvr0d1k.js → console-access-prpd82qr.js} +85 -85
- package/dist/chunks/{instruction-discovery-ppzye4tc.js → console-access-ptxz824y.js} +26 -26
- package/dist/chunks/{instruction-discovery-eryzpwpq.js → console-access-pvdvc745.js} +18 -18
- package/dist/chunks/{instruction-discovery-8e35k2dv.js → console-access-pw6384bd.js} +11 -11
- package/dist/chunks/{instruction-discovery-1p8dpx3b.js → console-access-q3cvvbew.js} +20 -20
- package/dist/chunks/{instruction-discovery-5zhccwhm.js → console-access-q3vm1595.js} +4 -4
- package/dist/chunks/{instruction-discovery-q42tzrxa.js → console-access-q42tzrxa.js} +1 -1
- package/dist/chunks/{instruction-discovery-q35nk5cz.js → console-access-q5w0t43j.js} +3 -3
- package/dist/chunks/{instruction-discovery-bcbg5853.js → console-access-qkqeqkpk.js} +20 -20
- package/dist/chunks/{instruction-discovery-szakm7q4.js → console-access-qns96f87.js} +11 -11
- package/dist/chunks/{instruction-discovery-41hph88s.js → console-access-qnwgk64f.js} +6 -6
- package/dist/chunks/{instruction-discovery-qp7r0hxv.js → console-access-qp7r0hxv.js} +1 -1
- package/dist/chunks/{instruction-discovery-1y1mzemz.js → console-access-qqwzamdg.js} +35 -35
- package/dist/chunks/{instruction-discovery-wfdx5ztx.js → console-access-qsdghx1p.js} +4 -4
- package/dist/chunks/{instruction-discovery-5cwxazss.js → console-access-qzjzxpbh.js} +12 -12
- package/dist/chunks/{instruction-discovery-xhkb6x72.js → console-access-r1f8qb7a.js} +16 -16
- package/dist/chunks/{instruction-discovery-k3g9bhk6.js → console-access-r2527jg6.js} +28 -28
- package/dist/chunks/{instruction-discovery-hgawkv06.js → console-access-r2xstaf7.js} +57 -57
- package/dist/chunks/{instruction-discovery-rb9dy4dg.js → console-access-rb9dy4dg.js} +1 -1
- package/dist/chunks/{instruction-discovery-wa5jqpkn.js → console-access-rcs0hb49.js} +8 -8
- package/dist/chunks/{instruction-discovery-y8x56kgy.js → console-access-rfmjs4hq.js} +25 -25
- package/dist/chunks/{instruction-discovery-rgc9cx3e.js → console-access-rgc9cx3e.js} +2 -2
- package/dist/chunks/{instruction-discovery-nb92b240.js → console-access-rhtywd3t.js} +48 -48
- package/dist/chunks/{instruction-discovery-0azcnvzv.js → console-access-rjmcyenf.js} +31 -31
- package/dist/chunks/{instruction-discovery-xn9c2ktn.js → console-access-rm9ajgvd.js} +42 -42
- package/dist/chunks/{instruction-discovery-rt5dr6hb.js → console-access-rt5dr6hb.js} +1 -1
- package/dist/chunks/{instruction-discovery-trp5xsg0.js → console-access-rvrjm6jd.js} +38 -38
- package/dist/chunks/{instruction-discovery-s1ba0vj0.js → console-access-s1ba0vj0.js} +2 -2
- package/dist/chunks/{instruction-discovery-tppacz0p.js → console-access-s22dy3a0.js} +15 -15
- package/dist/chunks/{instruction-discovery-rsh9mrpq.js → console-access-s2ge5w7w.js} +13 -13
- package/dist/chunks/{instruction-discovery-7h22etv1.js → console-access-s818qefp.js} +5 -5
- package/dist/chunks/{instruction-discovery-ehgta2nm.js → console-access-s8asb78j.js} +36 -36
- package/dist/chunks/{instruction-discovery-sbya78hr.js → console-access-sbya78hr.js} +1 -1
- package/dist/chunks/{instruction-discovery-75z8ttbx.js → console-access-smzy4vaf.js} +17 -17
- package/dist/chunks/{instruction-discovery-0j7gp832.js → console-access-sqjzf8x2.js} +4 -4
- package/dist/chunks/{instruction-discovery-svcy3p9a.js → console-access-svcy3p9a.js} +1 -1
- package/dist/chunks/{instruction-discovery-znv1hwjk.js → console-access-t6azh02g.js} +32 -32
- package/dist/chunks/{instruction-discovery-5evp2eyr.js → console-access-t9k8dc17.js} +7 -7
- package/dist/chunks/{instruction-discovery-bb7q5hvs.js → console-access-ta2xht0h.js} +7 -7
- package/dist/chunks/{instruction-discovery-71kmztew.js → console-access-tb69n0x2.js} +15 -15
- package/dist/chunks/{instruction-discovery-tbpn7jtk.js → console-access-tbpn7jtk.js} +1 -1
- package/dist/chunks/{instruction-discovery-tczq8hjw.js → console-access-tczq8hjw.js} +1 -1
- package/dist/chunks/{instruction-discovery-07z6t3m8.js → console-access-teb98hn1.js} +33 -33
- package/dist/chunks/{instruction-discovery-awx72zq7.js → console-access-tfbnzh0p.js} +16 -16
- package/dist/chunks/{instruction-discovery-ydsespw1.js → console-access-tg1vr1qt.js} +8 -8
- package/dist/chunks/{instruction-discovery-vfz1yd30.js → console-access-thrrdxke.js} +12 -12
- package/dist/chunks/{instruction-discovery-3nnrz6f6.js → console-access-tmc7xdjs.js} +4 -4
- package/dist/chunks/{instruction-discovery-nx1vpfa3.js → console-access-tqvcw06e.js} +23 -23
- package/dist/chunks/{instruction-discovery-w6ph90n3.js → console-access-trn5p6e4.js} +4 -4
- package/dist/chunks/{instruction-discovery-tvtps2q9.js → console-access-tvtps2q9.js} +1 -1
- package/dist/chunks/{instruction-discovery-twssxy5n.js → console-access-twssxy5n.js} +2 -2
- package/dist/chunks/{instruction-discovery-bex4xsk5.js → console-access-tx91wa5k.js} +4 -4
- package/dist/chunks/{instruction-discovery-qa8wq1bx.js → console-access-tz8eqr11.js} +9 -9
- package/dist/chunks/{instruction-discovery-mf63ygpr.js → console-access-v0t96s7a.js} +4 -4
- package/dist/chunks/{instruction-discovery-v2r1d0zg.js → console-access-v2r1d0zg.js} +1 -1
- package/dist/chunks/{instruction-discovery-s2qbnkbr.js → console-access-v9zdem22.js} +1 -1
- package/dist/chunks/{instruction-discovery-3bbmjbhc.js → console-access-vepp55ty.js} +10 -10
- package/dist/chunks/{instruction-discovery-vjf35v1f.js → console-access-vjf35v1f.js} +1 -1
- package/dist/chunks/{instruction-discovery-15zw0pf4.js → console-access-vrrgz1qg.js} +30 -30
- package/dist/chunks/{instruction-discovery-w76xjer3.js → console-access-vsnnaxjq.js} +4 -4
- package/dist/chunks/{instruction-discovery-ctmpqb7w.js → console-access-vt4r9rmy.js} +9 -9
- package/dist/chunks/{instruction-discovery-yy6p0r3f.js → console-access-vwrger27.js} +3 -3
- package/dist/chunks/{instruction-discovery-xhbkw68y.js → console-access-w15zd25f.js} +10 -10
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → console-access-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-x2x4cmk7.js → console-access-w58jdkkk.js} +18 -18
- package/dist/chunks/{instruction-discovery-hk297yx1.js → console-access-w9kzdg46.js} +24 -24
- package/dist/chunks/{instruction-discovery-wakvkjy4.js → console-access-wakvkjy4.js} +1 -1
- package/dist/chunks/{instruction-discovery-wd87259q.js → console-access-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-wegkxhrn.js → console-access-wegkxhrn.js} +2 -2
- package/dist/chunks/{instruction-discovery-y4z3prv2.js → console-access-wrya0g69.js} +16 -16
- package/dist/chunks/{instruction-discovery-gdpv4h37.js → console-access-wt03ddtm.js} +11 -11
- package/dist/chunks/{instruction-discovery-c7cw818c.js → console-access-wt99tj4q.js} +5 -5
- package/dist/chunks/{instruction-discovery-vwcz1f45.js → console-access-wvr8xscb.js} +5 -5
- package/dist/chunks/{instruction-discovery-w986w4hx.js → console-access-wwxk7600.js} +6 -6
- package/dist/chunks/{instruction-discovery-kj9n5bvh.js → console-access-wzfa06mn.js} +4 -4
- package/dist/chunks/{instruction-discovery-2898qs3z.js → console-access-x04hzgkb.js} +11 -11
- package/dist/chunks/{instruction-discovery-pwjytcs6.js → console-access-x3recckr.js} +17 -17
- package/dist/chunks/{instruction-discovery-vzba0y0m.js → console-access-x5kfq3yz.js} +23 -23
- package/dist/chunks/{instruction-discovery-ck42qxzz.js → console-access-xbth7ss2.js} +14 -14
- package/dist/chunks/{instruction-discovery-7t1wcste.js → console-access-xgn44gwg.js} +85 -56
- package/dist/chunks/{instruction-discovery-xxschbft.js → console-access-xjr6c8m4.js} +4 -4
- package/dist/chunks/{instruction-discovery-x1yq6p9a.js → console-access-xkds0x2j.js} +20 -20
- package/dist/chunks/{instruction-discovery-w1d134qy.js → console-access-xkm32hee.js} +10 -10
- package/dist/chunks/{instruction-discovery-bvq8f0kp.js → console-access-xksr325c.js} +24 -24
- package/dist/chunks/{instruction-discovery-c6x7d2ts.js → console-access-xmx7xj34.js} +4 -4
- package/dist/chunks/{instruction-discovery-nvjede13.js → console-access-xtnrhe13.js} +17 -17
- package/dist/chunks/{instruction-discovery-p90c3rke.js → console-access-xv8ebtyd.js} +35 -35
- package/dist/chunks/{instruction-discovery-877ex1x8.js → console-access-xvwzx2wf.js} +4 -4
- package/dist/chunks/{instruction-discovery-a936ysns.js → console-access-xz9n4yz8.js} +27 -27
- package/dist/chunks/{instruction-discovery-8f5znwjq.js → console-access-y0mwm48d.js} +18 -18
- package/dist/chunks/{instruction-discovery-qtf35215.js → console-access-y1havdw8.js} +2 -2
- package/dist/chunks/{instruction-discovery-7wrg17wp.js → console-access-y5f0vbmm.js} +2 -2
- package/dist/chunks/{instruction-discovery-4xwww03f.js → console-access-y77t6fsn.js} +16 -16
- package/dist/chunks/{instruction-discovery-yb20nhc3.js → console-access-yb20nhc3.js} +1 -1
- package/dist/chunks/{instruction-discovery-ybws1qgk.js → console-access-ybws1qgk.js} +4 -4
- package/dist/chunks/{instruction-discovery-10pn4eb5.js → console-access-yepd7x5v.js} +5 -5
- package/dist/chunks/{instruction-discovery-aacxd4ty.js → console-access-ykmv08mh.js} +16 -16
- package/dist/chunks/{instruction-discovery-yq9kw5cw.js → console-access-ym6yadkh.js} +1 -1
- package/dist/chunks/{instruction-discovery-1vkak1f2.js → console-access-yn22anjs.js} +15 -15
- package/dist/chunks/{instruction-discovery-yr705xyq.js → console-access-yr705xyq.js} +1 -1
- package/dist/chunks/{instruction-discovery-b7nkz392.js → console-access-ys900tws.js} +1 -1
- package/dist/chunks/{instruction-discovery-yvtc2x31.js → console-access-yvtc2x31.js} +1 -1
- package/dist/chunks/{instruction-discovery-yv3vk3c7.js → console-access-yz8mc9g0.js} +9 -9
- package/dist/chunks/{instruction-discovery-hgf1wwv3.js → console-access-z67xtz9a.js} +6 -6
- package/dist/chunks/{instruction-discovery-jpg8zcfk.js → console-access-za044aqh.js} +2 -2
- package/dist/chunks/{instruction-discovery-m1a9cv8b.js → console-access-zhaqajd3.js} +21 -21
- package/dist/chunks/{instruction-discovery-4yntqjxm.js → console-access-zhn9qdqs.js} +25 -25
- package/dist/chunks/{instruction-discovery-zpdbqgja.js → console-access-zpdbqgja.js} +1 -1
- package/dist/chunks/{instruction-discovery-kab192kh.js → console-access-zt6km58w.js} +3 -3
- package/dist/chunks/{instruction-discovery-fw2qyj1f.js → console-access-zyd8fw9q.js} +81 -81
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +1 -1
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +133 -133
- package/dist/config/plugin/command.js +240 -240
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +145 -145
- 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 +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +98 -98
- 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 +108 -108
- 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 +81 -81
- 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 +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +251 -251
- 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 +9 -9
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +135 -135
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +7 -7
- 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 +432 -432
- package/dist/instruction-discovery.js +95 -95
- 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 +88 -88
- 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 +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +182 -182
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +429 -429
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +126 -126
- package/dist/mcp/instructions.js +189 -189
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -111
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +115 -115
- 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 +154 -154
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +119 -119
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +408 -408
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +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 +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +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 +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +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 +133 -133
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +161 -161
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +138 -138
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +239 -239
- package/dist/plugin/sdk.js +85 -85
- 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 +416 -416
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- 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 +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -93
- 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 +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +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 +3 -3
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +251 -251
- package/dist/session/execution.js +171 -171
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +150 -150
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +144 -144
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- 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 +5 -5
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +188 -188
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +242 -242
- package/dist/session/usage.js +1 -1
- package/dist/session.js +237 -237
- 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 +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +161 -161
- package/dist/snapshot.js +106 -106
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +188 -188
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +243 -243
- package/dist/tool/plugin/skill.js +160 -160
- package/dist/tool/plugin/subagent.js +242 -242
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +169 -169
- package/dist/tool/read-filesystem.js +118 -118
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +165 -165
- package/dist/types/tool/plugin/read.d.ts +2 -1
- package/dist/types/tool/read-filesystem.d.ts +8 -9
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +100 -100
- package/dist/voice.js +99 -99
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +87 -87
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-a610t88q.js +0 -18
- package/dist/chunks/instruction-discovery-aqczazaa.js +0 -16
- package/dist/chunks/instruction-discovery-gp9b5t1t.js +0 -273
- package/dist/chunks/instruction-discovery-tcvn27ta.js +0 -577
- package/dist/chunks/instruction-discovery-tze7wbk4.js +0 -26
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → console-access-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → console-access-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-108x4f4w.js → console-access-108x4f4w.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → console-access-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → console-access-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kah00gy.js → console-access-1kah00gy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → console-access-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → console-access-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2bv980vf.js → console-access-2bv980vf.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → console-access-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → console-access-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3af0jn4w.js → console-access-3af0jn4w.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → console-access-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → console-access-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → console-access-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → console-access-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → console-access-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4qk9sjk2.js → console-access-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → console-access-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → console-access-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → console-access-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-5w3e23ze.js → console-access-5w3e23ze.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6agm2x70.js → console-access-6agm2x70.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → console-access-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → console-access-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → console-access-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → console-access-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → console-access-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-84wd9syh.js → console-access-84wd9syh.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → console-access-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → console-access-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → console-access-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → console-access-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → console-access-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → console-access-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → console-access-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → console-access-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → console-access-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-beh6qq61.js → console-access-beh6qq61.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bhmrqjy3.js → console-access-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → console-access-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → console-access-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → console-access-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cqv5kn06.js → console-access-cqv5kn06.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → console-access-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → console-access-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → console-access-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → console-access-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → console-access-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → console-access-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → console-access-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ean2d8b5.js → console-access-ean2d8b5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → console-access-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → console-access-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → console-access-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → console-access-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → console-access-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → console-access-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fkpq3x5p.js → console-access-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → console-access-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → console-access-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → console-access-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → console-access-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hcxmzztb.js → console-access-hcxmzztb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → console-access-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → console-access-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → console-access-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → console-access-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → console-access-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → console-access-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwr30sdr.js → console-access-jwr30sdr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → console-access-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-m18g726c.js → console-access-m18g726c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → console-access-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → console-access-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → console-access-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → console-access-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-nh4v3znn.js → console-access-nh4v3znn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → console-access-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-p71gwv9c.js → console-access-p71gwv9c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → console-access-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → console-access-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → console-access-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → console-access-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → console-access-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → console-access-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → console-access-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → console-access-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → console-access-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-syrav9an.js → console-access-syrav9an.js} +0 -0
- /package/dist/chunks/{instruction-discovery-t03h4f5z.js → console-access-t03h4f5z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ty7weeps.js → console-access-ty7weeps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ve7vex1e.js → console-access-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-vtarvj67.js → console-access-vtarvj67.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → console-access-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → console-access-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → console-access-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → console-access-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → console-access-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x4th4bpe.js → console-access-x4th4bpe.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → console-access-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → console-access-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → console-access-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → console-access-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z0h12gs8.js → console-access-z0h12gs8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → console-access-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → console-access-z9919s4g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-zxpyjp51.js → console-access-zxpyjp51.js} +0 -0
- /package/dist/chunks/{instruction-discovery-zz5vv3aq.js → console-access-zz5vv3aq.js} +0 -0
|
@@ -1,67 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./console-access-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service90
|
|
6
|
+
} from "./console-access-qzjzxpbh.js";
|
|
7
7
|
import {
|
|
8
|
-
NotFound3
|
|
9
|
-
|
|
8
|
+
NotFound3,
|
|
9
|
+
exists2
|
|
10
|
+
} from "./console-access-svcy3p9a.js";
|
|
10
11
|
import {
|
|
11
12
|
makeFiles2
|
|
12
|
-
} from "./
|
|
13
|
+
} from "./console-access-rgc9cx3e.js";
|
|
13
14
|
import {
|
|
14
15
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
16
|
+
} from "./console-access-twssxy5n.js";
|
|
17
|
+
import {
|
|
18
|
+
Service64
|
|
19
|
+
} from "./console-access-q3cvvbew.js";
|
|
16
20
|
import {
|
|
17
21
|
invocation2,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
22
|
+
Service68
|
|
23
|
+
} from "./console-access-rvrjm6jd.js";
|
|
20
24
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
25
|
+
Service25
|
|
26
|
+
} from "./console-access-zhn9qdqs.js";
|
|
23
27
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
28
|
+
Service10
|
|
29
|
+
} from "./console-access-smzy4vaf.js";
|
|
26
30
|
import {
|
|
27
|
-
|
|
31
|
+
ID10,
|
|
28
32
|
uri2,
|
|
29
33
|
isUri2,
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
34
|
+
Service59
|
|
35
|
+
} from "./console-access-dc9yh1nj.js";
|
|
32
36
|
import {
|
|
33
37
|
isSafeSegment2
|
|
34
|
-
} from "./
|
|
38
|
+
} from "./console-access-gerka9tj.js";
|
|
35
39
|
import {
|
|
36
40
|
BinaryFileError2,
|
|
37
41
|
MediaIngestLimitError2,
|
|
38
|
-
OffsetOutOfRangeError2,
|
|
39
42
|
PathKindError2,
|
|
43
|
+
DirectoryOffsetError2,
|
|
40
44
|
PageInput2,
|
|
41
45
|
FileContent2,
|
|
42
46
|
TextPage2,
|
|
43
47
|
ListPage2,
|
|
44
|
-
|
|
48
|
+
Service34,
|
|
45
49
|
read2
|
|
46
|
-
} from "./
|
|
50
|
+
} from "./console-access-xgn44gwg.js";
|
|
47
51
|
import {
|
|
48
52
|
__export
|
|
49
|
-
} from "./
|
|
53
|
+
} from "./console-access-9rqn6x4v.js";
|
|
50
54
|
|
|
51
55
|
// src/tool/plugin/read.ts
|
|
52
56
|
var exports_read = {};
|
|
53
57
|
__export(exports_read, {
|
|
54
|
-
Input: () =>
|
|
55
|
-
Plugin: () =>
|
|
58
|
+
Input: () => Input2,
|
|
59
|
+
Plugin: () => Plugin20,
|
|
56
60
|
ReadTool: () => exports_read,
|
|
57
|
-
name: () =>
|
|
58
|
-
toModelContent: () =>
|
|
61
|
+
name: () => name2,
|
|
62
|
+
toModelContent: () => toModelContent2
|
|
59
63
|
});
|
|
60
|
-
import { basename, dirname, join } from "path";
|
|
64
|
+
import { basename, dirname, extname, isAbsolute, join, relative } from "path";
|
|
61
65
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
62
66
|
import { Effect, Schema } from "effect";
|
|
63
67
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
|
-
var
|
|
68
|
+
var name2 = "read";
|
|
65
69
|
var FILENAME = "AGENTS.md";
|
|
66
70
|
var LocationInput = Schema.Struct({
|
|
67
71
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -72,23 +76,24 @@ var LocationInput = Schema.Struct({
|
|
|
72
76
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
73
77
|
})
|
|
74
78
|
});
|
|
75
|
-
var
|
|
79
|
+
var Input2 = LocationInput;
|
|
76
80
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
77
|
-
var
|
|
81
|
+
var Plugin20 = {
|
|
78
82
|
id: "opencode.tool.read",
|
|
79
83
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
80
|
-
const reader = yield*
|
|
81
|
-
const access = yield*
|
|
82
|
-
const permission = yield*
|
|
83
|
-
const skills = yield*
|
|
84
|
-
const sessionInstructions = yield*
|
|
84
|
+
const reader = yield* Service34;
|
|
85
|
+
const access = yield* Service25;
|
|
86
|
+
const permission = yield* Service68;
|
|
87
|
+
const skills = yield* Service59;
|
|
88
|
+
const sessionInstructions = yield* Service10;
|
|
85
89
|
const fs = yield* FSUtil.Service;
|
|
86
|
-
const location = yield*
|
|
90
|
+
const location = yield* Service90;
|
|
91
|
+
const environment = yield* Service64;
|
|
87
92
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
88
|
-
name:
|
|
93
|
+
name: name2,
|
|
89
94
|
options: { codemode: false },
|
|
90
95
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
91
|
-
input:
|
|
96
|
+
input: Input2,
|
|
92
97
|
output: Output,
|
|
93
98
|
execute: (input, context) => {
|
|
94
99
|
return Effect.gen(function* () {
|
|
@@ -96,7 +101,7 @@ var Plugin54 = {
|
|
|
96
101
|
const parsed = parseSkillUri(input.path);
|
|
97
102
|
if (!parsed)
|
|
98
103
|
return yield* new ToolFailure({ message: `File not found: ${input.path}` });
|
|
99
|
-
const id =
|
|
104
|
+
const id = ID10.make(parsed.id);
|
|
100
105
|
const skill = yield* skills.get(id);
|
|
101
106
|
if (!skill || !isUri2(skill.path))
|
|
102
107
|
return yield* new ToolFailure({ message: `File not found: ${input.path}` });
|
|
@@ -133,11 +138,11 @@ var Plugin54 = {
|
|
|
133
138
|
return;
|
|
134
139
|
}));
|
|
135
140
|
if (!alternate)
|
|
136
|
-
return yield* missing(input.path, requested
|
|
141
|
+
return yield* missing({ input: input.path, requested, context });
|
|
137
142
|
const target = yield* access.authorizeRead(alternate, context, { siblingOf: requested });
|
|
138
|
-
const content = yield* read(target).pipe(Effect.catchIf((error) => error instanceof NotFound3, () => missing(input.path, requested
|
|
143
|
+
const content = yield* read(target).pipe(Effect.catchIf((error) => error instanceof NotFound3, () => missing({ input: input.path, requested, context })));
|
|
139
144
|
if (content.type === "list-page")
|
|
140
|
-
return yield* missing(input.path, requested
|
|
145
|
+
return yield* missing({ input: input.path, requested, context });
|
|
141
146
|
return {
|
|
142
147
|
content,
|
|
143
148
|
target,
|
|
@@ -163,18 +168,17 @@ var Plugin54 = {
|
|
|
163
168
|
return { output: result.content, path: result.path };
|
|
164
169
|
}).pipe(Effect.map((result) => ({
|
|
165
170
|
output: result.output,
|
|
166
|
-
content:
|
|
171
|
+
content: toModelContent2(result.path, input.offset, result.output),
|
|
167
172
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
168
173
|
})), Effect.mapError((error) => {
|
|
169
174
|
if (error instanceof ToolFailure)
|
|
170
175
|
return error;
|
|
171
|
-
const message = error instanceof BinaryFileError2 || error instanceof MediaIngestLimitError2 || error instanceof
|
|
176
|
+
const message = error instanceof BinaryFileError2 || error instanceof MediaIngestLimitError2 || error instanceof PathKindError2 || error instanceof DirectoryOffsetError2 ? error.message : `Unable to read ${input.path}`;
|
|
172
177
|
return new ToolFailure({ message, error });
|
|
173
178
|
}));
|
|
174
179
|
}
|
|
175
180
|
})).pipe(Effect.orDie);
|
|
176
181
|
const alternatePath = Effect.fn("ReadTool.alternatePath")(function* (absolute) {
|
|
177
|
-
const canonical = (name) => name.normalize("NFC").replace(/[\u00a0\u202f]/g, " ").replace(/[\u2018\u2019]/g, "'");
|
|
178
182
|
const base = canonical(basename(absolute));
|
|
179
183
|
const matches = (yield* reader.list(AbsolutePath2.make(dirname(absolute)))).filter((entry) => entry.type === "file" && canonical(entry.name) === base);
|
|
180
184
|
if (matches.length !== 1)
|
|
@@ -182,14 +186,27 @@ var Plugin54 = {
|
|
|
182
186
|
return join(dirname(absolute), matches[0].name);
|
|
183
187
|
});
|
|
184
188
|
const listing = (path) => reader.list(AbsolutePath2.make(path)).pipe(Effect.map((entries) => ({ type: "found", names: entries.map((entry) => entry.name) })), Effect.catchTag("Environment.NotFound", () => Effect.succeed({ type: "missing" })), Effect.orElseSucceed(() => ({ type: "unknown" })));
|
|
185
|
-
const
|
|
186
|
-
const
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
189
|
+
const reroot = Effect.fn("ReadTool.reroot")(function* (miss) {
|
|
190
|
+
const root = location.directory;
|
|
191
|
+
if (FSUtil.contains(root, miss.requested.absolute) || !FSUtil.contains(dirname(root), miss.requested.absolute))
|
|
192
|
+
return [];
|
|
193
|
+
const target = yield* access.resolve({ path: join(root, relative(dirname(root), miss.requested.absolute)) });
|
|
194
|
+
if (!(yield* exists2(environment.files, target.absolute)))
|
|
195
|
+
return [];
|
|
196
|
+
const readable = yield* permission.allows({
|
|
197
|
+
action: "read",
|
|
198
|
+
resources: [target.resource],
|
|
199
|
+
save: ["*"],
|
|
200
|
+
...invocation2(miss.context)
|
|
201
|
+
});
|
|
202
|
+
if (!readable)
|
|
203
|
+
return [];
|
|
204
|
+
return [isAbsolute(miss.input) || miss.input.startsWith("~/") ? target.absolute : target.resource];
|
|
205
|
+
});
|
|
206
|
+
const didYouMean = (suggestions) => suggestions.length === 0 ? [] : [`Did you mean one of these?
|
|
207
|
+
${suggestions.slice(0, 3).join(`
|
|
208
|
+
`)}`];
|
|
209
|
+
const missingFolder = Effect.fn("ReadTool.missingFolder")(function* (input, folder, moved) {
|
|
193
210
|
let child = folder;
|
|
194
211
|
let parent = dirname(folder);
|
|
195
212
|
while (parent !== child) {
|
|
@@ -197,13 +214,11 @@ var Plugin54 = {
|
|
|
197
214
|
if (found.type === "unknown")
|
|
198
215
|
break;
|
|
199
216
|
if (found.type === "found") {
|
|
200
|
-
const suggestions = similar(found.names, basename(child)).map((entry) => join(parent, entry));
|
|
217
|
+
const suggestions = [...moved, ...similar(found.names, basename(child)).map((entry) => join(parent, entry))];
|
|
201
218
|
const message = [
|
|
202
219
|
`File not found: ${input}`,
|
|
203
220
|
`The folder ${child} does not exist. The nearest folder that does is ${parent}.`,
|
|
204
|
-
...suggestions
|
|
205
|
-
${suggestions.join(`
|
|
206
|
-
`)}`]
|
|
221
|
+
...didYouMean(suggestions)
|
|
207
222
|
].join(`
|
|
208
223
|
|
|
209
224
|
`);
|
|
@@ -212,23 +227,62 @@ ${suggestions.join(`
|
|
|
212
227
|
child = parent;
|
|
213
228
|
parent = dirname(parent);
|
|
214
229
|
}
|
|
215
|
-
return yield* new ToolFailure({ message: `File not found: ${input}
|
|
230
|
+
return yield* new ToolFailure({ message: [`File not found: ${input}`, ...didYouMean(moved)].join(`
|
|
231
|
+
|
|
232
|
+
`) });
|
|
216
233
|
});
|
|
217
|
-
const missing = Effect.fn("ReadTool.missing")(function* (
|
|
218
|
-
const
|
|
234
|
+
const missing = Effect.fn("ReadTool.missing")(function* (miss) {
|
|
235
|
+
const moved = yield* reroot(miss).pipe(Effect.orElseSucceed(() => []));
|
|
236
|
+
const folder = dirname(miss.requested.absolute);
|
|
219
237
|
const found = yield* listing(folder);
|
|
220
238
|
if (found.type === "missing")
|
|
221
|
-
return yield* missingFolder(input, folder);
|
|
222
|
-
const suggestions =
|
|
223
|
-
|
|
239
|
+
return yield* missingFolder(miss.input, folder, moved);
|
|
240
|
+
const suggestions = [
|
|
241
|
+
...moved,
|
|
242
|
+
...found.type === "found" ? similar(found.names, basename(miss.input)).map((entry) => join(dirname(miss.input), entry)) : []
|
|
243
|
+
];
|
|
244
|
+
return yield* new ToolFailure({
|
|
245
|
+
message: [`File not found: ${miss.input}`, ...didYouMean(suggestions)].join(`
|
|
224
246
|
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
`)}`;
|
|
228
|
-
return yield* new ToolFailure({ message });
|
|
247
|
+
`)
|
|
248
|
+
});
|
|
229
249
|
});
|
|
230
250
|
})
|
|
231
251
|
};
|
|
252
|
+
var similar = (names, requested) => {
|
|
253
|
+
const name = requested.toLowerCase();
|
|
254
|
+
const wanted = stem(name);
|
|
255
|
+
const typos = wanted.length < 3 ? 0 : wanted.length < 5 ? 1 : 2;
|
|
256
|
+
const tier = (candidate) => {
|
|
257
|
+
if (candidate === name)
|
|
258
|
+
return 1;
|
|
259
|
+
if (canonical(candidate) === canonical(name))
|
|
260
|
+
return;
|
|
261
|
+
const found = stem(candidate);
|
|
262
|
+
if (found === wanted)
|
|
263
|
+
return 2;
|
|
264
|
+
if (Math.min(found.length, wanted.length) >= 3 && (candidate.includes(name) || name.includes(candidate) || found.includes(wanted) || wanted.includes(found)))
|
|
265
|
+
return 3;
|
|
266
|
+
if (typos > 0 && Math.abs(found.length - wanted.length) <= typos && editDistance(found, wanted) <= typos)
|
|
267
|
+
return 4;
|
|
268
|
+
};
|
|
269
|
+
return names.filter((entry) => entry !== requested).flatMap((entry) => {
|
|
270
|
+
const rank = tier(entry.toLowerCase());
|
|
271
|
+
return rank === undefined ? [] : [{ entry, rank, distance: editDistance(entry.toLowerCase(), name) }];
|
|
272
|
+
}).sort((a, b) => a.rank - b.rank || a.distance - b.distance || a.entry.localeCompare(b.entry)).slice(0, 3).map((match) => match.entry);
|
|
273
|
+
};
|
|
274
|
+
var canonical = (name) => name.normalize("NFC").replace(/[\u00a0\u202f]/g, " ").replace(/[\u2018\u2019]/g, "'");
|
|
275
|
+
var stem = (name) => name.slice(0, name.length - extname(name).length) || name;
|
|
276
|
+
var editDistance = (a, b) => {
|
|
277
|
+
let previous = Array.from({ length: b.length + 1 }, (_, index) => index);
|
|
278
|
+
for (let i = 1;i <= a.length; i++) {
|
|
279
|
+
const current = [i];
|
|
280
|
+
for (let j = 1;j <= b.length; j++)
|
|
281
|
+
current[j] = Math.min(previous[j] + 1, current[j - 1] + 1, previous[j - 1] + (a[i - 1] === b[j - 1] ? 0 : 1));
|
|
282
|
+
previous = current;
|
|
283
|
+
}
|
|
284
|
+
return previous[b.length];
|
|
285
|
+
};
|
|
232
286
|
function parseSkillUri(value) {
|
|
233
287
|
const trimmed = value.slice("skill://".length).replace(/\/+$/, "");
|
|
234
288
|
const slash = trimmed.indexOf("/");
|
|
@@ -240,7 +294,7 @@ function parseSkillUri(value) {
|
|
|
240
294
|
return;
|
|
241
295
|
return { id, target: rest === "" ? "/" : `/${rest}`, uri: uri2(id, rest || undefined) };
|
|
242
296
|
}
|
|
243
|
-
var
|
|
297
|
+
var toModelContent2 = (path, offset, output) => {
|
|
244
298
|
if (output.type === "file" && output.encoding === "base64")
|
|
245
299
|
return [
|
|
246
300
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -266,8 +320,10 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
266
320
|
const text = output.type === "file" ? output.content.replace(/\n$/, "") : output.content;
|
|
267
321
|
const lines = output.content === "" ? [] : text.split(`
|
|
268
322
|
`);
|
|
323
|
+
const total = start + lines.length - 1;
|
|
324
|
+
const pastEnd = output.type === "text-page" && offset !== undefined && start < offset;
|
|
269
325
|
const content = [
|
|
270
|
-
lines.length === 0 ? `Read file ${path}, 0 lines` : `Read file ${path}, lines ${start}-${
|
|
326
|
+
(lines.length === 0 ? `Read file ${path}, 0 lines` : `Read file ${path}, lines ${start}-${total}`) + (pastEnd ? ` (offset ${offset} is past the end; the file has ${total} ${total === 1 ? "line" : "lines"})` : "")
|
|
271
327
|
];
|
|
272
328
|
lines.forEach((line, index) => content.push(`${start + index}: ${line}`));
|
|
273
329
|
if (output.type === "text-page" && output.truncated && output.next !== undefined)
|
|
@@ -276,4 +332,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
276
332
|
`);
|
|
277
333
|
};
|
|
278
334
|
|
|
279
|
-
export {
|
|
335
|
+
export { name2, Input2, Plugin20, toModelContent2, exports_read };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./console-access-b9tmr8d0.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./console-access-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
key3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./console-access-n320gsn2.js";
|
|
12
12
|
import {
|
|
13
13
|
ID18,
|
|
14
14
|
Service86,
|
|
15
15
|
node88,
|
|
16
16
|
Event18
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./console-access-xkm32hee.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service90,
|
|
20
|
+
node92
|
|
21
|
+
} from "./console-access-qzjzxpbh.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./console-access-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: () =>
|
|
34
|
+
Event: () => Event16,
|
|
35
35
|
ID: () => ID17,
|
|
36
|
-
Info: () =>
|
|
36
|
+
Info: () => Info24,
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider5,
|
|
39
39
|
Request: () => Request4,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service80,
|
|
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: () => node82,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -331,7 +331,7 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
|
|
|
331
331
|
var decode = Schema.decodeUnknownSync(Legacy);
|
|
332
332
|
|
|
333
333
|
// src/provider.ts
|
|
334
|
-
import { Event as
|
|
334
|
+
import { Event as Event16 } from "@opencode/schema/provider";
|
|
335
335
|
var ID17 = Provider.ID;
|
|
336
336
|
var AISDK_PREFIX2 = "aisdk:";
|
|
337
337
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
@@ -577,9 +577,9 @@ var Compaction3 = Provider.Compaction;
|
|
|
577
577
|
var Cache2 = Provider.Cache;
|
|
578
578
|
var Transport2 = Provider.Transport;
|
|
579
579
|
var Settings2 = Provider.Settings;
|
|
580
|
-
var
|
|
580
|
+
var Info24 = Provider.Info;
|
|
581
581
|
|
|
582
|
-
class
|
|
582
|
+
class Service80 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(
|
|
595
|
+
var layer = Layer.effect(Service80, Effect2.gen(function* () {
|
|
596
596
|
const bus = yield* Service93;
|
|
597
597
|
const integrations = yield* Service86;
|
|
598
|
-
const location = yield*
|
|
598
|
+
const location = yield* Service90;
|
|
599
599
|
const state = create4({
|
|
600
600
|
name: "provider",
|
|
601
601
|
initial: () => new Map,
|
|
@@ -606,7 +606,7 @@ var layer = Layer.effect(Service85, Effect2.gen(function* () {
|
|
|
606
606
|
const current = records.get(id);
|
|
607
607
|
if (current)
|
|
608
608
|
return current;
|
|
609
|
-
const added = { provider:
|
|
609
|
+
const added = { provider: Info24.empty(id), models: new Map };
|
|
610
610
|
records.set(id, added);
|
|
611
611
|
maps.add(added.models);
|
|
612
612
|
return added;
|
|
@@ -714,7 +714,7 @@ var layer = Layer.effect(Service85, Effect2.gen(function* () {
|
|
|
714
714
|
});
|
|
715
715
|
});
|
|
716
716
|
yield* bus.subscribe([Event18.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
717
|
-
return
|
|
717
|
+
return Service80.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(Service85, Effect2.gen(function* () {
|
|
|
723
723
|
snapshot
|
|
724
724
|
});
|
|
725
725
|
}));
|
|
726
|
-
var
|
|
726
|
+
var node82 = makeLocationNode({ service: Service80, layer, deps: [node95, node88, node92] });
|
|
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, 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,
|
|
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, Service80, node82, exports_provider5, Event16 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ProjectTable2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./console-access-034tev2y.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./console-access-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/icon.ts
|
|
9
9
|
var exports_icon = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID17,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./console-access-8j97sx0h.js";
|
|
5
5
|
import {
|
|
6
6
|
ID16,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info23,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./console-access-rfmjs4hq.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./console-access-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models = {};
|
|
17
|
+
__export(exports_models, {
|
|
18
|
+
ModalModels: () => exports_models,
|
|
19
|
+
derive: () => derive2,
|
|
20
|
+
get: () => get2,
|
|
21
|
+
load: () => load4
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Effect, Option, Schema } from "effect";
|
|
@@ -54,17 +54,17 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
});
|
|
55
55
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
function
|
|
58
|
-
return
|
|
57
|
+
function get2(http, baseURL, apiKey, existing) {
|
|
58
|
+
return load4(http, baseURL, apiKey).pipe(Effect.map((remote) => derive2(baseURL, remote, existing)));
|
|
59
59
|
}
|
|
60
|
-
var
|
|
60
|
+
var load4 = Effect.fn("ModalModels.load")(function* (http, baseURL, apiKey) {
|
|
61
61
|
const response = yield* HttpClient.filterStatusOk(http).execute(HttpClientRequest.get(`${baseURL.replace(/\/+$/, "")}/models`).pipe(HttpClientRequest.bearerToken(apiKey))).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Response)), Effect.timeout("3 seconds"));
|
|
62
62
|
return response.data.flatMap((raw) => {
|
|
63
63
|
const model = Option.getOrUndefined(decodeModel(raw));
|
|
64
64
|
return model ? [model] : [];
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
|
-
function
|
|
67
|
+
function derive2(baseURL, remote, existing) {
|
|
68
68
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
69
69
|
const result = new Map;
|
|
70
70
|
for (const item of remote) {
|
|
@@ -87,8 +87,8 @@ function limit(value, fallback) {
|
|
|
87
87
|
function build(id, remote, baseURL, previous) {
|
|
88
88
|
const cost = previous?.cost[0];
|
|
89
89
|
const input = previous?.limit.input;
|
|
90
|
-
return
|
|
91
|
-
...
|
|
90
|
+
return Info23.make({
|
|
91
|
+
...Info23.default(providerID, id),
|
|
92
92
|
id,
|
|
93
93
|
modelID: ID16.make(remote.id),
|
|
94
94
|
providerID,
|
|
@@ -137,4 +137,4 @@ function variants(remote) {
|
|
|
137
137
|
return [...seen.values()];
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { get2, load4, derive2, exports_models };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service56,
|
|
3
|
+
node57
|
|
4
|
+
} from "./console-access-hmc1gkc2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Service85,
|
|
7
|
+
node87,
|
|
8
8
|
canonical3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./console-access-6779fhng.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service67
|
|
12
|
+
} from "./console-access-vrrgz1qg.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./console-access-hkqsfgg0.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option, Scope } from "effect";
|
|
19
19
|
var HELD_WARNING_AFTER = "30 seconds";
|
|
20
20
|
function buildLocationServiceMap2(replacements = []) {
|
|
21
|
-
return Layer.effect(
|
|
21
|
+
return Layer.effect(Service85, Effect.gen(function* () {
|
|
22
22
|
const owner = yield* Effect.scope;
|
|
23
23
|
const builds = MutableHashMap.empty();
|
|
24
24
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
28
28
|
const finish = Effect.suspend(() => {
|
|
29
29
|
if (Exit.isSuccess(exit)) {
|
|
30
30
|
return Effect.gen(function* () {
|
|
31
|
-
const lifecycle = Context.get(exit.value,
|
|
31
|
+
const lifecycle = Context.get(exit.value, Service67);
|
|
32
32
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
33
33
|
return yield* lifecycle.shutdown;
|
|
34
34
|
build.close = lifecycle.shutdown;
|
|
@@ -65,11 +65,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
65
65
|
}).pipe(Effect.uninterruptible)
|
|
66
66
|
};
|
|
67
67
|
const bindings = [
|
|
68
|
-
|
|
68
|
+
node57.replace(Layer.succeed(Service56, {
|
|
69
69
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
70
70
|
})),
|
|
71
71
|
...replacements,
|
|
72
|
-
|
|
72
|
+
node87.replace(Layer.succeed(Service85, map))
|
|
73
73
|
];
|
|
74
74
|
return map;
|
|
75
75
|
}));
|