@opencode/core 0.0.0-dev-85 → 0.0.0-dev-88
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 +89 -89
- 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/{instruction-discovery-32hbtqx1.js → reference-03048zfc.js} +4 -4
- package/dist/chunks/{instruction-discovery-034tev2y.js → reference-034tev2y.js} +2 -2
- package/dist/chunks/{instruction-discovery-cv02ekq1.js → reference-03efvwc7.js} +12 -12
- package/dist/chunks/{instruction-discovery-1eeyyfsn.js → reference-05xp378r.js} +3 -3
- package/dist/chunks/{instruction-discovery-hfgk9wzg.js → reference-06w9ffrv.js} +5 -5
- package/dist/chunks/{instruction-discovery-1hs61ayd.js → reference-0cdqj2ev.js} +17 -17
- package/dist/chunks/{instruction-discovery-9qcg53ez.js → reference-0eq01nmm.js} +9 -9
- package/dist/chunks/{instruction-discovery-11hfp36g.js → reference-11hfp36g.js} +1 -1
- package/dist/chunks/{instruction-discovery-kmzgegqq.js → reference-160yv0cs.js} +8 -8
- package/dist/chunks/{instruction-discovery-yhcj1t3x.js → reference-1708cjpw.js} +22 -22
- package/dist/chunks/{instruction-discovery-1ep2p91f.js → reference-1ep2p91f.js} +2 -2
- package/dist/chunks/{instruction-discovery-n01qhj0y.js → reference-1kn6jdkn.js} +4 -4
- package/dist/chunks/{instruction-discovery-pbm40fwr.js → reference-1r8vjw6b.js} +21 -21
- package/dist/chunks/{instruction-discovery-rra832zv.js → reference-1txfxaze.js} +4 -4
- package/dist/chunks/{instruction-discovery-1x2knyw4.js → reference-1x2knyw4.js} +1 -1
- package/dist/chunks/{instruction-discovery-y94tr38g.js → reference-1zjscayb.js} +16 -16
- package/dist/chunks/{instruction-discovery-0jq4q1p2.js → reference-1zx9skwy.js} +18 -18
- package/dist/chunks/{instruction-discovery-204s3925.js → reference-204s3925.js} +1 -1
- package/dist/chunks/{instruction-discovery-4m39ffq2.js → reference-25ez0182.js} +14 -14
- package/dist/chunks/{instruction-discovery-ktczfv9w.js → reference-25z5brn1.js} +34 -34
- package/dist/chunks/{instruction-discovery-p0tsr9h6.js → reference-2azy8kv6.js} +4 -4
- package/dist/chunks/{instruction-discovery-y91k91d6.js → reference-2c8v61wj.js} +11 -11
- package/dist/chunks/{instruction-discovery-p3t7kmpe.js → reference-2dhjdcyg.js} +21 -21
- package/dist/chunks/{instruction-discovery-h3vzy4ka.js → reference-2gm5wmn4.js} +20 -20
- package/dist/chunks/{instruction-discovery-680724q2.js → reference-2yjjj4kt.js} +16 -16
- package/dist/chunks/{instruction-discovery-7pstyfmd.js → reference-2ymt8bs9.js} +17 -17
- package/dist/chunks/{instruction-discovery-v3bc0gzs.js → reference-30bgehjn.js} +9 -9
- package/dist/chunks/{instruction-discovery-b34e6aj5.js → reference-358mwgz7.js} +15 -15
- package/dist/chunks/{instruction-discovery-dhkm6j2g.js → reference-38xn8s1k.js} +9 -9
- package/dist/chunks/{instruction-discovery-xd0qykp3.js → reference-399x40kv.js} +15 -15
- package/dist/chunks/{instruction-discovery-m1epfjq1.js → reference-3b67h89r.js} +12 -12
- package/dist/chunks/{instruction-discovery-arq1yqkc.js → reference-3dx6tc7y.js} +36 -36
- package/dist/chunks/{instruction-discovery-zhnqdeny.js → reference-3excn5ca.js} +43 -43
- package/dist/chunks/{instruction-discovery-27h8nq2q.js → reference-3fehs55v.js} +8 -8
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-1ywsh6b9.js → reference-3hs7pcyj.js} +19 -19
- package/dist/chunks/{instruction-discovery-a5g15581.js → reference-3j92816q.js} +2 -2
- package/dist/chunks/{instruction-discovery-4kr7f4hz.js → reference-3n0qbat0.js} +22 -22
- package/dist/chunks/{instruction-discovery-3nnrz6f6.js → reference-3nnrz6f6.js} +1 -1
- package/dist/chunks/{instruction-discovery-0pk0a4bb.js → reference-3pn96c4m.js} +24 -24
- package/dist/chunks/{instruction-discovery-823phfb1.js → reference-41xwyab1.js} +9 -9
- package/dist/chunks/{instruction-discovery-tb5zevkv.js → reference-454hz5tr.js} +15 -15
- package/dist/chunks/{instruction-discovery-wfrhkzrr.js → reference-480x63m0.js} +11 -11
- package/dist/chunks/{instruction-discovery-qzmmayfr.js → reference-49qz2gqd.js} +36 -36
- package/dist/chunks/{instruction-discovery-bp2kawj6.js → reference-4c8wr4ge.js} +20 -20
- package/dist/chunks/{instruction-discovery-5nabnb12.js → reference-4h5tdd52.js} +15 -15
- package/dist/chunks/{instruction-discovery-7ba1kvb7.js → reference-4hgd96pp.js} +18 -18
- package/dist/chunks/{instruction-discovery-4pyp9zr9.js → reference-4pyp9zr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-xt05dbmf.js → reference-4rrtbqfj.js} +17 -17
- package/dist/chunks/{instruction-discovery-4v008n1t.js → reference-4v008n1t.js} +1 -1
- package/dist/chunks/{instruction-discovery-38k6nkcd.js → reference-506jcwr5.js} +14 -14
- package/dist/chunks/{instruction-discovery-mdgn3m5p.js → reference-51hjt79c.js} +26 -26
- package/dist/chunks/{instruction-discovery-vmzmvncy.js → reference-57jkej76.js} +6 -6
- package/dist/chunks/{instruction-discovery-40za9wsf.js → reference-5enarcya.js} +6 -6
- package/dist/chunks/{instruction-discovery-cspsqq65.js → reference-5jbj61xt.js} +54 -54
- package/dist/chunks/{instruction-discovery-5m9w47nd.js → reference-5m9w47nd.js} +1 -1
- package/dist/chunks/{instruction-discovery-3an2h7zk.js → reference-5mw9p4pk.js} +1 -1
- package/dist/chunks/{instruction-discovery-vtnateyr.js → reference-5s3xscdw.js} +3 -3
- package/dist/chunks/{instruction-discovery-0nvskcjk.js → reference-5t6ge795.js} +43 -43
- package/dist/chunks/{instruction-discovery-p7f9amnf.js → reference-5vzhy7nz.js} +4 -4
- package/dist/chunks/{instruction-discovery-7ymg3bcy.js → reference-5w1743bk.js} +22 -22
- package/dist/chunks/{instruction-discovery-tx91wa5k.js → reference-5w1mdqt7.js} +4 -4
- package/dist/chunks/{instruction-discovery-rh9wspnh.js → reference-5w98pc00.js} +175 -175
- package/dist/chunks/{instruction-discovery-nz7ydnky.js → reference-5x26af84.js} +4 -4
- package/dist/chunks/{instruction-discovery-5zrxpy3q.js → reference-5zrxpy3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-wsedqd4z.js → reference-680s3wrb.js} +18 -18
- package/dist/chunks/{instruction-discovery-zvtb8gc6.js → reference-69yxas2c.js} +1 -1
- package/dist/chunks/{instruction-discovery-hrtnmq5m.js → reference-6emssh1w.js} +14 -14
- package/dist/chunks/{instruction-discovery-6esdw8yj.js → reference-6esdw8yj.js} +1 -1
- package/dist/chunks/{instruction-discovery-qmacqh3c.js → reference-6h4mdy29.js} +8 -8
- package/dist/chunks/{instruction-discovery-z4xn0qmv.js → reference-6hta33qf.js} +14 -14
- package/dist/chunks/{instruction-discovery-h0ppebc3.js → reference-6ydy7p7m.js} +8 -8
- package/dist/chunks/{instruction-discovery-phn0t9kc.js → reference-73nkqsrq.js} +21 -21
- package/dist/chunks/{instruction-discovery-76cb1hcw.js → reference-76cb1hcw.js} +1 -1
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-ac1m65en.js → reference-7cd00c8r.js} +88 -88
- package/dist/chunks/{instruction-discovery-6mpwyd8c.js → reference-7kvr92hx.js} +13 -13
- package/dist/chunks/{instruction-discovery-5jbhsptk.js → reference-7rnxwetx.js} +11 -11
- package/dist/chunks/{instruction-discovery-7w2ypzdf.js → reference-7w2ypzdf.js} +1 -1
- package/dist/chunks/{instruction-discovery-w040xt49.js → reference-82ajznqh.js} +13 -13
- package/dist/chunks/{instruction-discovery-h5ynnaae.js → reference-82ryrchv.js} +16 -16
- package/dist/chunks/{instruction-discovery-t6sdddkm.js → reference-84rb59ph.js} +30 -30
- package/dist/chunks/{instruction-discovery-t73vrz80.js → reference-89pbwxpj.js} +26 -26
- package/dist/chunks/{instruction-discovery-qc86dbtb.js → reference-8r8vc63z.js} +21 -21
- package/dist/chunks/{instruction-discovery-2wqj22kd.js → reference-8wnreytb.js} +7 -7
- package/dist/chunks/{instruction-discovery-8wtp7s3z.js → reference-8wtp7s3z.js} +1 -1
- package/dist/chunks/{instruction-discovery-b9fw4xdr.js → reference-8ykqf5wm.js} +9 -9
- package/dist/chunks/{instruction-discovery-90zstvax.js → reference-90zstvax.js} +1 -1
- package/dist/chunks/{instruction-discovery-gp2wddyf.js → reference-94sxpgen.js} +16 -16
- package/dist/chunks/{instruction-discovery-0tnetv23.js → reference-96t7hsnc.js} +31 -31
- package/dist/chunks/{instruction-discovery-ny8111qj.js → reference-9g9k5824.js} +47 -47
- package/dist/chunks/{instruction-discovery-aaft7q2k.js → reference-9q3jr3b2.js} +7 -7
- package/dist/chunks/{instruction-discovery-nxgn2x81.js → reference-9setpf3m.js} +30 -30
- package/dist/chunks/{instruction-discovery-d84x41tm.js → reference-9t00hjd8.js} +54 -54
- package/dist/chunks/{instruction-discovery-wmcrta7z.js → reference-9y92s6fj.js} +1 -1
- package/dist/chunks/{instruction-discovery-ka7t1p06.js → reference-a7mpn1ry.js} +13 -13
- package/dist/chunks/{instruction-discovery-7rjk5fac.js → reference-acp3br9k.js} +4 -4
- package/dist/chunks/{instruction-discovery-9v36js8k.js → reference-ag7cwqnf.js} +20 -20
- package/dist/chunks/{instruction-discovery-1emdzzkr.js → reference-aj4pq43j.js} +70 -70
- package/dist/chunks/{instruction-discovery-qeee0212.js → reference-an5ndxtp.js} +15 -15
- package/dist/chunks/{instruction-discovery-3c7hxhsq.js → reference-arcv912a.js} +13 -13
- package/dist/chunks/{instruction-discovery-8n9x2wf6.js → reference-axe3mf62.js} +3 -3
- package/dist/chunks/{instruction-discovery-ayjs7tqn.js → reference-ayjs7tqn.js} +2 -2
- package/dist/chunks/{instruction-discovery-c41kdn9j.js → reference-b42d0mkb.js} +16 -16
- package/dist/chunks/{instruction-discovery-b6vsg801.js → reference-b6vsg801.js} +2 -2
- package/dist/chunks/{instruction-discovery-79brk8yc.js → reference-bad15fx6.js} +30 -30
- package/dist/chunks/{instruction-discovery-qk1yqe57.js → reference-bbs40sma.js} +7 -7
- package/dist/chunks/{instruction-discovery-0vp9s6f9.js → reference-bhxpw5jc.js} +9 -9
- package/dist/chunks/reference-bk0ke8b9.js +517 -0
- package/dist/chunks/{instruction-discovery-czkk2md7.js → reference-br866c65.js} +5 -5
- package/dist/chunks/{instruction-discovery-k5nryg5q.js → reference-bz017ehz.js} +17 -17
- package/dist/chunks/{instruction-discovery-sgnxyr26.js → reference-bzabcrfb.js} +21 -21
- package/dist/chunks/{instruction-discovery-294jph37.js → reference-c3q67jfs.js} +5 -5
- package/dist/chunks/{instruction-discovery-ddv2mw00.js → reference-c5m2a8vb.js} +8 -8
- package/dist/chunks/{instruction-discovery-trddy46m.js → reference-crc01wwg.js} +10 -10
- package/dist/chunks/{instruction-discovery-rrzt70xg.js → reference-ct3g4wzq.js} +18 -18
- package/dist/chunks/{instruction-discovery-hvkp93rf.js → reference-cv45xqq7.js} +12 -12
- package/dist/chunks/{instruction-discovery-5f43ww3k.js → reference-cw4hf64h.js} +15 -15
- package/dist/chunks/{instruction-discovery-cwrgdav8.js → reference-cwrgdav8.js} +2 -2
- package/dist/chunks/{instruction-discovery-9s3pg80w.js → reference-czpz1tck.js} +1 -1
- package/dist/chunks/{instruction-discovery-r5fjfn5p.js → reference-d0t22gk3.js} +9 -9
- package/dist/chunks/{instruction-discovery-zzdv5d93.js → reference-d1v2vbzt.js} +4 -4
- package/dist/chunks/{instruction-discovery-j769ea62.js → reference-d1vrh39f.js} +3 -3
- package/dist/chunks/{instruction-discovery-pwzvsy7a.js → reference-d2j5hydn.js} +5 -5
- package/dist/chunks/{instruction-discovery-d4v9tmah.js → reference-d4v9tmah.js} +2 -2
- package/dist/chunks/{instruction-discovery-dxmx8bx1.js → reference-d7fvpgyy.js} +32 -32
- package/dist/chunks/{instruction-discovery-nrzgv5fb.js → reference-d879sp0e.js} +16 -16
- package/dist/chunks/{instruction-discovery-dt77769w.js → reference-dt77769w.js} +1 -1
- package/dist/chunks/{instruction-discovery-e834z07m.js → reference-e834z07m.js} +1 -1
- package/dist/chunks/{instruction-discovery-khyy6kd5.js → reference-efgcrvx2.js} +21 -21
- package/dist/chunks/{instruction-discovery-7hke258b.js → reference-eg9rhaxe.js} +4 -4
- package/dist/chunks/{instruction-discovery-szhjew6d.js → reference-egwex341.js} +23 -23
- package/dist/chunks/{instruction-discovery-rt3m59k8.js → reference-ewvsv6ts.js} +5 -5
- package/dist/chunks/{instruction-discovery-f01y088k.js → reference-f01y088k.js} +2 -2
- package/dist/chunks/{instruction-discovery-7pcnyccf.js → reference-fbep93ra.js} +32 -32
- package/dist/chunks/{instruction-discovery-41865php.js → reference-fcve0v7r.js} +42 -42
- package/dist/chunks/{instruction-discovery-fffv3p7h.js → reference-fffv3p7h.js} +1 -1
- package/dist/chunks/{instruction-discovery-fg9p65nk.js → reference-fg9p65nk.js} +2 -2
- package/dist/chunks/{instruction-discovery-jkn3ed2k.js → reference-fkdqsftc.js} +11 -11
- package/dist/chunks/{instruction-discovery-yf10knd4.js → reference-fm1b0qwr.js} +11 -11
- package/dist/chunks/{instruction-discovery-sxqn6tf9.js → reference-fwpsw9b8.js} +2 -2
- package/dist/chunks/{instruction-discovery-tt9rt96j.js → reference-g5g1wfe2.js} +13 -13
- package/dist/chunks/{instruction-discovery-htgck597.js → reference-g7kcex0y.js} +3 -3
- package/dist/chunks/{instruction-discovery-8rbhtgaf.js → reference-g8x414b0.js} +36 -36
- package/dist/chunks/{instruction-discovery-xzxxp67t.js → reference-g8xxsv15.js} +48 -48
- package/dist/chunks/{instruction-discovery-j0cz3t38.js → reference-ga7vshj9.js} +2 -2
- package/dist/chunks/{instruction-discovery-re1vrb27.js → reference-gc4j5hc4.js} +11 -11
- package/dist/chunks/{instruction-discovery-828jwtgn.js → reference-gfctfrej.js} +3 -3
- package/dist/chunks/{instruction-discovery-gg8p9cgs.js → reference-gg8p9cgs.js} +3 -3
- package/dist/chunks/{instruction-discovery-5bgjyvxg.js → reference-gqs0x7cg.js} +25 -25
- package/dist/chunks/{instruction-discovery-42cx4vra.js → reference-gssxfh3t.js} +25 -25
- package/dist/chunks/{instruction-discovery-jtxvztab.js → reference-gxhmg8t6.js} +17 -17
- package/dist/chunks/{instruction-discovery-ey9q43yp.js → reference-h3t1epsy.js} +3 -3
- package/dist/chunks/{instruction-discovery-p64tz3wb.js → reference-h44kb9zp.js} +2 -2
- package/dist/chunks/{instruction-discovery-qwn0xhwk.js → reference-h77hjnzn.js} +5 -5
- package/dist/chunks/{instruction-discovery-af0k6e03.js → reference-hdfrs5mg.js} +9 -9
- package/dist/chunks/{instruction-discovery-wr0pphdg.js → reference-hm5jv486.js} +4 -4
- package/dist/chunks/{instruction-discovery-hndccpk4.js → reference-hpcmzhc5.js} +23 -23
- package/dist/chunks/{instruction-discovery-hpg1pkwy.js → reference-hpg1pkwy.js} +1 -1
- package/dist/chunks/{instruction-discovery-p1th5zhm.js → reference-hrz74jgp.js} +19 -19
- package/dist/chunks/reference-htat58eq.js +26 -0
- package/dist/chunks/{instruction-discovery-8yhc7zrg.js → reference-hvy79q2t.js} +5 -5
- package/dist/chunks/{instruction-discovery-af79ean3.js → reference-j44b1axw.js} +4 -4
- package/dist/chunks/reference-j75v3e7j.js +257 -0
- package/dist/chunks/{instruction-discovery-8wc2fpae.js → reference-ja63h2sr.js} +5 -5
- package/dist/chunks/{instruction-discovery-vssebgbw.js → reference-jedme4q7.js} +3 -3
- package/dist/chunks/{instruction-discovery-jfaecv01.js → reference-jfaecv01.js} +1 -1
- package/dist/chunks/{instruction-discovery-5b3jskfa.js → reference-jmfq5y88.js} +6 -6
- package/dist/chunks/{instruction-discovery-r3e3nyxn.js → reference-jqgvqsjx.js} +12 -12
- package/dist/chunks/{instruction-discovery-cekdpe72.js → reference-jsfpnsxq.js} +13 -13
- package/dist/chunks/{instruction-discovery-jtnps1zs.js → reference-jtnps1zs.js} +2 -2
- package/dist/chunks/{instruction-discovery-nzs7qp78.js → reference-jz7hkp52.js} +6 -6
- package/dist/chunks/{instruction-discovery-9zrz05pf.js → reference-k792040k.js} +11 -11
- package/dist/chunks/{instruction-discovery-k814nvkf.js → reference-k814nvkf.js} +1 -1
- package/dist/chunks/{instruction-discovery-cjevvpkz.js → reference-kcfhzf92.js} +22 -22
- package/dist/chunks/{instruction-discovery-d2887f8n.js → reference-kkqethq7.js} +4 -4
- package/dist/chunks/{instruction-discovery-a1ctfybt.js → reference-kksz5w6c.js} +38 -38
- package/dist/chunks/{instruction-discovery-3yy4cqsx.js → reference-kmyndpj7.js} +14 -14
- package/dist/chunks/{instruction-discovery-r7dh50dd.js → reference-krp6jf0c.js} +17 -17
- package/dist/chunks/{instruction-discovery-kt3bjfbg.js → reference-kt3bjfbg.js} +1 -1
- package/dist/chunks/{instruction-discovery-hwh6evq5.js → reference-kyxjnc3p.js} +34 -34
- package/dist/chunks/{instruction-discovery-m1714858.js → reference-m1714858.js} +1 -1
- package/dist/chunks/{instruction-discovery-wth30mf5.js → reference-m4tvegh7.js} +8 -8
- package/dist/chunks/{instruction-discovery-t11dbw9k.js → reference-m805datt.js} +9 -9
- package/dist/chunks/{instruction-discovery-h04cnvmy.js → reference-m8ekf0nj.js} +19 -19
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-1aepsj9z.js → reference-mm6f8m5x.js} +8 -8
- package/dist/chunks/{instruction-discovery-s53p457m.js → reference-mmjdt0jh.js} +36 -36
- package/dist/chunks/{instruction-discovery-j7xe0krd.js → reference-mqz3a5pm.js} +17 -17
- package/dist/chunks/{instruction-discovery-gbs8zdek.js → reference-mt7kez29.js} +2 -2
- package/dist/chunks/{instruction-discovery-fq2tdc7j.js → reference-my6kf17f.js} +10 -10
- package/dist/chunks/{instruction-discovery-0qa86xwk.js → reference-myczyk40.js} +32 -32
- package/dist/chunks/{instruction-discovery-mq4wmfyx.js → reference-n6fd0dvw.js} +8 -8
- package/dist/chunks/{instruction-discovery-n98387tj.js → reference-n7j2vc45.js} +11 -11
- package/dist/chunks/{instruction-discovery-nah043kf.js → reference-nah043kf.js} +1 -1
- package/dist/chunks/{instruction-discovery-np7r7vht.js → reference-nbw9vdm7.js} +6 -6
- package/dist/chunks/{instruction-discovery-b3ysgcgm.js → reference-nk9edasy.js} +4 -4
- package/dist/chunks/{instruction-discovery-p015t6z3.js → reference-p015t6z3.js} +2 -2
- package/dist/chunks/{instruction-discovery-sx9mwydm.js → reference-p1htsza4.js} +35 -35
- package/dist/chunks/{instruction-discovery-c33mp5kd.js → reference-p22kkxvy.js} +34 -34
- package/dist/chunks/{instruction-discovery-w0kz34dd.js → reference-p6extme0.js} +11 -11
- package/dist/chunks/{instruction-discovery-zn56k3bg.js → reference-pcrvzspp.js} +16 -16
- package/dist/chunks/{instruction-discovery-snb901t2.js → reference-pcty9z1k.js} +4 -4
- package/dist/chunks/{instruction-discovery-hvvf9qw8.js → reference-pen16d07.js} +6 -6
- package/dist/chunks/{instruction-discovery-aq6cyz91.js → reference-pjqb08kt.js} +33 -33
- package/dist/chunks/{instruction-discovery-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-df15hqy6.js → reference-ppmjhmdn.js} +11 -11
- package/dist/chunks/{instruction-discovery-sqjqkxh5.js → reference-pqced4qh.js} +3 -3
- package/dist/chunks/{instruction-discovery-qkqjbc48.js → reference-qkqjbc48.js} +1 -1
- package/dist/chunks/{instruction-discovery-qp7r0hxv.js → reference-qp7r0hxv.js} +1 -1
- package/dist/chunks/{instruction-discovery-fk6vzymk.js → reference-qqn6ezee.js} +6 -6
- package/dist/chunks/{instruction-discovery-r0yr0wbs.js → reference-r0yr0wbs.js} +1 -1
- package/dist/chunks/{instruction-discovery-r542h3bh.js → reference-r542h3bh.js} +1 -1
- package/dist/chunks/{instruction-discovery-5ccfq05q.js → reference-r6ae345h.js} +23 -23
- package/dist/chunks/{instruction-discovery-ppvk44vh.js → reference-r6dv60ab.js} +16 -16
- package/dist/chunks/{instruction-discovery-rb9dy4dg.js → reference-rb9dy4dg.js} +1 -1
- package/dist/chunks/{instruction-discovery-c5kjsz6q.js → reference-rcbjwvze.js} +4 -4
- package/dist/chunks/{instruction-discovery-7d154cfc.js → reference-rgd55ngc.js} +10 -10
- package/dist/chunks/{instruction-discovery-rt5dr6hb.js → reference-rt5dr6hb.js} +1 -1
- package/dist/chunks/{instruction-discovery-dqcgys99.js → reference-s333tm96.js} +7 -7
- package/dist/chunks/{instruction-discovery-kh00rq9s.js → reference-s5qs7yse.js} +12 -12
- package/dist/chunks/{instruction-discovery-tyxs0a4x.js → reference-s5r0ksct.js} +2 -2
- package/dist/chunks/{instruction-discovery-s7kyse9r.js → reference-s7kyse9r.js} +1 -1
- package/dist/chunks/{instruction-discovery-sa3fpqfw.js → reference-sa3fpqfw.js} +2 -2
- package/dist/chunks/{instruction-discovery-hmyvp2rk.js → reference-shq9ftks.js} +13 -13
- package/dist/chunks/{instruction-discovery-sqjzf8x2.js → reference-sqjzf8x2.js} +1 -1
- package/dist/chunks/{instruction-discovery-9fwsy5x7.js → reference-sqrd2s2y.js} +14 -14
- package/dist/chunks/{instruction-discovery-svcy3p9a.js → reference-svcy3p9a.js} +1 -1
- package/dist/chunks/{instruction-discovery-tczq8hjw.js → reference-tczq8hjw.js} +1 -1
- package/dist/chunks/{instruction-discovery-kgk2rv7w.js → reference-tg363vyk.js} +47 -47
- package/dist/chunks/{instruction-discovery-0cpsvkfc.js → reference-tgb8sy1m.js} +9 -9
- package/dist/chunks/{instruction-discovery-r246dpnk.js → reference-thjzaypf.js} +9 -9
- package/dist/chunks/{instruction-discovery-nvbva47a.js → reference-tjajrbfk.js} +24 -24
- package/dist/chunks/{instruction-discovery-2z2261gz.js → reference-tnxzd87a.js} +15 -15
- package/dist/chunks/{instruction-discovery-sqbd8axt.js → reference-tp9rrjmz.js} +11 -11
- package/dist/chunks/{instruction-discovery-r3bafmem.js → reference-tpcm2fp0.js} +9 -9
- package/dist/chunks/{instruction-discovery-v2wa3hm1.js → reference-tvj9sf3a.js} +89 -89
- package/dist/chunks/{instruction-discovery-twssxy5n.js → reference-twssxy5n.js} +2 -2
- package/dist/chunks/{instruction-discovery-1j1ma7kd.js → reference-tycat656.js} +10 -10
- package/dist/chunks/{instruction-discovery-v2r1d0zg.js → reference-v2r1d0zg.js} +1 -1
- package/dist/chunks/{instruction-discovery-sd49ss65.js → reference-v5vb5nzm.js} +18 -18
- package/dist/chunks/{instruction-discovery-k8q25bjh.js → reference-v8qn6gca.js} +5 -5
- package/dist/chunks/{instruction-discovery-veqvce7d.js → reference-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-1dwvcqns.js → reference-vh1bcmy7.js} +23 -23
- package/dist/chunks/{instruction-discovery-gcjdgkn2.js → reference-vrcsa8qx.js} +9 -9
- package/dist/chunks/{instruction-discovery-26x8chrq.js → reference-vsqvcqta.js} +6 -6
- package/dist/chunks/{instruction-discovery-dzercy8j.js → reference-w2szm6a4.js} +16 -16
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-d4qkn5y3.js → reference-w4p85zmz.js} +28 -28
- package/dist/chunks/{instruction-discovery-y26daf22.js → reference-w8n31mpc.js} +41 -41
- package/dist/chunks/{instruction-discovery-wakvkjy4.js → reference-wakvkjy4.js} +1 -1
- package/dist/chunks/{instruction-discovery-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-z6vs1tpd.js → reference-wjfea556.js} +5 -5
- package/dist/chunks/{instruction-discovery-wnhgecwx.js → reference-wnhgecwx.js} +1 -1
- package/dist/chunks/{instruction-discovery-scdtkf7x.js → reference-wq6y9see.js} +22 -22
- package/dist/chunks/{instruction-discovery-wr3re1en.js → reference-wr3re1en.js} +1 -1
- package/dist/chunks/{instruction-discovery-2jm5ms20.js → reference-x0y5mag1.js} +30 -30
- package/dist/chunks/{instruction-discovery-btec747f.js → reference-x6pyv2yz.js} +5 -5
- package/dist/chunks/{instruction-discovery-r6fvgzn7.js → reference-x6r4fegy.js} +43 -43
- package/dist/chunks/{instruction-discovery-cchmky4n.js → reference-x7ps9kt0.js} +4 -4
- package/dist/chunks/{instruction-discovery-xd9cc171.js → reference-xd9cc171.js} +1 -1
- package/dist/chunks/{instruction-discovery-2m0svkb3.js → reference-xfeq68e7.js} +9 -9
- package/dist/chunks/{instruction-discovery-kb55mmjg.js → reference-xhmnf1d5.js} +5 -5
- package/dist/chunks/{instruction-discovery-v4wde3zy.js → reference-xq2971wf.js} +12 -12
- package/dist/chunks/{instruction-discovery-jhpqsnsy.js → reference-xtcsqkmk.js} +17 -17
- package/dist/chunks/{instruction-discovery-ktj8frj4.js → reference-xz2wk1pj.js} +5 -5
- package/dist/chunks/{instruction-discovery-yjeyjw9f.js → reference-xzaxbh4c.js} +28 -28
- package/dist/chunks/{instruction-discovery-3k4eq6ay.js → reference-y73szgh5.js} +11 -11
- package/dist/chunks/{instruction-discovery-hjtcgwwy.js → reference-y7pnb98a.js} +11 -11
- package/dist/chunks/{instruction-discovery-yara3q77.js → reference-yara3q77.js} +2 -2
- package/dist/chunks/{instruction-discovery-a9cen3eq.js → reference-yawad64g.js} +25 -25
- package/dist/chunks/{instruction-discovery-yb20nhc3.js → reference-yb20nhc3.js} +1 -1
- package/dist/chunks/{instruction-discovery-npchzmkf.js → reference-ybqgjkz7.js} +32 -32
- package/dist/chunks/{instruction-discovery-b1tz3sp7.js → reference-ydr0r0c4.js} +13 -13
- package/dist/chunks/{instruction-discovery-e4dhw3gc.js → reference-yekehd0c.js} +20 -20
- package/dist/chunks/{instruction-discovery-rdywkxba.js → reference-yj7wwm3n.js} +10 -10
- package/dist/chunks/{instruction-discovery-613qqnzk.js → reference-ytt91gsd.js} +19 -19
- package/dist/chunks/{instruction-discovery-p4gyfc1r.js → reference-z052854x.js} +15 -15
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-jwmzhdh0.js → reference-z0px8f9y.js} +18 -18
- package/dist/chunks/{instruction-discovery-z38nccrw.js → reference-z38nccrw.js} +1 -1
- package/dist/chunks/reference-z7bdqmx5.js +18 -0
- package/dist/chunks/{instruction-discovery-dtvrzahv.js → reference-zd8w5hws.js} +14 -14
- package/dist/chunks/{instruction-discovery-nmn21yyg.js → reference-ze844e89.js} +31 -31
- package/dist/chunks/{instruction-discovery-zgkm4kzm.js → reference-zgkm4kzm.js} +3 -3
- package/dist/chunks/{instruction-discovery-kffcn31a.js → reference-zhhya0q8.js} +3 -3
- package/dist/chunks/{instruction-discovery-jfbasxex.js → reference-zrvtj653.js} +22 -22
- package/dist/chunks/{instruction-discovery-f7b3yq4m.js → reference-zstkhq2e.js} +11 -11
- package/dist/chunks/{instruction-discovery-wbst3c7q.js → reference-zxxmr6sq.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +90 -90
- 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 +123 -123
- 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 +132 -132
- 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 +120 -120
- 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 +122 -122
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- 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 +382 -382
- 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 +1 -1
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +234 -234
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +112 -112
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +95 -95
- package/dist/generate.js +117 -117
- 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 +99 -99
- 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 +373 -373
- package/dist/instruction-discovery.js +88 -88
- 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 +89 -89
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +163 -163
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +370 -370
- package/dist/location.js +93 -93
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +117 -117
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +81 -81
- 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 +99 -99
- 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 +88 -88
- 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 +343 -343
- 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/cohere.js +2 -2
- 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/factory.js +1 -1
- 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 +128 -128
- 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-legacy.js +108 -108
- package/dist/plugin/provider/opencode.js +127 -127
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- 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/vercel.js +98 -98
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +178 -178
- package/dist/plugin/sdk.js +82 -82
- 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 +362 -362
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- 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 +5 -5
- 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 +236 -236
- 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 +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +106 -106
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +84 -84
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- 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 +228 -228
- package/dist/session/execution.js +152 -152
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +138 -138
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- 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 +2 -2
- 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 +223 -223
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +146 -146
- 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 +165 -165
- 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 +152 -152
- 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 +136 -136
- package/dist/tool/plugin/read.js +159 -159
- package/dist/tool/plugin/shell.js +222 -222
- package/dist/tool/plugin/skill.js +145 -145
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +141 -141
- package/dist/tool/plugin/webfetch.js +145 -145
- package/dist/tool/plugin/websearch.js +139 -139
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +108 -108
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/usage-limits.js +93 -93
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +100 -100
- package/dist/v1/config/permission.js +1 -1
- 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 +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +96 -96
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +3 -3
- 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 +9 -9
- 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/instruction-discovery-azz85zj6.js +0 -517
- package/dist/chunks/instruction-discovery-bgqvkj0f.js +0 -257
- package/dist/chunks/instruction-discovery-k62y2wy8.js +0 -18
- package/dist/chunks/instruction-discovery-t09xj51a.js +0 -26
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1jakw16s.js → reference-1jakw16s.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → reference-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2bv980vf.js → reference-2bv980vf.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → reference-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4m86bj6y.js → reference-4m86bj6y.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → reference-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-5w3e23ze.js → reference-5w3e23ze.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → reference-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-84wd9syh.js → reference-84wd9syh.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a058387c.js → reference-a058387c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → reference-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → reference-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-beh6qq61.js → reference-beh6qq61.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cqv5kn06.js → reference-cqv5kn06.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → reference-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → reference-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → reference-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fkpq3x5p.js → reference-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → reference-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hcxmzztb.js → reference-hcxmzztb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwr30sdr.js → reference-jwr30sdr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jze0r7bz.js → reference-jze0r7bz.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-m18g726c.js → reference-m18g726c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ncqqe42p.js → reference-ncqqe42p.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-p71gwv9c.js → reference-p71gwv9c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ve7vex1e.js → reference-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → reference-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → reference-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → reference-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → reference-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → reference-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-jtnps1zs.js";
|
|
7
7
|
import {
|
|
8
8
|
Service87,
|
|
9
9
|
node91
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-05xp378r.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-11hfp36g.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node70
|
|
18
|
+
} from "./reference-03048zfc.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./reference-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./reference-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID9,
|
|
31
|
+
Info: () => Info14,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service66,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured7,
|
|
36
|
+
node: () => node69
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID9 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info14 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID9,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info21 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID9 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID9,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service66 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured7 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service66,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node91,
|
|
70
|
+
deps: [node91, node70]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service87).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service72, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info14({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service72, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service66.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID9.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service72, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node69 = configured7();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID9, Info14, NotFound2, CreateConflict2, Service66, configured7, node69, exports_workspace };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-204s3925.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
14
|
Options: () => Options8,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service78,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
18
|
configured: () => configured11,
|
|
@@ -21,7 +21,7 @@ __export(exports_select, {
|
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name16,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node82,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve4
|
|
27
27
|
});
|
|
@@ -47,7 +47,7 @@ var Options8 = Schema.Struct({
|
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service78 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,7 +199,7 @@ var layer = (options) => Layer.effect(Service85, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service78.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
|
|
@@ -207,8 +207,8 @@ var layer = (options) => Layer.effect(Service85, Effect.gen(function* () {
|
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
209
|
function configured11(options) {
|
|
210
|
-
return makeLocationNode({ service:
|
|
210
|
+
return makeLocationNode({ service: Service78, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node82 = configured11();
|
|
213
213
|
|
|
214
|
-
export { Options8,
|
|
214
|
+
export { Options8, Service78, gitbash2, name16, login2, ps2, args2, environment2, resolve4, list4, configured11, node82, exports_select };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service68
|
|
4
|
+
} from "./reference-49qz2gqd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service61
|
|
7
|
+
} from "./reference-96t7hsnc.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin9
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin9 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service68;
|
|
27
|
+
const snapshot = yield* Service61;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin33 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin9, exports_snapshot };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ProjectTable2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-034tev2y.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/icon.ts
|
|
9
9
|
var exports_icon = {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2,
|
|
3
3
|
exists2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-svcy3p9a.js";
|
|
5
5
|
import {
|
|
6
6
|
AbsolutePath2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-z5v4ffb3.js";
|
|
8
8
|
import {
|
|
9
9
|
root2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-g8xxsv15.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service80,
|
|
13
|
+
node84
|
|
14
|
+
} from "./reference-sqrd2s2y.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service65,
|
|
17
|
+
node68
|
|
18
|
+
} from "./reference-tjajrbfk.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service55,
|
|
21
|
+
node58
|
|
22
|
+
} from "./reference-9g9k5824.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./reference-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/file-access.ts
|
|
28
28
|
var exports_file_access = {};
|
|
@@ -30,8 +30,8 @@ __export(exports_file_access, {
|
|
|
30
30
|
FileAccess: () => exports_file_access,
|
|
31
31
|
Kind: () => Kind2,
|
|
32
32
|
ResolveInput: () => ResolveInput2,
|
|
33
|
-
Service: () =>
|
|
34
|
-
node: () =>
|
|
33
|
+
Service: () => Service23,
|
|
34
|
+
node: () => node26,
|
|
35
35
|
resolvePath: () => resolvePath2
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -45,7 +45,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
45
45
|
kind: Kind2.pipe(Schema.optional)
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service23 extends Context.Service()("@opencode/FileAccess") {
|
|
49
49
|
}
|
|
50
50
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
51
51
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -57,11 +57,11 @@ var invocation = (context) => ({
|
|
|
57
57
|
agent: context.agent,
|
|
58
58
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
59
59
|
});
|
|
60
|
-
var layer = Layer.effect(
|
|
61
|
-
const { files } = yield*
|
|
60
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
61
|
+
const { files } = yield* Service65;
|
|
62
62
|
const exists = (file) => exists2(files, file);
|
|
63
|
-
const location = yield*
|
|
64
|
-
const permission = yield*
|
|
63
|
+
const location = yield* Service80;
|
|
64
|
+
const permission = yield* Service55;
|
|
65
65
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
66
66
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
67
67
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -110,12 +110,12 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
110
110
|
});
|
|
111
111
|
return target;
|
|
112
112
|
});
|
|
113
|
-
return
|
|
113
|
+
return Service23.of({ resolve, authorizeExternal, authorizeRead });
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node26 = makeLocationNode({
|
|
116
|
+
service: Service23,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [
|
|
118
|
+
deps: [node68, node84, node58]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { Kind2, ResolveInput2,
|
|
121
|
+
export { Kind2, ResolveInput2, Service23, resolvePath2, node26, exports_file_access };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./reference-tjajrbfk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service15,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./reference-a7mpn1ry.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service60
|
|
11
|
+
} from "./reference-4h5tdd52.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service55
|
|
14
|
+
} from "./reference-9g9k5824.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service23
|
|
17
|
+
} from "./reference-yawad64g.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./reference-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./reference-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input4,
|
|
29
|
+
Output: () => Output2,
|
|
30
|
+
Plugin: () => Plugin39,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name4,
|
|
33
|
+
toModelContent: () => toModelContent2
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name4 = "write";
|
|
39
|
+
var Input4 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output2 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin39 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service23;
|
|
56
|
+
const fileMutation = yield* Service15;
|
|
57
|
+
const environment = yield* Service65;
|
|
58
|
+
const formatter = yield* Service60;
|
|
59
|
+
const permission = yield* Service55;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name4,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input4,
|
|
69
|
+
output: Output2,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name4, Input4, Output2, toModelContent2, Plugin39, exports_write };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service76,
|
|
3
3
|
node80
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-h3t1epsy.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-axe3mf62.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
node: () =>
|
|
19
|
+
Service: () => Service73,
|
|
20
|
+
make: () => make23,
|
|
21
|
+
node: () => node77
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service73 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -83,7 +83,7 @@ function decrementSession(input, sessionID) {
|
|
|
83
83
|
next.set(sessionID, count - 1);
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var make23 = Effect.gen(function* () {
|
|
87
87
|
const kv = yield* Service76;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
@@ -343,7 +343,7 @@ var make19 = Effect.gen(function* () {
|
|
|
343
343
|
next.delete(entry[0]);
|
|
344
344
|
return next;
|
|
345
345
|
})));
|
|
346
|
-
return
|
|
346
|
+
return Service73.of({
|
|
347
347
|
get,
|
|
348
348
|
start,
|
|
349
349
|
wait,
|
|
@@ -356,7 +356,7 @@ var make19 = Effect.gen(function* () {
|
|
|
356
356
|
completeBackground
|
|
357
357
|
});
|
|
358
358
|
});
|
|
359
|
-
var layer = Layer.effect(
|
|
360
|
-
var
|
|
359
|
+
var layer = Layer.effect(Service73, make23);
|
|
360
|
+
var node77 = makeGlobalNode({ service: Service73, layer, deps: [node80] });
|
|
361
361
|
|
|
362
|
-
export {
|
|
362
|
+
export { Service73, make23, node77, exports_job };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-1txfxaze.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./reference-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-d1v2vbzt.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
Service81,
|
|
15
15
|
node85,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Event17
|
|
17
|
+
} from "./reference-an5ndxtp.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service80,
|
|
20
|
+
node84
|
|
21
|
+
} from "./reference-sqrd2s2y.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./reference-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider3 = {};
|
|
@@ -37,7 +37,7 @@ __export(exports_provider3, {
|
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider3,
|
|
39
39
|
Request: () => Request3,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service79,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -49,7 +49,7 @@ __export(exports_provider3, {
|
|
|
49
49
|
mergeOverlay: () => mergeOverlay2,
|
|
50
50
|
modelSettings: () => modelSettings2,
|
|
51
51
|
nativeSettings: () => nativeSettings2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node83,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -574,7 +574,7 @@ var Transport2 = Provider.Transport;
|
|
|
574
574
|
var Settings2 = Provider.Settings;
|
|
575
575
|
var Info23 = Provider.Info;
|
|
576
576
|
|
|
577
|
-
class
|
|
577
|
+
class Service79 extends Context.Service()("@opencode/Provider") {
|
|
578
578
|
}
|
|
579
579
|
var definitions = new WeakMap;
|
|
580
580
|
function index(providerID, models) {
|
|
@@ -587,10 +587,10 @@ function index(providerID, models) {
|
|
|
587
587
|
definitions.set(models, indexes);
|
|
588
588
|
return result;
|
|
589
589
|
}
|
|
590
|
-
var layer = Layer.effect(
|
|
590
|
+
var layer = Layer.effect(Service79, Effect2.gen(function* () {
|
|
591
591
|
const bus = yield* Service86;
|
|
592
592
|
const integrations = yield* Service81;
|
|
593
|
-
const location = yield*
|
|
593
|
+
const location = yield* Service80;
|
|
594
594
|
const state = create3({
|
|
595
595
|
name: "provider",
|
|
596
596
|
initial: () => new Map,
|
|
@@ -682,7 +682,7 @@ var layer = Layer.effect(Service74, Effect2.gen(function* () {
|
|
|
682
682
|
const available = Array.from(records.values()).filter((record) => {
|
|
683
683
|
if (record.provider.activation === "disabled")
|
|
684
684
|
return false;
|
|
685
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
685
|
+
const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
|
|
686
686
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
687
687
|
return false;
|
|
688
688
|
if (record.provider.activation === "enabled")
|
|
@@ -708,8 +708,8 @@ var layer = Layer.effect(Service74, Effect2.gen(function* () {
|
|
|
708
708
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
709
709
|
});
|
|
710
710
|
});
|
|
711
|
-
yield* bus.subscribe([
|
|
712
|
-
return
|
|
711
|
+
yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
712
|
+
return Service79.of({
|
|
713
713
|
transform: state.transform,
|
|
714
714
|
reload: state.reload,
|
|
715
715
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -718,7 +718,7 @@ var layer = Layer.effect(Service74, Effect2.gen(function* () {
|
|
|
718
718
|
snapshot
|
|
719
719
|
});
|
|
720
720
|
}));
|
|
721
|
-
var
|
|
721
|
+
var node83 = makeLocationNode({ service: Service79, layer, deps: [node90, node85, node84] });
|
|
722
722
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
723
723
|
const module = yield* Effect2.tryPromise({
|
|
724
724
|
try: () => {
|
|
@@ -740,4 +740,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
740
740
|
return module;
|
|
741
741
|
});
|
|
742
742
|
|
|
743
|
-
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Cache2, Transport2, Settings2, Info23,
|
|
743
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Cache2, Transport2, Settings2, Info23, Service79, node83, exports_provider3, Event16 };
|