@opencode/core 0.0.0-dev-19403 → 0.0.0-dev-19404
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{credential-gp0sg3k4.js → file-03wwe30p.js} +20 -20
- package/dist/chunks/{credential-5g344j8n.js → file-03zt5v0h.js} +11 -11
- package/dist/chunks/{credential-77dprfnt.js → file-0bc9xa41.js} +15 -15
- package/dist/chunks/{credential-y8b3ftjs.js → file-0ee4sq7j.js} +13 -13
- package/dist/chunks/{credential-3kyqxgv1.js → file-0kzzmtkd.js} +8 -8
- package/dist/chunks/file-0mesazry.js +4 -0
- package/dist/chunks/{credential-jwx4y25k.js → file-0p4j4cv0.js} +9 -9
- package/dist/chunks/{credential-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{credential-0q0f95c6.js → file-0q0f95c6.js} +1 -1
- package/dist/chunks/{credential-83h3w6ts.js → file-0tqgm7xh.js} +33 -33
- package/dist/chunks/{credential-7h18g36k.js → file-0vbmec47.js} +28 -28
- package/dist/chunks/{credential-jrrn2k62.js → file-11tcp5y8.js} +4 -4
- package/dist/chunks/{credential-wj604y0c.js → file-195b9hkp.js} +24 -24
- package/dist/chunks/{credential-1dazxqgg.js → file-1dazxqgg.js} +2 -2
- package/dist/chunks/{credential-8bvtxx6t.js → file-1enyjv7v.js} +10 -10
- package/dist/chunks/{credential-1eyaby9q.js → file-1eyaby9q.js} +2 -2
- package/dist/chunks/{credential-2sc61f2y.js → file-1tx98gn3.js} +14 -14
- package/dist/chunks/{credential-3319vpkn.js → file-1vd4786e.js} +9 -9
- package/dist/chunks/{credential-at1qkrnj.js → file-1vpsedet.js} +6 -6
- package/dist/chunks/{credential-4zrw1ey2.js → file-1z0pzthf.js} +2 -2
- package/dist/chunks/{credential-vcq8jmfk.js → file-206fxkvm.js} +16 -16
- package/dist/chunks/{credential-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{credential-z63w68vq.js → file-29x78va6.js} +6 -6
- package/dist/chunks/{credential-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{credential-7mysesyv.js → file-2cmcktmr.js} +8 -8
- package/dist/chunks/{credential-c6z2bm72.js → file-2ff89mrc.js} +4 -4
- package/dist/chunks/{credential-a10p2k0v.js → file-2r4xr41j.js} +23 -23
- package/dist/chunks/{credential-wdvyek55.js → file-2rbw2ja1.js} +22 -22
- package/dist/chunks/{credential-24gf6x1s.js → file-37y0x4sa.js} +13 -13
- package/dist/chunks/{credential-fqsjcqv2.js → file-397qe2v7.js} +14 -14
- package/dist/chunks/{credential-3fc6dm20.js → file-3fc6dm20.js} +1 -1
- package/dist/chunks/{credential-f1f1qrpc.js → file-3fj0ehej.js} +39 -39
- package/dist/chunks/{credential-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/{credential-xrfqdtsr.js → file-3kff94q5.js} +8 -8
- package/dist/chunks/{credential-mscwsevq.js → file-3n1sj9mp.js} +1 -1
- package/dist/chunks/{credential-q8kwesbk.js → file-3nmb6yg0.js} +35 -35
- package/dist/chunks/{credential-vt1amaja.js → file-3nte7245.js} +12 -12
- package/dist/chunks/{credential-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{credential-gt0cxfk7.js → file-3trbxeqx.js} +1 -1
- package/dist/chunks/{credential-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{credential-3cfzdc8e.js → file-3w2b2yj4.js} +5 -5
- package/dist/chunks/{credential-bwshncvd.js → file-3yjg5mh2.js} +3 -3
- package/dist/chunks/{credential-8ee7bc5c.js → file-3yknbgq7.js} +17 -17
- package/dist/chunks/{credential-b6pd93xk.js → file-416qpt5q.js} +33 -33
- package/dist/chunks/{credential-4knk9ex6.js → file-4e25g0td.js} +17 -17
- package/dist/chunks/{credential-rzdj8rzc.js → file-4qbtf2xm.js} +5 -5
- package/dist/chunks/{credential-c95cvesc.js → file-4rpd5z62.js} +2 -2
- package/dist/chunks/{credential-wtrmr3z3.js → file-4ycmfby4.js} +26 -26
- package/dist/chunks/{credential-h9rtxgm4.js → file-52az7e5h.js} +18 -18
- package/dist/chunks/{credential-1ygqh575.js → file-56gdpj1q.js} +9 -9
- package/dist/chunks/{credential-yb6jnks2.js → file-56j57pys.js} +15 -15
- package/dist/chunks/{credential-hvmrywg9.js → file-5aejmzs0.js} +20 -20
- package/dist/chunks/{credential-pgbkh3mx.js → file-5cvqq58e.js} +3 -3
- package/dist/chunks/{credential-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{credential-y3xzny5y.js → file-5djf14hj.js} +35 -35
- package/dist/chunks/{credential-5t3nmthw.js → file-5t3nmthw.js} +2 -2
- package/dist/chunks/{credential-xgsrhv1b.js → file-5trk58xb.js} +8 -8
- package/dist/chunks/{credential-wtpfkq3a.js → file-5z7h86dp.js} +5 -5
- package/dist/chunks/{credential-z93ea3ce.js → file-60chw6ns.js} +300 -300
- package/dist/chunks/{credential-cne6g3qh.js → file-664j63h8.js} +20 -20
- package/dist/chunks/{credential-669tq793.js → file-669tq793.js} +1 -1
- package/dist/chunks/{credential-rjby0eaq.js → file-67mjd9te.js} +7 -7
- package/dist/chunks/{credential-56sah4ty.js → file-6bg31a94.js} +16 -16
- package/dist/chunks/{credential-qwf697tk.js → file-6cr0vect.js} +27 -27
- package/dist/chunks/{credential-2402vzrj.js → file-6h73sxmp.js} +5 -5
- package/dist/chunks/{credential-2bt6bea8.js → file-6jnybvqn.js} +9 -9
- package/dist/chunks/{credential-6msgmcgs.js → file-6msgmcgs.js} +1 -1
- package/dist/chunks/{credential-4nm23889.js → file-70xczmxz.js} +7 -7
- package/dist/chunks/{credential-71q4at8m.js → file-71q4at8m.js} +1 -1
- package/dist/chunks/{credential-9w2d6m2a.js → file-75v5avbv.js} +9 -9
- package/dist/chunks/{credential-gpz9xnha.js → file-79rym0vx.js} +16 -16
- package/dist/chunks/{credential-z2ag6yen.js → file-7a03d1b8.js} +19 -19
- package/dist/chunks/{credential-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{credential-2k8khapm.js → file-7dqw4kz8.js} +5 -5
- package/dist/chunks/{credential-e6hd9jay.js → file-7ebn0nc0.js} +6 -6
- package/dist/chunks/{credential-73tb2d7t.js → file-7yh4e7ss.js} +3 -3
- package/dist/chunks/{credential-qg6emqy4.js → file-81swgkk7.js} +9 -9
- package/dist/chunks/{credential-7b15y959.js → file-844ef7ks.js} +8 -8
- package/dist/chunks/{credential-c7ecgrk6.js → file-84tssp1s.js} +6 -6
- package/dist/chunks/{credential-had4kgfk.js → file-87deq66t.js} +6 -6
- package/dist/chunks/{credential-rsdf2nvv.js → file-88sz8qcd.js} +4 -4
- package/dist/chunks/{credential-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
- package/dist/chunks/{credential-8zgef3ym.js → file-8kpa3sfw.js} +24 -24
- package/dist/chunks/{credential-8p4f9s12.js → file-8p4f9s12.js} +2 -2
- package/dist/chunks/{credential-dtx1mak6.js → file-8pnwjqbd.js} +18 -18
- package/dist/chunks/{credential-fb7cknjd.js → file-8s0m5yrh.js} +18 -18
- package/dist/chunks/{credential-t2fc4mz5.js → file-8x96bj0m.js} +7 -7
- package/dist/chunks/{credential-gn2hfjap.js → file-91p1v22t.js} +8 -8
- package/dist/chunks/{credential-ej01abyf.js → file-9aqzzx1f.js} +16 -16
- package/dist/chunks/{credential-g9630prq.js → file-9bj2cvf7.js} +9 -9
- package/dist/chunks/{credential-sy0gzybz.js → file-9hhkemsn.js} +18 -18
- package/dist/chunks/{credential-5nsrms9d.js → file-9k2v62xn.js} +1 -1
- package/dist/chunks/{credential-ks7htes5.js → file-9nmemh1m.js} +19 -19
- package/dist/chunks/{credential-c3cqe563.js → file-9v3118pd.js} +25 -25
- package/dist/chunks/{credential-wq8n05qc.js → file-9vqmh8rd.js} +19 -19
- package/dist/chunks/{credential-x34hv49z.js → file-9yb9755z.js} +13 -13
- package/dist/chunks/{credential-a1bz86dw.js → file-a1bz86dw.js} +3 -3
- package/dist/chunks/{credential-vqnfpec2.js → file-a28msnrx.js} +4 -4
- package/dist/chunks/{credential-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/{credential-asyrvkps.js → file-agmzfzv5.js} +18 -18
- package/dist/chunks/{credential-atsrf1p8.js → file-agz6ccty.js} +30 -30
- package/dist/chunks/{credential-j83byb14.js → file-an7cqtb7.js} +4 -4
- package/dist/chunks/{credential-ms6j5dg4.js → file-arncpnzb.js} +10 -10
- package/dist/chunks/{credential-a9v1gn98.js → file-ashvqh0k.js} +6 -6
- package/dist/chunks/{credential-0n9gyfew.js → file-awz7xhfp.js} +4 -4
- package/dist/chunks/{credential-k38mk1vx.js → file-b3ab3ctg.js} +6 -6
- package/dist/chunks/{credential-wx9wy1qm.js → file-b3wkxfg9.js} +1 -1
- package/dist/chunks/{credential-vbah0zve.js → file-b4ssmz4r.js} +9 -9
- package/dist/chunks/{credential-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{credential-fsmaqbgh.js → file-b8ek1188.js} +27 -27
- package/dist/chunks/{credential-vc5zzj1b.js → file-b91bsk4k.js} +22 -22
- package/dist/chunks/{credential-91wtgz8k.js → file-bbddt0rr.js} +22 -22
- package/dist/chunks/{credential-5sq9qdt5.js → file-bd7mw0dj.js} +20 -20
- package/dist/chunks/{credential-909pcchj.js → file-bf99w40p.js} +83 -83
- package/dist/chunks/{credential-76nh0wjp.js → file-bv5t9bgg.js} +10 -10
- package/dist/chunks/file-bxsmgxt8.js +22 -0
- package/dist/chunks/{credential-thd5acdx.js → file-c807y6n2.js} +29 -29
- package/dist/chunks/{credential-7xyrrtj6.js → file-ce5fknq2.js} +5 -5
- package/dist/chunks/{credential-cfpkc3c9.js → file-cfpkc3c9.js} +2 -2
- package/dist/chunks/{credential-r6teeq8r.js → file-d1xvm4af.js} +15 -15
- package/dist/chunks/{credential-sh38pj43.js → file-d5n4bh35.js} +25 -25
- package/dist/chunks/{credential-3ga5hpyt.js → file-denqxv8d.js} +7 -7
- package/dist/chunks/{credential-m1he9yt5.js → file-dft13gwa.js} +46 -46
- package/dist/chunks/{credential-t41sh3fy.js → file-dgbe4bt1.js} +12 -12
- package/dist/chunks/{credential-exfykm2r.js → file-dn4sgk77.js} +57 -57
- package/dist/chunks/{credential-xdj3jhyd.js → file-dtbk98nz.js} +29 -29
- package/dist/chunks/{credential-4e8cngzy.js → file-dx6t03ys.js} +2 -2
- package/dist/chunks/{credential-73t5tbav.js → file-e6g776ht.js} +18 -18
- package/dist/chunks/{credential-2qpq9t3c.js → file-e7c5hh0v.js} +7 -7
- package/dist/chunks/{credential-39hgytyk.js → file-e7n26ax2.js} +6 -6
- package/dist/chunks/{credential-359mrmbb.js → file-e9cer28w.js} +4 -4
- package/dist/chunks/{credential-x0511brf.js → file-ec8389mk.js} +4 -4
- package/dist/chunks/{credential-0wf9s8aa.js → file-edx7kkbf.js} +24 -24
- package/dist/chunks/{credential-65zdpymn.js → file-egqspz5t.js} +8 -8
- package/dist/chunks/{credential-zav06jzw.js → file-embw8kgh.js} +4 -4
- package/dist/chunks/{credential-1wxb385z.js → file-esdnemd6.js} +1 -1
- package/dist/chunks/{credential-etq0c3wd.js → file-etq0c3wd.js} +1 -1
- package/dist/chunks/{credential-4nec11k8.js → file-ew6y6y1a.js} +30 -30
- package/dist/chunks/{credential-7fhpj3jn.js → file-eykg37vx.js} +18 -18
- package/dist/chunks/{credential-f828m53h.js → file-f828m53h.js} +2 -2
- package/dist/chunks/{credential-h20c96gm.js → file-f98vsa4d.js} +30 -30
- package/dist/chunks/{credential-btgew72b.js → file-ff8vf18q.js} +7 -7
- package/dist/chunks/{credential-t0x5rdq8.js → file-fjmrr6sh.js} +9 -9
- package/dist/chunks/{credential-4sb7ezm0.js → file-fk561ek3.js} +17 -17
- package/dist/chunks/{credential-69n4s4c8.js → file-fkszgfvj.js} +14 -14
- package/dist/chunks/{credential-jhetwysa.js → file-fq1h1v14.js} +3 -3
- package/dist/chunks/{credential-e4nfnrvk.js → file-frghq38s.js} +15 -15
- package/dist/chunks/{credential-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
- package/dist/chunks/{credential-cfrb7rge.js → file-fydnx5fx.js} +40 -40
- package/dist/chunks/{credential-ccb2a340.js → file-fzsrmebp.js} +24 -24
- package/dist/chunks/{credential-yvmq8qxx.js → file-g5twr0sp.js} +12 -12
- package/dist/chunks/{credential-2mgmyakx.js → file-g713qgch.js} +22 -22
- package/dist/chunks/{credential-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{credential-7vxx8kmp.js → file-gj4x8zz6.js} +15 -15
- package/dist/chunks/{credential-9zkgkngc.js → file-gj7pn1ka.js} +11 -11
- package/dist/chunks/{credential-bv56xrks.js → file-gj9xpvv3.js} +6 -6
- package/dist/chunks/{credential-wk4y5nr3.js → file-gshc2tst.js} +32 -32
- package/dist/chunks/{credential-gv6a8nnw.js → file-gv6a8nnw.js} +2 -2
- package/dist/chunks/{credential-apn8f15b.js → file-gzbkpp9m.js} +8 -8
- package/dist/chunks/{credential-h03wrkyp.js → file-h03wrkyp.js} +2 -2
- package/dist/chunks/{credential-dqkgee86.js → file-h074tf43.js} +38 -38
- package/dist/chunks/{credential-t8mcaem5.js → file-h2gyv3sg.js} +1 -1
- package/dist/chunks/{credential-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{credential-493f7437.js → file-hbznxe04.js} +11 -11
- package/dist/chunks/{credential-a41gfe4d.js → file-he3a9kdv.js} +29 -29
- package/dist/chunks/{credential-hq8zt1th.js → file-hq8zt1th.js} +1 -1
- package/dist/chunks/file-ht5y0zrb.js +18 -0
- package/dist/chunks/{credential-c36p2bt1.js → file-htj0b10m.js} +24 -24
- package/dist/chunks/{credential-xr1njrc3.js → file-j1ywwsrp.js} +54 -54
- package/dist/chunks/{credential-09nq0425.js → file-j2j5pzjs.js} +5 -5
- package/dist/chunks/{credential-j56e64zr.js → file-j56e64zr.js} +1 -1
- package/dist/chunks/{credential-paphc93g.js → file-j935v87r.js} +2 -2
- package/dist/chunks/{credential-fg75ppcy.js → file-ja6srv6s.js} +20 -20
- package/dist/chunks/{credential-6q2wdtm9.js → file-jh9jg79a.js} +11 -11
- package/dist/chunks/{credential-7ethggbv.js → file-jhtsdbae.js} +34 -34
- package/dist/chunks/{credential-18q276da.js → file-jvdqbckk.js} +16 -16
- package/dist/chunks/{credential-y71avatq.js → file-jwcy2c2z.js} +4 -4
- package/dist/chunks/{credential-2my2jec7.js → file-jxj1g7d6.js} +5 -5
- package/dist/chunks/{credential-tpwdr59n.js → file-k2cps1w2.js} +14 -14
- package/dist/chunks/{credential-dw9fw5zp.js → file-k4t1n3ds.js} +8 -8
- package/dist/chunks/{credential-h7xzfsz6.js → file-kcvfr73y.js} +46 -46
- package/dist/chunks/{credential-kg06axw8.js → file-kg06axw8.js} +1 -1
- package/dist/chunks/{credential-020f4bg4.js → file-kk4kf303.js} +11 -11
- package/dist/chunks/{credential-khykcjbr.js → file-kkmk6wev.js} +11 -11
- package/dist/chunks/{credential-mvfaqrr0.js → file-m4w483hc.js} +6 -6
- package/dist/chunks/{credential-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{credential-1ayrmkcs.js → file-mcma3e2p.js} +6 -6
- package/dist/chunks/{credential-mkcjrzeh.js → file-mkcjrzeh.js} +1 -1
- package/dist/chunks/{credential-en74w496.js → file-mrw4weg4.js} +5 -5
- package/dist/chunks/{credential-j4xqs8he.js → file-ms6rwfbv.js} +27 -27
- package/dist/chunks/{credential-3bd12927.js → file-n2egqj3k.js} +10 -10
- package/dist/chunks/{credential-e379cr0y.js → file-n3ehebhz.js} +12 -12
- package/dist/chunks/{credential-95v5px53.js → file-n4tr9e7x.js} +18 -18
- package/dist/chunks/{credential-fr0hst6m.js → file-n6c8w82a.js} +5 -5
- package/dist/chunks/{credential-w6akx0pp.js → file-n92g5px8.js} +17 -17
- package/dist/chunks/file-ngb1kbyf.js +247 -0
- package/dist/chunks/{credential-b359387s.js → file-ngx16gc5.js} +10 -10
- package/dist/chunks/{credential-hjt4xg1x.js → file-nhy5jxhy.js} +4 -4
- package/dist/chunks/{credential-686gxxnm.js → file-nmpjh5tr.js} +25 -25
- package/dist/chunks/{credential-6kmmntsj.js → file-nrj82zgb.js} +25 -25
- package/dist/chunks/{credential-pcmkfrz8.js → file-ntp00jbn.js} +50 -50
- package/dist/chunks/{credential-wbkyxrgf.js → file-p1nm93x7.js} +5 -5
- package/dist/chunks/{credential-jwbr3km5.js → file-p7r5e3re.js} +24 -24
- package/dist/chunks/{credential-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{credential-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/{credential-f79w93tn.js → file-pnfpsavj.js} +8 -8
- package/dist/chunks/{credential-st5ktw2g.js → file-prqr7atv.js} +16 -16
- package/dist/chunks/{credential-nvn4yca8.js → file-pvp2wc9z.js} +11 -11
- package/dist/chunks/{credential-wak322rn.js → file-q043d12m.js} +11 -11
- package/dist/chunks/{credential-6g8mxxbf.js → file-qacd23e2.js} +4 -4
- package/dist/chunks/{credential-f6h44vt5.js → file-qaeybh9m.js} +6 -6
- package/dist/chunks/{credential-qdtgw5bq.js → file-qefhz522.js} +11 -11
- package/dist/chunks/{credential-0y5kwnv4.js → file-qj43ta48.js} +30 -30
- package/dist/chunks/{credential-9dtg213c.js → file-qrh3ph5y.js} +36 -36
- package/dist/chunks/{credential-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/{credential-f00j52z1.js → file-qt2wzkfv.js} +167 -167
- package/dist/chunks/{credential-ddkgrmw3.js → file-rb7pkpgx.js} +27 -27
- package/dist/chunks/{credential-08zxrs49.js → file-rbb6h0rd.js} +11 -11
- package/dist/chunks/{credential-zt1trrjh.js → file-rctdwqm8.js} +13 -13
- package/dist/chunks/{credential-x3032y69.js → file-rddqvwx7.js} +22 -22
- package/dist/chunks/{credential-b9h4ye0g.js → file-rn18s34v.js} +9 -9
- package/dist/chunks/{credential-4mkcvr19.js → file-rs226bz6.js} +5 -5
- package/dist/chunks/{credential-bbgh5zt9.js → file-rz3jkdqg.js} +23 -23
- package/dist/chunks/{credential-n02j7a4g.js → file-s40t4n9p.js} +22 -22
- package/dist/chunks/{credential-yrznvahk.js → file-s4enseaf.js} +2 -2
- package/dist/chunks/{credential-kv4a4z6b.js → file-s7vx81dz.js} +9 -9
- package/dist/chunks/{credential-vyy6cxw9.js → file-szgy4byf.js} +4 -4
- package/dist/chunks/{credential-dy8qh9xy.js → file-t33aqq77.js} +8 -8
- package/dist/chunks/{credential-2kgfnkh5.js → file-t4fssz5f.js} +11 -11
- package/dist/chunks/{credential-gbt6w4kb.js → file-t550f9t1.js} +6 -6
- package/dist/chunks/{credential-8azqhvhf.js → file-t9qhnrv6.js} +6 -6
- package/dist/chunks/{credential-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{credential-tcezcvh9.js → file-tcezcvh9.js} +1 -1
- package/dist/chunks/{credential-tdstcens.js → file-tdstcens.js} +1 -1
- package/dist/chunks/{credential-85d9210f.js → file-tsdrwk88.js} +11 -11
- package/dist/chunks/{credential-tvtrv512.js → file-tvtrv512.js} +1 -1
- package/dist/chunks/{credential-7z2w4zk1.js → file-v3smhzc7.js} +20 -20
- package/dist/chunks/{credential-0sf76z6p.js → file-v6eynfa8.js} +28 -28
- package/dist/chunks/{credential-qp4gcwwt.js → file-v9n7g2jp.js} +47 -47
- package/dist/chunks/{credential-zxwpk2nb.js → file-vabb23s0.js} +1 -1
- package/dist/chunks/{credential-veqvce7d.js → file-veqvce7d.js} +1 -1
- package/dist/chunks/{credential-71spx5sa.js → file-verq85zk.js} +4 -4
- package/dist/chunks/{credential-vekyynk0.js → file-vftfn4tg.js} +67 -67
- package/dist/chunks/{credential-bbjevjb1.js → file-vq3dh784.js} +23 -23
- package/dist/chunks/{credential-50mzsvk4.js → file-vsp1fds9.js} +21 -21
- package/dist/chunks/{credential-83x6p9kd.js → file-vypqtakx.js} +1 -1
- package/dist/chunks/{credential-s0q6yv4v.js → file-vzab2f08.js} +29 -29
- package/dist/chunks/{credential-vzcthcp8.js → file-vzcthcp8.js} +1 -1
- package/dist/chunks/{credential-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{credential-w9tseppn.js → file-w6vgwbtw.js} +41 -41
- package/dist/chunks/{credential-tyw945wc.js → file-wc01vwq2.js} +17 -17
- package/dist/chunks/{credential-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{credential-78mn15xw.js → file-wh05710z.js} +43 -43
- package/dist/chunks/{credential-sgfkh1bp.js → file-wkwfxgj3.js} +4 -4
- package/dist/chunks/{credential-5x64k753.js → file-wxg97684.js} +28 -28
- package/dist/chunks/{credential-7gvb521f.js → file-x015srt1.js} +18 -18
- package/dist/chunks/{credential-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/{credential-x43y2vfs.js → file-x43y2vfs.js} +2 -2
- package/dist/chunks/{credential-p280jz24.js → file-xacpwbjs.js} +9 -9
- package/dist/chunks/{credential-nfk5cz2h.js → file-xe3tttza.js} +10 -10
- package/dist/chunks/{credential-hfgsy8qe.js → file-xncegbyh.js} +6 -6
- package/dist/chunks/{credential-12sqmeb8.js → file-xnn90w67.js} +23 -23
- package/dist/chunks/{credential-fmsed0sg.js → file-xp2ajnz8.js} +23 -23
- package/dist/chunks/{credential-nsac91pq.js → file-xr2q0tqq.js} +15 -15
- package/dist/chunks/{credential-2dc79v37.js → file-xx0dsh07.js} +36 -36
- package/dist/chunks/{credential-m8bjfkk9.js → file-xxewcce8.js} +11 -11
- package/dist/chunks/{credential-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{credential-n31d0ktv.js → file-y2vrj84a.js} +10 -10
- package/dist/chunks/{credential-y6qph9rs.js → file-yc3z3e63.js} +13 -13
- package/dist/chunks/{credential-yp2x3t23.js → file-yp2x3t23.js} +1 -1
- package/dist/chunks/{credential-vqr9hz61.js → file-ypy1tgyh.js} +9 -9
- package/dist/chunks/{credential-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
- package/dist/chunks/{credential-yt0fqk68.js → file-yt0fqk68.js} +2 -2
- package/dist/chunks/{credential-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
- package/dist/chunks/{credential-j7afzrcr.js → file-z2rxccdg.js} +9 -9
- package/dist/chunks/{credential-rwagp3kg.js → file-z6mn07nx.js} +90 -90
- package/dist/chunks/{credential-zeh9ct20.js → file-zeh9ct20.js} +2 -2
- package/dist/chunks/{credential-ry15mc2v.js → file-zgye80qh.js} +35 -35
- package/dist/chunks/{credential-vd169w8v.js → file-zn15gz72.js} +15 -15
- package/dist/chunks/{credential-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
- package/dist/chunks/{credential-nbzsj80d.js → file-zts5fb25.js} +11 -11
- package/dist/chunks/{credential-zxq2ej10.js → file-zxq2ej10.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 +117 -117
- package/dist/config/plugin/command.js +209 -209
- 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 +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- 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 +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- 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 +83 -83
- package/dist/database/database.js +72 -72
- 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.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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +356 -356
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +87 -87
- 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 +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +91 -91
- 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 +3 -3
- 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 +1 -1
- package/dist/instance.js +349 -349
- 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 +84 -84
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +120 -120
- 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 +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- 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 +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- 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 +7 -7
- package/dist/plugin/optimize.js +4 -4
- 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 +80 -80
- 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 +74 -74
- 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 +339 -339
- 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 +6 -6
- 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 +84 -84
- package/dist/reference.js +80 -80
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- 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 +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- 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 +5 -5
- 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 +73 -73
- 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 +149 -149
- 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 +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- 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 +121 -121
- package/dist/tool/plugin/edit.js +113 -113
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +109 -109
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +102 -102
- package/dist/tool/plugin/subagent.js +206 -206
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- 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/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 +7 -7
- 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 +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- 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 +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/credential-6kdq0pjd.js +0 -4
- package/dist/chunks/credential-6tq42r19.js +0 -22
- package/dist/chunks/credential-dxj72tfx.js +0 -18
- package/dist/chunks/credential-sjzv27ft.js +0 -247
- /package/dist/chunks/{credential-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{credential-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{credential-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{credential-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{credential-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{credential-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{credential-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{credential-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{credential-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{credential-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{credential-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{credential-3w5fmr99.js → file-3w5fmr99.js} +0 -0
- /package/dist/chunks/{credential-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{credential-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{credential-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{credential-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{credential-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{credential-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{credential-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{credential-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{credential-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{credential-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{credential-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{credential-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{credential-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{credential-922hggd3.js → file-922hggd3.js} +0 -0
- /package/dist/chunks/{credential-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{credential-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{credential-a6k6eb26.js → file-a6k6eb26.js} +0 -0
- /package/dist/chunks/{credential-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{credential-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{credential-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{credential-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{credential-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{credential-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{credential-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{credential-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{credential-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{credential-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{credential-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{credential-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{credential-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{credential-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{credential-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{credential-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{credential-ec1grn59.js → file-ec1grn59.js} +0 -0
- /package/dist/chunks/{credential-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{credential-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{credential-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{credential-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{credential-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{credential-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{credential-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{credential-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{credential-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{credential-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{credential-gftt206x.js → file-gftt206x.js} +0 -0
- /package/dist/chunks/{credential-hjbc5kem.js → file-hjbc5kem.js} +0 -0
- /package/dist/chunks/{credential-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{credential-hrnqkpcd.js → file-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{credential-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{credential-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{credential-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{credential-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{credential-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{credential-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{credential-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{credential-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{credential-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{credential-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{credential-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{credential-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{credential-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{credential-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{credential-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{credential-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{credential-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{credential-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{credential-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{credential-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{credential-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{credential-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{credential-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{credential-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{credential-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{credential-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{credential-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{credential-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{credential-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{credential-ym463w8f.js → file-ym463w8f.js} +0 -0
- /package/dist/chunks/{credential-z9919s4g.js → file-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./file-xnn90w67.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service55
|
|
6
|
+
} from "./file-dn4sgk77.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input13,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin45,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name13,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name13 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input13 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin45 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service61;
|
|
57
|
+
const permission = yield* Service55;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input13,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-84tssp1s.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/amazon-bedrock.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -22,7 +22,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* ctx.integration.transform((editor) => {
|
|
24
24
|
editor.method.update({
|
|
25
|
-
integrationID:
|
|
25
|
+
integrationID: ID16.amazonBedrock,
|
|
26
26
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
27
27
|
});
|
|
28
28
|
});
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-p7r5e3re.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-dn4sgk77.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
AgentPlugin: () =>
|
|
17
|
-
Plugin: () =>
|
|
14
|
+
var exports_agent2 = {};
|
|
15
|
+
__export(exports_agent2, {
|
|
16
|
+
AgentPlugin: () => exports_agent2,
|
|
17
|
+
Plugin: () => Plugin36
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin36 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin11 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID9.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID9.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin11 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID9.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID9.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID9.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin11 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin36, exports_agent2 };
|
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node81
|
|
7
|
+
} from "./file-y2vrj84a.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
ID18
|
|
10
|
+
} from "./file-81swgkk7.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-gebd4c9n.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service79,
|
|
16
|
+
node83
|
|
17
|
+
} from "./file-d1xvm4af.js";
|
|
18
18
|
import {
|
|
19
19
|
Service78,
|
|
20
20
|
node82
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-0kzzmtkd.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-8p4f9s12.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-cfpkc3c9.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service72,
|
|
30
|
+
node76
|
|
31
|
+
} from "./file-6bg31a94.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
34
|
canonical2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./file-gv6a8nnw.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make15
|
|
38
|
+
} from "./file-3kff94q5.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./file-kg06axw8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./file-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event6,
|
|
53
|
+
Info: () => Info6,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service32,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node36
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -76,17 +76,17 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
76
76
|
import { ChildProcess } from "effect/unstable/process";
|
|
77
77
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
78
78
|
var StrategyID2 = Worktree.StrategyID;
|
|
79
|
-
var
|
|
79
|
+
var CreateInput3 = Worktree.CreateInput;
|
|
80
80
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
81
81
|
var RefreshResult2 = Schema.Struct({
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info6 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
89
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
89
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID18, directory: Schema.optional(AbsolutePath2) }) {
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event6 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service32 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
|
-
const database = yield*
|
|
109
|
+
const database = yield* Service79;
|
|
110
110
|
const db = database.db;
|
|
111
111
|
const bus = yield* Service78;
|
|
112
112
|
const processService = yield* AppProcess.Service;
|
|
113
|
-
const location = yield*
|
|
113
|
+
const location = yield* Service72;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
117
|
-
const gitStrategy = yield*
|
|
117
|
+
const gitStrategy = yield* make15;
|
|
118
118
|
const state = create3({
|
|
119
119
|
name: "worktree",
|
|
120
120
|
initial: () => ({
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event6.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
257
257
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
258
258
|
return changes;
|
|
259
259
|
});
|
|
260
|
-
return
|
|
260
|
+
return Service32.of({
|
|
261
261
|
transform: state.transform,
|
|
262
262
|
reload: state.reload,
|
|
263
263
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
269
269
|
refresh
|
|
270
270
|
});
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node36 = makeLocationNode({
|
|
273
|
+
service: Service32,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [FSUtil.node,
|
|
275
|
+
deps: [FSUtil.node, node81, node82, node83, AppProcess.node, node76, Global.node]
|
|
276
276
|
});
|
|
277
277
|
function operationError(strategy, operation, error) {
|
|
278
278
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
|
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
export { StrategyID2,
|
|
285
|
+
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info6, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event6, Service32, node36, exports_worktree2, OperationError2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load3
|
|
6
|
+
} from "./file-j935v87r.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event16,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options8,
|
|
17
|
+
Service: () => Service66,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured8,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer23,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node69,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event16 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load3());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options8 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service66 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer23 = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service66.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service66.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer23().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service66).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service66, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured8(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service66, layer: layer23(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node69 = configured8();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event16, hasNativeBinding2, Native3, Options8, Service66, Test3, layer23, testLayer3, nativeLayer2, nativeNode2, configured8, node69, exports_watcher };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID16
|
|
3
|
+
} from "./file-84tssp1s.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/model.ts
|
|
9
9
|
var exports_model2 = {};
|
|
@@ -12,17 +12,17 @@ __export(exports_model2, {
|
|
|
12
12
|
Compatibility: () => Compatibility2,
|
|
13
13
|
Cost: () => Cost2,
|
|
14
14
|
Family: () => Family2,
|
|
15
|
-
ID: () =>
|
|
16
|
-
Info: () =>
|
|
15
|
+
ID: () => ID15,
|
|
16
|
+
Info: () => Info29,
|
|
17
17
|
Model: () => exports_model2,
|
|
18
18
|
ReasoningField: () => ReasoningField2,
|
|
19
19
|
Ref: () => Ref4,
|
|
20
20
|
VariantID: () => VariantID2,
|
|
21
21
|
compatibility: () => compatibility2,
|
|
22
|
-
parse: () =>
|
|
22
|
+
parse: () => parse4
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
|
-
var
|
|
25
|
+
var ID15 = Model.ID;
|
|
26
26
|
var VariantID2 = Model.VariantID;
|
|
27
27
|
var Family2 = Model.Family;
|
|
28
28
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -30,7 +30,7 @@ var Compatibility2 = Model.Compatibility;
|
|
|
30
30
|
var Capabilities2 = Model.Capabilities;
|
|
31
31
|
var Cost2 = Model.Cost;
|
|
32
32
|
var Ref4 = Model.Ref;
|
|
33
|
-
var
|
|
33
|
+
var Info29 = Model.Info;
|
|
34
34
|
function compatibility2(input) {
|
|
35
35
|
if (typeof input === "string")
|
|
36
36
|
return { reasoningField: input };
|
|
@@ -38,12 +38,12 @@ function compatibility2(input) {
|
|
|
38
38
|
return;
|
|
39
39
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function parse4(input) {
|
|
42
42
|
const index = input.indexOf("/");
|
|
43
43
|
return {
|
|
44
|
-
providerID:
|
|
45
|
-
modelID:
|
|
44
|
+
providerID: ID16.make(index === -1 ? input : input.slice(0, index)),
|
|
45
|
+
modelID: ID15.make(index === -1 ? "" : input.slice(index + 1))
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { ID15, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref4, Info29, compatibility2, parse4, exports_model2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
Info13
|
|
9
|
-
} from "./credential-nbzsj80d.js";
|
|
6
|
+
} from "./file-vsp1fds9.js";
|
|
10
7
|
import {
|
|
11
8
|
Info16
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./file-zts5fb25.js";
|
|
10
|
+
import {
|
|
11
|
+
Info19
|
|
12
|
+
} from "./file-3w2b2yj4.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info23
|
|
15
|
+
} from "./file-8x96bj0m.js";
|
|
16
16
|
import {
|
|
17
17
|
Info17
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-yt0fqk68.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-7dqw4kz8.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info22
|
|
24
|
+
} from "./file-p1nm93x7.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info15
|
|
27
|
+
} from "./file-3fj0ehej.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./file-wkwfxgj3.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./file-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info15.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info19, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info23, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info16, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info16, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info22, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|