@opencode/core 0.0.0-dev-879 → 0.0.0-dev-892
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 +88 -88
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +246 -246
- package/dist/bus.js +80 -80
- package/dist/chunks/{console-access-2zm96vnn.js → event-logger-02ct3eem.js} +5 -5
- package/dist/chunks/{console-access-034tev2y.js → event-logger-034tev2y.js} +2 -2
- package/dist/chunks/{console-access-e15tmtxy.js → event-logger-074qhhck.js} +6 -6
- package/dist/chunks/{console-access-nt907s04.js → event-logger-0d9h2c3x.js} +3 -3
- package/dist/chunks/{console-access-hqg7n2ew.js → event-logger-0ex746g5.js} +4 -4
- package/dist/chunks/{console-access-ybws1qgk.js → event-logger-0h86f0az.js} +4 -4
- package/dist/chunks/{console-access-0j7gp832.js → event-logger-0j7gp832.js} +1 -1
- package/dist/chunks/{console-access-bp60ayxk.js → event-logger-0k9p0h2k.js} +13 -13
- package/dist/chunks/{console-access-0ma9gw4f.js → event-logger-0ma9gw4f.js} +2 -2
- package/dist/chunks/{console-access-59wp3ahd.js → event-logger-0n9bx249.js} +29 -29
- package/dist/chunks/{console-access-39sgvy3e.js → event-logger-0php2d2a.js} +4 -4
- package/dist/chunks/{console-access-5w2pny8p.js → event-logger-0q7dyhp6.js} +8 -8
- package/dist/chunks/{console-access-r8bkc6a2.js → event-logger-0rdj797v.js} +5 -5
- package/dist/chunks/{console-access-nzpxmkm5.js → event-logger-0xkg24zk.js} +28 -32
- package/dist/chunks/{console-access-ydsespw1.js → event-logger-160yv0cs.js} +4 -4
- package/dist/chunks/{console-access-tdh3mhqx.js → event-logger-17452w76.js} +12 -12
- package/dist/chunks/{console-access-phb62a1v.js → event-logger-189zs3b8.js} +10 -10
- package/dist/chunks/{console-access-7cer1mr6.js → event-logger-19s9nrwf.js} +4 -4
- package/dist/chunks/{console-access-1aqsckx4.js → event-logger-1aqsckx4.js} +1 -1
- package/dist/chunks/{console-access-1ep2p91f.js → event-logger-1ep2p91f.js} +2 -2
- package/dist/chunks/{console-access-kfkv0f02.js → event-logger-1vw1hhqb.js} +34 -34
- package/dist/chunks/{console-access-1x2knyw4.js → event-logger-1x2knyw4.js} +1 -1
- package/dist/chunks/{console-access-pt440cgm.js → event-logger-23ppzeqs.js} +33 -33
- package/dist/chunks/{console-access-xj4rgmv9.js → event-logger-23wmfp43.js} +24 -24
- package/dist/chunks/{console-access-ta9f3nw2.js → event-logger-25hkaegy.js} +13 -13
- package/dist/chunks/event-logger-26xw1n6q.js +26 -0
- package/dist/chunks/{console-access-sx27c7qs.js → event-logger-2bswbpgz.js} +7 -7
- package/dist/chunks/{console-access-2fc7eemy.js → event-logger-2fc7eemy.js} +1 -1
- package/dist/chunks/{console-access-jahxfc61.js → event-logger-2gcw5fz7.js} +9 -9
- package/dist/chunks/{console-access-h5dhyrze.js → event-logger-2rwbqqk4.js} +12 -15
- package/dist/chunks/{console-access-6f6jm3cp.js → event-logger-31avdb49.js} +5 -5
- package/dist/chunks/{console-access-nddw9bth.js → event-logger-3450dmdx.js} +13 -13
- package/dist/chunks/{console-access-twx43s51.js → event-logger-37yf26y7.js} +5 -5
- package/dist/chunks/{console-access-sf9y72b7.js → event-logger-38aws4xb.js} +4 -4
- package/dist/chunks/{console-access-d4j0sj6q.js → event-logger-3dk66214.js} +23 -23
- package/dist/chunks/{console-access-ky596kc3.js → event-logger-3gv0spa2.js} +4 -4
- package/dist/chunks/{console-access-k6fx02sa.js → event-logger-3h5z7vgp.js} +24 -24
- package/dist/chunks/{console-access-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
- package/dist/chunks/{console-access-dpsay19z.js → event-logger-3jgbjpr1.js} +15 -15
- package/dist/chunks/{console-access-g0kdwsne.js → event-logger-3mryy5hd.js} +5 -5
- package/dist/chunks/{console-access-3nnrz6f6.js → event-logger-3nnrz6f6.js} +1 -1
- package/dist/chunks/{console-access-sb7mpf5j.js → event-logger-3rq8m51m.js} +15 -15
- package/dist/chunks/{console-access-ch5xmmhs.js → event-logger-3w343411.js} +28 -28
- package/dist/chunks/{console-access-yh81c8h8.js → event-logger-3ztwrxep.js} +21 -21
- package/dist/chunks/{console-access-40y6dtc2.js → event-logger-40y6dtc2.js} +1 -1
- package/dist/chunks/{console-access-1y84fppc.js → event-logger-461f2rcz.js} +3 -3
- package/dist/chunks/{console-access-4dx1dgte.js → event-logger-4dx1dgte.js} +1 -1
- package/dist/chunks/{console-access-nwpjf9fd.js → event-logger-4mahgh79.js} +10 -10
- package/dist/chunks/{console-access-5cx0fhj3.js → event-logger-4mcv9g69.js} +9 -9
- package/dist/chunks/{console-access-nttn14j9.js → event-logger-4pw98qd4.js} +4 -4
- package/dist/chunks/{console-access-4pyp9zr9.js → event-logger-4pyp9zr9.js} +1 -1
- package/dist/chunks/{console-access-4v008n1t.js → event-logger-4v008n1t.js} +1 -1
- package/dist/chunks/{console-access-vmcj98ea.js → event-logger-4wqemmxb.js} +8 -8
- package/dist/chunks/{console-access-cw2t0p4x.js → event-logger-51kt8vqr.js} +81 -81
- package/dist/chunks/{console-access-0hvxe2tb.js → event-logger-51zaerfh.js} +33 -33
- package/dist/chunks/{console-access-tk32px4g.js → event-logger-55271zqq.js} +37 -37
- package/dist/chunks/{console-access-ryx8ktat.js → event-logger-572t6fnq.js} +5 -5
- package/dist/chunks/{console-access-yndsxktk.js → event-logger-59hd7tc6.js} +11 -11
- package/dist/chunks/{console-access-gwyytpcj.js → event-logger-5asgddgx.js} +6 -6
- package/dist/chunks/{console-access-af00esg1.js → event-logger-5byntdag.js} +25 -25
- package/dist/chunks/{console-access-qabg10ff.js → event-logger-5js5wbdj.js} +27 -27
- package/dist/chunks/{console-access-5m9w47nd.js → event-logger-5m9w47nd.js} +1 -1
- package/dist/chunks/{console-access-a214fsf6.js → event-logger-5wyzzdh8.js} +11 -11
- package/dist/chunks/{console-access-61qraad9.js → event-logger-61qraad9.js} +2 -2
- package/dist/chunks/{console-access-jjvvtnfs.js → event-logger-62zd5tzk.js} +5 -5
- package/dist/chunks/{console-access-cpvd08na.js → event-logger-63xym3gh.js} +4 -4
- package/dist/chunks/{console-access-xx9fzj6b.js → event-logger-6538m5zf.js} +10 -10
- package/dist/chunks/{console-access-h80jffhe.js → event-logger-65ckc8p3.js} +19 -19
- package/dist/chunks/{console-access-707486qq.js → event-logger-67s37gp7.js} +4 -4
- package/dist/chunks/{console-access-rjxwmbd9.js → event-logger-68teftay.js} +22 -22
- package/dist/chunks/{console-access-n6ydcrmh.js → event-logger-6ejjbczr.js} +6 -6
- package/dist/chunks/{console-access-b3j7vjy1.js → event-logger-6n43x6px.js} +5 -5
- package/dist/chunks/{console-access-tw77c4q5.js → event-logger-76sc5fc6.js} +36 -36
- package/dist/chunks/{console-access-wvr8xscb.js → event-logger-79k544d0.js} +7 -7
- package/dist/chunks/{console-access-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
- package/dist/chunks/{console-access-fn6cs1ex.js → event-logger-7dbrtjsx.js} +14 -14
- package/dist/chunks/{console-access-adxjch7y.js → event-logger-7dykt898.js} +33 -33
- package/dist/chunks/{console-access-9s6yb7zj.js → event-logger-7hxw40qb.js} +9 -9
- package/dist/chunks/{console-access-4y2pzqn7.js → event-logger-7jmaf9hv.js} +9 -9
- package/dist/chunks/{console-access-65zzbc8y.js → event-logger-7ke2z32d.js} +6 -6
- package/dist/chunks/{console-access-ssexzbw3.js → event-logger-7s1wk4pk.js} +12 -12
- package/dist/chunks/{console-access-ragyf0mv.js → event-logger-7v9favrf.js} +31 -31
- package/dist/chunks/{console-access-7w2ypzdf.js → event-logger-7w2ypzdf.js} +1 -1
- package/dist/chunks/{console-access-7weczvnd.js → event-logger-7weczvnd.js} +1 -1
- package/dist/chunks/{console-access-0j01a0de.js → event-logger-7zek9829.js} +37 -37
- package/dist/chunks/{console-access-9xm9hq9d.js → event-logger-8054w6j6.js} +11 -11
- package/dist/chunks/{console-access-80mg3ag8.js → event-logger-80mg3ag8.js} +3 -3
- package/dist/chunks/{console-access-3wkaht1m.js → event-logger-80n0ya2z.js} +7 -7
- package/dist/chunks/{console-access-2308p42j.js → event-logger-83jaandp.js} +18 -18
- package/dist/chunks/{console-access-jsr1sy8j.js → event-logger-8523rkyj.js} +12 -12
- package/dist/chunks/{console-access-89287pr7.js → event-logger-89287pr7.js} +1 -1
- package/dist/chunks/{console-access-8b3vzgkx.js → event-logger-8b3vzgkx.js} +1 -1
- package/dist/chunks/{console-access-j6t9wq5p.js → event-logger-8c3a1y3h.js} +1 -1
- package/dist/chunks/{console-access-8cg7mtm3.js → event-logger-8cg7mtm3.js} +1 -1
- package/dist/chunks/{console-access-1jyjqvd9.js → event-logger-8dmpkg7y.js} +28 -28
- package/dist/chunks/{console-access-74yn5hq7.js → event-logger-8gpdtejb.js} +20 -20
- package/dist/chunks/{console-access-0dqez1tf.js → event-logger-8h77agxq.js} +23 -23
- package/dist/chunks/{console-access-8sxe6kv8.js → event-logger-8sxe6kv8.js} +2 -2
- package/dist/chunks/{console-access-8wtp7s3z.js → event-logger-8wtp7s3z.js} +1 -1
- package/dist/chunks/{console-access-kbgs7tyr.js → event-logger-8xz27cp9.js} +4 -4
- package/dist/chunks/{console-access-8zv0xmg5.js → event-logger-8zv0xmg5.js} +1 -1
- package/dist/chunks/{console-access-je18emt4.js → event-logger-9beqts2g.js} +19 -19
- package/dist/chunks/{console-access-d00kzgxw.js → event-logger-9bs8vsaq.js} +73 -73
- package/dist/chunks/{console-access-7f67471r.js → event-logger-9d6wjg0a.js} +18 -18
- package/dist/chunks/{console-access-c01tm8sz.js → event-logger-9deqve51.js} +15 -15
- package/dist/chunks/{console-access-1ppk8trx.js → event-logger-9f4w71gj.js} +15 -15
- package/dist/chunks/{console-access-kcpdc0w1.js → event-logger-9h9gknhd.js} +10 -10
- package/dist/chunks/{console-access-qbkag7ec.js → event-logger-9kh3h3y0.js} +11 -11
- package/dist/chunks/{console-access-q84jpyqm.js → event-logger-9rztdry8.js} +11 -11
- package/dist/chunks/{console-access-7f2vc5v2.js → event-logger-9xzr77jx.js} +48 -48
- package/dist/chunks/{console-access-my7q5y0b.js → event-logger-a35sr0b6.js} +9 -9
- package/dist/chunks/{console-access-33y5ppn6.js → event-logger-a3z1q8zt.js} +14 -14
- package/dist/chunks/{console-access-h37zja9h.js → event-logger-aax7r870.js} +6 -6
- package/dist/chunks/{console-access-48z8nhq0.js → event-logger-aew8rpfa.js} +18 -18
- package/dist/chunks/{console-access-kbr8jv9c.js → event-logger-axskksgc.js} +25 -25
- package/dist/chunks/{console-access-ayjs7tqn.js → event-logger-ayjs7tqn.js} +2 -2
- package/dist/chunks/{console-access-xvn8mnch.js → event-logger-azqdag7d.js} +4 -4
- package/dist/chunks/{console-access-p2ydvmj8.js → event-logger-b9pvq46e.js} +13 -13
- package/dist/chunks/{console-access-7e2j3wjg.js → event-logger-bbzy17b9.js} +59 -59
- package/dist/chunks/{console-access-btf56eqa.js → event-logger-bdaygxa6.js} +26 -26
- package/dist/chunks/{console-access-1yq9hg58.js → event-logger-bdhd9h6e.js} +5 -5
- package/dist/chunks/{console-access-hak8k448.js → event-logger-bh44pqhp.js} +15 -15
- package/dist/chunks/{console-access-g536zxyr.js → event-logger-bpc17s8v.js} +20 -20
- package/dist/chunks/{console-access-knhvkna8.js → event-logger-bpqkk4rq.js} +82 -82
- package/dist/chunks/{console-access-xd9cc171.js → event-logger-bstexjd6.js} +5 -5
- package/dist/chunks/{console-access-0n6z3we4.js → event-logger-bx958sf8.js} +24 -24
- package/dist/chunks/{console-access-zpdbqgja.js → event-logger-by8ty0bx.js} +4 -4
- package/dist/chunks/{console-access-cpekm03k.js → event-logger-byg8gfhm.js} +4 -4
- package/dist/chunks/{console-access-7yssb2rm.js → event-logger-bzz00sbm.js} +7 -7
- package/dist/chunks/{console-access-pmqgc290.js → event-logger-c0r5cqvh.js} +10 -10
- package/dist/chunks/{console-access-c7cw818c.js → event-logger-c7cw818c.js} +2 -2
- package/dist/chunks/{console-access-b1x16a9v.js → event-logger-cmffm6qs.js} +19 -19
- package/dist/chunks/{console-access-82phgae0.js → event-logger-cr44ae3x.js} +5 -5
- package/dist/chunks/{console-access-a8t5mnka.js → event-logger-csbkhh9r.js} +34 -34
- package/dist/chunks/{console-access-vffdjkh9.js → event-logger-cttnq2ya.js} +11 -11
- package/dist/chunks/{console-access-cwrgdav8.js → event-logger-cwrgdav8.js} +2 -2
- package/dist/chunks/{console-access-2yz2nnfe.js → event-logger-cxvat2mj.js} +22 -22
- package/dist/chunks/{console-access-7hvrn7ye.js → event-logger-cyw90pqg.js} +15 -15
- package/dist/chunks/{console-access-fw8p97wd.js → event-logger-czsg6qa7.js} +42 -42
- package/dist/chunks/{console-access-9chb8fcd.js → event-logger-czx3by8z.js} +16 -16
- package/dist/chunks/{console-access-v54nt50g.js → event-logger-d4tmeg7z.js} +32 -32
- package/dist/chunks/{console-access-d4v9tmah.js → event-logger-d4v9tmah.js} +2 -2
- package/dist/chunks/{console-access-gq82catr.js → event-logger-dcd7sf2d.js} +10 -10
- package/dist/chunks/{console-access-h6f6wpdb.js → event-logger-deq7zezz.js} +4 -4
- package/dist/chunks/{console-access-dt77769w.js → event-logger-dt77769w.js} +1 -1
- package/dist/chunks/{console-access-xrn79ydy.js → event-logger-dy7cgtbm.js} +58 -59
- package/dist/chunks/{console-access-whcc86p1.js → event-logger-e1gc2t3g.js} +190 -190
- package/dist/chunks/{console-access-zxrnt3zy.js → event-logger-e253s4ac.js} +17 -17
- package/dist/chunks/{console-access-f6v3rs07.js → event-logger-e7gzwz94.js} +12 -12
- package/dist/chunks/{console-access-e834z07m.js → event-logger-e834z07m.js} +1 -1
- package/dist/chunks/{console-access-6fgvf1ye.js → event-logger-ead14kf1.js} +35 -35
- package/dist/chunks/{console-access-e5653pfs.js → event-logger-ejgeqqx1.js} +8 -8
- package/dist/chunks/{console-access-hn6y0yt3.js → event-logger-emwsg0fj.js} +43 -43
- package/dist/chunks/{console-access-9wyg2xva.js → event-logger-eqn2xv21.js} +35 -35
- package/dist/chunks/{console-access-eqw4pqj1.js → event-logger-eqw4pqj1.js} +2 -2
- package/dist/chunks/{console-access-50d0wh9d.js → event-logger-eqxe8rhz.js} +11 -11
- package/dist/chunks/{console-access-ap5qm11c.js → event-logger-ex1wgdz4.js} +21 -21
- package/dist/chunks/{console-access-16axznpc.js → event-logger-f45mtqja.js} +30 -30
- package/dist/chunks/{console-access-q48ts325.js → event-logger-fdrbqvh6.js} +9 -9
- package/dist/chunks/{console-access-watszvv5.js → event-logger-ff2d2kf1.js} +5 -5
- package/dist/chunks/{console-access-fffv3p7h.js → event-logger-fffv3p7h.js} +1 -1
- package/dist/chunks/event-logger-ffm8k566.js +265 -0
- package/dist/chunks/{console-access-fg9p65nk.js → event-logger-fg9p65nk.js} +2 -2
- package/dist/chunks/{console-access-at1kchjw.js → event-logger-fpjxw46t.js} +6 -6
- package/dist/chunks/{console-access-weqc7sb9.js → event-logger-fyfzbt3s.js} +2 -2
- package/dist/chunks/{console-access-g4txs7zc.js → event-logger-g4txs7zc.js} +4 -4
- package/dist/chunks/{console-access-20ybj28r.js → event-logger-g4zsvtq0.js} +15 -15
- package/dist/chunks/{console-access-gbjdnr5j.js → event-logger-gbjdnr5j.js} +2 -2
- package/dist/chunks/{console-access-38fhw3a4.js → event-logger-gdb8gb6g.js} +7 -7
- package/dist/chunks/{console-access-k8r0663n.js → event-logger-ggz19km9.js} +45 -45
- package/dist/chunks/{console-access-ghrv1g9c.js → event-logger-ghrv1g9c.js} +1 -1
- package/dist/chunks/{console-access-d34c0f98.js → event-logger-gn6qas9s.js} +8 -8
- package/dist/chunks/{console-access-nw5eecxx.js → event-logger-gnkmn8c6.js} +1 -1
- package/dist/chunks/event-logger-grzj74dp.js +577 -0
- package/dist/chunks/{console-access-0h4dp8ja.js → event-logger-gxx5n6vy.js} +30 -30
- package/dist/chunks/{console-access-k1jgfcav.js → event-logger-h0aw0xcs.js} +9 -9
- package/dist/chunks/{console-access-1awdcv9g.js → event-logger-h49hp34r.js} +13 -13
- package/dist/chunks/{console-access-hgzwgvze.js → event-logger-hgzwgvze.js} +2 -2
- package/dist/chunks/{console-access-8t99kr38.js → event-logger-hkf8spj2.js} +7 -7
- package/dist/chunks/{console-access-3ce30d9b.js → event-logger-hm1ec11z.js} +14 -14
- package/dist/chunks/{console-access-v87x5z3k.js → event-logger-hn1m907y.js} +9 -9
- package/dist/chunks/{console-access-1e7dw3dy.js → event-logger-hrfssxzn.js} +31 -31
- package/dist/chunks/{console-access-sr0q0hwe.js → event-logger-hxmw4pfp.js} +52 -52
- package/dist/chunks/{console-access-4vt30ajb.js → event-logger-hyq7ny1j.js} +17 -17
- package/dist/chunks/{console-access-6jy58k19.js → event-logger-hz63kff2.js} +4 -4
- package/dist/chunks/{console-access-j376ae4e.js → event-logger-j376ae4e.js} +1 -1
- package/dist/chunks/{console-access-fdxt4w1n.js → event-logger-j3k739k1.js} +4 -4
- package/dist/chunks/{console-access-50zy4sg4.js → event-logger-j995642n.js} +11 -11
- package/dist/chunks/{console-access-6c07g41p.js → event-logger-jgegbhe4.js} +47 -47
- package/dist/chunks/{console-access-fjb0kzh0.js → event-logger-jhem0d9a.js} +6 -6
- package/dist/chunks/{console-access-pkvt6rzw.js → event-logger-jhkq54md.js} +36 -36
- package/dist/chunks/{console-access-y5zc5eye.js → event-logger-jhmmfs20.js} +5 -5
- package/dist/chunks/{console-access-hs3vzab7.js → event-logger-jj0fxw73.js} +18 -18
- package/dist/chunks/{console-access-cr4rfj9z.js → event-logger-jkdcm5hg.js} +4 -4
- package/dist/chunks/{console-access-jm70asfg.js → event-logger-jm70asfg.js} +1 -1
- package/dist/chunks/{console-access-zjwhxzh7.js → event-logger-jndeg0s5.js} +12 -12
- package/dist/chunks/{console-access-5w38p697.js → event-logger-jtn88xg7.js} +5 -5
- package/dist/chunks/{console-access-jxd6f16v.js → event-logger-jxd6f16v.js} +2 -2
- package/dist/chunks/{console-access-yrsp5e46.js → event-logger-k2qpt0zk.js} +39 -39
- package/dist/chunks/{console-access-20pht57w.js → event-logger-k46dd5bg.js} +4 -4
- package/dist/chunks/{console-access-2bnxrx9g.js → event-logger-k6acvzzp.js} +8 -8
- package/dist/chunks/{console-access-d5mjb0ab.js → event-logger-kcrxe5g6.js} +26 -26
- package/dist/chunks/{console-access-2gg3rbz5.js → event-logger-ke8d4nz8.js} +17 -17
- package/dist/chunks/{console-access-020svhet.js → event-logger-km9kxtn8.js} +30 -30
- package/dist/chunks/{console-access-28g8z4n5.js → event-logger-kpqqccsm.js} +12 -12
- package/dist/chunks/{console-access-ffad48yw.js → event-logger-kyq61t9j.js} +18 -18
- package/dist/chunks/{console-access-thjkxb1y.js → event-logger-kytm3xky.js} +9 -9
- package/dist/chunks/{console-access-kzczzf4v.js → event-logger-kzczzf4v.js} +1 -1
- package/dist/chunks/{console-access-n253bsjq.js → event-logger-m170w9hk.js} +16 -16
- package/dist/chunks/{console-access-m1714858.js → event-logger-m1714858.js} +1 -1
- package/dist/chunks/{console-access-kbeedmkf.js → event-logger-m1vrgpkz.js} +16 -16
- package/dist/chunks/{console-access-zja7sqwz.js → event-logger-m3k4f4wp.js} +28 -28
- package/dist/chunks/{console-access-egvkrdp5.js → event-logger-m46fgh23.js} +19 -19
- package/dist/chunks/{console-access-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
- package/dist/chunks/{console-access-fk1sar63.js → event-logger-matrc5aw.js} +2 -2
- package/dist/chunks/{console-access-mb7mbhnz.js → event-logger-mb7mbhnz.js} +3 -3
- package/dist/chunks/{console-access-xp23yytk.js → event-logger-mc2cd50f.js} +15 -15
- package/dist/chunks/{console-access-8phryw6q.js → event-logger-md69vhb1.js} +18 -18
- package/dist/chunks/{console-access-c6410w8k.js → event-logger-mdrjseww.js} +31 -31
- package/dist/chunks/{console-access-zsgmsw3m.js → event-logger-mecrap0n.js} +8 -8
- package/dist/chunks/{console-access-mm06edep.js → event-logger-mm06edep.js} +1 -1
- package/dist/chunks/{console-access-xrbfsp6b.js → event-logger-mptv2b35.js} +5 -5
- package/dist/chunks/{console-access-gpy3y54w.js → event-logger-mzhnyth5.js} +4 -4
- package/dist/chunks/{console-access-k80pj7nm.js → event-logger-mzy1mbez.js} +10 -10
- package/dist/chunks/{console-access-r7zrbnjn.js → event-logger-n3j33rb6.js} +4 -4
- package/dist/chunks/{console-access-ndxevp4k.js → event-logger-na4zh7w6.js} +5 -5
- package/dist/chunks/{console-access-9da1j6aa.js → event-logger-ngyqh69c.js} +23 -23
- package/dist/chunks/{console-access-t3s7x18w.js → event-logger-nhfg700v.js} +43 -43
- package/dist/chunks/{console-access-9825ktfq.js → event-logger-nhmg6cd1.js} +33 -33
- package/dist/chunks/{console-access-jfgfnjgq.js → event-logger-ntaabztc.js} +6 -6
- package/dist/chunks/{console-access-3c7qpzd7.js → event-logger-nwyfjcs7.js} +8 -8
- package/dist/chunks/{console-access-75swp423.js → event-logger-nz6g494t.js} +25 -25
- package/dist/chunks/{console-access-ba4m8rp7.js → event-logger-nznkv68n.js} +12 -12
- package/dist/chunks/{console-access-64sw02mk.js → event-logger-p0fvjn2m.js} +4 -4
- package/dist/chunks/{console-access-zrsebjgn.js → event-logger-p96srfh5.js} +20 -20
- package/dist/chunks/{console-access-tg05gr4h.js → event-logger-pct4p3yk.js} +6 -6
- package/dist/chunks/{console-access-b04vnkpk.js → event-logger-pgmzfdk5.js} +7 -7
- package/dist/chunks/{console-access-pknna89w.js → event-logger-pknna89w.js} +1 -1
- package/dist/chunks/{console-access-d4fz9z49.js → event-logger-q500dmz2.js} +19 -19
- package/dist/chunks/{console-access-tbt76yr1.js → event-logger-q5h1hz5x.js} +23 -23
- package/dist/chunks/{console-access-b8kgcdbj.js → event-logger-q92r6wg6.js} +30 -30
- package/dist/chunks/{console-access-vf5ahxje.js → event-logger-qcsq32s1.js} +6 -6
- package/dist/chunks/{console-access-cr83vcst.js → event-logger-qj3ncjqk.js} +7 -7
- package/dist/chunks/event-logger-qmh7vbk2.js +18 -0
- package/dist/chunks/{console-access-j8sbn354.js → event-logger-qmpm55vb.js} +21 -21
- package/dist/chunks/{console-access-qp7r0hxv.js → event-logger-qp7r0hxv.js} +1 -1
- package/dist/chunks/{console-access-7c222tff.js → event-logger-qpw46gtf.js} +15 -15
- package/dist/chunks/{console-access-51db0ms8.js → event-logger-qqarxf7p.js} +49 -49
- package/dist/chunks/{console-access-n8zaw1tm.js → event-logger-qt7xm8h2.js} +8 -8
- package/dist/chunks/{console-access-365eavge.js → event-logger-qwz12hkq.js} +4 -4
- package/dist/chunks/{console-access-venamzt2.js → event-logger-qxc5t3fh.js} +5 -5
- package/dist/chunks/{console-access-61f1jjwk.js → event-logger-r0yxyc6f.js} +13 -13
- package/dist/chunks/{console-access-yfxqhvmj.js → event-logger-r40cwf40.js} +9 -9
- package/dist/chunks/{console-access-4f25tdd0.js → event-logger-r542h3bh.js} +5 -5
- package/dist/chunks/{console-access-a86kezft.js → event-logger-r58d7y94.js} +3 -3
- package/dist/chunks/{console-access-rb9dy4dg.js → event-logger-rb9dy4dg.js} +1 -1
- package/dist/chunks/{console-access-rgc9cx3e.js → event-logger-rgc9cx3e.js} +2 -2
- package/dist/chunks/{console-access-jdrwqyth.js → event-logger-rjpqygew.js} +11 -11
- package/dist/chunks/{console-access-rt5dr6hb.js → event-logger-rt5dr6hb.js} +1 -1
- package/dist/chunks/{console-access-81epdpce.js → event-logger-rvnns7rr.js} +26 -26
- package/dist/chunks/{console-access-2z3nyqv4.js → event-logger-s11v5awe.js} +13 -13
- package/dist/chunks/{console-access-s1ba0vj0.js → event-logger-s1ba0vj0.js} +2 -2
- package/dist/chunks/{console-access-6r72383t.js → event-logger-s1s15f1s.js} +5 -5
- package/dist/chunks/{console-access-he020dm1.js → event-logger-s4mprw62.js} +5 -5
- package/dist/chunks/{console-access-yvtcgxh5.js → event-logger-s6rsk2n9.js} +32 -32
- package/dist/chunks/{console-access-sbya78hr.js → event-logger-sbya78hr.js} +1 -1
- package/dist/chunks/{console-access-bvzv3fgh.js → event-logger-spysdwxw.js} +9 -9
- package/dist/chunks/{console-access-xs3qyxp9.js → event-logger-sr0y9bv7.js} +5 -5
- package/dist/chunks/{console-access-5ffpn19m.js → event-logger-srabb7dz.js} +13 -13
- package/dist/chunks/{console-access-gkm3nptw.js → event-logger-srcdbpr2.js} +8 -8
- package/dist/chunks/{console-access-svcy3p9a.js → event-logger-svcy3p9a.js} +1 -1
- package/dist/chunks/{console-access-82rsrcxe.js → event-logger-t0608nav.js} +3 -3
- package/dist/chunks/{console-access-xqczvvat.js → event-logger-t2s9kz02.js} +5 -5
- package/dist/chunks/{console-access-73ff1310.js → event-logger-t48jrnqq.js} +3 -3
- package/dist/chunks/{console-access-ccwp4gpf.js → event-logger-t8rdgqhb.js} +10 -10
- package/dist/chunks/{console-access-2n1pzgp4.js → event-logger-tb6fee1v.js} +3 -3
- package/dist/chunks/{console-access-tbpn7jtk.js → event-logger-tbpn7jtk.js} +1 -1
- package/dist/chunks/{console-access-tczq8hjw.js → event-logger-tczq8hjw.js} +1 -1
- package/dist/chunks/{console-access-9f3jsh1d.js → event-logger-teav1bzy.js} +9 -9
- package/dist/chunks/{console-access-gxs71cxp.js → event-logger-tg7s7b5t.js} +4 -4
- package/dist/chunks/{console-access-3jb019th.js → event-logger-tjaqvmna.js} +28 -28
- package/dist/chunks/{console-access-jkqdy9ed.js → event-logger-tjvrwq0k.js} +17 -17
- package/dist/chunks/{console-access-9vp16v78.js → event-logger-tqpaksp0.js} +8 -8
- package/dist/chunks/{console-access-n60vfk19.js → event-logger-tr50er13.js} +18 -18
- package/dist/chunks/{console-access-kkp51510.js → event-logger-ts3bqvg1.js} +17 -17
- package/dist/chunks/{console-access-w3vt6avg.js → event-logger-tsskc6h9.js} +11 -11
- package/dist/chunks/{console-access-twssxy5n.js → event-logger-twssxy5n.js} +2 -2
- package/dist/chunks/{console-access-e66s6p17.js → event-logger-v0p3ytcm.js} +29 -29
- package/dist/chunks/{console-access-w79nt68w.js → event-logger-v0t96s7a.js} +4 -4
- package/dist/chunks/{console-access-v2r1d0zg.js → event-logger-v2r1d0zg.js} +1 -1
- package/dist/chunks/{console-access-zmtdeb8k.js → event-logger-v2x06h94.js} +7 -7
- package/dist/chunks/{console-access-0a7he99r.js → event-logger-v3qajxv2.js} +13 -13
- package/dist/chunks/{console-access-qffk4v12.js → event-logger-v8bjwhbx.js} +4 -4
- package/dist/chunks/{console-access-qwp2114z.js → event-logger-vdyb4s6e.js} +20 -20
- package/dist/chunks/{console-access-7tbdxx97.js → event-logger-vh1gbyr9.js} +26 -22
- package/dist/chunks/{console-access-6pf00qw4.js → event-logger-vhcs6f4s.js} +18 -18
- package/dist/chunks/{console-access-vjf35v1f.js → event-logger-vjf35v1f.js} +1 -1
- package/dist/chunks/{console-access-r3jy1r0j.js → event-logger-vqmth87c.js} +16 -16
- package/dist/chunks/{console-access-qvdg48ry.js → event-logger-vsjvrq8f.js} +23 -23
- package/dist/chunks/{console-access-rj7j5fvs.js → event-logger-vt2d6wap.js} +4 -4
- package/dist/chunks/{console-access-rwsrbxf0.js → event-logger-vzg9t7w7.js} +11 -11
- package/dist/chunks/{console-access-5enarcya.js → event-logger-w2eysc6j.js} +6 -6
- package/dist/chunks/{console-access-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
- package/dist/chunks/{console-access-6emhjr48.js → event-logger-w57p72p4.js} +20 -20
- package/dist/chunks/{console-access-q390r4yr.js → event-logger-w6ab945r.js} +19 -19
- package/dist/chunks/{console-access-wakvkjy4.js → event-logger-wakvkjy4.js} +1 -1
- package/dist/chunks/{console-access-wd87259q.js → event-logger-wd87259q.js} +1 -1
- package/dist/chunks/{console-access-wegkxhrn.js → event-logger-wegkxhrn.js} +2 -2
- package/dist/chunks/{console-access-qsdghx1p.js → event-logger-wfdx5ztx.js} +4 -4
- package/dist/chunks/{console-access-v6kgpnze.js → event-logger-wfzyh5a9.js} +4 -4
- package/dist/chunks/{console-access-8gpw1b63.js → event-logger-whyespqn.js} +24 -24
- package/dist/chunks/{console-access-fznmdakp.js → event-logger-wr3re1en.js} +4 -4
- package/dist/chunks/{console-access-7nqkf5r1.js → event-logger-x4mcewfn.js} +4 -4
- package/dist/chunks/{console-access-z020wq3a.js → event-logger-xbfsqk1q.js} +15 -15
- package/dist/chunks/{console-access-yegdtq57.js → event-logger-xj142ye1.js} +28 -28
- package/dist/chunks/{console-access-xjbsd7zy.js → event-logger-xjbsd7zy.js} +2 -2
- package/dist/chunks/{console-access-cpc1qtbx.js → event-logger-xnreh5ed.js} +9 -9
- package/dist/chunks/{console-access-sn6psh0d.js → event-logger-xrsq8sp2.js} +37 -37
- package/dist/chunks/{console-access-33c6mgy4.js → event-logger-xwmw33nn.js} +6 -6
- package/dist/chunks/{console-access-xxschbft.js → event-logger-xxschbft.js} +1 -1
- package/dist/chunks/{console-access-3vg71ts3.js → event-logger-xyktq1rn.js} +49 -49
- package/dist/chunks/{console-access-njxvxrwr.js → event-logger-xyp0w5w2.js} +15 -15
- package/dist/chunks/{console-access-n72mmv62.js → event-logger-y1g0wtcd.js} +6 -6
- package/dist/chunks/{console-access-2f2cpm8d.js → event-logger-y8hpk01c.js} +14 -14
- package/dist/chunks/{console-access-yb20nhc3.js → event-logger-yb20nhc3.js} +1 -1
- package/dist/chunks/{console-access-3jm7g2s7.js → event-logger-ycwj4jqj.js} +18 -18
- package/dist/chunks/{console-access-q1m7yjwb.js → event-logger-yj1d80n7.js} +10 -10
- package/dist/chunks/{console-access-p973mqfy.js → event-logger-yjh7jbr3.js} +29 -29
- package/dist/chunks/{console-access-yr705xyq.js → event-logger-yr705xyq.js} +1 -1
- package/dist/chunks/{console-access-nfdedj7x.js → event-logger-yrfzjmxs.js} +22 -22
- package/dist/chunks/{console-access-yvtc2x31.js → event-logger-yvtc2x31.js} +1 -1
- package/dist/chunks/{console-access-55g2q5p5.js → event-logger-z0c26qk4.js} +2 -2
- package/dist/chunks/{console-access-k8gm7jcp.js → event-logger-z33yrdx8.js} +7 -7
- package/dist/chunks/{console-access-rgr196vp.js → event-logger-z88rdk3t.js} +9 -9
- package/dist/chunks/{console-access-j8vhtywx.js → event-logger-zbxcwakx.js} +10 -10
- package/dist/chunks/{console-access-jmh33bcs.js → event-logger-zc8yksyc.js} +17 -17
- package/dist/chunks/{console-access-ze75qvmd.js → event-logger-ze75qvmd.js} +3 -3
- package/dist/chunks/{console-access-3nw1k2zv.js → event-logger-zpzp6d8n.js} +6 -6
- package/dist/chunks/{console-access-hndf5mgk.js → event-logger-zqvy8w2r.js} +2 -2
- package/dist/chunks/{console-access-8vs4mzy0.js → event-logger-zxrwfkf3.js} +36 -36
- package/dist/chunks/{console-access-2a1ss73b.js → event-logger-zxwn8npj.js} +51 -51
- package/dist/chunks/{console-access-963hk181.js → event-logger-zyfhsknv.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +92 -92
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +5 -5
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +238 -238
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +135 -135
- package/dist/console-access.js +7 -7
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/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/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +440 -440
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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 +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +253 -253
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +129 -129
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- 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 +104 -104
- 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/notice.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 +431 -431
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +102 -102
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +179 -179
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +428 -428
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +189 -189
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +110 -110
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +115 -115
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +152 -152
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +97 -97
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +409 -409
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode.js +159 -159
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +237 -237
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +419 -419
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +251 -251
- 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 +103 -103
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +257 -257
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +171 -171
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- 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 +244 -244
- package/dist/session/execution.js +167 -167
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +152 -152
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +146 -146
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +186 -186
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +141 -141
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +243 -243
- package/dist/session/usage.js +3 -3
- package/dist/session.js +241 -241
- package/dist/shared-cache.js +5 -5
- 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 +15 -15
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +157 -157
- package/dist/snapshot.js +102 -102
- 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 +184 -184
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +165 -165
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +147 -147
- package/dist/tool/plugin/read.js +173 -173
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +239 -239
- package/dist/tool/plugin/skill.js +160 -160
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +152 -152
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +165 -165
- package/dist/types/mcp/index.d.ts +1 -2
- package/dist/usage-limits.js +98 -98
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +100 -100
- package/dist/voice.js +99 -99
- package/dist/websearch.js +97 -97
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- 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 +102 -102
- package/dist/worktree.js +107 -107
- package/package.json +8 -8
- package/dist/chunks/console-access-9wmvbnsg.js +0 -265
- package/dist/chunks/console-access-d77dj7jw.js +0 -18
- package/dist/chunks/console-access-tefgetmj.js +0 -26
- package/dist/chunks/console-access-ynm155sa.js +0 -577
- /package/dist/chunks/{console-access-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{console-access-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
- /package/dist/chunks/{console-access-108x4f4w.js → event-logger-108x4f4w.js} +0 -0
- /package/dist/chunks/{console-access-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
- /package/dist/chunks/{console-access-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
- /package/dist/chunks/{console-access-1kah00gy.js → event-logger-1kah00gy.js} +0 -0
- /package/dist/chunks/{console-access-24dcb14g.js → event-logger-24dcb14g.js} +0 -0
- /package/dist/chunks/{console-access-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
- /package/dist/chunks/{console-access-2bv980vf.js → event-logger-2bv980vf.js} +0 -0
- /package/dist/chunks/{console-access-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{console-access-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
- /package/dist/chunks/{console-access-3af0jn4w.js → event-logger-3af0jn4w.js} +0 -0
- /package/dist/chunks/{console-access-3asan66x.js → event-logger-3asan66x.js} +0 -0
- /package/dist/chunks/{console-access-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
- /package/dist/chunks/{console-access-3wcehsnq.js → event-logger-3wcehsnq.js} +0 -0
- /package/dist/chunks/{console-access-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
- /package/dist/chunks/{console-access-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
- /package/dist/chunks/{console-access-4qk9sjk2.js → event-logger-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{console-access-4y7fprxs.js → event-logger-4y7fprxs.js} +0 -0
- /package/dist/chunks/{console-access-53557ph1.js → event-logger-53557ph1.js} +0 -0
- /package/dist/chunks/{console-access-550bvhaj.js → event-logger-550bvhaj.js} +0 -0
- /package/dist/chunks/{console-access-5w3e23ze.js → event-logger-5w3e23ze.js} +0 -0
- /package/dist/chunks/{console-access-6agm2x70.js → event-logger-6agm2x70.js} +0 -0
- /package/dist/chunks/{console-access-6prwharc.js → event-logger-6prwharc.js} +0 -0
- /package/dist/chunks/{console-access-6q2bdcd1.js → event-logger-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{console-access-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
- /package/dist/chunks/{console-access-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
- /package/dist/chunks/{console-access-822emrt2.js → event-logger-822emrt2.js} +0 -0
- /package/dist/chunks/{console-access-84wd9syh.js → event-logger-84wd9syh.js} +0 -0
- /package/dist/chunks/{console-access-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
- /package/dist/chunks/{console-access-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
- /package/dist/chunks/{console-access-8wj87zfr.js → event-logger-8wj87zfr.js} +0 -0
- /package/dist/chunks/{console-access-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
- /package/dist/chunks/{console-access-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{console-access-a6k6eb26.js → event-logger-a6k6eb26.js} +0 -0
- /package/dist/chunks/{console-access-af5trqkr.js → event-logger-af5trqkr.js} +0 -0
- /package/dist/chunks/{console-access-afrmfg78.js → event-logger-afrmfg78.js} +0 -0
- /package/dist/chunks/{console-access-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{console-access-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
- /package/dist/chunks/{console-access-beh6qq61.js → event-logger-beh6qq61.js} +0 -0
- /package/dist/chunks/{console-access-bhmrqjy3.js → event-logger-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{console-access-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{console-access-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{console-access-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
- /package/dist/chunks/{console-access-cqv5kn06.js → event-logger-cqv5kn06.js} +0 -0
- /package/dist/chunks/{console-access-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{console-access-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
- /package/dist/chunks/{console-access-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{console-access-dap0rakb.js → event-logger-dap0rakb.js} +0 -0
- /package/dist/chunks/{console-access-df08tz66.js → event-logger-df08tz66.js} +0 -0
- /package/dist/chunks/{console-access-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
- /package/dist/chunks/{console-access-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
- /package/dist/chunks/{console-access-ean2d8b5.js → event-logger-ean2d8b5.js} +0 -0
- /package/dist/chunks/{console-access-ec1grn59.js → event-logger-ec1grn59.js} +0 -0
- /package/dist/chunks/{console-access-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
- /package/dist/chunks/{console-access-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
- /package/dist/chunks/{console-access-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{console-access-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
- /package/dist/chunks/{console-access-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
- /package/dist/chunks/{console-access-fkpq3x5p.js → event-logger-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{console-access-g4wezp1m.js → event-logger-g4wezp1m.js} +0 -0
- /package/dist/chunks/{console-access-g86h250q.js → event-logger-g86h250q.js} +0 -0
- /package/dist/chunks/{console-access-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
- /package/dist/chunks/{console-access-gftt206x.js → event-logger-gftt206x.js} +0 -0
- /package/dist/chunks/{console-access-hcxmzztb.js → event-logger-hcxmzztb.js} +0 -0
- /package/dist/chunks/{console-access-hk9envan.js → event-logger-hk9envan.js} +0 -0
- /package/dist/chunks/{console-access-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
- /package/dist/chunks/{console-access-j5zkgpj8.js → event-logger-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{console-access-jjkms2e6.js → event-logger-jjkms2e6.js} +0 -0
- /package/dist/chunks/{console-access-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{console-access-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{console-access-jwr30sdr.js → event-logger-jwr30sdr.js} +0 -0
- /package/dist/chunks/{console-access-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{console-access-m18g726c.js → event-logger-m18g726c.js} +0 -0
- /package/dist/chunks/{console-access-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
- /package/dist/chunks/{console-access-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
- /package/dist/chunks/{console-access-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
- /package/dist/chunks/{console-access-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
- /package/dist/chunks/{console-access-nh4v3znn.js → event-logger-nh4v3znn.js} +0 -0
- /package/dist/chunks/{console-access-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
- /package/dist/chunks/{console-access-p71gwv9c.js → event-logger-p71gwv9c.js} +0 -0
- /package/dist/chunks/{console-access-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
- /package/dist/chunks/{console-access-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
- /package/dist/chunks/{console-access-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
- /package/dist/chunks/{console-access-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
- /package/dist/chunks/{console-access-qg3g05ea.js → event-logger-qg3g05ea.js} +0 -0
- /package/dist/chunks/{console-access-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
- /package/dist/chunks/{console-access-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{console-access-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{console-access-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
- /package/dist/chunks/{console-access-syrav9an.js → event-logger-syrav9an.js} +0 -0
- /package/dist/chunks/{console-access-t03h4f5z.js → event-logger-t03h4f5z.js} +0 -0
- /package/dist/chunks/{console-access-ty7weeps.js → event-logger-ty7weeps.js} +0 -0
- /package/dist/chunks/{console-access-ve7vex1e.js → event-logger-ve7vex1e.js} +0 -0
- /package/dist/chunks/{console-access-vtarvj67.js → event-logger-vtarvj67.js} +0 -0
- /package/dist/chunks/{console-access-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
- /package/dist/chunks/{console-access-wc3fc9cn.js → event-logger-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{console-access-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
- /package/dist/chunks/{console-access-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
- /package/dist/chunks/{console-access-x0ckcb58.js → event-logger-x0ckcb58.js} +0 -0
- /package/dist/chunks/{console-access-x4th4bpe.js → event-logger-x4th4bpe.js} +0 -0
- /package/dist/chunks/{console-access-x61499pn.js → event-logger-x61499pn.js} +0 -0
- /package/dist/chunks/{console-access-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
- /package/dist/chunks/{console-access-y8f7s663.js → event-logger-y8f7s663.js} +0 -0
- /package/dist/chunks/{console-access-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{console-access-z0h12gs8.js → event-logger-z0h12gs8.js} +0 -0
- /package/dist/chunks/{console-access-z5v4ffb3.js → event-logger-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{console-access-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
- /package/dist/chunks/{console-access-zxpyjp51.js → event-logger-zxpyjp51.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./event-logger-j3k739k1.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./event-logger-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service85,
|
|
11
|
+
node89
|
|
12
|
+
} from "./event-logger-hyq7ny1j.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID17,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service82,
|
|
20
|
+
node86,
|
|
21
|
+
Event16
|
|
22
|
+
} from "./event-logger-q92r6wg6.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,28 +30,28 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event15,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID16,
|
|
36
|
+
Info: () => Info24,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref3,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service81,
|
|
41
41
|
Type: () => Type2,
|
|
42
42
|
VariantID: () => VariantID2,
|
|
43
43
|
compatibility: () => compatibility2,
|
|
44
44
|
mergeCapabilities: () => mergeCapabilities2,
|
|
45
|
-
node: () =>
|
|
46
|
-
parse: () =>
|
|
45
|
+
node: () => node85,
|
|
46
|
+
parse: () => parse5,
|
|
47
47
|
supportsText: () => supportsText2
|
|
48
48
|
});
|
|
49
49
|
import { Model } from "@opencode/schema/model";
|
|
50
50
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import { freeze } from "immer";
|
|
53
|
-
import { Event as
|
|
54
|
-
var
|
|
53
|
+
import { Event as Event15 } from "@opencode/schema/model";
|
|
54
|
+
var ID16 = Model.ID;
|
|
55
55
|
var VariantID2 = Model.VariantID;
|
|
56
56
|
var Family2 = Model.Family;
|
|
57
57
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -69,14 +69,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
69
69
|
var Cost2 = Model.Cost;
|
|
70
70
|
var Type2 = Model.Type;
|
|
71
71
|
var Ref3 = Model.Ref;
|
|
72
|
-
var
|
|
72
|
+
var Info24 = Model.Info;
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service81 extends Context.Service()("@opencode/Model") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const providers = yield*
|
|
76
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
77
|
+
const providers = yield* Service82;
|
|
78
78
|
const bus = yield* Service91;
|
|
79
|
-
const location = yield*
|
|
79
|
+
const location = yield* Service85;
|
|
80
80
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
81
81
|
let input;
|
|
82
82
|
const state = create4({
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
122
122
|
const models = writable(providerID);
|
|
123
123
|
if (!models)
|
|
124
124
|
return;
|
|
125
|
-
const model = draft(providerID, modelID) ??
|
|
125
|
+
const model = draft(providerID, modelID) ?? Info24.default(providerID, modelID);
|
|
126
126
|
update(model);
|
|
127
127
|
model.id = modelID;
|
|
128
128
|
model.providerID = providerID;
|
|
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
191
191
|
];
|
|
192
192
|
}));
|
|
193
193
|
if (disableFree)
|
|
194
|
-
for (const providerID of [
|
|
194
|
+
for (const providerID of [ID17.opencode, ID17.make("opencode-go")])
|
|
195
195
|
byProvider.get(providerID)?.forEach((model, id, models) => {
|
|
196
196
|
if (!model.cost.some((cost) => cost.input > 0))
|
|
197
197
|
models.delete(id);
|
|
@@ -227,8 +227,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
227
227
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
228
228
|
});
|
|
229
229
|
});
|
|
230
|
-
yield* bus.subscribe(
|
|
231
|
-
return
|
|
230
|
+
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
231
|
+
return Service81.of({
|
|
232
232
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
233
233
|
reload,
|
|
234
234
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
249
|
}));
|
|
250
|
-
var
|
|
250
|
+
var node85 = makeLocationNode({ service: Service81, layer, deps: [node86, node95, node89] });
|
|
251
251
|
var PREFERRED_FREE = [
|
|
252
252
|
"big-pickle",
|
|
253
253
|
"deepseek-v4.1-flash-free",
|
|
@@ -255,7 +255,7 @@ var PREFERRED_FREE = [
|
|
|
255
255
|
"muse-spark-1.3-contributor-free"
|
|
256
256
|
];
|
|
257
257
|
function preferFree(models) {
|
|
258
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
258
|
+
const freeOnly = models.every((model) => model.providerID === ID17.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
259
259
|
if (!freeOnly)
|
|
260
260
|
return models;
|
|
261
261
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -271,12 +271,12 @@ function compatibility2(input) {
|
|
|
271
271
|
return;
|
|
272
272
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function parse5(input) {
|
|
275
275
|
const index = input.indexOf("/");
|
|
276
276
|
return {
|
|
277
|
-
providerID:
|
|
278
|
-
modelID:
|
|
277
|
+
providerID: ID17.make(index === -1 ? input : input.slice(0, index)),
|
|
278
|
+
modelID: ID16.make(index === -1 ? "" : input.slice(index + 1))
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID16, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info24, Service81, node85, supportsText2, compatibility2, parse5, exports_model2, Event15 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Ref4
|
|
3
|
+
} from "./event-logger-hyq7ny1j.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service68,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node70,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service68 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service68, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node70 = LayerNode.unbound(Service68, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service68;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -42,10 +42,10 @@ function canonical3(ref) {
|
|
|
42
42
|
const flavor = process.platform === "win32" && !ref.directory.startsWith("/") ? path.win32 : path.posix;
|
|
43
43
|
const normalized = flavor.normalize(ref.directory);
|
|
44
44
|
const trailing = normalized.endsWith(flavor.sep) && normalized.length > flavor.parse(normalized).root.length;
|
|
45
|
-
return
|
|
45
|
+
return Ref4.make({
|
|
46
46
|
directory: AbsolutePath.make(trailing ? normalized.slice(0, -1) : normalized),
|
|
47
47
|
workspaceID: ref.workspaceID
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Service68, node70, reload2, canonical3, exports_location_service_map };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./event-logger-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./event-logger-hyq7ny1j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service77
|
|
9
|
+
} from "./event-logger-w57p72p4.js";
|
|
10
10
|
import {
|
|
11
11
|
InvalidPatternError2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service76
|
|
13
|
+
} from "./event-logger-tr50er13.js";
|
|
14
14
|
import {
|
|
15
15
|
DEFAULT_SEARCH_LIMIT2,
|
|
16
16
|
GrepInput2,
|
|
17
17
|
Entry2,
|
|
18
18
|
Match2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./event-logger-s6rsk2n9.js";
|
|
20
20
|
import {
|
|
21
21
|
invocation2,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service69
|
|
23
|
+
} from "./event-logger-51zaerfh.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service19
|
|
26
|
+
} from "./event-logger-axskksgc.js";
|
|
27
27
|
import {
|
|
28
28
|
pathType2,
|
|
29
29
|
bounded2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./event-logger-r58d7y94.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/grep.ts
|
|
36
36
|
var exports_grep = {};
|
|
@@ -38,7 +38,7 @@ __export(exports_grep, {
|
|
|
38
38
|
GrepTool: () => exports_grep,
|
|
39
39
|
Input: () => Input7,
|
|
40
40
|
Output: () => Output4,
|
|
41
|
-
Plugin: () =>
|
|
41
|
+
Plugin: () => Plugin10,
|
|
42
42
|
name: () => name7,
|
|
43
43
|
toModelContent: () => toModelContent3
|
|
44
44
|
});
|
|
@@ -84,14 +84,14 @@ var toModelContent3 = (matches, truncated = false) => {
|
|
|
84
84
|
return lines.join(`
|
|
85
85
|
`);
|
|
86
86
|
};
|
|
87
|
-
var
|
|
87
|
+
var Plugin10 = {
|
|
88
88
|
id: "opencode.tool.grep",
|
|
89
89
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
90
|
-
const environment = yield*
|
|
91
|
-
const ripgrep = yield*
|
|
92
|
-
const location = yield*
|
|
93
|
-
const access = yield*
|
|
94
|
-
const permission = yield*
|
|
90
|
+
const environment = yield* Service77;
|
|
91
|
+
const ripgrep = yield* Service76;
|
|
92
|
+
const location = yield* Service85;
|
|
93
|
+
const access = yield* Service19;
|
|
94
|
+
const permission = yield* Service69;
|
|
95
95
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
96
96
|
name: name7,
|
|
97
97
|
options: { codemode: false },
|
|
@@ -149,4 +149,4 @@ var Plugin44 = {
|
|
|
149
149
|
})
|
|
150
150
|
};
|
|
151
151
|
|
|
152
|
-
export { name7, Input7, Output4, toModelContent3,
|
|
152
|
+
export { name7, Input7, Output4, toModelContent3, Plugin10, exports_grep };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make31,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-n3j33rb6.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize3,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./event-logger-fffv3p7h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
17
|
+
var exports_instructions5 = {};
|
|
18
|
+
__export(exports_instructions5, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions5,
|
|
20
|
+
make: () => make25,
|
|
21
|
+
render: () => render3,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Before calling a tool that is not list
|
|
|
32
32
|
- ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
|
|
33
33
|
|
|
34
34
|
## Code Mode tools (call only inside \`execute\`)`;
|
|
35
|
-
function
|
|
35
|
+
function render3(catalog) {
|
|
36
36
|
if (catalog.total === 0)
|
|
37
37
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
38
38
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -46,7 +46,7 @@ ${tools.join(`
|
|
|
46
46
|
function update3(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
|
-
${
|
|
49
|
+
${render3(current)}`;
|
|
50
50
|
if (current.total === 0)
|
|
51
51
|
return replacement;
|
|
52
52
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -111,18 +111,18 @@ ${render2(current)}`;
|
|
|
111
111
|
}
|
|
112
112
|
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make25 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize3(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make31({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
|
-
initial:
|
|
121
|
+
initial: render3,
|
|
122
122
|
changed: update3,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { render3, update3, make25, exports_instructions5 };
|
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-5wyzzdh8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID21,
|
|
6
6
|
OAuth3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./event-logger-m3k4f4wp.js";
|
|
8
8
|
import {
|
|
9
9
|
AbsolutePath2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-z5v4ffb3.js";
|
|
11
11
|
import {
|
|
12
12
|
key3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./event-logger-azqdag7d.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID20,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./event-logger-mdrjseww.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
ID17
|
|
21
|
+
} from "./event-logger-q92r6wg6.js";
|
|
22
22
|
import {
|
|
23
23
|
Remote3,
|
|
24
24
|
Document3,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
make35
|
|
26
|
+
} from "./event-logger-hkf8spj2.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service79
|
|
29
|
+
} from "./event-logger-zxwn8npj.js";
|
|
30
30
|
import {
|
|
31
31
|
integrate2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./event-logger-xbfsqk1q.js";
|
|
33
33
|
import {
|
|
34
34
|
uri2,
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service47
|
|
36
|
+
} from "./event-logger-3ztwrxep.js";
|
|
37
37
|
import {
|
|
38
38
|
parse2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./event-logger-074qhhck.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
41
|
+
Options3,
|
|
42
42
|
defaultServer2,
|
|
43
43
|
server2,
|
|
44
44
|
headers2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./event-logger-k6acvzzp.js";
|
|
46
46
|
import {
|
|
47
47
|
File2,
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
48
|
+
Service58
|
|
49
|
+
} from "./event-logger-ngyqh69c.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
51
|
+
Service48,
|
|
52
52
|
fingerprint2
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./event-logger-ejgeqqx1.js";
|
|
54
54
|
import {
|
|
55
55
|
isSafeSegment2,
|
|
56
56
|
isSafeRelativePath2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./event-logger-xjbsd7zy.js";
|
|
58
58
|
import {
|
|
59
|
-
|
|
59
|
+
ID7,
|
|
60
60
|
Input15,
|
|
61
61
|
Response2
|
|
62
|
-
} from "./
|
|
62
|
+
} from "./event-logger-bdaygxa6.js";
|
|
63
63
|
import {
|
|
64
64
|
onSwitch2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./event-logger-bzz00sbm.js";
|
|
66
66
|
|
|
67
67
|
// src/plugin/provider/opencode.ts
|
|
68
68
|
import { Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -131,7 +131,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
131
131
|
}
|
|
132
132
|
function oauth(http) {
|
|
133
133
|
return {
|
|
134
|
-
integrationID:
|
|
134
|
+
integrationID: ID20.make("opencode"),
|
|
135
135
|
method: {
|
|
136
136
|
id: methodID,
|
|
137
137
|
type: "oauth",
|
|
@@ -198,12 +198,12 @@ var OpencodePlugin2 = define({
|
|
|
198
198
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
199
199
|
const client = yield* HttpClient.HttpClient;
|
|
200
200
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
201
|
-
const config = yield*
|
|
202
|
-
const discovery = yield*
|
|
203
|
-
const skills = yield*
|
|
204
|
-
const cache = yield*
|
|
201
|
+
const config = yield* Service79;
|
|
202
|
+
const discovery = yield* Service58;
|
|
203
|
+
const skills = yield* Service47;
|
|
204
|
+
const cache = yield* Service48;
|
|
205
205
|
const scope = yield* Scope.Scope;
|
|
206
|
-
const settings = yield*
|
|
206
|
+
const settings = yield* Options3;
|
|
207
207
|
const loading = Semaphore.makeUnsafe(1);
|
|
208
208
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined, access: undefined };
|
|
209
209
|
let instructions = [];
|
|
@@ -246,13 +246,13 @@ var OpencodePlugin2 = define({
|
|
|
246
246
|
const fallback = (connection) => key3(connection) === key3(snapshot.connection) ? { ...snapshot, connection } : { remote: undefined, connection, organization: undefined, access: undefined };
|
|
247
247
|
let integrated;
|
|
248
248
|
const integrate = Effect.fnUntraced(function* (document) {
|
|
249
|
-
yield* config.integration?.(
|
|
250
|
-
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID ===
|
|
249
|
+
yield* config.integration?.(ID20.make("opencode"), document) ?? Effect.void;
|
|
250
|
+
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID20.make("opencode"));
|
|
251
251
|
});
|
|
252
252
|
const publish = Effect.fnUntraced(function* (next) {
|
|
253
|
-
const document = next.remote && next.connection &&
|
|
254
|
-
integrationID:
|
|
255
|
-
connection: next.connection.type === "credential" ? { ...next.connection, id:
|
|
253
|
+
const document = next.remote && next.connection && make35({
|
|
254
|
+
integrationID: ID20.make("opencode"),
|
|
255
|
+
connection: next.connection.type === "credential" ? { ...next.connection, id: ID21.make(next.connection.id) } : next.connection,
|
|
256
256
|
organization: next.organization,
|
|
257
257
|
info: next.remote
|
|
258
258
|
});
|
|
@@ -332,7 +332,7 @@ var OpencodePlugin2 = define({
|
|
|
332
332
|
integrate2(providers, integrated);
|
|
333
333
|
});
|
|
334
334
|
yield* ctx.provider.transform((providers) => {
|
|
335
|
-
const item = providers.get(
|
|
335
|
+
const item = providers.get(ID17.opencode);
|
|
336
336
|
if (!item)
|
|
337
337
|
return;
|
|
338
338
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -344,7 +344,7 @@ var OpencodePlugin2 = define({
|
|
|
344
344
|
});
|
|
345
345
|
});
|
|
346
346
|
yield* ctx.model.transform((models) => {
|
|
347
|
-
const item = models.provider.get(
|
|
347
|
+
const item = models.provider.get(ID17.opencode);
|
|
348
348
|
if (!item)
|
|
349
349
|
return;
|
|
350
350
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -359,7 +359,7 @@ var OpencodePlugin2 = define({
|
|
|
359
359
|
}
|
|
360
360
|
});
|
|
361
361
|
yield* ctx.websearch.transform((editor) => {
|
|
362
|
-
const provider =
|
|
362
|
+
const provider = ID7.make("opencode");
|
|
363
363
|
if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
|
|
364
364
|
editor.add(search(provider, snapshot.connection));
|
|
365
365
|
});
|
|
@@ -406,7 +406,7 @@ var OpencodePlugin2 = define({
|
|
|
406
406
|
});
|
|
407
407
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
408
408
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
409
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
409
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID17.opencode, ...Object.keys(next.remote?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
410
410
|
});
|
|
411
411
|
yield* guard(snapshot);
|
|
412
412
|
yield* ctx.session.hook("prompt", () => check(Duration.minutes(1), Duration.seconds(3)));
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./event-logger-deq7zezz.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./event-logger-1ep2p91f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
ConflictError: () => ConflictError2,
|
|
16
16
|
ID: () => ID12,
|
|
17
|
-
Info: () =>
|
|
18
|
-
NotFoundError: () =>
|
|
17
|
+
Info: () => Info14,
|
|
18
|
+
NotFoundError: () => NotFoundError12,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service71,
|
|
21
|
+
node: () => node73
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -26,9 +26,9 @@ import { isSqlError } from "effect/sql/SqlError";
|
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
28
|
var ID12 = PermissionSaved.ID;
|
|
29
|
-
var
|
|
29
|
+
var Info14 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class NotFoundError12 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
32
|
id: ID12
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
@@ -40,9 +40,9 @@ class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError
|
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service71 extends Context.Service()("@opencode/PermissionSaved") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
46
46
|
const db = (yield* Service92).db;
|
|
47
47
|
const list = Effect.fnUntraced(function* (input) {
|
|
48
48
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
61
61
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
62
62
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
63
63
|
if (!current)
|
|
64
|
-
return yield* new
|
|
64
|
+
return yield* new NotFoundError12({ id: input.id });
|
|
65
65
|
const action = input.action ?? current.action;
|
|
66
66
|
const resource = input.resource ?? current.resource;
|
|
67
67
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
68
68
|
if (!updated)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError12({ id: input.id });
|
|
70
70
|
return info(updated);
|
|
71
71
|
});
|
|
72
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
73
73
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
74
74
|
});
|
|
75
|
-
return
|
|
75
|
+
return Service71.of({ list, add, update, remove });
|
|
76
76
|
}));
|
|
77
77
|
var isUniqueViolation = (error) => {
|
|
78
78
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -90,6 +90,6 @@ var info = (row) => ({
|
|
|
90
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
var
|
|
93
|
+
var node73 = makeGlobalNode({ service: Service71, layer, deps: [node96] });
|
|
94
94
|
|
|
95
|
-
export { ID12,
|
|
95
|
+
export { ID12, Info14, NotFoundError12, ConflictError2, Service71, node73, exports_saved };
|