@opencode/core 0.0.0-dev-20465 → 0.0.0-dev-20467
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{pty-6t1p0y7j.js → job-01tr0krm.js} +18 -18
- package/dist/chunks/{pty-gcwax8a0.js → job-03ezm56f.js} +11 -11
- package/dist/chunks/{pty-ryndyrje.js → job-03js8bwe.js} +62 -62
- package/dist/chunks/{pty-33h0sywe.js → job-05pde662.js} +4 -4
- package/dist/chunks/{pty-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-an7cqtb7.js → job-0v53mg2y.js} +4 -4
- package/dist/chunks/{pty-0vbcp93d.js → job-0vbcp93d.js} +2 -2
- package/dist/chunks/{pty-1dazxqgg.js → job-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-1dvck2a7.js → job-1dvck2a7.js} +2 -2
- package/dist/chunks/{pty-ra8qt2z6.js → job-1j8srcya.js} +22 -22
- package/dist/chunks/{pty-vrfmkq1b.js → job-1qv75xms.js} +2 -2
- package/dist/chunks/{pty-xaj1t2na.js → job-1twmk53z.js} +44 -44
- package/dist/chunks/{pty-gkxwzehf.js → job-1yms2fw9.js} +35 -35
- package/dist/chunks/{pty-21r38tys.js → job-21r38tys.js} +1 -1
- package/dist/chunks/{pty-dar8dhhp.js → job-2817rfhq.js} +51 -51
- package/dist/chunks/{pty-b6n73f8d.js → job-28xeqk3p.js} +42 -42
- package/dist/chunks/{pty-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/job-2kc3w70s.js +252 -0
- package/dist/chunks/{pty-ej9mn2hm.js → job-2mbds3pf.js} +8 -8
- package/dist/chunks/{pty-eycf18wc.js → job-2mdpkgg5.js} +3 -3
- package/dist/chunks/{pty-pe69whtr.js → job-2n22hf6m.js} +35 -35
- package/dist/chunks/{pty-dpra9b9a.js → job-2t2s42cy.js} +9 -9
- package/dist/chunks/{pty-y5drw8vz.js → job-2xewgrj1.js} +17 -17
- package/dist/chunks/{pty-j8r070e4.js → job-2ya97f74.js} +4 -4
- package/dist/chunks/{pty-sjt06tff.js → job-35ggyzt3.js} +24 -24
- package/dist/chunks/{pty-89r56116.js → job-38k392wv.js} +32 -32
- package/dist/chunks/{pty-jgynzvas.js → job-3byaa1ve.js} +184 -184
- package/dist/chunks/{pty-yd7m906j.js → job-3dyf1mr4.js} +96 -96
- package/dist/chunks/{pty-56rn98qe.js → job-3f358k6q.js} +35 -35
- package/dist/chunks/{pty-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-54r1wzpb.js → job-3v5tjer0.js} +7 -7
- package/dist/chunks/{pty-t15nrssv.js → job-3w7t9sjm.js} +12 -12
- package/dist/chunks/{pty-5r2x0qgd.js → job-3yk74dhc.js} +24 -24
- package/dist/chunks/{pty-3zsf4n22.js → job-3zsf4n22.js} +1 -1
- package/dist/chunks/{pty-ef5raw6k.js → job-429nfpe8.js} +30 -30
- package/dist/chunks/{pty-t9kt8c31.js → job-44jtbah9.js} +17 -17
- package/dist/chunks/{pty-svhsva1n.js → job-45bncrr3.js} +45 -45
- package/dist/chunks/{pty-zmr78fwr.js → job-47jkzegy.js} +5 -5
- package/dist/chunks/{pty-sa8a2jg7.js → job-47r9vgy9.js} +24 -24
- package/dist/chunks/{pty-j16d020p.js → job-4b64be2k.js} +19 -19
- package/dist/chunks/{pty-mjqndqed.js → job-4bk00v8h.js} +12 -12
- package/dist/chunks/{pty-4bm5ja14.js → job-4bm5ja14.js} +1 -1
- package/dist/chunks/{pty-s9rwj2jy.js → job-4j59rn7m.js} +13 -13
- package/dist/chunks/{pty-dfa350ep.js → job-4k23khte.js} +3 -3
- package/dist/chunks/{pty-tbb8wp41.js → job-4m975yph.js} +40 -40
- package/dist/chunks/{pty-4vybm4fz.js → job-4sq8dz1s.js} +15 -15
- package/dist/chunks/{pty-2ccvkpx1.js → job-4ts7tf6z.js} +2 -2
- package/dist/chunks/{pty-b4tw85s5.js → job-53jw4c93.js} +19 -19
- package/dist/chunks/{pty-85xxa1xb.js → job-543tcfte.js} +2 -2
- package/dist/chunks/{pty-56gdpj1q.js → job-56gdpj1q.js} +2 -2
- package/dist/chunks/{pty-57b9ws8p.js → job-57b9ws8p.js} +1 -1
- package/dist/chunks/{pty-e9h38f33.js → job-5cgyhv0x.js} +13 -13
- package/dist/chunks/{pty-qmqgtz8f.js → job-5d607bsg.js} +9 -9
- package/dist/chunks/{pty-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-ahsttzmd.js → job-5fykfdj7.js} +5 -5
- package/dist/chunks/{pty-vvf5cqb2.js → job-5gqmj51j.js} +22 -22
- package/dist/chunks/{pty-my6s2k18.js → job-5m938806.js} +24 -24
- package/dist/chunks/{pty-e3qxr5gk.js → job-5qd3pb7m.js} +2 -2
- package/dist/chunks/{pty-5t3nmthw.js → job-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-x6xfjs65.js → job-5vf6q9hk.js} +14 -14
- package/dist/chunks/{pty-2pzrgdj0.js → job-627bxgqg.js} +9 -9
- package/dist/chunks/{pty-669tq793.js → job-669tq793.js} +1 -1
- package/dist/chunks/{pty-vczvxyc1.js → job-69802pc5.js} +86 -86
- package/dist/chunks/{pty-65zgsz9y.js → job-6axb150g.js} +17 -17
- package/dist/chunks/{pty-7yqjxrmz.js → job-6ersrjne.js} +4 -4
- package/dist/chunks/{pty-pngzmcmx.js → job-6j1e9nf7.js} +17 -17
- package/dist/chunks/{pty-t7d8dr7r.js → job-6rnxzzj3.js} +11 -11
- package/dist/chunks/{pty-h8g6pbq3.js → job-6yzefp2f.js} +5 -5
- package/dist/chunks/{pty-cwem3fhm.js → job-7190fypv.js} +20 -20
- package/dist/chunks/{pty-71az546q.js → job-71az546q.js} +2 -2
- package/dist/chunks/{pty-ta546dzx.js → job-73tvmyfv.js} +24 -24
- package/dist/chunks/{pty-jw3e9cpn.js → job-7bjzq7me.js} +3 -3
- package/dist/chunks/{pty-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-8f516jjj.js → job-7g97gkh1.js} +33 -33
- package/dist/chunks/{pty-krym5cze.js → job-7pgtzthj.js} +23 -23
- package/dist/chunks/{pty-0pvpap86.js → job-7pt3mq3f.js} +52 -52
- package/dist/chunks/{pty-9rq40ggw.js → job-7tjzpfcg.js} +13 -13
- package/dist/chunks/{pty-e6k5s2wm.js → job-8024jtgr.js} +15 -15
- package/dist/chunks/{pty-w1eejvng.js → job-84txncab.js} +5 -5
- package/dist/chunks/{pty-ppy93fad.js → job-88t5zxn4.js} +8 -8
- package/dist/chunks/{pty-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-x7ya3ng0.js → job-8hnrp9rd.js} +41 -41
- package/dist/chunks/{pty-gp73hwme.js → job-918zktfr.js} +13 -13
- package/dist/chunks/{pty-y2nr333m.js → job-92decmfr.js} +1 -1
- package/dist/chunks/{pty-654wfw74.js → job-94yjm49g.js} +5 -5
- package/dist/chunks/{pty-fxcz0da0.js → job-992nq899.js} +11 -11
- package/dist/chunks/{pty-8cgmda8d.js → job-9b9nbw19.js} +9 -9
- package/dist/chunks/{pty-0gg0ptvt.js → job-9caaefn6.js} +13 -13
- package/dist/chunks/{pty-9e5bzkjp.js → job-9e5bzkjp.js} +3 -3
- package/dist/chunks/{pty-cg76ry6w.js → job-9emfjjbd.js} +32 -32
- package/dist/chunks/{pty-wps6jxys.js → job-9sd3eyxn.js} +26 -26
- package/dist/chunks/{pty-j5j7sqd7.js → job-a2g813f4.js} +25 -25
- package/dist/chunks/{pty-hmzm1mrk.js → job-a38e8hjq.js} +24 -24
- package/dist/chunks/{pty-1rn5pcm9.js → job-a81kfqvn.js} +4 -4
- package/dist/chunks/{pty-kk00bynn.js → job-a8bn8zg0.js} +21 -21
- package/dist/chunks/{pty-syjz6ynj.js → job-a9ng4de9.js} +9 -9
- package/dist/chunks/{pty-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-zwqdfq5j.js → job-abpxsdsw.js} +41 -41
- package/dist/chunks/{pty-3h7mwb1y.js → job-afchkqsm.js} +10 -10
- package/dist/chunks/{pty-7wew4q66.js → job-akem1a8a.js} +5 -5
- package/dist/chunks/{pty-8skk2bv8.js → job-am5nqmeq.js} +9 -9
- package/dist/chunks/{pty-dvxfaxz1.js → job-ax9bm1ha.js} +40 -40
- package/dist/chunks/{pty-2bekqz3a.js → job-b1amcvf2.js} +11 -11
- package/dist/chunks/{pty-mha52fg8.js → job-b3f8fkhc.js} +5 -5
- package/dist/chunks/{pty-c94by4w0.js → job-b3y7b6qs.js} +25 -25
- package/dist/chunks/{pty-zm3tt0zb.js → job-b5s7ngqs.js} +9 -9
- package/dist/chunks/{pty-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-e2jeb051.js → job-b7egtpmm.js} +8 -8
- package/dist/chunks/{pty-58r1cxk0.js → job-b8086ece.js} +31 -31
- package/dist/chunks/{pty-kgen349b.js → job-bezhzanq.js} +5 -5
- package/dist/chunks/{pty-wv696c4x.js → job-bf95p6h4.js} +11 -11
- package/dist/chunks/{pty-na5ad8x6.js → job-bggp43b6.js} +12 -12
- package/dist/chunks/{pty-h82kh8n3.js → job-bsx5pfav.js} +11 -11
- package/dist/chunks/{pty-w0nkn6ve.js → job-ck8npcm5.js} +11 -11
- package/dist/chunks/{pty-rbzagpv5.js → job-cn024ves.js} +18 -18
- package/dist/chunks/{pty-7tp0thxb.js → job-cz1dxj5r.js} +32 -32
- package/dist/chunks/{pty-f9bdb5ag.js → job-d8qe6v8f.js} +19 -19
- package/dist/chunks/{pty-jyn8qy1m.js → job-dg9snmj0.js} +33 -33
- package/dist/chunks/{pty-8d883stb.js → job-dj7kyw3v.js} +3 -3
- package/dist/chunks/{pty-dpkg50ah.js → job-dpkg50ah.js} +1 -1
- package/dist/chunks/{pty-744jnaem.js → job-dqpy1reh.js} +14 -14
- package/dist/chunks/{pty-hcsm92x8.js → job-dv5gdg8y.js} +30 -30
- package/dist/chunks/{pty-27vvhq6q.js → job-e9gt32vs.js} +43 -43
- package/dist/chunks/{pty-ef5x83kb.js → job-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-qyrkwdx9.js → job-efzy2153.js} +20 -20
- package/dist/chunks/{pty-5yswx35n.js → job-ehmk23mz.js} +34 -34
- package/dist/chunks/{pty-r5x6zcsm.js → job-eq1pz5kg.js} +3 -3
- package/dist/chunks/{pty-etq0c3wd.js → job-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-j0vs91sp.js → job-f4b577p5.js} +20 -20
- package/dist/chunks/{pty-5cm3k1aq.js → job-fb5svenv.js} +14 -14
- package/dist/chunks/{pty-1z3nqx9t.js → job-ffvz0ga5.js} +10 -10
- package/dist/chunks/{pty-31ec1s0m.js → job-fg73yfg0.js} +21 -21
- package/dist/chunks/{pty-9vygzh4b.js → job-fj6b9xaq.js} +13 -13
- package/dist/chunks/{pty-9t5v5m66.js → job-fpgyhkd2.js} +11 -11
- package/dist/chunks/{pty-s0q1fkaz.js → job-fq4w78be.js} +28 -28
- package/dist/chunks/{pty-fm2qvscf.js → job-fqb2p7cx.js} +4 -4
- package/dist/chunks/{pty-jvnghvnw.js → job-fqtvmpfq.js} +8 -8
- package/dist/chunks/{pty-3dfke6ah.js → job-fvntyxag.js} +20 -20
- package/dist/chunks/{pty-tz8876m4.js → job-fy752efe.js} +8 -8
- package/dist/chunks/{pty-wm9zswm7.js → job-fzzzkraz.js} +28 -28
- package/dist/chunks/{pty-gx5xjf3t.js → job-g74p4268.js} +20 -20
- package/dist/chunks/{pty-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-ntah2d2v.js → job-gf9ymecw.js} +10 -10
- package/dist/chunks/{pty-xp3fh2h7.js → job-gg3hnhsj.js} +1 -1
- package/dist/chunks/{pty-39h54dwb.js → job-gjeq5cpe.js} +33 -33
- package/dist/chunks/{pty-3ymzsrgp.js → job-gpz58nsd.js} +4 -4
- package/dist/chunks/{pty-x5w3d5vd.js → job-gt0w2r94.js} +9 -9
- package/dist/chunks/{pty-wc19s0z4.js → job-gv16kyf6.js} +8 -8
- package/dist/chunks/{pty-eb0vzkjg.js → job-gzhfsf6w.js} +28 -28
- package/dist/chunks/{pty-5qxcgjcr.js → job-h12zvjj7.js} +15 -15
- package/dist/chunks/{pty-h2b79v29.js → job-h2b79v29.js} +2 -2
- package/dist/chunks/{pty-j7jm1rg4.js → job-h4ckqw4f.js} +11 -11
- package/dist/chunks/{pty-d6wdd58k.js → job-h4g2rx11.js} +32 -32
- package/dist/chunks/{pty-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-268dwz27.js → job-h8p16smg.js} +4 -4
- package/dist/chunks/{pty-1tat02m1.js → job-hde6z15e.js} +11 -11
- package/dist/chunks/{pty-1zg7we31.js → job-hgzv9kjc.js} +11 -11
- package/dist/chunks/{pty-3b7ev2pn.js → job-hhve2k50.js} +36 -36
- package/dist/chunks/{pty-cq2fm5z3.js → job-hm1626ap.js} +10 -10
- package/dist/chunks/{pty-06x8he3q.js → job-hn57h045.js} +4 -4
- package/dist/chunks/{pty-v56p6sfb.js → job-hqmgd24m.js} +25 -25
- package/dist/chunks/job-ht5y0zrb.js +18 -0
- package/dist/chunks/{pty-grh2mbxc.js → job-htrkr43w.js} +5 -5
- package/dist/chunks/{pty-pbcwpz6x.js → job-hw2mxkc7.js} +29 -29
- package/dist/chunks/{pty-cjrfn32c.js → job-hws959dx.js} +22 -22
- package/dist/chunks/{pty-cgaacc6a.js → job-hxt36cq1.js} +16 -16
- package/dist/chunks/{pty-j56e64zr.js → job-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-x8nnxcg2.js → job-j7rjbbc7.js} +9 -9
- package/dist/chunks/{pty-dbneng7t.js → job-jsb4t09t.js} +25 -25
- package/dist/chunks/{pty-69j0j58y.js → job-jwv3hh80.js} +11 -11
- package/dist/chunks/{pty-k747m8pa.js → job-jykystv5.js} +31 -31
- package/dist/chunks/{pty-h7ym8ggf.js → job-jyx3h9m7.js} +19 -19
- package/dist/chunks/{pty-gneskcp7.js → job-k4x3mqg7.js} +5 -5
- package/dist/chunks/{pty-8gxy57kn.js → job-k6cg1ypx.js} +10 -10
- package/dist/chunks/{pty-k70p9jzb.js → job-k70p9jzb.js} +2 -2
- package/dist/chunks/{pty-aep3mzsj.js → job-k8cmjhch.js} +11 -11
- package/dist/chunks/{pty-n6mbxeh3.js → job-kjccmbts.js} +31 -31
- package/dist/chunks/{pty-2aahd4k0.js → job-kwtzvpvj.js} +3 -3
- package/dist/chunks/{pty-cyr2cxn9.js → job-m1zhmj85.js} +1 -1
- package/dist/chunks/{pty-9zncbkq8.js → job-m269jyxt.js} +7 -7
- package/dist/chunks/{pty-nkqe1jkz.js → job-m2jqcmq0.js} +11 -11
- package/dist/chunks/{pty-m3fdjcah.js → job-m3fdjcah.js} +1 -1
- package/dist/chunks/{pty-cp2e1w3e.js → job-m625ddq6.js} +8 -8
- package/dist/chunks/{pty-8s5pwsga.js → job-m8vw0nde.js} +23 -23
- package/dist/chunks/{pty-j6vz790y.js → job-m973ek6z.js} +30 -30
- package/dist/chunks/{pty-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-zr1tm1t6.js → job-m9w3n0mg.js} +18 -18
- package/dist/chunks/{pty-mazbtkaa.js → job-mazbtkaa.js} +2 -2
- package/dist/chunks/{pty-emz89tv7.js → job-mb942295.js} +6 -6
- package/dist/chunks/{pty-8spjttef.js → job-mnatkcvs.js} +15 -15
- package/dist/chunks/{pty-0htt3qwy.js → job-mvsyj89v.js} +16 -16
- package/dist/chunks/{pty-wj8xfhrt.js → job-n5cwecme.js} +11 -11
- package/dist/chunks/{pty-n34nv609.js → job-n6zvr2de.js} +12 -12
- package/dist/chunks/{pty-6ysrkrkr.js → job-ncjresk4.js} +8 -8
- package/dist/chunks/{pty-ba07h9gm.js → job-ndmv45hp.js} +3 -3
- package/dist/chunks/{pty-rp04m9y7.js → job-nmj4sc10.js} +46 -46
- package/dist/chunks/{pty-bq7b46md.js → job-nyq4a4fc.js} +11 -11
- package/dist/chunks/{pty-9g3vzsh2.js → job-p2nvpx2k.js} +4 -4
- package/dist/chunks/{pty-tpw6cwsb.js → job-p37cw4rj.js} +8 -8
- package/dist/chunks/{pty-thfkeznf.js → job-p4qpgq5w.js} +13 -13
- package/dist/chunks/{pty-6zzs5mwg.js → job-p66spjd3.js} +16 -16
- package/dist/chunks/{pty-5r1ecmk3.js → job-pdbycm33.js} +10 -10
- package/dist/chunks/{pty-0b3yex2r.js → job-pe6nkb5a.js} +11 -11
- package/dist/chunks/{pty-nryt7kay.js → job-pjcgw4ep.js} +23 -23
- package/dist/chunks/{pty-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{pty-2m8jawch.js → job-pkqb68ka.js} +4 -4
- package/dist/chunks/{pty-0j77ygfz.js → job-q0xm7vwc.js} +6 -6
- package/dist/chunks/{pty-k7y6sfy1.js → job-q9tmrnjs.js} +47 -47
- package/dist/chunks/{pty-7dqw4kz8.js → job-qgn6gcr1.js} +5 -5
- package/dist/chunks/{pty-r4dcwnmb.js → job-qhev78dh.js} +27 -27
- package/dist/chunks/{pty-kjfdeayr.js → job-qm7jrdpz.js} +8 -8
- package/dist/chunks/{pty-qnc92qwc.js → job-qnc92qwc.js} +1 -1
- package/dist/chunks/{pty-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-b37nj31g.js → job-r56c9npx.js} +23 -23
- package/dist/chunks/{pty-54ma36ye.js → job-r94pvvab.js} +4 -4
- package/dist/chunks/{pty-espax8zg.js → job-ra4n65wq.js} +4 -4
- package/dist/chunks/{pty-rdw6cm16.js → job-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-wdbg2mx5.js → job-rmvwey32.js} +12 -12
- package/dist/chunks/{pty-5eftksh5.js → job-s1d9451n.js} +11 -11
- package/dist/chunks/{pty-btsk7ns6.js → job-s4bzjdtc.js} +77 -77
- package/dist/chunks/{pty-p3xya2zq.js → job-s8fpqbyp.js} +30 -30
- package/dist/chunks/{pty-1q5awywt.js → job-sfkj0ta1.js} +5 -5
- package/dist/chunks/{pty-3bvvdvt1.js → job-sjv6995p.js} +36 -36
- package/dist/chunks/{pty-2mqpdq13.js → job-sn1m68sv.js} +6 -6
- package/dist/chunks/{pty-zgw7gart.js → job-sph0c6my.js} +6 -6
- package/dist/chunks/{pty-65d6t9nm.js → job-sre7hmsk.js} +46 -46
- package/dist/chunks/{pty-9a3mtckk.js → job-szfn71ha.js} +18 -18
- package/dist/chunks/{pty-rfdgkn6p.js → job-t46632zz.js} +27 -27
- package/dist/chunks/{pty-j1qwbh4p.js → job-t6gerxyh.js} +22 -22
- package/dist/chunks/{pty-dnkc5m6k.js → job-t70rm84y.js} +5 -5
- package/dist/chunks/{pty-ekezbvqg.js → job-t7rnasjk.js} +319 -319
- package/dist/chunks/{pty-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-tcezcvh9.js → job-tcezcvh9.js} +1 -1
- package/dist/chunks/{pty-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{pty-tfjx5c9j.js → job-txjd4fkc.js} +7 -7
- package/dist/chunks/{pty-h4bqv94p.js → job-v3f136vv.js} +35 -35
- package/dist/chunks/{pty-jymza7x7.js → job-v9trm35v.js} +5 -5
- package/dist/chunks/{pty-nca7p386.js → job-va5qff5x.js} +4 -4
- package/dist/chunks/{pty-n099z6kj.js → job-veaa2jnh.js} +5 -5
- package/dist/chunks/{pty-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-f992e8rm.js → job-vmmb59q1.js} +48 -48
- package/dist/chunks/{pty-sxzvkvgj.js → job-vqfzq50h.js} +6 -6
- package/dist/chunks/{pty-ypj3qt3a.js → job-vrzvd6vk.js} +13 -13
- package/dist/chunks/{pty-vzcthcp8.js → job-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-vzs5sf6e.js → job-vzs5sf6e.js} +1 -1
- package/dist/chunks/{pty-9804v7wv.js → job-w3kkect8.js} +25 -25
- package/dist/chunks/{pty-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-1p07q0wb.js → job-w92k2e0p.js} +6 -6
- package/dist/chunks/{pty-v9ywz4w0.js → job-wc8m6r6z.js} +19 -19
- package/dist/chunks/{pty-bfnsmjbw.js → job-wcb5wh0w.js} +5 -5
- package/dist/chunks/{pty-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{pty-86ndwq9q.js → job-wdbgrp5e.js} +59 -59
- package/dist/chunks/{pty-d79y3jv5.js → job-wpc8vrn3.js} +29 -29
- package/dist/chunks/{pty-t550f9t1.js → job-wv396vej.js} +8 -8
- package/dist/chunks/{pty-vnfn90d3.js → job-x05ygdqx.js} +24 -24
- package/dist/chunks/{pty-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-p3gefhvv.js → job-x389qe1e.js} +3 -3
- package/dist/chunks/{pty-wj0fpcc3.js → job-xb9w92bz.js} +35 -35
- package/dist/chunks/{pty-5qwkxp89.js → job-xf0nr9dv.js} +4 -4
- package/dist/chunks/{pty-cx924f93.js → job-xg80ng6d.js} +23 -23
- package/dist/chunks/{pty-e8qyrgb1.js → job-xjtsx636.js} +5 -5
- package/dist/chunks/{pty-xkntkrq7.js → job-xkntkrq7.js} +2 -2
- package/dist/chunks/{pty-4r3m895s.js → job-xpja5686.js} +3 -3
- package/dist/chunks/{pty-bydnjh3t.js → job-xrpg47n6.js} +8 -8
- package/dist/chunks/{pty-xyafkbt0.js → job-xyafkbt0.js} +3 -3
- package/dist/chunks/{pty-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-0ymz9t41.js → job-y3agzp4d.js} +15 -15
- package/dist/chunks/{pty-mpk0rfs5.js → job-y6bex35g.js} +4 -4
- package/dist/chunks/{pty-vkeqp8nw.js → job-yamh1021.js} +6 -6
- package/dist/chunks/{pty-ykwjawef.js → job-ycp453gp.js} +22 -22
- package/dist/chunks/{pty-qxppefrw.js → job-yg038512.js} +18 -18
- package/dist/chunks/{pty-r8xr0va3.js → job-yp2x3t23.js} +4 -4
- package/dist/chunks/{pty-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-6pz0f3gp.js → job-yrmrwfkv.js} +28 -28
- package/dist/chunks/{pty-jhpaar4x.js → job-yvvvp4gn.js} +8 -8
- package/dist/chunks/{pty-d4pshd8q.js → job-yztwdbt3.js} +14 -14
- package/dist/chunks/{pty-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-mcc6t1v4.js → job-zh63pyfs.js} +5 -5
- package/dist/chunks/{pty-cyswwyve.js → job-zhcr9qtq.js} +17 -17
- package/dist/chunks/{pty-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-bj1wp5mv.js → job-zr8gyxhx.js} +35 -35
- package/dist/chunks/{pty-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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.js +2 -2
- package/dist/image.js +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- 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 +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +1 -1
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -353
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +91 -91
- package/dist/plugin/warming.js +121 -121
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- 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 +139 -139
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/pty-1x11rq2a.js +0 -18
- package/dist/chunks/pty-cyrqa2n4.js +0 -252
- /package/dist/chunks/{pty-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → job-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-34c7v6d4.js → job-34c7v6d4.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → job-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-8wj87zfr.js → job-8wj87zfr.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → job-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → job-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → job-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z5v4ffb3.js → job-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./job-mvsyj89v.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event17,
|
|
7
|
+
Service69,
|
|
8
|
+
node73
|
|
9
|
+
} from "./job-3f358k6q.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service46,
|
|
12
|
+
node49
|
|
13
|
+
} from "./job-x05ygdqx.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service78,
|
|
19
|
+
node82
|
|
20
|
+
} from "./job-dqpy1reh.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-4ts7tf6z.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-73tvmyfv.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./job-k4x3mqg7.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./job-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service47,
|
|
36
|
+
Event8,
|
|
37
|
+
node50
|
|
38
|
+
} from "./job-r56c9npx.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./job-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options5,
|
|
48
|
+
Service: () => Service45,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured6,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer20,
|
|
53
|
+
node: () => node48,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options5 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service45 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service45, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer20 = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
98
|
-
const bus = yield*
|
|
99
|
-
const credentials = yield*
|
|
96
|
+
const location = yield* Service78;
|
|
97
|
+
const watcher = yield* Service46;
|
|
98
|
+
const bus = yield* Service82;
|
|
99
|
+
const credentials = yield* Service69;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service47;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -221,8 +221,8 @@ var layer23 = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event8.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -250,7 +250,7 @@ var layer23 = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service45.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer23 = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured6(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service45,
|
|
268
|
+
layer: layer20(options),
|
|
269
|
+
deps: [node49, node86, FSUtil.node, Global.node, node82, node73, node50]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node48 = configured6();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options5, Service45, Test2, testLayer2, layer20, configured6, node48, exports_config };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service44,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node47
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service44 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service44.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node47 = makeLocationNode({
|
|
137
|
+
service: Service44,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service44, node47, exports_tool_output2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./job-47r9vgy9.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service48;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service4,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node5
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service4 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node5 = makeLocationNode({
|
|
19
|
+
service: Service4,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service4, node5, bound2, exports_instance2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service64,
|
|
3
|
+
node68
|
|
4
|
+
} from "./job-1twmk53z.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-ndmv45hp.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service40,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node42,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service40 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service64;
|
|
59
|
+
return Service40.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node42 = makeLocationNode({ service: Service40, layer, deps: [node68] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service40, resolved2, node42, exports_model };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./job-mvsyj89v.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
19
|
ID: () => ID15,
|
|
20
|
-
Info: () =>
|
|
20
|
+
Info: () => Info30,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service77,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer25,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node81,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
38
|
var ID15 = Form.ID;
|
|
39
|
-
var
|
|
39
|
+
var Info30 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -79,10 +79,10 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service77 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer25 = Layer.effect(
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer25 = Layer.effect(Service77, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service82;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
@@ -162,9 +162,9 @@ var layer25 = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service77.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node81 = makeLocationNode({ service: Service77, layer: layer25, deps: [node86] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export { ID15,
|
|
319
|
+
export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service77, layer25, node81, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-v3f136vv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service45
|
|
7
|
+
} from "./job-nmj4sc10.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-yamh1021.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service45;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make10(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
providers.models.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID8.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make10(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make4();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make4, LMStudioPlugin2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-x389qe1e.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-2mdpkgg5.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
13
13
|
__export(exports_database, {
|
|
14
14
|
Database: () => exports_database,
|
|
15
15
|
Options: () => Options11,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service83,
|
|
17
17
|
configured: () => configured13,
|
|
18
18
|
configuredClient: () => configuredClient2,
|
|
19
19
|
layer: () => layer26,
|
|
20
20
|
layerFromClient: () => layerFromClient2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node87
|
|
22
22
|
});
|
|
23
23
|
import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
|
|
24
24
|
import { Context, Effect, Layer, Schema, Semaphore } from "effect";
|
|
@@ -32,9 +32,9 @@ var Options11 = Schema.Struct({
|
|
|
32
32
|
path: Schema.optional(Schema.String)
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service83 extends Context.Service()("@opencode/storage/Database") {
|
|
36
36
|
}
|
|
37
|
-
var databaseLayer = (lock) => Layer.effect(
|
|
37
|
+
var databaseLayer = (lock) => Layer.effect(Service83, Effect.gen(function* () {
|
|
38
38
|
const db = yield* makeDatabase;
|
|
39
39
|
if (supportsTuningPragmas) {
|
|
40
40
|
yield* db.run("PRAGMA journal_mode = WAL");
|
|
@@ -82,15 +82,15 @@ async function restrictToOwner(filename) {
|
|
|
82
82
|
}
|
|
83
83
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
84
84
|
function configured13(options) {
|
|
85
|
-
return makeGlobalNode({ service:
|
|
85
|
+
return makeGlobalNode({ service: Service83, layer: layer26(options), deps: [Global.node] });
|
|
86
86
|
}
|
|
87
87
|
function configuredClient2(client) {
|
|
88
88
|
return makeGlobalNode({
|
|
89
|
-
service:
|
|
89
|
+
service: Service83,
|
|
90
90
|
layer: layerFromClient2.pipe(Layer.provide(client)),
|
|
91
91
|
deps: [Global.node]
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
|
-
var
|
|
94
|
+
var node87 = configured13({ path: ":memory:" });
|
|
95
95
|
|
|
96
|
-
export { Options11,
|
|
96
|
+
export { Options11, Service83, layer26, layerFromClient2, configured13, configuredClient2, node87, exports_database };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-1yms2fw9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID8,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info22,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-v3f136vv.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models = {};
|
|
17
|
+
__export(exports_models, {
|
|
18
|
+
ModalModels: () => exports_models,
|
|
19
|
+
derive: () => derive2,
|
|
20
|
+
get: () => get2,
|
|
21
|
+
load: () => load2
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID9.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get2(baseURL, apiKey, existing) {
|
|
58
|
+
return derive2(baseURL, await load2(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load2(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load3(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive2(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID8.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID8.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info22.make({
|
|
98
|
+
...Info22.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID8.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get2, load2, derive2, exports_models };
|