@opencode/core 0.0.0-dev-157 → 0.0.0-dev-158
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 +87 -87
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{location-034tev2y.js → formatter-034tev2y.js} +2 -2
- package/dist/chunks/{location-6j0v21fn.js → formatter-03v86jt2.js} +20 -20
- package/dist/chunks/{location-fk13tq6z.js → formatter-0ah4y9r0.js} +6 -6
- package/dist/chunks/{location-aymf12sh.js → formatter-0dyf8jqq.js} +55 -55
- package/dist/chunks/{location-qtd5p5k1.js → formatter-0fgefsmm.js} +15 -15
- package/dist/chunks/{location-nc0wwyw5.js → formatter-0gb5rjdd.js} +24 -24
- package/dist/chunks/{location-66xzmsa8.js → formatter-0n41t4zq.js} +23 -23
- package/dist/chunks/{location-th9cnqvh.js → formatter-10vw2nd8.js} +4 -4
- package/dist/chunks/{location-11hfp36g.js → formatter-11hfp36g.js} +1 -1
- package/dist/chunks/{location-mcdj7ymd.js → formatter-1543h8d7.js} +11 -11
- package/dist/chunks/{location-2ttrve3p.js → formatter-1628er8f.js} +12 -12
- package/dist/chunks/{location-f34t46m8.js → formatter-19qgrets.js} +4 -4
- package/dist/chunks/{location-1ep2p91f.js → formatter-1ep2p91f.js} +2 -2
- package/dist/chunks/{location-fcsk47k5.js → formatter-1gnb2fcg.js} +36 -36
- package/dist/chunks/{location-ewwfb56b.js → formatter-1k41bg7a.js} +21 -21
- package/dist/chunks/{location-1x2knyw4.js → formatter-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-204s3925.js → formatter-204s3925.js} +1 -1
- package/dist/chunks/{location-eeeyas8n.js → formatter-22ajefah.js} +16 -16
- package/dist/chunks/{location-ys2ews8t.js → formatter-24jfnbzz.js} +22 -22
- package/dist/chunks/{location-ac1py7fc.js → formatter-28hr9nbt.js} +46 -46
- package/dist/chunks/{location-vx7y69zw.js → formatter-2eqy3gj5.js} +11 -11
- package/dist/chunks/{location-zv6chf9e.js → formatter-2pxa8g39.js} +6 -6
- package/dist/chunks/{location-4chjvm0n.js → formatter-2q4pnacr.js} +5 -5
- package/dist/chunks/{location-fy7btgzb.js → formatter-33nja2we.js} +14 -14
- package/dist/chunks/{location-s8ffyqk5.js → formatter-394cy0eq.js} +17 -17
- package/dist/chunks/{location-7ggwamay.js → formatter-3ga08nvd.js} +11 -11
- package/dist/chunks/{location-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-9y0knddb.js → formatter-3n5jkvcw.js} +5 -5
- package/dist/chunks/{location-3nnrz6f6.js → formatter-3nnrz6f6.js} +1 -1
- package/dist/chunks/{location-bw5vtrk1.js → formatter-3qx04rj6.js} +11 -11
- package/dist/chunks/formatter-3zat5gdw.js +26 -0
- package/dist/chunks/{location-94ym33zj.js → formatter-408rv1ek.js} +69 -69
- package/dist/chunks/{location-r2ty45qf.js → formatter-43d5xc6d.js} +19 -19
- package/dist/chunks/{location-tx5ztkvb.js → formatter-45ggea5m.js} +32 -32
- package/dist/chunks/{location-f4qt8m6m.js → formatter-46ka2acm.js} +3 -3
- package/dist/chunks/{location-y08xa3vn.js → formatter-485n4jd3.js} +21 -21
- package/dist/chunks/{location-bfr8tpj8.js → formatter-4dn49050.js} +30 -30
- package/dist/chunks/{location-dnkt163z.js → formatter-4h077zh3.js} +14 -14
- package/dist/chunks/{location-5qt45yqb.js → formatter-4mppp49g.js} +3 -3
- package/dist/chunks/{location-x2ecggsc.js → formatter-4pev1txy.js} +13 -13
- package/dist/chunks/{location-4pyp9zr9.js → formatter-4pyp9zr9.js} +1 -1
- package/dist/chunks/{location-4v008n1t.js → formatter-4v008n1t.js} +1 -1
- package/dist/chunks/{location-fjq4jm3y.js → formatter-51s5kn8z.js} +18 -18
- package/dist/chunks/{location-a7q3851y.js → formatter-52eavcth.js} +24 -24
- package/dist/chunks/{location-z54xpf00.js → formatter-56xn1hkj.js} +25 -25
- package/dist/chunks/{location-4ze70za5.js → formatter-5cn8xe5s.js} +14 -14
- package/dist/chunks/{location-40za9wsf.js → formatter-5enarcya.js} +6 -6
- package/dist/chunks/{location-mkqpe6ev.js → formatter-5ff5nded.js} +18 -18
- package/dist/chunks/{location-5m9w47nd.js → formatter-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-j3pm8grq.js → formatter-5rf46hdm.js} +28 -28
- package/dist/chunks/{location-8shc1k29.js → formatter-5ryxmec5.js} +6 -6
- package/dist/chunks/{location-x4jkdn6e.js → formatter-5vtsbcft.js} +8 -8
- package/dist/chunks/{location-nbav8nzv.js → formatter-5yg7bvsq.js} +28 -28
- package/dist/chunks/{location-gqkf6x4j.js → formatter-61a4qrs4.js} +5 -5
- package/dist/chunks/{location-6z64yfwb.js → formatter-6cycb20b.js} +30 -30
- package/dist/chunks/{location-6esdw8yj.js → formatter-6esdw8yj.js} +1 -1
- package/dist/chunks/{location-0czxa7gb.js → formatter-6q4pe2tt.js} +11 -11
- package/dist/chunks/{location-wj3t59eb.js → formatter-6qazmz99.js} +12 -12
- package/dist/chunks/{location-jn7ycdjx.js → formatter-6qzks2cs.js} +28 -28
- package/dist/chunks/{location-f3v3m9ze.js → formatter-6rr0vdf1.js} +18 -18
- package/dist/chunks/{location-c0pkgj13.js → formatter-6v3s9y2a.js} +15 -15
- package/dist/chunks/{location-3dnxr830.js → formatter-6vygy4ry.js} +15 -15
- package/dist/chunks/{location-t2bd3kw5.js → formatter-71wc3kpp.js} +32 -32
- package/dist/chunks/{location-00zh2tpm.js → formatter-7a1enj4j.js} +8 -8
- package/dist/chunks/{location-vp4gfj7b.js → formatter-7a3gzg35.js} +8 -8
- package/dist/chunks/{location-9e9wnrn3.js → formatter-7a92ptrh.js} +23 -23
- package/dist/chunks/{location-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-5k2wjw25.js → formatter-7jgy946c.js} +7 -7
- package/dist/chunks/{location-ng4vhxme.js → formatter-7jhpt6w3.js} +30 -30
- package/dist/chunks/{location-ddjm3yr7.js → formatter-7m2ptj4e.js} +25 -25
- package/dist/chunks/{location-7w2ypzdf.js → formatter-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-dqz1xx52.js → formatter-7zczqtrc.js} +11 -11
- package/dist/chunks/{location-cz80cm7r.js → formatter-8a2eg3tn.js} +5 -5
- package/dist/chunks/{location-9jwhcb1g.js → formatter-8k57btrj.js} +13 -13
- package/dist/chunks/{location-grdzfs6a.js → formatter-8m1jxte5.js} +18 -18
- package/dist/chunks/{location-x628q3tw.js → formatter-8sm9cepf.js} +7 -7
- package/dist/chunks/{location-a2cvkf8m.js → formatter-8vhprsgd.js} +18 -18
- package/dist/chunks/{location-8wtp7s3z.js → formatter-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-hvwvq3df.js → formatter-8x6dz44a.js} +8 -8
- package/dist/chunks/{location-hvvf9qw8.js → formatter-8zkf5cgt.js} +6 -6
- package/dist/chunks/{location-90zstvax.js → formatter-90zstvax.js} +1 -1
- package/dist/chunks/{location-gs8jhd8n.js → formatter-928cg9e5.js} +20 -20
- package/dist/chunks/{location-2h1qwmv4.js → formatter-932fxf16.js} +17 -17
- package/dist/chunks/{location-70y17xeh.js → formatter-96te9d4b.js} +5 -5
- package/dist/chunks/{location-w35wzz9x.js → formatter-9axz1114.js} +4 -4
- package/dist/chunks/{location-9qcg53ez.js → formatter-9qcg53ez.js} +2 -2
- package/dist/chunks/{location-jq4a7xgd.js → formatter-a52hhzb9.js} +23 -23
- package/dist/chunks/formatter-a885h41h.js +257 -0
- package/dist/chunks/{location-ydsespw1.js → formatter-aedwt843.js} +8 -8
- package/dist/chunks/{location-v1nzqh31.js → formatter-aj89322e.js} +5 -5
- package/dist/chunks/{location-t9j1v4n7.js → formatter-aprzax25.js} +21 -21
- package/dist/chunks/{location-nrptqq6h.js → formatter-av82cvsk.js} +201 -201
- package/dist/chunks/{location-3hbcrqhe.js → formatter-avpbktef.js} +12 -12
- package/dist/chunks/{location-ayjs7tqn.js → formatter-ayjs7tqn.js} +2 -2
- package/dist/chunks/{location-b6vsg801.js → formatter-b6vsg801.js} +2 -2
- package/dist/chunks/{location-yep4axjb.js → formatter-b954wvww.js} +6 -6
- package/dist/chunks/{location-0tkyyzpw.js → formatter-bf446n6z.js} +9 -9
- package/dist/chunks/{location-2da34b6h.js → formatter-bj9smzzw.js} +5 -5
- package/dist/chunks/{location-zzdv5d93.js → formatter-bjhzkqyk.js} +4 -4
- package/dist/chunks/{location-9bhbx6n4.js → formatter-bmvsb49w.js} +20 -20
- package/dist/chunks/{location-jwb7hgyv.js → formatter-bqm8vams.js} +32 -32
- package/dist/chunks/{location-7kxhv2sa.js → formatter-bsh8r5kc.js} +11 -11
- package/dist/chunks/{location-bstexjd6.js → formatter-bstexjd6.js} +1 -1
- package/dist/chunks/{location-4hjvtnvr.js → formatter-bvjg0ay9.js} +11 -11
- package/dist/chunks/{location-xndqmg8y.js → formatter-bxe49cp6.js} +14 -14
- package/dist/chunks/{location-emq6awqh.js → formatter-c5kjsz6q.js} +4 -4
- package/dist/chunks/{location-trnwxx84.js → formatter-c5zneedc.js} +45 -45
- package/dist/chunks/{location-7716wq1n.js → formatter-cfa85z7t.js} +32 -32
- package/dist/chunks/{location-6gsprsz3.js → formatter-cgn6nf8q.js} +2 -2
- package/dist/chunks/{location-cwrgdav8.js → formatter-cwrgdav8.js} +2 -2
- package/dist/chunks/{location-0rp4335f.js → formatter-d0d9kmtc.js} +27 -27
- package/dist/chunks/{location-mtkfycnh.js → formatter-d2887f8n.js} +4 -4
- package/dist/chunks/{location-d4v9tmah.js → formatter-d4v9tmah.js} +2 -2
- package/dist/chunks/{location-zfyb5tr4.js → formatter-d8p3t516.js} +4 -4
- package/dist/chunks/{location-t4mesnkk.js → formatter-d9jhw6m8.js} +10 -10
- package/dist/chunks/{location-vbw7dpbk.js → formatter-daz8d7a2.js} +7 -7
- package/dist/chunks/{location-50ghwmve.js → formatter-df6rebg4.js} +54 -54
- package/dist/chunks/{location-xe50az9a.js → formatter-dht0teee.js} +5 -5
- package/dist/chunks/{location-vhy7b17j.js → formatter-djt3gtf7.js} +29 -29
- package/dist/chunks/{location-egqjccw6.js → formatter-dm6ksgvz.js} +6 -6
- package/dist/chunks/{location-6xvvx5e8.js → formatter-dqkdjpwm.js} +87 -87
- package/dist/chunks/{location-bzr330f0.js → formatter-dr3tmh6a.js} +12 -12
- package/dist/chunks/{location-dt77769w.js → formatter-dt77769w.js} +1 -1
- package/dist/chunks/{location-r9wv51da.js → formatter-dxb8mgza.js} +10 -10
- package/dist/chunks/{location-31c39a09.js → formatter-dxx03d8y.js} +17 -17
- package/dist/chunks/{location-jr4dr2q3.js → formatter-dyqb2r8n.js} +3 -3
- package/dist/chunks/{location-17cjzed1.js → formatter-e2ne77ac.js} +2 -2
- package/dist/chunks/{location-e834z07m.js → formatter-e834z07m.js} +1 -1
- package/dist/chunks/{location-5yvhxqsw.js → formatter-exxfv8pa.js} +18 -18
- package/dist/chunks/{location-c5d4dktm.js → formatter-ezm560et.js} +21 -21
- package/dist/chunks/{location-rxb1aw4a.js → formatter-f46kh10v.js} +18 -18
- package/dist/chunks/{location-y35pcaf8.js → formatter-fe32wyxe.js} +19 -19
- package/dist/chunks/{location-fffv3p7h.js → formatter-fffv3p7h.js} +1 -1
- package/dist/chunks/{location-yzk83bqb.js → formatter-fghrgnwr.js} +12 -12
- package/dist/chunks/{location-zq8z39xr.js → formatter-fng6wk28.js} +11 -11
- package/dist/chunks/{location-am3zzh1s.js → formatter-fw94v8hy.js} +9 -9
- package/dist/chunks/{location-avx19w98.js → formatter-fwsczgrj.js} +11 -11
- package/dist/chunks/{location-d85q5s2h.js → formatter-fzfqydht.js} +17 -17
- package/dist/chunks/{location-gnd3kbwx.js → formatter-g1mxmsmn.js} +9 -9
- package/dist/chunks/{location-eqmd2tfz.js → formatter-g7esga4v.js} +4 -4
- package/dist/chunks/{location-48zamtyb.js → formatter-g8jkqxma.js} +47 -47
- package/dist/chunks/{location-wvs4skyz.js → formatter-g9rrt98n.js} +1 -1
- package/dist/chunks/{location-n760pf4s.js → formatter-g9w27t38.js} +4 -4
- package/dist/chunks/{location-8m3s0h7s.js → formatter-g9wm4gaf.js} +40 -40
- package/dist/chunks/{location-2bpnrcqm.js → formatter-ga1rq104.js} +18 -18
- package/dist/chunks/{location-gg8p9cgs.js → formatter-gg8p9cgs.js} +3 -3
- package/dist/chunks/{location-am1hja96.js → formatter-grfya7tj.js} +13 -13
- package/dist/chunks/{location-9t2khtsw.js → formatter-gtz8ev1y.js} +8 -8
- package/dist/chunks/{location-57rr0y2c.js → formatter-gy6xyr2j.js} +27 -27
- package/dist/chunks/{location-b28tsbmy.js → formatter-gzq9abr2.js} +45 -45
- package/dist/chunks/{location-kz30j1ax.js → formatter-h1pm2szr.js} +39 -39
- package/dist/chunks/{location-c46s9eb3.js → formatter-haf3v3hy.js} +5 -5
- package/dist/chunks/{location-af0k6e03.js → formatter-hdfrs5mg.js} +9 -9
- package/dist/chunks/{location-c1ssndk2.js → formatter-hhp2fdnq.js} +13 -13
- package/dist/chunks/{location-gvtm772t.js → formatter-hkv4p8qn.js} +21 -21
- package/dist/chunks/{location-qvtpbb9s.js → formatter-hmr6cy4x.js} +18 -18
- package/dist/chunks/{location-hpg1pkwy.js → formatter-hpg1pkwy.js} +1 -1
- package/dist/chunks/{location-rwgvp8j6.js → formatter-hy59nt95.js} +8 -8
- package/dist/chunks/{location-r3gw80k4.js → formatter-j6wmqcnw.js} +22 -22
- package/dist/chunks/{location-t51jc41k.js → formatter-j7v80qje.js} +12 -12
- package/dist/chunks/{location-jfaecv01.js → formatter-jfaecv01.js} +1 -1
- package/dist/chunks/{location-jtnps1zs.js → formatter-jtnps1zs.js} +2 -2
- package/dist/chunks/{location-6j1pxrfn.js → formatter-jvta4zhp.js} +8 -8
- package/dist/chunks/{location-6b3pnxty.js → formatter-jy1r7v62.js} +36 -36
- package/dist/chunks/{location-6knvtd1w.js → formatter-jyhg77x6.js} +10 -10
- package/dist/chunks/formatter-k62y2wy8.js +18 -0
- package/dist/chunks/{location-k814nvkf.js → formatter-k814nvkf.js} +1 -1
- package/dist/chunks/{location-q7t6ck8g.js → formatter-k9dfpmz2.js} +24 -24
- package/dist/chunks/{location-npw72hw3.js → formatter-kddgr42t.js} +10 -10
- package/dist/chunks/{location-esnc8dys.js → formatter-knjx9f3g.js} +28 -28
- package/dist/chunks/{location-kt3bjfbg.js → formatter-kt3bjfbg.js} +1 -1
- package/dist/chunks/{location-tjs50ewy.js → formatter-kykpneqp.js} +33 -33
- package/dist/chunks/{location-w6drehxa.js → formatter-kyy1rfta.js} +11 -11
- package/dist/chunks/{location-9zwmnkz4.js → formatter-m0kgc17n.js} +4 -4
- package/dist/chunks/{location-m1714858.js → formatter-m1714858.js} +1 -1
- package/dist/chunks/{location-3cbqjczx.js → formatter-m6ha5htp.js} +321 -321
- package/dist/chunks/{location-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-bk7xq8bh.js → formatter-me7kxg3j.js} +8 -8
- package/dist/chunks/{location-xqsejeyp.js → formatter-mk6v4p35.js} +13 -13
- package/dist/chunks/{location-qvpfa8gz.js → formatter-mvfz5wz8.js} +28 -28
- package/dist/chunks/{location-76jz4bew.js → formatter-mvyy6qpx.js} +32 -32
- package/dist/chunks/{location-t96sw8s6.js → formatter-n2ppx7kr.js} +23 -23
- package/dist/chunks/{location-rmt6m6se.js → formatter-n7bnkb3p.js} +9 -9
- package/dist/chunks/{location-teh9wf2k.js → formatter-n7pbqev4.js} +1 -1
- package/dist/chunks/{location-9ffpgwsc.js → formatter-n7s957jj.js} +10 -10
- package/dist/chunks/{location-hm02wpk1.js → formatter-na9deryv.js} +4 -4
- package/dist/chunks/{location-nah043kf.js → formatter-nah043kf.js} +1 -1
- package/dist/chunks/{location-y1s3hmc3.js → formatter-njz5cw42.js} +17 -17
- package/dist/chunks/{location-nr81yrq6.js → formatter-nk8ph50s.js} +25 -25
- package/dist/chunks/{location-vaq1yek0.js → formatter-nrtygxmh.js} +6 -6
- package/dist/chunks/{location-pj1mxnxz.js → formatter-ntxfz25d.js} +11 -11
- package/dist/chunks/{location-p015t6z3.js → formatter-p015t6z3.js} +2 -2
- package/dist/chunks/{location-h4tk9ys0.js → formatter-p1njj0by.js} +9 -9
- package/dist/chunks/{location-gc4x1yks.js → formatter-p4yppz28.js} +19 -19
- package/dist/chunks/{location-p7vhpwh8.js → formatter-p7vhpwh8.js} +1 -1
- package/dist/chunks/{location-d6w39weh.js → formatter-p8047wat.js} +6 -6
- package/dist/chunks/{location-4rgtafmq.js → formatter-p8rfhtpq.js} +32 -32
- package/dist/chunks/{location-9n4vggc2.js → formatter-pakndkhn.js} +3 -3
- package/dist/chunks/{location-5x26af84.js → formatter-pbbktnbz.js} +4 -4
- package/dist/chunks/{location-886fpr41.js → formatter-pf9gr1ec.js} +5 -5
- package/dist/chunks/{location-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{location-xpfvn7yf.js → formatter-pqf7d7qx.js} +45 -45
- package/dist/chunks/{location-fg9p65nk.js → formatter-prq7xxp2.js} +6 -6
- package/dist/chunks/{location-ts7mkfs9.js → formatter-pyzjd10w.js} +3 -3
- package/dist/chunks/{location-hxpa900c.js → formatter-q0zr1qvh.js} +25 -25
- package/dist/chunks/{location-787pbn49.js → formatter-q28pv36z.js} +29 -29
- package/dist/chunks/{location-p6ahbwec.js → formatter-q3g8wbya.js} +11 -11
- package/dist/chunks/{location-r46x4fhg.js → formatter-q4fqeak2.js} +35 -35
- package/dist/chunks/{location-q63cb7ap.js → formatter-q63cb7ap.js} +3 -3
- package/dist/chunks/{location-cz3s2vhd.js → formatter-qgndh80m.js} +16 -16
- package/dist/chunks/{location-67s8824q.js → formatter-qkkhqeq2.js} +26 -26
- package/dist/chunks/{location-qp7r0hxv.js → formatter-qp7r0hxv.js} +1 -1
- package/dist/chunks/{location-mjtny0k5.js → formatter-qxdpy5f9.js} +6 -6
- package/dist/chunks/{location-r0yr0wbs.js → formatter-r0yr0wbs.js} +1 -1
- package/dist/chunks/{location-qh48ndyz.js → formatter-r1gtje4t.js} +43 -43
- package/dist/chunks/{location-r542h3bh.js → formatter-r542h3bh.js} +1 -1
- package/dist/chunks/{location-04tp6htd.js → formatter-r6cac6pk.js} +21 -21
- package/dist/chunks/{location-rb9dy4dg.js → formatter-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-nsj7r9cf.js → formatter-re939ggz.js} +33 -33
- package/dist/chunks/{location-rt5dr6hb.js → formatter-rt5dr6hb.js} +1 -1
- package/dist/chunks/{location-f42021n0.js → formatter-rte3fk8q.js} +11 -11
- package/dist/chunks/{location-sa3fpqfw.js → formatter-sa3fpqfw.js} +2 -2
- package/dist/chunks/{location-wne0cxxy.js → formatter-sg8xjaz5.js} +27 -27
- package/dist/chunks/{location-r94gekwm.js → formatter-snb901t2.js} +4 -4
- package/dist/chunks/{location-ffb88fvm.js → formatter-snrj9yj5.js} +14 -14
- package/dist/chunks/{location-sqb3gwyh.js → formatter-spsvk66e.js} +3 -3
- package/dist/chunks/{location-sqjzf8x2.js → formatter-sqjzf8x2.js} +1 -1
- package/dist/chunks/{location-mz4mmk88.js → formatter-sqkx7p5n.js} +15 -15
- package/dist/chunks/{location-d0ekazng.js → formatter-stdt3xb1.js} +15 -15
- package/dist/chunks/{location-svcy3p9a.js → formatter-svcy3p9a.js} +1 -1
- package/dist/chunks/{location-dbmp929s.js → formatter-szcgc7h4.js} +5 -5
- package/dist/chunks/{location-cpvd08na.js → formatter-t211gxpv.js} +4 -4
- package/dist/chunks/{location-2ryjb9fp.js → formatter-t2ad8a1g.js} +21 -21
- package/dist/chunks/{location-g9cf8r9e.js → formatter-t2k4jjyh.js} +3 -3
- package/dist/chunks/{location-be0s1b3n.js → formatter-t6gnwazt.js} +29 -29
- package/dist/chunks/{location-46cvvfkv.js → formatter-taahtb0c.js} +22 -22
- package/dist/chunks/{location-hw9kv3mt.js → formatter-tc1bwtzj.js} +6 -6
- package/dist/chunks/{location-3t73xeyv.js → formatter-tc4kyz8e.js} +2 -2
- package/dist/chunks/{location-tczq8hjw.js → formatter-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-74zfgmk2.js → formatter-te7zt5ht.js} +19 -19
- package/dist/chunks/{location-xhd45jer.js → formatter-tee81xg3.js} +33 -33
- package/dist/chunks/{location-xrx1pqtv.js → formatter-tgt0ac12.js} +16 -16
- package/dist/chunks/{location-htyzxrkw.js → formatter-tpjvtcx1.js} +9 -9
- package/dist/chunks/{location-8x3ydtx4.js → formatter-tted8b2w.js} +19 -19
- package/dist/chunks/{location-twssxy5n.js → formatter-twssxy5n.js} +2 -2
- package/dist/chunks/{location-r8c91qy6.js → formatter-txf773fv.js} +4 -4
- package/dist/chunks/{location-b7wr440c.js → formatter-txvbkf9b.js} +46 -46
- package/dist/chunks/{location-v2r1d0zg.js → formatter-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-p78nc619.js → formatter-veq51cxc.js} +9 -9
- package/dist/chunks/{location-c82dcvad.js → formatter-vfp0pkkd.js} +42 -42
- package/dist/chunks/{location-2zp5a6yg.js → formatter-vg0erq9k.js} +3 -3
- package/dist/chunks/{location-qtf71cz0.js → formatter-vh9ps45p.js} +26 -26
- package/dist/chunks/{location-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-6js0mnhz.js → formatter-w4psgs9e.js} +32 -32
- package/dist/chunks/{location-wzg0h9b8.js → formatter-w670rhyr.js} +21 -21
- package/dist/chunks/{location-wr3re1en.js → formatter-w687dnns.js} +4 -4
- package/dist/chunks/{location-76cb1hcw.js → formatter-w8qtt4th.js} +4 -4
- package/dist/chunks/{location-tbwjycs5.js → formatter-w97d1ng8.js} +87 -87
- package/dist/chunks/{location-wakvkjy4.js → formatter-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-g95hdg3z.js → formatter-wbgzj0hw.js} +4 -4
- package/dist/chunks/{location-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{location-cgw9zbep.js → formatter-wefmyskm.js} +43 -43
- package/dist/chunks/{location-f41wwg2r.js → formatter-wkhea23b.js} +17 -17
- package/dist/chunks/{location-6t862pnj.js → formatter-wmaqz1y8.js} +30 -30
- package/dist/chunks/{location-wnhgecwx.js → formatter-wnhgecwx.js} +1 -1
- package/dist/chunks/{location-ny7rtrvd.js → formatter-wyenqtwf.js} +4 -4
- package/dist/chunks/{location-4ta6csbb.js → formatter-xjpxpj55.js} +11 -11
- package/dist/chunks/{location-ymcm4zbd.js → formatter-xppfe2fc.js} +3 -3
- package/dist/chunks/{location-d9t7madm.js → formatter-xqwysx3w.js} +26 -26
- package/dist/chunks/{location-1kn6jdkn.js → formatter-xt0z8zst.js} +4 -4
- package/dist/chunks/{location-cyrksjq4.js → formatter-xvmzfnq9.js} +48 -48
- package/dist/chunks/{location-d7xwrqch.js → formatter-xwbhabkb.js} +18 -18
- package/dist/chunks/{location-yara3q77.js → formatter-yara3q77.js} +2 -2
- package/dist/chunks/{location-yb20nhc3.js → formatter-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-eprcdpyx.js → formatter-yb49ndda.js} +15 -15
- package/dist/chunks/{location-me5xs82a.js → formatter-ydnwtp95.js} +5 -5
- package/dist/chunks/{location-2twj3cjc.js → formatter-ygqxcxbg.js} +4 -4
- package/dist/chunks/{location-8p921xxm.js → formatter-yj5kgc24.js} +2 -2
- package/dist/chunks/{location-hv0nh322.js → formatter-yq3rxhjy.js} +15 -15
- package/dist/chunks/{location-dwrgp3np.js → formatter-yxrr31d8.js} +9 -9
- package/dist/chunks/{location-z38nccrw.js → formatter-z38nccrw.js} +1 -1
- package/dist/chunks/{location-s67yrvpd.js → formatter-z96chytr.js} +35 -35
- package/dist/chunks/{location-8yhc7zrg.js → formatter-zgd8t41s.js} +9 -9
- package/dist/chunks/{location-5xzpahv6.js → formatter-zs0e4nbm.js} +21 -21
- package/dist/chunks/{location-c6hmmbmz.js → formatter-zxf918eb.js} +16 -16
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +89 -89
- package/dist/config/discovery.js +92 -92
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +221 -221
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +121 -121
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +120 -120
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +72 -72
- 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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +377 -377
- 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 +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +103 -103
- 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 +76 -76
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- 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/file-watch.js +83 -83
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +234 -234
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +110 -110
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +115 -115
- package/dist/git.js +11 -11
- 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 +107 -107
- 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-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +368 -368
- package/dist/instruction-discovery.js +90 -90
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +95 -95
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +162 -162
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +365 -365
- package/dist/location.js +97 -97
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +107 -107
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +108 -108
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +147 -147
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -96
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +82 -82
- package/dist/plugin/command.js +110 -110
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +225 -225
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +338 -338
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +121 -121
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vllm.js +128 -128
- package/dist/plugin/provider/xai.js +99 -99
- 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 +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +355 -355
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +232 -232
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +98 -98
- package/dist/provider.js +107 -107
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +104 -104
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +103 -103
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +164 -164
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- 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 +227 -227
- package/dist/session/execution.js +150 -150
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +136 -136
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +154 -154
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +224 -224
- package/dist/session/usage.js +1 -1
- package/dist/session.js +225 -225
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +148 -148
- package/dist/snapshot.js +99 -99
- 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 +163 -163
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +158 -158
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +138 -138
- package/dist/tool/plugin/read.js +153 -153
- package/dist/tool/plugin/shell.js +222 -222
- package/dist/tool/plugin/skill.js +147 -147
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +147 -147
- package/dist/tool/plugin/websearch.js +145 -145
- package/dist/tool/plugin/write.js +150 -150
- package/dist/tool/read-filesystem.js +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +101 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +94 -94
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +106 -106
- package/package.json +8 -8
- package/dist/chunks/location-n6xt4x7c.js +0 -257
- package/dist/chunks/location-v4j91q1y.js +0 -26
- package/dist/chunks/location-xgsg3c9w.js +0 -18
- /package/dist/chunks/{location-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1jakw16s.js → formatter-1jakw16s.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → formatter-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2bv980vf.js → formatter-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → formatter-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4m86bj6y.js → formatter-4m86bj6y.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → formatter-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-5w3e23ze.js → formatter-5w3e23ze.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{location-6q2bdcd1.js → formatter-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{location-84wd9syh.js → formatter-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a058387c.js → formatter-a058387c.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → formatter-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → formatter-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-beh6qq61.js → formatter-beh6qq61.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cqv5kn06.js → formatter-cqv5kn06.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → formatter-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → formatter-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fkpq3x5p.js → formatter-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hcxmzztb.js → formatter-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jwr30sdr.js → formatter-jwr30sdr.js} +0 -0
- /package/dist/chunks/{location-jze0r7bz.js → formatter-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-m18g726c.js → formatter-m18g726c.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-ncqqe42p.js → formatter-ncqqe42p.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-p71gwv9c.js → formatter-p71gwv9c.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-ve7vex1e.js → formatter-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → formatter-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → formatter-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-z5v4ffb3.js → formatter-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → formatter-z9919s4g.js} +0 -0
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-dyqb2r8n.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service41
|
|
6
|
+
} from "./formatter-8zkf5cgt.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-k62y2wy8.js";
|
|
10
10
|
import {
|
|
11
11
|
preview2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-tpjvtcx1.js";
|
|
13
13
|
import {
|
|
14
14
|
baseTranscript2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-p8rfhtpq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service25
|
|
18
|
+
} from "./formatter-dqkdjpwm.js";
|
|
19
19
|
import {
|
|
20
20
|
retry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./formatter-wnhgecwx.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./formatter-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate2 = {};
|
|
28
|
+
__export(exports_generate2, {
|
|
29
|
+
SessionGenerate: () => exports_generate2,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai/effect";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service41;
|
|
36
36
|
const database = yield* Service86;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service25;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate2 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-dyqb2r8n.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service85,
|
|
8
8
|
node89
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-na9deryv.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-p015t6z3.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-tpjvtcx1.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service43,
|
|
21
|
+
node46
|
|
22
|
+
} from "./formatter-dr3tmh6a.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service25,
|
|
25
|
+
node28
|
|
26
|
+
} from "./formatter-dqkdjpwm.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./formatter-r542h3bh.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./formatter-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service8,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer8,
|
|
42
|
+
node: () => node10
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai/effect";
|
|
@@ -51,7 +51,7 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service8 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var messagePrompt = (text) => `Here is the first message of the conversation:
|
|
@@ -72,11 +72,11 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
72
72
|
title: session.title,
|
|
73
73
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var layer8 = Layer.effect(Service8, Effect.gen(function* () {
|
|
76
76
|
const bus = yield* Service85;
|
|
77
77
|
const llm = yield* LLMClient.Service;
|
|
78
|
-
const context = yield*
|
|
79
|
-
const store = yield*
|
|
78
|
+
const context = yield* Service25;
|
|
79
|
+
const store = yield* Service43;
|
|
80
80
|
const db = (yield* Service86).db;
|
|
81
81
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
82
82
|
const chunks = [];
|
|
@@ -160,12 +160,12 @@ Recent conversation:
|
|
|
160
160
|
title: truncate(title)
|
|
161
161
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
162
162
|
});
|
|
163
|
-
return
|
|
163
|
+
return Service8.of({ generate });
|
|
164
164
|
}));
|
|
165
|
-
var
|
|
166
|
-
service:
|
|
167
|
-
layer:
|
|
168
|
-
deps: [node89, llmClient2,
|
|
165
|
+
var node10 = makeLocationNode({
|
|
166
|
+
service: Service8,
|
|
167
|
+
layer: layer8,
|
|
168
|
+
deps: [node89, llmClient2, node28, node46, node90]
|
|
169
169
|
});
|
|
170
170
|
|
|
171
|
-
export {
|
|
171
|
+
export { Service8, isUntitled2, layer8, node10, exports_title };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service76
|
|
4
|
+
} from "./formatter-wmaqz1y8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service58
|
|
7
|
+
} from "./formatter-28hr9nbt.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service76;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service58);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service58
|
|
7
|
+
} from "./formatter-28hr9nbt.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-svcy3p9a.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service72
|
|
13
|
+
} from "./formatter-0gb5rjdd.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service46
|
|
16
|
+
} from "./formatter-yb49ndda.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service42
|
|
19
|
+
} from "./formatter-g8jkqxma.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service15,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-7m2ptj4e.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./formatter-k814nvkf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service81,
|
|
32
32
|
name16
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./formatter-43d5xc6d.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError8,
|
|
36
|
+
Service55
|
|
37
|
+
} from "./formatter-txvbkf9b.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service22
|
|
40
|
+
} from "./formatter-w97d1ng8.js";
|
|
41
41
|
import {
|
|
42
42
|
scan3
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./formatter-ygqxcxbg.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./formatter-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input6,
|
|
53
|
+
Plugin: () => Plugin42,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name6
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name6 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input6 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin42 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service22;
|
|
124
|
+
const jobs = yield* Service46;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service72;
|
|
127
|
+
const access = yield* Service15;
|
|
128
|
+
const shell = yield* Service55;
|
|
129
|
+
const shellSelect = yield* Service81;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service42;
|
|
132
|
+
const config = yield* Service58;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin39 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name6,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin39 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name6,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input6,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin39 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError8({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name6,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name6];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name16(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin42, exports_shell2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-3qx04rj6.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-na9deryv.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event18,
|
|
10
|
+
Service79
|
|
11
|
+
} from "./formatter-5yg7bvsq.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-knjx9f3g.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID12,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-wmaqz1y8.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID11,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info21
|
|
24
|
+
} from "./formatter-tee81xg3.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./formatter-yb20nhc3.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./formatter-3nnrz6f6.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./formatter-qxdpy5f9.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID12.openai;
|
|
47
|
+
var integrationID = ID13.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -182,7 +182,7 @@ var ChatGPTPlugin2 = define({
|
|
|
182
182
|
id: "opencode.provider.chatgpt",
|
|
183
183
|
effect: Effect.fn(function* (ctx) {
|
|
184
184
|
const bus = yield* Service85;
|
|
185
|
-
const credentials = yield*
|
|
185
|
+
const credentials = yield* Service79;
|
|
186
186
|
const loading = Semaphore.makeUnsafe(1);
|
|
187
187
|
let chatgpt;
|
|
188
188
|
let source;
|
|
@@ -197,7 +197,7 @@ var ChatGPTPlugin2 = define({
|
|
|
197
197
|
yield* ctx.integration.transform((editor) => {
|
|
198
198
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
199
199
|
});
|
|
200
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
200
|
+
yield* Effect.forEach(yield* credentials.list(ID13.make("openai")), (entry) => {
|
|
201
201
|
const value = entry.value;
|
|
202
202
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
203
203
|
return Effect.void;
|
|
@@ -270,7 +270,7 @@ var ChatGPTPlugin2 = define({
|
|
|
270
270
|
}
|
|
271
271
|
});
|
|
272
272
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
273
|
-
yield* bus.subscribe(
|
|
273
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
274
274
|
})
|
|
275
275
|
});
|
|
276
276
|
function headers(app) {
|
|
@@ -327,7 +327,7 @@ function deriveModels2(remote, existing) {
|
|
|
327
327
|
const found = byID.get(model.modelID);
|
|
328
328
|
return found ? [deriveModel(found, model)] : [];
|
|
329
329
|
}),
|
|
330
|
-
...remote.filter((model) => !known.has(
|
|
330
|
+
...remote.filter((model) => !known.has(ID11.make(model.slug))).map((model) => deriveModel(model, Info21.default(ID12.openai, ID11.make(model.slug))))
|
|
331
331
|
];
|
|
332
332
|
}
|
|
333
333
|
function deriveModel(remote, previous) {
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-dyqb2r8n.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-na9deryv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service46,
|
|
11
11
|
node49
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-yb49ndda.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service41,
|
|
15
|
+
node44
|
|
16
|
+
} from "./formatter-8zkf5cgt.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make17
|
|
22
|
+
} from "./formatter-d2887f8n.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service38
|
|
26
|
+
} from "./formatter-c5kjsz6q.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service43,
|
|
29
|
+
node46
|
|
30
|
+
} from "./formatter-dr3tmh6a.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./formatter-8a2eg3tn.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./formatter-ezm560et.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./formatter-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service37,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
46
|
layer: () => layer18,
|
|
47
|
-
node: () =>
|
|
47
|
+
node: () => node41,
|
|
48
48
|
noopLayer: () => noopLayer2,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service37 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var layer18 = Layer.effect(
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer18 = Layer.effect(Service37, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service43;
|
|
64
|
+
const instances = yield* Service41;
|
|
65
65
|
const bus = yield* Service85;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service46;
|
|
67
67
|
const db = (yield* Service86).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer18 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service38.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make17({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer18 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service37.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer18 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
126
|
+
var node41 = makeGlobalNode({
|
|
127
|
+
service: Service37,
|
|
128
128
|
layer: layer18,
|
|
129
|
-
deps: [
|
|
129
|
+
deps: [node46, node44, node89, node90, node49]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer2 = Layer.succeed(
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service37, Service37.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service36, Service36.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service37, terminal2, layer18, node41, noopLayer2, exports_execution };
|