@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,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID10,
|
|
6
6
|
Service49
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./event-logger-kcrxe5g6.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-fyfzbt3s.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./event-logger-7ke2z32d.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./event-logger-mb7mbhnz.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -87,8 +87,8 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID10.make(from),
|
|
91
|
+
to: ID10.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin50
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin50 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin26 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin50, exports_mcp_codemode_defaults };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID17
|
|
3
|
+
} from "./event-logger-q92r6wg6.js";
|
|
4
4
|
import {
|
|
5
5
|
credentialSettings2,
|
|
6
6
|
metadataSettings2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./event-logger-jhem0d9a.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/amazon-bedrock.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -39,15 +39,15 @@ var AmazonBedrockPlugin2 = define({
|
|
|
39
39
|
})))).filter(Boolean).toSorted();
|
|
40
40
|
yield* ctx.integration.transform((editor) => {
|
|
41
41
|
editor.method.update({
|
|
42
|
-
integrationID:
|
|
42
|
+
integrationID: ID17.amazonBedrock,
|
|
43
43
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
44
44
|
});
|
|
45
45
|
editor.method.update({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID17.amazonBedrock,
|
|
47
47
|
method: { type: "key", label: "Bedrock API key" }
|
|
48
48
|
});
|
|
49
49
|
editor.method.update({
|
|
50
|
-
integrationID:
|
|
50
|
+
integrationID: ID17.amazonBedrock,
|
|
51
51
|
method: {
|
|
52
52
|
id: "aws-profile",
|
|
53
53
|
type: "external",
|
|
@@ -69,7 +69,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
71
|
});
|
|
72
|
-
const login = yield* credentialSettings2(ctx,
|
|
72
|
+
const login = yield* credentialSettings2(ctx, ID17.amazonBedrock, (value) => value.type === "external" && value.methodID === "aws-profile" ? metadataSettings2(value.metadata, ["profile"]) : {});
|
|
73
73
|
yield* ctx.provider.transform((evt) => {
|
|
74
74
|
for (const item of evt.list()) {
|
|
75
75
|
if (!isBedrock(item.provider))
|
|
@@ -77,7 +77,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
77
77
|
evt.update(item.provider.id, (provider) => {
|
|
78
78
|
const settings = {
|
|
79
79
|
...provider.settings,
|
|
80
|
-
...(provider.integrationID ?? provider.id) ===
|
|
80
|
+
...(provider.integrationID ?? provider.id) === ID17.amazonBedrock ? login.settings : {}
|
|
81
81
|
};
|
|
82
82
|
const chain = typeof settings.profile === "string" || CHAIN_ENV.some((name) => process.env[name]);
|
|
83
83
|
if (chain && provider.activation === "auto")
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13,
|
|
3
|
-
|
|
3
|
+
Info15,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./event-logger-fyfzbt3s.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./event-logger-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service92,
|
|
11
11
|
node96
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./event-logger-deq7zezz.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service91,
|
|
16
16
|
node95
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./event-logger-j3k739k1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service86,
|
|
20
|
+
node90
|
|
21
|
+
} from "./event-logger-9xzr77jx.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service62,
|
|
24
|
+
node64
|
|
25
|
+
} from "./event-logger-fpjxw46t.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./event-logger-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
Metadata2,
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
node75
|
|
32
|
+
} from "./event-logger-5wyzzdh8.js";
|
|
33
33
|
import {
|
|
34
34
|
SessionMessageTable2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./event-logger-mb7mbhnz.js";
|
|
36
36
|
import {
|
|
37
37
|
enabledFor2,
|
|
38
38
|
ForkMedia2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./event-logger-xnreh5ed.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
41
|
+
NotFoundError11,
|
|
42
42
|
InvalidListCursorError2,
|
|
43
43
|
MessageNotFoundError2,
|
|
44
44
|
ForkEmptyError2,
|
|
@@ -50,76 +50,76 @@ import {
|
|
|
50
50
|
BusyError2,
|
|
51
51
|
InboxConflictError2,
|
|
52
52
|
SkillNotFoundError2
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./event-logger-7ke2z32d.js";
|
|
54
54
|
import {
|
|
55
55
|
current2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./event-logger-0php2d2a.js";
|
|
57
57
|
import {
|
|
58
|
-
|
|
58
|
+
node63,
|
|
59
59
|
listWithRefs2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./event-logger-rvnns7rr.js";
|
|
61
61
|
import {
|
|
62
62
|
snapshot2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./event-logger-h49hp34r.js";
|
|
64
64
|
import {
|
|
65
65
|
Slug2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./event-logger-gebd4c9n.js";
|
|
67
67
|
import {
|
|
68
68
|
SessionAlreadyProjected2,
|
|
69
|
-
|
|
70
|
-
} from "./
|
|
69
|
+
node34
|
|
70
|
+
} from "./event-logger-vsjvrq8f.js";
|
|
71
71
|
import {
|
|
72
72
|
ListInput3,
|
|
73
73
|
Service70,
|
|
74
74
|
node72
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./event-logger-s1s15f1s.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
77
|
+
Service64,
|
|
78
|
+
node66
|
|
79
|
+
} from "./event-logger-0k9p0h2k.js";
|
|
80
80
|
import {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
} from "./
|
|
81
|
+
Service59,
|
|
82
|
+
node62
|
|
83
|
+
} from "./event-logger-nhmg6cd1.js";
|
|
84
84
|
import {
|
|
85
85
|
llmClient2
|
|
86
|
-
} from "./
|
|
86
|
+
} from "./event-logger-0ma9gw4f.js";
|
|
87
87
|
import {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
88
|
+
Service36,
|
|
89
|
+
node41
|
|
90
|
+
} from "./event-logger-9kh3h3y0.js";
|
|
91
91
|
import {
|
|
92
92
|
generate2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./event-logger-m170w9hk.js";
|
|
94
94
|
import {
|
|
95
95
|
execute2
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./event-logger-tqpaksp0.js";
|
|
97
97
|
import {
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
Service68,
|
|
99
|
+
node70,
|
|
100
100
|
canonical3
|
|
101
|
-
} from "./
|
|
101
|
+
} from "./event-logger-cttnq2ya.js";
|
|
102
102
|
import {
|
|
103
103
|
DestinationNotFoundError2,
|
|
104
104
|
DestinationNotDirectoryError2,
|
|
105
105
|
DestinationUnavailableError2,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
} from "./
|
|
106
|
+
Service29,
|
|
107
|
+
node33
|
|
108
|
+
} from "./event-logger-hxmw4pfp.js";
|
|
109
109
|
import {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
} from "./
|
|
110
|
+
Service53,
|
|
111
|
+
node56
|
|
112
|
+
} from "./event-logger-nwyfjcs7.js";
|
|
113
113
|
import {
|
|
114
114
|
make23
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./event-logger-5js5wbdj.js";
|
|
116
116
|
import {
|
|
117
117
|
TurnRangeError2,
|
|
118
118
|
turn2
|
|
119
|
-
} from "./
|
|
119
|
+
} from "./event-logger-4mcv9g69.js";
|
|
120
120
|
import {
|
|
121
121
|
__export
|
|
122
|
-
} from "./
|
|
122
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
123
123
|
|
|
124
124
|
// src/session.ts
|
|
125
125
|
var exports_session3 = {};
|
|
@@ -133,22 +133,22 @@ __export(exports_session3, {
|
|
|
133
133
|
ForkEmptyError: () => ForkEmptyError2,
|
|
134
134
|
ID: () => ID13,
|
|
135
135
|
InboxConflictError: () => InboxConflictError2,
|
|
136
|
-
Info: () =>
|
|
136
|
+
Info: () => Info15,
|
|
137
137
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
138
138
|
ListAnchor: () => ListAnchor2,
|
|
139
139
|
ListCursor: () => ListCursor2,
|
|
140
140
|
ListInput: () => ListInput2,
|
|
141
141
|
MessageDecodeError: () => MessageDecodeError2,
|
|
142
142
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
143
|
-
NotFoundError: () =>
|
|
143
|
+
NotFoundError: () => NotFoundError11,
|
|
144
144
|
PromptConflictError: () => PromptConflictError2,
|
|
145
|
-
Service: () =>
|
|
145
|
+
Service: () => Service28,
|
|
146
146
|
Session: () => exports_session3,
|
|
147
147
|
SessionSchema: () => SessionSchema2,
|
|
148
148
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
149
149
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
150
150
|
TurnRangeError: () => TurnRangeError2,
|
|
151
|
-
node: () =>
|
|
151
|
+
node: () => node32
|
|
152
152
|
});
|
|
153
153
|
import { DateTime, Effect, Layer, Context, Option, Stream } from "effect";
|
|
154
154
|
import { LLMClient } from "@opencode/ai/effect";
|
|
@@ -159,27 +159,27 @@ import { Node } from "@opencode/util/effect/app-node";
|
|
|
159
159
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
160
160
|
var ListInput2 = ListInput3;
|
|
161
161
|
var DefaultListLimit = 50;
|
|
162
|
-
class
|
|
162
|
+
class Service28 extends Context.Service()("@opencode/Session") {
|
|
163
163
|
}
|
|
164
|
-
var layer = Layer.effect(
|
|
164
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
165
165
|
const app = yield* Metadata2;
|
|
166
166
|
const database = yield* Service92;
|
|
167
167
|
const db = database.db;
|
|
168
168
|
const bus = yield* Service91;
|
|
169
|
-
const projects = yield*
|
|
170
|
-
const execution = yield*
|
|
169
|
+
const projects = yield* Service86;
|
|
170
|
+
const execution = yield* Service59;
|
|
171
171
|
const llm = yield* LLMClient.Service;
|
|
172
|
-
const transport = yield*
|
|
172
|
+
const transport = yield* Service36;
|
|
173
173
|
const store = yield* Service70;
|
|
174
|
-
const instances = yield*
|
|
175
|
-
const moves = yield*
|
|
176
|
-
const jobs = yield*
|
|
177
|
-
const environments = yield*
|
|
178
|
-
const locations = yield*
|
|
174
|
+
const instances = yield* Service62;
|
|
175
|
+
const moves = yield* Service29;
|
|
176
|
+
const jobs = yield* Service64;
|
|
177
|
+
const environments = yield* Service53;
|
|
178
|
+
const locations = yield* Service68;
|
|
179
179
|
const sessions = yield* make23();
|
|
180
180
|
const mediaBlob = (session) => enabledFor2(instances, app, session);
|
|
181
181
|
const isDurableSessionEvent = (item) => Object.hasOwn(SessionEvent2.Durable.cases, item.type);
|
|
182
|
-
const result =
|
|
182
|
+
const result = Service28.of({
|
|
183
183
|
create: Effect.fn("Session.create")(function* (input) {
|
|
184
184
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
185
185
|
const recorded = yield* store.get(sessionID);
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
187
187
|
return recorded;
|
|
188
188
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
189
189
|
if (input.parentID && parent === undefined)
|
|
190
|
-
return yield* new
|
|
190
|
+
return yield* new NotFoundError11({ sessionID: input.parentID });
|
|
191
191
|
const location = parent?.location ?? (input.location && canonical3(input.location));
|
|
192
192
|
if (location === undefined)
|
|
193
193
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -327,11 +327,11 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
327
327
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
328
328
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
329
329
|
const session = yield* result.get(input.sessionID);
|
|
330
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
330
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service62, instances), Effect.provideService(Service92, database), Effect.provideService(LLMClient.Service, llm));
|
|
331
331
|
}),
|
|
332
332
|
command: Effect.fn("Session.command")(function* (input) {
|
|
333
333
|
const session = yield* result.get(input.sessionID);
|
|
334
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
334
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service62, instances));
|
|
335
335
|
}),
|
|
336
336
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
337
337
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -375,27 +375,27 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
375
375
|
});
|
|
376
376
|
return result;
|
|
377
377
|
}));
|
|
378
|
-
var
|
|
379
|
-
service:
|
|
378
|
+
var node32 = Node.makeGlobalNode({
|
|
379
|
+
service: Service28,
|
|
380
380
|
layer,
|
|
381
381
|
deps: [
|
|
382
|
+
node66,
|
|
382
383
|
node56,
|
|
383
|
-
node46,
|
|
384
384
|
node96,
|
|
385
385
|
node95,
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
386
|
+
node90,
|
|
387
|
+
node62,
|
|
388
|
+
node41,
|
|
389
389
|
llmClient2,
|
|
390
390
|
node72,
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
391
|
+
node64,
|
|
392
|
+
node63,
|
|
393
|
+
node33,
|
|
394
|
+
node34,
|
|
395
|
+
node70,
|
|
396
396
|
FSUtil.node,
|
|
397
|
-
|
|
397
|
+
node75
|
|
398
398
|
]
|
|
399
399
|
});
|
|
400
400
|
|
|
401
|
-
export { ListAnchor2, ListCursor2, ListInput2,
|
|
401
|
+
export { ListAnchor2, ListCursor2, ListInput2, Service28, node32, exports_session3 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./event-logger-j3k739k1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service85,
|
|
7
|
+
node89
|
|
8
|
+
} from "./event-logger-hyq7ny1j.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service73,
|
|
11
|
+
node76
|
|
12
|
+
} from "./event-logger-srabb7dz.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
NotFoundError11
|
|
15
|
+
} from "./event-logger-7ke2z32d.js";
|
|
16
16
|
import {
|
|
17
17
|
match3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./event-logger-1aqsckx4.js";
|
|
19
19
|
import {
|
|
20
20
|
Service70,
|
|
21
21
|
node72
|
|
22
|
-
} from "./
|
|
23
|
-
import {
|
|
24
|
-
Service69,
|
|
25
|
-
node71
|
|
26
|
-
} from "./console-access-9chb8fcd.js";
|
|
22
|
+
} from "./event-logger-s1s15f1s.js";
|
|
27
23
|
import {
|
|
28
24
|
Service71,
|
|
29
25
|
node73
|
|
30
|
-
} from "./
|
|
26
|
+
} from "./event-logger-czx3by8z.js";
|
|
27
|
+
import {
|
|
28
|
+
Service72,
|
|
29
|
+
node74
|
|
30
|
+
} from "./event-logger-gn6qas9s.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/permission.ts
|
|
36
36
|
var exports_permission = {};
|
|
@@ -47,13 +47,13 @@ __export(exports_permission, {
|
|
|
47
47
|
Request: () => Request3,
|
|
48
48
|
Rule: () => Rule2,
|
|
49
49
|
Ruleset: () => Ruleset2,
|
|
50
|
-
Service: () =>
|
|
51
|
-
Source: () =>
|
|
50
|
+
Service: () => Service69,
|
|
51
|
+
Source: () => Source4,
|
|
52
52
|
Unattended: () => Unattended2,
|
|
53
53
|
evaluate: () => evaluate3,
|
|
54
54
|
invocation: () => invocation2,
|
|
55
55
|
merge: () => merge2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node71
|
|
57
57
|
});
|
|
58
58
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
59
59
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
@@ -63,7 +63,7 @@ import { Event as Event12 } from "@opencode/schema/permission";
|
|
|
63
63
|
var PermissionEffect = Permission.Effect;
|
|
64
64
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
65
65
|
var ID11 = Permission.ID;
|
|
66
|
-
var
|
|
66
|
+
var Source4 = Permission.Source;
|
|
67
67
|
var Request3 = Permission.Request;
|
|
68
68
|
var Reply2 = Permission.Reply;
|
|
69
69
|
var invocation2 = (context) => ({
|
|
@@ -114,15 +114,15 @@ function merge2(...rulesets) {
|
|
|
114
114
|
return rulesets.flat();
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service69 extends Context.Service()("@opencode/Permission") {
|
|
118
118
|
}
|
|
119
|
-
var layer = Layer.effect(
|
|
119
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
120
120
|
const bus = yield* Service91;
|
|
121
|
-
const location = yield*
|
|
122
|
-
const agents = yield*
|
|
121
|
+
const location = yield* Service85;
|
|
122
|
+
const agents = yield* Service73;
|
|
123
123
|
const sessions = yield* Service70;
|
|
124
|
-
const saved = yield*
|
|
125
|
-
const hooks = yield*
|
|
124
|
+
const saved = yield* Service71;
|
|
125
|
+
const hooks = yield* Service72;
|
|
126
126
|
const pending = new Map;
|
|
127
127
|
let closed = false;
|
|
128
128
|
const close = Effect.gen(function* () {
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
145
145
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
146
146
|
const session = yield* sessions.get(sessionID);
|
|
147
147
|
if (!session)
|
|
148
|
-
return yield* new
|
|
148
|
+
return yield* new NotFoundError11({ sessionID });
|
|
149
149
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
150
150
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
151
151
|
});
|
|
@@ -313,12 +313,12 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
313
313
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
314
314
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
315
315
|
});
|
|
316
|
-
return
|
|
316
|
+
return Service69.of({ ask, assert, assertNotDenied, allows, reply, get, forSession, list, close });
|
|
317
317
|
}));
|
|
318
|
-
var
|
|
319
|
-
service:
|
|
318
|
+
var node71 = makeLocationNode({
|
|
319
|
+
service: Service69,
|
|
320
320
|
layer,
|
|
321
|
-
deps: [node95,
|
|
321
|
+
deps: [node95, node89, node76, node72, node73, node74]
|
|
322
322
|
});
|
|
323
323
|
|
|
324
|
-
export { PermissionEffect, ID11,
|
|
324
|
+
export { PermissionEffect, ID11, Source4, Request3, Reply2, invocation2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError10, evaluate3, merge2, Service69, node71, exports_permission, Rule2, Ruleset2, Event12 };
|