@opencode/core 0.0.0-dev-1299 → 0.0.0-dev-1302
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 +95 -95
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +110 -110
- package/dist/app.js +9 -9
- package/dist/artifact.js +247 -247
- package/dist/blob-store.js +23 -0
- package/dist/bus.js +85 -85
- package/dist/chunks/{reference-034tev2y.js → state-034tev2y.js} +2 -2
- package/dist/chunks/{reference-xnmsq12f.js → state-03zcay0f.js} +14 -14
- package/dist/chunks/{reference-tvhyfeqf.js → state-0a1fqkme.js} +12 -12
- package/dist/chunks/{reference-fw5b8w2v.js → state-0bwvvqg2.js} +12 -12
- package/dist/chunks/{reference-g3928a0r.js → state-0fefy2sy.js} +8 -8
- package/dist/chunks/{reference-0fvxehme.js → state-0fvxehme.js} +2 -2
- package/dist/chunks/{reference-9exxy594.js → state-0ga6tp8v.js} +12 -12
- package/dist/chunks/{reference-byg3evpx.js → state-0khhg20c.js} +2 -2
- package/dist/chunks/{reference-wwwafkx4.js → state-0s7pt9sr.js} +18 -18
- package/dist/chunks/{reference-bx20ef8w.js → state-0vmvgrfq.js} +39 -39
- package/dist/chunks/{reference-ptst5q5b.js → state-0zzg84yj.js} +15 -10
- package/dist/chunks/{reference-f83rra1p.js → state-12fdgkdc.js} +17 -17
- package/dist/chunks/{reference-p5tk1xdz.js → state-18b1hh0p.js} +9 -9
- package/dist/chunks/{reference-vrcqvppy.js → state-1999mk9j.js} +3 -3
- package/dist/chunks/{reference-3cj79q64.js → state-1a8sbnjz.js} +29 -29
- package/dist/chunks/{reference-1aqsckx4.js → state-1aqsckx4.js} +1 -1
- package/dist/chunks/{reference-1ep2p91f.js → state-1ep2p91f.js} +2 -2
- package/dist/chunks/{reference-x99rj23t.js → state-1f7bherr.js} +5 -5
- package/dist/chunks/{reference-8b1fnpp4.js → state-1h45f7t3.js} +2 -2
- package/dist/chunks/{reference-k8ym5mz8.js → state-1r9x5jy1.js} +25 -25
- package/dist/chunks/{reference-s95kd71e.js → state-1tv0rdrh.js} +5 -5
- package/dist/chunks/{reference-cykhyy0b.js → state-1wmcyv3n.js} +21 -21
- package/dist/chunks/{reference-1x2knyw4.js → state-1x2knyw4.js} +1 -1
- package/dist/chunks/{reference-1yq9hg58.js → state-1yq9hg58.js} +1 -1
- package/dist/chunks/{reference-4ppd04am.js → state-252v1245.js} +25 -25
- package/dist/chunks/{reference-26wfx3k0.js → state-26wfx3k0.js} +1 -1
- package/dist/chunks/{reference-kmdfewpn.js → state-27mv501c.js} +13 -13
- package/dist/chunks/{reference-vfpwj1z9.js → state-29b2jdhg.js} +17 -17
- package/dist/chunks/{reference-r3dyarc0.js → state-29bb1z5w.js} +19 -19
- package/dist/chunks/{reference-646ec68m.js → state-2ef8h96f.js} +89 -89
- package/dist/chunks/{reference-qt06qqgg.js → state-2esx615e.js} +15 -15
- package/dist/chunks/{reference-77gyrf4e.js → state-2f6z8mkj.js} +16 -16
- package/dist/chunks/{reference-2fc7eemy.js → state-2fc7eemy.js} +1 -1
- package/dist/chunks/{reference-2prt43t7.js → state-2prt43t7.js} +1 -1
- package/dist/chunks/{reference-m625wzge.js → state-2s5t5rf6.js} +26 -26
- package/dist/chunks/{reference-p6btpwxy.js → state-2y4kj1nk.js} +36 -36
- package/dist/chunks/{reference-5cqcj65p.js → state-2z7yzjmq.js} +10 -10
- package/dist/chunks/{reference-6gfzdxma.js → state-34q69jav.js} +15 -15
- package/dist/chunks/{reference-m6cfdtf3.js → state-365eavge.js} +4 -4
- package/dist/chunks/{reference-anvcme1c.js → state-38aws4xb.js} +4 -4
- package/dist/chunks/{reference-3adw4bt5.js → state-3adw4bt5.js} +2 -2
- package/dist/chunks/{reference-btz4vdf2.js → state-3ex1ss0s.js} +9 -9
- package/dist/chunks/{reference-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-9e10291s.js → state-3mcw4x93.js} +3 -3
- package/dist/chunks/{reference-3nnrz6f6.js → state-3nnrz6f6.js} +1 -1
- package/dist/chunks/{reference-ffz5mdja.js → state-3vteg2f2.js} +20 -20
- package/dist/chunks/{reference-40y6dtc2.js → state-40y6dtc2.js} +1 -1
- package/dist/chunks/{reference-5enarcya.js → state-40za9wsf.js} +6 -6
- package/dist/chunks/{reference-4bde0nmr.js → state-44yrm8qh.js} +4 -4
- package/dist/chunks/{reference-15bt4k80.js → state-477xcvvv.js} +34 -34
- package/dist/chunks/{reference-9n8tnhz2.js → state-49hehw0c.js} +18 -18
- package/dist/chunks/{reference-4dx1dgte.js → state-4dx1dgte.js} +1 -1
- package/dist/chunks/{reference-4f25tdd0.js → state-4f25tdd0.js} +1 -1
- package/dist/chunks/{reference-etrnj9s7.js → state-4g28f8pt.js} +11 -11
- package/dist/chunks/{reference-f1vhs7g6.js → state-4hr7fwjv.js} +5 -5
- package/dist/chunks/{reference-5kvw8a0x.js → state-4m38r76j.js} +51 -45
- package/dist/chunks/{reference-4v008n1t.js → state-4v008n1t.js} +1 -1
- package/dist/chunks/{reference-s3hzycef.js → state-4wng0tzc.js} +7 -7
- package/dist/chunks/{reference-kyarcgap.js → state-4x4k8yz9.js} +39 -39
- package/dist/chunks/{reference-2wa1kc21.js → state-5czk7f01.js} +52 -66
- package/dist/chunks/{reference-f561ag7y.js → state-5d9z4kbg.js} +33 -33
- package/dist/chunks/{reference-j9wsckqw.js → state-5hqtyxmr.js} +4 -4
- package/dist/chunks/{reference-895rbha0.js → state-5jgveppj.js} +30 -30
- package/dist/chunks/{reference-p315n7wk.js → state-5kxfz8sh.js} +5 -5
- package/dist/chunks/{reference-5m9w47nd.js → state-5m9w47nd.js} +1 -1
- package/dist/chunks/{reference-5rf5fny6.js → state-5q43kaf5.js} +18 -18
- package/dist/chunks/{reference-sk5qsbcw.js → state-5s00fg7y.js} +5 -5
- package/dist/chunks/{reference-s5hc8crh.js → state-5w8tnwf6.js} +22 -22
- package/dist/chunks/{reference-349pq75d.js → state-5zeen97g.js} +30 -30
- package/dist/chunks/{reference-a69vsmja.js → state-5zfet53a.js} +30 -17
- package/dist/chunks/{reference-8rcah7bz.js → state-63ttahp5.js} +26 -26
- package/dist/chunks/{reference-tz6v41kq.js → state-6dyd7a8d.js} +35 -35
- package/dist/chunks/{reference-rmq68yqt.js → state-6f37fr29.js} +3 -3
- package/dist/chunks/{reference-6h8vcvjm.js → state-6h8vcvjm.js} +2 -2
- package/dist/chunks/{reference-6ddxa9ny.js → state-6xxz4301.js} +59 -59
- package/dist/chunks/{reference-6y2b864j.js → state-6y2b864j.js} +1 -1
- package/dist/chunks/{reference-pg4h2v2x.js → state-72394rmt.js} +34 -34
- package/dist/chunks/{reference-hf54tcy3.js → state-74tzf041.js} +13 -13
- package/dist/chunks/{reference-775hqbnd.js → state-775hqbnd.js} +3 -3
- package/dist/chunks/{reference-y92tkm2s.js → state-78crq86g.js} +27 -27
- package/dist/chunks/{reference-1ygs4haa.js → state-7a1x87rk.js} +9 -9
- package/dist/chunks/{reference-zj8xybwn.js → state-7ae08jw1.js} +11 -11
- package/dist/chunks/{reference-czyshrsa.js → state-7bm7atj2.js} +11 -11
- package/dist/chunks/{reference-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-76crged4.js → state-7cmbzbmd.js} +9 -9
- package/dist/chunks/{reference-s0ygqa02.js → state-7dny7dvh.js} +21 -19
- package/dist/chunks/{reference-x0atgr6t.js → state-7gq6cvk3.js} +28 -28
- package/dist/chunks/{reference-wyrr125q.js → state-7ke2z32d.js} +6 -6
- package/dist/chunks/{reference-hj0xet7m.js → state-7nb8tm12.js} +5 -5
- package/dist/chunks/{reference-7nyex9j3.js → state-7nyex9j3.js} +1 -1
- package/dist/chunks/{reference-eqma6dsj.js → state-7nyxn3y6.js} +18 -18
- package/dist/chunks/{reference-7tx5zndv.js → state-7tx5zndv.js} +2 -2
- package/dist/chunks/{reference-7w2ypzdf.js → state-7w2ypzdf.js} +1 -1
- package/dist/chunks/{reference-7weczvnd.js → state-7weczvnd.js} +1 -1
- package/dist/chunks/{reference-xacrkbdt.js → state-7zs4mqwf.js} +4 -4
- package/dist/chunks/{reference-80pdk984.js → state-80pdk984.js} +1 -1
- package/dist/chunks/{reference-2wzc7q0z.js → state-83ycnzfs.js} +17 -17
- package/dist/chunks/{reference-85jq8dht.js → state-85jq8dht.js} +1 -1
- package/dist/chunks/{reference-xd4hy0hz.js → state-89j9ffww.js} +25 -25
- package/dist/chunks/{reference-8b3vzgkx.js → state-8b3vzgkx.js} +1 -1
- package/dist/chunks/{reference-t4bagt3j.js → state-8bmkbtc8.js} +31 -31
- package/dist/chunks/{reference-wm71t73q.js → state-8hbxat0b.js} +7 -7
- package/dist/chunks/{reference-4f007zx7.js → state-8jgydtg3.js} +24 -24
- package/dist/chunks/{reference-8kjyvwy5.js → state-8kjyvwy5.js} +1 -1
- package/dist/chunks/{reference-jgfn7qyr.js → state-8rgkpay0.js} +30 -30
- package/dist/chunks/{reference-8sxe6kv8.js → state-8sxe6kv8.js} +2 -2
- package/dist/chunks/{reference-5z1224kk.js → state-8tr1mvjp.js} +21 -21
- package/dist/chunks/{reference-8wtp7s3z.js → state-8wtp7s3z.js} +1 -1
- package/dist/chunks/{reference-6es1dp4c.js → state-8xgwt13h.js} +8 -8
- package/dist/chunks/{reference-ras62pb2.js → state-8zqzm5np.js} +12 -12
- package/dist/chunks/{reference-9ea275t2.js → state-92816w05.js} +21 -21
- package/dist/chunks/{reference-9q871ccp.js → state-92em498v.js} +24 -24
- package/dist/chunks/{reference-93xmyh8q.js → state-93xmyh8q.js} +2 -2
- package/dist/chunks/{reference-d9vtvrnf.js → state-95kfdwsb.js} +16 -16
- package/dist/chunks/{reference-px11kq8x.js → state-97hjcvss.js} +16 -16
- package/dist/chunks/{reference-jc4hddva.js → state-9aj4jpxp.js} +16 -16
- package/dist/chunks/{reference-p3pff46z.js → state-9dq3b9t5.js} +5 -5
- package/dist/chunks/{reference-4vzr2b15.js → state-9zfcngb4.js} +3 -3
- package/dist/chunks/{reference-jja1z2vg.js → state-a1sevdk6.js} +8 -8
- package/dist/chunks/{reference-ta557hq4.js → state-a33csnpw.js} +23 -23
- package/dist/chunks/{reference-faeaqd3n.js → state-a3p7gvf1.js} +16 -16
- package/dist/chunks/{reference-842xs9ev.js → state-a7qfweag.js} +8 -8
- package/dist/chunks/{reference-7mgqnej7.js → state-abn43cmf.js} +4 -4
- package/dist/chunks/{reference-3raywgqr.js → state-abtv3p93.js} +12 -12
- package/dist/chunks/{reference-vkf7jdr5.js → state-ag6d02bt.js} +16 -16
- package/dist/chunks/{reference-jd854n9h.js → state-ajrn69cv.js} +35 -35
- package/dist/chunks/{reference-9vafp96s.js → state-akgfxd4f.js} +34 -34
- package/dist/chunks/{reference-dgyjw8xn.js → state-at3h86re.js} +19 -19
- package/dist/chunks/{reference-ctbyzw6h.js → state-ay1zsbqa.js} +7 -7
- package/dist/chunks/{reference-czm9pz93.js → state-ay7cybv2.js} +13 -13
- package/dist/chunks/{reference-ayjs7tqn.js → state-ayjs7tqn.js} +2 -2
- package/dist/chunks/{reference-ne8km3tq.js → state-baes9p30.js} +69 -69
- package/dist/chunks/{reference-fqcq75s6.js → state-bcb11p47.js} +25 -25
- package/dist/chunks/{reference-1mhhmgmt.js → state-bcndt51e.js} +5 -5
- package/dist/chunks/{reference-rhnyjarm.js → state-bf55zpar.js} +16 -16
- package/dist/chunks/{reference-zgbghj0q.js → state-bfnxjwq5.js} +26 -26
- package/dist/chunks/{reference-bhfd478d.js → state-bhfd478d.js} +1 -1
- package/dist/chunks/{reference-raztesy5.js → state-bjbd0zk3.js} +13 -13
- package/dist/chunks/{reference-bstexjd6.js → state-bstexjd6.js} +1 -1
- package/dist/chunks/{reference-yn3b7pm8.js → state-btmf51hx.js} +3 -3
- package/dist/chunks/{reference-63mc9ghj.js → state-bzqd1pm8.js} +11 -11
- package/dist/chunks/{reference-px7qpgcn.js → state-c5zvymhv.js} +4 -4
- package/dist/chunks/{reference-pwn7s42w.js → state-c8909h3p.js} +7 -7
- package/dist/chunks/{reference-xeejg63p.js → state-cb67h20a.js} +5 -5
- package/dist/chunks/{reference-arvnv41s.js → state-cea0pb0e.js} +38 -38
- package/dist/chunks/{reference-5bmsmh2h.js → state-cj3hz2x6.js} +34 -34
- package/dist/chunks/{reference-rkd48pdt.js → state-ckn0kvtp.js} +6 -6
- package/dist/chunks/{reference-ecg0s3fk.js → state-cn4fstdz.js} +12 -12
- package/dist/chunks/{reference-qn1s2xtg.js → state-cnn0mxn5.js} +29 -29
- package/dist/chunks/{reference-8ydxba3r.js → state-cvkx6mms.js} +5 -5
- package/dist/chunks/{reference-cwrgdav8.js → state-cwrgdav8.js} +2 -2
- package/dist/chunks/{reference-z2tnev7z.js → state-d3fh3mtd.js} +46 -46
- package/dist/chunks/{reference-d4v9tmah.js → state-d4v9tmah.js} +2 -2
- package/dist/chunks/{reference-yhjem5gc.js → state-daqyv0pv.js} +49 -49
- package/dist/chunks/{reference-rn81edrx.js → state-df8zr684.js} +8 -8
- package/dist/chunks/{reference-140p7wba.js → state-dkcj7wpp.js} +8 -8
- package/dist/chunks/{reference-b68ermf5.js → state-dpmea4mq.js} +60 -60
- package/dist/chunks/{reference-dt77769w.js → state-dt77769w.js} +1 -1
- package/dist/chunks/{reference-1yxvqtag.js → state-e185e5a1.js} +10 -10
- package/dist/chunks/{reference-8tdv4j48.js → state-e71bb87j.js} +8 -8
- package/dist/chunks/{reference-9se2sd9k.js → state-e9gy6s62.js} +12 -12
- package/dist/chunks/{reference-1mmczb7m.js → state-eb5hmwg4.js} +361 -361
- package/dist/chunks/{reference-gqwdy2ja.js → state-ec8mf4am.js} +24 -24
- package/dist/chunks/{reference-gnbwta0v.js → state-ef98ssks.js} +8 -8
- package/dist/chunks/{reference-hvaz0f14.js → state-emenfhen.js} +50 -45
- package/dist/chunks/{reference-5cztv455.js → state-emjwx2gq.js} +15 -15
- package/dist/chunks/{reference-60tnzmc4.js → state-eqtf2ss2.js} +4 -4
- package/dist/chunks/{reference-eqw4pqj1.js → state-eqw4pqj1.js} +2 -2
- package/dist/chunks/{reference-6ffwtn0f.js → state-ez0xx7aj.js} +3 -3
- package/dist/chunks/{reference-3j4qesnv.js → state-ez1sht9e.js} +187 -187
- package/dist/chunks/state-ezna1kdx.js +18 -0
- package/dist/chunks/{reference-v5pg3v9h.js → state-ezzcymd9.js} +11 -11
- package/dist/chunks/{reference-0da36nhd.js → state-f3agv7cd.js} +20 -20
- package/dist/chunks/{reference-tc0dkx12.js → state-f4vq2sjs.js} +82 -82
- package/dist/chunks/{reference-fax097qp.js → state-fax097qp.js} +1 -1
- package/dist/chunks/{reference-hty9eptx.js → state-fcrts5pp.js} +5 -5
- package/dist/chunks/{reference-fg9p65nk.js → state-fg9p65nk.js} +2 -2
- package/dist/chunks/{reference-r93s3fj9.js → state-fk3208wx.js} +16 -16
- package/dist/chunks/{reference-hxxrf92k.js → state-frg8gwcp.js} +9 -9
- package/dist/chunks/{reference-2n444ktb.js → state-fyfzbt3s.js} +3 -3
- package/dist/chunks/state-g0wpqbec.js +91 -0
- package/dist/chunks/{reference-mkxevfrg.js → state-g3wj12x4.js} +8 -8
- package/dist/chunks/{reference-tp1jb13k.js → state-g4txs7zc.js} +7 -7
- package/dist/chunks/{reference-jcz74541.js → state-g650r2x6.js} +6 -6
- package/dist/chunks/{reference-5gkzd2cg.js → state-ga27sqjy.js} +14 -14
- package/dist/chunks/{reference-gbjdnr5j.js → state-gbjdnr5j.js} +2 -2
- package/dist/chunks/{reference-xb29rgj5.js → state-gdsybvzc.js} +9 -9
- package/dist/chunks/{reference-2j5rqqks.js → state-gf751m25.js} +4 -4
- package/dist/chunks/{reference-cjsjkmmf.js → state-ggj1p7e5.js} +8 -8
- package/dist/chunks/{reference-ghrv1g9c.js → state-ghrv1g9c.js} +1 -1
- package/dist/chunks/{reference-kx167wjf.js → state-gjfmw2mq.js} +21 -21
- package/dist/chunks/{reference-kxd8t73g.js → state-greqc4tt.js} +41 -41
- package/dist/chunks/{reference-gxs71cxp.js → state-gxs71cxp.js} +1 -1
- package/dist/chunks/{reference-cprv8pe1.js → state-gyd0svns.js} +21 -21
- package/dist/chunks/{reference-84tzw0hb.js → state-hctzs2v8.js} +3 -3
- package/dist/chunks/{reference-hgzwgvze.js → state-hgzwgvze.js} +2 -2
- package/dist/chunks/{reference-29kgfcs4.js → state-hj22ssbz.js} +19 -19
- package/dist/chunks/{reference-bg23z55d.js → state-hkj9x04x.js} +17 -17
- package/dist/chunks/{reference-njyb0yar.js → state-hskjzqkb.js} +13 -13
- package/dist/chunks/{reference-0qmbz6n9.js → state-hxktsnjb.js} +60 -60
- package/dist/chunks/{reference-hh1bncry.js → state-hykps0zw.js} +26 -26
- package/dist/chunks/{reference-jht64jd1.js → state-j376ae4e.js} +7 -7
- package/dist/chunks/{reference-0ahs07zn.js → state-j3f8hyeg.js} +4 -4
- package/dist/chunks/{reference-09yvw0mr.js → state-j3khjgx3.js} +26 -25
- package/dist/chunks/{reference-j7km1s7q.js → state-j7km1s7q.js} +3 -3
- package/dist/chunks/{reference-j9nxzz3g.js → state-j9nxzz3g.js} +3 -3
- package/dist/chunks/{reference-nd2qx06s.js → state-jahxfc61.js} +9 -9
- package/dist/chunks/{reference-ytfr5x0q.js → state-jbmt4bm3.js} +7 -7
- package/dist/chunks/{reference-ym845wmg.js → state-jdj4sb5v.js} +16 -16
- package/dist/chunks/{reference-r688a1py.js → state-jfsh0w8k.js} +29 -29
- package/dist/chunks/{reference-n1g6vy3k.js → state-jm12cmw1.js} +3 -3
- package/dist/chunks/{reference-nj35chds.js → state-jm21nd0n.js} +16 -16
- package/dist/chunks/{reference-jm70asfg.js → state-jm70asfg.js} +1 -1
- package/dist/chunks/{reference-y2varjre.js → state-jpmqdhrk.js} +8 -8
- package/dist/chunks/{reference-tnqch5a7.js → state-jtpvrcts.js} +15 -15
- package/dist/chunks/{reference-160avepg.js → state-jw06sn6b.js} +54 -41
- package/dist/chunks/{reference-twhtcdx9.js → state-jxd6f16v.js} +4 -4
- package/dist/chunks/{reference-1sxy957q.js → state-k0e6v0cv.js} +25 -25
- package/dist/chunks/{reference-ebvpjh9k.js → state-k10qztr6.js} +11 -11
- package/dist/chunks/{reference-rwdjy60w.js → state-k9hq1jvt.js} +12 -12
- package/dist/chunks/{reference-at1kchjw.js → state-kgmdm1mc.js} +6 -6
- package/dist/chunks/{reference-qffk4v12.js → state-kh0hrg97.js} +4 -4
- package/dist/chunks/{reference-qfz6bxfd.js → state-kj9n5bvh.js} +4 -4
- package/dist/chunks/{reference-2x93n1ej.js → state-kja9qb4q.js} +7 -7
- package/dist/chunks/{reference-4gnxwjvc.js → state-kkd7x4bj.js} +18 -18
- package/dist/chunks/{reference-kt3bjfbg.js → state-kt3bjfbg.js} +1 -1
- package/dist/chunks/{reference-kzczzf4v.js → state-kzczzf4v.js} +1 -1
- package/dist/chunks/{reference-m1714858.js → state-m1714858.js} +1 -1
- package/dist/chunks/{reference-jyjn8g0g.js → state-m3da8wrg.js} +4 -4
- package/dist/chunks/{reference-4dfqsw0d.js → state-m4p4r8nc.js} +4 -4
- package/dist/chunks/{reference-m90tx7mw.js → state-m90tx7mw.js} +1 -1
- package/dist/chunks/{reference-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-7k563s2s.js → state-mb6jj0rf.js} +21 -21
- package/dist/chunks/{reference-mb7mbhnz.js → state-mb7mbhnz.js} +3 -3
- package/dist/chunks/{reference-mcbq1bax.js → state-mcbq1bax.js} +4 -4
- package/dist/chunks/{reference-w37kx9ey.js → state-mqenmh3d.js} +16 -16
- package/dist/chunks/{reference-a3yd9412.js → state-mrkkjtt8.js} +23 -23
- package/dist/chunks/{reference-mwnxvxbk.js → state-mwnxvxbk.js} +1 -1
- package/dist/chunks/{reference-c7wvhm3n.js → state-mzfc0fgk.js} +15 -15
- package/dist/chunks/{reference-d46fzswe.js → state-n08a4cme.js} +13 -13
- package/dist/chunks/{reference-abmsf3fs.js → state-n1tma48k.js} +6 -6
- package/dist/chunks/{reference-a0s2st0f.js → state-n6wcqzth.js} +47 -47
- package/dist/chunks/{reference-d9gsy12g.js → state-n82amx1c.js} +37 -37
- package/dist/chunks/{reference-0tfgktw9.js → state-n8p3hmwy.js} +1 -1
- package/dist/chunks/{reference-shr5j6fv.js → state-n9abymfr.js} +68 -30
- package/dist/chunks/{reference-e90d3155.js → state-njt828rv.js} +23 -23
- package/dist/chunks/{reference-8zv0xmg5.js → state-nmbeff6n.js} +28 -23
- package/dist/chunks/{reference-b2ye4m2n.js → state-nwdygren.js} +90 -90
- package/dist/chunks/{reference-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{reference-xpwer43m.js → state-pvz0xt04.js} +20 -20
- package/dist/chunks/{reference-q5bk3gvt.js → state-q5bk3gvt.js} +2 -2
- package/dist/chunks/{reference-n2jw42fy.js → state-q6d5y36s.js} +30 -30
- package/dist/chunks/{reference-907zabr0.js → state-q6qptccb.js} +5 -5
- package/dist/chunks/{reference-nn5tx5gq.js → state-q8n8cagx.js} +10 -10
- package/dist/chunks/{reference-qj7h0xhd.js → state-qhrnw5a6.js} +29 -29
- package/dist/chunks/{reference-ky596kc3.js → state-qkc3z5ds.js} +4 -4
- package/dist/chunks/{reference-qp7r0hxv.js → state-qp7r0hxv.js} +1 -1
- package/dist/chunks/{reference-4h8vhxff.js → state-qqw7yz25.js} +5 -5
- package/dist/chunks/{reference-hze8chsk.js → state-r75f2j8n.js} +11 -11
- package/dist/chunks/{reference-rb9dy4dg.js → state-rb9dy4dg.js} +1 -1
- package/dist/chunks/{reference-sg9qvcf7.js → state-rfccf7fd.js} +15 -15
- package/dist/chunks/{reference-rgc9cx3e.js → state-rgc9cx3e.js} +2 -2
- package/dist/chunks/{reference-tersd549.js → state-rkqz6a1c.js} +31 -31
- package/dist/chunks/{reference-ns5mzj5n.js → state-rp80tbx1.js} +11 -11
- package/dist/chunks/{reference-24y5y724.js → state-rx63kfe9.js} +7 -7
- package/dist/chunks/{reference-k1tsppx9.js → state-rxtj5w21.js} +14 -14
- package/dist/chunks/{reference-bz298c0e.js → state-rz4exe9c.js} +11 -11
- package/dist/chunks/{reference-ad21tgm2.js → state-s1ba0vj0.js} +4 -4
- package/dist/chunks/{reference-6mvvpckb.js → state-s1snmxf3.js} +20 -20
- package/dist/chunks/{reference-s47rahr7.js → state-s47rahr7.js} +1 -1
- package/dist/chunks/{reference-8jf97bfe.js → state-s7yxjkz4.js} +2 -2
- package/dist/chunks/{reference-q8efd4h8.js → state-s9xqbcwv.js} +22 -22
- package/dist/chunks/{reference-sbya78hr.js → state-sbya78hr.js} +1 -1
- package/dist/chunks/{reference-nds6v727.js → state-ss6cpaky.js} +4 -4
- package/dist/chunks/{reference-svcy3p9a.js → state-svcy3p9a.js} +1 -1
- package/dist/chunks/{reference-mbpn787b.js → state-sy08yzhb.js} +16 -16
- package/dist/chunks/{reference-1ah6h1c8.js → state-t487xv8s.js} +12 -12
- package/dist/chunks/{reference-dbatw319.js → state-t48jrnqq.js} +3 -3
- package/dist/chunks/{reference-nkq0r34s.js → state-t7n150wv.js} +7 -7
- package/dist/chunks/{reference-t8erkws8.js → state-t8erkws8.js} +2 -2
- package/dist/chunks/{reference-tbpn7jtk.js → state-tbpn7jtk.js} +1 -1
- package/dist/chunks/{reference-0t2pfgdp.js → state-tc3prtck.js} +15 -15
- package/dist/chunks/{reference-tczq8hjw.js → state-tczq8hjw.js} +1 -1
- package/dist/chunks/{reference-v8mqk12g.js → state-tgcjn8ea.js} +23 -23
- package/dist/chunks/{reference-vne9161z.js → state-tnagtm44.js} +3 -3
- package/dist/chunks/{reference-k79ts4c4.js → state-tp50wbw6.js} +13 -13
- package/dist/chunks/{reference-8jkr9nzy.js → state-tt65sykp.js} +32 -32
- package/dist/chunks/{reference-tvtps2q9.js → state-tvtps2q9.js} +1 -1
- package/dist/chunks/{reference-twssxy5n.js → state-twssxy5n.js} +2 -2
- package/dist/chunks/{reference-b90wsfgm.js → state-tz8by5ck.js} +35 -29
- package/dist/chunks/{reference-w79nt68w.js → state-v0t96s7a.js} +4 -4
- package/dist/chunks/{reference-v2r1d0zg.js → state-v2r1d0zg.js} +1 -1
- package/dist/chunks/{reference-enkpkfwx.js → state-v5hpj9dd.js} +8 -8
- package/dist/chunks/{reference-y3zgrqjt.js → state-vh266b4c.js} +20 -20
- package/dist/chunks/{reference-vjf35v1f.js → state-vjf35v1f.js} +1 -1
- package/dist/chunks/{reference-a1adkc9f.js → state-vnvwt0wg.js} +30 -30
- package/dist/chunks/{reference-xv84ez3t.js → state-vrzmb6mk.js} +12 -12
- package/dist/chunks/{reference-2c2gnwbs.js → state-vvg3ktg6.js} +15 -15
- package/dist/chunks/{reference-ehz6qvp6.js → state-w0t345fn.js} +10 -10
- package/dist/chunks/{reference-grtpag7b.js → state-w28241sq.js} +31 -30
- package/dist/chunks/{reference-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-cthcgjcr.js → state-w4n8krtt.js} +16 -16
- package/dist/chunks/{reference-wr3re1en.js → state-w687dnns.js} +4 -4
- package/dist/chunks/{reference-wakvkjy4.js → state-wakvkjy4.js} +1 -1
- package/dist/chunks/{reference-d44kf1gs.js → state-wc1a1f4e.js} +21 -21
- package/dist/chunks/{reference-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{reference-wegkxhrn.js → state-wegkxhrn.js} +2 -2
- package/dist/chunks/{reference-hk3y1mfk.js → state-wggfwex4.js} +16 -16
- package/dist/chunks/{reference-9f771hzk.js → state-wkcgx9r5.js} +19 -19
- package/dist/chunks/{reference-6mt11s64.js → state-wves2w9a.js} +6 -6
- package/dist/chunks/{reference-2qq9re5v.js → state-x01zwkkh.js} +18 -18
- package/dist/chunks/{reference-qberbke4.js → state-x5qggkyz.js} +21 -21
- package/dist/chunks/{reference-exhywyk0.js → state-x6ew6y6p.js} +29 -29
- package/dist/chunks/{reference-x334e86p.js → state-x6q8j6vz.js} +9 -9
- package/dist/chunks/{reference-nw59ky66.js → state-x9nmp85w.js} +12 -12
- package/dist/chunks/{reference-r8ap5qmt.js → state-xjfvcama.js} +31 -31
- package/dist/chunks/{reference-xxschbft.js → state-xjr6c8m4.js} +4 -4
- package/dist/chunks/{reference-0zgxx6e3.js → state-xkk8ddsd.js} +6 -6
- package/dist/chunks/{reference-rt5qjrvj.js → state-xksw6ev0.js} +4 -4
- package/dist/chunks/{reference-5bmm57mk.js → state-xpmfaw4g.js} +17 -17
- package/dist/chunks/{reference-pz2rpg56.js → state-xrx85msc.js} +43 -43
- package/dist/chunks/{reference-xvn8mnch.js → state-xvn8mnch.js} +1 -1
- package/dist/chunks/{reference-xz07m27x.js → state-xz07m27x.js} +2 -2
- package/dist/chunks/{reference-vky7yb82.js → state-xzcw0d8z.js} +18 -18
- package/dist/chunks/{reference-h0sqfhxy.js → state-y04krnxt.js} +38 -38
- package/dist/chunks/{reference-fybacw3w.js → state-y42a62sv.js} +13 -13
- package/dist/chunks/{reference-yb20nhc3.js → state-yb20nhc3.js} +1 -1
- package/dist/chunks/{reference-98841e2j.js → state-yezeg7jb.js} +40 -40
- package/dist/chunks/{reference-hn5aq7fc.js → state-ygbwgbeb.js} +25 -25
- package/dist/chunks/state-ymyzmgdn.js +273 -0
- package/dist/chunks/{reference-yr705xyq.js → state-yr705xyq.js} +1 -1
- package/dist/chunks/{reference-2tbbsa1w.js → state-yt2yd2ha.js} +17 -17
- package/dist/chunks/{reference-wvn014fh.js → state-ytk2jwkq.js} +36 -36
- package/dist/chunks/{reference-yvtc2x31.js → state-yvtc2x31.js} +1 -1
- package/dist/chunks/{reference-e3dzhadh.js → state-yy3ysynw.js} +12 -16
- package/dist/chunks/{reference-a3fn0gmm.js → state-z0c26qk4.js} +2 -2
- package/dist/chunks/{reference-1cf8e300.js → state-z0vh365s.js} +6 -6
- package/dist/chunks/{reference-z0wbgq7s.js → state-z0wbgq7s.js} +1 -1
- package/dist/chunks/{reference-963hk181.js → state-z7881fav.js} +7 -7
- package/dist/chunks/{reference-cs53cha0.js → state-zcvsxapg.js} +8 -8
- package/dist/chunks/{reference-f8915yqa.js → state-zf4xgyhj.js} +8 -8
- package/dist/chunks/{reference-d8p3t516.js → state-zfyb5tr4.js} +4 -4
- package/dist/chunks/{reference-h83nrb4v.js → state-znss4kzc.js} +9 -9
- package/dist/chunks/{reference-6pnr6kvt.js → state-zq890cq6.js} +5 -5
- package/dist/chunks/{reference-w5303trh.js → state-zv0mezyc.js} +5 -5
- package/dist/chunks/{reference-5dxtpe4t.js → state-zvbyz5gv.js} +16 -16
- package/dist/chunks/state-zzby2jc7.js +26 -0
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +151 -151
- package/dist/codemode/instructions.js +6 -6
- package/dist/codemode/tool.js +158 -158
- package/dist/command.js +93 -93
- package/dist/config/discovery.js +96 -96
- 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 +114 -114
- package/dist/config/plugin/agent.js +135 -135
- package/dist/config/plugin/command.js +250 -250
- package/dist/config/plugin/compaction.js +176 -176
- package/dist/config/plugin/compatibility.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +133 -133
- package/dist/config/plugin/image.js +132 -132
- package/dist/config/plugin/instruction.js +133 -133
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +151 -151
- package/dist/config/plugin/policy.js +132 -132
- package/dist/config/plugin/provider.js +132 -132
- package/dist/config/plugin/reference.js +134 -134
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +152 -152
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +159 -159
- package/dist/config/plugin/snapshot.js +132 -132
- package/dist/config/plugin/source.js +136 -136
- package/dist/config/plugin/tool-output.js +133 -133
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +134 -134
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +93 -93
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +82 -82
- package/dist/database/drizzle/effect-sqlite/driver.js +13 -13
- package/dist/database/drizzle/effect-sqlite/index.js +13 -13
- package/dist/database/drizzle/effect-sqlite/session.js +12 -12
- package/dist/database/drizzle/index.js +14 -14
- 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 +15 -15
- 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 +77 -77
- 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/storage-failure.js +1 -1
- package/dist/database/v1-migration.bun.js +104 -104
- package/dist/effect/app-node-builder.js +451 -451
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/client-tls/client-tls.bun.js +1 -1
- package/dist/effect/client-tls/client-tls.node.js +1 -1
- package/dist/effect/client-tls/client-tls.workerd.js +1 -1
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -108
- 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 +86 -86
- package/dist/file-access.js +163 -163
- package/dist/file-mutation.js +109 -109
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +167 -167
- 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 +92 -92
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +259 -259
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +114 -114
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +117 -117
- package/dist/flag.js +133 -133
- package/dist/form.js +92 -92
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +101 -101
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +114 -114
- 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 +442 -442
- package/dist/instruction-discovery.js +89 -89
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +2 -2
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +97 -97
- 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 +89 -89
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +85 -85
- package/dist/location-activity.js +191 -191
- package/dist/location-lifecycle.js +156 -156
- package/dist/location-service-map.js +100 -100
- package/dist/location-services.js +439 -439
- package/dist/location.js +101 -101
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +162 -162
- package/dist/mcp/connection.js +105 -105
- package/dist/mcp/event-errors.js +1 -1
- package/dist/mcp/index.js +150 -150
- package/dist/mcp/instructions.js +191 -191
- package/dist/mcp/oauth.js +91 -91
- package/dist/mcp/pool.js +111 -111
- 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 +114 -114
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +115 -115
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +90 -90
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +157 -157
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +98 -98
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +87 -87
- package/dist/plugin/agent.js +88 -88
- package/dist/plugin/command.js +149 -149
- 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 +252 -252
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +419 -419
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +112 -112
- package/dist/plugin/module.js +131 -131
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +152 -152
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +108 -108
- package/dist/plugin/provider/azure.js +135 -135
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +136 -136
- package/dist/plugin/provider/claude-agent/aisdk.js +119 -119
- 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 +5 -5
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +150 -150
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +117 -117
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
- package/dist/plugin/provider/claude-agent/provider.js +114 -114
- package/dist/plugin/provider/claude-agent/session.js +114 -114
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +132 -132
- package/dist/plugin/provider/cloudflare-workers-ai.js +132 -132
- package/dist/plugin/provider/configured.js +128 -128
- package/dist/plugin/provider/credential-settings.js +89 -89
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +111 -111
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +113 -113
- package/dist/plugin/provider/gitlab.js +112 -112
- package/dist/plugin/provider/google-vertex.js +129 -129
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +90 -90
- package/dist/plugin/provider/lmstudio.js +145 -145
- package/dist/plugin/provider/local.js +142 -142
- package/dist/plugin/provider/modal.js +110 -110
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +145 -145
- package/dist/plugin/provider/openai-context-caps.js +108 -108
- package/dist/plugin/provider/openai.js +136 -136
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +164 -164
- package/dist/plugin/provider/openrouter.js +106 -106
- package/dist/plugin/provider/poe.js +92 -92
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +88 -88
- package/dist/plugin/provider/sap-ai-core.js +106 -106
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +134 -134
- package/dist/plugin/provider/vllm.js +145 -145
- package/dist/plugin/provider/xai.js +106 -106
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +243 -243
- package/dist/plugin/sdk.js +90 -90
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +155 -155
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +427 -427
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +100 -100
- package/dist/plugin/vcs/hg.js +100 -100
- package/dist/plugin/verbosity.js +108 -108
- package/dist/plugin/warming.js +132 -132
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +259 -259
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +102 -102
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +110 -110
- package/dist/reference/instructions.js +103 -103
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +94 -94
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +112 -112
- package/dist/rpc.js +100 -100
- package/dist/schedule/check.js +257 -257
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +267 -267
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +134 -134
- package/dist/session/command.js +86 -86
- package/dist/session/compaction.js +178 -178
- package/dist/session/context.js +209 -209
- package/dist/session/diff.js +102 -102
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +276 -275
- package/dist/session/execution/subagent-report.js +146 -146
- package/dist/session/execution.js +171 -171
- package/dist/session/generate.js +209 -209
- package/dist/session/history.js +142 -142
- package/dist/session/inbox.js +151 -151
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +9 -9
- package/dist/session/instructions.js +143 -143
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +170 -170
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +177 -177
- package/dist/session/projector.js +149 -149
- package/dist/session/prompt.js +154 -154
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +145 -145
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +264 -264
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +116 -116
- package/dist/session/runner/publish-llm-event.js +156 -156
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +167 -167
- package/dist/session/runner/to-llm-message.js +143 -143
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +195 -195
- package/dist/session/shell.js +150 -150
- package/dist/session/skill.js +153 -153
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +88 -88
- package/dist/session/store.js +148 -148
- 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 +211 -211
- package/dist/session/to-session-error.js +155 -155
- package/dist/session/transfer.js +261 -261
- package/dist/session/usage.js +1 -1
- package/dist/session.js +250 -250
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +156 -156
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +157 -157
- package/dist/skill.js +158 -158
- package/dist/snapshot.js +105 -105
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +184 -184
- package/dist/tool/plugin/artifact.js +247 -247
- package/dist/tool/plugin/edit.js +171 -171
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +177 -177
- package/dist/tool/plugin/grep.js +176 -176
- package/dist/tool/plugin/image-generate.js +258 -258
- package/dist/tool/plugin/mcp-events.js +169 -169
- package/dist/tool/plugin/mcp-resource.js +173 -173
- package/dist/tool/plugin/opencode.js +169 -169
- package/dist/tool/plugin/patch.js +172 -172
- package/dist/tool/plugin/question.js +150 -150
- package/dist/tool/plugin/read.js +176 -176
- package/dist/tool/plugin/schedule.js +263 -263
- package/dist/tool/plugin/shell.js +253 -252
- package/dist/tool/plugin/skill.js +161 -161
- package/dist/tool/plugin/subagent.js +254 -254
- package/dist/tool/plugin/todo.js +159 -159
- package/dist/tool/plugin/webfetch.js +161 -161
- package/dist/tool/plugin/websearch.js +159 -159
- package/dist/tool/plugin/write.js +172 -172
- package/dist/tool/read-filesystem.js +115 -115
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +110 -110
- package/dist/tool-output.js +11 -11
- package/dist/tool.js +164 -164
- package/dist/types/blob-store.d.ts +36 -0
- package/dist/types/config/plugin/compaction.d.ts +1 -2
- package/dist/types/flag.d.ts +5 -4
- package/dist/types/generate.d.ts +31 -1
- package/dist/types/model-resolver.d.ts +3 -1
- package/dist/types/permission.d.ts +6 -1
- package/dist/types/session/compaction.d.ts +1 -1
- package/dist/types/shell/scan.d.ts +1 -1
- package/dist/types/tool/plugin/shell.d.ts +3 -1
- package/dist/types/video-generation.d.ts +21 -0
- package/dist/usage-limits.js +99 -99
- package/dist/util/canonical-json.js +1 -1
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +107 -107
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +103 -103
- package/dist/video-generation.js +256 -0
- package/dist/voice.js +98 -98
- package/dist/websearch.js +94 -94
- package/dist/wellknown/plugin.js +88 -88
- package/dist/wellknown.js +91 -91
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +94 -94
- 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 +103 -103
- package/dist/worktree.js +110 -110
- package/package.json +8 -8
- package/dist/chunks/reference-3ds0bstw.js +0 -273
- package/dist/chunks/reference-6bshxcsx.js +0 -18
- package/dist/chunks/reference-gytv1yy4.js +0 -26
- /package/dist/chunks/{reference-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-1kah00gy.js → state-1kah00gy.js} +0 -0
- /package/dist/chunks/{reference-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4qk9sjk2.js → state-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-5w3e23ze.js → state-5w3e23ze.js} +0 -0
- /package/dist/chunks/{reference-6agm2x70.js → state-6agm2x70.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-7rvsyqjv.js → state-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-84wd9syh.js → state-84wd9syh.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9ceax7yg.js → state-9ceax7yg.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-ade8csyh.js → state-ade8csyh.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-beh6qq61.js → state-beh6qq61.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cqv5kn06.js → state-cqv5kn06.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-ean2d8b5.js → state-ean2d8b5.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-fkpq3x5p.js → state-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hcxmzztb.js → state-hcxmzztb.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jwr30sdr.js → state-jwr30sdr.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-m18g726c.js → state-m18g726c.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-nh4v3znn.js → state-nh4v3znn.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-p71gwv9c.js → state-p71gwv9c.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-syrav9an.js → state-syrav9an.js} +0 -0
- /package/dist/chunks/{reference-t03h4f5z.js → state-t03h4f5z.js} +0 -0
- /package/dist/chunks/{reference-ty7weeps.js → state-ty7weeps.js} +0 -0
- /package/dist/chunks/{reference-v2dnd5dt.js → state-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{reference-ve7vex1e.js → state-ve7vex1e.js} +0 -0
- /package/dist/chunks/{reference-vtarvj67.js → state-vtarvj67.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x4th4bpe.js → state-x4th4bpe.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → state-z9919s4g.js} +0 -0
- /package/dist/chunks/{reference-zxpyjp51.js → state-zxpyjp51.js} +0 -0
- /package/dist/chunks/{reference-zz5vv3aq.js → state-zz5vv3aq.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service94,
|
|
4
|
+
node96
|
|
5
|
+
} from "./state-w4n8krtt.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service89,
|
|
8
|
+
node91
|
|
9
|
+
} from "./state-27mv501c.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event14,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service83,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node85,
|
|
26
26
|
resolve: () => resolve5
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service83 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event14 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var requestTimeout = "15 seconds";
|
|
@@ -79,10 +79,10 @@ var Sources = Schema.Array(Schema.String);
|
|
|
79
79
|
var manifestKey = (origin) => `wellknown:manifest:${origin}`;
|
|
80
80
|
var configKey = (origin) => `wellknown:config:${origin}`;
|
|
81
81
|
var Configs = Schema.Array(Config2);
|
|
82
|
-
var layer = Layer.effect(
|
|
82
|
+
var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
83
83
|
const http = yield* HttpClient.HttpClient;
|
|
84
|
-
const kv = yield*
|
|
85
|
-
const bus = yield*
|
|
84
|
+
const kv = yield* Service89;
|
|
85
|
+
const bus = yield* Service94;
|
|
86
86
|
const cache = yield* Ref.make(new Map);
|
|
87
87
|
const lock = Semaphore.makeUnsafe(1);
|
|
88
88
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
112
112
|
if (!changed)
|
|
113
113
|
return false;
|
|
114
114
|
yield* Ref.set(cache, next);
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
116
116
|
return true;
|
|
117
117
|
}, (effect) => lock.withPermit(effect));
|
|
118
|
-
return
|
|
118
|
+
return Service83.of({
|
|
119
119
|
entries: load,
|
|
120
120
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
121
121
|
refresh,
|
|
@@ -127,7 +127,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
127
127
|
const origins = yield* readOrigins;
|
|
128
128
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
129
129
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
130
|
-
yield* bus.publish(
|
|
130
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
131
131
|
return entry;
|
|
132
132
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
133
133
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -141,7 +141,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
141
141
|
next.delete(origin);
|
|
142
142
|
return next;
|
|
143
143
|
});
|
|
144
|
-
yield* bus.publish(
|
|
144
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
145
145
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
146
146
|
resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
|
|
147
147
|
const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
|
|
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
157
157
|
})
|
|
158
158
|
});
|
|
159
159
|
}));
|
|
160
|
-
var
|
|
160
|
+
var node85 = makeGlobalNode({ service: Service83, layer, deps: [httpClient, node91, node96] });
|
|
161
161
|
|
|
162
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
162
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service83, Event14, inspect2, resolve5, node85, exports_wellknown };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/shared-cache.ts
|
|
6
6
|
var exports_shared_cache = {};
|
|
7
7
|
__export(exports_shared_cache, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service79,
|
|
9
9
|
SharedCache: () => exports_shared_cache,
|
|
10
10
|
fingerprint: () => fingerprint2,
|
|
11
11
|
interval: () => interval2,
|
|
12
|
-
node: () =>
|
|
12
|
+
node: () => node81,
|
|
13
13
|
transient: () => transient2
|
|
14
14
|
});
|
|
15
15
|
import { Cause, Clock, Context, Duration, Effect, Exit, Fiber, FiberSet, Layer, Schedule } from "effect";
|
|
@@ -18,12 +18,12 @@ import { Hash } from "@opencode/util/hash";
|
|
|
18
18
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
var interval2 = Duration.minutes(10);
|
|
20
20
|
|
|
21
|
-
class
|
|
21
|
+
class Service79 extends Context.Service()("@opencode/SharedCache") {
|
|
22
22
|
}
|
|
23
23
|
var fingerprint2 = (secret) => Hash.sha256(secret).slice(0, 16);
|
|
24
24
|
var transient2 = (error) => Cause.isTimeoutError(error) || HttpClientError.isHttpClientError(error) && (error.reason._tag === "TransportError" || error.reason._tag === "StatusCodeError" && [408, 429, 500, 502, 503, 504].includes(error.reason.response.status));
|
|
25
25
|
var unread = Duration.toMillis(Duration.hours(24));
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
27
27
|
const run = yield* FiberSet.makeRuntime();
|
|
28
28
|
const entries = new Map;
|
|
29
29
|
const start = Effect.fnUntraced(function* (key, entry, load) {
|
|
@@ -59,8 +59,8 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
59
59
|
}))));
|
|
60
60
|
return yield* Fiber.join(entry.loading);
|
|
61
61
|
});
|
|
62
|
-
return
|
|
62
|
+
return Service79.of({ get });
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node81 = makeGlobalNode({ service: Service79, layer, deps: [] });
|
|
65
65
|
|
|
66
|
-
export { interval2,
|
|
66
|
+
export { interval2, Service79, fingerprint2, transient2, node81, exports_shared_cache };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-s47rahr7.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-rb9dy4dg.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-hgzwgvze.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -24,11 +24,11 @@ __export(exports_git3, {
|
|
|
24
24
|
Git: () => exports_git3,
|
|
25
25
|
OperationError: () => OperationError3,
|
|
26
26
|
Repository: () => Repository2,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service92,
|
|
28
28
|
TreeID: () => TreeID2,
|
|
29
29
|
Worktree: () => Worktree2,
|
|
30
30
|
WorktreeError: () => WorktreeError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node94
|
|
32
32
|
});
|
|
33
33
|
import os from "os";
|
|
34
34
|
import path from "path";
|
|
@@ -109,9 +109,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
109
109
|
}) {
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
class
|
|
112
|
+
class Service92 extends Context.Service()("@opencode/Git") {
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service92, Effect.gen(function* () {
|
|
115
115
|
const fs = yield* FSUtil.Service;
|
|
116
116
|
const proc = yield* AppProcess.Service;
|
|
117
117
|
const locks = makeUnsafe2();
|
|
@@ -815,7 +815,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
|
|
|
815
815
|
kind: index === 0 ? "main" : "linked"
|
|
816
816
|
}));
|
|
817
817
|
});
|
|
818
|
-
return
|
|
818
|
+
return Service92.of({
|
|
819
819
|
repo: { discover, fingerprint, clone, create },
|
|
820
820
|
remote: { get: remote },
|
|
821
821
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -832,7 +832,7 @@ var layer = Layer.effect(Service91, Effect.gen(function* () {
|
|
|
832
832
|
objects: { pack: packObjects }
|
|
833
833
|
});
|
|
834
834
|
}));
|
|
835
|
-
var
|
|
835
|
+
var node94 = makeGlobalNode({ service: Service92, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
836
836
|
function spawnFailure(operation, directory) {
|
|
837
837
|
return (cause) => new OperationError3({ operation, directory, message: cause.message, cause });
|
|
838
838
|
}
|
|
@@ -909,4 +909,4 @@ function resolvePath(cwd, value) {
|
|
|
909
909
|
return path.resolve(cwd, normalized);
|
|
910
910
|
}
|
|
911
911
|
|
|
912
|
-
export { Repository2, TreeID2, OperationError3, CommandError2, Worktree2, WorktreeError2,
|
|
912
|
+
export { Repository2, TreeID2, OperationError3, CommandError2, Worktree2, WorktreeError2, Service92, node94, exports_git3 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service94,
|
|
3
|
+
node96
|
|
4
|
+
} from "./state-w4n8krtt.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-bstexjd6.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service76,
|
|
17
|
+
node77
|
|
18
|
+
} from "./state-f3agv7cd.js";
|
|
19
19
|
import {
|
|
20
20
|
changes2,
|
|
21
21
|
create4
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./state-40y6dtc2.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./state-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/reference.ts
|
|
28
28
|
var exports_reference2 = {};
|
|
@@ -32,9 +32,9 @@ __export(exports_reference2, {
|
|
|
32
32
|
Info: () => Info16,
|
|
33
33
|
LocalSource: () => LocalSource2,
|
|
34
34
|
Reference: () => exports_reference2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service75,
|
|
36
36
|
Source: () => Source5,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node76
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
@@ -46,12 +46,12 @@ var GitSource2 = Reference.GitSource;
|
|
|
46
46
|
var Source5 = Reference.Source;
|
|
47
47
|
var Info16 = Reference.Info;
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service75 extends Context.Service()("@opencode/Reference") {
|
|
50
50
|
}
|
|
51
|
-
var layer = Layer.effect(
|
|
51
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
|
-
const bus = yield*
|
|
54
|
-
const cache = yield*
|
|
53
|
+
const bus = yield* Service94;
|
|
54
|
+
const cache = yield* Service76;
|
|
55
55
|
const scope = yield* Scope.Scope;
|
|
56
56
|
const list = (data = state.get()) => Array.from(data.sources).flatMap(([name, source]) => {
|
|
57
57
|
const info = {
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
107
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
108
|
-
return
|
|
108
|
+
return Service75.of({
|
|
109
109
|
transform: state.transform,
|
|
110
110
|
reload: state.reload,
|
|
111
111
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
113
113
|
})
|
|
114
114
|
});
|
|
115
115
|
}));
|
|
116
|
-
var
|
|
117
|
-
service:
|
|
116
|
+
var node76 = makeLocationNode({
|
|
117
|
+
service: Service75,
|
|
118
118
|
layer,
|
|
119
|
-
deps: [Global.node,
|
|
119
|
+
deps: [Global.node, node96, node77]
|
|
120
120
|
});
|
|
121
121
|
|
|
122
|
-
export { LocalSource2, GitSource2, Source5, Info16,
|
|
122
|
+
export { LocalSource2, GitSource2, Source5, Info16, Service75, node76, exports_reference2, Event13 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-m90tx7mw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID17
|
|
6
|
+
} from "./state-rkqz6a1c.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID16,
|
|
9
9
|
VariantID2,
|
|
10
10
|
Family2,
|
|
11
11
|
Info23
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-5d9z4kbg.js";
|
|
13
13
|
import {
|
|
14
14
|
connectionEnv2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-j7km1s7q.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/plugin/provider/claude-agent/provider.ts
|
|
21
21
|
var exports_provider2 = {};
|
|
22
22
|
__export(exports_provider2, {
|
|
23
23
|
ClaudeProvider: () => exports_provider2,
|
|
24
|
-
ID: () =>
|
|
24
|
+
ID: () => ID4,
|
|
25
25
|
PACKAGE: () => PACKAGE2,
|
|
26
26
|
connection: () => connection2,
|
|
27
|
-
register: () =>
|
|
27
|
+
register: () => register7
|
|
28
28
|
});
|
|
29
29
|
import { Effect, Option, Schema, Stream, SubscriptionRef } from "effect";
|
|
30
|
-
var
|
|
30
|
+
var ID4 = ID17.claudeAgent;
|
|
31
31
|
var PACKAGE2 = "@opencode/claude-agent";
|
|
32
32
|
var CatalogModel = Schema.Struct({
|
|
33
33
|
id: Schema.String,
|
|
@@ -37,20 +37,20 @@ var CatalogModel = Schema.Struct({
|
|
|
37
37
|
resolvedModel: Schema.optionalKey(Schema.String)
|
|
38
38
|
});
|
|
39
39
|
var Catalog = Schema.Struct({
|
|
40
|
-
priceSource: Schema.optionalKey(
|
|
40
|
+
priceSource: Schema.optionalKey(ID17),
|
|
41
41
|
models: Schema.Array(CatalogModel)
|
|
42
42
|
});
|
|
43
43
|
var CATALOG_KEY = "models";
|
|
44
44
|
var PRICE_SOURCES = {
|
|
45
|
-
firstParty:
|
|
46
|
-
anthropicAws:
|
|
47
|
-
anthropicGoogleCloud:
|
|
48
|
-
mantle:
|
|
49
|
-
bedrock:
|
|
50
|
-
vertex:
|
|
51
|
-
foundry:
|
|
45
|
+
firstParty: ID17.anthropic,
|
|
46
|
+
anthropicAws: ID17.anthropic,
|
|
47
|
+
anthropicGoogleCloud: ID17.anthropic,
|
|
48
|
+
mantle: ID17.anthropic,
|
|
49
|
+
bedrock: ID17.amazonBedrock,
|
|
50
|
+
vertex: ID17.googleVertex,
|
|
51
|
+
foundry: ID17.azure
|
|
52
52
|
};
|
|
53
|
-
var
|
|
53
|
+
var register7 = Effect.fn("ClaudeProvider.register")(function* (ctx, status, io) {
|
|
54
54
|
const saved = Schema.decodeUnknownOption(Catalog)(yield* ctx.storage.get(CATALOG_KEY));
|
|
55
55
|
const current = { catalog: Option.getOrElse(saved, () => ({ models: [] })) };
|
|
56
56
|
yield* ctx.provider.transform((editor) => {
|
|
@@ -58,7 +58,7 @@ var register8 = Effect.fn("ClaudeProvider.register")(function* (ctx, status, io)
|
|
|
58
58
|
const prices = source ? editor.get(source)?.models : undefined;
|
|
59
59
|
editor.add({
|
|
60
60
|
info: {
|
|
61
|
-
id:
|
|
61
|
+
id: ID4,
|
|
62
62
|
name: "Claude Agent",
|
|
63
63
|
activation: "auto",
|
|
64
64
|
package: aisdk2(PACKAGE2)
|
|
@@ -87,12 +87,12 @@ var register8 = Effect.fn("ClaudeProvider.register")(function* (ctx, status, io)
|
|
|
87
87
|
yield* ctx.storage.set(CATALOG_KEY, current.catalog);
|
|
88
88
|
yield* ctx.provider.reload();
|
|
89
89
|
})), Effect.forkScoped);
|
|
90
|
-
if (current.catalog.models.length === 0 && (yield* ctx.integration.connection.active(
|
|
90
|
+
if (current.catalog.models.length === 0 && (yield* ctx.integration.connection.active(ID4))) {
|
|
91
91
|
yield* status.refresh().pipe(Effect.forkScoped);
|
|
92
92
|
}
|
|
93
93
|
});
|
|
94
94
|
var connection2 = Effect.fn("ClaudeProvider.connection")(function* (ctx) {
|
|
95
|
-
const provider = yield* ctx.provider.get({ providerID:
|
|
95
|
+
const provider = yield* ctx.provider.get({ providerID: ID4 }).pipe(Effect.option);
|
|
96
96
|
if (Option.isNone(provider))
|
|
97
97
|
return {};
|
|
98
98
|
const info = provider.value.data;
|
|
@@ -126,7 +126,7 @@ function priceSource(account, baseURL) {
|
|
|
126
126
|
return PRICE_SOURCES[account.apiProvider];
|
|
127
127
|
}
|
|
128
128
|
function toModel(model, prices) {
|
|
129
|
-
const defaults = Info23.default(
|
|
129
|
+
const defaults = Info23.default(ID4, ID16.make(model.id));
|
|
130
130
|
const id = (model.resolvedModel ?? model.id).replace(/\[1m\]$/, "");
|
|
131
131
|
const priced = prices?.get(id) ?? prices?.get(id.replace(/^anthropic\./, "")) ?? prices?.get(`${id}@default`);
|
|
132
132
|
return {
|
|
@@ -140,4 +140,4 @@ function toModel(model, prices) {
|
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
export {
|
|
143
|
+
export { ID4, PACKAGE2, register7, connection2, exports_provider2 };
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
short2,
|
|
4
4
|
original2,
|
|
5
5
|
description2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-gxs71cxp.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/claude-agent/tools/server.ts
|
|
12
12
|
var exports_server = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./state-daqyv0pv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service43
|
|
6
|
+
} from "./state-dpmea4mq.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
16
|
-
register: () =>
|
|
12
|
+
var exports_mcp2 = {};
|
|
13
|
+
__export(exports_mcp2, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
+
Plugin: () => Plugin32,
|
|
16
|
+
register: () => register8
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin32 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
yield*
|
|
23
|
+
yield* register8(ctx.event.subscribe({ types: ["config.updated"] }));
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
|
-
var
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
26
|
+
var register8 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
+
const config = yield* Service81;
|
|
28
|
+
const mcp = yield* Service43;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin32, register8, exports_mcp2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node76
|
|
4
|
+
} from "./state-92816w05.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make32,
|
|
9
9
|
listUpdate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-q5bk3gvt.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions5 = {};
|
|
17
|
+
__export(exports_instructions5, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions5,
|
|
19
|
+
Service: () => Service39,
|
|
20
|
+
node: () => node42
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -53,11 +53,11 @@ var update = listUpdate2({
|
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class Service39 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
57
57
|
}
|
|
58
|
-
var layer = Layer.effect(
|
|
59
|
-
const references = yield*
|
|
60
|
-
return
|
|
58
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
59
|
+
const references = yield* Service75;
|
|
60
|
+
return Service39.of({
|
|
61
61
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
62
62
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
63
63
|
name: reference.name,
|
|
@@ -77,6 +77,6 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
}));
|
|
80
|
-
var
|
|
80
|
+
var node42 = makeLocationNode({ service: Service39, layer, deps: [node76] });
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { Service39, node42, exports_instructions5 };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-w0t345fn.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service88
|
|
7
|
+
} from "./state-bcb11p47.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID18,
|
|
10
10
|
MethodID2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service86
|
|
12
|
+
} from "./state-bfnxjwq5.js";
|
|
13
13
|
import {
|
|
14
14
|
success2,
|
|
15
15
|
error2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-yb20nhc3.js";
|
|
17
17
|
import {
|
|
18
18
|
submit2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-z0wbgq7s.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
ID17
|
|
22
|
+
} from "./state-rkqz6a1c.js";
|
|
23
23
|
import {
|
|
24
24
|
configuredSettings2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./state-4wng0tzc.js";
|
|
26
26
|
import {
|
|
27
27
|
onSwitch2,
|
|
28
28
|
reloadIfChanged2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./state-kja9qb4q.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/snowflake-cortex.ts
|
|
32
32
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
35
35
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
36
|
-
var providerID =
|
|
37
|
-
var integrationID =
|
|
36
|
+
var providerID = ID17.make("snowflake-cortex");
|
|
37
|
+
var integrationID = ID18.make(providerID);
|
|
38
38
|
var methodID = MethodID2.make("browser");
|
|
39
39
|
var clientID = "LOCAL_APPLICATION";
|
|
40
40
|
var accountForm = Form.Fields.make([
|
|
@@ -56,8 +56,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
56
56
|
id: "opencode.provider.snowflake.cortex",
|
|
57
57
|
effect: Effect.fn(function* (ctx) {
|
|
58
58
|
const http = yield* HttpClient.HttpClient;
|
|
59
|
-
const credentials = yield*
|
|
60
|
-
const integrations = yield*
|
|
59
|
+
const credentials = yield* Service88;
|
|
60
|
+
const integrations = yield* Service86;
|
|
61
61
|
const configured = yield* configuredSettings2(providerID);
|
|
62
62
|
const account = { value: "" };
|
|
63
63
|
const saved = Effect.gen(function* () {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID17
|
|
3
|
+
} from "./state-rkqz6a1c.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -21,10 +21,10 @@ var SapAICorePlugin2 = define({
|
|
|
21
21
|
if (typeof factory !== "function")
|
|
22
22
|
return yield* Effect.die(new Error(`Package ${evt.package} provider factory export is not callable`));
|
|
23
23
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
24
|
-
}), { providerID:
|
|
24
|
+
}), { providerID: ID17.make("sap-ai-core") });
|
|
25
25
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
26
26
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
27
|
-
}), { providerID:
|
|
27
|
+
}), { providerID: ID17.make("sap-ai-core") });
|
|
28
28
|
})
|
|
29
29
|
});
|
|
30
30
|
|