@opencode/core 0.0.0-dev-1042 → 0.0.0-dev-1063
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 +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +11 -11
- package/dist/artifact.js +241 -241
- package/dist/bus.js +80 -80
- package/dist/chunks/model-retry-00ve6mdn.js +18 -0
- package/dist/chunks/{bus-94e33dpz.js → model-retry-04qc8z7j.js} +3 -3
- package/dist/chunks/{bus-h51tqxww.js → model-retry-073yw6wc.js} +374 -374
- package/dist/chunks/{bus-p3wvg938.js → model-retry-0ab3knej.js} +12 -12
- package/dist/chunks/{bus-nyc4jwvb.js → model-retry-0c7bpw4e.js} +4 -4
- package/dist/chunks/{bus-sqjzf8x2.js → model-retry-0j7gp832.js} +4 -4
- package/dist/chunks/{bus-n8zbz3r6.js → model-retry-0jzm810r.js} +35 -35
- package/dist/chunks/{bus-151fqda0.js → model-retry-0m9mnr46.js} +28 -28
- package/dist/chunks/{bus-0ma9gw4f.js → model-retry-0ma9gw4f.js} +2 -2
- package/dist/chunks/{bus-4zcepfyr.js → model-retry-0mgprbja.js} +4 -4
- package/dist/chunks/{bus-0em17d49.js → model-retry-0wqvtycd.js} +6 -6
- package/dist/chunks/{bus-d95zeqcs.js → model-retry-0x3qq8ad.js} +34 -34
- package/dist/chunks/{bus-d61yjsrc.js → model-retry-0z5xst4r.js} +24 -24
- package/dist/chunks/{bus-56p6knmh.js → model-retry-10bttd1c.js} +18 -18
- package/dist/chunks/{bus-cdbp2khs.js → model-retry-12yrhvkt.js} +11 -11
- package/dist/chunks/{bus-nd6558ke.js → model-retry-18fchrwq.js} +30 -30
- package/dist/chunks/{bus-6wq2d2af.js → model-retry-19avat12.js} +30 -30
- package/dist/chunks/{bus-1aqsckx4.js → model-retry-1aqsckx4.js} +1 -1
- package/dist/chunks/{bus-198m81bp.js → model-retry-1cect6gc.js} +29 -29
- package/dist/chunks/{bus-ng6a0rc6.js → model-retry-1gpv500n.js} +26 -26
- package/dist/chunks/{bus-7j9nqbx0.js → model-retry-1j97zecb.js} +32 -32
- package/dist/chunks/{bus-r32r7z8r.js → model-retry-1tz2kwyc.js} +6 -6
- package/dist/chunks/{bus-4ccyxzpx.js → model-retry-1wtrt63p.js} +15 -15
- package/dist/chunks/{bus-gvvef5k8.js → model-retry-1wyx1g33.js} +12 -12
- package/dist/chunks/{bus-1x2knyw4.js → model-retry-1x2knyw4.js} +1 -1
- package/dist/chunks/{bus-1yq9hg58.js → model-retry-1yq9hg58.js} +1 -1
- package/dist/chunks/{bus-x666adrx.js → model-retry-224tp79f.js} +10 -10
- package/dist/chunks/{bus-rj7j5fvs.js → model-retry-229tvxdn.js} +4 -4
- package/dist/chunks/{bus-r7xar5ns.js → model-retry-233argac.js} +8 -8
- package/dist/chunks/{bus-tb2mrvc9.js → model-retry-26wfx3k0.js} +4 -4
- package/dist/chunks/{bus-27w5k9zf.js → model-retry-27w5k9zf.js} +2 -2
- package/dist/chunks/{bus-kzdam8c6.js → model-retry-2bswbpgz.js} +7 -7
- package/dist/chunks/{bus-k5yce6v3.js → model-retry-2btjqdw9.js} +13 -13
- package/dist/chunks/{bus-50pah8qy.js → model-retry-2cjfgabw.js} +23 -23
- package/dist/chunks/{bus-2fc7eemy.js → model-retry-2fc7eemy.js} +1 -1
- package/dist/chunks/{bus-2p60zmnr.js → model-retry-2p60zmnr.js} +2 -2
- package/dist/chunks/{bus-ccsg3nm8.js → model-retry-2q020x4j.js} +18 -18
- package/dist/chunks/{bus-xwbhve7h.js → model-retry-2xavcrc6.js} +7 -7
- package/dist/chunks/{bus-m0yma98g.js → model-retry-2y341b5t.js} +5 -5
- package/dist/chunks/{bus-wgvnftve.js → model-retry-3c7qpzd7.js} +8 -8
- package/dist/chunks/{bus-3cbjf1nt.js → model-retry-3cbjf1nt.js} +2 -2
- package/dist/chunks/{bus-3hepkmqq.js → model-retry-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-3nnrz6f6.js → model-retry-3nnrz6f6.js} +1 -1
- package/dist/chunks/{bus-36ysmkbx.js → model-retry-3t0ff0x5.js} +43 -43
- package/dist/chunks/{bus-cftr61h9.js → model-retry-3w00zpq8.js} +86 -86
- package/dist/chunks/{bus-40y6dtc2.js → model-retry-40y6dtc2.js} +1 -1
- package/dist/chunks/model-retry-41hkj30d.js +273 -0
- package/dist/chunks/{bus-44pmzq9c.js → model-retry-44pmzq9c.js} +2 -2
- package/dist/chunks/{bus-rkwzs9pn.js → model-retry-461vpj4m.js} +22 -22
- package/dist/chunks/{bus-801676je.js → model-retry-49astqp4.js} +167 -167
- package/dist/chunks/{bus-4dx1dgte.js → model-retry-4dx1dgte.js} +1 -1
- package/dist/chunks/{bus-4f25tdd0.js → model-retry-4f25tdd0.js} +1 -1
- package/dist/chunks/{bus-t8jzx9s4.js → model-retry-4k2c81k4.js} +8 -8
- package/dist/chunks/{bus-5qtzhdys.js → model-retry-4m67jbdm.js} +14 -14
- package/dist/chunks/{bus-4pyp9zr9.js → model-retry-4pyp9zr9.js} +1 -1
- package/dist/chunks/{bus-y645zrem.js → model-retry-4qbyyyq5.js} +11 -11
- package/dist/chunks/{bus-4v008n1t.js → model-retry-4v008n1t.js} +1 -1
- package/dist/chunks/{bus-dvh91sh2.js → model-retry-4wsjjvd5.js} +9 -9
- package/dist/chunks/{bus-0015kxwm.js → model-retry-4z989wmk.js} +3 -3
- package/dist/chunks/{bus-q5880n4k.js → model-retry-58ng2s68.js} +19 -19
- package/dist/chunks/{bus-2mkcm49b.js → model-retry-590xyfdn.js} +43 -43
- package/dist/chunks/{bus-8x6444sg.js → model-retry-5azf7efg.js} +18 -18
- package/dist/chunks/{bus-32gk5by6.js → model-retry-5bbgghc1.js} +16 -16
- package/dist/chunks/{bus-k8thje4j.js → model-retry-5cr30h4q.js} +8 -8
- package/dist/chunks/{bus-hky59wx7.js → model-retry-5jjvx7xx.js} +18 -18
- package/dist/chunks/{bus-5m9w47nd.js → model-retry-5m9w47nd.js} +1 -1
- package/dist/chunks/{bus-c8cdzs4e.js → model-retry-62064eay.js} +40 -40
- package/dist/chunks/{bus-vzwcg5h4.js → model-retry-622r6tfd.js} +3 -3
- package/dist/chunks/{bus-581b71gv.js → model-retry-64997449.js} +11 -11
- package/dist/chunks/{bus-1wh2zfrk.js → model-retry-6ckxc65a.js} +6 -6
- package/dist/chunks/{bus-f1estfch.js → model-retry-6cspqxjw.js} +17 -17
- package/dist/chunks/{bus-gvjzqshq.js → model-retry-6cyzbmrv.js} +46 -46
- package/dist/chunks/{bus-d45mbdg7.js → model-retry-6rm3fwry.js} +12 -12
- package/dist/chunks/{bus-hdafr18b.js → model-retry-6z91hwt5.js} +6 -6
- package/dist/chunks/{bus-80mg3ag8.js → model-retry-775hqbnd.js} +3 -3
- package/dist/chunks/{bus-2mbrdm9z.js → model-retry-78wx5tja.js} +35 -35
- package/dist/chunks/{bus-q6qcva9p.js → model-retry-7ad9y1ne.js} +22 -22
- package/dist/chunks/{bus-7bmhse3q.js → model-retry-7bmhse3q.js} +1 -1
- package/dist/chunks/model-retry-7cabzjh9.js +201 -0
- package/dist/chunks/{bus-j7vr9qw7.js → model-retry-7jevyppt.js} +3 -3
- package/dist/chunks/{bus-k8yah48n.js → model-retry-7knzxrdv.js} +8 -8
- package/dist/chunks/{bus-hj0xet7m.js → model-retry-7nb8tm12.js} +5 -5
- package/dist/chunks/{bus-z18wgake.js → model-retry-7tgwceks.js} +5 -5
- package/dist/chunks/{bus-7w2ypzdf.js → model-retry-7w2ypzdf.js} +1 -1
- package/dist/chunks/{bus-7weczvnd.js → model-retry-7weczvnd.js} +1 -1
- package/dist/chunks/{bus-tse6wty1.js → model-retry-7x320ssa.js} +8 -8
- package/dist/chunks/{bus-ey7q2a1x.js → model-retry-7yv514tw.js} +7 -7
- package/dist/chunks/{bus-80pdk984.js → model-retry-80pdk984.js} +1 -1
- package/dist/chunks/{bus-x10rxyj2.js → model-retry-82e4q3jm.js} +1 -1
- package/dist/chunks/{bus-85jq8dht.js → model-retry-85jq8dht.js} +1 -1
- package/dist/chunks/{bus-25h84942.js → model-retry-8b3vzgkx.js} +4 -4
- package/dist/chunks/{bus-ebf8vqhv.js → model-retry-8bwrafk7.js} +41 -41
- package/dist/chunks/{bus-rh7s0vh6.js → model-retry-8d82pbhg.js} +19 -19
- package/dist/chunks/{bus-dcxs0b6s.js → model-retry-8f8gk5ce.js} +17 -17
- package/dist/chunks/{bus-av2rnfm3.js → model-retry-8fdmasbt.js} +34 -34
- package/dist/chunks/{bus-0n2a1qk2.js → model-retry-8h105pm2.js} +17 -17
- package/dist/chunks/{bus-mjj4mtkf.js → model-retry-8jzb4pp6.js} +25 -25
- package/dist/chunks/{bus-t9b3vnwe.js → model-retry-8nqscmn3.js} +8 -8
- package/dist/chunks/{bus-yt92m3sf.js → model-retry-8qdr79jy.js} +11 -11
- package/dist/chunks/{bus-8wtp7s3z.js → model-retry-8wtp7s3z.js} +1 -1
- package/dist/chunks/{bus-ep4f328x.js → model-retry-8yz9yxv8.js} +36 -36
- package/dist/chunks/{bus-8z6m94af.js → model-retry-8z6m94af.js} +3 -3
- package/dist/chunks/{bus-8zv0xmg5.js → model-retry-8zv0xmg5.js} +1 -1
- package/dist/chunks/{bus-963hk181.js → model-retry-963hk181.js} +2 -2
- package/dist/chunks/{bus-j98by1g6.js → model-retry-9a186w2s.js} +31 -31
- package/dist/chunks/{bus-w9bwac65.js → model-retry-9amjngmr.js} +27 -27
- package/dist/chunks/{bus-p6camsqx.js → model-retry-9b5pg85y.js} +12 -12
- package/dist/chunks/{bus-h5rm7hp5.js → model-retry-9d7e85zn.js} +18 -18
- package/dist/chunks/{bus-kz3t0brc.js → model-retry-9eeh18t4.js} +8 -8
- package/dist/chunks/{bus-wc7kbwdp.js → model-retry-9g1enhg0.js} +8 -8
- package/dist/chunks/{bus-n2qpmnf7.js → model-retry-9wpdsx26.js} +21 -21
- package/dist/chunks/{bus-ywkrtdyp.js → model-retry-9x6a782r.js} +4 -4
- package/dist/chunks/{bus-5dysszqg.js → model-retry-9xatmekb.js} +25 -25
- package/dist/chunks/{bus-0hm4tbfh.js → model-retry-9zce04t0.js} +18 -18
- package/dist/chunks/{bus-9sk33afj.js → model-retry-a0f8fvmt.js} +2 -2
- package/dist/chunks/{bus-4x5z0db1.js → model-retry-a3ma3nbh.js} +5 -5
- package/dist/chunks/{bus-25hf0acc.js → model-retry-a5zgnkhc.js} +28 -28
- package/dist/chunks/{bus-801bk1qd.js → model-retry-a8s6gz3j.js} +41 -41
- package/dist/chunks/{bus-6y2b864j.js → model-retry-agje4kmn.js} +4 -4
- package/dist/chunks/{bus-aj7mw0zk.js → model-retry-aj7mw0zk.js} +2 -2
- package/dist/chunks/{bus-6nh09x13.js → model-retry-ak2xzpqz.js} +17 -17
- package/dist/chunks/{bus-z080rjh6.js → model-retry-anvcme1c.js} +4 -4
- package/dist/chunks/{bus-zkbhzvnx.js → model-retry-aqczazaa.js} +4 -4
- package/dist/chunks/{bus-qkba2c8n.js → model-retry-avtca5ff.js} +18 -18
- package/dist/chunks/{bus-r2r9xwmr.js → model-retry-ayjza53k.js} +23 -23
- package/dist/chunks/{bus-db70zt1b.js → model-retry-az51r80s.js} +19 -19
- package/dist/chunks/{bus-b26ddj6h.js → model-retry-b26ddj6h.js} +4 -4
- package/dist/chunks/{bus-8brp5tjd.js → model-retry-b30tdb24.js} +2 -2
- package/dist/chunks/{bus-m2nt66af.js → model-retry-b49a18dh.js} +17 -17
- package/dist/chunks/{bus-yd8wpznk.js → model-retry-b7nkz392.js} +1 -1
- package/dist/chunks/{bus-bb3mmwvh.js → model-retry-bb3mmwvh.js} +2 -2
- package/dist/chunks/{bus-dn0a84zb.js → model-retry-bbagp5t9.js} +29 -29
- package/dist/chunks/{bus-yrffr8qq.js → model-retry-bcdsa9nj.js} +11 -11
- package/dist/chunks/{bus-0ectkb14.js → model-retry-bd8h3vex.js} +11 -11
- package/dist/chunks/{bus-s818qefp.js → model-retry-bh8z3mjv.js} +5 -5
- package/dist/chunks/{bus-ffw8jmjk.js → model-retry-bhpk62b9.js} +5 -5
- package/dist/chunks/{bus-zyaj2qhk.js → model-retry-bqnf2xa3.js} +11 -11
- package/dist/chunks/{bus-xd9cc171.js → model-retry-bstexjd6.js} +5 -5
- package/dist/chunks/{bus-d8razpqw.js → model-retry-bw0fa95q.js} +16 -16
- package/dist/chunks/{bus-xacpxd3g.js → model-retry-bwf07z9j.js} +21 -21
- package/dist/chunks/{bus-tncgfpd3.js → model-retry-bz3jd329.js} +13 -13
- package/dist/chunks/{bus-kxzeq1qr.js → model-retry-c036fsx9.js} +11 -11
- package/dist/chunks/{bus-f428d6bc.js → model-retry-c1njvmmr.js} +36 -36
- package/dist/chunks/{bus-nv9tsjma.js → model-retry-c4970w7t.js} +6 -6
- package/dist/chunks/{bus-p0tsr9h6.js → model-retry-c6x7d2ts.js} +4 -4
- package/dist/chunks/{bus-wt99tj4q.js → model-retry-c7cw818c.js} +5 -5
- package/dist/chunks/{bus-1ykz8atw.js → model-retry-cavny3st.js} +15 -15
- package/dist/chunks/{bus-bza6pfvq.js → model-retry-ce0nvsd2.js} +3 -3
- package/dist/chunks/{bus-9gxaxr59.js → model-retry-cgemq9va.js} +41 -41
- package/dist/chunks/{bus-b1dp4yt3.js → model-retry-che3sqdn.js} +78 -78
- package/dist/chunks/{bus-rrym2d7k.js → model-retry-cjqsf6bw.js} +9 -9
- package/dist/chunks/{bus-ez6t7bp1.js → model-retry-cnxvbybj.js} +24 -24
- package/dist/chunks/{bus-c2ks2kp5.js → model-retry-cq9ym2th.js} +4 -4
- package/dist/chunks/{bus-cwrgdav8.js → model-retry-cwrgdav8.js} +2 -2
- package/dist/chunks/{bus-v3rt7ekk.js → model-retry-cxmgqsjv.js} +7 -7
- package/dist/chunks/{bus-3g4ta2mf.js → model-retry-d4cn1j0j.js} +20 -20
- package/dist/chunks/{bus-d4v9tmah.js → model-retry-d4v9tmah.js} +2 -2
- package/dist/chunks/{bus-wnbdv4gz.js → model-retry-daqw37vd.js} +35 -35
- package/dist/chunks/{bus-e2hn6m9v.js → model-retry-dbmdnf83.js} +13 -13
- package/dist/chunks/{bus-zd2c73rd.js → model-retry-dc81jdms.js} +12 -12
- package/dist/chunks/{bus-06176jfj.js → model-retry-dcd3jvzc.js} +9 -9
- package/dist/chunks/{bus-h53ewaq3.js → model-retry-dfbf8dz5.js} +13 -13
- package/dist/chunks/{bus-emgta0qf.js → model-retry-dh5k9yhz.js} +50 -50
- package/dist/chunks/{bus-dt77769w.js → model-retry-dt77769w.js} +1 -1
- package/dist/chunks/{bus-6xp52zax.js → model-retry-e05q9fj3.js} +23 -23
- package/dist/chunks/{bus-t3cgs4x0.js → model-retry-e1pw9yh5.js} +11 -11
- package/dist/chunks/{bus-1rdwhyj0.js → model-retry-ecysc0gb.js} +30 -30
- package/dist/chunks/{bus-rp82cnfd.js → model-retry-edm37t96.js} +6 -6
- package/dist/chunks/{bus-xtyctmh1.js → model-retry-ej3jbyd9.js} +15 -15
- package/dist/chunks/{bus-eqw4pqj1.js → model-retry-eqw4pqj1.js} +2 -2
- package/dist/chunks/{bus-n8yxtff3.js → model-retry-f13bcax6.js} +23 -23
- package/dist/chunks/{bus-nkzb5f1v.js → model-retry-fc93665r.js} +8 -8
- package/dist/chunks/{bus-fg9p65nk.js → model-retry-fg9p65nk.js} +2 -2
- package/dist/chunks/{bus-5h95z62t.js → model-retry-fj34de5z.js} +39 -39
- package/dist/chunks/{bus-kp3zbcyf.js → model-retry-fkqdcdp4.js} +18 -18
- package/dist/chunks/{bus-79essn6v.js → model-retry-fmbmyz0a.js} +15 -15
- package/dist/chunks/{bus-wr3re1en.js → model-retry-fznmdakp.js} +4 -4
- package/dist/chunks/{bus-gbjdnr5j.js → model-retry-gbjdnr5j.js} +2 -2
- package/dist/chunks/{bus-s4pad48m.js → model-retry-gd8a3j2q.js} +3 -3
- package/dist/chunks/{bus-rnypq4p5.js → model-retry-ggrpzgdq.js} +31 -31
- package/dist/chunks/{bus-54t61653.js → model-retry-ghc68wmr.js} +10 -10
- package/dist/chunks/{bus-ghrv1g9c.js → model-retry-ghrv1g9c.js} +1 -1
- package/dist/chunks/{bus-5t8he5w1.js → model-retry-gkjtf6r3.js} +5 -5
- package/dist/chunks/{bus-xsvz6nty.js → model-retry-gn9y5s18.js} +30 -30
- package/dist/chunks/{bus-cp4x1195.js → model-retry-gvg2rszq.js} +9 -9
- package/dist/chunks/{bus-f8b6mfmk.js → model-retry-gy98380h.js} +44 -44
- package/dist/chunks/{bus-6v88d4ef.js → model-retry-gzr3e3k6.js} +2 -2
- package/dist/chunks/{bus-jqnjqztd.js → model-retry-h0d0h288.js} +19 -19
- package/dist/chunks/{bus-8cg9c955.js → model-retry-h56sm60v.js} +11 -11
- package/dist/chunks/{bus-8es3pha2.js → model-retry-h9xvjfqn.js} +11 -11
- package/dist/chunks/{bus-hgzwgvze.js → model-retry-hgzwgvze.js} +2 -2
- package/dist/chunks/{bus-s07mf38c.js → model-retry-hj9qde8t.js} +17 -17
- package/dist/chunks/{bus-ekb1srkm.js → model-retry-hk0m197d.js} +9 -9
- package/dist/chunks/model-retry-hnktkp4a.js +35 -0
- package/dist/chunks/{bus-16scm4ef.js → model-retry-hsxn8vdk.js} +5 -5
- package/dist/chunks/{bus-ze75qvmd.js → model-retry-j9nxzz3g.js} +3 -3
- package/dist/chunks/{bus-cqt8w9dp.js → model-retry-je02mesb.js} +19 -19
- package/dist/chunks/{bus-jkdcm5hg.js → model-retry-jkdcm5hg.js} +1 -1
- package/dist/chunks/{bus-xp0aamge.js → model-retry-jkxe4gm6.js} +3 -3
- package/dist/chunks/{bus-jm70asfg.js → model-retry-jm70asfg.js} +1 -1
- package/dist/chunks/{bus-bra5p0kf.js → model-retry-jqydmcqv.js} +40 -40
- package/dist/chunks/{bus-zymv40sd.js → model-retry-jv1c2mep.js} +31 -31
- package/dist/chunks/{bus-y4n6pw34.js → model-retry-jy2czfqv.js} +4 -4
- package/dist/chunks/{bus-nr915jn7.js → model-retry-k46dd5bg.js} +4 -4
- package/dist/chunks/{bus-b6n3k85m.js → model-retry-k57jes72.js} +10 -10
- package/dist/chunks/{bus-rwkapwv8.js → model-retry-k6hvxyqk.js} +18 -18
- package/dist/chunks/{bus-nbxakk53.js → model-retry-kcmrw9d0.js} +28 -28
- package/dist/chunks/{bus-mfcfh2mw.js → model-retry-khsc2avm.js} +29 -29
- package/dist/chunks/{bus-h6x9tj8n.js → model-retry-kkme10mv.js} +5 -5
- package/dist/chunks/{bus-ttm4wxh5.js → model-retry-krd6ac7h.js} +9 -9
- package/dist/chunks/{bus-kt3bjfbg.js → model-retry-kt3bjfbg.js} +1 -1
- package/dist/chunks/{bus-kzczzf4v.js → model-retry-kzczzf4v.js} +1 -1
- package/dist/chunks/{bus-m1714858.js → model-retry-m1714858.js} +1 -1
- package/dist/chunks/{bus-ewjc12ba.js → model-retry-m6mdme7q.js} +18 -18
- package/dist/chunks/{bus-m9w0rfyh.js → model-retry-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-3adw4bt5.js → model-retry-mjrcsjpa.js} +9 -9
- package/dist/chunks/{bus-j9h7e5k3.js → model-retry-mq0bmx9g.js} +20 -20
- package/dist/chunks/{bus-zcgyh6pc.js → model-retry-mr46kq96.js} +15 -15
- package/dist/chunks/{bus-1v2g13eq.js → model-retry-msd2a3qm.js} +4 -4
- package/dist/chunks/{bus-n320gsn2.js → model-retry-n320gsn2.js} +1 -1
- package/dist/chunks/{bus-9h2twn7g.js → model-retry-n42snndf.js} +11 -11
- package/dist/chunks/{bus-nprzpnkx.js → model-retry-n92nzxqg.js} +5 -5
- package/dist/chunks/{bus-d9htjgdm.js → model-retry-nbbn0k3v.js} +17 -17
- package/dist/chunks/{bus-1pa0bq3j.js → model-retry-ngcw1c4b.js} +3 -3
- package/dist/chunks/{bus-3sa3aw4f.js → model-retry-nh2stm5b.js} +12 -12
- package/dist/chunks/{bus-9hr42dse.js → model-retry-nm5vnkcb.js} +7 -7
- package/dist/chunks/{bus-nx4vzyjd.js → model-retry-nx4vzyjd.js} +2 -2
- package/dist/chunks/{bus-rd033cwh.js → model-retry-p664yqdp.js} +37 -37
- package/dist/chunks/{bus-p76me67c.js → model-retry-p76me67c.js} +1 -1
- package/dist/chunks/{bus-9dmyw2j4.js → model-retry-p8cqk0fa.js} +10 -10
- package/dist/chunks/{bus-zk5ckyvg.js → model-retry-pc99nv90.js} +11 -11
- package/dist/chunks/{bus-s8zkkj71.js → model-retry-pdaj8qbc.js} +9 -9
- package/dist/chunks/{bus-k48z3nds.js → model-retry-pebyzz0n.js} +12 -12
- package/dist/chunks/{bus-pknna89w.js → model-retry-pknna89w.js} +1 -1
- package/dist/chunks/{bus-73zbh47y.js → model-retry-ppjw42km.js} +18 -18
- package/dist/chunks/{bus-q42tzrxa.js → model-retry-q42tzrxa.js} +1 -1
- package/dist/chunks/{bus-rtyb78q8.js → model-retry-q4fknq7x.js} +24 -24
- package/dist/chunks/{bus-1vtvmq53.js → model-retry-q84jkp8z.js} +17 -17
- package/dist/chunks/{bus-556k5691.js → model-retry-qamgg21g.js} +18 -18
- package/dist/chunks/{bus-xd081837.js → model-retry-qnad5zz9.js} +26 -26
- package/dist/chunks/{bus-qp7r0hxv.js → model-retry-qp7r0hxv.js} +1 -1
- package/dist/chunks/{bus-tdnhqmff.js → model-retry-qtf35215.js} +3 -3
- package/dist/chunks/{bus-9etdqcxj.js → model-retry-qy10zj0h.js} +18 -18
- package/dist/chunks/{bus-z5geynz5.js → model-retry-qyfpzaft.js} +45 -45
- package/dist/chunks/{bus-8v1093m8.js → model-retry-qzts29w1.js} +14 -14
- package/dist/chunks/{bus-40za9wsf.js → model-retry-r41sfy63.js} +6 -6
- package/dist/chunks/{bus-vre17ymf.js → model-retry-r45nfa48.js} +9 -9
- package/dist/chunks/{bus-vdrdgm3z.js → model-retry-r58y11b8.js} +6 -6
- package/dist/chunks/{bus-rb9dy4dg.js → model-retry-rb9dy4dg.js} +1 -1
- package/dist/chunks/{bus-rgc9cx3e.js → model-retry-rgc9cx3e.js} +2 -2
- package/dist/chunks/{bus-dshtyjtw.js → model-retry-rgpfeh79.js} +15 -15
- package/dist/chunks/{bus-ts77hb5k.js → model-retry-rhqr3vhx.js} +17 -17
- package/dist/chunks/{bus-eca0ka8c.js → model-retry-rj0s2vsp.js} +7 -7
- package/dist/chunks/{bus-8aatcdpk.js → model-retry-rj3e5mt0.js} +4 -4
- package/dist/chunks/{bus-f0yx1d0v.js → model-retry-rpchbzyn.js} +13 -13
- package/dist/chunks/{bus-6ma32zzk.js → model-retry-rscs01kg.js} +2 -2
- package/dist/chunks/{bus-xksw6ev0.js → model-retry-rt5qjrvj.js} +4 -4
- package/dist/chunks/{bus-npmkbx31.js → model-retry-rz6d6my6.js} +7 -7
- package/dist/chunks/{bus-5whx36p1.js → model-retry-s47rahr7.js} +4 -4
- package/dist/chunks/{bus-8vfsrj74.js → model-retry-s97gw63z.js} +23 -23
- package/dist/chunks/{bus-sbya78hr.js → model-retry-sbya78hr.js} +1 -1
- package/dist/chunks/{bus-658w8b62.js → model-retry-se84e5kf.js} +28 -28
- package/dist/chunks/{bus-928yv3s6.js → model-retry-see60j9q.js} +11 -11
- package/dist/chunks/{bus-xtvxmv3z.js → model-retry-shqxbeh8.js} +8 -8
- package/dist/chunks/{bus-63ctbp5a.js → model-retry-shsabhn6.js} +10 -10
- package/dist/chunks/{bus-jxprk461.js → model-retry-sq79gphe.js} +25 -25
- package/dist/chunks/{bus-v14nhabx.js → model-retry-st73djt4.js} +6 -6
- package/dist/chunks/{bus-svcy3p9a.js → model-retry-svcy3p9a.js} +1 -1
- package/dist/chunks/{bus-t6f09pg1.js → model-retry-sw24ze7h.js} +4 -4
- package/dist/chunks/{bus-dzymtfjj.js → model-retry-sw9vjmch.js} +25 -25
- package/dist/chunks/{bus-1n53kyqe.js → model-retry-sz25a87n.js} +16 -16
- package/dist/chunks/{bus-9rqfe4ad.js → model-retry-t48jrnqq.js} +3 -3
- package/dist/chunks/{bus-p94p4v4n.js → model-retry-t62dywgn.js} +4 -4
- package/dist/chunks/{bus-bwtkx0y7.js → model-retry-t6nqp9vg.js} +9 -9
- package/dist/chunks/{bus-e9rgj90c.js → model-retry-t8npn5et.js} +5 -5
- package/dist/chunks/{bus-16wq0j6y.js → model-retry-ta92nb8a.js} +47 -47
- package/dist/chunks/{bus-tbpn7jtk.js → model-retry-tbpn7jtk.js} +1 -1
- package/dist/chunks/{bus-72db5z1x.js → model-retry-tc3psh6n.js} +8 -8
- package/dist/chunks/{bus-tczq8hjw.js → model-retry-tczq8hjw.js} +1 -1
- package/dist/chunks/{bus-hy8c1z76.js → model-retry-tg1vr1qt.js} +8 -8
- package/dist/chunks/{bus-gxs71cxp.js → model-retry-tg7s7b5t.js} +4 -4
- package/dist/chunks/{bus-vfm7pq2k.js → model-retry-th79ewyv.js} +10 -10
- package/dist/chunks/{bus-2vj8sj7w.js → model-retry-tmr9yjpj.js} +9 -9
- package/dist/chunks/{bus-tr8x705m.js → model-retry-tr8x705m.js} +1 -1
- package/dist/chunks/{bus-tvtps2q9.js → model-retry-tvtps2q9.js} +1 -1
- package/dist/chunks/{bus-twssxy5n.js → model-retry-twssxy5n.js} +2 -2
- package/dist/chunks/{bus-qe8jh99s.js → model-retry-v1wmg1k9.js} +19 -19
- package/dist/chunks/{bus-v2r1d0zg.js → model-retry-v2r1d0zg.js} +1 -1
- package/dist/chunks/{bus-6cqkw5v2.js → model-retry-v2x06h94.js} +5 -5
- package/dist/chunks/{bus-fcgtcm52.js → model-retry-v40cwbah.js} +8 -8
- package/dist/chunks/{bus-5fk6rhyy.js → model-retry-v6xc68wk.js} +6 -6
- package/dist/chunks/{bus-m1h42yqa.js → model-retry-v8drvm06.js} +11 -11
- package/dist/chunks/{bus-4xyjnezy.js → model-retry-vgs3tmp3.js} +9 -9
- package/dist/chunks/{bus-vjf35v1f.js → model-retry-vjf35v1f.js} +1 -1
- package/dist/chunks/{bus-yzd8fzv9.js → model-retry-vpgfvngc.js} +23 -23
- package/dist/chunks/{bus-6h8vcvjm.js → model-retry-vq0qa3sh.js} +9 -9
- package/dist/chunks/{bus-48rr5x9q.js → model-retry-vr8z95kg.js} +31 -31
- package/dist/chunks/{bus-9j8b0v77.js → model-retry-vw3yn5a4.js} +13 -13
- package/dist/chunks/{bus-dzxny3rz.js → model-retry-w0avypsn.js} +24 -15
- package/dist/chunks/{bus-9ax4h32b.js → model-retry-w2xbgb7q.js} +23 -23
- package/dist/chunks/{bus-w3wsvvr9.js → model-retry-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-ggx84v7x.js → model-retry-w75qynz4.js} +6 -6
- package/dist/chunks/{bus-mmx1mfjr.js → model-retry-w79nt68w.js} +4 -4
- package/dist/chunks/{bus-wakvkjy4.js → model-retry-wakvkjy4.js} +1 -1
- package/dist/chunks/{bus-qsvk5dwx.js → model-retry-wcfpfg7y.js} +15 -15
- package/dist/chunks/{bus-wd87259q.js → model-retry-wd87259q.js} +1 -1
- package/dist/chunks/{bus-jg11hrrc.js → model-retry-wfdx5ztx.js} +4 -4
- package/dist/chunks/{bus-snyk3k0k.js → model-retry-wggzmsjz.js} +27 -27
- package/dist/chunks/{bus-3417wq9v.js → model-retry-wjnrxsxy.js} +16 -16
- package/dist/chunks/{bus-8c3892rt.js → model-retry-wk1wsz78.js} +7 -7
- package/dist/chunks/{bus-3bgd5sjx.js → model-retry-wpj3mq6t.js} +8 -8
- package/dist/chunks/{bus-q9qpc1pg.js → model-retry-wy8qrs1m.js} +5 -5
- package/dist/chunks/{bus-qrfb6w5q.js → model-retry-wytbxtva.js} +16 -16
- package/dist/chunks/{bus-6cfzbdsr.js → model-retry-x150ncgg.js} +2 -2
- package/dist/chunks/{bus-9jj0wnay.js → model-retry-x7dr9wtp.js} +18 -18
- package/dist/chunks/{bus-7h63c6pd.js → model-retry-x9ns6bvg.js} +24 -24
- package/dist/chunks/{bus-r17fbvme.js → model-retry-xacrkbdt.js} +4 -4
- package/dist/chunks/{bus-7j5p66f9.js → model-retry-xd8gvm55.js} +16 -16
- package/dist/chunks/{bus-j079p4r2.js → model-retry-xhdzxv2d.js} +16 -16
- package/dist/chunks/{bus-xjr6c8m4.js → model-retry-xjr6c8m4.js} +1 -1
- package/dist/chunks/{bus-7bqqe1yk.js → model-retry-xx2bks1j.js} +85 -85
- package/dist/chunks/{bus-k2eg62ex.js → model-retry-xya7ctxy.js} +19 -19
- package/dist/chunks/{bus-scmk72rv.js → model-retry-y3p3hzkr.js} +5 -5
- package/dist/chunks/{bus-00fdt2tm.js → model-retry-y7qawec5.js} +23 -23
- package/dist/chunks/{bus-yb20nhc3.js → model-retry-yb20nhc3.js} +1 -1
- package/dist/chunks/{bus-mf67fygn.js → model-retry-yc146ktt.js} +4 -4
- package/dist/chunks/{bus-74v5ckbq.js → model-retry-yf4f4ny8.js} +59 -59
- package/dist/chunks/{bus-aqwkm5ba.js → model-retry-yfm9gxzx.js} +10 -10
- package/dist/chunks/{bus-ecn0hng3.js → model-retry-yk4ram99.js} +3 -3
- package/dist/chunks/{bus-4fbn38qv.js → model-retry-ypybfkk0.js} +22 -22
- package/dist/chunks/model-retry-yqwbdse8.js +26 -0
- package/dist/chunks/{bus-yr705xyq.js → model-retry-yr705xyq.js} +1 -1
- package/dist/chunks/{bus-yvtc2x31.js → model-retry-yvtc2x31.js} +1 -1
- package/dist/chunks/{bus-d52ays1g.js → model-retry-yyv178x8.js} +4 -4
- package/dist/chunks/{bus-gb1hs61z.js → model-retry-z9r4pa4x.js} +29 -29
- package/dist/chunks/{bus-zpdbqgja.js → model-retry-zpdbqgja.js} +1 -1
- package/dist/chunks/{bus-qf1gd9f9.js → model-retry-zq70c3fj.js} +23 -23
- package/dist/chunks/{bus-eywx1qkn.js → model-retry-zrnr92js.js} +2 -2
- package/dist/chunks/{bus-z7df3a7e.js → model-retry-zvrv6acg.js} +6 -6
- 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 +7 -7
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +239 -239
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +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 +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +88 -88
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +81 -81
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +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 +101 -101
- package/dist/effect/app-node-builder.js +441 -441
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +252 -252
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +114 -114
- package/dist/flag.js +133 -133
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +112 -112
- package/dist/image/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +432 -432
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +92 -92
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +179 -179
- 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 +94 -94
- 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 +124 -124
- package/dist/mcp/instructions.js +189 -189
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +115 -115
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +156 -156
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +245 -245
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +408 -408
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +127 -127
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- 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 +1 -1
- 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 +8 -6
- 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 +81 -81
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +416 -416
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +254 -254
- 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 +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -109
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +250 -250
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +264 -264
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +249 -249
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +207 -207
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +150 -150
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +144 -144
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +1 -1
- 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 +164 -164
- 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 +87 -87
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +238 -238
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +248 -248
- package/dist/session/usage.js +1 -1
- package/dist/session.js +244 -244
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +152 -152
- package/dist/skill.js +159 -159
- 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 +188 -188
- package/dist/tool/plugin/artifact.js +237 -237
- package/dist/tool/plugin/edit.js +168 -168
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +171 -171
- package/dist/tool/plugin/image-generate.js +244 -244
- 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 +256 -256
- package/dist/tool/plugin/shell.js +242 -242
- package/dist/tool/plugin/skill.js +154 -154
- package/dist/tool/plugin/subagent.js +243 -243
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +154 -154
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +114 -114
- 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/plugin/provider/opencode-watches.d.ts +3 -2
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +97 -97
- package/dist/websearch.js +93 -93
- 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 +11 -11
- package/dist/chunks/bus-d6mjcrv9.js +0 -26
- package/dist/chunks/bus-ek8sxpxj.js +0 -147
- package/dist/chunks/bus-ftnqgna6.js +0 -273
- package/dist/chunks/bus-h8zsr8hw.js +0 -35
- package/dist/chunks/bus-k62y2wy8.js +0 -18
- /package/dist/chunks/{bus-0qkdqm5v.js → model-retry-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → model-retry-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → model-retry-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → model-retry-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kah00gy.js → model-retry-1kah00gy.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → model-retry-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → model-retry-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → model-retry-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → model-retry-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → model-retry-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → model-retry-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → model-retry-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4qk9sjk2.js → model-retry-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → model-retry-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-5w3e23ze.js → model-retry-5w3e23ze.js} +0 -0
- /package/dist/chunks/{bus-6agm2x70.js → model-retry-6agm2x70.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → model-retry-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-6q2bdcd1.js → model-retry-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → model-retry-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → model-retry-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → model-retry-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-84wd9syh.js → model-retry-84wd9syh.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → model-retry-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → model-retry-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → model-retry-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → model-retry-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → model-retry-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → model-retry-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → model-retry-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-beh6qq61.js → model-retry-beh6qq61.js} +0 -0
- /package/dist/chunks/{bus-bhmrqjy3.js → model-retry-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → model-retry-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → model-retry-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → model-retry-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cqv5kn06.js → model-retry-cqv5kn06.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → model-retry-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → model-retry-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → model-retry-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → model-retry-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → model-retry-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → model-retry-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-ean2d8b5.js → model-retry-ean2d8b5.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → model-retry-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → model-retry-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → model-retry-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → model-retry-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → model-retry-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → model-retry-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fkpq3x5p.js → model-retry-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → model-retry-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → model-retry-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → model-retry-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hcxmzztb.js → model-retry-hcxmzztb.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → model-retry-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → model-retry-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → model-retry-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → model-retry-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → model-retry-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jwr30sdr.js → model-retry-jwr30sdr.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → model-retry-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-m18g726c.js → model-retry-m18g726c.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → model-retry-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → model-retry-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → model-retry-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → model-retry-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-nh4v3znn.js → model-retry-nh4v3znn.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → model-retry-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-p71gwv9c.js → model-retry-p71gwv9c.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → model-retry-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → model-retry-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → model-retry-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → model-retry-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → model-retry-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → model-retry-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → model-retry-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → model-retry-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → model-retry-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-syrav9an.js → model-retry-syrav9an.js} +0 -0
- /package/dist/chunks/{bus-t03h4f5z.js → model-retry-t03h4f5z.js} +0 -0
- /package/dist/chunks/{bus-ty7weeps.js → model-retry-ty7weeps.js} +0 -0
- /package/dist/chunks/{bus-ve7vex1e.js → model-retry-ve7vex1e.js} +0 -0
- /package/dist/chunks/{bus-vtarvj67.js → model-retry-vtarvj67.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → model-retry-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → model-retry-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → model-retry-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → model-retry-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x4th4bpe.js → model-retry-x4th4bpe.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → model-retry-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → model-retry-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → model-retry-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-z0h12gs8.js → model-retry-z0h12gs8.js} +0 -0
- /package/dist/chunks/{bus-z5v4ffb3.js → model-retry-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → model-retry-z9919s4g.js} +0 -0
- /package/dist/chunks/{bus-zxpyjp51.js → model-retry-zxpyjp51.js} +0 -0
- /package/dist/chunks/{bus-zz5vv3aq.js → model-retry-zz5vv3aq.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./model-retry-58ng2s68.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service84
|
|
7
|
+
} from "./model-retry-jv1c2mep.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service81
|
|
11
|
+
} from "./model-retry-cgemq9va.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-retry-qtf35215.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service57
|
|
17
|
+
} from "./model-retry-wytbxtva.js";
|
|
18
18
|
import {
|
|
19
19
|
invocation2,
|
|
20
20
|
evaluate3,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service74
|
|
22
|
+
} from "./model-retry-8bwrafk7.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service27
|
|
25
|
+
} from "./model-retry-xx2bks1j.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-retry-0j7gp832.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service8
|
|
31
|
+
} from "./model-retry-bwf07z9j.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input12,
|
|
40
|
+
Output: () => Output9,
|
|
41
|
+
Plugin: () => Plugin16,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
43
|
description: () => description4,
|
|
44
|
-
name: () =>
|
|
44
|
+
name: () => name12
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name12 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -57,7 +57,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
57
57
|
].join(`
|
|
58
58
|
`)
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var Input12 = Schema.Struct({
|
|
61
61
|
agent: Schema.String.annotate({
|
|
62
62
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
63
63
|
}),
|
|
@@ -73,7 +73,7 @@ var Input4 = Schema.Struct({
|
|
|
73
73
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
|
-
var
|
|
76
|
+
var Output9 = Schema.Struct({
|
|
77
77
|
sessionID: SessionSchema2.ID,
|
|
78
78
|
status: Schema.Literals(["completed", "running"]),
|
|
79
79
|
output: Schema.String
|
|
@@ -87,16 +87,16 @@ var description4 = [
|
|
|
87
87
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
88
88
|
].join(`
|
|
89
89
|
`);
|
|
90
|
-
var
|
|
90
|
+
var Plugin16 = {
|
|
91
91
|
id: "opencode.tool.subagent",
|
|
92
92
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
93
|
-
const sessions = yield*
|
|
94
|
-
const jobs = yield*
|
|
95
|
-
const agents = yield*
|
|
96
|
-
const config = yield*
|
|
97
|
-
const permission = yield*
|
|
98
|
-
const models = yield*
|
|
99
|
-
const subagents = yield*
|
|
93
|
+
const sessions = yield* Service27;
|
|
94
|
+
const jobs = yield* Service57;
|
|
95
|
+
const agents = yield* Service77;
|
|
96
|
+
const config = yield* Service81;
|
|
97
|
+
const permission = yield* Service74;
|
|
98
|
+
const models = yield* Service84;
|
|
99
|
+
const subagents = yield* Service8;
|
|
100
100
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
101
101
|
const ref = yield* Effect.try({
|
|
102
102
|
try: () => Ref3.parse(input),
|
|
@@ -118,11 +118,11 @@ var Plugin23 = {
|
|
|
118
118
|
return ref;
|
|
119
119
|
});
|
|
120
120
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
121
|
-
name:
|
|
121
|
+
name: name12,
|
|
122
122
|
options: { codemode: false },
|
|
123
123
|
description: description4,
|
|
124
|
-
input:
|
|
125
|
-
output:
|
|
124
|
+
input: Input12,
|
|
125
|
+
output: Output9,
|
|
126
126
|
execute: (input, context) => Effect.gen(function* () {
|
|
127
127
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
128
128
|
let current = parent;
|
|
@@ -142,7 +142,7 @@ var Plugin23 = {
|
|
|
142
142
|
if (agent.mode === "primary")
|
|
143
143
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
144
144
|
yield* permission.assert({
|
|
145
|
-
action:
|
|
145
|
+
action: name12,
|
|
146
146
|
resources: [agent.id],
|
|
147
147
|
save: [agent.id],
|
|
148
148
|
...invocation2(context)
|
|
@@ -215,7 +215,7 @@ ${output.output}
|
|
|
215
215
|
})))
|
|
216
216
|
})).pipe(Effect.orDie);
|
|
217
217
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
218
|
-
if (event.tool !==
|
|
218
|
+
if (event.tool !== name12 || !Predicate.isObject(event.input))
|
|
219
219
|
return;
|
|
220
220
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
221
221
|
return;
|
|
@@ -227,13 +227,13 @@ ${output.output}
|
|
|
227
227
|
event.input = input;
|
|
228
228
|
}));
|
|
229
229
|
const hook = (event) => Effect.gen(function* () {
|
|
230
|
-
const tool = event.tools[
|
|
230
|
+
const tool = event.tools[name12];
|
|
231
231
|
if (!tool)
|
|
232
232
|
return;
|
|
233
233
|
const selected = yield* agents.resolve(event.agent);
|
|
234
234
|
if (!selected)
|
|
235
235
|
return;
|
|
236
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(
|
|
236
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name12, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
237
237
|
if (available.length === 0)
|
|
238
238
|
return;
|
|
239
239
|
tool.description = [
|
|
@@ -250,4 +250,4 @@ ${output.output}
|
|
|
250
250
|
})
|
|
251
251
|
};
|
|
252
252
|
|
|
253
|
-
export {
|
|
253
|
+
export { name12, Input12, Output9, description4, Plugin16, exports_subagent };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
3
|
node94
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-retry-9g1enhg0.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-retry-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
Service90,
|
|
11
11
|
node92
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-retry-b30tdb24.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID17,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service86,
|
|
20
|
+
node88,
|
|
21
|
+
Event17
|
|
22
|
+
} from "./model-retry-y7qawec5.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,28 +30,28 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID16,
|
|
36
|
+
Info: () => Info24,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref3,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service84,
|
|
41
41
|
Type: () => Type2,
|
|
42
42
|
VariantID: () => VariantID2,
|
|
43
43
|
compatibility: () => compatibility2,
|
|
44
44
|
mergeCapabilities: () => mergeCapabilities2,
|
|
45
|
-
node: () =>
|
|
46
|
-
parse: () =>
|
|
45
|
+
node: () => node86,
|
|
46
|
+
parse: () => parse5,
|
|
47
47
|
supportsText: () => supportsText2
|
|
48
48
|
});
|
|
49
49
|
import { Model } from "@opencode/schema/model";
|
|
50
50
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import { freeze } from "immer";
|
|
53
|
-
import { Event as
|
|
54
|
-
var
|
|
53
|
+
import { Event as Event16 } from "@opencode/schema/model";
|
|
54
|
+
var ID16 = Model.ID;
|
|
55
55
|
var VariantID2 = Model.VariantID;
|
|
56
56
|
var Family2 = Model.Family;
|
|
57
57
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -69,12 +69,12 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
69
69
|
var Cost2 = Model.Cost;
|
|
70
70
|
var Type2 = Model.Type;
|
|
71
71
|
var Ref3 = Model.Ref;
|
|
72
|
-
var
|
|
72
|
+
var Info24 = Model.Info;
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service84 extends Context.Service()("@opencode/Model") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const providers = yield*
|
|
76
|
+
var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
77
|
+
const providers = yield* Service86;
|
|
78
78
|
const bus = yield* Service92;
|
|
79
79
|
const location = yield* Service90;
|
|
80
80
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
122
122
|
const models = writable(providerID);
|
|
123
123
|
if (!models)
|
|
124
124
|
return;
|
|
125
|
-
const model = draft(providerID, modelID) ??
|
|
125
|
+
const model = draft(providerID, modelID) ?? Info24.default(providerID, modelID);
|
|
126
126
|
update(model);
|
|
127
127
|
model.id = modelID;
|
|
128
128
|
model.providerID = providerID;
|
|
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
191
191
|
];
|
|
192
192
|
}));
|
|
193
193
|
if (disableFree)
|
|
194
|
-
for (const providerID of [
|
|
194
|
+
for (const providerID of [ID17.opencode, ID17.make("opencode-go")])
|
|
195
195
|
byProvider.get(providerID)?.forEach((model, id, models) => {
|
|
196
196
|
if (!model.cost.some((cost) => cost.input > 0))
|
|
197
197
|
models.delete(id);
|
|
@@ -227,8 +227,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
227
227
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
228
228
|
});
|
|
229
229
|
});
|
|
230
|
-
yield* bus.subscribe(
|
|
231
|
-
return
|
|
230
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
231
|
+
return Service84.of({
|
|
232
232
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
233
233
|
reload,
|
|
234
234
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
249
|
}));
|
|
250
|
-
var
|
|
250
|
+
var node86 = makeLocationNode({ service: Service84, layer, deps: [node88, node94, node92] });
|
|
251
251
|
var PREFERRED_FREE = [
|
|
252
252
|
"big-pickle",
|
|
253
253
|
"deepseek-v4.1-flash-free",
|
|
@@ -255,7 +255,7 @@ var PREFERRED_FREE = [
|
|
|
255
255
|
"muse-spark-1.3-contributor-free"
|
|
256
256
|
];
|
|
257
257
|
function preferFree(models) {
|
|
258
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
258
|
+
const freeOnly = models.every((model) => model.providerID === ID17.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
259
259
|
if (!freeOnly)
|
|
260
260
|
return models;
|
|
261
261
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -271,12 +271,12 @@ function compatibility2(input) {
|
|
|
271
271
|
return;
|
|
272
272
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function parse5(input) {
|
|
275
275
|
const index = input.indexOf("/");
|
|
276
276
|
return {
|
|
277
|
-
providerID:
|
|
278
|
-
modelID:
|
|
277
|
+
providerID: ID17.make(index === -1 ? input : input.slice(0, index)),
|
|
278
|
+
modelID: ID16.make(index === -1 ? "" : input.slice(index + 1))
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID16, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info24, Service84, node86, supportsText2, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin35
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin35 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin10 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin35, exports_mcp_codemode_defaults };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/claude-agent/language-model/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_system_prompt, {
|
|
|
8
8
|
AGENT_OPTION: () => AGENT_OPTION2,
|
|
9
9
|
ClaudeSystemPrompt: () => exports_system_prompt,
|
|
10
10
|
INSTRUCTIONS_OPTION: () => INSTRUCTIONS_OPTION2,
|
|
11
|
-
make: () =>
|
|
11
|
+
make: () => make12,
|
|
12
12
|
utility: () => utility2
|
|
13
13
|
});
|
|
14
14
|
var AGENT_OPTION2 = "claudeCodeAgent";
|
|
@@ -19,7 +19,7 @@ var primary = {
|
|
|
19
19
|
snapshot: false,
|
|
20
20
|
append: "<runtime_info>You are running in OpenCode through the Claude Code harness. Mention this only when asked.</runtime_info>"
|
|
21
21
|
};
|
|
22
|
-
function
|
|
22
|
+
function make12(role, instructions) {
|
|
23
23
|
const blocks = [primary.append];
|
|
24
24
|
if (role)
|
|
25
25
|
blocks.push(`# Agent role (from OpenCode)
|
|
@@ -37,4 +37,4 @@ function utility2(prompt) {
|
|
|
37
37
|
`) || "You are a text generation helper. Return only the requested output.";
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
export { AGENT_OPTION2, INSTRUCTIONS_OPTION2,
|
|
40
|
+
export { AGENT_OPTION2, INSTRUCTIONS_OPTION2, make12, utility2, exports_system_prompt };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-hnktkp4a.js";
|
|
4
4
|
import {
|
|
5
5
|
collectBoundedResponseBody2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-3v8g72cx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
MAX_RESPONSE_BYTES3,
|
|
9
9
|
call2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-retry-r41sfy63.js";
|
|
11
11
|
import {
|
|
12
12
|
register2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-retry-xjr6c8m4.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/websearch/tinyfish.ts
|
|
19
19
|
var exports_tinyfish = {};
|
|
20
20
|
__export(exports_tinyfish, {
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin28,
|
|
22
22
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
23
23
|
endpoint: () => endpoint6
|
|
24
24
|
});
|
|
@@ -54,7 +54,7 @@ var InitializedNotification = Schema.Struct({
|
|
|
54
54
|
jsonrpc: Schema.Literal("2.0"),
|
|
55
55
|
method: Schema.Literal("notifications/initialized")
|
|
56
56
|
});
|
|
57
|
-
var
|
|
57
|
+
var Plugin28 = define({
|
|
58
58
|
id: "opencode.websearch.tinyfish",
|
|
59
59
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
60
60
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -94,7 +94,7 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
94
94
|
}
|
|
95
95
|
}));
|
|
96
96
|
const response = yield* client.execute(request);
|
|
97
|
-
yield* collectBoundedResponseBody2(response,
|
|
97
|
+
yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
98
98
|
const session = response.headers["mcp-session-id"];
|
|
99
99
|
if (session === undefined)
|
|
100
100
|
return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
|
|
@@ -109,4 +109,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
109
109
|
orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
|
|
110
110
|
}));
|
|
111
111
|
|
|
112
|
-
export { endpoint6,
|
|
112
|
+
export { endpoint6, Plugin28, exports_tinyfish };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service46,
|
|
3
|
+
node49
|
|
4
|
+
} from "./model-retry-0m9mnr46.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make32,
|
|
9
9
|
listUpdate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-retry-t62dywgn.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions5 = {};
|
|
17
|
+
__export(exports_instructions5, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions5,
|
|
19
|
+
Service: () => Service35,
|
|
20
|
+
node: () => node38
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -53,18 +53,18 @@ var update = listUpdate2({
|
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class Service35 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
57
57
|
}
|
|
58
|
-
var layer = Layer.effect(
|
|
59
|
-
const references = yield*
|
|
60
|
-
return
|
|
58
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
59
|
+
const references = yield* Service46;
|
|
60
|
+
return Service35.of({
|
|
61
61
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
62
62
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
63
63
|
name: reference.name,
|
|
64
64
|
path: reference.path,
|
|
65
65
|
description: reference.description
|
|
66
66
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
67
|
-
return
|
|
67
|
+
return make32({
|
|
68
68
|
key: Key3.make("core/reference-guidance"),
|
|
69
69
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
70
70
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -77,6 +77,6 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
}));
|
|
80
|
-
var
|
|
80
|
+
var node38 = makeLocationNode({ service: Service35, layer, deps: [node49] });
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { Service35, node38, exports_instructions5 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service93,
|
|
3
|
+
node95
|
|
4
|
+
} from "./model-retry-nh2stm5b.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-retry-s47rahr7.js";
|
|
8
8
|
import {
|
|
9
9
|
Service92,
|
|
10
10
|
node94
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-retry-9g1enhg0.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-retry-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessageTable2,
|
|
17
17
|
SessionInboxTable2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-retry-8z6m94af.js";
|
|
19
19
|
import {
|
|
20
20
|
SessionMessage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-retry-gftt206x.js";
|
|
22
22
|
import {
|
|
23
23
|
UserPayload3
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-retry-fg9p65nk.js";
|
|
25
25
|
import {
|
|
26
26
|
hydrateInbox2,
|
|
27
27
|
keepInboxRefs2,
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
externalizePayload2,
|
|
30
30
|
recordRefs2,
|
|
31
31
|
releaseMessage2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./model-retry-rj0s2vsp.js";
|
|
33
33
|
import {
|
|
34
34
|
decodeMessageRows2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./model-retry-p8cqk0fa.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/inbox.ts
|
|
41
41
|
var exports_inbox = {};
|
|
@@ -43,7 +43,7 @@ __export(exports_inbox, {
|
|
|
43
43
|
Compaction: () => Compaction2,
|
|
44
44
|
CompactionPayload: () => CompactionPayload2,
|
|
45
45
|
Delivery: () => Delivery2,
|
|
46
|
-
Info: () =>
|
|
46
|
+
Info: () => Info14,
|
|
47
47
|
Item: () => Item2,
|
|
48
48
|
LifecycleConflict: () => LifecycleConflict2,
|
|
49
49
|
MediaInfo: () => MediaInfo2,
|
|
@@ -51,7 +51,7 @@ __export(exports_inbox, {
|
|
|
51
51
|
MediaUserPayload: () => MediaUserPayload2,
|
|
52
52
|
Move: () => Move2,
|
|
53
53
|
MovePayload: () => MovePayload2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service52,
|
|
55
55
|
SessionInbox: () => exports_inbox,
|
|
56
56
|
Synthetic: () => Synthetic2,
|
|
57
57
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -60,12 +60,12 @@ __export(exports_inbox, {
|
|
|
60
60
|
find: () => find2,
|
|
61
61
|
has: () => has2,
|
|
62
62
|
layer: () => layer21,
|
|
63
|
-
list: () =>
|
|
63
|
+
list: () => list4,
|
|
64
64
|
listWithRefs: () => listWithRefs2,
|
|
65
|
-
make: () =>
|
|
65
|
+
make: () => make29,
|
|
66
66
|
moveIDs: () => moveIDs2,
|
|
67
67
|
nextPromotable: () => nextPromotable2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node54,
|
|
69
69
|
projectAdmitted: () => projectAdmitted2,
|
|
70
70
|
projectCancelled: () => projectCancelled2,
|
|
71
71
|
projectDelivered: () => projectDelivered2,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
Compaction as Compaction2,
|
|
81
81
|
CompactionPayload as CompactionPayload2,
|
|
82
82
|
Delivery as Delivery2,
|
|
83
|
-
Info as
|
|
83
|
+
Info as Info14,
|
|
84
84
|
Item as Item2,
|
|
85
85
|
MediaInfo as MediaInfo2,
|
|
86
86
|
MediaUser as MediaUser2,
|
|
@@ -184,10 +184,10 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
184
184
|
});
|
|
185
185
|
});
|
|
186
186
|
|
|
187
|
-
class
|
|
187
|
+
class Service52 extends Context.Service()("@opencode/SessionInbox") {
|
|
188
188
|
}
|
|
189
|
-
var
|
|
190
|
-
const database = yield*
|
|
189
|
+
var make29 = Effect.fn("SessionInbox.make")(function* () {
|
|
190
|
+
const database = yield* Service93;
|
|
191
191
|
const db = database.db;
|
|
192
192
|
const bus = yield* Service92;
|
|
193
193
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
@@ -206,7 +206,7 @@ var make28 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
206
206
|
inboxID: request.id,
|
|
207
207
|
sessionID: request.sessionID,
|
|
208
208
|
item: request.item
|
|
209
|
-
}).pipe(Effect.map((event) =>
|
|
209
|
+
}).pipe(Effect.map((event) => Info14.make({
|
|
210
210
|
id: request.id,
|
|
211
211
|
sessionID: request.sessionID,
|
|
212
212
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -226,7 +226,7 @@ var make28 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
226
226
|
}
|
|
227
227
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
228
228
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
229
|
-
const pending = (yield*
|
|
229
|
+
const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
230
230
|
if (pending)
|
|
231
231
|
return pending;
|
|
232
232
|
return yield* admit({
|
|
@@ -251,7 +251,7 @@ var make28 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
251
251
|
delivery: "queue"
|
|
252
252
|
})));
|
|
253
253
|
return {
|
|
254
|
-
list: (sessionID) =>
|
|
254
|
+
list: (sessionID) => list4(db, sessionID),
|
|
255
255
|
reconcile,
|
|
256
256
|
admit,
|
|
257
257
|
admitCompaction,
|
|
@@ -260,8 +260,8 @@ var make28 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
260
260
|
queue
|
|
261
261
|
};
|
|
262
262
|
});
|
|
263
|
-
var layer21 = Layer.effect(
|
|
264
|
-
var
|
|
263
|
+
var layer21 = Layer.effect(Service52, make29());
|
|
264
|
+
var node54 = makeGlobalNode({ service: Service52, layer: layer21, deps: [node95, node94] });
|
|
265
265
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
266
266
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
267
267
|
if (message !== undefined)
|
|
@@ -310,7 +310,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
310
310
|
to: input.delivery
|
|
311
311
|
}));
|
|
312
312
|
var listRows = (db, sessionID) => db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
313
|
-
var
|
|
313
|
+
var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
314
314
|
return (yield* hydrateInbox2(db, yield* listRows(db, sessionID))).map(fromRow);
|
|
315
315
|
});
|
|
316
316
|
var listWithRefs2 = Effect.fn("SessionInbox.listWithRefs")(function* (db, sessionID) {
|
|
@@ -388,4 +388,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
388
388
|
return rows;
|
|
389
389
|
}));
|
|
390
390
|
|
|
391
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
391
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info14, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service52, make29, layer21, node54, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, listWithRefs2, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|