@opencode/core 0.0.0-dev-21708 → 0.0.0-dev-21730
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 +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{agent-ercvtcgz.js → model-resolver-01t4jxfe.js} +4 -4
- package/dist/chunks/{agent-034tev2y.js → model-resolver-034tev2y.js} +2 -2
- package/dist/chunks/{agent-5y6gyw07.js → model-resolver-042my71g.js} +15 -15
- package/dist/chunks/{agent-c22xs6zs.js → model-resolver-0b0dvc3v.js} +11 -11
- package/dist/chunks/{agent-r649t70p.js → model-resolver-0d85nndc.js} +37 -37
- package/dist/chunks/{agent-r6wgv8c9.js → model-resolver-0gka690g.js} +6 -6
- package/dist/chunks/{agent-gtwwf5qc.js → model-resolver-0h5mky2z.js} +24 -24
- package/dist/chunks/{agent-5pr0e8th.js → model-resolver-0trvysgd.js} +5 -5
- package/dist/chunks/{agent-7kk9vmc1.js → model-resolver-14enk98j.js} +28 -28
- package/dist/chunks/{agent-xpx0a1hv.js → model-resolver-17r7g020.js} +36 -36
- package/dist/chunks/{agent-yhhb56re.js → model-resolver-186bq886.js} +16 -16
- package/dist/chunks/{agent-1ep2p91f.js → model-resolver-1ep2p91f.js} +2 -2
- package/dist/chunks/{agent-4edy420v.js → model-resolver-1qsx4797.js} +9 -9
- package/dist/chunks/{agent-1x2knyw4.js → model-resolver-1x2knyw4.js} +1 -1
- package/dist/chunks/{agent-5zrxpy3q.js → model-resolver-1yq9hg58.js} +5 -5
- package/dist/chunks/{agent-jmt4g3es.js → model-resolver-249p08pd.js} +6 -6
- package/dist/chunks/{agent-3fq3g97k.js → model-resolver-256dg9vb.js} +4 -4
- package/dist/chunks/model-resolver-267g1ppg.js +257 -0
- package/dist/chunks/{agent-4q4hrjc3.js → model-resolver-26zk5kqv.js} +9 -9
- package/dist/chunks/{agent-mkr1zw4c.js → model-resolver-288p6brk.js} +24 -24
- package/dist/chunks/{agent-wmjzvx4b.js → model-resolver-2kj7f5bg.js} +7 -7
- package/dist/chunks/{agent-7mw2rj4h.js → model-resolver-2n1v95fn.js} +9 -9
- package/dist/chunks/{agent-6w1z0ptf.js → model-resolver-2ny6xyme.js} +4 -4
- package/dist/chunks/{agent-43pxryb4.js → model-resolver-2yxcna2e.js} +35 -35
- package/dist/chunks/{agent-2z1j29yd.js → model-resolver-2z1j29yd.js} +1 -1
- package/dist/chunks/{agent-5465mdww.js → model-resolver-2zpzp2bh.js} +23 -23
- package/dist/chunks/{agent-m9tz8kfk.js → model-resolver-3dy2brb4.js} +20 -20
- package/dist/chunks/{agent-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{agent-3nnrz6f6.js → model-resolver-3nnrz6f6.js} +1 -1
- package/dist/chunks/{agent-4n19pvv2.js → model-resolver-4dmmmd7w.js} +21 -21
- package/dist/chunks/{agent-1zsaqb4r.js → model-resolver-4rgde0gy.js} +9 -9
- package/dist/chunks/{agent-4v008n1t.js → model-resolver-4v008n1t.js} +1 -1
- package/dist/chunks/{agent-1q5awywt.js → model-resolver-4v4bfvma.js} +5 -5
- package/dist/chunks/{agent-4xvmh7wp.js → model-resolver-4xvmh7wp.js} +3 -3
- package/dist/chunks/{agent-c1nwn41d.js → model-resolver-52rn342d.js} +29 -29
- package/dist/chunks/{agent-xk6cct51.js → model-resolver-55w0c6dm.js} +30 -30
- package/dist/chunks/{agent-n7j6jkwh.js → model-resolver-57a19r08.js} +24 -24
- package/dist/chunks/{agent-xfrhb91r.js → model-resolver-58t9v70a.js} +41 -41
- package/dist/chunks/{agent-z8hxvef0.js → model-resolver-59x0c00c.js} +37 -37
- package/dist/chunks/{agent-qe4f2n8q.js → model-resolver-5c5bthfb.js} +33 -33
- package/dist/chunks/{agent-w2eysc6j.js → model-resolver-5enarcya.js} +6 -6
- package/dist/chunks/{agent-e1yvprzr.js → model-resolver-5jkzvvxq.js} +21 -21
- package/dist/chunks/{agent-tr53db22.js → model-resolver-5k8yxqxr.js} +31 -31
- package/dist/chunks/{agent-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
- package/dist/chunks/{agent-g9jwm955.js → model-resolver-5p1zsrt3.js} +1 -1
- package/dist/chunks/{agent-b7mz4wb4.js → model-resolver-5zryechk.js} +2 -2
- package/dist/chunks/{agent-x1kqdqv8.js → model-resolver-65shdcb9.js} +10 -10
- package/dist/chunks/{agent-kwwqhmte.js → model-resolver-69ea4gs9.js} +24 -24
- package/dist/chunks/{agent-6esdw8yj.js → model-resolver-6esdw8yj.js} +1 -1
- package/dist/chunks/{agent-tf78gtve.js → model-resolver-6f6tsj36.js} +17 -17
- package/dist/chunks/{agent-01crwgf8.js → model-resolver-6gn7yv20.js} +7 -7
- package/dist/chunks/{agent-6pjqjmy2.js → model-resolver-6pjqjmy2.js} +1 -1
- package/dist/chunks/{agent-s1cekj41.js → model-resolver-6wq3ehfr.js} +5 -5
- package/dist/chunks/{agent-76cb1hcw.js → model-resolver-76cb1hcw.js} +1 -1
- package/dist/chunks/{agent-nae82sp2.js → model-resolver-7859jp66.js} +28 -28
- package/dist/chunks/{agent-eqh43b5v.js → model-resolver-799ckdtf.js} +5 -5
- package/dist/chunks/{agent-erjptbv1.js → model-resolver-7ag3s6hb.js} +4 -4
- package/dist/chunks/{agent-7df5b9k0.js → model-resolver-7agbanmz.js} +20 -20
- package/dist/chunks/{agent-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{agent-34s5tdcd.js → model-resolver-7g125bra.js} +4 -4
- package/dist/chunks/{agent-7w2ypzdf.js → model-resolver-7w2ypzdf.js} +1 -1
- package/dist/chunks/{agent-hm143rc2.js → model-resolver-83rat119.js} +3 -3
- package/dist/chunks/{agent-qrsf94hb.js → model-resolver-8bkscwtx.js} +14 -14
- package/dist/chunks/{agent-wdk09kh3.js → model-resolver-8gxpx3mz.js} +18 -18
- package/dist/chunks/{agent-8jztxfpf.js → model-resolver-8jztxfpf.js} +1 -1
- package/dist/chunks/{agent-w75qjcvt.js → model-resolver-8mjwfqkh.js} +8 -8
- package/dist/chunks/{agent-yqmxxt9c.js → model-resolver-8na9xnnb.js} +6 -6
- package/dist/chunks/{agent-81g59q3k.js → model-resolver-8nhp9y4m.js} +4 -4
- package/dist/chunks/{agent-f3xvtd5f.js → model-resolver-8njhevex.js} +11 -11
- package/dist/chunks/{agent-nq3tx4x1.js → model-resolver-8rdd1j7g.js} +42 -42
- package/dist/chunks/{agent-nt0vz67d.js → model-resolver-8sttbfsr.js} +11 -11
- package/dist/chunks/{agent-0teydma5.js → model-resolver-8thk20xz.js} +9 -9
- package/dist/chunks/{agent-0bxps2dt.js → model-resolver-8vhkf3wd.js} +30 -30
- package/dist/chunks/{agent-b50rsrab.js → model-resolver-8wc2fpae.js} +5 -5
- package/dist/chunks/{agent-8wtp7s3z.js → model-resolver-8wtp7s3z.js} +1 -1
- package/dist/chunks/{agent-j5pyptyp.js → model-resolver-917s922w.js} +20 -20
- package/dist/chunks/{agent-91rj84md.js → model-resolver-91rj84md.js} +1 -1
- package/dist/chunks/{agent-3wx5r2aw.js → model-resolver-95jjqqz3.js} +87 -87
- package/dist/chunks/{agent-998yhzzq.js → model-resolver-998yhzzq.js} +3 -3
- package/dist/chunks/{agent-w5t7bbyx.js → model-resolver-9bgp8a97.js} +13 -13
- package/dist/chunks/{agent-vxgn3e9c.js → model-resolver-9chjwwnc.js} +4 -4
- package/dist/chunks/{agent-gm52qjxn.js → model-resolver-9d19w6f1.js} +15 -15
- package/dist/chunks/{agent-nbwnjq76.js → model-resolver-9d64739r.js} +8 -8
- package/dist/chunks/{agent-gwff6e0f.js → model-resolver-9e09nyr2.js} +35 -35
- package/dist/chunks/{agent-zxrxde13.js → model-resolver-9ej1024d.js} +18 -18
- package/dist/chunks/{agent-aywq2m6b.js → model-resolver-9epsjbby.js} +11 -11
- package/dist/chunks/{agent-v6pnwzcj.js → model-resolver-9jh4j41s.js} +70 -70
- package/dist/chunks/{agent-036gtng7.js → model-resolver-9rqahw18.js} +5 -5
- package/dist/chunks/{agent-ea9qy1vr.js → model-resolver-9rrv4vns.js} +9 -9
- package/dist/chunks/{agent-0pes53yc.js → model-resolver-a05vx38g.js} +45 -45
- package/dist/chunks/{agent-cw4wsck5.js → model-resolver-amjb1f6j.js} +18 -18
- package/dist/chunks/{agent-v7v3rrns.js → model-resolver-avkwaw75.js} +9 -9
- package/dist/chunks/{agent-ayjs7tqn.js → model-resolver-ayjs7tqn.js} +2 -2
- package/dist/chunks/{agent-b0mv4wxm.js → model-resolver-b0mv4wxm.js} +2 -2
- package/dist/chunks/{agent-c9t2ty9q.js → model-resolver-b1pn0vxn.js} +4 -4
- package/dist/chunks/{agent-m96zp2x3.js → model-resolver-b2zdt2y6.js} +5 -5
- package/dist/chunks/{agent-r6g963jp.js → model-resolver-b5h3d3b4.js} +20 -20
- package/dist/chunks/{agent-s5ckv70a.js → model-resolver-b5sgdy3n.js} +10 -10
- package/dist/chunks/{agent-b6vsg801.js → model-resolver-b6vsg801.js} +2 -2
- package/dist/chunks/{agent-tha6crsv.js → model-resolver-bjzh04bx.js} +16 -16
- package/dist/chunks/{agent-5zmew617.js → model-resolver-bm6kf062.js} +27 -27
- package/dist/chunks/{agent-83xm0yd3.js → model-resolver-bn231r82.js} +11 -11
- package/dist/chunks/{agent-860hyfcr.js → model-resolver-bp5sb8yv.js} +14 -14
- package/dist/chunks/{agent-bstexjd6.js → model-resolver-bstexjd6.js} +1 -1
- package/dist/chunks/{agent-wgvnftve.js → model-resolver-c4vfmmrn.js} +8 -8
- package/dist/chunks/{agent-yjkkab03.js → model-resolver-cabw4y3p.js} +6 -6
- package/dist/chunks/{agent-pwb927wa.js → model-resolver-cb2t80kt.js} +76 -76
- package/dist/chunks/{agent-se8z0af6.js → model-resolver-cgdq2tez.js} +4 -4
- package/dist/chunks/{agent-rpd03b69.js → model-resolver-d4fqamkg.js} +18 -18
- package/dist/chunks/{agent-d4v9tmah.js → model-resolver-d4v9tmah.js} +2 -2
- package/dist/chunks/{agent-8avgn4nh.js → model-resolver-d7kh2pfg.js} +17 -17
- package/dist/chunks/{agent-k5g4ndkg.js → model-resolver-d910c31a.js} +35 -35
- package/dist/chunks/{agent-2yj94xj3.js → model-resolver-de152cyr.js} +13 -13
- package/dist/chunks/{agent-pc1v25hk.js → model-resolver-dh62xe4r.js} +3 -3
- package/dist/chunks/{agent-8yms0qqj.js → model-resolver-dh9mz5xr.js} +11 -11
- package/dist/chunks/{agent-shygem95.js → model-resolver-dphsmz0w.js} +20 -20
- package/dist/chunks/{agent-z0te8qnm.js → model-resolver-dt9gh0d3.js} +13 -13
- package/dist/chunks/{agent-k8sgxmwq.js → model-resolver-dw589k72.js} +18 -18
- package/dist/chunks/{agent-3hg15haz.js → model-resolver-e12mrd8m.js} +41 -41
- package/dist/chunks/{agent-ab61cr6d.js → model-resolver-e1b6vpy5.js} +14 -14
- package/dist/chunks/{agent-5qd3pb7m.js → model-resolver-e3qxr5gk.js} +2 -2
- package/dist/chunks/{agent-e834z07m.js → model-resolver-e834z07m.js} +1 -1
- package/dist/chunks/{agent-bc3gms31.js → model-resolver-e893v5n6.js} +21 -21
- package/dist/chunks/{agent-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{agent-mwam2bxf.js → model-resolver-eff1wqft.js} +25 -25
- package/dist/chunks/{agent-0aydfmfd.js → model-resolver-egspkehf.js} +10 -10
- package/dist/chunks/{agent-b39xeefv.js → model-resolver-ehjrwymt.js} +32 -32
- package/dist/chunks/{agent-h84cj61w.js → model-resolver-ejnxmkmt.js} +2 -2
- package/dist/chunks/{agent-2rb0wgje.js → model-resolver-ethxtnrp.js} +54 -54
- package/dist/chunks/{agent-yn9h7jnh.js → model-resolver-ev24k3w5.js} +7 -7
- package/dist/chunks/{agent-asx4crfn.js → model-resolver-ew2d9bn2.js} +24 -24
- package/dist/chunks/{agent-ysw37sry.js → model-resolver-f2kkq0wr.js} +44 -44
- package/dist/chunks/{agent-dy4xqx41.js → model-resolver-f5xnbmcd.js} +50 -50
- package/dist/chunks/{agent-xkv91zbc.js → model-resolver-f6r0dzq4.js} +20 -20
- package/dist/chunks/{agent-fffv3p7h.js → model-resolver-fffv3p7h.js} +1 -1
- package/dist/chunks/{agent-g0mjfn9f.js → model-resolver-fgr7hd3e.js} +12 -12
- package/dist/chunks/{agent-xf07g6fp.js → model-resolver-fj95ckg7.js} +33 -33
- package/dist/chunks/{agent-5e5fd4m6.js → model-resolver-fvp60fwe.js} +5 -5
- package/dist/chunks/{agent-d2jy9c0j.js → model-resolver-fw6eeex0.js} +4 -4
- package/dist/chunks/{agent-0h8y3ex8.js → model-resolver-fznmdakp.js} +4 -4
- package/dist/chunks/{agent-xsact9zs.js → model-resolver-g42b6ca9.js} +4 -4
- package/dist/chunks/{agent-0cpnqkys.js → model-resolver-g4n4wp2d.js} +5 -5
- package/dist/chunks/{agent-g5h9c0rr.js → model-resolver-g5h9c0rr.js} +2 -2
- package/dist/chunks/{agent-v8w832qv.js → model-resolver-g80tn5h1.js} +17 -17
- package/dist/chunks/{agent-ztngrg4w.js → model-resolver-gnqfcwar.js} +18 -18
- package/dist/chunks/{agent-prpkhwe7.js → model-resolver-h1abq7en.js} +50 -50
- package/dist/chunks/{agent-npyprqtv.js → model-resolver-h97v9g1b.js} +3 -3
- package/dist/chunks/{agent-84rbnah8.js → model-resolver-hdcqmdk3.js} +22 -22
- package/dist/chunks/{agent-7kaqzwxm.js → model-resolver-hv07rj1n.js} +11 -11
- package/dist/chunks/{agent-3e6zmnwb.js → model-resolver-j0b81h47.js} +12 -12
- package/dist/chunks/{agent-j113cymg.js → model-resolver-j113cymg.js} +1 -1
- package/dist/chunks/{agent-sdskc420.js → model-resolver-j1y01s4s.js} +178 -178
- package/dist/chunks/{agent-9mea8krd.js → model-resolver-j440n9b6.js} +20 -20
- package/dist/chunks/{agent-q6vmwcr3.js → model-resolver-j77g158z.js} +8 -8
- package/dist/chunks/{agent-vwac03cp.js → model-resolver-j7kazd1q.js} +6 -6
- package/dist/chunks/{agent-8k8r57g4.js → model-resolver-j8wtckwx.js} +8 -8
- package/dist/chunks/{agent-gcjdgkn2.js → model-resolver-jcqm84fr.js} +9 -9
- package/dist/chunks/{agent-g7yg2z4y.js → model-resolver-jfavpyep.js} +11 -11
- package/dist/chunks/{agent-tc4kyz8e.js → model-resolver-jhtz5kdf.js} +2 -2
- package/dist/chunks/{agent-e5dqjz6v.js → model-resolver-jneg3k74.js} +4 -4
- package/dist/chunks/{agent-sg8mkp01.js → model-resolver-jwrjw8tj.js} +43 -43
- package/dist/chunks/{agent-tzwfb695.js → model-resolver-jzrjgn5s.js} +20 -20
- package/dist/chunks/{agent-d8mgxzbr.js → model-resolver-k0ykqcdp.js} +26 -26
- package/dist/chunks/{agent-rm4sw271.js → model-resolver-k352a69z.js} +4 -4
- package/dist/chunks/{agent-a56egb6w.js → model-resolver-k7hnktg1.js} +5 -5
- package/dist/chunks/{agent-k814nvkf.js → model-resolver-k814nvkf.js} +1 -1
- package/dist/chunks/{agent-cv2j9yha.js → model-resolver-kc3bzs90.js} +3 -3
- package/dist/chunks/{agent-605j6g36.js → model-resolver-kf7rszbb.js} +25 -25
- package/dist/chunks/{agent-r8vff35f.js → model-resolver-kfwqqrwd.js} +20 -20
- package/dist/chunks/{agent-et6331cw.js → model-resolver-knfnv5xd.js} +46 -46
- package/dist/chunks/{agent-syd85nze.js → model-resolver-kntpyapc.js} +4 -4
- package/dist/chunks/{agent-zav2k54e.js → model-resolver-kqw486ce.js} +4 -4
- package/dist/chunks/{agent-cn8d63zf.js → model-resolver-kw1hde90.js} +8 -8
- package/dist/chunks/{agent-nwvcypp6.js → model-resolver-kxeaxsag.js} +11 -11
- package/dist/chunks/{agent-m1714858.js → model-resolver-m1714858.js} +1 -1
- package/dist/chunks/{agent-2j4fkc1b.js → model-resolver-m8jzyt6a.js} +11 -11
- package/dist/chunks/{agent-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{agent-maspj1v3.js → model-resolver-maspj1v3.js} +1 -1
- package/dist/chunks/{agent-70e5j6cm.js → model-resolver-mbb71zxb.js} +18 -18
- package/dist/chunks/{agent-egqc00n5.js → model-resolver-md2ky9q0.js} +9 -9
- package/dist/chunks/model-resolver-me0dhgxs.js +18 -0
- package/dist/chunks/{agent-1y0wdj51.js → model-resolver-mmx1mfjr.js} +9 -9
- package/dist/chunks/{agent-4fqqg07t.js → model-resolver-mwk65ptt.js} +29 -29
- package/dist/chunks/{agent-n0p0277s.js → model-resolver-n0p0277s.js} +1 -1
- package/dist/chunks/{agent-58wwcftr.js → model-resolver-n3hhze48.js} +19 -19
- package/dist/chunks/{agent-5agv5pnb.js → model-resolver-n48tsgyy.js} +9 -9
- package/dist/chunks/{agent-t34k7vdx.js → model-resolver-n527a7dv.js} +9 -9
- package/dist/chunks/{agent-vq55ta2w.js → model-resolver-n65a2gzt.js} +8 -8
- package/dist/chunks/{agent-nah043kf.js → model-resolver-nah043kf.js} +1 -1
- package/dist/chunks/{agent-e3cpefx3.js → model-resolver-ng64mz8r.js} +32 -32
- package/dist/chunks/{agent-ejyk05z4.js → model-resolver-njnmff7p.js} +20 -20
- package/dist/chunks/{agent-my1p2r7g.js → model-resolver-nt5q7dy9.js} +19 -19
- package/dist/chunks/{agent-2fhsvw3b.js → model-resolver-nzf6z8jh.js} +10 -10
- package/dist/chunks/{agent-p015t6z3.js → model-resolver-p015t6z3.js} +2 -2
- package/dist/chunks/{agent-eq3fc1qc.js → model-resolver-pacbbjc0.js} +5 -5
- package/dist/chunks/{agent-mv2fkptf.js → model-resolver-pfght9z5.js} +8 -8
- package/dist/chunks/{agent-1vpzeawt.js → model-resolver-pfjg1qnb.js} +16 -16
- package/dist/chunks/{agent-xmdjjv6p.js → model-resolver-pgt2b3dq.js} +15 -15
- package/dist/chunks/{agent-30wk5qzn.js → model-resolver-pj41ajb0.js} +3 -3
- package/dist/chunks/{agent-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{agent-731c8v1k.js → model-resolver-pve0p3g2.js} +34 -34
- package/dist/chunks/{agent-y8hmd8bf.js → model-resolver-q8rzw8xh.js} +10 -10
- package/dist/chunks/{agent-w1b192n3.js → model-resolver-qcchxstm.js} +16 -16
- package/dist/chunks/{agent-6rgwxkf7.js → model-resolver-qfjcwetg.js} +12 -12
- package/dist/chunks/{agent-zcv9t832.js → model-resolver-qpj4fywd.js} +12 -12
- package/dist/chunks/model-resolver-qyndfgfp.js +523 -0
- package/dist/chunks/{agent-r0yr0wbs.js → model-resolver-r0yr0wbs.js} +1 -1
- package/dist/chunks/{agent-qa2bc9h6.js → model-resolver-r28byzty.js} +33 -33
- package/dist/chunks/{agent-x29zv49r.js → model-resolver-r3hept05.js} +16 -16
- package/dist/chunks/{agent-45wkcxp1.js → model-resolver-r73hsa18.js} +18 -18
- package/dist/chunks/{agent-tbmp9t5p.js → model-resolver-r7qkw0sp.js} +12 -12
- package/dist/chunks/{agent-spa8vgy8.js → model-resolver-r7xar5ns.js} +11 -11
- package/dist/chunks/{agent-rb9dy4dg.js → model-resolver-rb9dy4dg.js} +1 -1
- package/dist/chunks/{agent-ba699vex.js → model-resolver-rcgvv2s7.js} +16 -16
- package/dist/chunks/{agent-7fhznn00.js → model-resolver-rsmyvrz3.js} +32 -32
- package/dist/chunks/{agent-rt5dr6hb.js → model-resolver-rt5dr6hb.js} +1 -1
- package/dist/chunks/{agent-2cxr0spy.js → model-resolver-s0t4rwnt.js} +11 -11
- package/dist/chunks/{agent-s626qfae.js → model-resolver-s626qfae.js} +1 -1
- package/dist/chunks/{agent-tybz541q.js → model-resolver-s6zqpwam.js} +23 -23
- package/dist/chunks/{agent-ht7bz1sv.js → model-resolver-sn02bkrk.js} +21 -21
- package/dist/chunks/{agent-5sgdhf0y.js → model-resolver-snpgexks.js} +39 -39
- package/dist/chunks/{agent-pdjy0dkv.js → model-resolver-snwj5w21.js} +1 -1
- package/dist/chunks/{agent-j8ka3dj3.js → model-resolver-spep79sh.js} +21 -21
- package/dist/chunks/{agent-sqjzf8x2.js → model-resolver-sqjzf8x2.js} +1 -1
- package/dist/chunks/{agent-5sgw76x3.js → model-resolver-sshe6cnz.js} +24 -24
- package/dist/chunks/{agent-3s89fne6.js → model-resolver-t7x5nw9y.js} +16 -16
- package/dist/chunks/{agent-6t50jf2k.js → model-resolver-t9qyj45c.js} +14 -14
- package/dist/chunks/{agent-r9jvn0me.js → model-resolver-ta21jq92.js} +15 -15
- package/dist/chunks/{agent-xkympmbz.js → model-resolver-tasvem1v.js} +6 -6
- package/dist/chunks/{agent-ya0bzcwn.js → model-resolver-tc5pmsfr.js} +27 -27
- package/dist/chunks/{agent-tczq8hjw.js → model-resolver-tczq8hjw.js} +1 -1
- package/dist/chunks/{agent-enkpkfwx.js → model-resolver-tg1vr1qt.js} +8 -8
- package/dist/chunks/{agent-c3cfh5w6.js → model-resolver-tkmwn4n3.js} +7 -7
- package/dist/chunks/{agent-fp2kss3x.js → model-resolver-tn5gxkrv.js} +6 -6
- package/dist/chunks/{agent-xxf3k3sy.js → model-resolver-tw4wrdz4.js} +14 -14
- package/dist/chunks/{agent-q2dycjj6.js → model-resolver-tw8wcj15.js} +7 -7
- package/dist/chunks/{agent-tw8zr1ps.js → model-resolver-tw8zr1ps.js} +1 -1
- package/dist/chunks/{agent-awmbx144.js → model-resolver-tw97zmqb.js} +10 -10
- package/dist/chunks/{agent-twv2r8f4.js → model-resolver-twv2r8f4.js} +2 -2
- package/dist/chunks/{agent-00n6seg6.js → model-resolver-tyfqe8mq.js} +35 -35
- package/dist/chunks/{agent-dwm0n3p0.js → model-resolver-tyfsk4mw.js} +5 -5
- package/dist/chunks/{agent-q431msev.js → model-resolver-v27kyr9e.js} +9 -9
- package/dist/chunks/{agent-v2r1d0zg.js → model-resolver-v2r1d0zg.js} +1 -1
- package/dist/chunks/{agent-zqfy40s7.js → model-resolver-v5d8y8eg.js} +24 -24
- package/dist/chunks/{agent-t81h9cx6.js → model-resolver-v79kmtvw.js} +17 -17
- package/dist/chunks/{agent-9q3bjtf0.js → model-resolver-v9e2a6a3.js} +18 -18
- package/dist/chunks/{agent-x7nn8z2j.js → model-resolver-vcxs933z.js} +8 -8
- package/dist/chunks/{agent-vd3b3yk9.js → model-resolver-vd3b3yk9.js} +1 -1
- package/dist/chunks/{agent-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{agent-5vk473bb.js → model-resolver-vg0zp5sr.js} +12 -12
- package/dist/chunks/{agent-vmfhgzt5.js → model-resolver-vmfhgzt5.js} +1 -1
- package/dist/chunks/{agent-xw0c0mqp.js → model-resolver-vn71xy6d.js} +10 -10
- package/dist/chunks/{agent-e1x5hgfw.js → model-resolver-vv5h4bmz.js} +3 -3
- package/dist/chunks/{agent-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{agent-qps3wf85.js → model-resolver-w4ynznac.js} +11 -11
- package/dist/chunks/{agent-pyzjd10w.js → model-resolver-w8yd89gy.js} +3 -3
- package/dist/chunks/{agent-wakvkjy4.js → model-resolver-wakvkjy4.js} +1 -1
- package/dist/chunks/{agent-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{agent-z1b9nwea.js → model-resolver-wy7bdrzd.js} +6 -6
- package/dist/chunks/{agent-qdjpasa6.js → model-resolver-wzbm9yap.js} +17 -17
- package/dist/chunks/{agent-ez1g32xq.js → model-resolver-x7pzp06w.js} +8 -8
- package/dist/chunks/{agent-9egmy7ex.js → model-resolver-xj5vncmq.js} +23 -23
- package/dist/chunks/{agent-mvrp1pf2.js → model-resolver-xs05vffk.js} +13 -13
- package/dist/chunks/{agent-9q7rnr6m.js → model-resolver-y71ddsac.js} +14 -14
- package/dist/chunks/{agent-yb20nhc3.js → model-resolver-yb20nhc3.js} +1 -1
- package/dist/chunks/{agent-g1ay4zd8.js → model-resolver-yc4xwjk4.js} +9 -9
- package/dist/chunks/{agent-dza0thjn.js → model-resolver-yg834er4.js} +18 -18
- package/dist/chunks/{agent-c9nnf1dt.js → model-resolver-yh4ym469.js} +4 -4
- package/dist/chunks/{agent-njstssvg.js → model-resolver-ysdmcr0h.js} +16 -16
- package/dist/chunks/{agent-cb7xvab4.js → model-resolver-yvktxnyk.js} +15 -15
- package/dist/chunks/{agent-w1w7qgbq.js → model-resolver-ywtfgq8q.js} +11 -11
- package/dist/chunks/{agent-ac2jg0km.js → model-resolver-yxb96n0x.js} +44 -44
- package/dist/chunks/{agent-cbva7xm7.js → model-resolver-yzex6x75.js} +17 -17
- package/dist/chunks/{agent-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{agent-z38nccrw.js → model-resolver-z38nccrw.js} +1 -1
- package/dist/chunks/{agent-02kv643b.js → model-resolver-z49nhv4t.js} +13 -13
- package/dist/chunks/{agent-cr8qxe6d.js → model-resolver-z7724tht.js} +11 -11
- package/dist/chunks/{agent-yyd0z27r.js → model-resolver-z9pdc6em.js} +18 -18
- package/dist/chunks/{agent-sfayrj8h.js → model-resolver-zj7p4na3.js} +15 -15
- package/dist/chunks/model-resolver-zk2w4fb9.js +26 -0
- package/dist/chunks/{agent-zkg84ctx.js → model-resolver-zkg84ctx.js} +1 -1
- package/dist/chunks/{agent-0p88zpcm.js → model-resolver-zkgq49d1.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +89 -89
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +138 -138
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +98 -98
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +79 -79
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- 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 +221 -221
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +102 -102
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +95 -95
- 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 +139 -139
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +136 -136
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/agent-f56tfzs6.js +0 -523
- package/dist/chunks/agent-gbftmgpj.js +0 -26
- package/dist/chunks/agent-qsxt5pmn.js +0 -257
- package/dist/chunks/agent-z7bdqmx5.js +0 -18
- /package/dist/chunks/{agent-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{agent-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{agent-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{agent-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{agent-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{agent-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{agent-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
- /package/dist/chunks/{agent-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{agent-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{agent-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{agent-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{agent-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{agent-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{agent-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{agent-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{agent-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{agent-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{agent-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{agent-5fjb7ams.js → model-resolver-5fjb7ams.js} +0 -0
- /package/dist/chunks/{agent-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{agent-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{agent-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{agent-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{agent-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{agent-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
- /package/dist/chunks/{agent-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{agent-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{agent-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{agent-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{agent-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{agent-a058387c.js → model-resolver-a058387c.js} +0 -0
- /package/dist/chunks/{agent-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{agent-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{agent-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{agent-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{agent-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{agent-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{agent-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{agent-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{agent-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{agent-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{agent-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{agent-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{agent-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{agent-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{agent-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{agent-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{agent-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{agent-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{agent-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{agent-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{agent-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{agent-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{agent-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{agent-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{agent-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{agent-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{agent-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{agent-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{agent-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
- /package/dist/chunks/{agent-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{agent-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{agent-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{agent-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{agent-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{agent-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{agent-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
- /package/dist/chunks/{agent-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{agent-m18g726c.js → model-resolver-m18g726c.js} +0 -0
- /package/dist/chunks/{agent-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{agent-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{agent-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{agent-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{agent-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{agent-pkyv6v7h.js → model-resolver-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{agent-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{agent-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{agent-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{agent-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{agent-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{agent-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{agent-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{agent-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{agent-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{agent-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{agent-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
- /package/dist/chunks/{agent-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{agent-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{agent-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{agent-wjj7prxr.js → model-resolver-wjj7prxr.js} +0 -0
- /package/dist/chunks/{agent-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{agent-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{agent-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{agent-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{agent-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{agent-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{agent-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{agent-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{agent-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node51
|
|
5
|
+
} from "./model-resolver-kxeaxsag.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service77,
|
|
8
|
+
node81
|
|
9
|
+
} from "./model-resolver-j77g158z.js";
|
|
10
10
|
import {
|
|
11
11
|
DeclinedError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-snpgexks.js";
|
|
13
13
|
import {
|
|
14
14
|
CancelledError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-s0t4rwnt.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Error2
|
|
18
|
+
} from "./model-resolver-eff1wqft.js";
|
|
19
19
|
import {
|
|
20
20
|
get5
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-3nnrz6f6.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service28,
|
|
24
|
+
node32
|
|
25
|
+
} from "./model-resolver-m8jzyt6a.js";
|
|
26
26
|
import {
|
|
27
27
|
make14
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-resolver-vmfhgzt5.js";
|
|
29
29
|
import {
|
|
30
30
|
toLLMMessages2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-resolver-ejnxmkmt.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/session/model-request.ts
|
|
37
37
|
var exports_model_request = {};
|
|
38
38
|
__export(exports_model_request, {
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service27,
|
|
40
40
|
SessionModelRequest: () => exports_model_request,
|
|
41
41
|
baseTranscript: () => baseTranscript2,
|
|
42
42
|
boundImages: () => boundImages2,
|
|
43
|
-
layer: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
layer: () => layer14,
|
|
44
|
+
node: () => node31,
|
|
45
45
|
outputLimit: () => outputLimit2,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
@@ -158,11 +158,11 @@ var boundImages2 = (messages) => {
|
|
|
158
158
|
});
|
|
159
159
|
};
|
|
160
160
|
|
|
161
|
-
class
|
|
161
|
+
class Service27 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
162
162
|
}
|
|
163
|
-
var
|
|
164
|
-
const hooks = yield*
|
|
165
|
-
const transport = yield*
|
|
163
|
+
var layer14 = Layer.effect(Service27, Effect.gen(function* () {
|
|
164
|
+
const hooks = yield* Service77;
|
|
165
|
+
const transport = yield* Service28;
|
|
166
166
|
const app = yield* Metadata2;
|
|
167
167
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
168
168
|
const session = input.session;
|
|
@@ -170,7 +170,7 @@ var layer12 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
170
170
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
171
171
|
const tools = input.tools ?? {
|
|
172
172
|
definitions: [],
|
|
173
|
-
execute: () => new
|
|
173
|
+
execute: () => new Error2({ message: "Tools are not available for this request" })
|
|
174
174
|
};
|
|
175
175
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
176
176
|
const shaped = yield* shape({
|
|
@@ -264,17 +264,17 @@ var layer12 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
264
264
|
};
|
|
265
265
|
});
|
|
266
266
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
267
|
-
return
|
|
267
|
+
return Service27.of({
|
|
268
268
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
269
269
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
270
270
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
271
271
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
272
272
|
});
|
|
273
273
|
}));
|
|
274
|
-
var
|
|
275
|
-
service:
|
|
276
|
-
layer:
|
|
277
|
-
deps: [
|
|
274
|
+
var node31 = makeLocationNode({
|
|
275
|
+
service: Service27,
|
|
276
|
+
layer: layer14,
|
|
277
|
+
deps: [node81, node32, node51]
|
|
278
278
|
});
|
|
279
279
|
|
|
280
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
280
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service27, layer14, node31, exports_model_request };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info17,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info17 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -91,4 +91,4 @@ var Info10 = Schema.Struct({
|
|
|
91
91
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
92
92
|
}).annotate({ identifier: "ProviderConfig" });
|
|
93
93
|
|
|
94
|
-
export { ModelStatus2, Model2,
|
|
94
|
+
export { ModelStatus2, Model2, Info17, exports_provider2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-jneg3k74.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-snpgexks.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service26,
|
|
12
|
+
node30
|
|
13
|
+
} from "./model-resolver-h1abq7en.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name14
|
|
17
|
+
} from "./model-resolver-d910c31a.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
23
|
var exports_instructions4 = {};
|
|
24
24
|
__export(exports_instructions4, {
|
|
25
25
|
McpInstructions: () => exports_instructions4,
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
26
|
+
Service: () => Service23,
|
|
27
|
+
layer: () => layer11,
|
|
28
|
+
node: () => node27
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -65,13 +65,13 @@ var update = (previous, current) => {
|
|
|
65
65
|
`);
|
|
66
66
|
};
|
|
67
67
|
|
|
68
|
-
class
|
|
68
|
+
class Service23 extends Context.Service()("@opencode/McpInstructions") {
|
|
69
69
|
}
|
|
70
|
-
var
|
|
71
|
-
const mcp = yield*
|
|
72
|
-
return
|
|
70
|
+
var layer11 = Layer.effect(Service23, Effect.gen(function* () {
|
|
71
|
+
const mcp = yield* Service26;
|
|
72
|
+
return Service23.of({
|
|
73
73
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make21({
|
|
75
75
|
key: Key3.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer14 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
90
90
|
const codemode = owned[0]?.codemode !== false;
|
|
91
91
|
if (codemode && !canExecute)
|
|
92
92
|
return [];
|
|
93
|
-
if (!owned.some((tool) => evaluate2(
|
|
93
|
+
if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
94
94
|
return [];
|
|
95
95
|
return [
|
|
96
96
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -100,6 +100,6 @@ var layer14 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node27 = makeLocationNode({ service: Service23, layer: layer11, deps: [node30] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service23, layer11, node27, exports_instructions4 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID13,
|
|
3
|
+
Info23,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-w8yd89gy.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service86,
|
|
11
11
|
node90
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-kc3bzs90.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service85,
|
|
16
16
|
node89
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-9chjwwnc.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service82,
|
|
20
|
+
node86
|
|
21
|
+
} from "./model-resolver-5c5bthfb.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service61,
|
|
24
|
+
node65
|
|
25
|
+
} from "./model-resolver-tn5gxkrv.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-resolver-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-resolver-998yhzzq.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
33
|
+
NotFoundError9,
|
|
34
34
|
InvalidListCursorError2,
|
|
35
35
|
MessageNotFoundError2,
|
|
36
36
|
ForkEmptyError2,
|
|
@@ -42,78 +42,78 @@ import {
|
|
|
42
42
|
BusyError2,
|
|
43
43
|
InboxConflictError2,
|
|
44
44
|
SkillNotFoundError2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./model-resolver-cabw4y3p.js";
|
|
46
46
|
import {
|
|
47
47
|
current2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./model-resolver-zkgq49d1.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node63
|
|
51
|
+
} from "./model-resolver-v5d8y8eg.js";
|
|
52
52
|
import {
|
|
53
53
|
snapshot2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./model-resolver-yvktxnyk.js";
|
|
55
55
|
import {
|
|
56
56
|
Slug2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./model-resolver-gebd4c9n.js";
|
|
58
58
|
import {
|
|
59
59
|
SessionAlreadyProjected2,
|
|
60
|
-
|
|
61
|
-
} from "./
|
|
60
|
+
node23
|
|
61
|
+
} from "./model-resolver-v79kmtvw.js";
|
|
62
62
|
import {
|
|
63
63
|
Metadata2,
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
64
|
+
node51
|
|
65
|
+
} from "./model-resolver-kxeaxsag.js";
|
|
66
66
|
import {
|
|
67
67
|
ListInput3,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
} from "./
|
|
68
|
+
Service68,
|
|
69
|
+
node72
|
|
70
|
+
} from "./model-resolver-t9qyj45c.js";
|
|
71
71
|
import {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
} from "./
|
|
72
|
+
Service62,
|
|
73
|
+
node66
|
|
74
|
+
} from "./model-resolver-qcchxstm.js";
|
|
75
75
|
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
} from "./
|
|
76
|
+
Service57,
|
|
77
|
+
node62
|
|
78
|
+
} from "./model-resolver-59x0c00c.js";
|
|
79
79
|
import {
|
|
80
80
|
llmClient2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./model-resolver-p015t6z3.js";
|
|
82
82
|
import {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
} from "./
|
|
83
|
+
Service28,
|
|
84
|
+
node32
|
|
85
|
+
} from "./model-resolver-m8jzyt6a.js";
|
|
86
86
|
import {
|
|
87
87
|
generate2
|
|
88
|
-
} from "./
|
|
88
|
+
} from "./model-resolver-qfjcwetg.js";
|
|
89
89
|
import {
|
|
90
90
|
execute2
|
|
91
|
-
} from "./
|
|
91
|
+
} from "./model-resolver-pfght9z5.js";
|
|
92
92
|
import {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
} from "./
|
|
93
|
+
Service65,
|
|
94
|
+
node69
|
|
95
|
+
} from "./model-resolver-2n1v95fn.js";
|
|
96
96
|
import {
|
|
97
97
|
DestinationNotFoundError2,
|
|
98
98
|
DestinationNotDirectoryError2,
|
|
99
99
|
DestinationUnavailableError2,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
} from "./
|
|
100
|
+
Service19,
|
|
101
|
+
node22
|
|
102
|
+
} from "./model-resolver-ethxtnrp.js";
|
|
103
103
|
import {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
} from "./
|
|
104
|
+
Service52,
|
|
105
|
+
node56
|
|
106
|
+
} from "./model-resolver-c4vfmmrn.js";
|
|
107
107
|
import {
|
|
108
108
|
make12
|
|
109
|
-
} from "./
|
|
109
|
+
} from "./model-resolver-55w0c6dm.js";
|
|
110
110
|
import {
|
|
111
111
|
TurnRangeError2,
|
|
112
112
|
turn2
|
|
113
|
-
} from "./
|
|
113
|
+
} from "./model-resolver-bn231r82.js";
|
|
114
114
|
import {
|
|
115
115
|
__export
|
|
116
|
-
} from "./
|
|
116
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
117
117
|
|
|
118
118
|
// src/session.ts
|
|
119
119
|
var exports_session = {};
|
|
@@ -125,24 +125,24 @@ __export(exports_session, {
|
|
|
125
125
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
126
126
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
127
127
|
ForkEmptyError: () => ForkEmptyError2,
|
|
128
|
-
ID: () =>
|
|
128
|
+
ID: () => ID13,
|
|
129
129
|
InboxConflictError: () => InboxConflictError2,
|
|
130
|
-
Info: () =>
|
|
130
|
+
Info: () => Info23,
|
|
131
131
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
132
132
|
ListAnchor: () => ListAnchor2,
|
|
133
133
|
ListCursor: () => ListCursor2,
|
|
134
134
|
ListInput: () => ListInput2,
|
|
135
135
|
MessageDecodeError: () => MessageDecodeError2,
|
|
136
136
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
137
|
-
NotFoundError: () =>
|
|
137
|
+
NotFoundError: () => NotFoundError9,
|
|
138
138
|
PromptConflictError: () => PromptConflictError2,
|
|
139
|
-
Service: () =>
|
|
139
|
+
Service: () => Service18,
|
|
140
140
|
Session: () => exports_session,
|
|
141
141
|
SessionSchema: () => SessionSchema2,
|
|
142
142
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
143
143
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
144
144
|
TurnRangeError: () => TurnRangeError2,
|
|
145
|
-
node: () =>
|
|
145
|
+
node: () => node21
|
|
146
146
|
});
|
|
147
147
|
import { DateTime, Effect, Layer, Context, Stream } from "effect";
|
|
148
148
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -153,26 +153,26 @@ import { Node } from "@opencode/util/effect/app-node";
|
|
|
153
153
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
154
154
|
var ListInput2 = ListInput3;
|
|
155
155
|
var DefaultListLimit = 50;
|
|
156
|
-
class
|
|
156
|
+
class Service18 extends Context.Service()("@opencode/Session") {
|
|
157
157
|
}
|
|
158
|
-
var layer = Layer.effect(
|
|
158
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
159
159
|
const app = yield* Metadata2;
|
|
160
160
|
const database = yield* Service86;
|
|
161
161
|
const db = database.db;
|
|
162
162
|
const bus = yield* Service85;
|
|
163
|
-
const projects = yield*
|
|
164
|
-
const execution = yield*
|
|
163
|
+
const projects = yield* Service82;
|
|
164
|
+
const execution = yield* Service57;
|
|
165
165
|
const llm = yield* LLMClient.Service;
|
|
166
|
-
const transport = yield*
|
|
167
|
-
const store = yield*
|
|
168
|
-
const instances = yield*
|
|
169
|
-
const moves = yield*
|
|
170
|
-
const jobs = yield*
|
|
171
|
-
const environments = yield*
|
|
172
|
-
const locations = yield*
|
|
166
|
+
const transport = yield* Service28;
|
|
167
|
+
const store = yield* Service68;
|
|
168
|
+
const instances = yield* Service61;
|
|
169
|
+
const moves = yield* Service19;
|
|
170
|
+
const jobs = yield* Service62;
|
|
171
|
+
const environments = yield* Service52;
|
|
172
|
+
const locations = yield* Service65;
|
|
173
173
|
const sessions = yield* make12();
|
|
174
174
|
const isDurableSessionEvent = (item) => Object.hasOwn(SessionEvent2.Durable.cases, item.type);
|
|
175
|
-
const result =
|
|
175
|
+
const result = Service18.of({
|
|
176
176
|
create: Effect.fn("Session.create")(function* (input) {
|
|
177
177
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
178
178
|
const recorded = yield* store.get(sessionID);
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
180
180
|
return recorded;
|
|
181
181
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
182
182
|
if (input.parentID && parent === undefined)
|
|
183
|
-
return yield* new
|
|
183
|
+
return yield* new NotFoundError9({ sessionID: input.parentID });
|
|
184
184
|
const location = parent?.location ?? input.location;
|
|
185
185
|
if (location === undefined)
|
|
186
186
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -297,11 +297,11 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
297
297
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
298
298
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
299
299
|
const session = yield* result.get(input.sessionID);
|
|
300
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
300
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service61, instances), Effect.provideService(Service86, database), Effect.provideService(LLMClient.Service, llm));
|
|
301
301
|
}),
|
|
302
302
|
command: Effect.fn("Session.command")(function* (input) {
|
|
303
303
|
const session = yield* result.get(input.sessionID);
|
|
304
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
304
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service61, instances));
|
|
305
305
|
}),
|
|
306
306
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
307
307
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -345,27 +345,27 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
345
345
|
});
|
|
346
346
|
return result;
|
|
347
347
|
}));
|
|
348
|
-
var
|
|
349
|
-
service:
|
|
348
|
+
var node21 = Node.makeGlobalNode({
|
|
349
|
+
service: Service18,
|
|
350
350
|
layer,
|
|
351
351
|
deps: [
|
|
352
|
-
|
|
353
|
-
|
|
352
|
+
node66,
|
|
353
|
+
node56,
|
|
354
354
|
node90,
|
|
355
355
|
node89,
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
356
|
+
node86,
|
|
357
|
+
node62,
|
|
358
|
+
node32,
|
|
359
359
|
llmClient2,
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
360
|
+
node72,
|
|
361
|
+
node65,
|
|
362
|
+
node63,
|
|
363
|
+
node22,
|
|
364
|
+
node23,
|
|
365
|
+
node69,
|
|
366
366
|
FSUtil.node,
|
|
367
|
-
|
|
367
|
+
node51
|
|
368
368
|
]
|
|
369
369
|
});
|
|
370
370
|
|
|
371
|
-
export { ListAnchor2, ListCursor2, ListInput2,
|
|
371
|
+
export { ListAnchor2, ListCursor2, ListInput2, Service18, node21, exports_session };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-wakvkjy4.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-034tev2y.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service65,
|
|
3
|
+
node69,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-2n1v95fn.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service61,
|
|
8
|
+
node65
|
|
9
|
+
} from "./model-resolver-tn5gxkrv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service49
|
|
12
|
+
} from "./model-resolver-fj95ckg7.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-267g1ppg.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service65, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service49);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node65.replace(Layer.succeed(Service61, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node69.replace(Layer.succeed(Service65, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-kc3bzs90.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-8jztxfpf.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|