@opencode/core 0.0.0-dev-20014 → 0.0.0-dev-20016
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{permission-bd74mhsm.js → persistent-pty-06jbrb77.js} +41 -41
- package/dist/chunks/{permission-j8yjak6g.js → persistent-pty-0fytzj6j.js} +7 -7
- package/dist/chunks/{permission-0jwsre1p.js → persistent-pty-0jwsre1p.js} +1 -1
- package/dist/chunks/{permission-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{permission-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{permission-qjnxxf51.js → persistent-pty-0r7yqxbf.js} +5 -5
- package/dist/chunks/{permission-df3jdry0.js → persistent-pty-0zaqx4wy.js} +19 -19
- package/dist/chunks/{permission-1kt2kcqn.js → persistent-pty-10e0ba79.js} +18 -18
- package/dist/chunks/{permission-pp7vm5fm.js → persistent-pty-11df9xd3.js} +3 -3
- package/dist/chunks/{permission-bfacqvkb.js → persistent-pty-12pkvdhr.js} +17 -17
- package/dist/chunks/{permission-rv7hqese.js → persistent-pty-19je3c53.js} +7 -7
- package/dist/chunks/{permission-e1hrzsan.js → persistent-pty-1ch5qaya.js} +12 -12
- package/dist/chunks/{permission-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{permission-7g7ne11w.js → persistent-pty-1f7h7xqz.js} +10 -10
- package/dist/chunks/{permission-2c3gwyae.js → persistent-pty-1j0h6t7s.js} +10 -10
- package/dist/chunks/{permission-ara29bfy.js → persistent-pty-1m1ev6p6.js} +25 -25
- package/dist/chunks/{permission-3p0yfe7q.js → persistent-pty-1r71k1az.js} +5 -5
- package/dist/chunks/{permission-trrt5h0y.js → persistent-pty-1t6a8jz5.js} +30 -30
- package/dist/chunks/{permission-56gdpj1q.js → persistent-pty-1ygqh575.js} +9 -9
- package/dist/chunks/{permission-0hzjk108.js → persistent-pty-20wj3b0e.js} +42 -42
- package/dist/chunks/{permission-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{permission-q6s9v6ps.js → persistent-pty-22756crb.js} +11 -11
- package/dist/chunks/{permission-z63w68vq.js → persistent-pty-29x78va6.js} +6 -6
- package/dist/chunks/{permission-4hvhh2c2.js → persistent-pty-29zxs1e8.js} +26 -26
- package/dist/chunks/{permission-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{permission-3xp4jf0v.js → persistent-pty-2evxb7qc.js} +25 -25
- package/dist/chunks/{permission-6ersrjne.js → persistent-pty-2jmaghvr.js} +6 -6
- package/dist/chunks/{permission-r66xghd9.js → persistent-pty-2k71kv7p.js} +4 -4
- package/dist/chunks/{permission-cwa6csj7.js → persistent-pty-2sejkfem.js} +9 -9
- package/dist/chunks/{permission-1g7y85rx.js → persistent-pty-2w1mqpqm.js} +5 -5
- package/dist/chunks/{permission-v045m31c.js → persistent-pty-2wdjn665.js} +6 -6
- package/dist/chunks/{permission-ypy2e72f.js → persistent-pty-2zgjdn2h.js} +19 -19
- package/dist/chunks/{permission-y1e9t782.js → persistent-pty-33mefhds.js} +16 -16
- package/dist/chunks/{permission-nbsnq0w1.js → persistent-pty-396s32cg.js} +49 -49
- package/dist/chunks/{permission-0e9hg5zj.js → persistent-pty-3dz8xqcq.js} +3 -3
- package/dist/chunks/{permission-rhp3efkr.js → persistent-pty-3ezhmtbn.js} +24 -24
- package/dist/chunks/{permission-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{permission-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{permission-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{permission-4ak172j4.js → persistent-pty-3vh13j3b.js} +6 -6
- package/dist/chunks/{permission-07yh2w3s.js → persistent-pty-41v30afh.js} +6 -6
- package/dist/chunks/{permission-szvtjx06.js → persistent-pty-447xk7wn.js} +17 -17
- package/dist/chunks/{permission-z0f31r39.js → persistent-pty-49am0wpx.js} +12 -12
- package/dist/chunks/{permission-03hf3kpn.js → persistent-pty-4d90bajk.js} +40 -40
- package/dist/chunks/{permission-8z00fdkb.js → persistent-pty-4dgbcxzg.js} +4 -4
- package/dist/chunks/{permission-7rg21pa5.js → persistent-pty-4hwe5s31.js} +11 -11
- package/dist/chunks/{permission-gg4dpy88.js → persistent-pty-4n607a2z.js} +5 -5
- package/dist/chunks/{permission-378hr5bf.js → persistent-pty-4stp5haz.js} +18 -18
- package/dist/chunks/{permission-1mjwcf4w.js → persistent-pty-4tb9kxn6.js} +6 -6
- package/dist/chunks/{permission-qa289ffc.js → persistent-pty-59asnkcp.js} +16 -16
- package/dist/chunks/{permission-j42q9rrh.js → persistent-pty-5b07h487.js} +3 -3
- package/dist/chunks/{permission-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{permission-5ekn9679.js → persistent-pty-5ekn9679.js} +1 -1
- package/dist/chunks/{permission-tt60n59f.js → persistent-pty-5g079bry.js} +18 -18
- package/dist/chunks/{permission-hzzyy33p.js → persistent-pty-5jecfbj8.js} +29 -29
- package/dist/chunks/{permission-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{permission-v8rdp29h.js → persistent-pty-5vyrtx1r.js} +25 -25
- package/dist/chunks/{permission-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{permission-h43snntw.js → persistent-pty-66rnaxsh.js} +20 -20
- package/dist/chunks/{permission-va5a8rhe.js → persistent-pty-6f7ecbcm.js} +11 -11
- package/dist/chunks/{permission-6h73sxmp.js → persistent-pty-6h73sxmp.js} +1 -1
- package/dist/chunks/{permission-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{permission-bha4atvq.js → persistent-pty-6s9eyz9r.js} +4 -4
- package/dist/chunks/{permission-f59qmhat.js → persistent-pty-738s90ft.js} +7 -7
- package/dist/chunks/{permission-cnj3ct04.js → persistent-pty-74a578b2.js} +4 -4
- package/dist/chunks/{permission-9jh4tdcq.js → persistent-pty-74x1x3cs.js} +18 -18
- package/dist/chunks/{permission-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-pz2987ze.js → persistent-pty-7fjf7ynj.js} +26 -26
- package/dist/chunks/{permission-gss7n69n.js → persistent-pty-7ggntmd7.js} +8 -8
- package/dist/chunks/{permission-nz8pq8c9.js → persistent-pty-7nrwpcb0.js} +3 -3
- package/dist/chunks/{permission-km4mv4cc.js → persistent-pty-7rv8b2xc.js} +33 -33
- package/dist/chunks/{permission-evahq94v.js → persistent-pty-7rv8b3vf.js} +11 -11
- package/dist/chunks/{permission-h6jr292a.js → persistent-pty-7z7az0f5.js} +4 -4
- package/dist/chunks/{permission-ddd7kqga.js → persistent-pty-80q9mm34.js} +36 -36
- package/dist/chunks/{permission-6m4v5pcq.js → persistent-pty-82nx54qp.js} +41 -41
- package/dist/chunks/{permission-wtz46evs.js → persistent-pty-87deq66t.js} +8 -8
- package/dist/chunks/{permission-js5g36jc.js → persistent-pty-88f7a0ag.js} +6 -6
- package/dist/chunks/{permission-tcezcvh9.js → persistent-pty-89znhe33.js} +4 -4
- package/dist/chunks/{permission-ws4554c5.js → persistent-pty-8agyb5zv.js} +31 -31
- package/dist/chunks/{permission-26ksre78.js → persistent-pty-8anfpmjy.js} +4 -4
- package/dist/chunks/{permission-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{permission-b1n6ja2s.js → persistent-pty-8j056ny1.js} +18 -18
- package/dist/chunks/{permission-8p4f9s12.js → persistent-pty-8p4f9s12.js} +2 -2
- package/dist/chunks/{permission-npsrk1x7.js → persistent-pty-98p0gwkd.js} +22 -22
- package/dist/chunks/{permission-rdyet1b6.js → persistent-pty-99bynxv0.js} +47 -47
- package/dist/chunks/{permission-n2rqx0tz.js → persistent-pty-99kpm3x9.js} +15 -15
- package/dist/chunks/{permission-4hztcedr.js → persistent-pty-9dnw0xb8.js} +37 -37
- package/dist/chunks/{permission-wnbbk2t2.js → persistent-pty-9tghz495.js} +9 -9
- package/dist/chunks/{permission-7ctcpgxf.js → persistent-pty-9zvz2vs6.js} +21 -21
- package/dist/chunks/{permission-a1bz86dw.js → persistent-pty-a1bz86dw.js} +3 -3
- package/dist/chunks/persistent-pty-a3se19xg.js +26 -0
- package/dist/chunks/{permission-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{permission-p44d8wdy.js → persistent-pty-af04s6ss.js} +5 -5
- package/dist/chunks/{permission-xvq6efdf.js → persistent-pty-ahh07121.js} +17 -17
- package/dist/chunks/{permission-mmn6bhn2.js → persistent-pty-atr6khgd.js} +6 -6
- package/dist/chunks/{permission-qnc61xqw.js → persistent-pty-axw7a489.js} +18 -18
- package/dist/chunks/{permission-jca4demv.js → persistent-pty-b09hzw3k.js} +2 -2
- package/dist/chunks/{permission-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{permission-q8thqfax.js → persistent-pty-b82616de.js} +5 -5
- package/dist/chunks/{permission-6va1vta4.js → persistent-pty-bbsnv5g3.js} +15 -15
- package/dist/chunks/{permission-0nfyaajm.js → persistent-pty-bm5kp989.js} +54 -54
- package/dist/chunks/{permission-p0jvcnw4.js → persistent-pty-bnsead3g.js} +26 -26
- package/dist/chunks/{permission-ysdhce05.js → persistent-pty-bpyfysax.js} +11 -11
- package/dist/chunks/{permission-4e8vs6eh.js → persistent-pty-c27esgm9.js} +8 -8
- package/dist/chunks/{permission-azbd23ze.js → persistent-pty-c8qdwc3q.js} +5 -5
- package/dist/chunks/{permission-cfpkc3c9.js → persistent-pty-cfpkc3c9.js} +2 -2
- package/dist/chunks/{permission-8v6pyhej.js → persistent-pty-cmwkp3r5.js} +8 -8
- package/dist/chunks/{permission-6knbr4yp.js → persistent-pty-cnc2tv60.js} +23 -23
- package/dist/chunks/{permission-y3d9qj08.js → persistent-pty-cqfe4aef.js} +4 -4
- package/dist/chunks/{permission-6ygtp3ec.js → persistent-pty-cvwc1v0p.js} +6 -6
- package/dist/chunks/{permission-4j3d2nkg.js → persistent-pty-dca16q2k.js} +44 -44
- package/dist/chunks/{permission-1yb3x3z9.js → persistent-pty-ddbc03cc.js} +1 -1
- package/dist/chunks/{permission-bwqvw50t.js → persistent-pty-dep4c52h.js} +23 -23
- package/dist/chunks/{permission-dfe8djrf.js → persistent-pty-dfe8djrf.js} +1 -1
- package/dist/chunks/{permission-ep6z9mt6.js → persistent-pty-dhwr7h25.js} +11 -11
- package/dist/chunks/{permission-gmjq4p6e.js → persistent-pty-dq0v80fr.js} +5 -5
- package/dist/chunks/{permission-drwq78ky.js → persistent-pty-drwq78ky.js} +1 -1
- package/dist/chunks/{permission-k9d40v1y.js → persistent-pty-ds0wasgv.js} +4 -4
- package/dist/chunks/{permission-0nkmdvt9.js → persistent-pty-dvdevqhx.js} +13 -13
- package/dist/chunks/{permission-bzhfv79m.js → persistent-pty-dwpcx2qb.js} +13 -13
- package/dist/chunks/{permission-d6vv1g3t.js → persistent-pty-dwxz0xt6.js} +28 -28
- package/dist/chunks/{permission-5qd3pb7m.js → persistent-pty-e3qxr5gk.js} +2 -2
- package/dist/chunks/{permission-21f27m56.js → persistent-pty-e4f61vrf.js} +27 -27
- package/dist/chunks/{permission-eaj1djv9.js → persistent-pty-eaj1djv9.js} +1 -1
- package/dist/chunks/{permission-j8n6xw48.js → persistent-pty-edsv4ebh.js} +5 -5
- package/dist/chunks/{permission-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{permission-73tb2d7t.js → persistent-pty-eq1pz5kg.js} +3 -3
- package/dist/chunks/{permission-erw5rpbs.js → persistent-pty-erw5rpbs.js} +2 -2
- package/dist/chunks/{permission-b0t6ctf8.js → persistent-pty-esg06bhp.js} +12 -12
- package/dist/chunks/{permission-t1jv6b6w.js → persistent-pty-estb5scc.js} +20 -20
- package/dist/chunks/{permission-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{permission-3cfzdc8e.js → persistent-pty-evbgk2k8.js} +5 -5
- package/dist/chunks/{permission-f9n4adyk.js → persistent-pty-eve2cjg0.js} +13 -13
- package/dist/chunks/{permission-fs31za9f.js → persistent-pty-ey211aqw.js} +11 -11
- package/dist/chunks/{permission-gmjjhz4f.js → persistent-pty-f1d38761.js} +9 -9
- package/dist/chunks/{permission-yp2x3t23.js → persistent-pty-f2n192rq.js} +4 -4
- package/dist/chunks/{permission-f828m53h.js → persistent-pty-f828m53h.js} +2 -2
- package/dist/chunks/{permission-jacf7vr2.js → persistent-pty-fd34zh6k.js} +22 -22
- package/dist/chunks/{permission-pyttpqhh.js → persistent-pty-fmc4p1es.js} +22 -22
- package/dist/chunks/{permission-xyc4r8c4.js → persistent-pty-ftbmn9zb.js} +3 -3
- package/dist/chunks/{permission-6949cf8n.js → persistent-pty-fv57xrbx.js} +7 -7
- package/dist/chunks/{permission-x0paava3.js → persistent-pty-fvvjxtsr.js} +16 -16
- package/dist/chunks/{permission-ajed71fh.js → persistent-pty-fxmgg4aj.js} +4 -4
- package/dist/chunks/{permission-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{permission-d0vrd2zk.js → persistent-pty-ged2zmeh.js} +8 -8
- package/dist/chunks/{permission-fby4xvtb.js → persistent-pty-gerte707.js} +32 -32
- package/dist/chunks/{permission-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/persistent-pty-gyce5qg1.js +18 -0
- package/dist/chunks/{permission-mzhaksny.js → persistent-pty-h4fcns97.js} +32 -32
- package/dist/chunks/{permission-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{permission-9jzp6rtr.js → persistent-pty-h71w788e.js} +9 -9
- package/dist/chunks/{permission-y4b04j0c.js → persistent-pty-hdn6fj78.js} +18 -18
- package/dist/chunks/{permission-bg1tyxj3.js → persistent-pty-hfyjynd0.js} +333 -333
- package/dist/chunks/{permission-3pncb000.js → persistent-pty-hmnhqwz4.js} +11 -11
- package/dist/chunks/{permission-vms8hpcb.js → persistent-pty-hqefjfxk.js} +91 -91
- package/dist/chunks/persistent-pty-hr9dp009.js +4 -0
- package/dist/chunks/{permission-63dccpra.js → persistent-pty-hx17dh2f.js} +4 -4
- package/dist/chunks/{permission-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{permission-5kgsjkyf.js → persistent-pty-j95ssxkc.js} +5 -5
- package/dist/chunks/{permission-64vpb657.js → persistent-pty-jb4h23rf.js} +39 -39
- package/dist/chunks/{permission-5ddb1s0k.js → persistent-pty-jcq5jrrk.js} +28 -28
- package/dist/chunks/{permission-eajtn109.js → persistent-pty-jd81myvt.js} +11 -11
- package/dist/chunks/{permission-hk63fwsd.js → persistent-pty-jdw8m902.js} +3 -3
- package/dist/chunks/{permission-2myva995.js → persistent-pty-jhf3jymm.js} +6 -6
- package/dist/chunks/{permission-w3x9v1nk.js → persistent-pty-jn0tk1mz.js} +8 -8
- package/dist/chunks/{permission-qk7n1gwc.js → persistent-pty-jp07c0tv.js} +18 -18
- package/dist/chunks/{permission-k3c624dm.js → persistent-pty-k3c624dm.js} +3 -3
- package/dist/chunks/{permission-at42k54d.js → persistent-pty-k3sdfjqa.js} +32 -32
- package/dist/chunks/{permission-js9x899g.js → persistent-pty-k3yt7har.js} +4 -4
- package/dist/chunks/{permission-1d1pyzy5.js → persistent-pty-k5xdewjb.js} +10 -10
- package/dist/chunks/{permission-zsyaq8pa.js → persistent-pty-k91r4kkq.js} +32 -32
- package/dist/chunks/{permission-55my41cg.js → persistent-pty-k9pvwaf2.js} +26 -26
- package/dist/chunks/{permission-nejweth1.js → persistent-pty-kbcdw4nv.js} +11 -11
- package/dist/chunks/{permission-w5ew8dkt.js → persistent-pty-kbh1r6q9.js} +10 -10
- package/dist/chunks/{permission-knb7evpn.js → persistent-pty-knb7evpn.js} +2 -2
- package/dist/chunks/{permission-hreaccw7.js → persistent-pty-knc8cwjj.js} +26 -26
- package/dist/chunks/{permission-rje43y6s.js → persistent-pty-ktabkpdb.js} +35 -35
- package/dist/chunks/{permission-48s2jr0t.js → persistent-pty-kv06je6w.js} +1 -1
- package/dist/chunks/{permission-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{permission-b8mvmaa9.js → persistent-pty-m41fsdzn.js} +24 -24
- package/dist/chunks/{permission-bthdg3m1.js → persistent-pty-m941nnpz.js} +81 -81
- package/dist/chunks/{permission-byhqfn85.js → persistent-pty-m9tv1fb9.js} +11 -11
- package/dist/chunks/{permission-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-hj8ktg81.js → persistent-pty-me8c0bby.js} +15 -15
- package/dist/chunks/{permission-k94npf5p.js → persistent-pty-mnhqa9m1.js} +12 -12
- package/dist/chunks/{permission-ryr25ayn.js → persistent-pty-mtq6xxnx.js} +7 -7
- package/dist/chunks/{permission-r9j8966s.js → persistent-pty-mzm30qtr.js} +27 -27
- package/dist/chunks/{permission-c4k33t1a.js → persistent-pty-n2cwydza.js} +19 -19
- package/dist/chunks/{permission-qn3da4hs.js → persistent-pty-n8wxhx57.js} +16 -16
- package/dist/chunks/{permission-ypvn8x89.js → persistent-pty-nggwfnrx.js} +5 -5
- package/dist/chunks/{permission-ctd708f2.js → persistent-pty-nhapt3yy.js} +13 -13
- package/dist/chunks/{permission-50cn258h.js → persistent-pty-nme0kws8.js} +184 -184
- package/dist/chunks/{permission-s3e402y2.js → persistent-pty-nrnm2w2a.js} +15 -15
- package/dist/chunks/{permission-cncb5n36.js → persistent-pty-nv5y4rap.js} +17 -17
- package/dist/chunks/{permission-qda2f8ap.js → persistent-pty-nvavs34c.js} +12 -12
- package/dist/chunks/{permission-dbsvn099.js → persistent-pty-p8j15tse.js} +31 -31
- package/dist/chunks/{permission-mmcrd3rf.js → persistent-pty-p9xf3fyt.js} +61 -61
- package/dist/chunks/{permission-zd7f874e.js → persistent-pty-pd7psa0a.js} +30 -30
- package/dist/chunks/{permission-7b50z9gt.js → persistent-pty-phzzgaq9.js} +28 -28
- package/dist/chunks/{permission-57ez7d0k.js → persistent-pty-pjmw00w1.js} +7 -7
- package/dist/chunks/{permission-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{permission-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{permission-vnm8cxak.js → persistent-pty-pkpv8qry.js} +27 -27
- package/dist/chunks/{permission-hrc132h6.js → persistent-pty-pnkbpv6t.js} +9 -9
- package/dist/chunks/{permission-6wqy65qz.js → persistent-pty-q1baby6z.js} +24 -24
- package/dist/chunks/{permission-s26wb9qx.js → persistent-pty-q1z1ejdm.js} +17 -17
- package/dist/chunks/{permission-v3ckb57v.js → persistent-pty-q340vck3.js} +18 -18
- package/dist/chunks/{permission-kn8bfg8c.js → persistent-pty-qd1yxrve.js} +28 -28
- package/dist/chunks/{permission-84zt2byv.js → persistent-pty-qg0jgkcp.js} +9 -9
- package/dist/chunks/{permission-ag15jeds.js → persistent-pty-qg7vme5a.js} +9 -9
- package/dist/chunks/{permission-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{permission-bzry3vjh.js → persistent-pty-r3q3r4fd.js} +7 -7
- package/dist/chunks/{permission-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{permission-r77b2m1r.js → persistent-pty-rqng2g8m.js} +13 -13
- package/dist/chunks/{permission-b6q25pdb.js → persistent-pty-rs8bkfty.js} +2 -2
- package/dist/chunks/{permission-njp0gf2a.js → persistent-pty-s375a249.js} +7 -7
- package/dist/chunks/{permission-x00sfnay.js → persistent-pty-s3q9eqgg.js} +5 -5
- package/dist/chunks/{permission-yrznvahk.js → persistent-pty-s4enseaf.js} +2 -2
- package/dist/chunks/{permission-knspt4k3.js → persistent-pty-s69js0dt.js} +14 -14
- package/dist/chunks/{permission-rj168jjz.js → persistent-pty-s9vmnz44.js} +19 -19
- package/dist/chunks/{permission-v2n7406w.js → persistent-pty-sd97x1rd.js} +8 -8
- package/dist/chunks/{permission-axa5krkd.js → persistent-pty-spt9fbav.js} +9 -9
- package/dist/chunks/{permission-epyh8wr5.js → persistent-pty-sqj2vzfe.js} +8 -8
- package/dist/chunks/{permission-64p60fr1.js → persistent-pty-sqk9sjde.js} +37 -37
- package/dist/chunks/{permission-mmm09k00.js → persistent-pty-sw10j4fd.js} +11 -11
- package/dist/chunks/{permission-xk7338t3.js → persistent-pty-syb1njrq.js} +5 -5
- package/dist/chunks/{permission-g7b86n8d.js → persistent-pty-t0bev62h.js} +25 -25
- package/dist/chunks/{permission-3sjb3sah.js → persistent-pty-t2genxjv.js} +16 -16
- package/dist/chunks/{permission-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{permission-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{permission-5sz1e4g6.js → persistent-pty-tdvhbj2h.js} +20 -20
- package/dist/chunks/{permission-e0apywkq.js → persistent-pty-tez6bvh6.js} +12 -12
- package/dist/chunks/{permission-4xnt7k9y.js → persistent-pty-tpfmta5c.js} +62 -62
- package/dist/chunks/{permission-m2xwxn4j.js → persistent-pty-tpteeg0v.js} +11 -11
- package/dist/chunks/{permission-h4ck9734.js → persistent-pty-trgr51ha.js} +8 -8
- package/dist/chunks/{permission-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{permission-ctmr8zqa.js → persistent-pty-tz4n1mmd.js} +4 -4
- package/dist/chunks/{permission-2tcn5p0w.js → persistent-pty-v0vggfb5.js} +32 -32
- package/dist/chunks/{permission-0vxntym5.js → persistent-pty-v5xmz3sz.js} +58 -58
- package/dist/chunks/{permission-rxcwgxqf.js → persistent-pty-v6tx60m1.js} +3 -3
- package/dist/chunks/{permission-3h5a129z.js → persistent-pty-ve7cjxtc.js} +16 -16
- package/dist/chunks/{permission-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{permission-ma15yhyh.js → persistent-pty-vrpz8t5t.js} +5 -5
- package/dist/chunks/{permission-7marbvtf.js → persistent-pty-vsbqxt6s.js} +49 -49
- package/dist/chunks/{permission-magykp64.js → persistent-pty-vsp1fds9.js} +21 -21
- package/dist/chunks/{permission-pa5efk3h.js → persistent-pty-vsrpz7fz.js} +43 -43
- package/dist/chunks/{permission-vtxr0yy2.js → persistent-pty-vtxr0yy2.js} +2 -2
- package/dist/chunks/persistent-pty-vz5jjned.js +252 -0
- package/dist/chunks/{permission-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{permission-v5hkmnra.js → persistent-pty-vzd5qgkw.js} +6 -6
- package/dist/chunks/{permission-mw934p8z.js → persistent-pty-w1ad28wa.js} +5 -5
- package/dist/chunks/{permission-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-zy3dsyda.js → persistent-pty-w4nag94s.js} +38 -38
- package/dist/chunks/{permission-sgezmp4m.js → persistent-pty-wbj67nwc.js} +29 -29
- package/dist/chunks/{permission-z4jwky5w.js → persistent-pty-wc9pv775.js} +13 -13
- package/dist/chunks/{permission-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{permission-c6cbgp1f.js → persistent-pty-wxd0tmpv.js} +13 -13
- package/dist/chunks/{permission-z9d1w9zp.js → persistent-pty-x18v0msy.js} +13 -13
- package/dist/chunks/{permission-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{permission-bpmc8xz1.js → persistent-pty-x20zfesq.js} +21 -21
- package/dist/chunks/{permission-y33nr3d9.js → persistent-pty-x91n6wh8.js} +21 -21
- package/dist/chunks/{permission-mkhdf3af.js → persistent-pty-xgrywr61.js} +27 -27
- package/dist/chunks/{permission-bzbvyznb.js → persistent-pty-xhj0xgtv.js} +4 -4
- package/dist/chunks/{permission-mng9nxvr.js → persistent-pty-xjc1bjsh.js} +15 -15
- package/dist/chunks/{permission-fy8c64kb.js → persistent-pty-xpbx2hne.js} +23 -23
- package/dist/chunks/{permission-y62wwckn.js → persistent-pty-xq8k2nwn.js} +27 -27
- package/dist/chunks/{permission-feq2q57d.js → persistent-pty-xrsrnds8.js} +15 -15
- package/dist/chunks/{permission-ywkk724n.js → persistent-pty-xxdx3sf5.js} +36 -36
- package/dist/chunks/{permission-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{permission-q3t37ft6.js → persistent-pty-y6f0p4jw.js} +3 -3
- package/dist/chunks/{permission-y71avatq.js → persistent-pty-y71avatq.js} +1 -1
- package/dist/chunks/{permission-38yrxsmb.js → persistent-pty-yeeaz69z.js} +7 -7
- package/dist/chunks/{permission-4vrqwp4d.js → persistent-pty-yj4nt1a3.js} +32 -32
- package/dist/chunks/{permission-1c417j8s.js → persistent-pty-yrb6fvgd.js} +9 -9
- package/dist/chunks/{permission-6twcvazt.js → persistent-pty-yrg2qc8f.js} +17 -17
- package/dist/chunks/{permission-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{permission-6jemqbcs.js → persistent-pty-yxaf12v7.js} +14 -14
- package/dist/chunks/{permission-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{permission-sqy4ahhk.js → persistent-pty-z3mtvqww.js} +1 -1
- package/dist/chunks/{permission-sy8n64er.js → persistent-pty-z5rzna54.js} +6 -6
- package/dist/chunks/{permission-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{permission-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{permission-25qde5r0.js → persistent-pty-zx2jxj74.js} +9 -9
- package/dist/chunks/{permission-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- package/dist/git.js +6 -6
- 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 +90 -90
- 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 +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +100 -100
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +223 -223
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- 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 +122 -122
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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 +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/permission-4v7qdvcn.js +0 -18
- package/dist/chunks/permission-agxze486.js +0 -26
- package/dist/chunks/permission-fm2eq66q.js +0 -252
- package/dist/chunks/permission-qapv375x.js +0 -4
- /package/dist/chunks/{permission-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{permission-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{permission-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{permission-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./persistent-pty-tez6bvh6.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command5 = {};
|
|
14
|
+
__export(exports_command5, {
|
|
15
|
+
Command: () => exports_command5,
|
|
16
|
+
Event: () => Event21,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info34,
|
|
19
|
+
NotFoundError: () => NotFoundError11,
|
|
20
|
+
Service: () => Service79,
|
|
21
|
+
layer: () => layer25,
|
|
22
|
+
node: () => node83
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event21 } from "@opencode/schema/command";
|
|
28
|
+
var Info34 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError11 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service79 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer25 = Layer.effect(Service79, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service80;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer18 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info34.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service79.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer18 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError11({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node83 = makeLocationNode({
|
|
75
|
+
service: Service79,
|
|
76
|
+
layer: layer25,
|
|
77
|
+
deps: [node84]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info34, NotFoundError11, ExecutionError2, Service79, layer25, node83, exports_command5, Event21 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
12
|
+
Event: () => Event19,
|
|
13
13
|
ID: () => ID18,
|
|
14
|
-
Info: () =>
|
|
14
|
+
Info: () => Info33,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
@@ -20,12 +20,12 @@ import { Schema } from "effect";
|
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
21
|
var ID18 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info33 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event19 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export { ID18, Current3,
|
|
31
|
+
export { ID18, Current3, Info33, UpdateInput4, Event19, Vcs3, exports_schema };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./persistent-pty-tez6bvh6.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -16,17 +16,17 @@ __export(exports_form, {
|
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID15,
|
|
20
|
+
Info: () => Info29,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError9,
|
|
24
|
+
Reply: () => Reply3,
|
|
25
|
+
Service: () => Service74,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer23,
|
|
29
|
+
node: () => node78,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
@@ -35,17 +35,17 @@ import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema
|
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Event as Event17 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID15 = Form.ID;
|
|
39
|
+
var Info29 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID15
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID15
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID15
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID15,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service74 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer23 = Layer.effect(Service74, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service80;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError9({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID15.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -159,9 +159,9 @@ var layer24 = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
159
159
|
closed = true;
|
|
160
160
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
|
-
return
|
|
162
|
+
return Service74.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node78 = makeLocationNode({ service: Service74, layer: layer23, deps: [node84] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { ID15, Info29, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service74, layer23, node78, validateAnswer2, validateFields2, exports_form, Event17 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service51,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node53
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service51 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service51.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node53 = makeLocationNode({ service: Service51, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service51, node53, exports_image2 };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service76,
|
|
18
|
+
node80
|
|
19
|
+
} from "./persistent-pty-n8wxhx57.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service70,
|
|
22
|
+
node73
|
|
23
|
+
} from "./persistent-pty-knc8cwjj.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service69,
|
|
33
|
+
node: () => node72
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service69,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node72,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service69 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service76;
|
|
66
|
+
const workspace = yield* Service70;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service69.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node72 = makeLocationNode({
|
|
71
|
+
service: Service69,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node80, node73]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service69, node72, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-hmnhqwz4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./persistent-pty-tez6bvh6.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./persistent-pty-p8j15tse.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-qd1yxrve.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID13
|
|
17
|
+
} from "./persistent-pty-ktabkpdb.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID9,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-7rv8b2xc.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID13.make("digitalocean");
|
|
31
|
+
var integrationID = ID14.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service80;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID9.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./persistent-pty-tez6bvh6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./persistent-pty-1j0h6t7s.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service21,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-gyce5qg1.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-nme0kws8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event2,
|
|
30
30
|
ID: () => ID2,
|
|
31
31
|
Info: () => Info2,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service21,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
37
|
node: () => node16
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event2, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
43
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service80;
|
|
45
|
+
const kv = yield* Service83;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service21.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -223,9 +223,9 @@ function slotInfo(slot) {
|
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
225
|
var node16 = Node.makeLocationNode({
|
|
226
|
-
service:
|
|
226
|
+
service: Service21,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export { node16, exports_plugin2,
|
|
231
|
+
export { node16, exports_plugin2, Event2, ID2, Info2, Source2, State2 };
|