@opencode/core 0.0.0-dev-19426 → 0.0.0-dev-19431
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +81 -81
- package/dist/chunks/{persistent-pty-s8d7rejh.js → wellknown-02nrjc1r.js} +8 -8
- package/dist/chunks/{persistent-pty-bwtw07rb.js → wellknown-04ssnwna.js} +4 -4
- package/dist/chunks/{persistent-pty-hxh4hb0e.js → wellknown-095gdp9m.js} +13 -13
- package/dist/chunks/{persistent-pty-xrmsdwza.js → wellknown-0ctr31hs.js} +33 -33
- package/dist/chunks/{persistent-pty-e8mbapm5.js → wellknown-0kwzbffd.js} +9 -9
- package/dist/chunks/{persistent-pty-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0q0f95c6.js → wellknown-0q0f95c6.js} +1 -1
- package/dist/chunks/{persistent-pty-avr3wk77.js → wellknown-0wfdzdq3.js} +23 -23
- package/dist/chunks/{persistent-pty-vqyjqhb3.js → wellknown-1165fzrv.js} +10 -10
- package/dist/chunks/{persistent-pty-gvcny074.js → wellknown-18by6sjk.js} +7 -7
- package/dist/chunks/{persistent-pty-915t83ht.js → wellknown-196paj9n.js} +9 -9
- package/dist/chunks/{persistent-pty-1dazxqgg.js → wellknown-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-6kvtrg8a.js → wellknown-1ddn4jy6.js} +6 -6
- package/dist/chunks/{persistent-pty-hrndf12w.js → wellknown-1hc11dc4.js} +4 -4
- package/dist/chunks/{persistent-pty-ttqfmzkf.js → wellknown-1mh8etnz.js} +4 -4
- package/dist/chunks/{persistent-pty-g5zzrv8s.js → wellknown-1r38sc4d.js} +17 -17
- package/dist/chunks/{persistent-pty-75q7adw5.js → wellknown-1rvsq380.js} +16 -16
- package/dist/chunks/{persistent-pty-pbmjghd7.js → wellknown-1vsws4am.js} +11 -11
- package/dist/chunks/{persistent-pty-21nf8x37.js → wellknown-20rbm92a.js} +5 -5
- package/dist/chunks/{persistent-pty-21r38tys.js → wellknown-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-m5y0j72z.js → wellknown-228k2fda.js} +12 -12
- package/dist/chunks/{persistent-pty-2a5m3afh.js → wellknown-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-612qpymn.js → wellknown-2bjwqrsv.js} +13 -13
- package/dist/chunks/{persistent-pty-m86bnw2c.js → wellknown-2bt6bea8.js} +9 -9
- package/dist/chunks/{persistent-pty-ynnp4yam.js → wellknown-2dmq7m27.js} +12 -12
- package/dist/chunks/{persistent-pty-kpgdrxya.js → wellknown-2mxnmxmz.js} +10 -10
- package/dist/chunks/{persistent-pty-7cbt97qs.js → wellknown-2nv250mg.js} +24 -24
- package/dist/chunks/{persistent-pty-bhydgh2x.js → wellknown-2pyrnscj.js} +12 -12
- package/dist/chunks/{persistent-pty-6fdj6kdr.js → wellknown-2w6fwzk8.js} +4 -4
- package/dist/chunks/{persistent-pty-he2978am.js → wellknown-3e8rswg6.js} +15 -15
- package/dist/chunks/{persistent-pty-3fc6dm20.js → wellknown-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-gq9ysr8h.js → wellknown-3frjhckz.js} +6 -6
- package/dist/chunks/{persistent-pty-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-9gyd2w40.js → wellknown-3q1jyqhd.js} +1 -1
- package/dist/chunks/{persistent-pty-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-e9x29tk8.js → wellknown-3tet443m.js} +12 -12
- package/dist/chunks/{persistent-pty-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-aagvkkxy.js → wellknown-3vnzk02n.js} +26 -26
- package/dist/chunks/{persistent-pty-h15vyfzd.js → wellknown-4nqwrsa4.js} +10 -10
- package/dist/chunks/{persistent-pty-g7bd3bxh.js → wellknown-4t7yv6cz.js} +13 -13
- package/dist/chunks/{persistent-pty-mqy9bkz8.js → wellknown-4yhwp5g3.js} +4 -4
- package/dist/chunks/{persistent-pty-5f411mky.js → wellknown-50m81vcj.js} +10 -10
- package/dist/chunks/{persistent-pty-56gdpj1q.js → wellknown-56gdpj1q.js} +2 -2
- package/dist/chunks/{persistent-pty-a1bz86dw.js → wellknown-5c4hm403.js} +3 -3
- package/dist/chunks/{persistent-pty-5daktx2q.js → wellknown-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-2hnfpkj9.js → wellknown-5jqc5sqp.js} +24 -24
- package/dist/chunks/{persistent-pty-tge42xv9.js → wellknown-5kgzrmgs.js} +24 -24
- package/dist/chunks/{persistent-pty-s51v67se.js → wellknown-5kmes5qd.js} +3 -3
- package/dist/chunks/{persistent-pty-8xbg7ftz.js → wellknown-5mc07s0f.js} +11 -11
- package/dist/chunks/{persistent-pty-g22feqm7.js → wellknown-5n9s6qa4.js} +9 -9
- package/dist/chunks/{persistent-pty-nyba91e3.js → wellknown-5rcbg160.js} +9 -9
- package/dist/chunks/{persistent-pty-5t3nmthw.js → wellknown-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-669tq793.js → wellknown-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-tybgdchd.js → wellknown-6g1fts0a.js} +35 -35
- package/dist/chunks/{persistent-pty-2402vzrj.js → wellknown-6h73sxmp.js} +5 -5
- package/dist/chunks/{persistent-pty-07z0gam2.js → wellknown-6mgsefek.js} +2 -2
- package/dist/chunks/{persistent-pty-6msgmcgs.js → wellknown-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-485fr60v.js → wellknown-6xscg6ph.js} +10 -10
- package/dist/chunks/{persistent-pty-71q4at8m.js → wellknown-71q4at8m.js} +1 -1
- package/dist/chunks/{persistent-pty-g246acm2.js → wellknown-74m7wsss.js} +16 -16
- package/dist/chunks/{persistent-pty-fq1h1v14.js → wellknown-787q5hy4.js} +3 -3
- package/dist/chunks/{persistent-pty-eanp9d5s.js → wellknown-7b1xt4jx.js} +37 -37
- package/dist/chunks/{persistent-pty-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-rzn68cdd.js → wellknown-7jd5w2z6.js} +9 -9
- package/dist/chunks/{persistent-pty-1z0pzthf.js → wellknown-7sb0gw8v.js} +3 -3
- package/dist/chunks/{persistent-pty-x30a5wep.js → wellknown-7tzt44kv.js} +3 -3
- package/dist/chunks/{persistent-pty-81swgkk7.js → wellknown-81swgkk7.js} +2 -2
- package/dist/chunks/{persistent-pty-3sapyj2b.js → wellknown-82xhzzzv.js} +14 -14
- package/dist/chunks/{persistent-pty-ws70e1ew.js → wellknown-837kr0g5.js} +33 -33
- package/dist/chunks/{persistent-pty-bhzctmd7.js → wellknown-88sv3a8w.js} +16 -16
- package/dist/chunks/{persistent-pty-3ajmv4vc.js → wellknown-8d4hgzq6.js} +25 -25
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → wellknown-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-zw5b53zw.js → wellknown-8d8vxetm.js} +44 -44
- package/dist/chunks/{persistent-pty-ggwxhvn5.js → wellknown-8gg8at11.js} +28 -28
- package/dist/chunks/{persistent-pty-rs226bz6.js → wellknown-8rkr9qb0.js} +5 -5
- package/dist/chunks/{persistent-pty-qfd3egxj.js → wellknown-8tbhxwqj.js} +10 -10
- package/dist/chunks/{persistent-pty-h28mzj1y.js → wellknown-900x53hk.js} +43 -43
- package/dist/chunks/{persistent-pty-d8qpv23y.js → wellknown-9588gbpa.js} +36 -36
- package/dist/chunks/{persistent-pty-h322wpay.js → wellknown-9ah46qnh.js} +3 -3
- package/dist/chunks/{persistent-pty-b99w0g26.js → wellknown-9c7cwdaf.js} +6 -6
- package/dist/chunks/{persistent-pty-tc9rqwe8.js → wellknown-9g39sx5s.js} +7 -7
- package/dist/chunks/{persistent-pty-771pt6a1.js → wellknown-9vez9d28.js} +7 -7
- package/dist/chunks/{persistent-pty-t8wk4avw.js → wellknown-9y8671sk.js} +9 -9
- package/dist/chunks/{persistent-pty-cvvekyt1.js → wellknown-a0s8g8r8.js} +17 -17
- package/dist/chunks/{persistent-pty-1jzr98sp.js → wellknown-a0s8jv85.js} +8 -8
- package/dist/chunks/wellknown-a4723tnb.js +247 -0
- package/dist/chunks/{persistent-pty-3trbxeqx.js → wellknown-a54cm72e.js} +1 -1
- package/dist/chunks/{persistent-pty-f873qhwf.js → wellknown-a820x4jn.js} +17 -17
- package/dist/chunks/{persistent-pty-jk9xsz7x.js → wellknown-a8cvaywe.js} +13 -13
- package/dist/chunks/{persistent-pty-aaet6srn.js → wellknown-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-9h6x7gyv.js → wellknown-ad2yvbkp.js} +12 -12
- package/dist/chunks/{persistent-pty-3zc5jvmt.js → wellknown-adbeyv6h.js} +14 -14
- package/dist/chunks/{persistent-pty-7z50rzs6.js → wellknown-ajq719v1.js} +11 -11
- package/dist/chunks/{persistent-pty-v8aeq3gs.js → wellknown-axbt4x3w.js} +30 -30
- package/dist/chunks/{persistent-pty-9t9a8468.js → wellknown-b02bgaz4.js} +25 -25
- package/dist/chunks/{persistent-pty-s1htzk4a.js → wellknown-b0mr3jnb.js} +16 -16
- package/dist/chunks/{persistent-pty-pps99k3k.js → wellknown-b0xv7fv1.js} +22 -22
- package/dist/chunks/{persistent-pty-55fm1b9t.js → wellknown-b1sd7bew.js} +26 -26
- package/dist/chunks/{persistent-pty-ww3mwnc7.js → wellknown-b6437q7d.js} +11 -11
- package/dist/chunks/{persistent-pty-b6gygkdw.js → wellknown-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-6feaep00.js → wellknown-ba13aqv9.js} +16 -16
- package/dist/chunks/{persistent-pty-vze96k0n.js → wellknown-bcn5dnkb.js} +4 -4
- package/dist/chunks/{persistent-pty-gcaewnb3.js → wellknown-c0gy5km3.js} +6 -6
- package/dist/chunks/{persistent-pty-hb21dksg.js → wellknown-c438309d.js} +11 -11
- package/dist/chunks/{persistent-pty-nw2nz702.js → wellknown-c5gn303e.js} +4 -4
- package/dist/chunks/{persistent-pty-g2rsct3h.js → wellknown-cavnh2xx.js} +3 -3
- package/dist/chunks/{persistent-pty-bgp3qmdj.js → wellknown-ccg31c11.js} +38 -38
- package/dist/chunks/{persistent-pty-vypqtakx.js → wellknown-ceanckhm.js} +1 -1
- package/dist/chunks/{persistent-pty-2v34zfk0.js → wellknown-cgay140m.js} +11 -11
- package/dist/chunks/{persistent-pty-smj81yy7.js → wellknown-ckea2n89.js} +24 -24
- package/dist/chunks/{persistent-pty-p9e7n5cp.js → wellknown-d5hhvd7t.js} +40 -40
- package/dist/chunks/{persistent-pty-r3meafyq.js → wellknown-daky8ak7.js} +25 -25
- package/dist/chunks/{persistent-pty-cxmh4q5b.js → wellknown-dhmh7aw6.js} +4 -4
- package/dist/chunks/{persistent-pty-8p4f9s12.js → wellknown-dj2t23y0.js} +2 -2
- package/dist/chunks/{persistent-pty-qz2hjw9m.js → wellknown-drfneyqc.js} +6 -6
- package/dist/chunks/wellknown-dxj72tfx.js +18 -0
- package/dist/chunks/{persistent-pty-9vqpghck.js → wellknown-e2mjwr1a.js} +26 -26
- package/dist/chunks/{persistent-pty-64a4x0vc.js → wellknown-e4cbaens.js} +9 -9
- package/dist/chunks/{persistent-pty-mrw4weg4.js → wellknown-e7f0s3sx.js} +5 -5
- package/dist/chunks/{persistent-pty-c6j5rb3b.js → wellknown-e9t4j61t.js} +4 -4
- package/dist/chunks/{persistent-pty-9yqcsx6m.js → wellknown-edtyxv01.js} +17 -17
- package/dist/chunks/{persistent-pty-4vm0hqbg.js → wellknown-egkyg8tp.js} +7 -7
- package/dist/chunks/{persistent-pty-bkxbsem7.js → wellknown-eshz126w.js} +24 -24
- package/dist/chunks/{persistent-pty-etq0c3wd.js → wellknown-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-7hpb1swa.js → wellknown-f16rvdaj.js} +21 -21
- package/dist/chunks/{persistent-pty-5a5hve6r.js → wellknown-f18mrdtc.js} +24 -24
- package/dist/chunks/{persistent-pty-1ybn2y83.js → wellknown-f9katak3.js} +46 -46
- package/dist/chunks/{persistent-pty-a46v4e4v.js → wellknown-fdv30zvt.js} +7 -7
- package/dist/chunks/{persistent-pty-fsxrvzy1.js → wellknown-fg0hzth7.js} +5 -5
- package/dist/chunks/{persistent-pty-9njfg5h4.js → wellknown-fgjt84w1.js} +16 -16
- package/dist/chunks/{persistent-pty-twy35tz0.js → wellknown-fjmrr6sh.js} +9 -9
- package/dist/chunks/{persistent-pty-xck95xk4.js → wellknown-frk6nvt3.js} +18 -18
- package/dist/chunks/{persistent-pty-d5yt5jwb.js → wellknown-fsjza8dz.js} +11 -11
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → wellknown-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-1hxa6pzb.js → wellknown-fxmk9gfa.js} +30 -30
- package/dist/chunks/{persistent-pty-2vgrpkws.js → wellknown-fyts4tpe.js} +30 -30
- package/dist/chunks/{persistent-pty-87rksg4x.js → wellknown-g4pd8jp4.js} +15 -15
- package/dist/chunks/{persistent-pty-7ba6wjkk.js → wellknown-g5h6njp0.js} +18 -18
- package/dist/chunks/{persistent-pty-qshadkbd.js → wellknown-g8p6qmq8.js} +17 -17
- package/dist/chunks/{persistent-pty-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-stesey4a.js → wellknown-gdpq0ckt.js} +4 -4
- package/dist/chunks/{persistent-pty-gpw9mxzt.js → wellknown-gept72jd.js} +36 -36
- package/dist/chunks/{persistent-pty-m7vxemcg.js → wellknown-gqjc2j8w.js} +8 -8
- package/dist/chunks/wellknown-gytcnbap.js +22 -0
- package/dist/chunks/{persistent-pty-h03wrkyp.js → wellknown-h03wrkyp.js} +2 -2
- package/dist/chunks/{persistent-pty-atpcpkf0.js → wellknown-h5325qgz.js} +12 -12
- package/dist/chunks/{persistent-pty-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-t7fdnyc8.js → wellknown-hbgnkwvx.js} +22 -22
- package/dist/chunks/{persistent-pty-f828m53h.js → wellknown-hdnk95c8.js} +2 -2
- package/dist/chunks/{persistent-pty-andaq6rh.js → wellknown-hdv4kbhc.js} +10 -10
- package/dist/chunks/{persistent-pty-35wxgrz4.js → wellknown-hnyvhsj1.js} +9 -9
- package/dist/chunks/{persistent-pty-j9jre7ys.js → wellknown-hw5zatr6.js} +134 -134
- package/dist/chunks/{persistent-pty-j56e64zr.js → wellknown-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-y20gv630.js → wellknown-j89dhwny.js} +32 -32
- package/dist/chunks/{persistent-pty-q34x7630.js → wellknown-jfkjrwd6.js} +4 -4
- package/dist/chunks/{persistent-pty-g6986w1q.js → wellknown-jh6dhq8h.js} +25 -25
- package/dist/chunks/{persistent-pty-bby00dsd.js → wellknown-jj63jgrn.js} +8 -8
- package/dist/chunks/{persistent-pty-qv60t1mv.js → wellknown-jm9yp3wk.js} +6 -6
- package/dist/chunks/{persistent-pty-mdkf98yy.js → wellknown-jsxty42z.js} +5 -5
- package/dist/chunks/{persistent-pty-warydmh4.js → wellknown-kaj30qh4.js} +23 -23
- package/dist/chunks/{persistent-pty-7b15y959.js → wellknown-kbmmzrfa.js} +8 -8
- package/dist/chunks/{persistent-pty-kg06axw8.js → wellknown-kg06axw8.js} +1 -1
- package/dist/chunks/{persistent-pty-m18hwpd1.js → wellknown-kh3jnqzr.js} +8 -8
- package/dist/chunks/{persistent-pty-fgcgd4rw.js → wellknown-khn3zewm.js} +13 -13
- package/dist/chunks/{persistent-pty-j39pwvkg.js → wellknown-ktczpzsq.js} +4 -4
- package/dist/chunks/{persistent-pty-h2gyv3sg.js → wellknown-kx71qmfd.js} +1 -1
- package/dist/chunks/{persistent-pty-7yqnf43w.js → wellknown-kzh6gfbz.js} +9 -9
- package/dist/chunks/{persistent-pty-cfpkc3c9.js → wellknown-m0jqrx5p.js} +2 -2
- package/dist/chunks/{persistent-pty-k8g3dj73.js → wellknown-m1m6fjnw.js} +33 -33
- package/dist/chunks/{persistent-pty-84tssp1s.js → wellknown-m3g11tvf.js} +8 -8
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-7vhhzrrm.js → wellknown-ma6ycfp0.js} +6 -6
- package/dist/chunks/{persistent-pty-zepncfka.js → wellknown-magykp64.js} +21 -21
- package/dist/chunks/{persistent-pty-mkcjrzeh.js → wellknown-mkcjrzeh.js} +1 -1
- package/dist/chunks/{persistent-pty-8z17e00v.js → wellknown-mn5tqr63.js} +6 -6
- package/dist/chunks/{persistent-pty-0cc4q6tf.js → wellknown-mqh6yhwz.js} +7 -7
- package/dist/chunks/{persistent-pty-bkrv928p.js → wellknown-n07zvns7.js} +78 -78
- package/dist/chunks/{persistent-pty-n52fcynn.js → wellknown-n136tsdt.js} +25 -25
- package/dist/chunks/{persistent-pty-mge8n18z.js → wellknown-n635ksnc.js} +3 -3
- package/dist/chunks/{persistent-pty-axdmkq6x.js → wellknown-n834bds2.js} +10 -10
- package/dist/chunks/{persistent-pty-hjt4xg1x.js → wellknown-nhy5jxhy.js} +4 -4
- package/dist/chunks/{persistent-pty-7rgb98b3.js → wellknown-nrypwx75.js} +21 -21
- package/dist/chunks/{persistent-pty-s76nk363.js → wellknown-p5xyv7pn.js} +12 -12
- package/dist/chunks/{persistent-pty-c3t7yrgz.js → wellknown-p7m6r6b6.js} +6 -6
- package/dist/chunks/{persistent-pty-qjfza5jp.js → wellknown-pagzwejb.js} +25 -25
- package/dist/chunks/{persistent-pty-j935v87r.js → wellknown-paphc93g.js} +2 -2
- package/dist/chunks/{persistent-pty-jvzfedhz.js → wellknown-pgahjbda.js} +7 -7
- package/dist/chunks/{persistent-pty-emyaygjm.js → wellknown-pj81m1sj.js} +48 -48
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → wellknown-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-6j8myhdp.js → wellknown-pmcj00xg.js} +4 -4
- package/dist/chunks/{persistent-pty-3j8sdtpz.js → wellknown-pmr4s4kc.js} +4 -4
- package/dist/chunks/{persistent-pty-b0grxa7w.js → wellknown-q17z9dx8.js} +5 -5
- package/dist/chunks/{persistent-pty-159kg1rb.js → wellknown-q1b6gr3p.js} +17 -17
- package/dist/chunks/{persistent-pty-6tt5evqq.js → wellknown-q1h4ggtj.js} +4 -4
- package/dist/chunks/{persistent-pty-grfax6bg.js → wellknown-q4rs3jkh.js} +9 -9
- package/dist/chunks/{persistent-pty-1tq060df.js → wellknown-q5t0te5a.js} +6 -6
- package/dist/chunks/{persistent-pty-bx134keb.js → wellknown-q8h1e6nq.js} +9 -9
- package/dist/chunks/{persistent-pty-jer3sd0r.js → wellknown-qdr6w09k.js} +11 -11
- package/dist/chunks/{persistent-pty-2sb6srdd.js → wellknown-qehyq9cc.js} +9 -9
- package/dist/chunks/{persistent-pty-7dqw4kz8.js → wellknown-qgn6gcr1.js} +5 -5
- package/dist/chunks/{persistent-pty-cgwhtan4.js → wellknown-qj48zm78.js} +18 -18
- package/dist/chunks/{persistent-pty-vmq7ehpy.js → wellknown-qjnxxf51.js} +5 -5
- package/dist/chunks/{persistent-pty-6mgtcd6n.js → wellknown-qmy1dnxe.js} +26 -26
- package/dist/chunks/{persistent-pty-zss1wv0f.js → wellknown-qn1pawzn.js} +48 -48
- package/dist/chunks/{persistent-pty-akt3csds.js → wellknown-qptz43e7.js} +11 -11
- package/dist/chunks/{persistent-pty-fg7rbsd2.js → wellknown-qq1c0rfq.js} +11 -11
- package/dist/chunks/{persistent-pty-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-esdnemd6.js → wellknown-qvgcjadf.js} +1 -1
- package/dist/chunks/{persistent-pty-69najtqd.js → wellknown-qw1nc14v.js} +20 -20
- package/dist/chunks/{persistent-pty-nx4935gj.js → wellknown-qwd4j9zj.js} +12 -12
- package/dist/chunks/{persistent-pty-9vd61c30.js → wellknown-r2wet1p6.js} +20 -20
- package/dist/chunks/{persistent-pty-84gm4pzb.js → wellknown-r4ewzg2z.js} +13 -13
- package/dist/chunks/{persistent-pty-r5x6zcsm.js → wellknown-r5x6zcsm.js} +1 -1
- package/dist/chunks/{persistent-pty-yp2x3t23.js → wellknown-r8xr0va3.js} +4 -4
- package/dist/chunks/{persistent-pty-5t0z2mmn.js → wellknown-rersy9yg.js} +5 -5
- package/dist/chunks/{persistent-pty-21thbrk0.js → wellknown-rm2ff3bp.js} +25 -25
- package/dist/chunks/{persistent-pty-0h54jqbs.js → wellknown-rmdyxgmk.js} +8 -8
- package/dist/chunks/{persistent-pty-jbp58yvw.js → wellknown-rq5wdrj2.js} +8 -8
- package/dist/chunks/{persistent-pty-jzpbgybv.js → wellknown-rqp16f7y.js} +16 -16
- package/dist/chunks/{persistent-pty-bw0vgseb.js → wellknown-rtathh62.js} +8 -8
- package/dist/chunks/{persistent-pty-hj2v5ffq.js → wellknown-rvtwd3yj.js} +34 -34
- package/dist/chunks/{persistent-pty-m4xc242r.js → wellknown-rx3h63rs.js} +15 -15
- package/dist/chunks/{persistent-pty-7zkd12m7.js → wellknown-s4gwknv2.js} +11 -11
- package/dist/chunks/{persistent-pty-mtft99cd.js → wellknown-s8zy8myc.js} +5 -5
- package/dist/chunks/{persistent-pty-7e7r6h4f.js → wellknown-sc8qxpfy.js} +11 -11
- package/dist/chunks/{persistent-pty-fppgezky.js → wellknown-sjq8935c.js} +19 -19
- package/dist/chunks/{persistent-pty-0e44rvxq.js → wellknown-sk37m034.js} +12 -12
- package/dist/chunks/{persistent-pty-qcahbspj.js → wellknown-skkegfc4.js} +10 -10
- package/dist/chunks/{persistent-pty-ez87t20v.js → wellknown-spf23xz3.js} +8 -8
- package/dist/chunks/{persistent-pty-5r7wtzhh.js → wellknown-sqc1mbat.js} +13 -13
- package/dist/chunks/{persistent-pty-9k2v62xn.js → wellknown-sxc4n3b4.js} +1 -1
- package/dist/chunks/{persistent-pty-3w2b2yj4.js → wellknown-t0fxg8b9.js} +5 -5
- package/dist/chunks/{persistent-pty-7wc683m2.js → wellknown-t2w3xr5a.js} +2 -2
- package/dist/chunks/{persistent-pty-enc0sym2.js → wellknown-t8cqswnp.js} +17 -17
- package/dist/chunks/{persistent-pty-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → wellknown-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → wellknown-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-bf6dt9pk.js → wellknown-tgggdv5e.js} +16 -16
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → wellknown-th5km1p3.js} +5 -5
- package/dist/chunks/{persistent-pty-xsgnaeym.js → wellknown-tj1q2scr.js} +2 -2
- package/dist/chunks/{persistent-pty-cqyts73c.js → wellknown-tkqmbdwd.js} +33 -33
- package/dist/chunks/{persistent-pty-tvtrv512.js → wellknown-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-tjfw1za4.js → wellknown-tx7nxe6e.js} +11 -11
- package/dist/chunks/{persistent-pty-k0nnq3t9.js → wellknown-v3jp6byb.js} +8 -8
- package/dist/chunks/{persistent-pty-dxygqc36.js → wellknown-v8sve7zh.js} +18 -18
- package/dist/chunks/{persistent-pty-1bvxxf6d.js → wellknown-vd0xk4sc.js} +7 -7
- package/dist/chunks/{persistent-pty-2j1x0myt.js → wellknown-vdx4y0d9.js} +7 -7
- package/dist/chunks/{persistent-pty-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-721tb84k.js → wellknown-vjnb44yt.js} +3 -3
- package/dist/chunks/{persistent-pty-72xz0ztc.js → wellknown-vsmeezbe.js} +52 -52
- package/dist/chunks/{persistent-pty-vzcthcp8.js → wellknown-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-qt3ydrbb.js → wellknown-wbt7ywgk.js} +80 -80
- package/dist/chunks/{persistent-pty-zbr6jhfd.js → wellknown-wc38272m.js} +24 -24
- package/dist/chunks/{persistent-pty-wd87259q.js → wellknown-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-kt5w8vxh.js → wellknown-wk58jv74.js} +3 -3
- package/dist/chunks/{persistent-pty-exnvqzq0.js → wellknown-ww0rczpm.js} +16 -16
- package/dist/chunks/{persistent-pty-gqh9qxps.js → wellknown-x0hpdvpn.js} +286 -286
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → wellknown-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-x43y2vfs.js → wellknown-x43y2vfs.js} +2 -2
- package/dist/chunks/{persistent-pty-af4kcksd.js → wellknown-xhmq8qgk.js} +2 -2
- package/dist/chunks/{persistent-pty-0c8kwbsp.js → wellknown-xjrtztjf.js} +18 -18
- package/dist/chunks/{persistent-pty-aahnsagd.js → wellknown-xpex9dgw.js} +24 -24
- package/dist/chunks/{persistent-pty-qryc0yk4.js → wellknown-xzh4dvk0.js} +38 -38
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-c7m75h3c.js → wellknown-y5n0rpyq.js} +1 -1
- package/dist/chunks/{persistent-pty-dpkg50ah.js → wellknown-y71avatq.js} +4 -4
- package/dist/chunks/{persistent-pty-yddgxcp4.js → wellknown-yddgxcp4.js} +2 -2
- package/dist/chunks/{persistent-pty-b2v3nqsm.js → wellknown-yef8cfd3.js} +15 -15
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → wellknown-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-s4enseaf.js → wellknown-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-29x78va6.js → wellknown-z63w68vq.js} +6 -6
- package/dist/chunks/{persistent-pty-0m5hy3yw.js → wellknown-z6xqx8vg.js} +31 -31
- package/dist/chunks/{persistent-pty-vabb23s0.js → wellknown-z92e5j38.js} +1 -1
- package/dist/chunks/{persistent-pty-m3s16k4y.js → wellknown-zdvsaw25.js} +11 -11
- package/dist/chunks/{persistent-pty-zeh9ct20.js → wellknown-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → wellknown-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-zxq2ej10.js → wellknown-zxq2ej10.js} +1 -1
- package/dist/chunks/{persistent-pty-aavsyw27.js → wellknown-zy1b9mj0.js} +21 -21
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +116 -116
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +216 -216
- 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 +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +84 -84
- package/dist/generate.js +89 -89
- package/dist/git.js +3 -3
- 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 +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +80 -80
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +76 -76
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +129 -129
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +75 -75
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +86 -86
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- 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 +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +108 -108
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +145 -145
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +7 -7
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +86 -86
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +99 -99
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-9r5tkcxt.js +0 -247
- package/dist/chunks/persistent-pty-ht5y0zrb.js +0 -18
- package/dist/chunks/persistent-pty-t9b0v4z9.js +0 -22
- /package/dist/chunks/{persistent-pty-0mesazry.js → wellknown-0mesazry.js} +0 -0
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → wellknown-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → wellknown-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → wellknown-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → wellknown-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → wellknown-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → wellknown-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → wellknown-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → wellknown-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → wellknown-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → wellknown-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → wellknown-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → wellknown-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-hrnqkpcd.js → wellknown-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → wellknown-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → wellknown-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → wellknown-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → wellknown-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info15
|
|
7
|
+
} from "./wellknown-magykp64.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info8
|
|
10
|
+
} from "./wellknown-qq1c0rfq.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info12
|
|
13
|
+
} from "./wellknown-t0fxg8b9.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info14
|
|
16
|
+
} from "./wellknown-fdv30zvt.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Info10
|
|
19
|
+
} from "./wellknown-kzh6gfbz.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./wellknown-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info7
|
|
25
|
+
} from "./wellknown-q5t0te5a.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info11
|
|
28
|
+
} from "./wellknown-s8zy8myc.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./wellknown-qgn6gcr1.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info9
|
|
34
|
+
} from "./wellknown-qjnxxf51.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./wellknown-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info13
|
|
40
|
+
} from "./wellknown-pmr4s4kc.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info6,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info6 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info18 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info14)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info13).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info18 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info8), plan: Schema.optional(Info8) }), [Schema.Record(Schema.String, Info8)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info8),
|
|
119
|
+
build: Schema.optional(Info8),
|
|
120
|
+
general: Schema.optional(Info8),
|
|
121
|
+
explore: Schema.optional(Info8),
|
|
122
|
+
title: Schema.optional(Info8),
|
|
123
|
+
summary: Schema.optional(Info8),
|
|
124
|
+
compaction: Schema.optional(Info8)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info8)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info9)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info11, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info10).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info7).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info15),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info12).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info18 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info6, exports_config2 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID15,
|
|
3
|
+
Service70
|
|
4
|
+
} from "./wellknown-eshz126w.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service37
|
|
8
|
+
} from "./wellknown-d5hhvd7t.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-vjnb44yt.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service51
|
|
14
|
+
} from "./wellknown-3e8rswg6.js";
|
|
15
15
|
import {
|
|
16
16
|
evaluate2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service67
|
|
18
|
+
} from "./wellknown-pj81m1sj.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service20
|
|
21
|
+
} from "./wellknown-n07zvns7.js";
|
|
22
22
|
import {
|
|
23
23
|
NO_TEXT2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./wellknown-x1ezjp6w.js";
|
|
25
25
|
import {
|
|
26
26
|
make7
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./wellknown-gqjc2j8w.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/subagent.ts
|
|
33
33
|
var exports_subagent = {};
|
|
34
34
|
__export(exports_subagent, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Output: () =>
|
|
37
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input12,
|
|
36
|
+
Output: () => Output8,
|
|
37
|
+
Plugin: () => Plugin31,
|
|
38
38
|
SubagentTool: () => exports_subagent,
|
|
39
39
|
description: () => description5,
|
|
40
|
-
name: () =>
|
|
40
|
+
name: () => name12
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
|
-
var
|
|
44
|
+
var name12 = "subagent";
|
|
45
45
|
var backgroundResult = (sessionID) => ({
|
|
46
46
|
sessionID,
|
|
47
47
|
status: "running",
|
|
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
52
52
|
].join(`
|
|
53
53
|
`)
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input12 = Schema.Struct({
|
|
56
56
|
agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
|
|
57
57
|
description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
|
|
58
58
|
prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
|
|
@@ -63,7 +63,7 @@ var Input11 = Schema.Struct({
|
|
|
63
63
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
64
64
|
})
|
|
65
65
|
});
|
|
66
|
-
var
|
|
66
|
+
var Output8 = Schema.Struct({
|
|
67
67
|
sessionID: SessionSchema2.ID,
|
|
68
68
|
status: Schema.Literals(["completed", "running"]),
|
|
69
69
|
output: Schema.String
|
|
@@ -77,21 +77,21 @@ var description5 = [
|
|
|
77
77
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
78
78
|
].join(`
|
|
79
79
|
`);
|
|
80
|
-
var
|
|
80
|
+
var Plugin31 = {
|
|
81
81
|
id: "opencode.tool.subagent",
|
|
82
82
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
83
|
-
const sessions = yield*
|
|
84
|
-
const jobs = yield*
|
|
85
|
-
const agents = yield*
|
|
86
|
-
const config = yield*
|
|
87
|
-
const permission = yield*
|
|
83
|
+
const sessions = yield* Service20;
|
|
84
|
+
const jobs = yield* Service51;
|
|
85
|
+
const agents = yield* Service70;
|
|
86
|
+
const config = yield* Service37;
|
|
87
|
+
const permission = yield* Service67;
|
|
88
88
|
const subagents = yield* make7;
|
|
89
89
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
90
|
-
name:
|
|
90
|
+
name: name12,
|
|
91
91
|
options: { codemode: false },
|
|
92
92
|
description: description5,
|
|
93
|
-
input:
|
|
94
|
-
output:
|
|
93
|
+
input: Input12,
|
|
94
|
+
output: Output8,
|
|
95
95
|
execute: (input, context) => Effect.gen(function* () {
|
|
96
96
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
97
97
|
let current = parent;
|
|
@@ -111,7 +111,7 @@ var Plugin12 = {
|
|
|
111
111
|
if (agent.mode === "primary")
|
|
112
112
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name12,
|
|
115
115
|
resources: [agent.id],
|
|
116
116
|
save: [agent.id],
|
|
117
117
|
sessionID: context.sessionID,
|
|
@@ -134,7 +134,7 @@ var Plugin12 = {
|
|
|
134
134
|
const child = existing ?? (yield* sessions.create({
|
|
135
135
|
parentID: context.sessionID,
|
|
136
136
|
title: input.description,
|
|
137
|
-
agent:
|
|
137
|
+
agent: ID15.make(input.agent),
|
|
138
138
|
model
|
|
139
139
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
140
140
|
const background = input.background === true;
|
|
@@ -184,13 +184,13 @@ ${output.output}
|
|
|
184
184
|
})))
|
|
185
185
|
})).pipe(Effect.orDie);
|
|
186
186
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
187
|
-
const tool = event.tools[
|
|
187
|
+
const tool = event.tools[name12];
|
|
188
188
|
if (!tool)
|
|
189
189
|
return;
|
|
190
190
|
const selected = yield* agents.resolve(event.agent);
|
|
191
191
|
if (!selected)
|
|
192
192
|
return;
|
|
193
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
193
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name12, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
194
194
|
if (available.length === 0)
|
|
195
195
|
return;
|
|
196
196
|
tool.description = [
|
|
@@ -204,4 +204,4 @@ ${output.output}
|
|
|
204
204
|
})
|
|
205
205
|
};
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { name12, Input12, Output8, description5, Plugin31, exports_subagent };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-ma6ycfp0.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-7tzt44kv.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service49,
|
|
10
|
+
node: () => node54
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service49 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node54 = LayerNode.unbound(Service49, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service49, node54, exports_service2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service76
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-tj1q2scr.js";
|
|
4
4
|
import {
|
|
5
5
|
PATCH_CONTEXT_LINES2,
|
|
6
6
|
MAX_PATCH_BYTES2,
|
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
deletePatch2,
|
|
11
11
|
countPatch2,
|
|
12
12
|
chunksByFile2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-tazgh4e4.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-rqp16f7y.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin32,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin32 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
36
|
const location = yield* Service76;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin32, exports_hg };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service76
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-tj1q2scr.js";
|
|
4
4
|
import {
|
|
5
5
|
PATCH_CONTEXT_LINES2,
|
|
6
6
|
MAX_PATCH_BYTES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
DiffError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-rqp16f7y.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/vcs/git.ts
|
|
19
19
|
var exports_git = {};
|
|
20
20
|
__export(exports_git, {
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin33,
|
|
22
22
|
VcsGitPlugin: () => exports_git
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
25
|
import { Effect } from "effect";
|
|
26
26
|
import { ChildProcess } from "effect/unstable/process";
|
|
27
27
|
import { AppProcess } from "@opencode/util/process";
|
|
28
|
-
var
|
|
28
|
+
var Plugin33 = define({
|
|
29
29
|
id: "opencode.vcs.git",
|
|
30
30
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
31
31
|
const location = yield* Service76;
|
|
@@ -467,4 +467,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
467
467
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
468
468
|
});
|
|
469
469
|
|
|
470
|
-
export {
|
|
470
|
+
export { Plugin33, exports_git };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service28,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
13
|
layer: () => layer12,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node33
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -32,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
32
32
|
});
|
|
33
33
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service28 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
36
36
|
}
|
|
37
37
|
var transportError = (message, input) => new AIError({
|
|
38
38
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -56,7 +56,7 @@ var observationFrame = (observation) => {
|
|
|
56
56
|
return Effect.fail(observation.error);
|
|
57
57
|
};
|
|
58
58
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
59
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
59
|
+
var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* () {
|
|
60
60
|
const scope = yield* Scope.Scope;
|
|
61
61
|
const states = new Map;
|
|
62
62
|
const state = (sessionID) => {
|
|
@@ -356,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service26, Effect.gen(function* ()
|
|
|
356
356
|
}, { discard: true });
|
|
357
357
|
});
|
|
358
358
|
yield* Effect.addFinalizer(() => closeAll);
|
|
359
|
-
return
|
|
359
|
+
return Service28.of({ bind, close, closeAll });
|
|
360
360
|
}));
|
|
361
361
|
var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
362
362
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
363
363
|
})));
|
|
364
|
-
var
|
|
364
|
+
var node33 = makeGlobalNode({ service: Service28, layer: layer12, deps: [webSocketConstructor2] });
|
|
365
365
|
|
|
366
|
-
export {
|
|
366
|
+
export { Service28, makeLayer2, layer12, node33, exports_model_transport };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-gdpq0ckt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./wellknown-jh6dhq8h.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error5
|
|
9
|
+
} from "./wellknown-rm2ff3bp.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service44
|
|
12
|
+
} from "./wellknown-p5xyv7pn.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-vd0xk4sc.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./wellknown-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./wellknown-jfkjrwd6.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./wellknown-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./wellknown-h03wrkyp.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./wellknown-cavnh2xx.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
|
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service63;
|
|
58
|
+
const toolOutput = yield* Service44;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make3 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error5({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-tx7nxe6e.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service57
|
|
7
|
+
} from "./wellknown-fyts4tpe.js";
|
|
8
8
|
import {
|
|
9
9
|
ID7,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-ckea2n89.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
ID11
|
|
14
|
+
} from "./wellknown-m3g11tvf.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
23
23
|
var pollingSafetyMargin = 3000;
|
|
24
24
|
var browserMethodID = MethodID2.make("browser");
|
|
25
25
|
var deviceMethodID = MethodID2.make("device");
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID11.make("xai");
|
|
27
27
|
var Token = Schema.Struct({
|
|
28
28
|
access_token: Schema.String,
|
|
29
29
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -68,7 +68,7 @@ var device = (app) => ({
|
|
|
68
68
|
var XAIPlugin2 = define({
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
|
-
const credentials = yield*
|
|
71
|
+
const credentials = yield* Service57;
|
|
72
72
|
yield* Effect.forEach(yield* credentials.list(ID7.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|