@opencode/core 0.0.0-dev-1063 → 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 +86 -86
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +11 -11
- package/dist/artifact.js +249 -249
- package/dist/bus.js +84 -84
- package/dist/chunks/{model-retry-pc99nv90.js → model-resolver-06528xma.js} +11 -11
- package/dist/chunks/{model-retry-kkme10mv.js → model-resolver-06ktedhr.js} +5 -5
- package/dist/chunks/{model-retry-wytbxtva.js → model-resolver-0cm8w0h0.js} +18 -18
- package/dist/chunks/{model-retry-8nqscmn3.js → model-resolver-0cvmjxzj.js} +8 -8
- package/dist/chunks/{model-retry-7yv514tw.js → model-resolver-0h8g3gpk.js} +9 -9
- package/dist/chunks/{model-retry-0ma9gw4f.js → model-resolver-0ma9gw4f.js} +2 -2
- package/dist/chunks/{model-retry-5jjvx7xx.js → model-resolver-0qshktxv.js} +18 -18
- package/dist/chunks/{model-retry-jv1c2mep.js → model-resolver-0tqgq8fb.js} +15 -15
- package/dist/chunks/{model-retry-rpchbzyn.js → model-resolver-0x1ky6tt.js} +11 -11
- package/dist/chunks/{model-retry-a5zgnkhc.js → model-resolver-11a2ypp9.js} +29 -29
- package/dist/chunks/{model-retry-n92nzxqg.js → model-resolver-17a8n8c0.js} +9 -9
- package/dist/chunks/{model-retry-h9xvjfqn.js → model-resolver-17b8a7h3.js} +11 -11
- package/dist/chunks/{model-retry-1aqsckx4.js → model-resolver-1aqsckx4.js} +1 -1
- package/dist/chunks/{model-retry-v6xc68wk.js → model-resolver-1npjfhft.js} +6 -6
- package/dist/chunks/{model-retry-khsc2avm.js → model-resolver-1q5x92rn.js} +32 -32
- package/dist/chunks/{model-retry-msd2a3qm.js → model-resolver-1v2g13eq.js} +4 -4
- package/dist/chunks/{model-retry-1x2knyw4.js → model-resolver-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-retry-1yq9hg58.js → model-resolver-1yq9hg58.js} +1 -1
- package/dist/chunks/{model-retry-8b3vzgkx.js → model-resolver-25h84942.js} +4 -4
- package/dist/chunks/{model-retry-bz3jd329.js → model-resolver-26fw13qb.js} +15 -15
- package/dist/chunks/{model-retry-27w5k9zf.js → model-resolver-27w5k9zf.js} +2 -2
- package/dist/chunks/{model-retry-2fc7eemy.js → model-resolver-2fc7eemy.js} +1 -1
- package/dist/chunks/{model-retry-1j97zecb.js → model-resolver-2m009qsq.js} +33 -33
- package/dist/chunks/{model-retry-2p60zmnr.js → model-resolver-2p60zmnr.js} +2 -2
- package/dist/chunks/{model-retry-dcd3jvzc.js → model-resolver-2sqf31vb.js} +9 -9
- package/dist/chunks/{model-retry-49astqp4.js → model-resolver-2w4q61kx.js} +149 -149
- package/dist/chunks/{model-retry-daqw37vd.js → model-resolver-2xatpdvx.js} +34 -34
- package/dist/chunks/{model-retry-cnxvbybj.js → model-resolver-31r1zddx.js} +24 -24
- package/dist/chunks/{model-retry-wjnrxsxy.js → model-resolver-35dyh8zc.js} +16 -16
- package/dist/chunks/{model-retry-7knzxrdv.js → model-resolver-39hag7pk.js} +6 -6
- package/dist/chunks/{model-retry-v1wmg1k9.js → model-resolver-3bt7d27v.js} +19 -19
- package/dist/chunks/{model-retry-3cbjf1nt.js → model-resolver-3cbjf1nt.js} +2 -2
- package/dist/chunks/{model-retry-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-retry-3nnrz6f6.js → model-resolver-3nnrz6f6.js} +1 -1
- package/dist/chunks/{model-retry-461vpj4m.js → model-resolver-3rjrr1qf.js} +3 -3
- package/dist/chunks/{model-retry-bwf07z9j.js → model-resolver-3v4axrb2.js} +21 -21
- package/dist/chunks/{model-retry-40y6dtc2.js → model-resolver-40y6dtc2.js} +1 -1
- package/dist/chunks/{model-retry-r41sfy63.js → model-resolver-40za9wsf.js} +6 -6
- package/dist/chunks/{model-retry-3c7qpzd7.js → model-resolver-43ws705g.js} +8 -8
- package/dist/chunks/{model-retry-44pmzq9c.js → model-resolver-44pmzq9c.js} +2 -2
- package/dist/chunks/{model-retry-sz25a87n.js → model-resolver-4753k09j.js} +21 -21
- package/dist/chunks/{model-retry-yf4f4ny8.js → model-resolver-49193vcf.js} +59 -59
- package/dist/chunks/{model-retry-19avat12.js → model-resolver-4ckd9m63.js} +25 -25
- package/dist/chunks/{model-retry-4dx1dgte.js → model-resolver-4dx1dgte.js} +1 -1
- package/dist/chunks/{model-retry-4f25tdd0.js → model-resolver-4f25tdd0.js} +1 -1
- package/dist/chunks/{model-retry-4pyp9zr9.js → model-resolver-4pyp9zr9.js} +1 -1
- package/dist/chunks/{model-retry-7jevyppt.js → model-resolver-4r93zmvq.js} +3 -3
- package/dist/chunks/{model-retry-4v008n1t.js → model-resolver-4v008n1t.js} +1 -1
- package/dist/chunks/{model-retry-7ad9y1ne.js → model-resolver-4xf3z6m9.js} +33 -33
- package/dist/chunks/{model-retry-xx2bks1j.js → model-resolver-4xhtj8pt.js} +93 -93
- package/dist/chunks/{model-retry-vw3yn5a4.js → model-resolver-4yfhkz4v.js} +12 -12
- package/dist/chunks/{model-retry-y7qawec5.js → model-resolver-50wdvm75.js} +22 -22
- package/dist/chunks/{model-retry-1gpv500n.js → model-resolver-55esenn1.js} +31 -31
- package/dist/chunks/{model-retry-x150ncgg.js → model-resolver-55g2q5p5.js} +2 -2
- package/dist/chunks/{model-retry-c4970w7t.js → model-resolver-58wf94jx.js} +4 -4
- package/dist/chunks/{model-retry-gy98380h.js → model-resolver-5hkbkvpj.js} +41 -41
- package/dist/chunks/{model-retry-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-retry-jkxe4gm6.js → model-resolver-5my9hbah.js} +3 -3
- package/dist/chunks/{model-retry-v8drvm06.js → model-resolver-5nvv0hcr.js} +9 -9
- package/dist/chunks/{model-retry-rj3e5mt0.js → model-resolver-5xn9kzfz.js} +4 -4
- package/dist/chunks/{model-retry-qy10zj0h.js → model-resolver-5zrq825g.js} +18 -18
- package/dist/chunks/{model-retry-edm37t96.js → model-resolver-65zzbc8y.js} +3 -3
- package/dist/chunks/{model-retry-rt5qjrvj.js → model-resolver-67wwskyb.js} +4 -4
- package/dist/chunks/{model-retry-d4cn1j0j.js → model-resolver-6b4ce5nf.js} +25 -25
- package/dist/chunks/{model-retry-58ng2s68.js → model-resolver-6d5pjscs.js} +13 -13
- package/dist/chunks/{model-retry-x9ns6bvg.js → model-resolver-6eentdsx.js} +22 -22
- package/dist/chunks/{model-retry-8fdmasbt.js → model-resolver-6shafxdq.js} +52 -52
- package/dist/chunks/{model-retry-c1njvmmr.js → model-resolver-6xyar59c.js} +34 -34
- package/dist/chunks/{model-retry-9wpdsx26.js → model-resolver-75ytegcn.js} +25 -25
- package/dist/chunks/{model-retry-775hqbnd.js → model-resolver-775hqbnd.js} +3 -3
- package/dist/chunks/{model-retry-zrnr92js.js → model-resolver-78b7n5g5.js} +6 -6
- package/dist/chunks/{model-retry-avtca5ff.js → model-resolver-792zwxrf.js} +13 -13
- package/dist/chunks/{model-retry-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-retry-k6hvxyqk.js → model-resolver-7d5s4a2a.js} +18 -18
- package/dist/chunks/{model-retry-gkjtf6r3.js → model-resolver-7gess8jg.js} +5 -5
- package/dist/chunks/{model-retry-se84e5kf.js → model-resolver-7h8wa1fp.js} +36 -36
- package/dist/chunks/{model-retry-q4fknq7x.js → model-resolver-7jtz7qqk.js} +20 -20
- package/dist/chunks/{model-retry-a0f8fvmt.js → model-resolver-7nqkf5r1.js} +6 -6
- package/dist/chunks/{model-retry-10bttd1c.js → model-resolver-7thq429k.js} +26 -26
- package/dist/chunks/{model-retry-2xavcrc6.js → model-resolver-7v209rv6.js} +7 -7
- package/dist/chunks/{model-retry-7w2ypzdf.js → model-resolver-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-retry-7weczvnd.js → model-resolver-7weczvnd.js} +1 -1
- package/dist/chunks/{model-retry-e05q9fj3.js → model-resolver-7x5h8fpa.js} +20 -20
- package/dist/chunks/{model-retry-80pdk984.js → model-resolver-80pdk984.js} +1 -1
- package/dist/chunks/{model-retry-sw9vjmch.js → model-resolver-82aw96te.js} +23 -23
- package/dist/chunks/{model-retry-85jq8dht.js → model-resolver-85jq8dht.js} +1 -1
- package/dist/chunks/{model-retry-1wyx1g33.js → model-resolver-85yc0hq8.js} +12 -12
- package/dist/chunks/{model-retry-wy8qrs1m.js → model-resolver-87567wwg.js} +3 -3
- package/dist/chunks/{model-retry-see60j9q.js → model-resolver-87drpw4f.js} +11 -11
- package/dist/chunks/{model-retry-9b5pg85y.js → model-resolver-8g9x758g.js} +8 -8
- package/dist/chunks/{model-retry-ce0nvsd2.js → model-resolver-8hx1s2cj.js} +3 -3
- package/dist/chunks/{model-retry-cavny3st.js → model-resolver-8rpem33g.js} +17 -17
- package/dist/chunks/{model-retry-8wtp7s3z.js → model-resolver-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-retry-8z6m94af.js → model-resolver-8z6m94af.js} +3 -3
- package/dist/chunks/{model-retry-8zv0xmg5.js → model-resolver-8zv0xmg5.js} +1 -1
- package/dist/chunks/{model-retry-anvcme1c.js → model-resolver-90ct6wq4.js} +4 -4
- package/dist/chunks/{model-retry-2bswbpgz.js → model-resolver-93xmyh8q.js} +7 -7
- package/dist/chunks/{model-retry-w0avypsn.js → model-resolver-95hq7g3b.js} +5 -5
- package/dist/chunks/{model-retry-963hk181.js → model-resolver-963hk181.js} +2 -2
- package/dist/chunks/{model-retry-ngcw1c4b.js → model-resolver-98sp2pny.js} +5 -5
- package/dist/chunks/model-resolver-9btp5vxy.js +26 -0
- package/dist/chunks/{model-retry-bd8h3vex.js → model-resolver-9ev7ygax.js} +11 -11
- package/dist/chunks/{model-retry-b49a18dh.js → model-resolver-9n3fbx7h.js} +24 -24
- package/dist/chunks/{model-retry-t48jrnqq.js → model-resolver-9rqfe4ad.js} +3 -3
- package/dist/chunks/{model-retry-v2x06h94.js → model-resolver-9rqhy0gk.js} +7 -7
- package/dist/chunks/{model-retry-zq70c3fj.js → model-resolver-9yp5237e.js} +23 -23
- package/dist/chunks/{model-retry-6cyzbmrv.js → model-resolver-9zm8sjf4.js} +40 -40
- package/dist/chunks/{model-retry-ak2xzpqz.js → model-resolver-9zmg7atm.js} +20 -20
- package/dist/chunks/{model-retry-4k2c81k4.js → model-resolver-a98sp0g1.js} +6 -6
- package/dist/chunks/{model-retry-aj7mw0zk.js → model-resolver-aj7mw0zk.js} +2 -2
- package/dist/chunks/{model-retry-th79ewyv.js → model-resolver-amq75nvz.js} +7 -7
- package/dist/chunks/{model-retry-pebyzz0n.js → model-resolver-aykkqzg3.js} +12 -12
- package/dist/chunks/{model-retry-dbmdnf83.js → model-resolver-az8qmtt2.js} +16 -16
- package/dist/chunks/{model-retry-e1pw9yh5.js → model-resolver-b0xd6393.js} +13 -13
- package/dist/chunks/{model-retry-ypybfkk0.js → model-resolver-b18cfa8q.js} +25 -25
- package/dist/chunks/{model-retry-sq79gphe.js → model-resolver-b1gg9skb.js} +25 -25
- package/dist/chunks/{model-retry-b26ddj6h.js → model-resolver-b26ddj6h.js} +4 -4
- package/dist/chunks/{model-retry-fkqdcdp4.js → model-resolver-b49zxgjn.js} +18 -18
- package/dist/chunks/{model-retry-b30tdb24.js → model-resolver-b4vb2pfq.js} +14 -14
- package/dist/chunks/{model-retry-pdaj8qbc.js → model-resolver-b58xfcba.js} +13 -13
- package/dist/chunks/{model-retry-2y341b5t.js → model-resolver-b5q7pf5w.js} +5 -5
- package/dist/chunks/{model-retry-bb3mmwvh.js → model-resolver-bb3mmwvh.js} +2 -2
- package/dist/chunks/{model-retry-1tz2kwyc.js → model-resolver-bg0ex0t5.js} +4 -4
- package/dist/chunks/{model-retry-jkdcm5hg.js → model-resolver-bhfd478d.js} +4 -4
- package/dist/chunks/{model-retry-p664yqdp.js → model-resolver-bk0ps37x.js} +32 -32
- package/dist/chunks/{model-retry-xhdzxv2d.js → model-resolver-bnp39z5h.js} +12 -12
- package/dist/chunks/{model-retry-0x3qq8ad.js → model-resolver-bsmq69am.js} +33 -33
- package/dist/chunks/{model-retry-bstexjd6.js → model-resolver-bstexjd6.js} +1 -1
- package/dist/chunks/{model-retry-xd8gvm55.js → model-resolver-bx8pztnv.js} +30 -30
- package/dist/chunks/{model-retry-0wqvtycd.js → model-resolver-byb3rb96.js} +6 -6
- package/dist/chunks/{model-retry-v40cwbah.js → model-resolver-c07z8625.js} +6 -6
- package/dist/chunks/{model-retry-0ab3knej.js → model-resolver-c49p6f3h.js} +12 -12
- package/dist/chunks/{model-retry-nh2stm5b.js → model-resolver-c6vzxs6d.js} +12 -12
- package/dist/chunks/{model-retry-c7cw818c.js → model-resolver-c7cw818c.js} +2 -2
- package/dist/chunks/{model-retry-wcfpfg7y.js → model-resolver-c86nvdvs.js} +15 -15
- package/dist/chunks/{model-retry-gvg2rszq.js → model-resolver-cbn53fmr.js} +12 -12
- package/dist/chunks/{model-retry-6z91hwt5.js → model-resolver-ccs8qmvc.js} +4 -4
- package/dist/chunks/{model-retry-yfm9gxzx.js → model-resolver-cj56ej7w.js} +10 -10
- package/dist/chunks/{model-retry-yc146ktt.js → model-resolver-cmyxdsk8.js} +4 -4
- package/dist/chunks/{model-retry-c6x7d2ts.js → model-resolver-cpvd08na.js} +4 -4
- package/dist/chunks/{model-retry-jqydmcqv.js → model-resolver-cq3swvxg.js} +41 -41
- package/dist/chunks/{model-retry-8jzb4pp6.js → model-resolver-crxg2sgt.js} +28 -28
- package/dist/chunks/{model-retry-cwrgdav8.js → model-resolver-cwrgdav8.js} +2 -2
- package/dist/chunks/{model-retry-9eeh18t4.js → model-resolver-cyyhec7m.js} +11 -11
- package/dist/chunks/{model-retry-d4v9tmah.js → model-resolver-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-retry-8yz9yxv8.js → model-resolver-d5n1z8ps.js} +39 -39
- package/dist/chunks/{model-retry-t8npn5et.js → model-resolver-d84h616w.js} +2 -2
- package/dist/chunks/{model-retry-7x320ssa.js → model-resolver-db0xvntx.js} +10 -10
- package/dist/chunks/{model-retry-bh8z3mjv.js → model-resolver-dbwvxspc.js} +5 -5
- package/dist/chunks/{model-retry-64997449.js → model-resolver-dchf7kry.js} +11 -11
- package/dist/chunks/{model-retry-2btjqdw9.js → model-resolver-dfxynx1c.js} +13 -13
- package/dist/chunks/{model-retry-5cr30h4q.js → model-resolver-dnqgyvcs.js} +8 -8
- package/dist/chunks/{model-retry-dt77769w.js → model-resolver-dt77769w.js} +1 -1
- package/dist/chunks/{model-retry-6ckxc65a.js → model-resolver-dynbdyen.js} +3 -3
- package/dist/chunks/{model-retry-2q020x4j.js → model-resolver-dz4yxwmg.js} +18 -18
- package/dist/chunks/{model-retry-shsabhn6.js → model-resolver-e1wxfs9m.js} +10 -10
- package/dist/chunks/{model-retry-ayjza53k.js → model-resolver-e1yry2s0.js} +20 -20
- package/dist/chunks/{model-retry-r45nfa48.js → model-resolver-e8xb975w.js} +9 -9
- package/dist/chunks/{model-retry-9d7e85zn.js → model-resolver-ehr25e9a.js} +21 -21
- package/dist/chunks/{model-retry-eqw4pqj1.js → model-resolver-eqw4pqj1.js} +2 -2
- package/dist/chunks/{model-retry-233argac.js → model-resolver-etrnj9s7.js} +6 -6
- package/dist/chunks/{model-retry-dfbf8dz5.js → model-resolver-evnqzq7w.js} +13 -13
- package/dist/chunks/{model-retry-hsxn8vdk.js → model-resolver-exnqm7z8.js} +3 -3
- package/dist/chunks/{model-retry-k57jes72.js → model-resolver-f0da6bjj.js} +15 -15
- package/dist/chunks/{model-retry-6cspqxjw.js → model-resolver-f42cf6nm.js} +17 -17
- package/dist/chunks/{model-retry-rj0s2vsp.js → model-resolver-f4cm2q9v.js} +7 -7
- package/dist/chunks/{model-retry-4qbyyyq5.js → model-resolver-f63ezt36.js} +11 -11
- package/dist/chunks/{model-retry-1cect6gc.js → model-resolver-f7ser9h2.js} +43 -43
- package/dist/chunks/{model-retry-wpj3mq6t.js → model-resolver-fcq67wpd.js} +5 -5
- package/dist/chunks/{model-retry-fj34de5z.js → model-resolver-ffgdk60a.js} +34 -34
- package/dist/chunks/{model-retry-fg9p65nk.js → model-resolver-fg9p65nk.js} +2 -2
- package/dist/chunks/{model-retry-bbagp5t9.js → model-resolver-fk4nyth7.js} +21 -21
- package/dist/chunks/{model-retry-mq0bmx9g.js → model-resolver-fmj7ae5v.js} +18 -18
- package/dist/chunks/{model-retry-ppjw42km.js → model-resolver-fpkkx19e.js} +16 -16
- package/dist/chunks/{model-retry-62064eay.js → model-resolver-fxx9kcym.js} +43 -43
- package/dist/chunks/{model-retry-18fchrwq.js → model-resolver-g3vv6jev.js} +31 -31
- package/dist/chunks/{model-retry-gbjdnr5j.js → model-resolver-gbjdnr5j.js} +2 -2
- package/dist/chunks/{model-retry-ghrv1g9c.js → model-resolver-ghrv1g9c.js} +1 -1
- package/dist/chunks/{model-retry-224tp79f.js → model-resolver-gthvtyvd.js} +10 -10
- package/dist/chunks/{model-retry-cgemq9va.js → model-resolver-gtxcskxp.js} +50 -50
- package/dist/chunks/{model-retry-9g1enhg0.js → model-resolver-gwyf32yk.js} +16 -16
- package/dist/chunks/{model-retry-w75qynz4.js → model-resolver-gwyytpcj.js} +6 -6
- package/dist/chunks/{model-retry-tg7s7b5t.js → model-resolver-gxs71cxp.js} +4 -4
- package/dist/chunks/{model-retry-x7dr9wtp.js → model-resolver-h1cp8qpe.js} +18 -18
- package/dist/chunks/{model-retry-vgs3tmp3.js → model-resolver-h1hexrfd.js} +9 -9
- package/dist/chunks/{model-retry-ta92nb8a.js → model-resolver-h2m6b1re.js} +55 -55
- package/dist/chunks/{model-retry-tmr9yjpj.js → model-resolver-h487vybe.js} +7 -7
- package/dist/chunks/{model-retry-04qc8z7j.js → model-resolver-h5chy42v.js} +3 -3
- package/dist/chunks/model-resolver-h5r1a1rq.js +35 -0
- package/dist/chunks/{model-retry-bhpk62b9.js → model-resolver-hetrbhsk.js} +8 -8
- package/dist/chunks/{model-retry-vpgfvngc.js → model-resolver-hfd5ktcx.js} +23 -23
- package/dist/chunks/{model-retry-hgzwgvze.js → model-resolver-hgzwgvze.js} +2 -2
- package/dist/chunks/{model-retry-h0d0h288.js → model-resolver-hsq20zcv.js} +24 -24
- package/dist/chunks/{model-retry-tg1vr1qt.js → model-resolver-hy8c1z76.js} +8 -8
- package/dist/chunks/{model-retry-8qdr79jy.js → model-resolver-j8k1630m.js} +11 -11
- package/dist/chunks/{model-retry-j9nxzz3g.js → model-resolver-j9nxzz3g.js} +3 -3
- package/dist/chunks/{model-retry-3t0ff0x5.js → model-resolver-jgkg6v2s.js} +25 -25
- package/dist/chunks/{model-retry-4m67jbdm.js → model-resolver-jj37thjh.js} +12 -12
- package/dist/chunks/{model-retry-jm70asfg.js → model-resolver-jm70asfg.js} +1 -1
- package/dist/chunks/{model-retry-dh5k9yhz.js → model-resolver-jpfth5nx.js} +54 -54
- package/dist/chunks/{model-retry-gn9y5s18.js → model-resolver-jq1xz990.js} +32 -32
- package/dist/chunks/{model-retry-a8s6gz3j.js → model-resolver-jrg2cpfv.js} +22 -22
- package/dist/chunks/{model-retry-4z989wmk.js → model-resolver-jsha95z4.js} +3 -3
- package/dist/chunks/{model-retry-y3p3hzkr.js → model-resolver-jv5ccajn.js} +5 -5
- package/dist/chunks/{model-retry-cjqsf6bw.js → model-resolver-jvcygd6j.js} +9 -9
- package/dist/chunks/model-resolver-jztn5z23.js +18 -0
- package/dist/chunks/{model-retry-rscs01kg.js → model-resolver-k1ep0xm2.js} +2 -2
- package/dist/chunks/{model-retry-mr46kq96.js → model-resolver-k21m941d.js} +11 -11
- package/dist/chunks/{model-retry-cq9ym2th.js → model-resolver-k7hryaa3.js} +4 -4
- package/dist/chunks/{model-retry-che3sqdn.js → model-resolver-kayh9rdk.js} +86 -86
- package/dist/chunks/{model-retry-p8cqk0fa.js → model-resolver-kcywyb0p.js} +10 -10
- package/dist/chunks/{model-retry-vr8z95kg.js → model-resolver-kejwcvw4.js} +16 -16
- package/dist/chunks/{model-retry-0c7bpw4e.js → model-resolver-kh0hrg97.js} +4 -4
- package/dist/chunks/{model-retry-k46dd5bg.js → model-resolver-kj9n5bvh.js} +4 -4
- package/dist/chunks/{model-retry-zvrv6acg.js → model-resolver-krwrvjjq.js} +3 -3
- package/dist/chunks/{model-retry-kt3bjfbg.js → model-resolver-kt3bjfbg.js} +1 -1
- package/dist/chunks/{model-retry-4wsjjvd5.js → model-resolver-kyy1gfks.js} +9 -9
- package/dist/chunks/{model-retry-kzczzf4v.js → model-resolver-kzczzf4v.js} +1 -1
- package/dist/chunks/{model-retry-m1714858.js → model-resolver-m1714858.js} +1 -1
- package/dist/chunks/{model-retry-9xatmekb.js → model-resolver-m18jwc4k.js} +30 -30
- package/dist/chunks/{model-retry-9x6a782r.js → model-resolver-m7jc1w2e.js} +4 -4
- package/dist/chunks/{model-retry-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-retry-9amjngmr.js → model-resolver-mbvesg5z.js} +33 -33
- package/dist/chunks/{model-retry-bqnf2xa3.js → model-resolver-me2qbzxf.js} +5 -5
- package/dist/chunks/model-resolver-mjwn9j3n.js +16 -0
- package/dist/chunks/{model-retry-qzts29w1.js → model-resolver-mnftqprh.js} +14 -14
- package/dist/chunks/{model-retry-8d82pbhg.js → model-resolver-ms5w709k.js} +18 -18
- package/dist/chunks/{model-retry-n320gsn2.js → model-resolver-n320gsn2.js} +1 -1
- package/dist/chunks/{model-retry-t62dywgn.js → model-resolver-n3j33rb6.js} +4 -4
- package/dist/chunks/{model-retry-8bwrafk7.js → model-resolver-n82shha9.js} +41 -41
- package/dist/chunks/{model-retry-nbbn0k3v.js → model-resolver-n8452edb.js} +22 -22
- package/dist/chunks/{model-retry-fmbmyz0a.js → model-resolver-namg35k6.js} +33 -33
- package/dist/chunks/{model-retry-gd8a3j2q.js → model-resolver-nb2zydgr.js} +1 -1
- package/dist/chunks/{model-retry-0jzm810r.js → model-resolver-nhrcjkad.js} +39 -39
- package/dist/chunks/{model-retry-yyv178x8.js → model-resolver-nm0y8vvv.js} +4 -4
- package/dist/chunks/{model-retry-b7nkz392.js → model-resolver-nw5eecxx.js} +1 -1
- package/dist/chunks/{model-retry-nx4vzyjd.js → model-resolver-nx4vzyjd.js} +2 -2
- package/dist/chunks/{model-retry-gzr3e3k6.js → model-resolver-p1v90pg2.js} +2 -2
- package/dist/chunks/{model-retry-hj9qde8t.js → model-resolver-p3r8fd5g.js} +11 -11
- package/dist/chunks/{model-retry-12yrhvkt.js → model-resolver-p7naw18k.js} +15 -15
- package/dist/chunks/{model-retry-yk4ram99.js → model-resolver-p8pjvayg.js} +3 -3
- package/dist/chunks/{model-retry-n42snndf.js → model-resolver-pacqxndm.js} +18 -18
- package/dist/chunks/model-resolver-pcqpq1e6.js +273 -0
- package/dist/chunks/{model-retry-9zce04t0.js → model-resolver-pfes22bt.js} +32 -32
- package/dist/chunks/{model-retry-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{model-retry-tc3psh6n.js → model-resolver-psgk5a5e.js} +2 -2
- package/dist/chunks/{model-retry-229tvxdn.js → model-resolver-px7qpgcn.js} +4 -4
- package/dist/chunks/{model-retry-az51r80s.js → model-resolver-pxp5g7gz.js} +16 -16
- package/dist/chunks/{model-retry-q42tzrxa.js → model-resolver-q42tzrxa.js} +1 -1
- package/dist/chunks/{model-retry-c036fsx9.js → model-resolver-qfa5h3p4.js} +14 -14
- package/dist/chunks/{model-retry-vq0qa3sh.js → model-resolver-qh5g3qaw.js} +9 -9
- package/dist/chunks/{model-retry-qp7r0hxv.js → model-resolver-qp7r0hxv.js} +1 -1
- package/dist/chunks/{model-retry-590xyfdn.js → model-resolver-qqmh8y2m.js} +51 -51
- package/dist/chunks/{model-retry-wfdx5ztx.js → model-resolver-qsdghx1p.js} +4 -4
- package/dist/chunks/{model-retry-xya7ctxy.js → model-resolver-qxnxqm31.js} +13 -13
- package/dist/chunks/{model-retry-xacrkbdt.js → model-resolver-r17fbvme.js} +4 -4
- package/dist/chunks/{model-retry-st73djt4.js → model-resolver-r1zvngnh.js} +6 -6
- package/dist/chunks/{model-retry-ggrpzgdq.js → model-resolver-rb22zaf7.js} +31 -31
- package/dist/chunks/{model-retry-rb9dy4dg.js → model-resolver-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-retry-q84jkp8z.js → model-resolver-reyk2q93.js} +4 -4
- package/dist/chunks/{model-retry-rgc9cx3e.js → model-resolver-rgc9cx3e.js} +2 -2
- package/dist/chunks/{model-retry-78wx5tja.js → model-resolver-rgwx1hcw.js} +35 -35
- package/dist/chunks/{model-retry-8h105pm2.js → model-resolver-rk83tkpa.js} +12 -12
- package/dist/chunks/{model-retry-3w00zpq8.js → model-resolver-rs885178.js} +86 -86
- package/dist/chunks/{model-retry-f13bcax6.js → model-resolver-rtpa9tm7.js} +23 -23
- package/dist/chunks/{model-retry-7tgwceks.js → model-resolver-rtw736n3.js} +5 -5
- package/dist/chunks/{model-retry-w2xbgb7q.js → model-resolver-rwef9rmy.js} +21 -21
- package/dist/chunks/{model-retry-s47rahr7.js → model-resolver-s47rahr7.js} +1 -1
- package/dist/chunks/{model-retry-9a186w2s.js → model-resolver-s8pxrsbc.js} +31 -31
- package/dist/chunks/{model-retry-kcmrw9d0.js → model-resolver-s9jejje8.js} +28 -28
- package/dist/chunks/{model-retry-sbya78hr.js → model-resolver-sbya78hr.js} +1 -1
- package/dist/chunks/{model-retry-0j7gp832.js → model-resolver-sqjzf8x2.js} +4 -4
- package/dist/chunks/{model-retry-ghc68wmr.js → model-resolver-ss9f7bas.js} +10 -10
- package/dist/chunks/{model-retry-svcy3p9a.js → model-resolver-svcy3p9a.js} +1 -1
- package/dist/chunks/{model-retry-shqxbeh8.js → model-resolver-t2jj1q7e.js} +8 -8
- package/dist/chunks/{model-retry-qamgg21g.js → model-resolver-t8ypzn8d.js} +15 -15
- package/dist/chunks/{model-retry-sw24ze7h.js → model-resolver-ta9rgc0h.js} +6 -6
- package/dist/chunks/{model-retry-26wfx3k0.js → model-resolver-tb2mrvc9.js} +4 -4
- package/dist/chunks/{model-retry-tbpn7jtk.js → model-resolver-tbpn7jtk.js} +1 -1
- package/dist/chunks/{model-retry-a3ma3nbh.js → model-resolver-tcmxz86x.js} +3 -3
- package/dist/chunks/{model-retry-tczq8hjw.js → model-resolver-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-retry-ej3jbyd9.js → model-resolver-te5gs48x.js} +16 -16
- package/dist/chunks/{model-retry-hk0m197d.js → model-resolver-temwch9p.js} +9 -9
- package/dist/chunks/{model-retry-wk1wsz78.js → model-resolver-thrvbsj4.js} +7 -7
- package/dist/chunks/{model-retry-1wtrt63p.js → model-resolver-tq2hyx43.js} +15 -15
- package/dist/chunks/{model-retry-tr8x705m.js → model-resolver-tr8x705m.js} +1 -1
- package/dist/chunks/{model-retry-t6nqp9vg.js → model-resolver-trbqn9p3.js} +20 -20
- package/dist/chunks/{model-retry-8f8gk5ce.js → model-resolver-trsfyz66.js} +25 -25
- package/dist/chunks/{model-retry-tvtps2q9.js → model-resolver-tvtps2q9.js} +1 -1
- package/dist/chunks/{model-retry-twssxy5n.js → model-resolver-twssxy5n.js} +2 -2
- package/dist/chunks/{model-retry-0mgprbja.js → model-resolver-tycv7n3a.js} +4 -4
- package/dist/chunks/{model-retry-v2r1d0zg.js → model-resolver-v2r1d0zg.js} +1 -1
- package/dist/chunks/{model-retry-h56sm60v.js → model-resolver-v7fe1jbf.js} +11 -11
- package/dist/chunks/{model-retry-bw0fa95q.js → model-resolver-vdtxassj.js} +10 -10
- package/dist/chunks/{model-retry-bcdsa9nj.js → model-resolver-vf0wpess.js} +11 -11
- package/dist/chunks/{model-retry-5azf7efg.js → model-resolver-vfq85drt.js} +18 -18
- package/dist/chunks/{model-retry-s97gw63z.js → model-resolver-vg6azxz0.js} +3 -3
- package/dist/chunks/{model-retry-rhqr3vhx.js → model-resolver-vgv3jq4j.js} +19 -19
- package/dist/chunks/{model-retry-m6mdme7q.js → model-resolver-vj6zva4r.js} +15 -15
- package/dist/chunks/{model-retry-vjf35v1f.js → model-resolver-vjf35v1f.js} +1 -1
- package/dist/chunks/{model-retry-rgpfeh79.js → model-resolver-vzwtnhxx.js} +17 -17
- package/dist/chunks/{model-retry-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-retry-w79nt68w.js → model-resolver-w79nt68w.js} +1 -1
- package/dist/chunks/{model-retry-p76me67c.js → model-resolver-w9w8mt4n.js} +4 -4
- package/dist/chunks/{model-retry-wakvkjy4.js → model-resolver-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-retry-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{model-retry-qtf35215.js → model-resolver-weqc7sb9.js} +3 -3
- package/dist/chunks/{model-retry-ecysc0gb.js → model-resolver-wh34prj5.js} +32 -32
- package/dist/chunks/{model-retry-nm5vnkcb.js → model-resolver-wk91ykzv.js} +7 -7
- package/dist/chunks/{model-retry-fznmdakp.js → model-resolver-wr3re1en.js} +4 -4
- package/dist/chunks/{model-retry-qnad5zz9.js → model-resolver-ws1tm39k.js} +26 -26
- package/dist/chunks/{model-retry-0z5xst4r.js → model-resolver-wsagbhhp.js} +24 -24
- package/dist/chunks/{model-retry-krd6ac7h.js → model-resolver-wv9dwejv.js} +7 -7
- package/dist/chunks/{model-retry-agje4kmn.js → model-resolver-wvr8xscb.js} +4 -4
- package/dist/chunks/{model-retry-5bbgghc1.js → model-resolver-wvyxnda0.js} +19 -19
- package/dist/chunks/model-resolver-wxp6j0kx.js +577 -0
- package/dist/chunks/{model-retry-6rm3fwry.js → model-resolver-wy3jmvnp.js} +10 -10
- package/dist/chunks/{model-retry-z9r4pa4x.js → model-resolver-x2mc8zy4.js} +39 -39
- package/dist/chunks/{model-retry-7cabzjh9.js → model-resolver-x62svs7s.js} +8 -8
- package/dist/chunks/{model-retry-dc81jdms.js → model-resolver-xbk1c74q.js} +12 -12
- package/dist/chunks/{model-retry-2cjfgabw.js → model-resolver-xcag7p3f.js} +25 -25
- package/dist/chunks/{model-retry-cxmgqsjv.js → model-resolver-xd8pfjvv.js} +7 -7
- package/dist/chunks/{model-retry-rz6d6my6.js → model-resolver-xfh1aj82.js} +7 -7
- package/dist/chunks/{model-retry-wggzmsjz.js → model-resolver-xhqs21mx.js} +33 -33
- package/dist/chunks/{model-retry-mjrcsjpa.js → model-resolver-xjbsd7zy.js} +9 -9
- package/dist/chunks/{model-retry-xjr6c8m4.js → model-resolver-xjr6c8m4.js} +1 -1
- package/dist/chunks/{model-retry-0m9mnr46.js → model-resolver-y7js4jyr.js} +27 -27
- package/dist/chunks/{model-retry-622r6tfd.js → model-resolver-y7vcah9n.js} +3 -3
- package/dist/chunks/{model-retry-yb20nhc3.js → model-resolver-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-retry-r58y11b8.js → model-resolver-ydpnjhqw.js} +6 -6
- package/dist/chunks/{model-retry-7nb8tm12.js → model-resolver-yepd7x5v.js} +5 -5
- package/dist/chunks/{model-retry-82e4q3jm.js → model-resolver-yf398m6s.js} +1 -1
- package/dist/chunks/{model-retry-yr705xyq.js → model-resolver-yr705xyq.js} +1 -1
- package/dist/chunks/{model-retry-yvtc2x31.js → model-resolver-yvtc2x31.js} +1 -1
- package/dist/chunks/{model-retry-qyfpzaft.js → model-resolver-ywpn4wnv.js} +49 -49
- package/dist/chunks/{model-retry-jy2czfqv.js → model-resolver-yydqqga9.js} +4 -4
- package/dist/chunks/{model-retry-fc93665r.js → model-resolver-z6g4szpb.js} +8 -8
- package/dist/chunks/{model-retry-zpdbqgja.js → model-resolver-zpdbqgja.js} +1 -1
- package/dist/chunks/{model-retry-je02mesb.js → model-resolver-zsg4s0qd.js} +21 -21
- 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 +5 -5
- 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 +132 -132
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +81 -81
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +103 -103
- package/dist/effect/app-node-builder.js +437 -437
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +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 +131 -131
- package/dist/form.js +89 -89
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +104 -104
- 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 +3 -3
- package/dist/instance.js +430 -430
- package/dist/instruction-discovery.js +91 -91
- 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 +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +185 -185
- 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 +104 -104
- package/dist/mcp/index.js +122 -122
- 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 +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +103 -103
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +119 -119
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +152 -152
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +93 -93
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +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 +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 +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 +110 -110
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +161 -161
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +239 -239
- package/dist/plugin/sdk.js +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 +7 -7
- 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 +256 -256
- 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 +106 -106
- 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 +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +250 -250
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +260 -260
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +255 -255
- package/dist/session/execution.js +171 -171
- package/dist/session/generate.js +205 -205
- 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 +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +164 -164
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- 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 +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 +252 -252
- package/dist/session/usage.js +1 -1
- package/dist/session.js +240 -240
- 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 +9 -9
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +155 -155
- package/dist/snapshot.js +106 -106
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +188 -188
- package/dist/tool/plugin/artifact.js +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 +172 -172
- package/dist/tool/plugin/grep.js +167 -167
- 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 +169 -169
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +173 -173
- 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 +245 -245
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +112 -112
- 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/usage-limits.js +98 -98
- 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 +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +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 +91 -91
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +88 -88
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +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 +8 -8
- package/dist/chunks/model-retry-00ve6mdn.js +0 -18
- package/dist/chunks/model-retry-073yw6wc.js +0 -577
- package/dist/chunks/model-retry-41hkj30d.js +0 -273
- package/dist/chunks/model-retry-aqczazaa.js +0 -16
- package/dist/chunks/model-retry-hnktkp4a.js +0 -35
- package/dist/chunks/model-retry-yqwbdse8.js +0 -26
- /package/dist/chunks/{model-retry-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-retry-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-retry-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-retry-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-retry-1kah00gy.js → model-resolver-1kah00gy.js} +0 -0
- /package/dist/chunks/{model-retry-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-retry-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-retry-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-retry-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-retry-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-retry-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-retry-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-retry-4qk9sjk2.js → model-resolver-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{model-retry-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{model-retry-5w3e23ze.js → model-resolver-5w3e23ze.js} +0 -0
- /package/dist/chunks/{model-retry-6agm2x70.js → model-resolver-6agm2x70.js} +0 -0
- /package/dist/chunks/{model-retry-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{model-retry-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-retry-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-retry-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-retry-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{model-retry-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-retry-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-retry-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-retry-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-retry-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-retry-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-retry-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-retry-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-retry-beh6qq61.js → model-resolver-beh6qq61.js} +0 -0
- /package/dist/chunks/{model-retry-bhmrqjy3.js → model-resolver-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{model-retry-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-retry-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-retry-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-retry-cqv5kn06.js → model-resolver-cqv5kn06.js} +0 -0
- /package/dist/chunks/{model-retry-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-retry-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-retry-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-retry-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{model-retry-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-retry-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-retry-ean2d8b5.js → model-resolver-ean2d8b5.js} +0 -0
- /package/dist/chunks/{model-retry-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-retry-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-retry-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-retry-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-retry-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-retry-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-retry-fkpq3x5p.js → model-resolver-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{model-retry-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{model-retry-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-retry-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{model-retry-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-retry-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{model-retry-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-retry-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-retry-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-retry-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-retry-jwr30sdr.js → model-resolver-jwr30sdr.js} +0 -0
- /package/dist/chunks/{model-retry-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-retry-m18g726c.js → model-resolver-m18g726c.js} +0 -0
- /package/dist/chunks/{model-retry-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-retry-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-retry-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-retry-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-retry-nh4v3znn.js → model-resolver-nh4v3znn.js} +0 -0
- /package/dist/chunks/{model-retry-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-retry-p71gwv9c.js → model-resolver-p71gwv9c.js} +0 -0
- /package/dist/chunks/{model-retry-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-retry-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-retry-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-retry-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-retry-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-retry-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-retry-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-retry-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-retry-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-retry-syrav9an.js → model-resolver-syrav9an.js} +0 -0
- /package/dist/chunks/{model-retry-t03h4f5z.js → model-resolver-t03h4f5z.js} +0 -0
- /package/dist/chunks/{model-retry-ty7weeps.js → model-resolver-ty7weeps.js} +0 -0
- /package/dist/chunks/{model-retry-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-retry-vtarvj67.js → model-resolver-vtarvj67.js} +0 -0
- /package/dist/chunks/{model-retry-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-retry-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-retry-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-retry-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-retry-x4th4bpe.js → model-resolver-x4th4bpe.js} +0 -0
- /package/dist/chunks/{model-retry-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-retry-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-retry-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-retry-z0h12gs8.js → model-resolver-z0h12gs8.js} +0 -0
- /package/dist/chunks/{model-retry-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-retry-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
- /package/dist/chunks/{model-retry-zxpyjp51.js → model-resolver-zxpyjp51.js} +0 -0
- /package/dist/chunks/{model-retry-zz5vv3aq.js → model-resolver-zz5vv3aq.js} +0 -0
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./model-
|
|
3
|
+
} from "./model-resolver-h5r1a1rq.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./model-
|
|
6
|
+
Service87
|
|
7
|
+
} from "./model-resolver-namg35k6.js";
|
|
8
8
|
import {
|
|
9
9
|
ID18,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./model-
|
|
11
|
+
} from "./model-resolver-ehr25e9a.js";
|
|
12
12
|
import {
|
|
13
13
|
ID17,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./model-
|
|
15
|
+
} from "./model-resolver-50wdvm75.js";
|
|
16
16
|
import {
|
|
17
17
|
ID16,
|
|
18
18
|
VariantID2,
|
|
19
19
|
Info24
|
|
20
|
-
} from "./model-
|
|
20
|
+
} from "./model-resolver-0tqgq8fb.js";
|
|
21
21
|
import {
|
|
22
22
|
success2,
|
|
23
23
|
error2
|
|
24
|
-
} from "./model-
|
|
24
|
+
} from "./model-resolver-yb20nhc3.js";
|
|
25
25
|
import {
|
|
26
26
|
get5
|
|
27
|
-
} from "./model-
|
|
27
|
+
} from "./model-resolver-3nnrz6f6.js";
|
|
28
28
|
import {
|
|
29
29
|
configuredSettings2
|
|
30
|
-
} from "./model-
|
|
30
|
+
} from "./model-resolver-ydpnjhqw.js";
|
|
31
31
|
import {
|
|
32
32
|
onSwitch2,
|
|
33
33
|
reloadIfChanged2
|
|
34
|
-
} from "./model-
|
|
34
|
+
} from "./model-resolver-17a8n8c0.js";
|
|
35
35
|
import {
|
|
36
36
|
activeCredential2
|
|
37
|
-
} from "./model-
|
|
37
|
+
} from "./model-resolver-ta9rgc0h.js";
|
|
38
38
|
|
|
39
39
|
// src/plugin/provider/chatgpt.ts
|
|
40
40
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -185,7 +185,7 @@ function listen(server) {
|
|
|
185
185
|
var ChatGPTPlugin2 = define({
|
|
186
186
|
id: "opencode.provider.chatgpt",
|
|
187
187
|
effect: Effect.fn(function* (ctx) {
|
|
188
|
-
const credentials = yield*
|
|
188
|
+
const credentials = yield* Service87;
|
|
189
189
|
const loading = Semaphore.makeUnsafe(1);
|
|
190
190
|
let chatgpt;
|
|
191
191
|
let source;
|
|
@@ -1,112 +1,112 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./model-
|
|
2
|
+
Service94,
|
|
3
|
+
node96
|
|
4
|
+
} from "./model-resolver-c6vzxs6d.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./model-
|
|
6
|
+
Service89,
|
|
7
|
+
node91
|
|
8
|
+
} from "./model-resolver-b4vb2pfq.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref3,
|
|
12
12
|
Service84,
|
|
13
13
|
node86
|
|
14
|
-
} from "./model-
|
|
14
|
+
} from "./model-resolver-0tqgq8fb.js";
|
|
15
15
|
import {
|
|
16
16
|
ID14,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./model-
|
|
17
|
+
Service76,
|
|
18
|
+
node77
|
|
19
|
+
} from "./model-resolver-6d5pjscs.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./model-
|
|
22
|
+
} from "./model-resolver-65zzbc8y.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./model-
|
|
25
|
+
} from "./model-resolver-n3j33rb6.js";
|
|
26
26
|
import {
|
|
27
27
|
entriesForRunner2
|
|
28
|
-
} from "./model-
|
|
28
|
+
} from "./model-resolver-kcywyb0p.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} from "./model-
|
|
30
|
+
Service74,
|
|
31
|
+
node75
|
|
32
|
+
} from "./model-resolver-tq2hyx43.js";
|
|
33
33
|
import {
|
|
34
34
|
merge2
|
|
35
|
-
} from "./model-
|
|
35
|
+
} from "./model-resolver-n82shha9.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./model-
|
|
37
|
+
make24
|
|
38
|
+
} from "./model-resolver-8g9x758g.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./model-
|
|
40
|
+
Service42,
|
|
41
|
+
node44
|
|
42
|
+
} from "./model-resolver-rtpa9tm7.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
} from "./model-
|
|
44
|
+
Service24,
|
|
45
|
+
node27
|
|
46
|
+
} from "./model-resolver-az8qmtt2.js";
|
|
47
47
|
import {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
} from "./model-
|
|
48
|
+
Service52,
|
|
49
|
+
node53
|
|
50
|
+
} from "./model-resolver-f42cf6nm.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./model-
|
|
52
|
+
Service36,
|
|
53
|
+
node39
|
|
54
|
+
} from "./model-resolver-2m009qsq.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
} from "./model-
|
|
56
|
+
Service31,
|
|
57
|
+
node34
|
|
58
|
+
} from "./model-resolver-d5n1z8ps.js";
|
|
59
59
|
import {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
} from "./model-
|
|
60
|
+
Service30,
|
|
61
|
+
node33
|
|
62
|
+
} from "./model-resolver-hfd5ktcx.js";
|
|
63
63
|
import {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
} from "./model-
|
|
64
|
+
Service25,
|
|
65
|
+
node28
|
|
66
|
+
} from "./model-resolver-7d5s4a2a.js";
|
|
67
67
|
import {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
} from "./model-
|
|
68
|
+
Service27,
|
|
69
|
+
node30
|
|
70
|
+
} from "./model-resolver-ms5w709k.js";
|
|
71
71
|
import {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
} from "./model-
|
|
72
|
+
Service26,
|
|
73
|
+
node29
|
|
74
|
+
} from "./model-resolver-dz4yxwmg.js";
|
|
75
75
|
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
} from "./model-
|
|
76
|
+
Service28,
|
|
77
|
+
node31
|
|
78
|
+
} from "./model-resolver-rgwx1hcw.js";
|
|
79
79
|
import {
|
|
80
80
|
__export
|
|
81
|
-
} from "./model-
|
|
81
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
82
82
|
|
|
83
83
|
// src/session/context.ts
|
|
84
84
|
var exports_context = {};
|
|
85
85
|
__export(exports_context, {
|
|
86
|
-
Service: () =>
|
|
86
|
+
Service: () => Service23,
|
|
87
87
|
SessionContext: () => exports_context,
|
|
88
|
-
node: () =>
|
|
88
|
+
node: () => node26
|
|
89
89
|
});
|
|
90
90
|
import { Context, Effect, Layer } from "effect";
|
|
91
91
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
92
|
-
class
|
|
92
|
+
class Service23 extends Context.Service()("@opencode/SessionContext") {
|
|
93
93
|
}
|
|
94
|
-
var layer = Layer.effect(
|
|
95
|
-
const agents = yield*
|
|
96
|
-
const builtins = yield*
|
|
94
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
95
|
+
const agents = yield* Service76;
|
|
96
|
+
const builtins = yield* Service24;
|
|
97
97
|
const model = yield* Service84;
|
|
98
|
-
const db = (yield*
|
|
99
|
-
const discovery = yield*
|
|
100
|
-
const entries = yield*
|
|
101
|
-
const location = yield*
|
|
102
|
-
const mcpInstructions = yield*
|
|
103
|
-
const mcpTools = yield*
|
|
104
|
-
const models = yield*
|
|
105
|
-
const request = yield*
|
|
106
|
-
const referenceInstructions = yield*
|
|
107
|
-
const skillInstructions = yield*
|
|
108
|
-
const store = yield*
|
|
109
|
-
const registry = yield*
|
|
98
|
+
const db = (yield* Service94).db;
|
|
99
|
+
const discovery = yield* Service42;
|
|
100
|
+
const entries = yield* Service26;
|
|
101
|
+
const location = yield* Service89;
|
|
102
|
+
const mcpInstructions = yield* Service30;
|
|
103
|
+
const mcpTools = yield* Service31;
|
|
104
|
+
const models = yield* Service52;
|
|
105
|
+
const request = yield* Service28;
|
|
106
|
+
const referenceInstructions = yield* Service25;
|
|
107
|
+
const skillInstructions = yield* Service27;
|
|
108
|
+
const store = yield* Service74;
|
|
109
|
+
const registry = yield* Service36;
|
|
110
110
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
111
111
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
112
112
|
const agent = yield* agents.get(ID14.make("title"));
|
|
@@ -168,7 +168,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
168
168
|
session,
|
|
169
169
|
agent: { ...agent, info: agent.info },
|
|
170
170
|
instructions: combine2([
|
|
171
|
-
|
|
171
|
+
make24(loaded.tools.codeModeCatalog),
|
|
172
172
|
loaded.mcp,
|
|
173
173
|
loaded.references,
|
|
174
174
|
loaded.skills,
|
|
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
191
191
|
tools: selection.tools
|
|
192
192
|
};
|
|
193
193
|
});
|
|
194
|
-
return
|
|
194
|
+
return Service23.of({ select, load, resolveModel, selectTitle, request });
|
|
195
195
|
}));
|
|
196
196
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
197
197
|
var minimalVariant = (info) => MINIMAL_REASONING_VARIANTS.find((id) => info.variants.some((item) => item.id === id));
|
|
@@ -199,26 +199,26 @@ var lowerVariant = (info, selected) => {
|
|
|
199
199
|
const rank = (id) => info.variants.findIndex((item) => item.id === id);
|
|
200
200
|
return MINIMAL_REASONING_VARIANTS.find((id) => rank(id) !== -1 && (id !== "low" || rank(id) < rank(selected)));
|
|
201
201
|
};
|
|
202
|
-
var
|
|
203
|
-
service:
|
|
202
|
+
var node26 = makeLocationNode({
|
|
203
|
+
service: Service23,
|
|
204
204
|
layer,
|
|
205
205
|
deps: [
|
|
206
|
-
|
|
206
|
+
node77,
|
|
207
207
|
node86,
|
|
208
|
-
|
|
208
|
+
node96,
|
|
209
|
+
node27,
|
|
210
|
+
node44,
|
|
211
|
+
node29,
|
|
212
|
+
node91,
|
|
213
|
+
node33,
|
|
209
214
|
node34,
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
node73,
|
|
217
|
-
node43,
|
|
218
|
-
node78,
|
|
219
|
-
node40,
|
|
220
|
-
node71
|
|
215
|
+
node28,
|
|
216
|
+
node53,
|
|
217
|
+
node31,
|
|
218
|
+
node75,
|
|
219
|
+
node30,
|
|
220
|
+
node39
|
|
221
221
|
]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { Service23, node26, exports_context };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./model-
|
|
3
|
+
Service93,
|
|
4
|
+
node95
|
|
5
|
+
} from "./model-resolver-gwyf32yk.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make31,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./model-
|
|
12
|
+
} from "./model-resolver-n3j33rb6.js";
|
|
13
13
|
import {
|
|
14
14
|
create4
|
|
15
|
-
} from "./model-
|
|
15
|
+
} from "./model-resolver-40y6dtc2.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./model-
|
|
18
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/instruction-discovery.ts
|
|
21
21
|
var exports_instruction_discovery = {};
|
|
22
22
|
__export(exports_instruction_discovery, {
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event6,
|
|
24
24
|
File: () => File2,
|
|
25
25
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
26
26
|
Options: () => Options3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service42,
|
|
28
28
|
configured: () => configured3,
|
|
29
|
-
layer: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
layer: () => layer18,
|
|
30
|
+
node: () => node44
|
|
31
31
|
});
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
39
39
|
}
|
|
40
40
|
var Files = Schema.Array(File2);
|
|
41
41
|
var key = Key3.make("core/instructions");
|
|
42
|
-
var
|
|
42
|
+
var Event6 = {
|
|
43
43
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
44
44
|
};
|
|
45
45
|
var Options3 = Schema.Struct({
|
|
@@ -47,10 +47,10 @@ var Options3 = Schema.Struct({
|
|
|
47
47
|
global: Schema.optional(Schema.Boolean)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service42 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var layer18 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service93;
|
|
54
54
|
const state = create4({
|
|
55
55
|
name: "instruction-discovery",
|
|
56
56
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -69,9 +69,9 @@ var layer19 = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
69
69
|
editor.available = false;
|
|
70
70
|
}
|
|
71
71
|
}),
|
|
72
|
-
notify: () => bus.publish(
|
|
72
|
+
notify: () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid)
|
|
73
73
|
});
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make31({
|
|
75
75
|
key,
|
|
76
76
|
codec: Schema.toCodecJson(Files),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -87,7 +87,7 @@ var layer19 = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
87
87
|
return unavailable3;
|
|
88
88
|
return Array.from(current.files.values());
|
|
89
89
|
});
|
|
90
|
-
return
|
|
90
|
+
return Service42.of({
|
|
91
91
|
project: options?.project !== false,
|
|
92
92
|
global: options?.global !== false,
|
|
93
93
|
transform: state.transform,
|
|
@@ -103,12 +103,12 @@ var layer19 = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
103
103
|
}));
|
|
104
104
|
function configured3(options) {
|
|
105
105
|
return makeLocationNode({
|
|
106
|
-
service:
|
|
107
|
-
layer:
|
|
108
|
-
deps: [
|
|
106
|
+
service: Service42,
|
|
107
|
+
layer: layer18(options),
|
|
108
|
+
deps: [node95]
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var node44 = configured3();
|
|
112
112
|
function render(files) {
|
|
113
113
|
return files.map((file) => `Instructions from: ${file.path}
|
|
114
114
|
${file.content}`).join(`
|
|
@@ -140,4 +140,4 @@ ${render([after])}`;
|
|
|
140
140
|
`);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
export { File2,
|
|
143
|
+
export { File2, Event6, Options3, Service42, layer18, configured3, node44, exports_instruction_discovery };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./model-
|
|
3
|
+
} from "./model-resolver-n82shha9.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./model-
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin16
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai/effect";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin16 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin16, exports_plan };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./model-
|
|
2
|
+
Service93,
|
|
3
|
+
node95
|
|
4
|
+
} from "./model-resolver-gwyf32yk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./model-
|
|
6
|
+
Service83,
|
|
7
|
+
node85
|
|
8
|
+
} from "./model-resolver-dfxynx1c.js";
|
|
9
9
|
import {
|
|
10
10
|
changes2,
|
|
11
11
|
create4
|
|
12
|
-
} from "./model-
|
|
12
|
+
} from "./model-resolver-40y6dtc2.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./model-
|
|
15
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/websearch.ts
|
|
18
18
|
var exports_websearch3 = {};
|
|
19
19
|
__export(exports_websearch3, {
|
|
20
20
|
DisabledError: () => DisabledError4,
|
|
21
|
-
Event: () =>
|
|
22
|
-
ID: () =>
|
|
21
|
+
Event: () => Event8,
|
|
22
|
+
ID: () => ID9,
|
|
23
23
|
Input: () => Input16,
|
|
24
24
|
Provider: () => Provider3,
|
|
25
25
|
ProviderKey: () => ProviderKey2,
|
|
@@ -31,27 +31,27 @@ __export(exports_websearch3, {
|
|
|
31
31
|
Selection: () => Selection2,
|
|
32
32
|
Service: () => Service56,
|
|
33
33
|
WebSearch: () => exports_websearch3,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node57
|
|
35
35
|
});
|
|
36
36
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
37
37
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
38
38
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
39
39
|
import { HttpClientError } from "effect/http";
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
|
-
import { Event as
|
|
42
|
-
var
|
|
41
|
+
import { Event as Event8 } from "@opencode/schema/websearch";
|
|
42
|
+
var ID9 = WebSearch.ID;
|
|
43
43
|
var Provider3 = WebSearch.Provider;
|
|
44
44
|
var Input16 = WebSearch.Input;
|
|
45
45
|
var Result2 = WebSearch.Result;
|
|
46
46
|
var Response2 = WebSearch.Response;
|
|
47
47
|
var ProviderKey2 = "websearch:provider";
|
|
48
|
-
var Selection2 = Schema.Union([
|
|
48
|
+
var Selection2 = Schema.Union([ID9, Schema.Literal("random"), Schema.Literal(false)]);
|
|
49
49
|
|
|
50
50
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ProviderNotFoundError3 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
54
|
-
providerID:
|
|
54
|
+
providerID: ID9
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
@@ -59,7 +59,7 @@ class DisabledError4 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
62
|
-
providerID:
|
|
62
|
+
providerID: ID9,
|
|
63
63
|
cause: Schema.Defect()
|
|
64
64
|
}) {
|
|
65
65
|
}
|
|
@@ -67,8 +67,8 @@ class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
|
67
67
|
class Service56 extends Context.Service()("@opencode/WebSearch") {
|
|
68
68
|
}
|
|
69
69
|
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
70
|
-
const bus = yield*
|
|
71
|
-
const kv = yield*
|
|
70
|
+
const bus = yield* Service93;
|
|
71
|
+
const kv = yield* Service83;
|
|
72
72
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
73
73
|
const cooldowns = new Map;
|
|
74
74
|
const preferred = new Map;
|
|
@@ -188,10 +188,10 @@ function cooldownMillis(value, now) {
|
|
|
188
188
|
const date = Date.parse(value);
|
|
189
189
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
190
190
|
}
|
|
191
|
-
var
|
|
191
|
+
var node57 = makeLocationNode({
|
|
192
192
|
service: Service56,
|
|
193
193
|
layer,
|
|
194
|
-
deps: [
|
|
194
|
+
deps: [node95, node85]
|
|
195
195
|
});
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { ID9, Provider3, Input16, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError3, DisabledError4, RequestError2, Service56, node57, exports_websearch3, Event8 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./model-
|
|
2
|
+
Service81,
|
|
3
|
+
node82
|
|
4
|
+
} from "./model-resolver-9zmg7atm.js";
|
|
5
5
|
import {
|
|
6
6
|
invocation2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./model-
|
|
7
|
+
Service72,
|
|
8
|
+
node73
|
|
9
|
+
} from "./model-resolver-n82shha9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./model-
|
|
11
|
+
Service71,
|
|
12
|
+
node72
|
|
13
|
+
} from "./model-resolver-b18cfa8q.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
Service17,
|
|
16
16
|
readOptionalText2,
|
|
17
17
|
syncTextBom2,
|
|
18
|
-
|
|
19
|
-
} from "./model-
|
|
18
|
+
node19
|
|
19
|
+
} from "./model-resolver-evnqzq7w.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./model-
|
|
21
|
+
Service15,
|
|
22
|
+
node17
|
|
23
|
+
} from "./model-resolver-p7naw18k.js";
|
|
24
24
|
import {
|
|
25
25
|
fileDiff2
|
|
26
|
-
} from "./model-
|
|
26
|
+
} from "./model-resolver-6prwharc.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./model-
|
|
29
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/file-write.ts
|
|
32
32
|
var exports_file_write = {};
|
|
33
33
|
__export(exports_file_write, {
|
|
34
34
|
FileWrite: () => exports_file_write,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service14,
|
|
36
|
+
node: () => node16
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Bom } from "@opencode/util/bom";
|
|
40
40
|
import { Context, Effect, Layer } from "effect";
|
|
41
|
-
class
|
|
41
|
+
class Service14 extends Context.Service()("@opencode/FileWrite") {
|
|
42
42
|
}
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const access = yield*
|
|
45
|
-
const environment = yield*
|
|
46
|
-
const fileMutation = yield*
|
|
47
|
-
const formatter = yield*
|
|
48
|
-
const permission = yield*
|
|
43
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
44
|
+
const access = yield* Service71;
|
|
45
|
+
const environment = yield* Service81;
|
|
46
|
+
const fileMutation = yield* Service17;
|
|
47
|
+
const formatter = yield* Service15;
|
|
48
|
+
const permission = yield* Service72;
|
|
49
49
|
const target = Effect.fn("FileWrite.target")(function* (file, context) {
|
|
50
50
|
const target = yield* access.resolve({ path: file, kind: "file" });
|
|
51
51
|
yield* access.authorizeExternal([target], context);
|
|
@@ -75,12 +75,12 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
75
75
|
yield* authorize(resolved, context, fileDiff2(resolved.resource, current?.text ?? "", Bom.split(input.content).text, current ? "modified" : "added"));
|
|
76
76
|
return yield* commit(resolved, input.content);
|
|
77
77
|
});
|
|
78
|
-
return
|
|
78
|
+
return Service14.of({ target, authorize, commit, write });
|
|
79
79
|
}));
|
|
80
|
-
var
|
|
81
|
-
service:
|
|
80
|
+
var node16 = makeLocationNode({
|
|
81
|
+
service: Service14,
|
|
82
82
|
layer,
|
|
83
|
-
deps: [
|
|
83
|
+
deps: [node82, node72, node19, node17, node73]
|
|
84
84
|
});
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service14, node16, exports_file_write };
|