@opencode/core 0.0.0-dev-1223 → 0.0.0-dev-1224
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 +88 -88
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +11 -11
- package/dist/artifact.js +254 -254
- package/dist/bus.js +84 -84
- package/dist/chunks/{git-tmh3qpwq.js → state-00ceerga.js} +45 -45
- package/dist/chunks/{git-aj7mw0zk.js → state-034tev2y.js} +2 -2
- package/dist/chunks/{git-knrz8ycq.js → state-0dnk7p9t.js} +12 -12
- package/dist/chunks/{git-cqps7k2p.js → state-0hhk97e6.js} +3 -3
- package/dist/chunks/{git-0ma9gw4f.js → state-0ma9gw4f.js} +2 -2
- package/dist/chunks/{git-nav3xsn5.js → state-0vaa0e61.js} +26 -26
- package/dist/chunks/{git-az7rebdf.js → state-109ycj4d.js} +5 -5
- package/dist/chunks/{git-g98e00y8.js → state-10j04twc.js} +23 -23
- package/dist/chunks/{git-40h80fdn.js → state-13gs6whz.js} +89 -89
- package/dist/chunks/{git-yncycnf2.js → state-15mkcj75.js} +23 -23
- package/dist/chunks/{git-c6k5n4j5.js → state-15rmc56z.js} +11 -11
- package/dist/chunks/{git-cn4dzkb5.js → state-1a9h65em.js} +13 -13
- package/dist/chunks/{git-1aqsckx4.js → state-1aqsckx4.js} +1 -1
- package/dist/chunks/{git-1aryjtsy.js → state-1aryjtsy.js} +1 -1
- package/dist/chunks/{git-z4swdns5.js → state-1cgctss4.js} +17 -17
- package/dist/chunks/{git-27w5k9zf.js → state-1ep2p91f.js} +2 -2
- package/dist/chunks/{git-xbs5698n.js → state-1h56tgqc.js} +15 -15
- package/dist/chunks/{git-1x2knyw4.js → state-1x2knyw4.js} +1 -1
- package/dist/chunks/{git-w33a4qaj.js → state-1xhvy0a1.js} +20 -20
- package/dist/chunks/{git-bg52gzq1.js → state-1zqfq3fa.js} +11 -11
- package/dist/chunks/{git-dk6jvmrv.js → state-27fqdypx.js} +15 -15
- package/dist/chunks/{git-wwqpegrr.js → state-29t5ms5a.js} +6 -6
- package/dist/chunks/{git-twx7nxk6.js → state-2asypf8v.js} +20 -20
- package/dist/chunks/{git-nn2nd58t.js → state-2bswbpgz.js} +7 -7
- package/dist/chunks/{git-2fc7eemy.js → state-2fc7eemy.js} +1 -1
- package/dist/chunks/{git-7kpv4f8m.js → state-2fqhctvv.js} +28 -28
- package/dist/chunks/{git-q6efmhte.js → state-2fsxdb0d.js} +23 -23
- package/dist/chunks/{git-w79nt68w.js → state-2kg89srt.js} +4 -4
- package/dist/chunks/{git-2prt43t7.js → state-2prt43t7.js} +1 -1
- package/dist/chunks/{git-5n7sqrjb.js → state-35tpvsnd.js} +27 -27
- package/dist/chunks/{git-7kxe5wqn.js → state-36wtp86d.js} +7 -7
- package/dist/chunks/{git-0v292bqm.js → state-3ck5pzsd.js} +33 -33
- package/dist/chunks/{git-5zxnv778.js → state-3djagcat.js} +16 -16
- package/dist/chunks/{git-ywk46eq7.js → state-3efg5d53.js} +2 -2
- package/dist/chunks/{git-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/state-3k8dzdg4.js +273 -0
- package/dist/chunks/{git-51yzrdks.js → state-3nft16zg.js} +17 -17
- package/dist/chunks/{git-3nnrz6f6.js → state-3nnrz6f6.js} +1 -1
- package/dist/chunks/{git-dam2s56p.js → state-3nv1v92r.js} +18 -18
- package/dist/chunks/{git-cjg23q7r.js → state-3qw8teq0.js} +32 -32
- package/dist/chunks/{git-40y6dtc2.js → state-40y6dtc2.js} +1 -1
- package/dist/chunks/{git-g8b6gw0d.js → state-427haqbe.js} +3 -3
- package/dist/chunks/{git-sq4s6wq1.js → state-4bwthz3m.js} +6 -6
- package/dist/chunks/{git-cbw96f79.js → state-4dg21t77.js} +44 -44
- package/dist/chunks/{git-4dx1dgte.js → state-4dx1dgte.js} +1 -1
- package/dist/chunks/{git-4f25tdd0.js → state-4f25tdd0.js} +1 -1
- package/dist/chunks/{git-6cp3kha5.js → state-4gneve8v.js} +39 -39
- package/dist/chunks/{git-7hwccpjh.js → state-4p679b5s.js} +9 -9
- package/dist/chunks/{git-4pyp9zr9.js → state-4pyp9zr9.js} +1 -1
- package/dist/chunks/{git-y57pp9q1.js → state-4qfnvyqn.js} +11 -11
- package/dist/chunks/{git-54a5f9h8.js → state-4qxrae77.js} +14 -14
- package/dist/chunks/{git-4v008n1t.js → state-4v008n1t.js} +1 -1
- package/dist/chunks/{git-9zfcngb4.js → state-4vzr2b15.js} +3 -3
- package/dist/chunks/{git-cx7edq0q.js → state-4y5qk8wr.js} +12 -12
- package/dist/chunks/{git-jj2g5vfa.js → state-52by9wz1.js} +21 -21
- package/dist/chunks/{git-xegw71fv.js → state-59r2jq59.js} +27 -27
- package/dist/chunks/{git-5m9w47nd.js → state-5m9w47nd.js} +1 -1
- package/dist/chunks/{git-zyq2pv4t.js → state-5n0rnk8e.js} +4 -4
- package/dist/chunks/{git-qx5tvfrx.js → state-5nc9cxcx.js} +83 -83
- package/dist/chunks/{git-x4rw50ya.js → state-5njhb98r.js} +6 -6
- package/dist/chunks/{git-zpgv8879.js → state-5strrb1w.js} +8 -8
- package/dist/chunks/{git-861723xs.js → state-5wyjxme5.js} +10 -10
- package/dist/chunks/{git-aqczazaa.js → state-5zcyx99g.js} +4 -4
- package/dist/chunks/{git-cpytccmq.js → state-627a6t8n.js} +16 -16
- package/dist/chunks/{git-egpy7xm1.js → state-6508jazp.js} +32 -32
- package/dist/chunks/{git-gh7g01t0.js → state-6a3n96rr.js} +47 -47
- package/dist/chunks/{git-q4aetha3.js → state-6d99zds6.js} +13 -13
- package/dist/chunks/{git-3bh7p494.js → state-6ey5hxvm.js} +51 -51
- package/dist/chunks/{git-ns24zjwb.js → state-6gjb87wc.js} +2 -2
- package/dist/chunks/{git-dcd786fm.js → state-6pahazrx.js} +10 -10
- package/dist/chunks/{git-tre17bzt.js → state-6ssbb960.js} +22 -22
- package/dist/chunks/{git-g193jfc5.js → state-6v3qw19h.js} +16 -16
- package/dist/chunks/{git-9e0s1p19.js → state-6xm9jdbn.js} +2 -2
- package/dist/chunks/{git-dbatw319.js → state-73ff1310.js} +3 -3
- package/dist/chunks/{git-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-xbybdbj1.js → state-7g1dpkev.js} +8 -8
- package/dist/chunks/{git-rd7c8gzg.js → state-7hm90z9h.js} +13 -13
- package/dist/chunks/{git-x3cw6ez5.js → state-7khw6ctp.js} +372 -372
- package/dist/chunks/{git-za5nd581.js → state-7pf24df8.js} +36 -36
- package/dist/chunks/{git-xxxp95km.js → state-7r2vp639.js} +40 -40
- package/dist/chunks/{git-0v7knxa0.js → state-7v7sk204.js} +40 -40
- package/dist/chunks/{git-7w2ypzdf.js → state-7w2ypzdf.js} +1 -1
- package/dist/chunks/{git-7weczvnd.js → state-7weczvnd.js} +1 -1
- package/dist/chunks/{git-tfe9qfp5.js → state-7z0rb6fn.js} +20 -20
- package/dist/chunks/{git-775hqbnd.js → state-80mg3ag8.js} +3 -3
- package/dist/chunks/{git-80pdk984.js → state-80pdk984.js} +1 -1
- package/dist/chunks/{git-znpd9s2c.js → state-81d4j08k.js} +25 -25
- package/dist/chunks/{git-85jq8dht.js → state-85jq8dht.js} +1 -1
- package/dist/chunks/{git-sd17xx9y.js → state-85wm61p0.js} +12 -12
- package/dist/chunks/{git-5yydhn6j.js → state-87kxp3gn.js} +11 -11
- package/dist/chunks/{git-y2rvyvtk.js → state-8atgymfb.js} +7 -7
- package/dist/chunks/{git-8b3vzgkx.js → state-8b3vzgkx.js} +1 -1
- package/dist/chunks/{git-shm6ahh6.js → state-8c2aw5yp.js} +11 -11
- package/dist/chunks/{git-dawdqhyx.js → state-8c2cgf6e.js} +17 -17
- package/dist/chunks/{git-t9k35srm.js → state-8gc717j2.js} +29 -29
- package/dist/chunks/{git-8kjyvwy5.js → state-8kjyvwy5.js} +1 -1
- package/dist/chunks/{git-qb7f74k2.js → state-8rapdqzr.js} +4 -4
- package/dist/chunks/{git-bb3mmwvh.js → state-8sxe6kv8.js} +2 -2
- package/dist/chunks/{git-qqfyaxy9.js → state-8vy8myv0.js} +24 -24
- package/dist/chunks/{git-8wtp7s3z.js → state-8wtp7s3z.js} +1 -1
- package/dist/chunks/{git-8zv0xmg5.js → state-8zv0xmg5.js} +1 -1
- package/dist/chunks/{git-fqmf2938.js → state-9279jmms.js} +12 -12
- package/dist/chunks/{git-9fwmpfm0.js → state-930967qy.js} +11 -11
- package/dist/chunks/{git-963hk181.js → state-963hk181.js} +2 -2
- package/dist/chunks/{git-x34pfznb.js → state-97d0bxh6.js} +11 -11
- package/dist/chunks/state-9bjnw33a.js +35 -0
- package/dist/chunks/{git-ebe0k50x.js → state-9evh4g6t.js} +13 -13
- package/dist/chunks/{git-nstbetgn.js → state-9fgy5dtv.js} +8 -8
- package/dist/chunks/{git-3y7pxfxj.js → state-9khz0wq9.js} +7 -7
- package/dist/chunks/{git-ptfzv4f6.js → state-9q00jv0h.js} +13 -13
- package/dist/chunks/{git-w4xw9ac5.js → state-a0f8fvmt.js} +6 -6
- package/dist/chunks/{git-hpr8jjym.js → state-a60yvsvr.js} +13 -13
- package/dist/chunks/{git-v41hj1a3.js → state-a9qdt05j.js} +16 -16
- package/dist/chunks/{git-agje4kmn.js → state-agje4kmn.js} +1 -1
- package/dist/chunks/{git-3txvm3f4.js → state-ary6xecs.js} +4 -4
- package/dist/chunks/{git-0t6d61qj.js → state-awc294qn.js} +17 -17
- package/dist/chunks/{git-3cbjf1nt.js → state-ayjs7tqn.js} +2 -2
- package/dist/chunks/{git-4dncrvkb.js → state-aypj46ae.js} +52 -52
- package/dist/chunks/{git-b7nkz392.js → state-b7nkz392.js} +1 -1
- package/dist/chunks/{git-gmemj5zs.js → state-ba5f9dy2.js} +4 -4
- package/dist/chunks/{git-bxb44fsz.js → state-bbytzacy.js} +8 -8
- package/dist/chunks/{git-yybgvvmq.js → state-brv6mkyx.js} +4 -4
- package/dist/chunks/{git-bstexjd6.js → state-bstexjd6.js} +1 -1
- package/dist/chunks/{git-cbx3ap9e.js → state-cbat45jb.js} +33 -33
- package/dist/chunks/{git-tjjahx9e.js → state-cbce2z70.js} +4 -4
- package/dist/chunks/{git-4wv1s11g.js → state-chnap7qb.js} +26 -26
- package/dist/chunks/{git-gbphwg3r.js → state-cjqsf6bw.js} +9 -9
- package/dist/chunks/{git-btnkw9ag.js → state-cpe35zww.js} +4 -4
- package/dist/chunks/{git-97857vx2.js → state-cqwm3s9e.js} +7 -7
- package/dist/chunks/{git-tbbmhdw8.js → state-cr77hmd1.js} +33 -33
- package/dist/chunks/{git-sbptwb9s.js → state-cse5rjp3.js} +12 -12
- package/dist/chunks/{git-cgcfd8yr.js → state-ctd3k3x6.js} +7 -7
- package/dist/chunks/{git-wzfa06mn.js → state-cv6amnmh.js} +4 -4
- package/dist/chunks/{git-cwrgdav8.js → state-cwrgdav8.js} +2 -2
- package/dist/chunks/{git-fafxjtnp.js → state-d1g7k0n1.js} +4 -4
- package/dist/chunks/{git-etrnj9s7.js → state-d390zwf3.js} +8 -8
- package/dist/chunks/{git-d4v9tmah.js → state-d4v9tmah.js} +2 -2
- package/dist/chunks/{git-nfnbs3xs.js → state-da44vmvv.js} +15 -15
- package/dist/chunks/{git-rxbzpr8y.js → state-dfpyr7py.js} +6 -6
- package/dist/chunks/{git-c5zvymhv.js → state-dg5naf6e.js} +4 -4
- package/dist/chunks/{git-gexgj7qt.js → state-djkt98xq.js} +32 -32
- package/dist/chunks/{git-da2xa1q4.js → state-djnm8m9y.js} +19 -19
- package/dist/chunks/{git-ywyawvs8.js → state-dkvpwghq.js} +25 -25
- package/dist/chunks/{git-shvbpkp0.js → state-dr704ma6.js} +28 -28
- package/dist/chunks/{git-g0d7bqrr.js → state-dsn35pkw.js} +46 -46
- package/dist/chunks/{git-dt77769w.js → state-dt77769w.js} +1 -1
- package/dist/chunks/{git-2h3sah2y.js → state-e0xk049a.js} +3 -3
- package/dist/chunks/{git-q005gxe9.js → state-e30cnwrb.js} +12 -12
- package/dist/chunks/{git-tqts7v32.js → state-e9efqbvz.js} +22 -22
- package/dist/chunks/{git-4kts72mc.js → state-e9embajv.js} +21 -21
- package/dist/chunks/{git-kn7p4ge8.js → state-eb56k80z.js} +21 -21
- package/dist/chunks/{git-apjj153f.js → state-ebxw5th9.js} +9 -9
- package/dist/chunks/{git-edm37t96.js → state-edm37t96.js} +3 -3
- package/dist/chunks/{git-8bzbvxx5.js → state-eeqr2ezx.js} +8 -8
- package/dist/chunks/{git-vx3a5fa6.js → state-eezvz286.js} +14 -14
- package/dist/chunks/{git-yccgpt09.js → state-egsmxz2f.js} +59 -59
- package/dist/chunks/{git-87sv05fy.js → state-ehhg2xcr.js} +14 -14
- package/dist/chunks/{git-qw1w4c69.js → state-ek8dn5z5.js} +4 -4
- package/dist/chunks/{git-8hp52pd0.js → state-emskjcb9.js} +15 -15
- package/dist/chunks/{git-2xkj0mmw.js → state-enbnk4v1.js} +12 -12
- package/dist/chunks/{git-am27nvrp.js → state-eqfxx9cj.js} +11 -11
- package/dist/chunks/{git-eqw4pqj1.js → state-eqw4pqj1.js} +2 -2
- package/dist/chunks/{git-by5bhjzr.js → state-evw2hqks.js} +6 -6
- package/dist/chunks/state-ezna1kdx.js +18 -0
- package/dist/chunks/{git-sxk9ynhr.js → state-f4svtajv.js} +1 -1
- package/dist/chunks/{git-p4hx603q.js → state-fc9qhm4k.js} +4 -4
- package/dist/chunks/{git-c9r3tfb9.js → state-fes325b1.js} +14 -14
- package/dist/chunks/{git-fg9p65nk.js → state-fg9p65nk.js} +2 -2
- package/dist/chunks/{git-svzs1fkj.js → state-fgzhd4f7.js} +13 -13
- package/dist/chunks/{git-w4edwzs6.js → state-fjwkbb1x.js} +5 -5
- package/dist/chunks/{git-anbh857n.js → state-fkkq8w99.js} +22 -22
- package/dist/chunks/{git-vy8m00c5.js → state-fmers9j5.js} +9 -9
- package/dist/chunks/{git-ybkdq0rt.js → state-fp9bkp4s.js} +7 -7
- package/dist/chunks/{git-wffjegd8.js → state-fwmxwjyq.js} +16 -16
- package/dist/chunks/{git-q7phtp9w.js → state-fzattvf9.js} +16 -16
- package/dist/chunks/{git-68zsampf.js → state-g3v06dfq.js} +10 -10
- package/dist/chunks/{git-g4txs7zc.js → state-g4txs7zc.js} +4 -4
- package/dist/chunks/{git-gbjdnr5j.js → state-gbjdnr5j.js} +2 -2
- package/dist/chunks/{git-ghrv1g9c.js → state-ghrv1g9c.js} +1 -1
- package/dist/chunks/{git-54197g8a.js → state-gnrnwaff.js} +14 -14
- package/dist/chunks/{git-end87qvh.js → state-gnwx4pxd.js} +11 -11
- package/dist/chunks/{git-3nf2d1x3.js → state-gnz7qpne.js} +18 -18
- package/dist/chunks/{git-f96asrye.js → state-gpr6mhvd.js} +53 -53
- package/dist/chunks/{git-sb1v9hpd.js → state-gpz3zcsm.js} +20 -20
- package/dist/chunks/{git-sb8k4ghs.js → state-h0scc2f8.js} +5 -5
- package/dist/chunks/{git-655h6vv4.js → state-h4vx8t2t.js} +6 -6
- package/dist/chunks/{git-07msmg94.js → state-hct41e8k.js} +18 -18
- package/dist/chunks/{git-51qsvhhj.js → state-hd5gh2tq.js} +6 -6
- package/dist/chunks/{git-2cr9f59y.js → state-hd8w7nxr.js} +5 -5
- package/dist/chunks/{git-hgzwgvze.js → state-hgzwgvze.js} +2 -2
- package/dist/chunks/{git-a9fthgb6.js → state-hk7vvr1w.js} +4 -4
- package/dist/chunks/{git-dctzm1dj.js → state-hmp5x989.js} +2 -2
- package/dist/chunks/{git-mzbb1x9j.js → state-hs7q0dfv.js} +39 -39
- package/dist/chunks/{git-k0ygy828.js → state-htvtdz3s.js} +31 -31
- package/dist/chunks/state-hww5z1ja.js +26 -0
- package/dist/chunks/{git-j376ae4e.js → state-j376ae4e.js} +1 -1
- package/dist/chunks/{git-0ahs07zn.js → state-j3f8hyeg.js} +4 -4
- package/dist/chunks/{git-x8qsnj0x.js → state-j408af94.js} +17 -17
- package/dist/chunks/{git-3ma84kqg.js → state-j4vp8fq6.js} +11 -11
- package/dist/chunks/{git-889em8e0.js → state-jh82ppf8.js} +34 -34
- package/dist/chunks/{git-jm70asfg.js → state-jm70asfg.js} +1 -1
- package/dist/chunks/{git-e45fk36t.js → state-jns4gqy7.js} +4 -4
- package/dist/chunks/{git-b81p24w9.js → state-jv28pj5x.js} +20 -20
- package/dist/chunks/{git-jxd6f16v.js → state-jxd6f16v.js} +2 -2
- package/dist/chunks/{git-s4q5v2j0.js → state-jy6nqey9.js} +5 -5
- package/dist/chunks/{git-k6f0b3xm.js → state-k5pkx81j.js} +3 -3
- package/dist/chunks/{git-arj0jjvx.js → state-kkbwffhf.js} +32 -32
- package/dist/chunks/{git-qsm8g7ca.js → state-kqtyt155.js} +4 -4
- package/dist/chunks/{git-3f6404ym.js → state-kqzd954s.js} +19 -19
- package/dist/chunks/{git-9a9zccz7.js → state-ksg1ge82.js} +5 -5
- package/dist/chunks/{git-kt3bjfbg.js → state-kt3bjfbg.js} +1 -1
- package/dist/chunks/{git-w75qynz4.js → state-ktck1cjp.js} +6 -6
- package/dist/chunks/{git-kzczzf4v.js → state-kzczzf4v.js} +1 -1
- package/dist/chunks/{git-bj9fd1aa.js → state-kzv3grbw.js} +14 -14
- package/dist/chunks/{git-m1714858.js → state-m1714858.js} +1 -1
- package/dist/chunks/{git-m4p4r8nc.js → state-m4p4r8nc.js} +1 -1
- package/dist/chunks/{git-m90tx7mw.js → state-m90tx7mw.js} +1 -1
- package/dist/chunks/{git-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-8z6m94af.js → state-mb7mbhnz.js} +3 -3
- package/dist/chunks/{git-tdp52y1e.js → state-mvmm73ke.js} +10 -10
- package/dist/chunks/{git-ttf18rg8.js → state-mx3cbz75.js} +22 -22
- package/dist/chunks/{git-jsr81cg8.js → state-n1n71mfr.js} +9 -9
- package/dist/chunks/{git-n320gsn2.js → state-n320gsn2.js} +1 -1
- package/dist/chunks/{git-qjbww75s.js → state-narxvgx9.js} +15 -15
- package/dist/chunks/{git-9gjrs4z9.js → state-nd2e51yr.js} +4 -4
- package/dist/chunks/{git-4gjj76fq.js → state-nd788t6c.js} +5 -5
- package/dist/chunks/{git-mva665wn.js → state-ng5phben.js} +18 -18
- package/dist/chunks/{git-sp95z34s.js → state-nmbew64m.js} +40 -40
- package/dist/chunks/{git-q69fea8d.js → state-nxbnzhh1.js} +3 -3
- package/dist/chunks/{git-gfcx3g72.js → state-p5memtjr.js} +14 -14
- package/dist/chunks/{git-jx4xt277.js → state-p6s20s7v.js} +8 -8
- package/dist/chunks/{git-1yq9hg58.js → state-p7vhpwh8.js} +5 -5
- package/dist/chunks/{git-45nqx4xx.js → state-p94p4v4n.js} +4 -4
- package/dist/chunks/{git-tfcfpf42.js → state-pffxc541.js} +29 -29
- package/dist/chunks/{git-y4n6pw34.js → state-pgqxr0th.js} +4 -4
- package/dist/chunks/{git-g75v1bn7.js → state-phqefw3j.js} +1 -1
- package/dist/chunks/{git-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{git-v4wxqypv.js → state-pvh525kc.js} +27 -27
- package/dist/chunks/{git-rwds2dbq.js → state-px6wqt9a.js} +7 -7
- package/dist/chunks/{git-n5v1c3p9.js → state-q3t09a1r.js} +21 -21
- package/dist/chunks/{git-cz2j28sw.js → state-qj27vsmx.js} +27 -27
- package/dist/chunks/{git-qp7r0hxv.js → state-qp7r0hxv.js} +1 -1
- package/dist/chunks/{git-1y3jq1ba.js → state-qq8nxmq8.js} +12 -12
- package/dist/chunks/{git-0bmcfzcg.js → state-qvhq5dtp.js} +17 -17
- package/dist/chunks/{git-zd152ckc.js → state-qvscvz7g.js} +28 -28
- package/dist/chunks/{git-sbzezcpx.js → state-r0wrga32.js} +8 -8
- package/dist/chunks/{git-rc9j8yty.js → state-r1qh9q3s.js} +3 -3
- package/dist/chunks/{git-2y2krfya.js → state-r3sws3fk.js} +11 -11
- package/dist/chunks/{git-sj611wwz.js → state-r4ey0dp4.js} +9 -9
- package/dist/chunks/{git-1cssggdg.js → state-r5t319e4.js} +11 -11
- package/dist/chunks/{git-9nzr4cy3.js → state-r932s1aq.js} +23 -23
- package/dist/chunks/{git-rb9dy4dg.js → state-rb9dy4dg.js} +1 -1
- package/dist/chunks/{git-qekcmjpf.js → state-rf2e2mym.js} +24 -24
- package/dist/chunks/{git-rgc9cx3e.js → state-rgc9cx3e.js} +2 -2
- package/dist/chunks/{git-3g5s031x.js → state-rgceh5wf.js} +20 -20
- package/dist/chunks/{git-t0s7k2sh.js → state-rgpq9amq.js} +12 -12
- package/dist/chunks/{git-gvwzcsw9.js → state-rgptf7vs.js} +17 -17
- package/dist/chunks/{git-32n4cy7a.js → state-rmeffpf9.js} +11 -11
- package/dist/chunks/{git-859w1rtj.js → state-rp6t20zc.js} +5 -5
- package/dist/chunks/{git-s1ba0vj0.js → state-s1ba0vj0.js} +2 -2
- package/dist/chunks/{git-1b46a6yv.js → state-s1t4haaj.js} +23 -23
- package/dist/chunks/{git-5gxje712.js → state-s2rw6bpt.js} +27 -27
- package/dist/chunks/{git-mnbjcy4k.js → state-s3jahghs.js} +20 -20
- package/dist/chunks/{git-2ytp0tvq.js → state-s47rahr7.js} +4 -4
- package/dist/chunks/{git-v4z9cb6e.js → state-s81kawhg.js} +7 -7
- package/dist/chunks/{git-sbya78hr.js → state-sbya78hr.js} +1 -1
- package/dist/chunks/{git-g5ajqn12.js → state-sf9y72b7.js} +4 -4
- package/dist/chunks/{git-ek76msce.js → state-skh0vv1h.js} +2 -2
- package/dist/chunks/{git-ytm9sy14.js → state-sktstmq7.js} +10 -10
- package/dist/chunks/{git-vyqqdxam.js → state-smk8519c.js} +22 -22
- package/dist/chunks/{git-75hxyt67.js → state-sq2460zj.js} +5 -5
- package/dist/chunks/{git-svcy3p9a.js → state-svcy3p9a.js} +1 -1
- package/dist/chunks/{git-pmyfn3tb.js → state-t1cpgcqv.js} +11 -11
- package/dist/chunks/{git-dnpsy4th.js → state-t65b4mrh.js} +1 -1
- package/dist/chunks/{git-fcrts5pp.js → state-t69jc1z4.js} +5 -5
- package/dist/chunks/{git-t8erkws8.js → state-t8erkws8.js} +2 -2
- package/dist/chunks/{git-tbpn7jtk.js → state-tbpn7jtk.js} +1 -1
- package/dist/chunks/{git-tczq8hjw.js → state-tczq8hjw.js} +1 -1
- package/dist/chunks/{git-gxs71cxp.js → state-tg7s7b5t.js} +4 -4
- package/dist/chunks/{git-9dtwxfrf.js → state-tnqc7dvm.js} +134 -134
- package/dist/chunks/{git-v8cfy1ek.js → state-tqnb7fam.js} +15 -15
- package/dist/chunks/{git-hy8c1z76.js → state-tqx9c315.js} +8 -8
- package/dist/chunks/{git-b6gqesrk.js → state-tts1m72y.js} +11 -11
- package/dist/chunks/{git-ttz31trp.js → state-ttz31trp.js} +2 -2
- package/dist/chunks/{git-tvtps2q9.js → state-tvtps2q9.js} +1 -1
- package/dist/chunks/{git-7843nswb.js → state-twn0g4c4.js} +14 -14
- package/dist/chunks/{git-twssxy5n.js → state-twssxy5n.js} +2 -2
- package/dist/chunks/{git-zm0jthe7.js → state-tye10t2g.js} +18 -18
- package/dist/chunks/{git-wvx2stnh.js → state-v159dwgd.js} +14 -14
- package/dist/chunks/{git-nhh1prff.js → state-v291rggy.js} +31 -31
- package/dist/chunks/{git-v2r1d0zg.js → state-v2r1d0zg.js} +1 -1
- package/dist/chunks/{git-4a8yt8tg.js → state-v4qeya6z.js} +12 -12
- package/dist/chunks/{git-vjwpc24h.js → state-v6atjk4t.js} +16 -16
- package/dist/chunks/{git-9m92w6p3.js → state-v8dnj16f.js} +8 -8
- package/dist/chunks/{git-0xb1v29n.js → state-v9edw38w.js} +6 -6
- package/dist/chunks/{git-pgq4vvpa.js → state-v9wprw03.js} +29 -29
- package/dist/chunks/{git-wxedqf16.js → state-vf55m751.js} +18 -18
- package/dist/chunks/{git-vjf35v1f.js → state-vjf35v1f.js} +1 -1
- package/dist/chunks/{git-gemyjqmt.js → state-vjjnj6g4.js} +11 -11
- package/dist/chunks/{git-fp84nt4x.js → state-vmwdw956.js} +7 -7
- package/dist/chunks/{git-30y6j96b.js → state-vngwnm7r.js} +26 -26
- package/dist/chunks/{git-e71bb87j.js → state-vq1ppevj.js} +8 -8
- package/dist/chunks/{git-x7de2wha.js → state-vt4r9rmy.js} +9 -9
- package/dist/chunks/{git-dw3x5h9m.js → state-vzbnr37h.js} +8 -8
- package/dist/chunks/{git-70e86x8p.js → state-w0ee2s96.js} +5 -5
- package/dist/chunks/{git-a4dxgbzc.js → state-w26ydvkj.js} +11 -11
- package/dist/chunks/{git-40za9wsf.js → state-w2eysc6j.js} +9 -9
- package/dist/chunks/{git-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-2eepz9hk.js → state-w65a8kme.js} +4 -4
- package/dist/chunks/{git-wakvkjy4.js → state-wakvkjy4.js} +1 -1
- package/dist/chunks/{git-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{git-nx4vzyjd.js → state-wegkxhrn.js} +2 -2
- package/dist/chunks/{git-s5cne99v.js → state-wevk3aaq.js} +23 -23
- package/dist/chunks/{git-eb62zb4n.js → state-wfyabtyf.js} +86 -86
- package/dist/chunks/{git-e03kwr55.js → state-wjcg0vp3.js} +5 -5
- package/dist/chunks/{git-zreyz4tv.js → state-wjz4g2jq.js} +4 -4
- package/dist/chunks/{git-g3nxj0qd.js → state-wmkrkwan.js} +8 -8
- package/dist/chunks/{git-n7wqeypp.js → state-wpjpmdpx.js} +8 -8
- package/dist/chunks/{git-w687dnns.js → state-wr3re1en.js} +4 -4
- package/dist/chunks/{git-w9b4gqmv.js → state-wz7en73q.js} +29 -29
- package/dist/chunks/{git-6wjbren0.js → state-wzf5k0ay.js} +9 -9
- package/dist/chunks/{git-x150ncgg.js → state-x150ncgg.js} +2 -2
- package/dist/chunks/{git-7zs4mqwf.js → state-xacrkbdt.js} +4 -4
- package/dist/chunks/{git-kzvgkc0j.js → state-xnvj0mm3.js} +7 -7
- package/dist/chunks/{git-5xsx4kze.js → state-xvxdf7j2.js} +8 -8
- package/dist/chunks/{git-xjr6c8m4.js → state-xxschbft.js} +4 -4
- package/dist/chunks/{git-qm9ccx2k.js → state-y5mtf85h.js} +50 -50
- package/dist/chunks/{git-ms3q0y47.js → state-y7v4rbnm.js} +23 -23
- package/dist/chunks/{git-g7yvgvgp.js → state-y8extacy.js} +19 -19
- package/dist/chunks/{git-yb20nhc3.js → state-yb20nhc3.js} +1 -1
- package/dist/chunks/{git-js0pxjrh.js → state-yd4vfr0t.js} +9 -9
- package/dist/chunks/{git-h4ptbebw.js → state-ydet8tgv.js} +32 -32
- package/dist/chunks/{git-appmpegx.js → state-yh9adn63.js} +4 -4
- package/dist/chunks/{git-ynzdgah7.js → state-ynzdgah7.js} +2 -2
- package/dist/chunks/{git-aeevvyey.js → state-yr4nm0tc.js} +16 -16
- package/dist/chunks/{git-yr705xyq.js → state-yr705xyq.js} +1 -1
- package/dist/chunks/{git-yvtc2x31.js → state-yvtc2x31.js} +1 -1
- package/dist/chunks/{git-gkyscxyz.js → state-ywxpr5ha.js} +14 -14
- package/dist/chunks/{git-4wxbgzz6.js → state-yxb8rzbt.js} +9 -9
- package/dist/chunks/{git-3pk775mm.js → state-yzyzjx54.js} +9 -9
- package/dist/chunks/{git-z0wbgq7s.js → state-z0wbgq7s.js} +1 -1
- package/dist/chunks/{git-j9nxzz3g.js → state-ze75qvmd.js} +3 -3
- package/dist/chunks/{git-2cxpzphm.js → state-zhbst51w.js} +31 -31
- package/dist/chunks/{git-rvnsgwfh.js → state-zqeyams7.js} +29 -29
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +149 -149
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +156 -156
- package/dist/command.js +90 -90
- 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 +113 -113
- package/dist/config/plugin/agent.js +134 -134
- package/dist/config/plugin/command.js +247 -247
- package/dist/config/plugin/compaction.js +174 -174
- package/dist/config/plugin/compatibility.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +131 -131
- package/dist/config/plugin/location-watcher.js +133 -133
- package/dist/config/plugin/mcp.js +148 -148
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +131 -131
- package/dist/config/plugin/skill-file.js +150 -150
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +157 -157
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +130 -130
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +136 -136
- 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 +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +101 -101
- package/dist/effect/app-node-builder.js +448 -448
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +161 -161
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +165 -165
- 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 +258 -258
- 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 +116 -116
- package/dist/flag.js +136 -136
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +121 -121
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +105 -105
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +439 -439
- 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 +88 -88
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +80 -80
- package/dist/location-activity.js +186 -186
- package/dist/location-lifecycle.js +154 -154
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +436 -436
- package/dist/location.js +94 -94
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +159 -159
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +149 -149
- package/dist/mcp/instructions.js +190 -190
- package/dist/mcp/oauth.js +90 -90
- package/dist/mcp/pool.js +110 -110
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +160 -160
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +105 -105
- package/dist/model-resolver.js +109 -109
- package/dist/model-retry.js +1 -1
- package/dist/model.js +108 -108
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +122 -122
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +83 -83
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +149 -149
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +146 -146
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +249 -249
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +416 -416
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +130 -130
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +150 -150
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +135 -135
- package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
- 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 +8 -8
- 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 +149 -149
- package/dist/plugin/provider/claude-agent/instructions.js +115 -115
- package/dist/plugin/provider/claude-agent/integration.js +116 -116
- 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 +111 -111
- package/dist/plugin/provider/claude-agent/session.js +113 -113
- 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 +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -111
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +144 -144
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +144 -144
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +137 -137
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +162 -162
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +91 -91
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +133 -133
- package/dist/plugin/provider/vllm.js +144 -144
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +241 -241
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +153 -153
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +428 -428
- 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 +107 -107
- package/dist/plugin/warming.js +131 -131
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +260 -260
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -93
- package/dist/provider.js +103 -103
- 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 +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +254 -254
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +262 -262
- 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 +133 -133
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +176 -176
- package/dist/session/context.js +206 -206
- 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 +272 -272
- package/dist/session/execution/subagent-report.js +144 -144
- package/dist/session/execution.js +171 -171
- package/dist/session/generate.js +208 -208
- package/dist/session/history.js +140 -140
- package/dist/session/inbox.js +147 -147
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +147 -147
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +172 -172
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +175 -175
- package/dist/session/projector.js +147 -147
- package/dist/session/prompt.js +152 -152
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +143 -143
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +261 -261
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +154 -154
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +167 -167
- package/dist/session/runner/to-llm-message.js +141 -141
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +195 -195
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +151 -151
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +87 -87
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +172 -172
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +210 -210
- package/dist/session/to-session-error.js +153 -153
- package/dist/session/transfer.js +256 -256
- package/dist/session/usage.js +1 -1
- package/dist/session.js +245 -245
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +149 -149
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +155 -155
- package/dist/skill.js +162 -162
- package/dist/snapshot.js +104 -104
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +187 -187
- package/dist/tool/plugin/artifact.js +244 -244
- package/dist/tool/plugin/edit.js +171 -171
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +175 -175
- package/dist/tool/plugin/grep.js +174 -174
- package/dist/tool/plugin/image-generate.js +255 -255
- package/dist/tool/plugin/mcp-events.js +166 -166
- package/dist/tool/plugin/mcp-resource.js +170 -170
- package/dist/tool/plugin/opencode.js +167 -167
- package/dist/tool/plugin/patch.js +172 -172
- package/dist/tool/plugin/question.js +150 -150
- package/dist/tool/plugin/read.js +170 -170
- package/dist/tool/plugin/schedule.js +260 -260
- package/dist/tool/plugin/shell.js +245 -245
- package/dist/tool/plugin/skill.js +159 -159
- package/dist/tool/plugin/subagent.js +251 -251
- package/dist/tool/plugin/todo.js +157 -157
- package/dist/tool/plugin/webfetch.js +159 -159
- package/dist/tool/plugin/websearch.js +157 -157
- package/dist/tool/plugin/write.js +170 -170
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +162 -162
- 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 +2 -2
- package/dist/v1/config/migrate.js +106 -106
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +107 -107
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +97 -97
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- 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/git-2dkjcnxp.js +0 -18
- package/dist/chunks/git-kkq9v4gh.js +0 -35
- package/dist/chunks/git-r8dwvwz6.js +0 -273
- package/dist/chunks/git-yengr0n7.js +0 -26
- /package/dist/chunks/{git-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kah00gy.js → state-1kah00gy.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4qk9sjk2.js → state-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{git-5w3e23ze.js → state-5w3e23ze.js} +0 -0
- /package/dist/chunks/{git-6agm2x70.js → state-6agm2x70.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{git-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-7rvsyqjv.js → state-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{git-84wd9syh.js → state-84wd9syh.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-beh6qq61.js → state-beh6qq61.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cqv5kn06.js → state-cqv5kn06.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-ean2d8b5.js → state-ean2d8b5.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-fkpq3x5p.js → state-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hcxmzztb.js → state-hcxmzztb.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jwr30sdr.js → state-jwr30sdr.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-m18g726c.js → state-m18g726c.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-nh4v3znn.js → state-nh4v3znn.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-p71gwv9c.js → state-p71gwv9c.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-qtf35215.js → state-qtf35215.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-syrav9an.js → state-syrav9an.js} +0 -0
- /package/dist/chunks/{git-t03h4f5z.js → state-t03h4f5z.js} +0 -0
- /package/dist/chunks/{git-ty7weeps.js → state-ty7weeps.js} +0 -0
- /package/dist/chunks/{git-v2dnd5dt.js → state-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{git-ve7vex1e.js → state-ve7vex1e.js} +0 -0
- /package/dist/chunks/{git-vtarvj67.js → state-vtarvj67.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x4th4bpe.js → state-x4th4bpe.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → state-z9919s4g.js} +0 -0
- /package/dist/chunks/{git-zxpyjp51.js → state-zxpyjp51.js} +0 -0
- /package/dist/chunks/{git-zz5vv3aq.js → state-zz5vv3aq.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-0ma9gw4f.js";
|
|
4
4
|
import {
|
|
5
5
|
ID18,
|
|
6
6
|
Service87,
|
|
7
7
|
node89
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-fgzhd4f7.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
16
|
InvalidRequestError: () => InvalidRequestError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
17
|
+
Service: () => Service13,
|
|
18
|
+
UnavailableError: () => UnavailableError2,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
|
-
layer: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
layer: () => layer10,
|
|
21
|
+
node: () => node15
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -31,15 +31,15 @@ class InvalidRequestError2 extends Schema.TaggedError()("Voice.InvalidRequestErr
|
|
|
31
31
|
}) {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
service: Schema.optional(Schema.String)
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service13 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer10 = Layer.effect(Service13, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
44
|
const integrations = yield* Service87;
|
|
45
45
|
const findConnection = (provider, methods = ["key"]) => integrations.get(ID18.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
|
|
@@ -67,10 +67,10 @@ var layer12 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
67
67
|
if (!engine)
|
|
68
68
|
return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
|
|
69
69
|
const found = yield* source(engine);
|
|
70
|
-
const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new
|
|
70
|
+
const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new UnavailableError2({ service: found.provider, message: error.message }))) : undefined;
|
|
71
71
|
const access = found && credential && sessionAccess(found.provider, credential);
|
|
72
72
|
if (found === undefined || access === undefined)
|
|
73
|
-
return yield* new
|
|
73
|
+
return yield* new UnavailableError2({
|
|
74
74
|
service: engine.provider,
|
|
75
75
|
message: engine.id === "openai-live" ? missingLiveKeyMessage : missingKeyMessage[engine.provider]
|
|
76
76
|
});
|
|
@@ -79,13 +79,13 @@ var layer12 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
79
79
|
session: input.session,
|
|
80
80
|
transport: input.transport,
|
|
81
81
|
...access
|
|
82
|
-
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new
|
|
82
|
+
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: found.provider })));
|
|
83
83
|
});
|
|
84
|
-
return
|
|
84
|
+
return Service13.of({ models, session });
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
87
|
-
service:
|
|
88
|
-
layer:
|
|
86
|
+
var node15 = makeLocationNode({
|
|
87
|
+
service: Service13,
|
|
88
|
+
layer: layer10,
|
|
89
89
|
deps: [node89, requestExecutor2]
|
|
90
90
|
});
|
|
91
91
|
var openCodeLive = { provider: "opencode", baseURL: "https://opencode.ai/inference/openai/v1" };
|
|
@@ -108,4 +108,4 @@ var missingKeyMessage = {
|
|
|
108
108
|
google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
|
|
109
109
|
};
|
|
110
110
|
|
|
111
|
-
export { InvalidRequestError2,
|
|
111
|
+
export { InvalidRequestError2, UnavailableError2, Service13, layer10, node15, exports_voice };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-s47rahr7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service93,
|
|
6
|
+
node95
|
|
7
|
+
} from "./state-yr4nm0tc.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service89,
|
|
11
|
+
node91
|
|
12
|
+
} from "./state-3ck5pzsd.js";
|
|
13
13
|
import {
|
|
14
14
|
Service90,
|
|
15
15
|
node92
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-3efg5d53.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service64,
|
|
19
|
+
node66
|
|
20
|
+
} from "./state-awc294qn.js";
|
|
21
21
|
import {
|
|
22
22
|
reconcile2,
|
|
23
23
|
create4
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./state-40y6dtc2.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
26
|
+
ID19,
|
|
27
|
+
Service88,
|
|
28
|
+
node90
|
|
29
|
+
} from "./state-y7v4rbnm.js";
|
|
30
30
|
import {
|
|
31
31
|
ID18,
|
|
32
32
|
MethodID2,
|
|
33
33
|
Service87,
|
|
34
34
|
node89
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./state-fgzhd4f7.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
37
|
+
node80,
|
|
38
38
|
enabled3
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./state-pvh525kc.js";
|
|
40
40
|
import {
|
|
41
41
|
make26
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./state-jy6nqey9.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
44
|
+
Service36,
|
|
45
45
|
key2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node39
|
|
47
|
+
} from "./state-emskjcb9.js";
|
|
48
48
|
import {
|
|
49
49
|
__export
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./state-9rqn6x4v.js";
|
|
51
51
|
|
|
52
52
|
// src/mcp/index.ts
|
|
53
53
|
var exports_mcp4 = {};
|
|
54
54
|
__export(exports_mcp4, {
|
|
55
55
|
Mcp: () => exports_mcp4,
|
|
56
56
|
NotFoundError: () => NotFoundError5,
|
|
57
|
-
Options: () =>
|
|
57
|
+
Options: () => Options2,
|
|
58
58
|
PromptsChanged: () => PromptsChanged2,
|
|
59
59
|
Resource: () => Resource2,
|
|
60
60
|
ResourceCatalog: () => ResourceCatalog2,
|
|
61
61
|
ResourceContent: () => ResourceContent2,
|
|
62
62
|
ResourceTemplate: () => ResourceTemplate2,
|
|
63
63
|
ServerName: () => ServerName2,
|
|
64
|
-
Service: () =>
|
|
64
|
+
Service: () => Service35,
|
|
65
65
|
Status: () => Status3,
|
|
66
66
|
ToolCallError: () => ToolCallError2,
|
|
67
|
-
configured: () =>
|
|
67
|
+
configured: () => configured2,
|
|
68
68
|
layer: () => layer16,
|
|
69
|
-
node: () =>
|
|
69
|
+
node: () => node38
|
|
70
70
|
});
|
|
71
71
|
import { Mcp } from "@opencode/schema/mcp";
|
|
72
72
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -132,23 +132,23 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
132
132
|
var changes = { tools: McpEvent.ToolsChanged, resources: McpEvent.ResourcesChanged, prompts: PromptsChanged2 };
|
|
133
133
|
var cloneConfig = (config) => structuredClone(config);
|
|
134
134
|
|
|
135
|
-
class
|
|
135
|
+
class Service35 extends Context.Service()("@opencode/MCP") {
|
|
136
136
|
}
|
|
137
|
-
var
|
|
137
|
+
var Options2 = Schema.Struct({
|
|
138
138
|
clientInfo: Schema.optional(Schema.Struct({
|
|
139
139
|
name: Schema.String,
|
|
140
140
|
version: Schema.String
|
|
141
141
|
}))
|
|
142
142
|
});
|
|
143
|
-
var layer16 = (options) => Layer.effect(
|
|
143
|
+
var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
144
144
|
const location = yield* Service90;
|
|
145
|
-
const environment = yield*
|
|
146
|
-
const bus = yield*
|
|
147
|
-
const forms = yield*
|
|
145
|
+
const environment = yield* Service64;
|
|
146
|
+
const bus = yield* Service93;
|
|
147
|
+
const forms = yield* Service88;
|
|
148
148
|
const integration = yield* Service87;
|
|
149
|
-
const credentials = yield*
|
|
149
|
+
const credentials = yield* Service89;
|
|
150
150
|
const fetch = yield* FetchHttpClient.Fetch;
|
|
151
|
-
const pool = yield*
|
|
151
|
+
const pool = yield* Service36;
|
|
152
152
|
const mcpEvents = yield* enabled3("mcp_events");
|
|
153
153
|
const root = yield* Effect.scope;
|
|
154
154
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -180,7 +180,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
180
180
|
method: { id: methodID, type: "oauth", label: name },
|
|
181
181
|
authorize: () => Effect.gen(function* () {
|
|
182
182
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
183
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
183
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service89, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
|
|
184
184
|
})
|
|
185
185
|
});
|
|
186
186
|
}).pipe(Scope.provide(scope));
|
|
@@ -201,12 +201,12 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
201
201
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
202
202
|
return;
|
|
203
203
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
204
|
-
return yield* McpOAuth.connectProvider({ server: name, config: entry.config, credential }).pipe(Effect.provideService(
|
|
204
|
+
return yield* McpOAuth.connectProvider({ server: name, config: entry.config, credential }).pipe(Effect.provideService(Service89, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
|
|
205
205
|
});
|
|
206
206
|
const elicitation = {
|
|
207
207
|
create: (input) => Effect.gen(function* () {
|
|
208
208
|
if (input.params.mode === "url") {
|
|
209
|
-
const formID =
|
|
209
|
+
const formID = ID19.create();
|
|
210
210
|
const elicitationID = input.params.elicitationId;
|
|
211
211
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
212
212
|
if (key)
|
|
@@ -418,7 +418,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
418
418
|
clientInfo: options?.clientInfo
|
|
419
419
|
}).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
420
420
|
closed = true;
|
|
421
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
421
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service64, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
422
422
|
const register = Effect.gen(function* () {
|
|
423
423
|
if (closed) {
|
|
424
424
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -491,7 +491,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
491
491
|
yield* entry.connection.start;
|
|
492
492
|
}).pipe(locks.withLock(name));
|
|
493
493
|
});
|
|
494
|
-
fork(bus.subscribe(
|
|
494
|
+
fork(bus.subscribe(Event20.Switched).pipe(Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
495
495
|
const state = create4({
|
|
496
496
|
name: "mcp",
|
|
497
497
|
initial: () => ({
|
|
@@ -517,7 +517,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
517
517
|
}),
|
|
518
518
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
519
519
|
});
|
|
520
|
-
return
|
|
520
|
+
return Service35.of({
|
|
521
521
|
transform: state.transform,
|
|
522
522
|
reload: state.reload,
|
|
523
523
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -652,24 +652,24 @@ function mergeCatalogs(catalogs) {
|
|
|
652
652
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
653
653
|
});
|
|
654
654
|
}
|
|
655
|
-
function
|
|
655
|
+
function configured2(options) {
|
|
656
656
|
return makeLocationNode({
|
|
657
|
-
service:
|
|
657
|
+
service: Service35,
|
|
658
658
|
layer: layer16(options),
|
|
659
659
|
deps: [
|
|
660
660
|
node92,
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
node91,
|
|
665
|
-
node89,
|
|
661
|
+
node66,
|
|
662
|
+
node80,
|
|
663
|
+
node95,
|
|
666
664
|
node90,
|
|
665
|
+
node89,
|
|
666
|
+
node91,
|
|
667
667
|
httpFetch,
|
|
668
|
-
|
|
668
|
+
node39
|
|
669
669
|
]
|
|
670
670
|
});
|
|
671
671
|
}
|
|
672
|
-
var
|
|
672
|
+
var node38 = configured2();
|
|
673
673
|
function toElicitationField(key, property, required) {
|
|
674
674
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
675
675
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -720,4 +720,4 @@ function toElicitationField(key, property, required) {
|
|
|
720
720
|
}
|
|
721
721
|
}
|
|
722
722
|
|
|
723
|
-
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2,
|
|
723
|
+
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service35, Options2, layer16, configured2, node38, exports_mcp4 };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service93
|
|
3
|
+
} from "./state-yr4nm0tc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service52
|
|
6
|
+
} from "./state-8gc717j2.js";
|
|
7
7
|
import {
|
|
8
8
|
StepFailedError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-edm37t96.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
toSessionError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-5njhb98r.js";
|
|
16
16
|
import {
|
|
17
17
|
Error5
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-15mkcj75.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service55
|
|
21
|
+
} from "./state-gnwx4pxd.js";
|
|
22
22
|
import {
|
|
23
23
|
record2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./state-4f25tdd0.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./state-e0xk049a.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-ktck1cjp.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./state-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make2,
|
|
41
41
|
makeCancel: () => makeCancel2
|
|
42
42
|
});
|
|
43
43
|
import {
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
55
|
-
const bus = yield*
|
|
54
|
+
var make2 = Effect.gen(function* () {
|
|
55
|
+
const bus = yield* Service93;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service52;
|
|
58
|
+
const toolOutput = yield* Service55;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
61
61
|
const started = yield* Clock.currentTimeMillis;
|
|
@@ -274,4 +274,4 @@ var makeCancel2 = () => {
|
|
|
274
274
|
};
|
|
275
275
|
};
|
|
276
276
|
|
|
277
|
-
export { Outcome2,
|
|
277
|
+
export { Outcome2, make2, makeCancel2, exports_step };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
outstanding2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-m4p4r8nc.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionMessage2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-gftt206x.js";
|
|
7
7
|
import {
|
|
8
8
|
SyntheticPayload2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-wevk3aaq.js";
|
|
10
10
|
import {
|
|
11
11
|
NO_TEXT2,
|
|
12
12
|
text3,
|
|
13
13
|
formatBody2,
|
|
14
14
|
deliver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-1aryjtsy.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/execution/subagent-report.ts
|
|
21
21
|
var exports_subagent_report = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-80pdk984.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID10,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-wz7en73q.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID10.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service94
|
|
3
|
+
} from "./state-0dnk7p9t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./state-cjqsf6bw.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-4pyp9zr9.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-ezna1kdx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service76
|
|
15
|
+
} from "./state-r0wrga32.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-edm37t96.js";
|
|
20
20
|
import {
|
|
21
21
|
Ref2,
|
|
22
22
|
refHash2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-fg9p65nk.js";
|
|
24
24
|
import {
|
|
25
25
|
read4
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./state-s81kawhg.js";
|
|
27
27
|
import {
|
|
28
28
|
prepare3,
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service54
|
|
30
|
+
} from "./state-wz7en73q.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./state-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/prompt.ts
|
|
36
36
|
var exports_prompt = {};
|
|
@@ -48,7 +48,7 @@ var RESIZABLE_IMAGE_MIMES = new Set(["image/png", "image/jpeg", "image/gif", "im
|
|
|
48
48
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
yield* awaitActivation2;
|
|
51
|
-
const hooks = yield*
|
|
51
|
+
const hooks = yield* Service76;
|
|
52
52
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
53
53
|
sessionID: request.session.id,
|
|
54
54
|
messageID: request.messageID,
|
|
@@ -67,7 +67,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
67
67
|
const selected = yield* Effect.gen(function* () {
|
|
68
68
|
if (!requested?.length)
|
|
69
69
|
return;
|
|
70
|
-
const skillService = yield*
|
|
70
|
+
const skillService = yield* Service54;
|
|
71
71
|
const prepared = new Map;
|
|
72
72
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
73
73
|
const name = prepared.get(attachment.id);
|
|
@@ -142,14 +142,14 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
142
142
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
143
143
|
if (!RESIZABLE_IMAGE_MIMES.has(mime))
|
|
144
144
|
return { data: Base64.make(data), mime };
|
|
145
|
-
const image = yield*
|
|
145
|
+
const image = yield* Service70;
|
|
146
146
|
const label = attachmentLabel(input);
|
|
147
147
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
148
148
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
149
149
|
return { data: Base64.make(normalized.content), mime: normalized.mime };
|
|
150
150
|
});
|
|
151
151
|
var readBlobAttachment = Effect.fn("SessionPrompt.readBlobAttachment")(function* (uri) {
|
|
152
|
-
const { db } = yield*
|
|
152
|
+
const { db } = yield* Service94;
|
|
153
153
|
const blob = yield* read4(db, refHash2(uri));
|
|
154
154
|
if (!blob)
|
|
155
155
|
return yield* new AttachmentError2({ uri, message: `Attachment is no longer stored: ${uri}` });
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID20,
|
|
3
|
+
Service89
|
|
4
|
+
} from "./state-3ck5pzsd.js";
|
|
5
5
|
import {
|
|
6
6
|
onSwitch2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-85wm61p0.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/credential-settings.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -16,10 +16,10 @@ var activeCredential2 = Effect.fnUntraced(function* (ctx, integrationID) {
|
|
|
16
16
|
return { connection, credential };
|
|
17
17
|
});
|
|
18
18
|
var credentialSettings2 = Effect.fn("ProviderPlugin.credentialSettings")(function* (ctx, integrationID, select) {
|
|
19
|
-
const credentials = yield*
|
|
19
|
+
const credentials = yield* Service89;
|
|
20
20
|
const load = Effect.fn("ProviderPlugin.credentialSettings.load")(function* () {
|
|
21
21
|
const connection = yield* ctx.integration.connection.active(integrationID);
|
|
22
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
22
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID20.make(connection.id)) : undefined;
|
|
23
23
|
return stored ? select(stored.value) : {};
|
|
24
24
|
});
|
|
25
25
|
const current = { settings: yield* load() };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-smk8519c.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-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: () => Plugin50
|
|
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 Plugin50 = 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 { Plugin50, exports_plan };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9279jmms.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/vllm.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
|
|
|
11
11
|
max_model_len: Schema.NullOr(Schema.Int)
|
|
12
12
|
});
|
|
13
13
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
14
|
-
var
|
|
14
|
+
var make20 = createLocalProviderPlugin2({
|
|
15
15
|
id: "opencode.provider.vllm",
|
|
16
16
|
providerID,
|
|
17
17
|
name: "vLLM",
|
|
@@ -26,6 +26,6 @@ var make15 = createLocalProviderPlugin2({
|
|
|
26
26
|
context: item.max_model_len
|
|
27
27
|
})
|
|
28
28
|
});
|
|
29
|
-
var VLLMPlugin2 =
|
|
29
|
+
var VLLMPlugin2 = make20();
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make20, VLLMPlugin2 };
|