@opencode/core 0.0.0-dev-1042 → 0.0.0-dev-1068
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 +245 -245
- package/dist/bus.js +84 -84
- package/dist/chunks/{bus-zk5ckyvg.js → model-resolver-06528xma.js} +11 -11
- package/dist/chunks/{bus-h6x9tj8n.js → model-resolver-06ktedhr.js} +5 -5
- package/dist/chunks/{bus-qrfb6w5q.js → model-resolver-0cm8w0h0.js} +12 -12
- package/dist/chunks/{bus-t9b3vnwe.js → model-resolver-0cvmjxzj.js} +8 -8
- package/dist/chunks/{bus-ey7q2a1x.js → model-resolver-0h8g3gpk.js} +9 -9
- package/dist/chunks/{bus-0ma9gw4f.js → model-resolver-0ma9gw4f.js} +2 -2
- package/dist/chunks/{bus-hky59wx7.js → model-resolver-0qshktxv.js} +19 -19
- package/dist/chunks/{bus-zymv40sd.js → model-resolver-0tqgq8fb.js} +37 -37
- package/dist/chunks/{bus-f0yx1d0v.js → model-resolver-0x1ky6tt.js} +13 -13
- package/dist/chunks/{bus-25hf0acc.js → model-resolver-11a2ypp9.js} +28 -28
- package/dist/chunks/{bus-nprzpnkx.js → model-resolver-17a8n8c0.js} +9 -9
- package/dist/chunks/{bus-8es3pha2.js → model-resolver-17b8a7h3.js} +9 -9
- package/dist/chunks/{bus-1aqsckx4.js → model-resolver-1aqsckx4.js} +1 -1
- package/dist/chunks/{bus-5fk6rhyy.js → model-resolver-1npjfhft.js} +6 -6
- package/dist/chunks/{bus-mfcfh2mw.js → model-resolver-1q5x92rn.js} +27 -27
- package/dist/chunks/{bus-1v2g13eq.js → model-resolver-1v2g13eq.js} +4 -4
- package/dist/chunks/{bus-1x2knyw4.js → model-resolver-1x2knyw4.js} +1 -1
- package/dist/chunks/{bus-1yq9hg58.js → model-resolver-1yq9hg58.js} +1 -1
- package/dist/chunks/{bus-25h84942.js → model-resolver-25h84942.js} +1 -1
- package/dist/chunks/{bus-tncgfpd3.js → model-resolver-26fw13qb.js} +15 -15
- package/dist/chunks/{bus-27w5k9zf.js → model-resolver-27w5k9zf.js} +2 -2
- package/dist/chunks/{bus-2fc7eemy.js → model-resolver-2fc7eemy.js} +1 -1
- package/dist/chunks/{bus-7j9nqbx0.js → model-resolver-2m009qsq.js} +33 -33
- package/dist/chunks/{bus-2p60zmnr.js → model-resolver-2p60zmnr.js} +2 -2
- package/dist/chunks/{bus-06176jfj.js → model-resolver-2sqf31vb.js} +9 -9
- package/dist/chunks/{bus-801676je.js → model-resolver-2w4q61kx.js} +168 -168
- package/dist/chunks/{bus-wnbdv4gz.js → model-resolver-2xatpdvx.js} +37 -37
- package/dist/chunks/{bus-ez6t7bp1.js → model-resolver-31r1zddx.js} +24 -24
- package/dist/chunks/{bus-3417wq9v.js → model-resolver-35dyh8zc.js} +16 -16
- package/dist/chunks/{bus-k8yah48n.js → model-resolver-39hag7pk.js} +8 -8
- package/dist/chunks/{bus-qe8jh99s.js → model-resolver-3bt7d27v.js} +10 -10
- package/dist/chunks/{bus-3cbjf1nt.js → model-resolver-3cbjf1nt.js} +2 -2
- package/dist/chunks/{bus-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-3nnrz6f6.js → model-resolver-3nnrz6f6.js} +1 -1
- package/dist/chunks/{bus-rkwzs9pn.js → model-resolver-3rjrr1qf.js} +22 -22
- package/dist/chunks/{bus-xacpxd3g.js → model-resolver-3v4axrb2.js} +14 -14
- package/dist/chunks/{bus-40y6dtc2.js → model-resolver-40y6dtc2.js} +1 -1
- package/dist/chunks/{bus-40za9wsf.js → model-resolver-40za9wsf.js} +2 -2
- package/dist/chunks/{bus-wgvnftve.js → model-resolver-43ws705g.js} +8 -8
- package/dist/chunks/{bus-44pmzq9c.js → model-resolver-44pmzq9c.js} +2 -2
- package/dist/chunks/{bus-1n53kyqe.js → model-resolver-4753k09j.js} +21 -21
- package/dist/chunks/{bus-74v5ckbq.js → model-resolver-49193vcf.js} +59 -59
- package/dist/chunks/{bus-6wq2d2af.js → model-resolver-4ckd9m63.js} +32 -32
- package/dist/chunks/{bus-4dx1dgte.js → model-resolver-4dx1dgte.js} +1 -1
- package/dist/chunks/{bus-4f25tdd0.js → model-resolver-4f25tdd0.js} +1 -1
- package/dist/chunks/{bus-4pyp9zr9.js → model-resolver-4pyp9zr9.js} +1 -1
- package/dist/chunks/{bus-j7vr9qw7.js → model-resolver-4r93zmvq.js} +3 -3
- package/dist/chunks/{bus-4v008n1t.js → model-resolver-4v008n1t.js} +1 -1
- package/dist/chunks/{bus-q6qcva9p.js → model-resolver-4xf3z6m9.js} +32 -32
- package/dist/chunks/{bus-7bqqe1yk.js → model-resolver-4xhtj8pt.js} +80 -80
- package/dist/chunks/{bus-9j8b0v77.js → model-resolver-4yfhkz4v.js} +13 -13
- package/dist/chunks/{bus-00fdt2tm.js → model-resolver-50wdvm75.js} +29 -29
- package/dist/chunks/{bus-ng6a0rc6.js → model-resolver-55esenn1.js} +31 -31
- package/dist/chunks/{bus-6cfzbdsr.js → model-resolver-55g2q5p5.js} +2 -2
- package/dist/chunks/{bus-nv9tsjma.js → model-resolver-58wf94jx.js} +6 -6
- package/dist/chunks/{bus-f8b6mfmk.js → model-resolver-5hkbkvpj.js} +44 -44
- package/dist/chunks/{bus-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
- package/dist/chunks/{bus-xp0aamge.js → model-resolver-5my9hbah.js} +3 -3
- package/dist/chunks/{bus-m1h42yqa.js → model-resolver-5nvv0hcr.js} +7 -7
- package/dist/chunks/{bus-8aatcdpk.js → model-resolver-5xn9kzfz.js} +4 -4
- package/dist/chunks/{bus-9etdqcxj.js → model-resolver-5zrq825g.js} +14 -14
- package/dist/chunks/{bus-rp82cnfd.js → model-resolver-65zzbc8y.js} +6 -6
- package/dist/chunks/{bus-xksw6ev0.js → model-resolver-67wwskyb.js} +4 -4
- package/dist/chunks/{bus-3g4ta2mf.js → model-resolver-6b4ce5nf.js} +25 -25
- package/dist/chunks/{bus-q5880n4k.js → model-resolver-6d5pjscs.js} +22 -22
- package/dist/chunks/{bus-7h63c6pd.js → model-resolver-6eentdsx.js} +24 -24
- package/dist/chunks/{bus-av2rnfm3.js → model-resolver-6shafxdq.js} +42 -42
- package/dist/chunks/{bus-f428d6bc.js → model-resolver-6xyar59c.js} +36 -36
- package/dist/chunks/{bus-n2qpmnf7.js → model-resolver-75ytegcn.js} +17 -17
- package/dist/chunks/{bus-80mg3ag8.js → model-resolver-775hqbnd.js} +3 -3
- package/dist/chunks/{bus-eywx1qkn.js → model-resolver-78b7n5g5.js} +6 -6
- package/dist/chunks/{bus-qkba2c8n.js → model-resolver-792zwxrf.js} +18 -18
- package/dist/chunks/{bus-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-rwkapwv8.js → model-resolver-7d5s4a2a.js} +18 -18
- package/dist/chunks/{bus-5t8he5w1.js → model-resolver-7gess8jg.js} +2 -2
- package/dist/chunks/{bus-658w8b62.js → model-resolver-7h8wa1fp.js} +29 -29
- package/dist/chunks/{bus-rtyb78q8.js → model-resolver-7jtz7qqk.js} +21 -21
- package/dist/chunks/{bus-9sk33afj.js → model-resolver-7nqkf5r1.js} +6 -6
- package/dist/chunks/{bus-56p6knmh.js → model-resolver-7thq429k.js} +28 -28
- package/dist/chunks/{bus-xwbhve7h.js → model-resolver-7v209rv6.js} +7 -7
- package/dist/chunks/{bus-7w2ypzdf.js → model-resolver-7w2ypzdf.js} +1 -1
- package/dist/chunks/{bus-7weczvnd.js → model-resolver-7weczvnd.js} +1 -1
- package/dist/chunks/{bus-6xp52zax.js → model-resolver-7x5h8fpa.js} +23 -23
- package/dist/chunks/{bus-80pdk984.js → model-resolver-80pdk984.js} +1 -1
- package/dist/chunks/{bus-dzymtfjj.js → model-resolver-82aw96te.js} +25 -25
- package/dist/chunks/{bus-85jq8dht.js → model-resolver-85jq8dht.js} +1 -1
- package/dist/chunks/{bus-gvvef5k8.js → model-resolver-85yc0hq8.js} +12 -12
- package/dist/chunks/{bus-q9qpc1pg.js → model-resolver-87567wwg.js} +5 -5
- package/dist/chunks/{bus-928yv3s6.js → model-resolver-87drpw4f.js} +11 -11
- package/dist/chunks/{bus-p6camsqx.js → model-resolver-8g9x758g.js} +14 -14
- package/dist/chunks/{bus-bza6pfvq.js → model-resolver-8hx1s2cj.js} +3 -3
- package/dist/chunks/{bus-1ykz8atw.js → model-resolver-8rpem33g.js} +15 -15
- package/dist/chunks/{bus-8wtp7s3z.js → model-resolver-8wtp7s3z.js} +1 -1
- package/dist/chunks/{bus-8z6m94af.js → model-resolver-8z6m94af.js} +3 -3
- package/dist/chunks/{bus-8zv0xmg5.js → model-resolver-8zv0xmg5.js} +1 -1
- package/dist/chunks/{bus-z080rjh6.js → model-resolver-90ct6wq4.js} +4 -4
- package/dist/chunks/{bus-kzdam8c6.js → model-resolver-93xmyh8q.js} +5 -5
- package/dist/chunks/{bus-dzxny3rz.js → model-resolver-95hq7g3b.js} +24 -15
- package/dist/chunks/{bus-963hk181.js → model-resolver-963hk181.js} +2 -2
- package/dist/chunks/{bus-1pa0bq3j.js → model-resolver-98sp2pny.js} +5 -5
- package/dist/chunks/{bus-d6mjcrv9.js → model-resolver-9btp5vxy.js} +13 -13
- package/dist/chunks/{bus-0ectkb14.js → model-resolver-9ev7ygax.js} +11 -11
- package/dist/chunks/{bus-m2nt66af.js → model-resolver-9n3fbx7h.js} +24 -24
- package/dist/chunks/{bus-9rqfe4ad.js → model-resolver-9rqfe4ad.js} +1 -1
- package/dist/chunks/{bus-6cqkw5v2.js → model-resolver-9rqhy0gk.js} +7 -7
- package/dist/chunks/{bus-qf1gd9f9.js → model-resolver-9yp5237e.js} +28 -28
- package/dist/chunks/{bus-gvjzqshq.js → model-resolver-9zm8sjf4.js} +34 -34
- package/dist/chunks/{bus-6nh09x13.js → model-resolver-9zmg7atm.js} +20 -20
- package/dist/chunks/{bus-t8jzx9s4.js → model-resolver-a98sp0g1.js} +8 -8
- package/dist/chunks/{bus-aj7mw0zk.js → model-resolver-aj7mw0zk.js} +2 -2
- package/dist/chunks/{bus-vfm7pq2k.js → model-resolver-amq75nvz.js} +10 -10
- package/dist/chunks/{bus-k48z3nds.js → model-resolver-aykkqzg3.js} +14 -14
- package/dist/chunks/{bus-e2hn6m9v.js → model-resolver-az8qmtt2.js} +16 -16
- package/dist/chunks/{bus-t3cgs4x0.js → model-resolver-b0xd6393.js} +13 -13
- package/dist/chunks/{bus-4fbn38qv.js → model-resolver-b18cfa8q.js} +25 -25
- package/dist/chunks/{bus-jxprk461.js → model-resolver-b1gg9skb.js} +22 -22
- package/dist/chunks/{bus-b26ddj6h.js → model-resolver-b26ddj6h.js} +4 -4
- package/dist/chunks/{bus-kp3zbcyf.js → model-resolver-b49zxgjn.js} +18 -18
- package/dist/chunks/{bus-8brp5tjd.js → model-resolver-b4vb2pfq.js} +14 -14
- package/dist/chunks/{bus-s8zkkj71.js → model-resolver-b58xfcba.js} +13 -13
- package/dist/chunks/{bus-m0yma98g.js → model-resolver-b5q7pf5w.js} +5 -5
- package/dist/chunks/{bus-bb3mmwvh.js → model-resolver-bb3mmwvh.js} +2 -2
- package/dist/chunks/{bus-r32r7z8r.js → model-resolver-bg0ex0t5.js} +6 -6
- package/dist/chunks/{bus-jkdcm5hg.js → model-resolver-bhfd478d.js} +4 -4
- package/dist/chunks/{bus-rd033cwh.js → model-resolver-bk0ps37x.js} +40 -40
- package/dist/chunks/{bus-j079p4r2.js → model-resolver-bnp39z5h.js} +16 -16
- package/dist/chunks/{bus-d95zeqcs.js → model-resolver-bsmq69am.js} +36 -36
- package/dist/chunks/{bus-xd9cc171.js → model-resolver-bstexjd6.js} +5 -5
- package/dist/chunks/{bus-7j5p66f9.js → model-resolver-bx8pztnv.js} +27 -27
- package/dist/chunks/{bus-0em17d49.js → model-resolver-byb3rb96.js} +6 -6
- package/dist/chunks/{bus-fcgtcm52.js → model-resolver-c07z8625.js} +8 -8
- package/dist/chunks/{bus-p3wvg938.js → model-resolver-c49p6f3h.js} +12 -12
- package/dist/chunks/{bus-3sa3aw4f.js → model-resolver-c6vzxs6d.js} +4 -4
- package/dist/chunks/{bus-wt99tj4q.js → model-resolver-c7cw818c.js} +5 -5
- package/dist/chunks/{bus-qsvk5dwx.js → model-resolver-c86nvdvs.js} +15 -15
- package/dist/chunks/{bus-cp4x1195.js → model-resolver-cbn53fmr.js} +12 -12
- package/dist/chunks/{bus-hdafr18b.js → model-resolver-ccs8qmvc.js} +6 -6
- package/dist/chunks/{bus-aqwkm5ba.js → model-resolver-cj56ej7w.js} +9 -9
- package/dist/chunks/{bus-mf67fygn.js → model-resolver-cmyxdsk8.js} +4 -4
- package/dist/chunks/{bus-p0tsr9h6.js → model-resolver-cpvd08na.js} +4 -4
- package/dist/chunks/{bus-bra5p0kf.js → model-resolver-cq3swvxg.js} +26 -26
- package/dist/chunks/{bus-mjj4mtkf.js → model-resolver-crxg2sgt.js} +26 -26
- package/dist/chunks/{bus-cwrgdav8.js → model-resolver-cwrgdav8.js} +2 -2
- package/dist/chunks/{bus-kz3t0brc.js → model-resolver-cyyhec7m.js} +11 -11
- package/dist/chunks/{bus-d4v9tmah.js → model-resolver-d4v9tmah.js} +2 -2
- package/dist/chunks/{bus-ep4f328x.js → model-resolver-d5n1z8ps.js} +33 -33
- package/dist/chunks/{bus-e9rgj90c.js → model-resolver-d84h616w.js} +5 -5
- package/dist/chunks/{bus-tse6wty1.js → model-resolver-db0xvntx.js} +10 -10
- package/dist/chunks/{bus-s818qefp.js → model-resolver-dbwvxspc.js} +5 -5
- package/dist/chunks/{bus-581b71gv.js → model-resolver-dchf7kry.js} +11 -11
- package/dist/chunks/{bus-k5yce6v3.js → model-resolver-dfxynx1c.js} +10 -10
- package/dist/chunks/{bus-k8thje4j.js → model-resolver-dnqgyvcs.js} +8 -8
- package/dist/chunks/{bus-dt77769w.js → model-resolver-dt77769w.js} +1 -1
- package/dist/chunks/{bus-1wh2zfrk.js → model-resolver-dynbdyen.js} +6 -6
- package/dist/chunks/{bus-ccsg3nm8.js → model-resolver-dz4yxwmg.js} +15 -15
- package/dist/chunks/{bus-63ctbp5a.js → model-resolver-e1wxfs9m.js} +10 -10
- package/dist/chunks/{bus-r2r9xwmr.js → model-resolver-e1yry2s0.js} +27 -27
- package/dist/chunks/{bus-vre17ymf.js → model-resolver-e8xb975w.js} +2 -2
- package/dist/chunks/{bus-h5rm7hp5.js → model-resolver-ehr25e9a.js} +21 -21
- package/dist/chunks/{bus-eqw4pqj1.js → model-resolver-eqw4pqj1.js} +2 -2
- package/dist/chunks/{bus-r7xar5ns.js → model-resolver-etrnj9s7.js} +8 -8
- package/dist/chunks/{bus-h53ewaq3.js → model-resolver-evnqzq7w.js} +13 -13
- package/dist/chunks/{bus-16scm4ef.js → model-resolver-exnqm7z8.js} +5 -5
- package/dist/chunks/{bus-b6n3k85m.js → model-resolver-f0da6bjj.js} +13 -13
- package/dist/chunks/{bus-f1estfch.js → model-resolver-f42cf6nm.js} +17 -17
- package/dist/chunks/{bus-eca0ka8c.js → model-resolver-f4cm2q9v.js} +7 -7
- package/dist/chunks/{bus-y645zrem.js → model-resolver-f63ezt36.js} +11 -11
- package/dist/chunks/{bus-198m81bp.js → model-resolver-f7ser9h2.js} +40 -40
- package/dist/chunks/{bus-3bgd5sjx.js → model-resolver-fcq67wpd.js} +8 -8
- package/dist/chunks/{bus-5h95z62t.js → model-resolver-ffgdk60a.js} +41 -41
- package/dist/chunks/{bus-fg9p65nk.js → model-resolver-fg9p65nk.js} +2 -2
- package/dist/chunks/{bus-dn0a84zb.js → model-resolver-fk4nyth7.js} +31 -31
- package/dist/chunks/{bus-j9h7e5k3.js → model-resolver-fmj7ae5v.js} +14 -14
- package/dist/chunks/{bus-73zbh47y.js → model-resolver-fpkkx19e.js} +21 -21
- package/dist/chunks/{bus-c8cdzs4e.js → model-resolver-fxx9kcym.js} +39 -39
- package/dist/chunks/{bus-nd6558ke.js → model-resolver-g3vv6jev.js} +34 -34
- package/dist/chunks/{bus-gbjdnr5j.js → model-resolver-gbjdnr5j.js} +2 -2
- package/dist/chunks/{bus-ghrv1g9c.js → model-resolver-ghrv1g9c.js} +1 -1
- package/dist/chunks/{bus-x666adrx.js → model-resolver-gthvtyvd.js} +4 -4
- package/dist/chunks/{bus-9gxaxr59.js → model-resolver-gtxcskxp.js} +53 -53
- package/dist/chunks/{bus-wc7kbwdp.js → model-resolver-gwyf32yk.js} +12 -12
- package/dist/chunks/{bus-ggx84v7x.js → model-resolver-gwyytpcj.js} +3 -3
- package/dist/chunks/{bus-gxs71cxp.js → model-resolver-gxs71cxp.js} +1 -1
- package/dist/chunks/{bus-9jj0wnay.js → model-resolver-h1cp8qpe.js} +16 -16
- package/dist/chunks/{bus-4xyjnezy.js → model-resolver-h1hexrfd.js} +9 -9
- package/dist/chunks/{bus-16wq0j6y.js → model-resolver-h2m6b1re.js} +49 -49
- package/dist/chunks/{bus-2vj8sj7w.js → model-resolver-h487vybe.js} +9 -9
- package/dist/chunks/{bus-94e33dpz.js → model-resolver-h5chy42v.js} +3 -3
- package/dist/chunks/model-resolver-h5r1a1rq.js +35 -0
- package/dist/chunks/{bus-ffw8jmjk.js → model-resolver-hetrbhsk.js} +8 -8
- package/dist/chunks/{bus-yzd8fzv9.js → model-resolver-hfd5ktcx.js} +20 -20
- package/dist/chunks/{bus-hgzwgvze.js → model-resolver-hgzwgvze.js} +2 -2
- package/dist/chunks/{bus-jqnjqztd.js → model-resolver-hsq20zcv.js} +22 -22
- package/dist/chunks/{bus-hy8c1z76.js → model-resolver-hy8c1z76.js} +1 -1
- package/dist/chunks/{bus-yt92m3sf.js → model-resolver-j8k1630m.js} +11 -11
- package/dist/chunks/{bus-ze75qvmd.js → model-resolver-j9nxzz3g.js} +3 -3
- package/dist/chunks/{bus-36ysmkbx.js → model-resolver-jgkg6v2s.js} +43 -43
- package/dist/chunks/{bus-5qtzhdys.js → model-resolver-jj37thjh.js} +20 -20
- package/dist/chunks/{bus-jm70asfg.js → model-resolver-jm70asfg.js} +1 -1
- package/dist/chunks/{bus-emgta0qf.js → model-resolver-jpfth5nx.js} +64 -64
- package/dist/chunks/{bus-xsvz6nty.js → model-resolver-jq1xz990.js} +32 -32
- package/dist/chunks/{bus-801bk1qd.js → model-resolver-jrg2cpfv.js} +40 -40
- package/dist/chunks/{bus-0015kxwm.js → model-resolver-jsha95z4.js} +3 -3
- package/dist/chunks/{bus-scmk72rv.js → model-resolver-jv5ccajn.js} +5 -5
- package/dist/chunks/{bus-rrym2d7k.js → model-resolver-jvcygd6j.js} +9 -9
- package/dist/chunks/model-resolver-jztn5z23.js +18 -0
- package/dist/chunks/{bus-6ma32zzk.js → model-resolver-k1ep0xm2.js} +2 -2
- package/dist/chunks/{bus-zcgyh6pc.js → model-resolver-k21m941d.js} +17 -17
- package/dist/chunks/{bus-c2ks2kp5.js → model-resolver-k7hryaa3.js} +4 -4
- package/dist/chunks/{bus-b1dp4yt3.js → model-resolver-kayh9rdk.js} +76 -76
- package/dist/chunks/{bus-9dmyw2j4.js → model-resolver-kcywyb0p.js} +10 -10
- package/dist/chunks/{bus-48rr5x9q.js → model-resolver-kejwcvw4.js} +31 -31
- package/dist/chunks/{bus-nyc4jwvb.js → model-resolver-kh0hrg97.js} +4 -4
- package/dist/chunks/{bus-nr915jn7.js → model-resolver-kj9n5bvh.js} +4 -4
- package/dist/chunks/{bus-z7df3a7e.js → model-resolver-krwrvjjq.js} +6 -6
- package/dist/chunks/{bus-kt3bjfbg.js → model-resolver-kt3bjfbg.js} +1 -1
- package/dist/chunks/{bus-dvh91sh2.js → model-resolver-kyy1gfks.js} +9 -9
- package/dist/chunks/{bus-kzczzf4v.js → model-resolver-kzczzf4v.js} +1 -1
- package/dist/chunks/{bus-m1714858.js → model-resolver-m1714858.js} +1 -1
- package/dist/chunks/{bus-5dysszqg.js → model-resolver-m18jwc4k.js} +36 -36
- package/dist/chunks/{bus-ywkrtdyp.js → model-resolver-m7jc1w2e.js} +4 -4
- package/dist/chunks/{bus-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-w9bwac65.js → model-resolver-mbvesg5z.js} +32 -32
- package/dist/chunks/{bus-zyaj2qhk.js → model-resolver-me2qbzxf.js} +11 -11
- package/dist/chunks/model-resolver-mjwn9j3n.js +16 -0
- package/dist/chunks/{bus-8v1093m8.js → model-resolver-mnftqprh.js} +14 -14
- package/dist/chunks/{bus-rh7s0vh6.js → model-resolver-ms5w709k.js} +22 -22
- package/dist/chunks/{bus-n320gsn2.js → model-resolver-n320gsn2.js} +1 -1
- package/dist/chunks/{bus-p94p4v4n.js → model-resolver-n3j33rb6.js} +4 -4
- package/dist/chunks/{bus-ebf8vqhv.js → model-resolver-n82shha9.js} +47 -47
- package/dist/chunks/{bus-d9htjgdm.js → model-resolver-n8452edb.js} +20 -20
- package/dist/chunks/{bus-79essn6v.js → model-resolver-namg35k6.js} +31 -31
- package/dist/chunks/{bus-s4pad48m.js → model-resolver-nb2zydgr.js} +3 -3
- package/dist/chunks/{bus-n8zbz3r6.js → model-resolver-nhrcjkad.js} +37 -37
- package/dist/chunks/{bus-d52ays1g.js → model-resolver-nm0y8vvv.js} +4 -4
- package/dist/chunks/{bus-yd8wpznk.js → model-resolver-nw5eecxx.js} +1 -1
- package/dist/chunks/{bus-nx4vzyjd.js → model-resolver-nx4vzyjd.js} +2 -2
- package/dist/chunks/{bus-6v88d4ef.js → model-resolver-p1v90pg2.js} +2 -2
- package/dist/chunks/{bus-s07mf38c.js → model-resolver-p3r8fd5g.js} +17 -17
- package/dist/chunks/{bus-cdbp2khs.js → model-resolver-p7naw18k.js} +15 -15
- package/dist/chunks/{bus-ecn0hng3.js → model-resolver-p8pjvayg.js} +3 -3
- package/dist/chunks/{bus-9h2twn7g.js → model-resolver-pacqxndm.js} +18 -18
- package/dist/chunks/model-resolver-pcqpq1e6.js +273 -0
- package/dist/chunks/{bus-0hm4tbfh.js → model-resolver-pfes22bt.js} +32 -32
- package/dist/chunks/{bus-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{bus-72db5z1x.js → model-resolver-psgk5a5e.js} +8 -8
- package/dist/chunks/{bus-rj7j5fvs.js → model-resolver-px7qpgcn.js} +4 -4
- package/dist/chunks/{bus-db70zt1b.js → model-resolver-pxp5g7gz.js} +18 -18
- package/dist/chunks/{bus-q42tzrxa.js → model-resolver-q42tzrxa.js} +1 -1
- package/dist/chunks/{bus-kxzeq1qr.js → model-resolver-qfa5h3p4.js} +14 -14
- package/dist/chunks/{bus-6h8vcvjm.js → model-resolver-qh5g3qaw.js} +9 -9
- package/dist/chunks/{bus-qp7r0hxv.js → model-resolver-qp7r0hxv.js} +1 -1
- package/dist/chunks/{bus-2mkcm49b.js → model-resolver-qqmh8y2m.js} +50 -50
- package/dist/chunks/{bus-jg11hrrc.js → model-resolver-qsdghx1p.js} +4 -4
- package/dist/chunks/{bus-k2eg62ex.js → model-resolver-qxnxqm31.js} +17 -17
- package/dist/chunks/{bus-r17fbvme.js → model-resolver-r17fbvme.js} +1 -1
- package/dist/chunks/{bus-v14nhabx.js → model-resolver-r1zvngnh.js} +6 -6
- package/dist/chunks/{bus-rnypq4p5.js → model-resolver-rb22zaf7.js} +28 -28
- package/dist/chunks/{bus-rb9dy4dg.js → model-resolver-rb9dy4dg.js} +1 -1
- package/dist/chunks/{bus-1vtvmq53.js → model-resolver-reyk2q93.js} +17 -17
- package/dist/chunks/{bus-rgc9cx3e.js → model-resolver-rgc9cx3e.js} +2 -2
- package/dist/chunks/{bus-2mbrdm9z.js → model-resolver-rgwx1hcw.js} +33 -33
- package/dist/chunks/{bus-0n2a1qk2.js → model-resolver-rk83tkpa.js} +17 -17
- package/dist/chunks/{bus-cftr61h9.js → model-resolver-rs885178.js} +85 -85
- package/dist/chunks/{bus-n8yxtff3.js → model-resolver-rtpa9tm7.js} +27 -27
- package/dist/chunks/{bus-z18wgake.js → model-resolver-rtw736n3.js} +5 -5
- package/dist/chunks/{bus-9ax4h32b.js → model-resolver-rwef9rmy.js} +26 -26
- package/dist/chunks/{bus-5whx36p1.js → model-resolver-s47rahr7.js} +4 -4
- package/dist/chunks/{bus-j98by1g6.js → model-resolver-s8pxrsbc.js} +31 -31
- package/dist/chunks/{bus-nbxakk53.js → model-resolver-s9jejje8.js} +24 -24
- package/dist/chunks/{bus-sbya78hr.js → model-resolver-sbya78hr.js} +1 -1
- package/dist/chunks/{bus-sqjzf8x2.js → model-resolver-sqjzf8x2.js} +1 -1
- package/dist/chunks/{bus-54t61653.js → model-resolver-ss9f7bas.js} +10 -10
- package/dist/chunks/{bus-svcy3p9a.js → model-resolver-svcy3p9a.js} +1 -1
- package/dist/chunks/{bus-xtvxmv3z.js → model-resolver-t2jj1q7e.js} +6 -6
- package/dist/chunks/{bus-556k5691.js → model-resolver-t8ypzn8d.js} +12 -12
- package/dist/chunks/{bus-t6f09pg1.js → model-resolver-ta9rgc0h.js} +6 -6
- package/dist/chunks/{bus-tb2mrvc9.js → model-resolver-tb2mrvc9.js} +1 -1
- package/dist/chunks/{bus-tbpn7jtk.js → model-resolver-tbpn7jtk.js} +1 -1
- package/dist/chunks/{bus-4x5z0db1.js → model-resolver-tcmxz86x.js} +5 -5
- package/dist/chunks/{bus-tczq8hjw.js → model-resolver-tczq8hjw.js} +1 -1
- package/dist/chunks/{bus-xtyctmh1.js → model-resolver-te5gs48x.js} +21 -21
- package/dist/chunks/{bus-ekb1srkm.js → model-resolver-temwch9p.js} +9 -9
- package/dist/chunks/{bus-8c3892rt.js → model-resolver-thrvbsj4.js} +7 -7
- package/dist/chunks/{bus-4ccyxzpx.js → model-resolver-tq2hyx43.js} +12 -12
- package/dist/chunks/{bus-tr8x705m.js → model-resolver-tr8x705m.js} +1 -1
- package/dist/chunks/{bus-bwtkx0y7.js → model-resolver-trbqn9p3.js} +24 -24
- package/dist/chunks/{bus-dcxs0b6s.js → model-resolver-trsfyz66.js} +25 -25
- package/dist/chunks/{bus-tvtps2q9.js → model-resolver-tvtps2q9.js} +1 -1
- package/dist/chunks/{bus-twssxy5n.js → model-resolver-twssxy5n.js} +2 -2
- package/dist/chunks/{bus-4zcepfyr.js → model-resolver-tycv7n3a.js} +4 -4
- package/dist/chunks/{bus-v2r1d0zg.js → model-resolver-v2r1d0zg.js} +1 -1
- package/dist/chunks/{bus-8cg9c955.js → model-resolver-v7fe1jbf.js} +9 -9
- package/dist/chunks/{bus-d8razpqw.js → model-resolver-vdtxassj.js} +16 -16
- package/dist/chunks/{bus-yrffr8qq.js → model-resolver-vf0wpess.js} +11 -11
- package/dist/chunks/{bus-8x6444sg.js → model-resolver-vfq85drt.js} +18 -18
- package/dist/chunks/{bus-8vfsrj74.js → model-resolver-vg6azxz0.js} +23 -23
- package/dist/chunks/{bus-ts77hb5k.js → model-resolver-vgv3jq4j.js} +19 -19
- package/dist/chunks/{bus-ewjc12ba.js → model-resolver-vj6zva4r.js} +18 -18
- package/dist/chunks/{bus-vjf35v1f.js → model-resolver-vjf35v1f.js} +1 -1
- package/dist/chunks/{bus-dshtyjtw.js → model-resolver-vzwtnhxx.js} +17 -17
- package/dist/chunks/{bus-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-mmx1mfjr.js → model-resolver-w79nt68w.js} +4 -4
- package/dist/chunks/{bus-p76me67c.js → model-resolver-w9w8mt4n.js} +4 -4
- package/dist/chunks/{bus-wakvkjy4.js → model-resolver-wakvkjy4.js} +1 -1
- package/dist/chunks/{bus-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{bus-tdnhqmff.js → model-resolver-weqc7sb9.js} +2 -2
- package/dist/chunks/{bus-1rdwhyj0.js → model-resolver-wh34prj5.js} +32 -32
- package/dist/chunks/{bus-9hr42dse.js → model-resolver-wk91ykzv.js} +9 -9
- package/dist/chunks/{bus-wr3re1en.js → model-resolver-wr3re1en.js} +1 -1
- package/dist/chunks/{bus-xd081837.js → model-resolver-ws1tm39k.js} +24 -24
- package/dist/chunks/{bus-d61yjsrc.js → model-resolver-wsagbhhp.js} +24 -24
- package/dist/chunks/{bus-ttm4wxh5.js → model-resolver-wv9dwejv.js} +9 -9
- package/dist/chunks/{bus-6y2b864j.js → model-resolver-wvr8xscb.js} +4 -4
- package/dist/chunks/{bus-32gk5by6.js → model-resolver-wvyxnda0.js} +18 -18
- package/dist/chunks/{bus-h51tqxww.js → model-resolver-wxp6j0kx.js} +373 -373
- package/dist/chunks/{bus-d45mbdg7.js → model-resolver-wy3jmvnp.js} +12 -12
- package/dist/chunks/{bus-gb1hs61z.js → model-resolver-x2mc8zy4.js} +39 -39
- package/dist/chunks/model-resolver-x62svs7s.js +201 -0
- package/dist/chunks/{bus-zd2c73rd.js → model-resolver-xbk1c74q.js} +12 -12
- package/dist/chunks/{bus-50pah8qy.js → model-resolver-xcag7p3f.js} +29 -29
- package/dist/chunks/{bus-v3rt7ekk.js → model-resolver-xd8pfjvv.js} +4 -4
- package/dist/chunks/{bus-npmkbx31.js → model-resolver-xfh1aj82.js} +7 -7
- package/dist/chunks/{bus-snyk3k0k.js → model-resolver-xhqs21mx.js} +36 -36
- package/dist/chunks/{bus-3adw4bt5.js → model-resolver-xjbsd7zy.js} +9 -9
- package/dist/chunks/{bus-xjr6c8m4.js → model-resolver-xjr6c8m4.js} +1 -1
- package/dist/chunks/{bus-151fqda0.js → model-resolver-y7js4jyr.js} +31 -31
- package/dist/chunks/{bus-vzwcg5h4.js → model-resolver-y7vcah9n.js} +3 -3
- package/dist/chunks/{bus-yb20nhc3.js → model-resolver-yb20nhc3.js} +1 -1
- package/dist/chunks/{bus-vdrdgm3z.js → model-resolver-ydpnjhqw.js} +6 -6
- package/dist/chunks/{bus-hj0xet7m.js → model-resolver-yepd7x5v.js} +5 -5
- package/dist/chunks/{bus-x10rxyj2.js → model-resolver-yf398m6s.js} +1 -1
- package/dist/chunks/{bus-yr705xyq.js → model-resolver-yr705xyq.js} +1 -1
- package/dist/chunks/{bus-yvtc2x31.js → model-resolver-yvtc2x31.js} +1 -1
- package/dist/chunks/{bus-z5geynz5.js → model-resolver-ywpn4wnv.js} +45 -45
- package/dist/chunks/{bus-y4n6pw34.js → model-resolver-yydqqga9.js} +4 -4
- package/dist/chunks/{bus-nkzb5f1v.js → model-resolver-z6g4szpb.js} +8 -8
- package/dist/chunks/{bus-zpdbqgja.js → model-resolver-zpdbqgja.js} +1 -1
- package/dist/chunks/{bus-cqt8w9dp.js → model-resolver-zsg4s0qd.js} +23 -23
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +9 -9
- 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 +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 +132 -132
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +132 -132
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +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 +100 -100
- 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 +109 -109
- 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 +85 -85
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +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 +118 -118
- package/dist/flag.js +133 -133
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +122 -122
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +112 -112
- 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 +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 +183 -183
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +429 -429
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +124 -124
- package/dist/mcp/instructions.js +187 -187
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +110 -110
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +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 +99 -99
- 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 +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +408 -408
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +131 -131
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
- 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 +1 -1
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +135 -135
- 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 +150 -150
- 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 +2 -2
- 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 +5 -5
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +9 -9
- 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 +99 -99
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- 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 +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +250 -250
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +258 -258
- 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 +246 -246
- package/dist/session/execution.js +169 -169
- package/dist/session/generate.js +207 -207
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +148 -148
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +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 +169 -169
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +167 -167
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +256 -256
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +164 -164
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +188 -188
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +238 -238
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +207 -207
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +246 -246
- package/dist/session/usage.js +1 -1
- package/dist/session.js +238 -238
- 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 +154 -154
- 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 +184 -184
- package/dist/tool/plugin/artifact.js +237 -237
- 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 +171 -171
- package/dist/tool/plugin/image-generate.js +248 -248
- 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 +147 -147
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +256 -256
- package/dist/tool/plugin/shell.js +244 -244
- package/dist/tool/plugin/skill.js +160 -160
- package/dist/tool/plugin/subagent.js +239 -239
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +165 -165
- 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 +165 -165
- 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 +101 -101
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +11 -11
- 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-zkbhzvnx.js +0 -16
- /package/dist/chunks/{bus-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kah00gy.js → model-resolver-1kah00gy.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4qk9sjk2.js → model-resolver-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-5w3e23ze.js → model-resolver-5w3e23ze.js} +0 -0
- /package/dist/chunks/{bus-6agm2x70.js → model-resolver-6agm2x70.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-beh6qq61.js → model-resolver-beh6qq61.js} +0 -0
- /package/dist/chunks/{bus-bhmrqjy3.js → model-resolver-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cqv5kn06.js → model-resolver-cqv5kn06.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-ean2d8b5.js → model-resolver-ean2d8b5.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fkpq3x5p.js → model-resolver-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jwr30sdr.js → model-resolver-jwr30sdr.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-m18g726c.js → model-resolver-m18g726c.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-nh4v3znn.js → model-resolver-nh4v3znn.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-p71gwv9c.js → model-resolver-p71gwv9c.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-syrav9an.js → model-resolver-syrav9an.js} +0 -0
- /package/dist/chunks/{bus-t03h4f5z.js → model-resolver-t03h4f5z.js} +0 -0
- /package/dist/chunks/{bus-ty7weeps.js → model-resolver-ty7weeps.js} +0 -0
- /package/dist/chunks/{bus-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
- /package/dist/chunks/{bus-vtarvj67.js → model-resolver-vtarvj67.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x4th4bpe.js → model-resolver-x4th4bpe.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-z0h12gs8.js → model-resolver-z0h12gs8.js} +0 -0
- /package/dist/chunks/{bus-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
- /package/dist/chunks/{bus-zxpyjp51.js → model-resolver-zxpyjp51.js} +0 -0
- /package/dist/chunks/{bus-zz5vv3aq.js → model-resolver-zz5vv3aq.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./model-resolver-gtxcskxp.js";
|
|
7
7
|
import {
|
|
8
8
|
Info10,
|
|
9
|
-
|
|
9
|
+
ID8,
|
|
10
10
|
Name2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-e1yry2s0.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill = {};
|
|
18
18
|
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin15,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
@@ -434,20 +434,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
434
434
|
var ReportContent2 = report_default;
|
|
435
435
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
436
436
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
437
|
-
var
|
|
437
|
+
var Plugin15 = define({
|
|
438
438
|
id: "opencode.skill",
|
|
439
439
|
effect: Effect.fn(function* (ctx) {
|
|
440
440
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
441
441
|
yield* ctx.skill.transform((editor) => {
|
|
442
442
|
editor.add(Info10.make({
|
|
443
|
-
id:
|
|
443
|
+
id: ID8.make("opencode"),
|
|
444
444
|
name: Name2.make("OpenCode"),
|
|
445
445
|
description: OpencodeDescription2,
|
|
446
446
|
path: AbsolutePath2.make("skill://opencode/SKILL.md"),
|
|
447
447
|
content: OpencodeContent2
|
|
448
448
|
}));
|
|
449
449
|
editor.add(Info10.make({
|
|
450
|
-
id:
|
|
450
|
+
id: ID8.make("report"),
|
|
451
451
|
name: Name2.make("Report"),
|
|
452
452
|
description: REPORT_DESCRIPTION,
|
|
453
453
|
path: AbsolutePath2.make("skill://report/SKILL.md"),
|
|
@@ -476,7 +476,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
476
476
|
`);
|
|
477
477
|
});
|
|
478
478
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
479
|
-
const config = yield*
|
|
479
|
+
const config = yield* Service78;
|
|
480
480
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
481
481
|
});
|
|
482
482
|
function terminal() {
|
|
@@ -490,4 +490,4 @@ function shell() {
|
|
|
490
490
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
491
491
|
}
|
|
492
492
|
|
|
493
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
493
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin15, exports_skill };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID19,
|
|
3
|
+
Service87
|
|
4
|
+
} from "./model-resolver-namg35k6.js";
|
|
5
5
|
import {
|
|
6
6
|
onSwitch2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-17a8n8c0.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/credential-settings.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -16,10 +16,10 @@ var activeCredential2 = Effect.fnUntraced(function* (ctx, integrationID) {
|
|
|
16
16
|
return { connection, credential };
|
|
17
17
|
});
|
|
18
18
|
var credentialSettings2 = Effect.fn("ProviderPlugin.credentialSettings")(function* (ctx, integrationID, select) {
|
|
19
|
-
const credentials = yield*
|
|
19
|
+
const credentials = yield* Service87;
|
|
20
20
|
const load = Effect.fn("ProviderPlugin.credentialSettings.load")(function* () {
|
|
21
21
|
const connection = yield* ctx.integration.connection.active(integrationID);
|
|
22
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
22
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID19.make(connection.id)) : undefined;
|
|
23
23
|
return stored ? select(stored.value) : {};
|
|
24
24
|
});
|
|
25
25
|
const current = { settings: yield* load() };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID17
|
|
3
|
+
} from "./model-resolver-50wdvm75.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-ydpnjhqw.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialSettings2,
|
|
9
9
|
metadataSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-ta9rgc0h.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
13
13
|
import { Effect } from "effect";
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Form } from "@opencode/schema/form";
|
|
16
|
-
var providerID =
|
|
16
|
+
var providerID = ID17.make("cloudflare-workers-ai");
|
|
17
17
|
var CloudflareWorkersAIPlugin2 = define({
|
|
18
18
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
19
19
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service81,
|
|
8
|
+
node82
|
|
9
|
+
} from "./model-resolver-9zmg7atm.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content4
|
|
12
|
+
} from "./model-resolver-pfes22bt.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-4pyp9zr9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -23,7 +23,7 @@ __export(exports_read_filesystem, {
|
|
|
23
23
|
BinaryFileError: () => BinaryFileError2,
|
|
24
24
|
DirectoryOffsetError: () => DirectoryOffsetError2,
|
|
25
25
|
FileContent: () => FileContent2,
|
|
26
|
-
ListEntry: () =>
|
|
26
|
+
ListEntry: () => ListEntry2,
|
|
27
27
|
ListPage: () => ListPage2,
|
|
28
28
|
MAX_MEDIA_INGEST_BYTES: () => MAX_MEDIA_INGEST_BYTES2,
|
|
29
29
|
MAX_READ_BYTES: () => MAX_READ_BYTES2,
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service34,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node37,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -92,7 +92,7 @@ var PageInput2 = Schema.Struct({
|
|
|
92
92
|
});
|
|
93
93
|
var FileContent2 = Schema.Struct({
|
|
94
94
|
type: Schema.Literal("file"),
|
|
95
|
-
...
|
|
95
|
+
...Content4.fields
|
|
96
96
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
97
97
|
|
|
98
98
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -104,20 +104,20 @@ class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
|
104
104
|
next: Schema.optionalKey(PositiveInt2)
|
|
105
105
|
}) {
|
|
106
106
|
}
|
|
107
|
-
var
|
|
107
|
+
var ListEntry2 = Schema.Struct({
|
|
108
108
|
path: RelativePath2,
|
|
109
109
|
type: Schema.Literals(["file", "directory", "symlink"])
|
|
110
110
|
}).annotate({ identifier: "ReadTool.ListEntry" });
|
|
111
111
|
|
|
112
112
|
class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
113
113
|
type: Schema.Literal("list-page"),
|
|
114
|
-
entries: Schema.Array(
|
|
114
|
+
entries: Schema.Array(ListEntry2),
|
|
115
115
|
truncated: Schema.Boolean,
|
|
116
116
|
next: Schema.optionalKey(PositiveInt2)
|
|
117
117
|
}) {
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
class
|
|
120
|
+
class Service34 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
121
121
|
}
|
|
122
122
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
123
123
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -237,7 +237,7 @@ var list = (items, page, sep = path.sep) => {
|
|
|
237
237
|
const offset = page.offset || 1;
|
|
238
238
|
const limit = Math.min(page.limit || MAX_READ_LINES2, MAX_READ_LINES2);
|
|
239
239
|
const visible = items.flatMap((item) => item.type === "other" ? [] : [
|
|
240
|
-
|
|
240
|
+
ListEntry2.make({
|
|
241
241
|
path: RelativePath2.make(item.name + (item.type === "directory" ? sep : "")),
|
|
242
242
|
type: item.type
|
|
243
243
|
})
|
|
@@ -360,13 +360,13 @@ var nthNewline = (bytes, count) => {
|
|
|
360
360
|
return index + 1;
|
|
361
361
|
}
|
|
362
362
|
};
|
|
363
|
-
var layer = Layer.effect(
|
|
364
|
-
const environment = yield*
|
|
365
|
-
return
|
|
363
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
364
|
+
const environment = yield* Service81;
|
|
365
|
+
return Service34.of({
|
|
366
366
|
list: environment.files.list,
|
|
367
367
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
368
368
|
});
|
|
369
369
|
}));
|
|
370
|
-
var
|
|
370
|
+
var node37 = makeLocationNode({ service: Service34, layer, deps: [node82] });
|
|
371
371
|
|
|
372
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, PathKindError2, DirectoryOffsetError2, PageInput2, FileContent2, TextPage2,
|
|
372
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, PathKindError2, DirectoryOffsetError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service34, read2, node37, exports_read_filesystem };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-h5r1a1rq.js";
|
|
4
4
|
import {
|
|
5
5
|
register2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-xjr6c8m4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tavily.ts
|
|
12
12
|
var exports_tavily = {};
|
|
13
13
|
__export(exports_tavily, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin6,
|
|
15
15
|
WebSearchTavily: () => exports_tavily,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Duration, Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "https://api.tavily.com/search";
|
|
22
22
|
var SearchRequest = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
search_depth: Schema.Literal("basic"),
|
|
@@ -32,7 +32,7 @@ var SearchResponse = Schema.Struct({
|
|
|
32
32
|
content: Schema.String
|
|
33
33
|
}))
|
|
34
34
|
});
|
|
35
|
-
var
|
|
35
|
+
var Plugin6 = define({
|
|
36
36
|
id: "opencode.websearch.tavily",
|
|
37
37
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
38
38
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -41,7 +41,7 @@ var Plugin5 = define({
|
|
|
41
41
|
name: "Tavily",
|
|
42
42
|
env: "TAVILY_API_KEY",
|
|
43
43
|
execute: (input, credential) => Effect.gen(function* () {
|
|
44
|
-
const request = yield* HttpClientRequest.post(
|
|
44
|
+
const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
45
45
|
"User-Agent": useragent2(ctx.app),
|
|
46
46
|
"X-Client-Name": "opencode2",
|
|
47
47
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -66,4 +66,4 @@ var Plugin5 = define({
|
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { endpoint6, Plugin6, exports_tavily };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
onSwitch2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-17a8n8c0.js";
|
|
4
4
|
import {
|
|
5
5
|
isLoggedIn2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-2p60zmnr.js";
|
|
7
7
|
import {
|
|
8
8
|
ID3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-reyk2q93.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/claude-agent/integration.ts
|
|
15
15
|
var exports_integration = {};
|
|
16
16
|
__export(exports_integration, {
|
|
17
17
|
ClaudeIntegration: () => exports_integration,
|
|
18
18
|
METHOD_ID: () => METHOD_ID2,
|
|
19
|
-
register: () =>
|
|
19
|
+
register: () => register3
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Stream, SubscriptionRef } from "effect";
|
|
22
22
|
var METHOD_ID2 = "claude-login";
|
|
23
|
-
var
|
|
23
|
+
var register3 = Effect.fn("ClaudeIntegration.register")(function* (ctx, status) {
|
|
24
24
|
yield* ctx.integration.transform((editor) => {
|
|
25
25
|
editor.update(ID3, (integration) => {
|
|
26
26
|
integration.name = "Claude Agent";
|
|
@@ -58,4 +58,4 @@ function problem(state) {
|
|
|
58
58
|
return;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
export { METHOD_ID2,
|
|
61
|
+
export { METHOD_ID2, register3, exports_integration };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-c6vzxs6d.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-8z6m94af.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRows2,
|
|
11
11
|
decodeMessageRowsWithRefs2,
|
|
12
12
|
load6
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-kcywyb0p.js";
|
|
14
14
|
import {
|
|
15
15
|
fromRow2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-55g2q5p5.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/store.ts
|
|
22
22
|
var exports_store = {};
|
|
23
23
|
__export(exports_store, {
|
|
24
24
|
ListInput: () => ListInput3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service74,
|
|
26
26
|
SessionStore: () => exports_store,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node75
|
|
28
28
|
});
|
|
29
29
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -54,9 +54,9 @@ var ListProjectInput = Schema.Struct({
|
|
|
54
54
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
55
55
|
var ListInput3 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service74 extends Context.Service()("@opencode/SessionStore") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
60
60
|
const { db } = yield* Service94;
|
|
61
61
|
const messageRows = Effect.fnUntraced(function* (input) {
|
|
62
62
|
const direction = input.cursor?.direction ?? "next";
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
71
71
|
return direction === "previous" ? rows.toReversed() : rows;
|
|
72
72
|
});
|
|
73
73
|
const messageRow = (messageID) => db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
74
|
-
return
|
|
74
|
+
return Service74.of({
|
|
75
75
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
76
76
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
77
77
|
return row ? fromRow2(row) : undefined;
|
|
@@ -143,6 +143,6 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
143
143
|
})
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node75 = makeGlobalNode({ service: Service74, layer, deps: [node96] });
|
|
147
147
|
|
|
148
|
-
export { ListInput3,
|
|
148
|
+
export { ListInput3, Service74, node75, exports_store };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service93,
|
|
3
|
+
node95
|
|
4
|
+
} from "./model-resolver-gwyf32yk.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __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,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID20,
|
|
20
|
+
Info: () => Info29,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError13,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service88,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When3,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer28,
|
|
29
|
+
node: () => node90,
|
|
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
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID20 = Form.ID;
|
|
39
|
+
var Info29 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When3 = Form.When;
|
|
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
|
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
47
|
class NotFoundError13 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
-
id:
|
|
48
|
+
id: ID20
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError13 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID20
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID20
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID20,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,10 +79,10 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service88 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer28 = Layer.effect(Service88, Effect.gen(function* () {
|
|
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")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
@@ -90,7 +90,7 @@ var layer29 = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
90
90
|
});
|
|
91
91
|
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError13({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID20.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer29 = Layer.effect(Service83, 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 Service88.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node90 = makeLocationNode({ service: Service88, layer: layer28, 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 {
|
|
319
|
+
export { ID20, Info29, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError13, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service88, layer28, node90, validateAnswer2, validateFields2, exports_form, Event20 };
|