@opencode/core 0.0.0-dev-20146 → 0.0.0-dev-20147
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{event-logger-sr3xehtf.js → schema-01q8mg5a.js} +89 -89
- package/dist/chunks/{event-logger-tq5y325g.js → schema-02jbgszr.js} +13 -13
- package/dist/chunks/{event-logger-mcvtpcr6.js → schema-02kbzxrb.js} +11 -11
- package/dist/chunks/{event-logger-wrxfgsnk.js → schema-02v3faq5.js} +11 -11
- package/dist/chunks/{event-logger-6ry2eqjb.js → schema-02wmds2c.js} +4 -4
- package/dist/chunks/{event-logger-x2wzg6c1.js → schema-0338tv42.js} +13 -13
- package/dist/chunks/{event-logger-xs16at91.js → schema-06qxp9s1.js} +26 -26
- package/dist/chunks/{event-logger-y5draz0s.js → schema-0attd1ej.js} +10 -10
- package/dist/chunks/{event-logger-2k8khapm.js → schema-0jwsre1p.js} +5 -5
- package/dist/chunks/{event-logger-demy5f2a.js → schema-0kryq94n.js} +8 -8
- package/dist/chunks/{event-logger-fvbfvqqw.js → schema-0mk5rbah.js} +9 -9
- package/dist/chunks/{event-logger-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{event-logger-zh6cbvwt.js → schema-12f5qzcf.js} +5 -5
- package/dist/chunks/{event-logger-mvfsc1pv.js → schema-1bbkgx8g.js} +3 -3
- package/dist/chunks/{event-logger-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
- package/dist/chunks/{event-logger-bk7jaeqh.js → schema-1ed2t66p.js} +4 -4
- package/dist/chunks/{event-logger-xvycsxn0.js → schema-1hhry64t.js} +13 -13
- package/dist/chunks/{event-logger-j639zd53.js → schema-1htzjx3s.js} +9 -9
- package/dist/chunks/{event-logger-j2k2vgh6.js → schema-1kr2za8g.js} +5 -5
- package/dist/chunks/{event-logger-xxm068nx.js → schema-1qp06jtb.js} +13 -13
- package/dist/chunks/{event-logger-56gdpj1q.js → schema-1ygqh575.js} +9 -9
- package/dist/chunks/{event-logger-b83nt0wk.js → schema-216v1y3s.js} +16 -16
- package/dist/chunks/{event-logger-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{event-logger-x9tv78nz.js → schema-21zbynkh.js} +7 -7
- package/dist/chunks/{event-logger-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{event-logger-37gmss87.js → schema-2jgevnf2.js} +22 -22
- package/dist/chunks/{event-logger-qbqbaz6q.js → schema-2k71kv7p.js} +4 -4
- package/dist/chunks/{event-logger-cczd7xgn.js → schema-2vvj6rba.js} +1 -1
- package/dist/chunks/{event-logger-931v7hzm.js → schema-3497bcg9.js} +3 -3
- package/dist/chunks/{event-logger-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/{event-logger-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{event-logger-dq7mzwk9.js → schema-3j9d4fgr.js} +10 -10
- package/dist/chunks/{event-logger-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{event-logger-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{event-logger-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
- package/dist/chunks/{event-logger-p95hncgz.js → schema-44k7vfsg.js} +32 -32
- package/dist/chunks/{event-logger-dgark5dx.js → schema-4knz5bpk.js} +26 -26
- package/dist/chunks/{event-logger-c0zy5cxt.js → schema-4p8415jn.js} +20 -20
- package/dist/chunks/{event-logger-2fa73gyd.js → schema-4rdyamb0.js} +12 -12
- package/dist/chunks/{event-logger-rhakwg37.js → schema-4xqhn9wd.js} +8 -8
- package/dist/chunks/{event-logger-0pr3hkd7.js → schema-53fyba40.js} +4 -4
- package/dist/chunks/{event-logger-54tcyq79.js → schema-54tcyq79.js} +2 -2
- package/dist/chunks/{event-logger-57ez7d0k.js → schema-57ez7d0k.js} +2 -2
- package/dist/chunks/{event-logger-3ss0y86y.js → schema-58yj0nne.js} +33 -33
- package/dist/chunks/{event-logger-y6f0p4jw.js → schema-5cmxdwv8.js} +3 -3
- package/dist/chunks/{event-logger-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{event-logger-7mt5cee0.js → schema-5e82d4zs.js} +10 -10
- package/dist/chunks/{event-logger-e3qxr5gk.js → schema-5qd3pb7m.js} +2 -2
- package/dist/chunks/{event-logger-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
- package/dist/chunks/{event-logger-cmwkp3r5.js → schema-5yzzbxa7.js} +8 -8
- package/dist/chunks/{event-logger-2hxdb1xe.js → schema-5z7zcbfb.js} +33 -33
- package/dist/chunks/{event-logger-1sq6pvz6.js → schema-61cd6e58.js} +19 -19
- package/dist/chunks/{event-logger-re3vnjqx.js → schema-62v4907p.js} +26 -26
- package/dist/chunks/{event-logger-kqvsesf9.js → schema-64fh688z.js} +24 -24
- package/dist/chunks/{event-logger-jmh888fr.js → schema-659sfxq9.js} +10 -10
- package/dist/chunks/{event-logger-669tq793.js → schema-669tq793.js} +1 -1
- package/dist/chunks/{event-logger-vtt59spe.js → schema-66dga76z.js} +9 -9
- package/dist/chunks/{event-logger-qpdhqarq.js → schema-6c158f61.js} +22 -22
- package/dist/chunks/{event-logger-17j7xjjx.js → schema-6en7jsbn.js} +22 -22
- package/dist/chunks/{event-logger-2wntcv5v.js → schema-6ftnbkqh.js} +37 -37
- package/dist/chunks/{event-logger-2402vzrj.js → schema-6h73sxmp.js} +5 -5
- package/dist/chunks/{event-logger-j58c5xyq.js → schema-6hjx5zpb.js} +9 -9
- package/dist/chunks/{event-logger-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
- package/dist/chunks/{event-logger-8sze2n9a.js → schema-6pc27hjz.js} +2 -2
- package/dist/chunks/{event-logger-29e1dskn.js → schema-6y0m36e6.js} +34 -34
- package/dist/chunks/{event-logger-svwdbmds.js → schema-6z06gbqc.js} +9 -9
- package/dist/chunks/{event-logger-gkmd2kdr.js → schema-71v07zn3.js} +17 -17
- package/dist/chunks/{event-logger-nwka07fb.js → schema-76yj2t14.js} +38 -38
- package/dist/chunks/{event-logger-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{event-logger-1501v5q6.js → schema-80q6mq1f.js} +20 -20
- package/dist/chunks/{event-logger-c5dvm7ra.js → schema-899k0336.js} +6 -6
- package/dist/chunks/{event-logger-1nqpsycb.js → schema-8a6crgjk.js} +30 -30
- package/dist/chunks/{event-logger-57rf7evj.js → schema-8cznwert.js} +10 -10
- package/dist/chunks/{event-logger-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
- package/dist/chunks/{event-logger-9btrm92c.js → schema-8kkpa49p.js} +5 -5
- package/dist/chunks/{event-logger-9b02dg8e.js → schema-8pgwyz8n.js} +5 -5
- package/dist/chunks/{event-logger-5djqtpa8.js → schema-9213mvz8.js} +20 -20
- package/dist/chunks/{event-logger-5v7e6y96.js → schema-95st8b4j.js} +11 -11
- package/dist/chunks/{event-logger-9e9r8xcc.js → schema-97z86zxn.js} +20 -20
- package/dist/chunks/{event-logger-eakypb1g.js → schema-98yh1srd.js} +20 -20
- package/dist/chunks/{event-logger-r4ds47vk.js → schema-9bs9pkv6.js} +28 -28
- package/dist/chunks/{event-logger-7hq3v4qt.js → schema-9e1jtxq5.js} +24 -24
- package/dist/chunks/{event-logger-nchtd57w.js → schema-9hk2fva0.js} +13 -13
- package/dist/chunks/{event-logger-1exhgmvw.js → schema-9kgeezcq.js} +14 -14
- package/dist/chunks/{event-logger-6xqbqwsh.js → schema-9m1eaqh3.js} +33 -33
- package/dist/chunks/{event-logger-hy2svgjc.js → schema-9m1qw5e9.js} +15 -15
- package/dist/chunks/{event-logger-rfk5vjx7.js → schema-9qmdww31.js} +15 -15
- package/dist/chunks/{event-logger-pt3wvmh6.js → schema-9rmbnpj5.js} +2 -2
- package/dist/chunks/{event-logger-za2zmqvq.js → schema-9td8kqq4.js} +7 -7
- package/dist/chunks/{event-logger-pzrthsyz.js → schema-9wqzfaac.js} +47 -47
- package/dist/chunks/{event-logger-263tr8na.js → schema-9zbf59cj.js} +14 -14
- package/dist/chunks/{event-logger-2ght6qn2.js → schema-aa14mxtt.js} +11 -11
- package/dist/chunks/{event-logger-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{event-logger-jkp0d30b.js → schema-acd4vkpt.js} +6 -6
- package/dist/chunks/{event-logger-7s0a4480.js → schema-achwqtgz.js} +12 -12
- package/dist/chunks/{event-logger-4ct3z3jm.js → schema-aegspdvt.js} +18 -18
- package/dist/chunks/{event-logger-29wtvbfz.js → schema-aezpzgnt.js} +15 -15
- package/dist/chunks/{event-logger-4s3tx91s.js → schema-anbdq9pc.js} +24 -24
- package/dist/chunks/{event-logger-q5pyfadk.js → schema-aqkbpc1t.js} +22 -22
- package/dist/chunks/{event-logger-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{event-logger-tefm8g6z.js → schema-b8abjh2k.js} +30 -30
- package/dist/chunks/{event-logger-hp2m6q6m.js → schema-b8f26xyk.js} +18 -18
- package/dist/chunks/{event-logger-tpabx851.js → schema-bawhc7q1.js} +10 -10
- package/dist/chunks/{event-logger-bjtzbw4r.js → schema-bjtzbw4r.js} +3 -3
- package/dist/chunks/{event-logger-t6vbmf8z.js → schema-bpratrbj.js} +11 -11
- package/dist/chunks/{event-logger-xp1ndndk.js → schema-c131hp6h.js} +13 -13
- package/dist/chunks/{event-logger-c78bbtc9.js → schema-c78bbtc9.js} +2 -2
- package/dist/chunks/{event-logger-xdrpma1h.js → schema-cdyvr9f3.js} +11 -11
- package/dist/chunks/{event-logger-6vq97qmv.js → schema-ce5fknq2.js} +5 -5
- package/dist/chunks/{event-logger-qa0me2e5.js → schema-ceks70kf.js} +12 -12
- package/dist/chunks/{event-logger-rfndaq94.js → schema-cetybxe3.js} +16 -16
- package/dist/chunks/{event-logger-t7n9q6bq.js → schema-ckf8nxjz.js} +4 -4
- package/dist/chunks/{event-logger-8az641ef.js → schema-cmw1rd1q.js} +26 -26
- package/dist/chunks/{event-logger-dp1fhnrj.js → schema-cv6v52d9.js} +17 -17
- package/dist/chunks/{event-logger-syffjq1h.js → schema-cxd4szcz.js} +3 -3
- package/dist/chunks/{event-logger-h3vr5jxs.js → schema-ddxb0dnv.js} +54 -54
- package/dist/chunks/{event-logger-c651xxjb.js → schema-de52ckkz.js} +4 -4
- package/dist/chunks/{event-logger-kxxqgty3.js → schema-df71sjqe.js} +20 -20
- package/dist/chunks/{event-logger-gzbkpp9m.js → schema-dg5bcj4q.js} +5 -5
- package/dist/chunks/{event-logger-dmqcgk4z.js → schema-dmqcgk4z.js} +2 -2
- package/dist/chunks/{event-logger-xfkkasph.js → schema-drwq78ky.js} +4 -4
- package/dist/chunks/{event-logger-2wqe641f.js → schema-e04544d7.js} +23 -23
- package/dist/chunks/{event-logger-510m7gjw.js → schema-e6hmchc5.js} +5 -5
- package/dist/chunks/{event-logger-pc8y9nre.js → schema-e6zwr77z.js} +23 -23
- package/dist/chunks/{event-logger-rhjbct0v.js → schema-eaj1djv9.js} +8 -8
- package/dist/chunks/{event-logger-ecfe7b91.js → schema-ecfe7b91.js} +2 -2
- package/dist/chunks/{event-logger-cgdp0msr.js → schema-edc4vr76.js} +323 -323
- package/dist/chunks/{event-logger-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{event-logger-07770t2t.js → schema-eq20ba7x.js} +6 -6
- package/dist/chunks/{event-logger-my0qqk62.js → schema-es758s33.js} +20 -20
- package/dist/chunks/{event-logger-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
- package/dist/chunks/{event-logger-kwkcvqg8.js → schema-f9hw48zx.js} +5 -5
- package/dist/chunks/{event-logger-7v81x33d.js → schema-faj2svbs.js} +9 -9
- package/dist/chunks/{event-logger-n3193s85.js → schema-fm2djhtr.js} +11 -11
- package/dist/chunks/{event-logger-p9e78zky.js → schema-fm32kww2.js} +20 -20
- package/dist/chunks/{event-logger-jnjzrgfb.js → schema-fn7m6sq4.js} +4 -4
- package/dist/chunks/{event-logger-p51w4ajj.js → schema-fnckqvkz.js} +51 -51
- package/dist/chunks/{event-logger-pedtmqhe.js → schema-fxpxkdge.js} +27 -27
- package/dist/chunks/{event-logger-2racs6px.js → schema-g3f2t215.js} +44 -44
- package/dist/chunks/{event-logger-pp3d4jfy.js → schema-gah6wse8.js} +10 -10
- package/dist/chunks/{event-logger-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{event-logger-gfvb90ym.js → schema-gfvb90ym.js} +2 -2
- package/dist/chunks/{event-logger-vfgtt7fz.js → schema-ggxapr4n.js} +17 -17
- package/dist/chunks/{event-logger-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
- package/dist/chunks/{event-logger-ma4zbtrj.js → schema-gvdvajq4.js} +23 -23
- package/dist/chunks/{event-logger-861yecfv.js → schema-h2r7bbkd.js} +11 -11
- package/dist/chunks/{event-logger-swxsnswe.js → schema-h6ata8bv.js} +12 -12
- package/dist/chunks/{event-logger-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{event-logger-4vp46et4.js → schema-h7e5g0tn.js} +6 -6
- package/dist/chunks/{event-logger-dyece36z.js → schema-ha8h07mp.js} +23 -23
- package/dist/chunks/{event-logger-ygwk8h90.js → schema-hdwy771y.js} +11 -11
- package/dist/chunks/{event-logger-mmkbmhcq.js → schema-hf0mkt0x.js} +1 -1
- package/dist/chunks/{event-logger-af04s6ss.js → schema-hkfg6fzm.js} +5 -5
- package/dist/chunks/{event-logger-zc27tagb.js → schema-hx5a9m6n.js} +22 -22
- package/dist/chunks/schema-hxa7m5za.js +4 -0
- package/dist/chunks/{event-logger-xmzvf51h.js → schema-j0v6s4pa.js} +15 -15
- package/dist/chunks/{event-logger-j6tx67wp.js → schema-j1zk5myr.js} +177 -177
- package/dist/chunks/{event-logger-j8m1p4p1.js → schema-j34bs4nz.js} +4 -4
- package/dist/chunks/{event-logger-6axjgf6a.js → schema-j433k3ah.js} +29 -29
- package/dist/chunks/{event-logger-j56e64zr.js → schema-j56e64zr.js} +1 -1
- package/dist/chunks/{event-logger-gqp4kpp0.js → schema-jd3ht1x4.js} +6 -6
- package/dist/chunks/{event-logger-w4ahs3v6.js → schema-jdj92c4g.js} +20 -20
- package/dist/chunks/{event-logger-9npqnhjt.js → schema-jg25py4x.js} +15 -15
- package/dist/chunks/{event-logger-1ncnbcjk.js → schema-jvexc5ky.js} +5 -5
- package/dist/chunks/{event-logger-a5yekx0r.js → schema-jvzqejyw.js} +15 -15
- package/dist/chunks/{event-logger-6sr3ve8g.js → schema-jw80jp6b.js} +21 -21
- package/dist/chunks/{event-logger-7bmnz8gh.js → schema-k268tg8b.js} +3 -3
- package/dist/chunks/{event-logger-k3c624dm.js → schema-k3c624dm.js} +3 -3
- package/dist/chunks/{event-logger-v1851per.js → schema-kga0f6yw.js} +8 -8
- package/dist/chunks/{event-logger-4sjs0fec.js → schema-m0f2xe1s.js} +43 -43
- package/dist/chunks/{event-logger-ghc1k396.js → schema-m1tf57me.js} +11 -11
- package/dist/chunks/{event-logger-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
- package/dist/chunks/{event-logger-3p08fjx9.js → schema-m65z8mqv.js} +39 -39
- package/dist/chunks/{event-logger-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{event-logger-hdgk5rr0.js → schema-mjvn4zm4.js} +15 -15
- package/dist/chunks/{event-logger-gzdw8091.js → schema-mrty011c.js} +46 -46
- package/dist/chunks/{event-logger-zrc4mf9q.js → schema-ms84bj92.js} +39 -39
- package/dist/chunks/{event-logger-gd09txp3.js → schema-mssxhbmx.js} +32 -32
- package/dist/chunks/{event-logger-cmetttwa.js → schema-mwm07mde.js} +6 -6
- package/dist/chunks/{event-logger-gs7qwdgg.js → schema-n4v0pxzg.js} +11 -11
- package/dist/chunks/{event-logger-fww65524.js → schema-n965dgn2.js} +30 -30
- package/dist/chunks/{event-logger-fhs97t90.js → schema-nq7qbqzc.js} +9 -9
- package/dist/chunks/{event-logger-h6r3nrb9.js → schema-nzyhnfxz.js} +4 -4
- package/dist/chunks/schema-p2h6zvwc.js +18 -0
- package/dist/chunks/{event-logger-698z99nv.js → schema-p2wfcwv1.js} +12 -12
- package/dist/chunks/{event-logger-z3cy94ea.js → schema-pceeejwg.js} +8 -8
- package/dist/chunks/{event-logger-mbmba7bg.js → schema-phwvgf2n.js} +25 -25
- package/dist/chunks/{event-logger-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{event-logger-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{event-logger-psazpmmj.js → schema-psazpmmj.js} +2 -2
- package/dist/chunks/schema-pvpvsgsg.js +26 -0
- package/dist/chunks/{event-logger-aj5j062r.js → schema-q11was2t.js} +21 -21
- package/dist/chunks/schema-q4hmxj4a.js +252 -0
- package/dist/chunks/{event-logger-gdv3ksn6.js → schema-q8n9d2sh.js} +8 -8
- package/dist/chunks/{event-logger-91p1v22t.js → schema-qe26s0zb.js} +8 -8
- package/dist/chunks/{event-logger-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{event-logger-d84fhs6w.js → schema-qsxgc847.js} +34 -34
- package/dist/chunks/{event-logger-yp7329s5.js → schema-qthnzapq.js} +40 -40
- package/dist/chunks/{event-logger-0x725bzf.js → schema-r1ht1y7w.js} +7 -7
- package/dist/chunks/{event-logger-qmqgtz8f.js → schema-r2m716tb.js} +9 -9
- package/dist/chunks/{event-logger-pnqe9gv0.js → schema-r3c4069c.js} +1 -1
- package/dist/chunks/{event-logger-nn7atrp6.js → schema-r5xqv1fp.js} +5 -5
- package/dist/chunks/{event-logger-bf0ztrs3.js → schema-r98e92ep.js} +4 -4
- package/dist/chunks/{event-logger-qsf86z1y.js → schema-r99neq4v.js} +6 -6
- package/dist/chunks/{event-logger-dz5k2r6q.js → schema-raajgtb1.js} +18 -18
- package/dist/chunks/{event-logger-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{event-logger-0gaj4617.js → schema-rph3zd4r.js} +6 -6
- package/dist/chunks/{event-logger-19vf66h0.js → schema-ryr25ayn.js} +4 -4
- package/dist/chunks/{event-logger-5kmsck5e.js → schema-s1tzw9nx.js} +15 -15
- package/dist/chunks/{event-logger-w1rv58hq.js → schema-s28xa88k.js} +11 -11
- package/dist/chunks/{event-logger-kab6f7n6.js → schema-s2a3m5zj.js} +23 -23
- package/dist/chunks/{event-logger-gjfq4kj3.js → schema-s3d1hc87.js} +20 -20
- package/dist/chunks/{event-logger-wh4tt7gs.js → schema-s4q2v5s3.js} +12 -12
- package/dist/chunks/{event-logger-c679sp5v.js → schema-s56b7sj7.js} +19 -19
- package/dist/chunks/{event-logger-855sx0xg.js → schema-sb3nhjgb.js} +31 -31
- package/dist/chunks/{event-logger-14mere3y.js → schema-sc1s8qey.js} +15 -15
- package/dist/chunks/{event-logger-0fgn76gq.js → schema-scayhw0d.js} +19 -19
- package/dist/chunks/{event-logger-8t6yg6zj.js → schema-sgajxdys.js} +24 -24
- package/dist/chunks/{event-logger-2arn6ayc.js → schema-shhpa2wx.js} +12 -12
- package/dist/chunks/{event-logger-qsznjz43.js → schema-sp0b9gx5.js} +10 -10
- package/dist/chunks/{event-logger-bk8z58v6.js → schema-sp3cfktr.js} +5 -5
- package/dist/chunks/{event-logger-8b0q1tcn.js → schema-sqtna5cg.js} +18 -18
- package/dist/chunks/{event-logger-mrb21tde.js → schema-svr80ky5.js} +63 -63
- package/dist/chunks/{event-logger-knza9s2p.js → schema-sydz09wp.js} +26 -26
- package/dist/chunks/{event-logger-2ajxf64a.js → schema-szfqz0v7.js} +7 -7
- package/dist/chunks/{event-logger-p2czpw2p.js → schema-t37tr4jd.js} +35 -35
- package/dist/chunks/{event-logger-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{event-logger-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
- package/dist/chunks/{event-logger-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{event-logger-qqyxxppr.js → schema-tp9yn0rb.js} +4 -4
- package/dist/chunks/{event-logger-yk3ep1wk.js → schema-tqk88y0w.js} +26 -26
- package/dist/chunks/{event-logger-tvtrv512.js → schema-tvtrv512.js} +1 -1
- package/dist/chunks/{event-logger-73kdj4zj.js → schema-tx9w5tca.js} +8 -8
- package/dist/chunks/{event-logger-6bac1myf.js → schema-v8mjc2yy.js} +5 -5
- package/dist/chunks/{event-logger-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{event-logger-3tkswqew.js → schema-vevrkrar.js} +26 -26
- package/dist/chunks/{event-logger-gvzdf9qe.js → schema-vh918eyq.js} +60 -60
- package/dist/chunks/{event-logger-4tfrzeqt.js → schema-vjjjrtg8.js} +3 -3
- package/dist/chunks/{event-logger-b09hzw3k.js → schema-vmgq4x8b.js} +2 -2
- package/dist/chunks/{event-logger-bm72tg9x.js → schema-vmwh049b.js} +9 -9
- package/dist/chunks/{event-logger-s19cq95s.js → schema-vtp78vb3.js} +6 -6
- package/dist/chunks/{event-logger-jxj92ndk.js → schema-vvvs0jwh.js} +4 -4
- package/dist/chunks/{event-logger-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
- package/dist/chunks/{event-logger-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
- package/dist/chunks/{event-logger-qpbc7zwf.js → schema-w1ad28wa.js} +8 -8
- package/dist/chunks/{event-logger-24sw1qrz.js → schema-w3ba67bf.js} +5 -5
- package/dist/chunks/{event-logger-yspnb8z1.js → schema-w3d830pe.js} +87 -87
- package/dist/chunks/{event-logger-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{event-logger-51zqcejn.js → schema-wbeghawe.js} +17 -17
- package/dist/chunks/{event-logger-2ydpn51p.js → schema-wc287v3v.js} +9 -9
- package/dist/chunks/{event-logger-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{event-logger-vx4k3ghj.js → schema-wkbehqst.js} +48 -48
- package/dist/chunks/{event-logger-zfdm6p8f.js → schema-wnavy81w.js} +32 -32
- package/dist/chunks/{event-logger-1f4amzzx.js → schema-wrsptv21.js} +4 -4
- package/dist/chunks/{event-logger-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{event-logger-zd30eb5w.js → schema-x2rw7g36.js} +5 -5
- package/dist/chunks/{event-logger-67534gnq.js → schema-x5aajpce.js} +10 -10
- package/dist/chunks/{event-logger-0rafmrwm.js → schema-x7x071nx.js} +14 -14
- package/dist/chunks/{event-logger-6ysrkrkr.js → schema-xfk06v0t.js} +8 -8
- package/dist/chunks/{event-logger-r8gjmqbx.js → schema-xfkq7hhm.js} +24 -24
- package/dist/chunks/{event-logger-qcam7751.js → schema-xgdsspm4.js} +30 -30
- package/dist/chunks/{event-logger-029fx6f3.js → schema-xhsj2xcy.js} +6 -6
- package/dist/chunks/{event-logger-9va4zsxm.js → schema-xj9an458.js} +11 -11
- package/dist/chunks/{event-logger-3nj1atnt.js → schema-xmx293k5.js} +28 -28
- package/dist/chunks/{event-logger-27c2nnft.js → schema-xqv87xzy.js} +23 -23
- package/dist/chunks/{event-logger-sxcqkswg.js → schema-xrk2dg0j.js} +32 -32
- package/dist/chunks/{event-logger-4vakqk6v.js → schema-y0cr4b1c.js} +4 -4
- package/dist/chunks/{event-logger-rz4qayhc.js → schema-y0xmc8cr.js} +14 -14
- package/dist/chunks/{event-logger-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{event-logger-w47g9jnr.js → schema-y5df08dr.js} +12 -12
- package/dist/chunks/{event-logger-dpkg50ah.js → schema-y71avatq.js} +4 -4
- package/dist/chunks/{event-logger-ph8msc0p.js → schema-y91sxvbc.js} +37 -37
- package/dist/chunks/{event-logger-jarv2a5b.js → schema-yctgz9ak.js} +3 -3
- package/dist/chunks/{event-logger-wqe4wm19.js → schema-yhbs15xx.js} +8 -8
- package/dist/chunks/{event-logger-1acjjqhc.js → schema-yp2x3t23.js} +4 -4
- package/dist/chunks/{event-logger-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
- package/dist/chunks/{event-logger-s4enseaf.js → schema-yrznvahk.js} +2 -2
- package/dist/chunks/{event-logger-f9fh40s4.js → schema-ywmyccm2.js} +22 -22
- package/dist/chunks/{event-logger-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{event-logger-29x78va6.js → schema-z63w68vq.js} +6 -6
- package/dist/chunks/{event-logger-w74gvnzt.js → schema-z6zxveg6.js} +9 -9
- package/dist/chunks/{event-logger-a2kyq1sq.js → schema-za5cqyrv.js} +20 -20
- package/dist/chunks/{event-logger-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
- package/dist/chunks/{event-logger-7mz3q3xh.js → schema-zffm6dk0.js} +26 -26
- package/dist/chunks/{event-logger-vtq2920n.js → schema-zg5v86p0.js} +3 -3
- package/dist/chunks/{event-logger-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{event-logger-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +139 -139
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +122 -122
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -353
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +116 -116
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- 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 +7 -7
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/event-logger-0mesazry.js +0 -4
- package/dist/chunks/event-logger-7ehq9bc4.js +0 -252
- package/dist/chunks/event-logger-by5v678g.js +0 -18
- package/dist/chunks/event-logger-gz2035gh.js +0 -26
- /package/dist/chunks/{event-logger-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{event-logger-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{event-logger-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{event-logger-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{event-logger-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{event-logger-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{event-logger-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{event-logger-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{event-logger-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{event-logger-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
- /package/dist/chunks/{event-logger-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{event-logger-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{event-logger-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{event-logger-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
- /package/dist/chunks/{event-logger-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{event-logger-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{event-logger-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{event-logger-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{event-logger-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{event-logger-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{event-logger-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{event-logger-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{event-logger-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{event-logger-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{event-logger-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{event-logger-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{event-logger-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{event-logger-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{event-logger-922hggd3.js → schema-922hggd3.js} +0 -0
- /package/dist/chunks/{event-logger-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{event-logger-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-logger-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{event-logger-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{event-logger-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{event-logger-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{event-logger-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{event-logger-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{event-logger-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{event-logger-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{event-logger-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{event-logger-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{event-logger-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{event-logger-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{event-logger-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{event-logger-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{event-logger-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{event-logger-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{event-logger-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{event-logger-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{event-logger-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{event-logger-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{event-logger-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{event-logger-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{event-logger-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{event-logger-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{event-logger-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{event-logger-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{event-logger-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{event-logger-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{event-logger-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{event-logger-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
- /package/dist/chunks/{event-logger-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{event-logger-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{event-logger-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{event-logger-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{event-logger-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{event-logger-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{event-logger-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{event-logger-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{event-logger-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{event-logger-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{event-logger-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{event-logger-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{event-logger-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{event-logger-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{event-logger-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{event-logger-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{event-logger-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{event-logger-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{event-logger-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{event-logger-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{event-logger-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{event-logger-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{event-logger-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{event-logger-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{event-logger-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{event-logger-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{event-logger-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{event-logger-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{event-logger-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{event-logger-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{event-logger-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{event-logger-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{event-logger-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{event-logger-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{event-logger-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./schema-y0xmc8cr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service17
|
|
9
|
+
} from "./schema-sqtna5cg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service9
|
|
12
|
+
} from "./schema-61cd6e58.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service8
|
|
27
|
+
} from "./schema-9qmdww31.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input11,
|
|
36
|
+
Plugin: () => Plugin49,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name11,
|
|
39
|
+
toModelContent: () => toModelContent5
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name11 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input11 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin49 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service8;
|
|
62
|
+
const access = yield* Service17;
|
|
63
|
+
const sessionInstructions = yield* Service9;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service79;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name11,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input11,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin8 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent5(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -145,7 +145,7 @@ ${suggestions.join(`
|
|
|
145
145
|
});
|
|
146
146
|
})
|
|
147
147
|
};
|
|
148
|
-
var
|
|
148
|
+
var toModelContent5 = (path, offset, output) => {
|
|
149
149
|
if (output.type === "file" && output.encoding === "base64")
|
|
150
150
|
return [
|
|
151
151
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -181,4 +181,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name11, Input11, Plugin49, toModelContent5, exports_read };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service67,
|
|
4
|
+
node70
|
|
5
|
+
} from "./schema-j433k3ah.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID8,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -12,23 +12,23 @@ import {
|
|
|
12
12
|
modelSettings2,
|
|
13
13
|
mergeOverlay2,
|
|
14
14
|
mergeHeaders2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service66,
|
|
16
|
+
node69
|
|
17
|
+
} from "./schema-44k7vfsg.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service61,
|
|
20
|
+
node63
|
|
21
|
+
} from "./schema-hdwy771y.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID7,
|
|
24
24
|
VariantID2,
|
|
25
25
|
Ref2,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service63,
|
|
27
|
+
node66
|
|
28
|
+
} from "./schema-wnavy81w.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./schema-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/model-resolver.ts
|
|
34
34
|
var exports_model_resolver = {};
|
|
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
|
|
|
37
37
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
38
38
|
ModelInitializationError: () => ModelInitializationError3,
|
|
39
39
|
ModelResolver: () => exports_model_resolver,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service59,
|
|
41
41
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
42
42
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
43
43
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
44
44
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
45
45
|
fromCatalogModel: () => fromCatalogModel2,
|
|
46
46
|
hasPackage: () => hasPackage2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer21,
|
|
48
|
+
node: () => node61,
|
|
49
49
|
resolveModel: () => resolveModel2,
|
|
50
50
|
withVariant: () => withVariant2
|
|
51
51
|
});
|
|
@@ -55,8 +55,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
55
55
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
56
56
|
import { Npm } from "@opencode/util/npm";
|
|
57
57
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
58
|
-
providerID:
|
|
59
|
-
modelID:
|
|
58
|
+
providerID: ID8,
|
|
59
|
+
modelID: ID7,
|
|
60
60
|
variant: VariantID2
|
|
61
61
|
}) {
|
|
62
62
|
get message() {
|
|
@@ -65,8 +65,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
68
|
-
providerID:
|
|
69
|
-
modelID:
|
|
68
|
+
providerID: ID8,
|
|
69
|
+
modelID: ID7,
|
|
70
70
|
package: Schema.String
|
|
71
71
|
}) {
|
|
72
72
|
get message() {
|
|
@@ -76,8 +76,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
76
76
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
77
77
|
|
|
78
78
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
79
|
-
providerID:
|
|
80
|
-
modelID:
|
|
79
|
+
providerID: ID8,
|
|
80
|
+
modelID: ID7,
|
|
81
81
|
package: Schema.String,
|
|
82
82
|
detail: Schema.String
|
|
83
83
|
}) {
|
|
@@ -87,8 +87,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
90
|
-
providerID:
|
|
91
|
-
modelID:
|
|
90
|
+
providerID: ID8,
|
|
91
|
+
modelID: ID7,
|
|
92
92
|
package: Schema.String,
|
|
93
93
|
phase: InitializationPhase2,
|
|
94
94
|
detail: Schema.String
|
|
@@ -99,8 +99,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
102
|
-
providerID:
|
|
103
|
-
modelID:
|
|
102
|
+
providerID: ID8,
|
|
103
|
+
modelID: ID7,
|
|
104
104
|
variables: Schema.Array(Schema.String)
|
|
105
105
|
}) {
|
|
106
106
|
get message() {
|
|
@@ -109,8 +109,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
112
|
-
providerID:
|
|
113
|
-
modelID:
|
|
112
|
+
providerID: ID8,
|
|
113
|
+
modelID: ID7,
|
|
114
114
|
route: Schema.String
|
|
115
115
|
}) {
|
|
116
116
|
get message() {
|
|
@@ -118,7 +118,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class Service59 extends Context.Service()("@opencode/ModelResolver") {
|
|
122
122
|
}
|
|
123
123
|
var withVariant2 = (model, variantID) => {
|
|
124
124
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
|
|
|
258
258
|
};
|
|
259
259
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
260
260
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
261
|
-
var
|
|
262
|
-
const providers = yield*
|
|
263
|
-
const models = yield*
|
|
264
|
-
const integrations = yield*
|
|
261
|
+
var layer21 = Layer.effect(Service59, Effect.gen(function* () {
|
|
262
|
+
const providers = yield* Service66;
|
|
263
|
+
const models = yield* Service63;
|
|
264
|
+
const integrations = yield* Service67;
|
|
265
265
|
const npm = yield* Npm.Service;
|
|
266
|
-
const aisdk = yield*
|
|
266
|
+
const aisdk = yield* Service61;
|
|
267
267
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
268
268
|
const provider = yield* providers.get(selected.providerID);
|
|
269
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
269
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID9.make(selected.providerID));
|
|
270
270
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
271
271
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
272
272
|
const runtimeInfo = {
|
|
@@ -293,7 +293,7 @@ var layer19 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
293
293
|
chunkTimeout: provider?.settings?.chunkTimeout
|
|
294
294
|
};
|
|
295
295
|
});
|
|
296
|
-
return
|
|
296
|
+
return Service59.of({
|
|
297
297
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
298
298
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
299
299
|
if (!selected)
|
|
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
310
310
|
const name = packageName2(packageName);
|
|
311
311
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
312
312
|
}
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
315
|
-
layer:
|
|
316
|
-
deps: [
|
|
313
|
+
var node61 = makeLocationNode({
|
|
314
|
+
service: Service59,
|
|
315
|
+
layer: layer21,
|
|
316
|
+
deps: [node69, node66, node70, Npm.node, node63]
|
|
317
317
|
});
|
|
318
318
|
|
|
319
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
319
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service59, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node61, exports_model_resolver };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./schema-wnavy81w.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./schema-m0f2xe1s.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-xhsj2xcy.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make4(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service49;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make8(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID7.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make4();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make4, VLLMPlugin2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-psazpmmj.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service64,
|
|
6
|
+
node67
|
|
7
|
+
} from "./schema-8cznwert.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-5cmxdwv8.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service60,
|
|
23
|
+
make: () => make18,
|
|
24
|
+
node: () => node62
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
var COMPLETED_LIMIT = 25;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service60 extends Context.Service()("@opencode/Job") {
|
|
55
55
|
}
|
|
56
56
|
function snapshot(job) {
|
|
57
57
|
return {
|
|
@@ -86,8 +86,8 @@ function decrementSession(input, sessionID) {
|
|
|
86
86
|
next.set(sessionID, count - 1);
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
|
-
var
|
|
90
|
-
const kv = yield*
|
|
89
|
+
var make18 = Effect.gen(function* () {
|
|
90
|
+
const kv = yield* Service64;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
93
93
|
scope: yield* Scope.Scope
|
|
@@ -346,7 +346,7 @@ var make19 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service60.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make19 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service60, make18);
|
|
362
|
+
var node62 = makeGlobalNode({ service: Service60, layer, deps: [node67] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service60, make18, node62, exports_job };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-y0cr4b1c.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service64,
|
|
7
|
+
node67
|
|
8
|
+
} from "./schema-8cznwert.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
20
|
+
Event: () => Event9,
|
|
21
|
+
ID: () => ID6,
|
|
22
22
|
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service46,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node49
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event9 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID6 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID6, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID6
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID6,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service46 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service83;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service64;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service46.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node49 = makeLocationNode({
|
|
188
|
+
service: Service46,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node87,
|
|
190
|
+
deps: [node87, node67]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID6, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service46, node49, exports_websearch3, Event9 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info17
|
|
6
|
+
} from "./schema-jw80jp6b.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent3 = {};
|
|
13
|
+
__export(exports_agent3, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent3,
|
|
15
|
+
Info: () => Info16
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info17)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info16 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info16, exports_agent3 };
|