@opencode/core 0.0.0-dev-19400 → 0.0.0-dev-19403
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 +77 -77
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/catalog.js +83 -83
- package/dist/chunks/{worktree-tqfdrk91.js → credential-020f4bg4.js} +11 -11
- package/dist/chunks/{worktree-crm0qphm.js → credential-08zxrs49.js} +11 -11
- package/dist/chunks/{worktree-rme689gw.js → credential-09nq0425.js} +5 -5
- package/dist/chunks/{worktree-ttqfmzkf.js → credential-0n9gyfew.js} +4 -4
- package/dist/chunks/{worktree-0paq2nw3.js → credential-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-0q0f95c6.js → credential-0q0f95c6.js} +1 -1
- package/dist/chunks/{worktree-cewmsarv.js → credential-0sf76z6p.js} +25 -25
- package/dist/chunks/{worktree-44baxtt9.js → credential-0wf9s8aa.js} +24 -24
- package/dist/chunks/{worktree-0nz9pv5r.js → credential-0y5kwnv4.js} +32 -32
- package/dist/chunks/{worktree-fs5d0kpm.js → credential-12sqmeb8.js} +20 -20
- package/dist/chunks/{worktree-2310gy7k.js → credential-18q276da.js} +16 -16
- package/dist/chunks/{worktree-wk4gand9.js → credential-1ayrmkcs.js} +6 -6
- package/dist/chunks/{worktree-1dazxqgg.js → credential-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-1eyaby9q.js → credential-1eyaby9q.js} +2 -2
- package/dist/chunks/{worktree-esdnemd6.js → credential-1wxb385z.js} +1 -1
- package/dist/chunks/{worktree-33w4ejhs.js → credential-1ygqh575.js} +6 -6
- package/dist/chunks/{worktree-21r38tys.js → credential-21r38tys.js} +1 -1
- package/dist/chunks/{worktree-2402vzrj.js → credential-2402vzrj.js} +1 -1
- package/dist/chunks/{worktree-xaqsqef1.js → credential-24gf6x1s.js} +13 -13
- package/dist/chunks/{worktree-2a5m3afh.js → credential-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-2bt6bea8.js → credential-2bt6bea8.js} +2 -2
- package/dist/chunks/{worktree-twrvq24m.js → credential-2dc79v37.js} +34 -34
- package/dist/chunks/{worktree-qgn6gcr1.js → credential-2k8khapm.js} +5 -5
- package/dist/chunks/{worktree-zsedakp3.js → credential-2kgfnkh5.js} +11 -11
- package/dist/chunks/{worktree-s1ht2sg9.js → credential-2mgmyakx.js} +22 -22
- package/dist/chunks/{worktree-c2bnm6k2.js → credential-2my2jec7.js} +5 -5
- package/dist/chunks/{worktree-dxag5rg4.js → credential-2qpq9t3c.js} +7 -7
- package/dist/chunks/{worktree-xjqvt66n.js → credential-2sc61f2y.js} +11 -11
- package/dist/chunks/{worktree-nwbet28h.js → credential-3319vpkn.js} +9 -9
- package/dist/chunks/{worktree-cqja50m8.js → credential-359mrmbb.js} +4 -4
- package/dist/chunks/{worktree-6a5c1xrn.js → credential-39hgytyk.js} +8 -8
- package/dist/chunks/{worktree-pg7qm28t.js → credential-3bd12927.js} +10 -10
- package/dist/chunks/{worktree-c78bbtc9.js → credential-3cfzdc8e.js} +5 -5
- package/dist/chunks/{worktree-3fc6dm20.js → credential-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-47t1zbrj.js → credential-3ga5hpyt.js} +7 -7
- package/dist/chunks/{worktree-3hepkmqq.js → credential-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-1k4ezpe5.js → credential-3kyqxgv1.js} +14 -14
- package/dist/chunks/{worktree-3smtnn6g.js → credential-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-3tvqynh2.js → credential-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-e9x29tk8.js → credential-493f7437.js} +17 -17
- package/dist/chunks/{worktree-q6r44qt1.js → credential-4e8cngzy.js} +2 -2
- package/dist/chunks/{worktree-xe1bsykz.js → credential-4knk9ex6.js} +12 -12
- package/dist/chunks/{worktree-rs226bz6.js → credential-4mkcvr19.js} +5 -5
- package/dist/chunks/{worktree-q9h22sj1.js → credential-4nec11k8.js} +30 -30
- package/dist/chunks/{worktree-dykjtkm6.js → credential-4nm23889.js} +9 -9
- package/dist/chunks/{worktree-we8gksts.js → credential-4sb7ezm0.js} +19 -19
- package/dist/chunks/{worktree-1z0pzthf.js → credential-4zrw1ey2.js} +2 -2
- package/dist/chunks/{worktree-k2h4r4s0.js → credential-50mzsvk4.js} +4 -4
- package/dist/chunks/{worktree-mn22b81s.js → credential-56sah4ty.js} +17 -17
- package/dist/chunks/{worktree-5daktx2q.js → credential-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-jqdzd9z8.js → credential-5g344j8n.js} +8 -8
- package/dist/chunks/{worktree-9k2v62xn.js → credential-5nsrms9d.js} +1 -1
- package/dist/chunks/{worktree-nfnn75e4.js → credential-5sq9qdt5.js} +20 -20
- package/dist/chunks/{worktree-5t3nmthw.js → credential-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-x1b4jc5q.js → credential-5x64k753.js} +25 -25
- package/dist/chunks/{worktree-w418y777.js → credential-65zdpymn.js} +8 -8
- package/dist/chunks/{worktree-669tq793.js → credential-669tq793.js} +1 -1
- package/dist/chunks/{worktree-2bbm4yb8.js → credential-686gxxnm.js} +32 -32
- package/dist/chunks/{worktree-a4wsc5ch.js → credential-69n4s4c8.js} +7 -7
- package/dist/chunks/{worktree-r7kds8hk.js → credential-6g8mxxbf.js} +4 -4
- package/dist/chunks/credential-6kdq0pjd.js +4 -0
- package/dist/chunks/{worktree-tsjq9kym.js → credential-6kmmntsj.js} +26 -26
- package/dist/chunks/{worktree-6msgmcgs.js → credential-6msgmcgs.js} +1 -1
- package/dist/chunks/{worktree-v2xpgazf.js → credential-6q2wdtm9.js} +8 -8
- package/dist/chunks/credential-6tq42r19.js +22 -0
- package/dist/chunks/{worktree-71q4at8m.js → credential-71q4at8m.js} +1 -1
- package/dist/chunks/{worktree-wtf4ezaw.js → credential-71spx5sa.js} +4 -4
- package/dist/chunks/{worktree-6wc2ywbc.js → credential-73t5tbav.js} +14 -14
- package/dist/chunks/{worktree-73tb2d7t.js → credential-73tb2d7t.js} +1 -1
- package/dist/chunks/{worktree-2h5ywktg.js → credential-76nh0wjp.js} +10 -10
- package/dist/chunks/{worktree-c8r0p240.js → credential-77dprfnt.js} +15 -15
- package/dist/chunks/{worktree-arv4s5vt.js → credential-78mn15xw.js} +46 -46
- package/dist/chunks/{worktree-7b15y959.js → credential-7b15y959.js} +1 -1
- package/dist/chunks/{worktree-7bmhse3q.js → credential-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-2njfwjb2.js → credential-7ethggbv.js} +37 -37
- package/dist/chunks/{worktree-9qj7dh1c.js → credential-7fhpj3jn.js} +15 -15
- package/dist/chunks/{worktree-n8fan464.js → credential-7gvb521f.js} +28 -28
- package/dist/chunks/{worktree-244mw7cq.js → credential-7h18g36k.js} +30 -30
- package/dist/chunks/{worktree-1c2y2rkk.js → credential-7mysesyv.js} +12 -12
- package/dist/chunks/{worktree-yj5yszst.js → credential-7vxx8kmp.js} +12 -12
- package/dist/chunks/{worktree-9b00c1fb.js → credential-7xyrrtj6.js} +5 -5
- package/dist/chunks/{worktree-mzcj9rt6.js → credential-7z2w4zk1.js} +23 -23
- package/dist/chunks/{worktree-wgr81hh0.js → credential-83h3w6ts.js} +27 -27
- package/dist/chunks/{worktree-vypqtakx.js → credential-83x6p9kd.js} +1 -1
- package/dist/chunks/{worktree-zxq47b82.js → credential-85d9210f.js} +8 -8
- package/dist/chunks/{worktree-3gdgz9fc.js → credential-8azqhvhf.js} +6 -6
- package/dist/chunks/{worktree-6t3tdbke.js → credential-8bvtxx6t.js} +12 -12
- package/dist/chunks/{worktree-8d7r5vzw.js → credential-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-vdc5d1rg.js → credential-8ee7bc5c.js} +15 -15
- package/dist/chunks/{worktree-8p4f9s12.js → credential-8p4f9s12.js} +2 -2
- package/dist/chunks/{worktree-nyy8pdp4.js → credential-8zgef3ym.js} +28 -28
- package/dist/chunks/{worktree-tw3b2c1y.js → credential-909pcchj.js} +78 -78
- package/dist/chunks/{worktree-0fyqfvqt.js → credential-91wtgz8k.js} +25 -25
- package/dist/chunks/{worktree-zr3qrszr.js → credential-95v5px53.js} +18 -18
- package/dist/chunks/{worktree-z027aptg.js → credential-9dtg213c.js} +40 -40
- package/dist/chunks/{worktree-qzkqxs9z.js → credential-9w2d6m2a.js} +9 -9
- package/dist/chunks/{worktree-7f1zm8xr.js → credential-9zkgkngc.js} +11 -11
- package/dist/chunks/{worktree-z3g4xrj9.js → credential-a10p2k0v.js} +21 -21
- package/dist/chunks/{worktree-a1bz86dw.js → credential-a1bz86dw.js} +3 -3
- package/dist/chunks/{worktree-qc69zkx6.js → credential-a41gfe4d.js} +26 -26
- package/dist/chunks/{worktree-mz61je2n.js → credential-a9v1gn98.js} +8 -8
- package/dist/chunks/{worktree-aaet6srn.js → credential-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-edme2h3e.js → credential-apn8f15b.js} +4 -4
- package/dist/chunks/{worktree-b2a3xspp.js → credential-asyrvkps.js} +9 -9
- package/dist/chunks/{worktree-sehhrc3t.js → credential-at1qkrnj.js} +6 -6
- package/dist/chunks/{worktree-74argw2a.js → credential-atsrf1p8.js} +34 -41
- package/dist/chunks/{worktree-1ery4yfq.js → credential-b359387s.js} +12 -12
- package/dist/chunks/{worktree-b6gygkdw.js → credential-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-09xs0kpr.js → credential-b6pd93xk.js} +32 -32
- package/dist/chunks/{worktree-yapytcgw.js → credential-b9h4ye0g.js} +9 -9
- package/dist/chunks/{worktree-zfm6bwvs.js → credential-bbgh5zt9.js} +20 -20
- package/dist/chunks/{worktree-nzwz8brh.js → credential-bbjevjb1.js} +20 -20
- package/dist/chunks/{worktree-468dtmg8.js → credential-btgew72b.js} +7 -7
- package/dist/chunks/{worktree-nhvhf6q8.js → credential-bv56xrks.js} +2 -2
- package/dist/chunks/{worktree-539jk4fq.js → credential-bwshncvd.js} +2 -2
- package/dist/chunks/{worktree-v3psvfd1.js → credential-c36p2bt1.js} +27 -27
- package/dist/chunks/{worktree-y869hese.js → credential-c3cqe563.js} +26 -26
- package/dist/chunks/{worktree-y5p6jryx.js → credential-c6z2bm72.js} +4 -4
- package/dist/chunks/{worktree-84tssp1s.js → credential-c7ecgrk6.js} +6 -6
- package/dist/chunks/{worktree-93x798nw.js → credential-c95cvesc.js} +2 -2
- package/dist/chunks/{worktree-axcvnh6x.js → credential-ccb2a340.js} +22 -22
- package/dist/chunks/{worktree-cfpkc3c9.js → credential-cfpkc3c9.js} +2 -2
- package/dist/chunks/{worktree-yve3c8px.js → credential-cfrb7rge.js} +45 -45
- package/dist/chunks/{worktree-c0ewq7ys.js → credential-cne6g3qh.js} +17 -17
- package/dist/chunks/{worktree-4y7f1htk.js → credential-ddkgrmw3.js} +27 -27
- package/dist/chunks/{worktree-j0eba36x.js → credential-dqkgee86.js} +39 -39
- package/dist/chunks/{worktree-0pnwce6d.js → credential-dtx1mak6.js} +21 -21
- package/dist/chunks/{worktree-byda3mc6.js → credential-dw9fw5zp.js} +8 -8
- package/dist/chunks/credential-dxj72tfx.js +18 -0
- package/dist/chunks/{worktree-wewgh3cc.js → credential-dy8qh9xy.js} +8 -8
- package/dist/chunks/{worktree-pyakq9xe.js → credential-e379cr0y.js} +12 -12
- package/dist/chunks/{worktree-1dhk6hmk.js → credential-e4nfnrvk.js} +12 -12
- package/dist/chunks/{worktree-35agz59w.js → credential-e6hd9jay.js} +4 -4
- package/dist/chunks/{worktree-yn5pc3yf.js → credential-ej01abyf.js} +20 -20
- package/dist/chunks/{worktree-mrw4weg4.js → credential-en74w496.js} +5 -5
- package/dist/chunks/{worktree-etq0c3wd.js → credential-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-884je023.js → credential-exfykm2r.js} +52 -52
- package/dist/chunks/{worktree-bf84bve4.js → credential-f00j52z1.js} +157 -157
- package/dist/chunks/{worktree-3a69nzm4.js → credential-f1f1qrpc.js} +41 -41
- package/dist/chunks/{worktree-q5xvhvda.js → credential-f6h44vt5.js} +6 -6
- package/dist/chunks/{worktree-54cxa91y.js → credential-f79w93tn.js} +5 -5
- package/dist/chunks/{worktree-f828m53h.js → credential-f828m53h.js} +2 -2
- package/dist/chunks/{worktree-pdyh4aae.js → credential-fb7cknjd.js} +13 -13
- package/dist/chunks/{worktree-gngqx6ca.js → credential-fg75ppcy.js} +29 -29
- package/dist/chunks/{worktree-c34h00rm.js → credential-fmsed0sg.js} +24 -24
- package/dist/chunks/{worktree-dp88awst.js → credential-fqsjcqv2.js} +16 -16
- package/dist/chunks/{worktree-jrf7w1sk.js → credential-fr0hst6m.js} +5 -5
- package/dist/chunks/{worktree-6cnhqcb5.js → credential-fsmaqbgh.js} +32 -32
- package/dist/chunks/{worktree-fxbjtjnd.js → credential-fxbjtjnd.js} +1 -1
- package/dist/chunks/{worktree-7qq57c1m.js → credential-g9630prq.js} +9 -9
- package/dist/chunks/{worktree-02nrjc1r.js → credential-gbt6w4kb.js} +4 -4
- package/dist/chunks/{worktree-gd4qta3r.js → credential-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-hpfvhvya.js → credential-gn2hfjap.js} +8 -8
- package/dist/chunks/{worktree-gbk988mc.js → credential-gp0sg3k4.js} +22 -22
- package/dist/chunks/{worktree-ge649byp.js → credential-gpz9xnha.js} +13 -13
- package/dist/chunks/{worktree-3trbxeqx.js → credential-gt0cxfk7.js} +1 -1
- package/dist/chunks/{worktree-th5km1p3.js → credential-gv6a8nnw.js} +5 -5
- package/dist/chunks/{worktree-h03wrkyp.js → credential-h03wrkyp.js} +2 -2
- package/dist/chunks/{worktree-pdjr2yqz.js → credential-h20c96gm.js} +33 -33
- package/dist/chunks/{worktree-h6vf3j39.js → credential-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-sadxt2pa.js → credential-h7xzfsz6.js} +46 -46
- package/dist/chunks/{worktree-msdm1bd1.js → credential-h9rtxgm4.js} +15 -15
- package/dist/chunks/{worktree-hm24pp5g.js → credential-had4kgfk.js} +6 -6
- package/dist/chunks/{worktree-n6a4148r.js → credential-hfgsy8qe.js} +3 -3
- package/dist/chunks/{worktree-nhy5jxhy.js → credential-hjt4xg1x.js} +4 -4
- package/dist/chunks/{worktree-qfzde7bh.js → credential-hq8zt1th.js} +6 -6
- package/dist/chunks/{worktree-7wbb1zn6.js → credential-hvmrywg9.js} +19 -19
- package/dist/chunks/{worktree-cht86wkj.js → credential-j4xqs8he.js} +31 -31
- package/dist/chunks/{worktree-j56e64zr.js → credential-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-bqd37ks9.js → credential-j7afzrcr.js} +9 -9
- package/dist/chunks/{worktree-bct739vz.js → credential-j83byb14.js} +4 -4
- package/dist/chunks/{worktree-fq1h1v14.js → credential-jhetwysa.js} +3 -3
- package/dist/chunks/{worktree-kqd2wwpf.js → credential-jrrn2k62.js} +4 -4
- package/dist/chunks/{worktree-w74v902z.js → credential-jwbr3km5.js} +21 -21
- package/dist/chunks/{worktree-kpvyk30t.js → credential-jwx4y25k.js} +9 -9
- package/dist/chunks/{worktree-zxkpyd1k.js → credential-k38mk1vx.js} +6 -6
- package/dist/chunks/{worktree-kg06axw8.js → credential-kg06axw8.js} +1 -1
- package/dist/chunks/{worktree-3qdqgmdj.js → credential-khykcjbr.js} +11 -11
- package/dist/chunks/{worktree-h538v51m.js → credential-ks7htes5.js} +22 -22
- package/dist/chunks/{worktree-hb79c5eb.js → credential-kv4a4z6b.js} +9 -9
- package/dist/chunks/{worktree-81zaz4ac.js → credential-m1he9yt5.js} +43 -43
- package/dist/chunks/{worktree-5ak723ww.js → credential-m8bjfkk9.js} +9 -9
- package/dist/chunks/{worktree-m9w0rfyh.js → credential-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-mkcjrzeh.js → credential-mkcjrzeh.js} +1 -1
- package/dist/chunks/{worktree-swhf355t.js → credential-ms6j5dg4.js} +18 -18
- package/dist/chunks/{worktree-81enad2h.js → credential-mscwsevq.js} +1 -1
- package/dist/chunks/{worktree-0bqrjw7h.js → credential-mvfaqrr0.js} +4 -4
- package/dist/chunks/{worktree-fdhw24dr.js → credential-n02j7a4g.js} +36 -36
- package/dist/chunks/{worktree-jefma2gq.js → credential-n31d0ktv.js} +10 -10
- package/dist/chunks/{worktree-0c6ktq3y.js → credential-nbzsj80d.js} +8 -8
- package/dist/chunks/{worktree-2gydx7a7.js → credential-nfk5cz2h.js} +10 -10
- package/dist/chunks/{worktree-h48cjffy.js → credential-nsac91pq.js} +23 -23
- package/dist/chunks/{worktree-e79axaby.js → credential-nvn4yca8.js} +8 -8
- package/dist/chunks/{worktree-yhrpggw5.js → credential-p280jz24.js} +9 -9
- package/dist/chunks/{worktree-dc6hwzzt.js → credential-pcmkfrz8.js} +48 -48
- package/dist/chunks/{worktree-nqdxr6ky.js → credential-pgbkh3mx.js} +3 -3
- package/dist/chunks/{worktree-pjvnvgmy.js → credential-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-pknna89w.js → credential-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-tsc6q5nc.js → credential-q8kwesbk.js} +25 -25
- package/dist/chunks/{worktree-xd2p8b6x.js → credential-qdtgw5bq.js} +6 -6
- package/dist/chunks/{worktree-81swgkk7.js → credential-qg6emqy4.js} +9 -9
- package/dist/chunks/{worktree-vxsx0exv.js → credential-qp4gcwwt.js} +51 -51
- package/dist/chunks/{worktree-qsdy395h.js → credential-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-8gy8zqjj.js → credential-qwf697tk.js} +27 -27
- package/dist/chunks/{worktree-g2r6x3tk.js → credential-r6teeq8r.js} +3 -3
- package/dist/chunks/{worktree-kd5sw36g.js → credential-rjby0eaq.js} +9 -9
- package/dist/chunks/{worktree-rsdf2nvv.js → credential-rsdf2nvv.js} +1 -1
- package/dist/chunks/{worktree-typy0p4q.js → credential-rwagp3kg.js} +80 -80
- package/dist/chunks/{worktree-kt1ecy0s.js → credential-ry15mc2v.js} +35 -35
- package/dist/chunks/{worktree-wtez2wwh.js → credential-rzdj8rzc.js} +3 -3
- package/dist/chunks/{worktree-tn4hkw1v.js → credential-s0q6yv4v.js} +35 -35
- package/dist/chunks/{worktree-6fdj6kdr.js → credential-sgfkh1bp.js} +4 -4
- package/dist/chunks/{worktree-2ggpg6at.js → credential-sh38pj43.js} +27 -27
- package/dist/chunks/credential-sjzv27ft.js +247 -0
- package/dist/chunks/{worktree-nj8r009v.js → credential-st5ktw2g.js} +13 -13
- package/dist/chunks/{worktree-8fp5w46m.js → credential-sy0gzybz.js} +18 -18
- package/dist/chunks/{worktree-p1wf2k30.js → credential-t0x5rdq8.js} +9 -9
- package/dist/chunks/{worktree-34rkz0x9.js → credential-t2fc4mz5.js} +7 -7
- package/dist/chunks/{worktree-m5y0j72z.js → credential-t41sh3fy.js} +18 -18
- package/dist/chunks/{worktree-h2gyv3sg.js → credential-t8mcaem5.js} +1 -1
- package/dist/chunks/{worktree-tazgh4e4.js → credential-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-tcezcvh9.js → credential-tcezcvh9.js} +1 -1
- package/dist/chunks/{worktree-tdstcens.js → credential-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-2eadnc11.js → credential-thd5acdx.js} +26 -26
- package/dist/chunks/{worktree-3y4zrqv5.js → credential-tpwdr59n.js} +13 -13
- package/dist/chunks/{worktree-tvtrv512.js → credential-tvtrv512.js} +1 -1
- package/dist/chunks/{worktree-07h6kd27.js → credential-tyw945wc.js} +17 -17
- package/dist/chunks/{worktree-k6z6zgfk.js → credential-vbah0zve.js} +6 -6
- package/dist/chunks/{worktree-cpaskrdq.js → credential-vc5zzj1b.js} +28 -28
- package/dist/chunks/{worktree-47b9yvnx.js → credential-vcq8jmfk.js} +19 -19
- package/dist/chunks/{worktree-atxwy4st.js → credential-vd169w8v.js} +17 -17
- package/dist/chunks/{worktree-y1f8q6kf.js → credential-vekyynk0.js} +61 -61
- package/dist/chunks/{worktree-veqvce7d.js → credential-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-rk0ywbkq.js → credential-vqnfpec2.js} +4 -4
- package/dist/chunks/{worktree-y13khpec.js → credential-vqr9hz61.js} +13 -13
- package/dist/chunks/{worktree-ya8x3fj2.js → credential-vt1amaja.js} +27 -27
- package/dist/chunks/{worktree-fxqygnfa.js → credential-vyy6cxw9.js} +4 -4
- package/dist/chunks/{worktree-vzcthcp8.js → credential-vzcthcp8.js} +1 -1
- package/dist/chunks/{worktree-w3wsvvr9.js → credential-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-erjxbtfh.js → credential-w6akx0pp.js} +15 -15
- package/dist/chunks/{worktree-g44j0cq6.js → credential-w9tseppn.js} +41 -41
- package/dist/chunks/{worktree-hch7hs3h.js → credential-wak322rn.js} +10 -10
- package/dist/chunks/{worktree-wbkyxrgf.js → credential-wbkyxrgf.js} +2 -2
- package/dist/chunks/{worktree-wd87259q.js → credential-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-nnn1sa7c.js → credential-wdvyek55.js} +22 -22
- package/dist/chunks/{worktree-5xyve7h3.js → credential-wj604y0c.js} +28 -28
- package/dist/chunks/credential-wk4y5nr3.js +260 -0
- package/dist/chunks/{worktree-qezjrgcf.js → credential-wq8n05qc.js} +23 -23
- package/dist/chunks/{worktree-0rstx4q2.js → credential-wtpfkq3a.js} +3 -3
- package/dist/chunks/{worktree-9cdxmsp5.js → credential-wtrmr3z3.js} +41 -41
- package/dist/chunks/{worktree-wx9wy1qm.js → credential-wx9wy1qm.js} +1 -1
- package/dist/chunks/{worktree-mqy0jkn2.js → credential-x0511brf.js} +4 -4
- package/dist/chunks/{worktree-x1ezjp6w.js → credential-x1ezjp6w.js} +1 -1
- package/dist/chunks/{worktree-72bhgy2p.js → credential-x3032y69.js} +23 -23
- package/dist/chunks/{worktree-1afrw49r.js → credential-x34hv49z.js} +10 -10
- package/dist/chunks/{worktree-x43y2vfs.js → credential-x43y2vfs.js} +2 -2
- package/dist/chunks/{worktree-sxs9szdh.js → credential-xdj3jhyd.js} +26 -26
- package/dist/chunks/{worktree-5trk58xb.js → credential-xgsrhv1b.js} +8 -8
- package/dist/chunks/{worktree-wsgy8dtq.js → credential-xr1njrc3.js} +60 -60
- package/dist/chunks/{worktree-a31gkhvw.js → credential-xrfqdtsr.js} +11 -11
- package/dist/chunks/{worktree-y1fvbwt7.js → credential-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-b293fxw2.js → credential-y3xzny5y.js} +38 -38
- package/dist/chunks/{worktree-3h1qna2c.js → credential-y6qph9rs.js} +10 -10
- package/dist/chunks/{worktree-y71avatq.js → credential-y71avatq.js} +1 -1
- package/dist/chunks/{worktree-5tapvk4p.js → credential-y8b3ftjs.js} +13 -13
- package/dist/chunks/{worktree-bb7ds5b0.js → credential-yb6jnks2.js} +15 -15
- package/dist/chunks/{worktree-f2n192rq.js → credential-yp2x3t23.js} +4 -4
- package/dist/chunks/{worktree-yrhqyw5v.js → credential-yrhqyw5v.js} +1 -1
- package/dist/chunks/{worktree-yrznvahk.js → credential-yrznvahk.js} +2 -2
- package/dist/chunks/{worktree-0f9afca0.js → credential-yt0fqk68.js} +5 -5
- package/dist/chunks/{worktree-nx4935gj.js → credential-yvmq8qxx.js} +12 -12
- package/dist/chunks/{worktree-z0bkrqjs.js → credential-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-2zjkjrap.js → credential-z2ag6yen.js} +19 -19
- package/dist/chunks/{worktree-z63w68vq.js → credential-z63w68vq.js} +2 -2
- package/dist/chunks/credential-z93ea3ce.js +462 -0
- package/dist/chunks/{worktree-gst7axd9.js → credential-zav06jzw.js} +4 -4
- package/dist/chunks/{worktree-zeh9ct20.js → credential-zeh9ct20.js} +2 -2
- package/dist/chunks/{worktree-zr2ceqn5.js → credential-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-63rqrmz1.js → credential-zt1trrjh.js} +10 -10
- package/dist/chunks/{worktree-zxq2ej10.js → credential-zxq2ej10.js} +1 -1
- package/dist/chunks/{worktree-vabb23s0.js → credential-zxwpk2nb.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +113 -113
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +115 -115
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +116 -116
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +82 -82
- package/dist/generate.js +93 -93
- package/dist/git.js +7 -7
- 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 +7 -7
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +82 -82
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +133 -133
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +118 -118
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +82 -82
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +147 -147
- 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 +219 -219
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +73 -73
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +109 -109
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +145 -145
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +86 -86
- 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 +117 -117
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +114 -114
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/session/compaction.d.ts +2 -2
- package/dist/types/session/context.d.ts +1 -1
- package/dist/types/session/model-request.d.ts +18 -37
- package/dist/types/session/runner/step.d.ts +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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 +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/worktree-0mesazry.js +0 -4
- package/dist/chunks/worktree-ev46nrf8.js +0 -270
- package/dist/chunks/worktree-fe4ks3ds.js +0 -462
- package/dist/chunks/worktree-gm7vsq7q.js +0 -247
- package/dist/chunks/worktree-ht5y0zrb.js +0 -18
- package/dist/chunks/worktree-xc139tzx.js +0 -22
- /package/dist/chunks/{worktree-0qkdqm5v.js → credential-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → credential-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → credential-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → credential-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → credential-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → credential-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → credential-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → credential-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → credential-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → credential-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → credential-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → credential-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → credential-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → credential-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → credential-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → credential-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → credential-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → credential-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → credential-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → credential-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → credential-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → credential-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → credential-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → credential-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → credential-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-922hggd3.js → credential-922hggd3.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → credential-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → credential-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → credential-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → credential-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → credential-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → credential-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → credential-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → credential-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → credential-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → credential-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → credential-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → credential-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → credential-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → credential-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → credential-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → credential-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → credential-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → credential-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → credential-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → credential-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → credential-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → credential-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → credential-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → credential-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → credential-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → credential-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → credential-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → credential-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → credential-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → credential-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → credential-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hjbc5kem.js → credential-hjbc5kem.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → credential-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-hrnqkpcd.js → credential-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → credential-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → credential-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → credential-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → credential-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → credential-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → credential-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → credential-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → credential-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → credential-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → credential-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-paphc93g.js → credential-paphc93g.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → credential-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → credential-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → credential-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → credential-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → credential-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → credential-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → credential-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → credential-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-sk3qaz4a.js → credential-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → credential-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-twg0f83k.js → credential-twg0f83k.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → credential-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → credential-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → credential-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → credential-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → credential-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → credential-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → credential-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → credential-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → credential-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → credential-z9919s4g.js} +0 -0
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./credential-3kyqxgv1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./credential-686gxxnm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error4
|
|
9
|
+
} from "./credential-0wf9s8aa.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service53
|
|
12
|
+
} from "./credential-e379cr0y.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./credential-vbah0zve.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./credential-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./credential-359mrmbb.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./credential-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./credential-h03wrkyp.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./credential-1ayrmkcs.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./credential-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -52,10 +52,10 @@ var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted"
|
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service78;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service69;
|
|
58
|
+
const toolOutput = yield* Service53;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make3 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error4({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-c7ecgrk6.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./credential-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/aisdk-native.ts
|
|
10
10
|
var exports_aisdk_native = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
7
7
|
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info14,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule2
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info14 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info14, exports_permission };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service71,
|
|
3
|
+
node74
|
|
4
|
+
} from "./credential-w9tseppn.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./credential-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info28,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref3,
|
|
15
|
+
Service: () => Service70,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node73,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info28, Ref as Ref3, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service70 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node73 = LayerNode.unbound(Service70, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service71;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service70.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service70,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node74]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info28, Ref3, response2, Service70, node73, boundNode2, exports_location };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-wak322rn.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service63
|
|
7
|
+
} from "./credential-83h3w6ts.js";
|
|
8
8
|
import {
|
|
9
9
|
ID5,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./credential-5x64k753.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
ID17
|
|
14
|
+
} from "./credential-c7ecgrk6.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
23
23
|
var pollingSafetyMargin = 3000;
|
|
24
24
|
var browserMethodID = MethodID2.make("browser");
|
|
25
25
|
var deviceMethodID = MethodID2.make("device");
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID17.make("xai");
|
|
27
27
|
var Token = Schema.Struct({
|
|
28
28
|
access_token: Schema.String,
|
|
29
29
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -68,7 +68,7 @@ var device = (app) => ({
|
|
|
68
68
|
var XAIPlugin2 = define({
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
|
-
const credentials = yield*
|
|
71
|
+
const credentials = yield* Service63;
|
|
72
72
|
yield* Effect.forEach(yield* credentials.list(ID5.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Key4,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make19,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./credential-gbt6w4kb.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID8,
|
|
10
10
|
Name2,
|
|
11
11
|
available2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service64,
|
|
13
|
+
node67
|
|
14
|
+
} from "./credential-vc5zzj1b.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./credential-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/skill/instructions.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Service: () =>
|
|
23
|
-
SkillInstructions: () =>
|
|
24
|
-
node: () =>
|
|
20
|
+
var exports_instructions4 = {};
|
|
21
|
+
__export(exports_instructions4, {
|
|
22
|
+
Service: () => Service30,
|
|
23
|
+
SkillInstructions: () => exports_instructions4,
|
|
24
|
+
node: () => node35
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
28
|
var Summary = Schema.Struct({
|
|
29
|
-
id:
|
|
29
|
+
id: ID8,
|
|
30
30
|
name: Name2,
|
|
31
31
|
description: Schema.String
|
|
32
32
|
});
|
|
@@ -60,17 +60,17 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service30 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service64;
|
|
67
|
+
return Service30.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (selection) {
|
|
69
69
|
const agent = selection.info;
|
|
70
70
|
if (!agent)
|
|
71
71
|
return empty3;
|
|
72
72
|
const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
73
|
-
return
|
|
73
|
+
return make19({
|
|
74
74
|
key: Key4.make("core/skill-guidance"),
|
|
75
75
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
76
76
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
86
|
+
var node35 = makeLocationNode({ service: Service30, layer, deps: [node67] });
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Service30, node35, exports_instructions4 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./credential-3kyqxgv1.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service63,
|
|
8
|
+
node66
|
|
9
|
+
} from "./credential-83h3w6ts.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./credential-12sqmeb8.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./credential-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event13,
|
|
34
34
|
ID: () => ID5,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info20,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
41
|
Ref: () => Ref2,
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
42
|
+
Service: () => Service61,
|
|
43
|
+
node: () => node64
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event13 } from "@opencode/schema/integration";
|
|
65
65
|
var ID5 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info20 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -87,14 +87,14 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
87
87
|
}
|
|
88
88
|
var Ref2 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service61 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
97
|
-
const bus = yield*
|
|
95
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service63;
|
|
97
|
+
const bus = yield* Service78;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
100
100
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info20.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service61.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node64 = makeLocationNode({
|
|
569
|
+
service: Service61,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node66, node82, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export { ID5, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2,
|
|
574
|
+
export { ID5, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info20, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service61, node64, exports_integration, Event13 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make19,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-gbt6w4kb.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./credential-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./credential-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
17
|
var exports_instructions3 = {};
|
|
18
18
|
__export(exports_instructions3, {
|
|
19
19
|
CodeModeInstructions: () => exports_instructions3,
|
|
20
|
-
make: () =>
|
|
20
|
+
make: () => make14,
|
|
21
21
|
render: () => render2,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
@@ -113,9 +113,9 @@ ${render2(current)}`;
|
|
|
113
113
|
}
|
|
114
114
|
var key = Key4.make("core/codemode");
|
|
115
115
|
var codec = Schema.toCodecJson(Summary2);
|
|
116
|
-
var
|
|
116
|
+
var make14 = (inventory) => {
|
|
117
117
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
118
|
-
return
|
|
118
|
+
return make19({
|
|
119
119
|
key,
|
|
120
120
|
codec,
|
|
121
121
|
read: Effect.succeed(catalog),
|
|
@@ -127,4 +127,4 @@ var make13 = (inventory) => {
|
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
|
|
130
|
-
export { render2, update3,
|
|
130
|
+
export { render2, update3, make14, exports_instructions3 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service72,
|
|
9
|
+
node75
|
|
10
|
+
} from "./credential-n31d0ktv.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service70,
|
|
13
|
+
node73
|
|
14
|
+
} from "./credential-56sah4ty.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./credential-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./credential-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID13,
|
|
27
|
+
Service: () => Service69,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node72,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID13 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service69 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service72;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service70;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID13.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service69.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node72 = makeLocationNode({
|
|
139
|
+
service: Service69,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node75, Global.node, node73]
|
|
142
142
|
});
|
|
143
|
-
var noopLayer3 = Layer.succeed(
|
|
143
|
+
var noopLayer3 = Layer.succeed(Service69, Service69.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service48, Service48.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error3({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID13, Error3, Service69, node72, noopLayer3, exports_snapshot2 };
|