@opencode/core 0.0.0-dev-1015 → 0.0.0-dev-1016
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 +246 -246
- package/dist/bus.js +80 -80
- package/dist/chunks/{instruction-discovery-w986w4hx.js → file-retention-00evz0zc.js} +6 -6
- package/dist/chunks/{instruction-discovery-034tev2y.js → file-retention-034tev2y.js} +2 -2
- package/dist/chunks/{instruction-discovery-m9hjmvdm.js → file-retention-040rxmsg.js} +7 -7
- package/dist/chunks/{instruction-discovery-0f79bht5.js → file-retention-0dxcp800.js} +5 -5
- package/dist/chunks/{instruction-discovery-26wfx3k0.js → file-retention-0gp4h782.js} +7 -7
- package/dist/chunks/{instruction-discovery-yk4ram99.js → file-retention-0hxcpwt2.js} +3 -3
- package/dist/chunks/{instruction-discovery-0j7gp832.js → file-retention-0j7gp832.js} +1 -1
- package/dist/chunks/{instruction-discovery-3bbmjbhc.js → file-retention-0kpz9k6q.js} +18 -18
- package/dist/chunks/{instruction-discovery-0ma9gw4f.js → file-retention-0ma9gw4f.js} +2 -2
- package/dist/chunks/{instruction-discovery-qt420wez.js → file-retention-0nby6mnz.js} +11 -11
- package/dist/chunks/{instruction-discovery-vmz99vp1.js → file-retention-0nseh0ww.js} +13 -13
- package/dist/chunks/{instruction-discovery-0hmx2qjn.js → file-retention-0php2d2a.js} +4 -4
- package/dist/chunks/{instruction-discovery-gdpv4h37.js → file-retention-0t6d4jhr.js} +11 -11
- package/dist/chunks/{instruction-discovery-yq9kw5cw.js → file-retention-0tvgqg49.js} +1 -1
- package/dist/chunks/{instruction-discovery-xqv7e1eg.js → file-retention-0zx00d82.js} +7 -7
- package/dist/chunks/{instruction-discovery-z8d5w4cp.js → file-retention-109t80sz.js} +12 -12
- package/dist/chunks/{instruction-discovery-xn9c2ktn.js → file-retention-15jjwh3e.js} +46 -46
- package/dist/chunks/{instruction-discovery-q35nk5cz.js → file-retention-1akar8ks.js} +3 -3
- package/dist/chunks/{instruction-discovery-1aqsckx4.js → file-retention-1aqsckx4.js} +1 -1
- package/dist/chunks/{instruction-discovery-t4fc5w9m.js → file-retention-1dtka0nz.js} +33 -33
- package/dist/chunks/{instruction-discovery-1ep2p91f.js → file-retention-1ep2p91f.js} +2 -2
- package/dist/chunks/{instruction-discovery-axa33maw.js → file-retention-1f19kj02.js} +3 -3
- package/dist/chunks/{instruction-discovery-p90c3rke.js → file-retention-1vtweyq1.js} +35 -35
- package/dist/chunks/{instruction-discovery-1x2knyw4.js → file-retention-1x2knyw4.js} +1 -1
- package/dist/chunks/{instruction-discovery-1yq9hg58.js → file-retention-1yq9hg58.js} +1 -1
- package/dist/chunks/{instruction-discovery-em917w8p.js → file-retention-206p06sk.js} +25 -25
- package/dist/chunks/{instruction-discovery-rj7j5fvs.js → file-retention-229tvxdn.js} +4 -4
- package/dist/chunks/{instruction-discovery-15zw0pf4.js → file-retention-2cygvtc6.js} +30 -30
- package/dist/chunks/{instruction-discovery-2fc7eemy.js → file-retention-2fc7eemy.js} +1 -1
- package/dist/chunks/{instruction-discovery-7xrr1h9y.js → file-retention-2k299qg4.js} +18 -18
- package/dist/chunks/{instruction-discovery-mf63ygpr.js → file-retention-2kg89srt.js} +4 -4
- package/dist/chunks/{instruction-discovery-qtf35215.js → file-retention-2n444ktb.js} +3 -3
- package/dist/chunks/{instruction-discovery-z8je6wes.js → file-retention-2rbj4gma.js} +28 -28
- package/dist/chunks/{instruction-discovery-r7fbedde.js → file-retention-2wkndd51.js} +30 -30
- package/dist/chunks/{instruction-discovery-1p8dpx3b.js → file-retention-2xdfg7wz.js} +20 -20
- package/dist/chunks/{instruction-discovery-qgrcdsd3.js → file-retention-2xm40w62.js} +10 -10
- package/dist/chunks/{instruction-discovery-xhbkw68y.js → file-retention-3139xxfc.js} +10 -10
- package/dist/chunks/{instruction-discovery-pd89y4vg.js → file-retention-36fpmjbw.js} +8 -8
- package/dist/chunks/{instruction-discovery-g5ds3bms.js → file-retention-388pzms7.js} +5 -5
- package/dist/chunks/{instruction-discovery-22qx8d5d.js → file-retention-39j14cry.js} +8 -8
- package/dist/chunks/{instruction-discovery-07z6t3m8.js → file-retention-3a1jm349.js} +30 -30
- package/dist/chunks/{instruction-discovery-xjbsd7zy.js → file-retention-3adw4bt5.js} +9 -9
- package/dist/chunks/{instruction-discovery-5z37zzep.js → file-retention-3db8mxk3.js} +125 -69
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-3nnrz6f6.js → file-retention-3nnrz6f6.js} +1 -1
- package/dist/chunks/{instruction-discovery-3qgwywyc.js → file-retention-3qgwywyc.js} +1 -1
- package/dist/chunks/{instruction-discovery-bex4xsk5.js → file-retention-3v50s0nm.js} +4 -4
- package/dist/chunks/{instruction-discovery-rsh9mrpq.js → file-retention-3z2wansv.js} +19 -19
- package/dist/chunks/{instruction-discovery-40y6dtc2.js → file-retention-40y6dtc2.js} +1 -1
- package/dist/chunks/{instruction-discovery-npdhee2a.js → file-retention-45fhkea0.js} +31 -31
- package/dist/chunks/{instruction-discovery-m7t615r4.js → file-retention-471b4vg3.js} +12 -12
- package/dist/chunks/{instruction-discovery-z8dga3gp.js → file-retention-49wct0kc.js} +14 -14
- package/dist/chunks/{instruction-discovery-8n09hdvs.js → file-retention-4dtvemx5.js} +8 -8
- package/dist/chunks/{instruction-discovery-4dx1dgte.js → file-retention-4dx1dgte.js} +1 -1
- package/dist/chunks/{instruction-discovery-4pyp9zr9.js → file-retention-4pyp9zr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-877ex1x8.js → file-retention-4thshjht.js} +4 -4
- package/dist/chunks/{instruction-discovery-ybws1qgk.js → file-retention-4tnarq1t.js} +6 -6
- package/dist/chunks/{instruction-discovery-4v008n1t.js → file-retention-4v008n1t.js} +1 -1
- package/dist/chunks/{instruction-discovery-3s0pgq88.js → file-retention-4wakat28.js} +28 -28
- package/dist/chunks/{instruction-discovery-xrwd0eaa.js → file-retention-4yabvb9z.js} +13 -13
- package/dist/chunks/{instruction-discovery-5zpqhmp2.js → file-retention-530xg6vw.js} +3 -3
- package/dist/chunks/{instruction-discovery-bfzxg64b.js → file-retention-571e4mnh.js} +16 -16
- package/dist/chunks/{instruction-discovery-096a4ey7.js → file-retention-59w360q8.js} +28 -28
- package/dist/chunks/{instruction-discovery-7wrg17wp.js → file-retention-5a7qb1w3.js} +5 -5
- package/dist/chunks/{instruction-discovery-vmkgnf08.js → file-retention-5enc3vxd.js} +5 -5
- package/dist/chunks/{instruction-discovery-xy2adanr.js → file-retention-5kc3t2f9.js} +11 -11
- package/dist/chunks/{instruction-discovery-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
- package/dist/chunks/{instruction-discovery-w6ph90n3.js → file-retention-5q33j1cv.js} +8 -8
- package/dist/chunks/{instruction-discovery-5whx36p1.js → file-retention-5whx36p1.js} +1 -1
- package/dist/chunks/{instruction-discovery-hk297yx1.js → file-retention-683maj78.js} +24 -24
- package/dist/chunks/{instruction-discovery-cnm88yfy.js → file-retention-6vzxa6gg.js} +6 -6
- package/dist/chunks/{instruction-discovery-v48fmenw.js → file-retention-6xed0wgw.js} +11 -11
- package/dist/chunks/{instruction-discovery-hpy856qe.js → file-retention-73t33r1z.js} +13 -13
- package/dist/chunks/{instruction-discovery-j20ahyp3.js → file-retention-74z1qt8d.js} +18 -18
- package/dist/chunks/{instruction-discovery-61qraad9.js → file-retention-78p2h4ex.js} +5 -5
- package/dist/chunks/{instruction-discovery-8hvja03c.js → file-retention-7aqhms1k.js} +9 -9
- package/dist/chunks/{instruction-discovery-rh0vkr7v.js → file-retention-7ate3mdg.js} +194 -194
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-4dxbz5t2.js → file-retention-7gbwh7hh.js} +15 -15
- package/dist/chunks/{instruction-discovery-p7y8ak2q.js → file-retention-7kh39e2h.js} +13 -13
- package/dist/chunks/{instruction-discovery-1tng1z6k.js → file-retention-7m3mjwky.js} +15 -15
- package/dist/chunks/{instruction-discovery-rke1pk6v.js → file-retention-7nm62yak.js} +12 -12
- package/dist/chunks/{instruction-discovery-7w2ypzdf.js → file-retention-7w2ypzdf.js} +1 -1
- package/dist/chunks/{instruction-discovery-7weczvnd.js → file-retention-7weczvnd.js} +1 -1
- package/dist/chunks/{instruction-discovery-qgp5gqjt.js → file-retention-7xgv5ycq.js} +43 -43
- package/dist/chunks/{instruction-discovery-80mg3ag8.js → file-retention-80mg3ag8.js} +3 -3
- package/dist/chunks/{instruction-discovery-80pdk984.js → file-retention-80pdk984.js} +1 -1
- package/dist/chunks/{instruction-discovery-e437mpew.js → file-retention-80sd2g1t.js} +30 -30
- package/dist/chunks/{instruction-discovery-85jq8dht.js → file-retention-85jq8dht.js} +1 -1
- package/dist/chunks/{instruction-discovery-qrwsktcm.js → file-retention-86sq5tg5.js} +10 -10
- package/dist/chunks/{instruction-discovery-cac42eeb.js → file-retention-8a60k7tf.js} +18 -18
- package/dist/chunks/{instruction-discovery-8nvhek60.js → file-retention-8ajp9zyd.js} +17 -17
- package/dist/chunks/{instruction-discovery-9rqfe4ad.js → file-retention-8akjpyn6.js} +3 -3
- package/dist/chunks/{instruction-discovery-8b3vzgkx.js → file-retention-8b3vzgkx.js} +1 -1
- package/dist/chunks/{instruction-discovery-gt02w2mb.js → file-retention-8h9nhb80.js} +11 -11
- package/dist/chunks/{instruction-discovery-kzdam8c6.js → file-retention-8hfctyyf.js} +7 -7
- package/dist/chunks/{instruction-discovery-ehgta2nm.js → file-retention-8j76zmcb.js} +32 -32
- package/dist/chunks/{instruction-discovery-8sxe6kv8.js → file-retention-8sxe6kv8.js} +2 -2
- package/dist/chunks/{instruction-discovery-8wtp7s3z.js → file-retention-8wtp7s3z.js} +1 -1
- package/dist/chunks/{instruction-discovery-8zv0xmg5.js → file-retention-8zv0xmg5.js} +1 -1
- package/dist/chunks/{instruction-discovery-j54ey3dk.js → file-retention-913papyv.js} +23 -23
- package/dist/chunks/{instruction-discovery-963hk181.js → file-retention-963hk181.js} +2 -2
- package/dist/chunks/{instruction-discovery-45m6e38z.js → file-retention-96rzt6wt.js} +11 -11
- package/dist/chunks/{instruction-discovery-71kmztew.js → file-retention-9ff9wbtn.js} +15 -15
- package/dist/chunks/{instruction-discovery-6mx9s162.js → file-retention-9qffqtsn.js} +26 -26
- package/dist/chunks/{instruction-discovery-pwjytcs6.js → file-retention-9xgw5zfe.js} +17 -17
- package/dist/chunks/{instruction-discovery-1mjed9m0.js → file-retention-9xk0h840.js} +18 -18
- package/dist/chunks/{instruction-discovery-x150ncgg.js → file-retention-a3fn0gmm.js} +2 -2
- package/dist/chunks/{instruction-discovery-fvdwnf39.js → file-retention-a9hkbpc6.js} +21 -21
- package/dist/chunks/{instruction-discovery-18b1hh0p.js → file-retention-ad123chm.js} +11 -11
- package/dist/chunks/{instruction-discovery-s1ba0vj0.js → file-retention-ad21tgm2.js} +4 -4
- package/dist/chunks/{instruction-discovery-5cr30h4q.js → file-retention-adjee44k.js} +8 -8
- package/dist/chunks/{instruction-discovery-bb7q5hvs.js → file-retention-aefd2vw2.js} +7 -7
- package/dist/chunks/{instruction-discovery-vwcz1f45.js → file-retention-agje4kmn.js} +7 -7
- package/dist/chunks/{instruction-discovery-a1tswj55.js → file-retention-ahenw0f4.js} +5 -5
- package/dist/chunks/{instruction-discovery-10pn4eb5.js → file-retention-ayfytmn9.js} +5 -5
- package/dist/chunks/{instruction-discovery-ayjs7tqn.js → file-retention-ayjs7tqn.js} +2 -2
- package/dist/chunks/{instruction-discovery-bvq8f0kp.js → file-retention-b3d082y1.js} +20 -20
- package/dist/chunks/{instruction-discovery-mh1rreeb.js → file-retention-b6zprkys.js} +9 -9
- package/dist/chunks/{instruction-discovery-ptymmbb1.js → file-retention-bapqn1wv.js} +23 -23
- package/dist/chunks/{instruction-discovery-m5brqekz.js → file-retention-bcbezmcm.js} +9 -9
- package/dist/chunks/{instruction-discovery-0nqxgmxj.js → file-retention-bcenpvnw.js} +13 -13
- package/dist/chunks/{instruction-discovery-n6fjjwma.js → file-retention-bd4geh6z.js} +4 -4
- package/dist/chunks/{instruction-discovery-dfsy2zcm.js → file-retention-bfbsygdd.js} +5 -5
- package/dist/chunks/{instruction-discovery-zbng777a.js → file-retention-bffykna6.js} +5 -5
- package/dist/chunks/{instruction-discovery-7mv28461.js → file-retention-bq1g6b1d.js} +18 -18
- package/dist/chunks/{instruction-discovery-bstexjd6.js → file-retention-bstexjd6.js} +1 -1
- package/dist/chunks/{instruction-discovery-3cnfysr5.js → file-retention-bvp63rq9.js} +6 -6
- package/dist/chunks/{instruction-discovery-zjxmd7k6.js → file-retention-bw0b2238.js} +17 -17
- package/dist/chunks/{instruction-discovery-82t5zjg4.js → file-retention-bwr3jnns.js} +17 -17
- package/dist/chunks/{instruction-discovery-y8aqsrqr.js → file-retention-bxc2ab2h.js} +41 -41
- package/dist/chunks/{instruction-discovery-yy6p0r3f.js → file-retention-by8rs8mm.js} +5 -5
- package/dist/chunks/{instruction-discovery-zpdbqgja.js → file-retention-by8ty0bx.js} +4 -4
- package/dist/chunks/{instruction-discovery-63d3zap5.js → file-retention-c366grjq.js} +15 -15
- package/dist/chunks/{instruction-discovery-1y1mzemz.js → file-retention-c4fqyyzh.js} +33 -33
- package/dist/chunks/{instruction-discovery-c6x7d2ts.js → file-retention-c6x7d2ts.js} +1 -1
- package/dist/chunks/{instruction-discovery-c7cw818c.js → file-retention-c7cw818c.js} +2 -2
- package/dist/chunks/{instruction-discovery-vfz1yd30.js → file-retention-ca3yk086.js} +12 -12
- package/dist/chunks/{instruction-discovery-ev4zfx05.js → file-retention-cbesbsh3.js} +14 -14
- package/dist/chunks/{instruction-discovery-rac80r1t.js → file-retention-cbzjmpsh.js} +4 -4
- package/dist/chunks/{instruction-discovery-d1spntys.js → file-retention-cf21gzb8.js} +7 -7
- package/dist/chunks/{instruction-discovery-x1yq6p9a.js → file-retention-cgtdmx1h.js} +20 -20
- package/dist/chunks/{instruction-discovery-dee02ybc.js → file-retention-csqnxa1q.js} +45 -45
- package/dist/chunks/{instruction-discovery-npnga1vf.js → file-retention-cw6ks3ew.js} +8 -8
- package/dist/chunks/{instruction-discovery-cwrgdav8.js → file-retention-cwrgdav8.js} +2 -2
- package/dist/chunks/{instruction-discovery-5k4n1gb3.js → file-retention-d254c387.js} +12 -12
- package/dist/chunks/{instruction-discovery-4ygb74tw.js → file-retention-d390zwf3.js} +8 -8
- package/dist/chunks/{instruction-discovery-d4v9tmah.js → file-retention-d4v9tmah.js} +2 -2
- package/dist/chunks/{instruction-discovery-sykep8z1.js → file-retention-d7jp7t91.js} +21 -21
- package/dist/chunks/{instruction-discovery-fw2qyj1f.js → file-retention-d94nassh.js} +78 -78
- package/dist/chunks/{instruction-discovery-ydsespw1.js → file-retention-ddvn7d3w.js} +8 -8
- package/dist/chunks/{instruction-discovery-5zhccwhm.js → file-retention-ddznp77j.js} +4 -4
- package/dist/chunks/{instruction-discovery-z514yeqw.js → file-retention-dk6dpcaf.js} +9 -9
- package/dist/chunks/{instruction-discovery-dt77769w.js → file-retention-dt77769w.js} +1 -1
- package/dist/chunks/{instruction-discovery-eryzpwpq.js → file-retention-e07faqy4.js} +18 -18
- package/dist/chunks/{instruction-discovery-w76xjer3.js → file-retention-e45fk36t.js} +4 -4
- package/dist/chunks/{instruction-discovery-0nynr8sa.js → file-retention-e934f88v.js} +13 -13
- package/dist/chunks/{instruction-discovery-r147690n.js → file-retention-eb9nv8p6.js} +35 -35
- package/dist/chunks/{instruction-discovery-rs6b2qby.js → file-retention-ecpg6fb9.js} +4 -4
- package/dist/chunks/{instruction-discovery-2zk860f7.js → file-retention-eeqxneqt.js} +6 -6
- package/dist/chunks/{instruction-discovery-eqw4pqj1.js → file-retention-eqw4pqj1.js} +2 -2
- package/dist/chunks/{instruction-discovery-vtkyewdg.js → file-retention-eqz858fr.js} +11 -11
- package/dist/chunks/file-retention-ev660z6k.js +18 -0
- package/dist/chunks/{instruction-discovery-trp5xsg0.js → file-retention-eyq5wfd8.js} +36 -36
- package/dist/chunks/{instruction-discovery-05ww0tct.js → file-retention-f1sxnq30.js} +22 -22
- package/dist/chunks/{instruction-discovery-1jqhjz8x.js → file-retention-f805k95c.js} +3 -3
- package/dist/chunks/{instruction-discovery-hgawkv06.js → file-retention-f8h4q6rt.js} +54 -54
- package/dist/chunks/{instruction-discovery-cazsqtbb.js → file-retention-fc62rt39.js} +18 -18
- package/dist/chunks/{instruction-discovery-75z8ttbx.js → file-retention-fcv31keh.js} +20 -20
- package/dist/chunks/{instruction-discovery-fg9p65nk.js → file-retention-fg9p65nk.js} +2 -2
- package/dist/chunks/{instruction-discovery-jwh3xyhe.js → file-retention-fmtchrtw.js} +7 -7
- package/dist/chunks/{instruction-discovery-mtx9qk1x.js → file-retention-ftqqst3x.js} +30 -30
- package/dist/chunks/file-retention-g1pwz04r.js +26 -0
- package/dist/chunks/{instruction-discovery-5n4jvj3e.js → file-retention-g2y31exj.js} +33 -33
- package/dist/chunks/file-retention-g9cj8p6n.js +577 -0
- package/dist/chunks/{instruction-discovery-gbjdnr5j.js → file-retention-gbjdnr5j.js} +2 -2
- package/dist/chunks/{instruction-discovery-pnw5tfaz.js → file-retention-gc6rk9wr.js} +8 -8
- package/dist/chunks/{instruction-discovery-0azcnvzv.js → file-retention-gf7w3qjk.js} +31 -31
- package/dist/chunks/{instruction-discovery-txxmmn21.js → file-retention-gh3v29h0.js} +34 -34
- package/dist/chunks/{instruction-discovery-ghrv1g9c.js → file-retention-ghrv1g9c.js} +1 -1
- package/dist/chunks/{instruction-discovery-nb92b240.js → file-retention-gwmqddn8.js} +43 -43
- package/dist/chunks/{instruction-discovery-gvvr0d1k.js → file-retention-h5ncs4da.js} +83 -83
- package/dist/chunks/{instruction-discovery-fn5th1ab.js → file-retention-h6pm70xx.js} +11 -11
- package/dist/chunks/{instruction-discovery-6ghwpzxw.js → file-retention-h9qmrvth.js} +59 -59
- package/dist/chunks/{instruction-discovery-z1zwgy4a.js → file-retention-hcbk55mf.js} +10 -10
- package/dist/chunks/{instruction-discovery-a631g2cm.js → file-retention-hgyjngcw.js} +5 -5
- package/dist/chunks/{instruction-discovery-hgzwgvze.js → file-retention-hgzwgvze.js} +2 -2
- package/dist/chunks/{instruction-discovery-71cpk4y0.js → file-retention-hhg8skp7.js} +26 -26
- package/dist/chunks/{instruction-discovery-x2x4cmk7.js → file-retention-j1k6k24k.js} +16 -16
- package/dist/chunks/{instruction-discovery-nvjede13.js → file-retention-jezdr3qb.js} +15 -15
- package/dist/chunks/{instruction-discovery-j376ae4e.js → file-retention-jht64jd1.js} +7 -7
- package/dist/chunks/{instruction-discovery-9r920prg.js → file-retention-jkkettf9.js} +11 -11
- package/dist/chunks/{instruction-discovery-jm70asfg.js → file-retention-jm70asfg.js} +1 -1
- package/dist/chunks/{instruction-discovery-4xwww03f.js → file-retention-jnaj2187.js} +16 -16
- package/dist/chunks/{instruction-discovery-7h22etv1.js → file-retention-jtn88xg7.js} +5 -5
- package/dist/chunks/{instruction-discovery-4084dgj6.js → file-retention-jtss1qkx.js} +17 -17
- package/dist/chunks/{instruction-discovery-aacxd4ty.js → file-retention-jwcw5enf.js} +17 -17
- package/dist/chunks/{instruction-discovery-41hph88s.js → file-retention-k0tm75mb.js} +6 -6
- package/dist/chunks/{instruction-discovery-m8c1a2pd.js → file-retention-k98t6223.js} +81 -81
- package/dist/chunks/{instruction-discovery-zded71tf.js → file-retention-k99ec1p8.js} +16 -16
- package/dist/chunks/{instruction-discovery-w3mjccnh.js → file-retention-kas5rcgf.js} +20 -20
- package/dist/chunks/{instruction-discovery-pb9gr1fn.js → file-retention-kb8spm7s.js} +12 -12
- package/dist/chunks/{instruction-discovery-h0aek10s.js → file-retention-kdw9060a.js} +28 -28
- package/dist/chunks/{instruction-discovery-kj9n5bvh.js → file-retention-kj9n5bvh.js} +1 -1
- package/dist/chunks/{instruction-discovery-kab192kh.js → file-retention-kpgsw4f5.js} +6 -6
- package/dist/chunks/{instruction-discovery-jyk617cr.js → file-retention-kqd77qhf.js} +9 -9
- package/dist/chunks/file-retention-kqp8n64m.js +273 -0
- package/dist/chunks/{instruction-discovery-kt3bjfbg.js → file-retention-kt3bjfbg.js} +1 -1
- package/dist/chunks/{instruction-discovery-ggx84v7x.js → file-retention-ktck1cjp.js} +6 -6
- package/dist/chunks/{instruction-discovery-6m28zfh6.js → file-retention-kyzerg4y.js} +19 -19
- package/dist/chunks/{instruction-discovery-kzczzf4v.js → file-retention-kzczzf4v.js} +1 -1
- package/dist/chunks/{instruction-discovery-m1714858.js → file-retention-m1714858.js} +1 -1
- package/dist/chunks/{instruction-discovery-w1d134qy.js → file-retention-m4db2ssm.js} +24 -24
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-mb7mbhnz.js → file-retention-mb7mbhnz.js} +3 -3
- package/dist/chunks/{instruction-discovery-5cwxazss.js → file-retention-mdfqpk4k.js} +12 -12
- package/dist/chunks/{instruction-discovery-b7nkz392.js → file-retention-me215f18.js} +1 -1
- package/dist/chunks/{instruction-discovery-szakm7q4.js → file-retention-mkny72vx.js} +11 -11
- package/dist/chunks/{instruction-discovery-zapgmn8f.js → file-retention-mnkn5pp4.js} +8 -8
- package/dist/chunks/{instruction-discovery-mge70beb.js → file-retention-mwnw36e2.js} +6 -6
- package/dist/chunks/{instruction-discovery-6ahmdr5g.js → file-retention-mydpxcgn.js} +9 -9
- package/dist/chunks/{instruction-discovery-bq407wpz.js → file-retention-mz3kf7qd.js} +44 -44
- package/dist/chunks/{instruction-discovery-45nqx4xx.js → file-retention-n3j33rb6.js} +4 -4
- package/dist/chunks/{instruction-discovery-hgf1wwv3.js → file-retention-n8pvpwzy.js} +11 -11
- package/dist/chunks/{instruction-discovery-xxschbft.js → file-retention-nad3qcx8.js} +7 -7
- package/dist/chunks/{instruction-discovery-3by6mha1.js → file-retention-ng20w319.js} +18 -18
- package/dist/chunks/{instruction-discovery-mrzz8s7h.js → file-retention-nm246k4b.js} +31 -31
- package/dist/chunks/{instruction-discovery-45a2j779.js → file-retention-ntzjwv6t.js} +37 -37
- package/dist/chunks/{instruction-discovery-wa5jqpkn.js → file-retention-nx4mdkkp.js} +11 -11
- package/dist/chunks/{instruction-discovery-ck42qxzz.js → file-retention-p06kgngc.js} +14 -14
- package/dist/chunks/{instruction-discovery-fwjbabb2.js → file-retention-p2p83fhz.js} +9 -9
- package/dist/chunks/{instruction-discovery-sh1vctrz.js → file-retention-p8nn0xd4.js} +3 -3
- package/dist/chunks/{instruction-discovery-rzba8b35.js → file-retention-p9eyzste.js} +5 -5
- package/dist/chunks/{instruction-discovery-s51rk2n1.js → file-retention-p9j2z5m0.js} +4 -4
- package/dist/chunks/{instruction-discovery-k3g9bhk6.js → file-retention-pkks4ccs.js} +20 -20
- package/dist/chunks/{instruction-discovery-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-ppzye4tc.js → file-retention-ppjhkp0t.js} +22 -22
- package/dist/chunks/{instruction-discovery-8k8vqbkb.js → file-retention-prq49vex.js} +11 -11
- package/dist/chunks/{instruction-discovery-38ebz7bx.js → file-retention-ptbvxvsc.js} +23 -23
- package/dist/chunks/{instruction-discovery-hbtbm6gc.js → file-retention-pxetjdyf.js} +34 -34
- package/dist/chunks/{instruction-discovery-5wymkgse.js → file-retention-pzy821ss.js} +17 -17
- package/dist/chunks/{instruction-discovery-q42tzrxa.js → file-retention-q42tzrxa.js} +1 -1
- package/dist/chunks/{instruction-discovery-6cqkw5v2.js → file-retention-q6a7h9km.js} +7 -7
- package/dist/chunks/{instruction-discovery-wprpberk.js → file-retention-q7mj2rrj.js} +25 -25
- package/dist/chunks/{instruction-discovery-qp7r0hxv.js → file-retention-qp7r0hxv.js} +1 -1
- package/dist/chunks/{instruction-discovery-w87p3bvv.js → file-retention-qrnem0ta.js} +28 -28
- package/dist/chunks/{instruction-discovery-tceawxew.js → file-retention-qxejr2tq.js} +11 -11
- package/dist/chunks/{instruction-discovery-4f25tdd0.js → file-retention-r542h3bh.js} +5 -5
- package/dist/chunks/{instruction-discovery-dc403p35.js → file-retention-r65pqp2z.js} +21 -21
- package/dist/chunks/{instruction-discovery-nq91b848.js → file-retention-r6v2fhzz.js} +10 -10
- package/dist/chunks/{instruction-discovery-rb9dy4dg.js → file-retention-rb9dy4dg.js} +1 -1
- package/dist/chunks/{instruction-discovery-7t1wcste.js → file-retention-rdf28bwj.js} +79 -50
- package/dist/chunks/{instruction-discovery-vzba0y0m.js → file-retention-reqkdp97.js} +23 -23
- package/dist/chunks/{instruction-discovery-rgc9cx3e.js → file-retention-rgc9cx3e.js} +2 -2
- package/dist/chunks/{instruction-discovery-fw5v6aya.js → file-retention-rh5js60t.js} +16 -16
- package/dist/chunks/{instruction-discovery-rj7jtxy8.js → file-retention-rj7jtxy8.js} +3 -3
- package/dist/chunks/{instruction-discovery-xwb75rjn.js → file-retention-rs3b9ywk.js} +27 -27
- package/dist/chunks/{instruction-discovery-rt5dr6hb.js → file-retention-rt5dr6hb.js} +1 -1
- package/dist/chunks/{instruction-discovery-rkss24s3.js → file-retention-rz0ah06v.js} +6 -6
- package/dist/chunks/{instruction-discovery-38aws4xb.js → file-retention-rzg6y5rp.js} +4 -4
- package/dist/chunks/{instruction-discovery-jkdcm5hg.js → file-retention-s26c8eb5.js} +4 -4
- package/dist/chunks/{instruction-discovery-tppacz0p.js → file-retention-s3m11dxy.js} +15 -15
- package/dist/chunks/{instruction-discovery-8zjkm0at.js → file-retention-s6yrjw80.js} +43 -43
- package/dist/chunks/{instruction-discovery-sbya78hr.js → file-retention-sbya78hr.js} +1 -1
- package/dist/chunks/{instruction-discovery-qa8wq1bx.js → file-retention-scn5v30h.js} +9 -9
- package/dist/chunks/{instruction-discovery-y4z3prv2.js → file-retention-scz6edve.js} +16 -16
- package/dist/chunks/{instruction-discovery-xm43y1n1.js → file-retention-sddgrs9h.js} +41 -41
- package/dist/chunks/{instruction-discovery-cg3fcpn4.js → file-retention-sq4s6wq1.js} +6 -6
- package/dist/chunks/{instruction-discovery-8k1b2kbc.js → file-retention-sr8k1zr2.js} +5 -5
- package/dist/chunks/{instruction-discovery-8f5znwjq.js → file-retention-srr3d3tf.js} +17 -17
- package/dist/chunks/{instruction-discovery-kp8agc27.js → file-retention-stqs64fv.js} +40 -40
- package/dist/chunks/{instruction-discovery-svcy3p9a.js → file-retention-svcy3p9a.js} +1 -1
- package/dist/chunks/{instruction-discovery-m1a9cv8b.js → file-retention-sxawesdv.js} +21 -21
- package/dist/chunks/{instruction-discovery-6xfxs9wt.js → file-retention-sxqh7f09.js} +3 -3
- package/dist/chunks/{instruction-discovery-y8x56kgy.js → file-retention-sz4vf8k7.js} +28 -28
- package/dist/chunks/{instruction-discovery-kkx9edz0.js → file-retention-t16h1dw6.js} +5 -5
- package/dist/chunks/{instruction-discovery-s2qbnkbr.js → file-retention-t2jp7rtp.js} +4 -4
- package/dist/chunks/{instruction-discovery-js360skg.js → file-retention-t5e1vn0t.js} +12 -12
- package/dist/chunks/file-retention-t702817v.js +63 -0
- package/dist/chunks/{instruction-discovery-5evp2eyr.js → file-retention-tamy641b.js} +7 -7
- package/dist/chunks/{instruction-discovery-tbpn7jtk.js → file-retention-tbpn7jtk.js} +1 -1
- package/dist/chunks/{instruction-discovery-tczq8hjw.js → file-retention-tczq8hjw.js} +1 -1
- package/dist/chunks/{instruction-discovery-gxs71cxp.js → file-retention-tg7s7b5t.js} +4 -4
- package/dist/chunks/{instruction-discovery-2q78srga.js → file-retention-tkp26qc3.js} +17 -17
- package/dist/chunks/{instruction-discovery-g4txs7zc.js → file-retention-tp1jb13k.js} +7 -7
- package/dist/chunks/{instruction-discovery-2898qs3z.js → file-retention-tr00xmye.js} +11 -11
- package/dist/chunks/{instruction-discovery-tvtps2q9.js → file-retention-tvtps2q9.js} +1 -1
- package/dist/chunks/{instruction-discovery-71jgy235.js → file-retention-tw1x107z.js} +5 -5
- package/dist/chunks/{instruction-discovery-jxd6f16v.js → file-retention-twhtcdx9.js} +4 -4
- package/dist/chunks/{instruction-discovery-twssxy5n.js → file-retention-twssxy5n.js} +2 -2
- package/dist/chunks/{instruction-discovery-v2r1d0zg.js → file-retention-v2r1d0zg.js} +1 -1
- package/dist/chunks/{instruction-discovery-w8yavv78.js → file-retention-vde2qr54.js} +4 -4
- package/dist/chunks/{instruction-discovery-vjf35v1f.js → file-retention-vjf35v1f.js} +1 -1
- package/dist/chunks/{instruction-discovery-2fvrv2dh.js → file-retention-vk5e8r28.js} +45 -45
- package/dist/chunks/{instruction-discovery-nx1vpfa3.js → file-retention-vp7d9g79.js} +18 -18
- package/dist/chunks/{instruction-discovery-ctmpqb7w.js → file-retention-vq0qa3sh.js} +9 -9
- package/dist/chunks/{instruction-discovery-ncmpkv8w.js → file-retention-w0tdj5cr.js} +20 -20
- package/dist/chunks/{instruction-discovery-7bvxhdvg.js → file-retention-w18hgg2d.js} +9 -9
- package/dist/chunks/{instruction-discovery-5enarcya.js → file-retention-w2eysc6j.js} +6 -6
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-kmekj7m2.js → file-retention-w4xw9ac5.js} +4 -4
- package/dist/chunks/{instruction-discovery-jpg8zcfk.js → file-retention-wa6s0ez2.js} +2 -2
- package/dist/chunks/{instruction-discovery-wakvkjy4.js → file-retention-wakvkjy4.js} +1 -1
- package/dist/chunks/{instruction-discovery-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-wegkxhrn.js → file-retention-wegkxhrn.js} +2 -2
- package/dist/chunks/{instruction-discovery-wfdx5ztx.js → file-retention-wfdx5ztx.js} +1 -1
- package/dist/chunks/{instruction-discovery-4jbr7150.js → file-retention-wjts407w.js} +36 -36
- package/dist/chunks/{instruction-discovery-yp2c7qyq.js → file-retention-wksqf360.js} +6 -6
- package/dist/chunks/{instruction-discovery-k0cpattz.js → file-retention-wqjs5pht.js} +8 -8
- package/dist/chunks/{instruction-discovery-wr3re1en.js → file-retention-wr3re1en.js} +1 -1
- package/dist/chunks/{instruction-discovery-65s9w0ba.js → file-retention-wxdcyhh4.js} +29 -29
- package/dist/chunks/{instruction-discovery-sj4dkmm8.js → file-retention-x0epf1q7.js} +8 -8
- package/dist/chunks/{instruction-discovery-9dqxst5z.js → file-retention-x6cj2m5r.js} +4 -4
- package/dist/chunks/{instruction-discovery-a85bkmsn.js → file-retention-x8w129ft.js} +10 -10
- package/dist/chunks/{instruction-discovery-8e35k2dv.js → file-retention-x9js1xgv.js} +14 -14
- package/dist/chunks/{instruction-discovery-c2je6y50.js → file-retention-xc7hst99.js} +21 -21
- package/dist/chunks/{instruction-discovery-ax3devvw.js → file-retention-xpccsfks.js} +2 -2
- package/dist/chunks/{instruction-discovery-n320gsn2.js → file-retention-xvn8mnch.js} +4 -4
- package/dist/chunks/{instruction-discovery-awx72zq7.js → file-retention-xw8brf9j.js} +20 -20
- package/dist/chunks/{instruction-discovery-qwg91r6f.js → file-retention-xx767whj.js} +49 -49
- package/dist/chunks/{instruction-discovery-1vkak1f2.js → file-retention-y3019neg.js} +17 -17
- package/dist/chunks/{instruction-discovery-znv1hwjk.js → file-retention-y5c52r2e.js} +32 -32
- package/dist/chunks/{instruction-discovery-mbyymhsd.js → file-retention-y5pgrr0z.js} +8 -8
- package/dist/chunks/{instruction-discovery-a2h73pm3.js → file-retention-y6daexrx.js} +7 -7
- package/dist/chunks/{instruction-discovery-j0vpes8p.js → file-retention-y9ww16zv.js} +12 -12
- package/dist/chunks/{instruction-discovery-yb20nhc3.js → file-retention-yb20nhc3.js} +1 -1
- package/dist/chunks/{instruction-discovery-3fbvy841.js → file-retention-ybfry77y.js} +46 -46
- package/dist/chunks/{instruction-discovery-aqczazaa.js → file-retention-yc9fq4e8.js} +4 -4
- package/dist/chunks/{instruction-discovery-k5xaj77z.js → file-retention-ycbwr1g8.js} +15 -15
- package/dist/chunks/{instruction-discovery-yv3vk3c7.js → file-retention-ydsyqk66.js} +15 -15
- package/dist/chunks/{instruction-discovery-qxnmxsad.js → file-retention-ykwpwmwk.js} +16 -16
- package/dist/chunks/{instruction-discovery-yr705xyq.js → file-retention-yr705xyq.js} +1 -1
- package/dist/chunks/{instruction-discovery-bcbg5853.js → file-retention-yr9fzrcg.js} +11 -11
- package/dist/chunks/{instruction-discovery-xksw6ev0.js → file-retention-yts2a8qm.js} +4 -4
- package/dist/chunks/{instruction-discovery-a936ysns.js → file-retention-yvh06wfw.js} +30 -30
- package/dist/chunks/{instruction-discovery-yvtc2x31.js → file-retention-yvtc2x31.js} +1 -1
- package/dist/chunks/{instruction-discovery-0n720z3p.js → file-retention-yy1xpgfn.js} +3 -3
- package/dist/chunks/{instruction-discovery-npdj87z7.js → file-retention-z5khxxz4.js} +43 -43
- package/dist/chunks/{instruction-discovery-r7r55277.js → file-retention-z6g4szpb.js} +4 -4
- package/dist/chunks/{instruction-discovery-ze75qvmd.js → file-retention-ze75qvmd.js} +3 -3
- package/dist/chunks/{instruction-discovery-4yntqjxm.js → file-retention-zqa3fvkz.js} +25 -25
- package/dist/chunks/{instruction-discovery-xhkb6x72.js → file-retention-zsnv2c73.js} +10 -10
- package/dist/chunks/{instruction-discovery-q84v8ast.js → file-retention-zt2z3e0p.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +88 -88
- 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 +131 -131
- package/dist/config/plugin/command.js +236 -236
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +132 -132
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +154 -154
- 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 +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +131 -131
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/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 +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- 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 +253 -253
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +133 -133
- package/dist/form.js +87 -87
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- 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 +106 -106
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +432 -432
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +96 -96
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +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 +120 -120
- package/dist/mcp/instructions.js +187 -187
- 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 +104 -104
- 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 +117 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +152 -152
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +93 -93
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +410 -410
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +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 +5 -5
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +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 +1 -1
- package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +112 -112
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +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 +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +239 -239
- package/dist/plugin/sdk.js +89 -89
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +420 -420
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +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 +5 -5
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- 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 +99 -99
- 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 +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +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 +247 -247
- package/dist/session/execution.js +167 -167
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +144 -144
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +146 -146
- package/dist/session/message-updater.js +2 -2
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +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 +5 -5
- package/dist/session/session.js +186 -186
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +233 -233
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +244 -244
- package/dist/session/usage.js +3 -3
- package/dist/session.js +241 -241
- 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 +11 -11
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +157 -157
- package/dist/snapshot.js +104 -104
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +186 -186
- 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 +241 -241
- package/dist/tool/plugin/skill.js +160 -160
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +156 -156
- package/dist/tool/plugin/write.js +169 -169
- package/dist/tool/read-filesystem.js +116 -116
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +163 -163
- package/dist/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 +1 -1
- 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 +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +95 -95
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-a610t88q.js +0 -18
- package/dist/chunks/instruction-discovery-gp9b5t1t.js +0 -273
- package/dist/chunks/instruction-discovery-s1hdwwky.js +0 -63
- 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 → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-108x4f4w.js → file-retention-108x4f4w.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kah00gy.js → file-retention-1kah00gy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3af0jn4w.js → file-retention-3af0jn4w.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4qk9sjk2.js → file-retention-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-5w3e23ze.js → file-retention-5w3e23ze.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6agm2x70.js → file-retention-6agm2x70.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-beh6qq61.js → file-retention-beh6qq61.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bhmrqjy3.js → file-retention-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cqv5kn06.js → file-retention-cqv5kn06.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ean2d8b5.js → file-retention-ean2d8b5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fkpq3x5p.js → file-retention-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwr30sdr.js → file-retention-jwr30sdr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-m18g726c.js → file-retention-m18g726c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-nh4v3znn.js → file-retention-nh4v3znn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-p71gwv9c.js → file-retention-p71gwv9c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-syrav9an.js → file-retention-syrav9an.js} +0 -0
- /package/dist/chunks/{instruction-discovery-t03h4f5z.js → file-retention-t03h4f5z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ty7weeps.js → file-retention-ty7weeps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-vtarvj67.js → file-retention-vtarvj67.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x4th4bpe.js → file-retention-x4th4bpe.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z0h12gs8.js → file-retention-z0h12gs8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-zxpyjp51.js → file-retention-zxpyjp51.js} +0 -0
- /package/dist/chunks/{instruction-discovery-zz5vv3aq.js → file-retention-zz5vv3aq.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-r6v2fhzz.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service85
|
|
7
|
+
} from "./file-retention-kdw9060a.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID17,
|
|
10
10
|
MethodID2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service84
|
|
12
|
+
} from "./file-retention-m4db2ssm.js";
|
|
13
13
|
import {
|
|
14
14
|
success2,
|
|
15
15
|
error2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-yb20nhc3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
ID16
|
|
19
|
+
} from "./file-retention-9qffqtsn.js";
|
|
20
20
|
import {
|
|
21
21
|
configuredSettings2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-retention-k0tm75mb.js";
|
|
23
23
|
import {
|
|
24
24
|
onSwitch2,
|
|
25
25
|
reloadIfChanged2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-retention-cf21gzb8.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID16.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID17.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service85;
|
|
57
|
+
const integrations = yield* Service84;
|
|
58
58
|
const configured = yield* configuredSettings2(providerID);
|
|
59
59
|
const account = { value: "" };
|
|
60
60
|
const saved = Effect.gen(function* () {
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-x6cj2m5r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service47
|
|
6
|
+
} from "./file-retention-sq4s6wq1.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-ev660z6k.js";
|
|
10
10
|
import {
|
|
11
11
|
preview2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-x8w129ft.js";
|
|
13
13
|
import {
|
|
14
14
|
retry2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-2fc7eemy.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-c4fqyyzh.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service29
|
|
21
|
+
} from "./file-retention-h5ncs4da.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate = {};
|
|
28
|
+
__export(exports_generate, {
|
|
29
|
+
SessionGenerate: () => exports_generate,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai/effect";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service47;
|
|
36
36
|
const database = yield* Service94;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service29;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-bd4geh6z.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,7 +12,7 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event20,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
@@ -22,18 +22,18 @@ __export(exports_form, {
|
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError13,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service86,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When3,
|
|
28
28
|
layer: () => layer29,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node87,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event20 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
38
|
var ID19 = Form.ID;
|
|
39
39
|
var Info28 = Form.Info;
|
|
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service86 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer29 = Layer.effect(
|
|
84
|
+
var layer29 = Layer.effect(Service86, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service93;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
@@ -162,9 +162,9 @@ var layer29 = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service86.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node87 = makeLocationNode({ service: Service86, layer: layer29, deps: [node95] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export { ID19, Info28, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError13, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2,
|
|
319
|
+
export { ID19, Info28, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError13, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service86, layer29, node87, validateAnswer2, validateFields2, exports_form, Event20 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/claude-agent/sync/record.ts
|
|
6
6
|
var exports_record = {};
|
|
7
7
|
__export(exports_record, {
|
|
8
8
|
SessionRecord: () => exports_record,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make9
|
|
10
10
|
});
|
|
11
11
|
import { Effect, Option, Schema } from "effect";
|
|
12
12
|
var Checkpoint = Schema.Struct({ hash: Schema.String, claudeMessageID: Schema.optional(Schema.String) });
|
|
@@ -15,7 +15,7 @@ var Record = Schema.Struct({
|
|
|
15
15
|
history: Schema.optional(Schema.Array(Checkpoint)),
|
|
16
16
|
interrupted: Schema.optional(Schema.Boolean)
|
|
17
17
|
});
|
|
18
|
-
function
|
|
18
|
+
function make9(storage) {
|
|
19
19
|
return {
|
|
20
20
|
get: Effect.fn("SessionRecord.get")(function* (sessionID) {
|
|
21
21
|
const saved = Schema.decodeUnknownOption(Record)(yield* storage.get(`sessions/${sessionID}`));
|
|
@@ -25,4 +25,4 @@ function make6(storage) {
|
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
export {
|
|
28
|
+
export { make9, exports_record };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-0ma9gw4f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node83
|
|
8
|
+
} from "./file-retention-sz4vf8k7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service55,
|
|
11
|
+
node56
|
|
12
|
+
} from "./file-retention-csqnxa1q.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-2fc7eemy.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
23
|
-
Generate: () =>
|
|
21
|
+
var exports_generate2 = {};
|
|
22
|
+
__export(exports_generate2, {
|
|
23
|
+
Generate: () => exports_generate2,
|
|
24
24
|
InvalidRequestError: () => InvalidRequestError3,
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
29
|
-
UnavailableError: () =>
|
|
28
|
+
Service: () => Service54,
|
|
29
|
+
UnavailableError: () => UnavailableError5,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
|
-
layer: () =>
|
|
32
|
-
node: () =>
|
|
31
|
+
layer: () => layer22,
|
|
32
|
+
node: () => node55
|
|
33
33
|
});
|
|
34
34
|
import { ai, DecisionClient, ImageClient, LLMClient, Media } from "@opencode/ai/effect";
|
|
35
35
|
import { Money } from "@opencode/schema/money";
|
|
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
|
|
|
37
37
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
38
38
|
import { RequestExecutor } from "@opencode/ai/route";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError5 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
service: Schema.optional(Schema.String)
|
|
43
43
|
}) {
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service54 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var layer22 = Layer.effect(Service54, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service55;
|
|
89
|
+
const models = yield* Service82;
|
|
90
90
|
const executor = yield* RequestExecutor.Service;
|
|
91
91
|
const images = yield* ImageClient.Service;
|
|
92
92
|
const decisionClient = yield* DecisionClient.Service;
|
|
@@ -98,11 +98,11 @@ var layer11 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
98
98
|
"SessionRunnerModel.ModelInitializationError",
|
|
99
99
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
100
100
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
101
|
-
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new
|
|
101
|
+
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError5({ message: error.message, service: error.providerID }))));
|
|
102
102
|
if (!resolved && input.model)
|
|
103
103
|
return yield* missing(input.model, "chat");
|
|
104
104
|
if (!resolved)
|
|
105
|
-
return yield* new
|
|
105
|
+
return yield* new UnavailableError5({ message: "No model specified and no supported model is available" });
|
|
106
106
|
const response = yield* llm.generate(ai.request({
|
|
107
107
|
model: resolved.model,
|
|
108
108
|
prompt: input.prompt,
|
|
@@ -162,8 +162,8 @@ var layer11 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
162
162
|
...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
|
|
163
163
|
};
|
|
164
164
|
});
|
|
165
|
-
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
166
|
-
return
|
|
165
|
+
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError5({ message: "Generation credentials are unavailable" })));
|
|
166
|
+
return Service54.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
|
|
|
215
215
|
return "overloaded";
|
|
216
216
|
return "provider";
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
service:
|
|
220
|
-
layer:
|
|
221
|
-
deps: [
|
|
218
|
+
var node55 = makeLocationNode({
|
|
219
|
+
service: Service54,
|
|
220
|
+
layer: layer22,
|
|
221
|
+
deps: [node56, node83, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { UnavailableError5, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service54, layer22, node55, exports_generate2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-ahenw0f4.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-d4v9tmah.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-r6v2fhzz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID18,
|
|
6
|
+
Service85
|
|
7
|
+
} from "./file-retention-kdw9060a.js";
|
|
8
8
|
import {
|
|
9
9
|
key3
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-xvn8mnch.js";
|
|
11
11
|
import {
|
|
12
12
|
MethodID2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-m4db2ssm.js";
|
|
14
14
|
import {
|
|
15
15
|
which2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-x4th4bpe.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
ID16,
|
|
19
|
+
Service83
|
|
20
|
+
} from "./file-retention-9qffqtsn.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID15
|
|
23
|
+
} from "./file-retention-sz4vf8k7.js";
|
|
24
24
|
import {
|
|
25
25
|
interval2,
|
|
26
|
-
|
|
26
|
+
Service68,
|
|
27
27
|
fingerprint2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-retention-adjee44k.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-retention-k0tm75mb.js";
|
|
32
32
|
import {
|
|
33
33
|
onSwitch2,
|
|
34
34
|
switched2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./file-retention-cf21gzb8.js";
|
|
36
36
|
import {
|
|
37
37
|
activeCredential2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./file-retention-mwnw36e2.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/azure.ts
|
|
41
41
|
import { Clock, Effect, Equal, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -70,18 +70,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
70
70
|
}));
|
|
71
71
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
72
72
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
73
|
-
function
|
|
73
|
+
function make21(endpoints = {
|
|
74
74
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
75
75
|
management: "https://management.azure.com"
|
|
76
76
|
}) {
|
|
77
77
|
return define({
|
|
78
78
|
id: "opencode.provider.azure",
|
|
79
79
|
effect: Effect.fn(function* (ctx) {
|
|
80
|
-
const configured = yield* configuredSettings2(
|
|
80
|
+
const configured = yield* configuredSettings2(ID16.azure);
|
|
81
81
|
const processes = yield* AppProcess.Service;
|
|
82
|
-
const credentials = yield*
|
|
83
|
-
const providers = yield*
|
|
84
|
-
const cache = yield*
|
|
82
|
+
const credentials = yield* Service85;
|
|
83
|
+
const providers = yield* Service83;
|
|
84
|
+
const cache = yield* Service68;
|
|
85
85
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
86
86
|
const tokens = new Map;
|
|
87
87
|
const resourceIDs = new Map;
|
|
@@ -107,11 +107,11 @@ function make16(endpoints = {
|
|
|
107
107
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
108
108
|
yield* ctx.integration.transform((editor) => {
|
|
109
109
|
editor.method.update({
|
|
110
|
-
integrationID:
|
|
110
|
+
integrationID: ID16.azure,
|
|
111
111
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
112
112
|
});
|
|
113
113
|
editor.method.update({
|
|
114
|
-
integrationID:
|
|
114
|
+
integrationID: ID16.azure,
|
|
115
115
|
method: {
|
|
116
116
|
type: "key",
|
|
117
117
|
label: "API key",
|
|
@@ -129,7 +129,7 @@ function make16(endpoints = {
|
|
|
129
129
|
if (!available)
|
|
130
130
|
return;
|
|
131
131
|
editor.method.update({
|
|
132
|
-
integrationID:
|
|
132
|
+
integrationID: ID16.azure,
|
|
133
133
|
method: {
|
|
134
134
|
id: methodID,
|
|
135
135
|
type: "external",
|
|
@@ -149,8 +149,8 @@ function make16(endpoints = {
|
|
|
149
149
|
});
|
|
150
150
|
});
|
|
151
151
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
152
|
-
const connection = yield* ctx.integration.connection.active(
|
|
153
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
152
|
+
const connection = yield* ctx.integration.connection.active(ID16.azure);
|
|
153
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
|
|
154
154
|
return { connection, resource: credentialResource(stored?.value) };
|
|
155
155
|
});
|
|
156
156
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -189,7 +189,7 @@ function make16(endpoints = {
|
|
|
189
189
|
}));
|
|
190
190
|
const discover = Effect.fn("AzurePlugin.discover")(function* (options) {
|
|
191
191
|
const connection = loaded.connection;
|
|
192
|
-
const settings = (yield* providers.get(
|
|
192
|
+
const settings = (yield* providers.get(ID16.azure))?.settings;
|
|
193
193
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
194
194
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
195
195
|
if (loaded.connection !== connection)
|
|
@@ -219,11 +219,11 @@ function make16(endpoints = {
|
|
|
219
219
|
});
|
|
220
220
|
const apply = (next) => next ? loading.withPermit(publish(next.connection, next.found)).pipe(Effect.uninterruptible) : Effect.void;
|
|
221
221
|
const publish = Effect.fn("AzurePlugin.publish")(function* (connection, found) {
|
|
222
|
-
if (loaded.connection !== connection || key3(connection) !== key3(yield* ctx.integration.connection.active(
|
|
222
|
+
if (loaded.connection !== connection || key3(connection) !== key3(yield* ctx.integration.connection.active(ID16.azure)))
|
|
223
223
|
return;
|
|
224
224
|
if (Equal.equals(found, loaded.deployments))
|
|
225
225
|
return;
|
|
226
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
226
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID16.azure)?.models.keys() ?? [], (id) => [
|
|
227
227
|
id.toLowerCase(),
|
|
228
228
|
id
|
|
229
229
|
]));
|
|
@@ -236,7 +236,7 @@ function make16(endpoints = {
|
|
|
236
236
|
yield* ctx.model.reload();
|
|
237
237
|
});
|
|
238
238
|
const refresh = discover({}).pipe(Effect.flatMap(apply));
|
|
239
|
-
const resourceFor = (provider) => provider.id ===
|
|
239
|
+
const resourceFor = (provider) => provider.id === ID16.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
240
240
|
Object.assign(loaded, yield* load());
|
|
241
241
|
yield* ctx.provider.transform((evt) => {
|
|
242
242
|
for (const item of evt.list()) {
|
|
@@ -255,7 +255,7 @@ function make16(endpoints = {
|
|
|
255
255
|
};
|
|
256
256
|
});
|
|
257
257
|
}
|
|
258
|
-
const item = evt.get(
|
|
258
|
+
const item = evt.get(ID16.azure);
|
|
259
259
|
if (!item)
|
|
260
260
|
return;
|
|
261
261
|
evt.add({
|
|
@@ -285,21 +285,21 @@ function make16(endpoints = {
|
|
|
285
285
|
}
|
|
286
286
|
if (!loaded.deployments)
|
|
287
287
|
return;
|
|
288
|
-
const catalog = models.list(
|
|
288
|
+
const catalog = models.list(ID16.azure);
|
|
289
289
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
290
290
|
for (const model of catalog) {
|
|
291
291
|
if (!deployed.has(model.id))
|
|
292
|
-
models.remove(
|
|
292
|
+
models.remove(ID16.azure, model.id);
|
|
293
293
|
}
|
|
294
294
|
for (const [id, model] of deployed) {
|
|
295
|
-
models.update(
|
|
295
|
+
models.update(ID16.azure, id, (draft) => Object.assign(draft, model));
|
|
296
296
|
}
|
|
297
297
|
});
|
|
298
298
|
yield* onSwitch2("azure", rebind().pipe(Effect.andThen(FiberHandle.run(discovery, switched2(discover, apply)))));
|
|
299
299
|
yield* rebind().pipe(Effect.andThen(FiberHandle.run(discovery, refresh)), Effect.forkScoped);
|
|
300
300
|
yield* Effect.sleep(interval2).pipe(Effect.andThen(FiberHandle.run(discovery, refresh, { onlyIfMissing: true })), Effect.forever, Effect.forkScoped);
|
|
301
301
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
302
|
-
const { credential } = yield* activeCredential2(ctx,
|
|
302
|
+
const { credential } = yield* activeCredential2(ctx, ID16.azure);
|
|
303
303
|
if (credential?.type !== "external" || credential.methodID !== methodID)
|
|
304
304
|
return;
|
|
305
305
|
const target = new URL(url);
|
|
@@ -315,7 +315,7 @@ function make16(endpoints = {
|
|
|
315
315
|
evt.request.headers.delete("x-api-key");
|
|
316
316
|
evt.request.headers.set("authorization", authorization);
|
|
317
317
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
318
|
-
}), { providerID:
|
|
318
|
+
}), { providerID: ID16.azure });
|
|
319
319
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
320
320
|
const authorization = yield* bearer(evt.url);
|
|
321
321
|
if (!authorization)
|
|
@@ -324,11 +324,11 @@ function make16(endpoints = {
|
|
|
324
324
|
delete evt.headers["x-api-key"];
|
|
325
325
|
evt.headers.authorization = authorization;
|
|
326
326
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
327
|
-
}), { providerID:
|
|
327
|
+
}), { providerID: ID16.azure });
|
|
328
328
|
})
|
|
329
329
|
});
|
|
330
330
|
}
|
|
331
|
-
var AzurePlugin2 =
|
|
331
|
+
var AzurePlugin2 = make21();
|
|
332
332
|
function deploymentsKey(connection, credential, url) {
|
|
333
333
|
const access = credential.type === "key" ? `:${fingerprint2(credential.key)}` : "";
|
|
334
334
|
return `azure:${key3(connection)}${access}:${url}`;
|
|
@@ -343,7 +343,7 @@ function expandResourceName(baseURL, resourceName) {
|
|
|
343
343
|
return baseURL.replaceAll("${AZURE_RESOURCE_NAME}", resourceName).replaceAll("${AZURE_COGNITIVE_SERVICES_RESOURCE_NAME}", resourceName);
|
|
344
344
|
}
|
|
345
345
|
function azureProvider(provider) {
|
|
346
|
-
return provider.id ===
|
|
346
|
+
return provider.id === ID16.azure || provider.package.startsWith("@opencode/ai/providers/azure/");
|
|
347
347
|
}
|
|
348
348
|
function usable(credential) {
|
|
349
349
|
return credential?.type === "key" || credential?.type === "external" && credential.methodID === methodID;
|
|
@@ -368,11 +368,11 @@ function deployedModels(deployments, catalog) {
|
|
|
368
368
|
const model = catalogModel(models, deployment);
|
|
369
369
|
if (!model)
|
|
370
370
|
return [];
|
|
371
|
-
const id =
|
|
371
|
+
const id = ID15.make(deployment.name.toLowerCase());
|
|
372
372
|
const info = {
|
|
373
373
|
...structuredClone(model),
|
|
374
374
|
id,
|
|
375
|
-
modelID:
|
|
375
|
+
modelID: ID15.make(deployment.name),
|
|
376
376
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
377
377
|
};
|
|
378
378
|
return [[id, info]];
|
|
@@ -394,4 +394,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
394
394
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
-
export {
|
|
397
|
+
export { make21, AzurePlugin2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks2 = {};
|
|
7
7
|
__export(exports_hooks2, {
|
|
8
8
|
PluginHooks: () => exports_hooks2,
|
|
9
9
|
Service: () => Service75,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node76
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -56,6 +56,6 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
57
|
return Service75.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node76 = makeLocationNode({ service: Service75, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export { Service75,
|
|
61
|
+
export { Service75, node76, exports_hooks2 };
|