@opencode/core 0.0.0-dev-872 → 0.0.0-dev-876
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 +94 -94
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +248 -248
- package/dist/bus.js +84 -84
- package/dist/chunks/{console-access-034tev2y.js → worktree-034tev2y.js} +2 -2
- package/dist/chunks/{console-access-s4ycatst.js → worktree-06y6qy68.js} +12 -12
- package/dist/chunks/{console-access-bf0x9bpm.js → worktree-0fjqr56q.js} +53 -53
- package/dist/chunks/{console-access-xj3ayvhz.js → worktree-0gmcev4p.js} +11 -11
- package/dist/chunks/{console-access-0j7gp832.js → worktree-0j7gp832.js} +1 -1
- package/dist/chunks/{console-access-0ma9gw4f.js → worktree-0ma9gw4f.js} +2 -2
- package/dist/chunks/{console-access-hayfc0ry.js → worktree-0na2v0kx.js} +2 -2
- package/dist/chunks/{console-access-0seer62y.js → worktree-0ne6p79n.js} +15 -15
- package/dist/chunks/{console-access-m49jwh5v.js → worktree-0smjzh1v.js} +15 -15
- package/dist/chunks/{console-access-5cx8cahj.js → worktree-0t1acx1g.js} +8 -8
- package/dist/chunks/{console-access-m14e2y7k.js → worktree-11k30d3q.js} +28 -28
- package/dist/chunks/{console-access-9admhf85.js → worktree-16r388aq.js} +19 -19
- package/dist/chunks/{console-access-tdm4es8f.js → worktree-18z9xd8w.js} +22 -22
- package/dist/chunks/{console-access-1aqsckx4.js → worktree-1aqsckx4.js} +1 -1
- package/dist/chunks/{console-access-cr6r2eqf.js → worktree-1b81r9ak.js} +11 -11
- package/dist/chunks/{console-access-8sgm9jfm.js → worktree-1d15302f.js} +17 -17
- package/dist/chunks/{console-access-1ep2p91f.js → worktree-1ep2p91f.js} +2 -2
- package/dist/chunks/{console-access-zb8ad4tv.js → worktree-1mnq2rn5.js} +5 -5
- package/dist/chunks/{console-access-1x2knyw4.js → worktree-1x2knyw4.js} +1 -1
- package/dist/chunks/{console-access-cfejymxp.js → worktree-1y0e0ryk.js} +35 -35
- package/dist/chunks/{console-access-bdhd9h6e.js → worktree-1yq9hg58.js} +5 -5
- package/dist/chunks/{console-access-9ne6s3an.js → worktree-203qqadr.js} +5 -5
- package/dist/chunks/{console-access-m6cfdtf3.js → worktree-208nbn7x.js} +4 -4
- package/dist/chunks/{console-access-v2vcxqpn.js → worktree-24f2x2dk.js} +8 -8
- package/dist/chunks/{console-access-bqx3rp10.js → worktree-2a8qswhe.js} +10 -10
- package/dist/chunks/{console-access-n642gz8s.js → worktree-2bjpcdwq.js} +11 -11
- package/dist/chunks/{console-access-hx6htqzc.js → worktree-2bzmwc8c.js} +17 -17
- package/dist/chunks/{console-access-ah2a4w12.js → worktree-2djbjr8n.js} +22 -22
- package/dist/chunks/{console-access-2fc7eemy.js → worktree-2fc7eemy.js} +1 -1
- package/dist/chunks/{console-access-3cb51s9x.js → worktree-2gy4tjja.js} +22 -22
- package/dist/chunks/{console-access-ywt68hgq.js → worktree-2mk49qmx.js} +12 -12
- package/dist/chunks/{console-access-7y8253kd.js → worktree-2xajh5zb.js} +11 -11
- package/dist/chunks/{console-access-z5b3jbm2.js → worktree-312kjg9w.js} +43 -43
- package/dist/chunks/{console-access-73q549ap.js → worktree-34gaj1rj.js} +27 -27
- package/dist/chunks/{console-access-s6henjmk.js → worktree-375ef93n.js} +19 -19
- package/dist/chunks/{console-access-xjbsd7zy.js → worktree-3adw4bt5.js} +9 -9
- package/dist/chunks/{console-access-38atze3s.js → worktree-3bgf9gas.js} +4 -4
- package/dist/chunks/{console-access-fqms4vh9.js → worktree-3gt45yws.js} +23 -23
- package/dist/chunks/{console-access-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{console-access-3nnrz6f6.js → worktree-3nnrz6f6.js} +1 -1
- package/dist/chunks/{console-access-gx754n39.js → worktree-3t9b5ztq.js} +4 -4
- package/dist/chunks/{console-access-40y6dtc2.js → worktree-40y6dtc2.js} +1 -1
- package/dist/chunks/{console-access-azqdag7d.js → worktree-47qexrcb.js} +4 -4
- package/dist/chunks/{console-access-4dx1dgte.js → worktree-4dx1dgte.js} +1 -1
- package/dist/chunks/{console-access-68a2n7v8.js → worktree-4fm65zrg.js} +23 -23
- package/dist/chunks/{console-access-mt2xbmw7.js → worktree-4nye5q1n.js} +33 -33
- package/dist/chunks/{console-access-4pyp9zr9.js → worktree-4pyp9zr9.js} +1 -1
- package/dist/chunks/{console-access-jn4bf1at.js → worktree-4tnarq1t.js} +4 -4
- package/dist/chunks/{console-access-4v008n1t.js → worktree-4v008n1t.js} +1 -1
- package/dist/chunks/{console-access-4v1q5f9r.js → worktree-4xsb4cgd.js} +6 -6
- package/dist/chunks/{console-access-hcwgqb5f.js → worktree-57yekzay.js} +9 -9
- package/dist/chunks/{console-access-pqmy2q7x.js → worktree-580gg2hr.js} +16 -16
- package/dist/chunks/{console-access-r7zrbnjn.js → worktree-593f2610.js} +4 -4
- package/dist/chunks/{console-access-m146rvcq.js → worktree-5e0d172x.js} +10 -10
- package/dist/chunks/{console-access-5m9w47nd.js → worktree-5m9w47nd.js} +1 -1
- package/dist/chunks/{console-access-a3fn0gmm.js → worktree-5pgy0sqj.js} +2 -2
- package/dist/chunks/{console-access-530xg6vw.js → worktree-5rxgzxpx.js} +6 -6
- package/dist/chunks/{console-access-kd7etf73.js → worktree-5t3d7a3k.js} +7 -7
- package/dist/chunks/{console-access-1j8y5v32.js → worktree-64ws81xy.js} +9 -9
- package/dist/chunks/{console-access-ga7hs36x.js → worktree-652cxmf2.js} +13 -13
- package/dist/chunks/{console-access-62zd5tzk.js → worktree-694dpcrp.js} +4 -4
- package/dist/chunks/{console-access-wy1tghwk.js → worktree-69v4073s.js} +2 -2
- package/dist/chunks/{console-access-4h49y4jd.js → worktree-6fat5w0g.js} +56 -56
- package/dist/chunks/{console-access-v557krk4.js → worktree-6fkpvdwx.js} +17 -17
- package/dist/chunks/{console-access-qfhcjejk.js → worktree-6hp0vh1z.js} +9 -9
- package/dist/chunks/{console-access-e7xkbqrz.js → worktree-6javb3e4.js} +22 -22
- package/dist/chunks/{console-access-5wspyh75.js → worktree-6qwmnac3.js} +31 -31
- package/dist/chunks/{console-access-znhhjm9g.js → worktree-6t8vew8t.js} +4 -4
- package/dist/chunks/{console-access-hd2czy26.js → worktree-6yb0qn0r.js} +11 -11
- package/dist/chunks/{console-access-q1511djy.js → worktree-76jjydz9.js} +199 -199
- package/dist/chunks/{console-access-775hqbnd.js → worktree-775hqbnd.js} +3 -3
- package/dist/chunks/{console-access-1bwtc8x5.js → worktree-79mk3d4k.js} +8 -8
- package/dist/chunks/{console-access-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{console-access-rmdye65z.js → worktree-7dzfrn01.js} +31 -31
- package/dist/chunks/{console-access-w79vy7j3.js → worktree-7e0eevm2.js} +18 -18
- package/dist/chunks/{console-access-9hk2xa3q.js → worktree-7emmk19a.js} +30 -30
- package/dist/chunks/{console-access-bt7rf7fy.js → worktree-7hdxzzg1.js} +16 -16
- package/dist/chunks/{console-access-x4mcewfn.js → worktree-7nqkf5r1.js} +4 -4
- package/dist/chunks/{console-access-7w2ypzdf.js → worktree-7w2ypzdf.js} +1 -1
- package/dist/chunks/{console-access-7weczvnd.js → worktree-7weczvnd.js} +1 -1
- package/dist/chunks/{console-access-7yv5xa0k.js → worktree-7yv5xa0k.js} +1 -1
- package/dist/chunks/worktree-86k87xt5.js +577 -0
- package/dist/chunks/{console-access-8z9fjwb0.js → worktree-88grwdsf.js} +10 -10
- package/dist/chunks/{console-access-89287pr7.js → worktree-89287pr7.js} +1 -1
- package/dist/chunks/{console-access-nq1mg43n.js → worktree-8akjpyn6.js} +3 -3
- package/dist/chunks/{console-access-8b3vzgkx.js → worktree-8b3vzgkx.js} +1 -1
- package/dist/chunks/{console-access-8cg7mtm3.js → worktree-8cg7mtm3.js} +1 -1
- package/dist/chunks/{console-access-mreygatm.js → worktree-8dsy49kh.js} +3 -3
- package/dist/chunks/{console-access-58m0mgq3.js → worktree-8gharz4h.js} +14 -14
- package/dist/chunks/{console-access-cxab28sr.js → worktree-8hfctyyf.js} +7 -7
- package/dist/chunks/{console-access-7qew46x7.js → worktree-8ps23s3r.js} +1 -1
- package/dist/chunks/{console-access-e5ady7dg.js → worktree-8ptg7hdn.js} +36 -36
- package/dist/chunks/{console-access-bhj3baak.js → worktree-8qs9z106.js} +23 -23
- package/dist/chunks/{console-access-8sxe6kv8.js → worktree-8sxe6kv8.js} +2 -2
- package/dist/chunks/{console-access-3qgwywyc.js → worktree-8t99kr38.js} +4 -4
- package/dist/chunks/{console-access-8wtp7s3z.js → worktree-8wtp7s3z.js} +1 -1
- package/dist/chunks/{console-access-h1r05k63.js → worktree-8xz3r9v3.js} +18 -18
- package/dist/chunks/{console-access-8zv0xmg5.js → worktree-8zv0xmg5.js} +1 -1
- package/dist/chunks/{console-access-89twt85c.js → worktree-904zz7ha.js} +7 -7
- package/dist/chunks/{console-access-3xec8q10.js → worktree-90k5dtdd.js} +10 -10
- package/dist/chunks/{console-access-5pb6shwq.js → worktree-918maj3v.js} +8 -8
- package/dist/chunks/{console-access-zyfhsknv.js → worktree-941r128d.js} +9 -9
- package/dist/chunks/{console-access-q4spn164.js → worktree-9818xe2a.js} +16 -16
- package/dist/chunks/{console-access-xy0bwnjg.js → worktree-9exxrxam.js} +8 -8
- package/dist/chunks/{console-access-1bynwffb.js → worktree-9gt8dvnd.js} +25 -25
- package/dist/chunks/{console-access-ep96q0br.js → worktree-9jnhvaxx.js} +30 -30
- package/dist/chunks/{console-access-rvjajc6r.js → worktree-9tmrbz05.js} +8 -8
- package/dist/chunks/{console-access-jy2czfqv.js → worktree-9tvpxs1q.js} +4 -4
- package/dist/chunks/{console-access-camr9pc6.js → worktree-9vjq21ta.js} +8 -8
- package/dist/chunks/{console-access-mg2jw3dx.js → worktree-9yra9w35.js} +22 -22
- package/dist/chunks/{console-access-pah254n3.js → worktree-ad21tgm2.js} +2 -2
- package/dist/chunks/{console-access-0hxcpwt2.js → worktree-aerrpmfy.js} +3 -3
- package/dist/chunks/{console-access-2zcv1k9j.js → worktree-any1n6rk.js} +76 -76
- package/dist/chunks/{console-access-3j212nrm.js → worktree-ap0byz54.js} +6 -6
- package/dist/chunks/{console-access-vgwzy0ex.js → worktree-avtn9qcw.js} +11 -11
- package/dist/chunks/{console-access-ayjs7tqn.js → worktree-ayjs7tqn.js} +2 -2
- package/dist/chunks/{console-access-m7jt6wzq.js → worktree-b14wh7ra.js} +10 -10
- package/dist/chunks/{console-access-7h22etv1.js → worktree-b4k47k2s.js} +5 -5
- package/dist/chunks/{console-access-bz8tdkcd.js → worktree-b6m2m06e.js} +18 -18
- package/dist/chunks/{console-access-b0vmycmn.js → worktree-b6pxc0bj.js} +31 -31
- package/dist/chunks/{console-access-wdahjt0b.js → worktree-b7j26gq9.js} +12 -12
- package/dist/chunks/{console-access-f35vzn9p.js → worktree-bagyajxr.js} +67 -67
- package/dist/chunks/{console-access-n0m5pkx1.js → worktree-bdezwmdf.js} +13 -13
- package/dist/chunks/{console-access-209xgz9f.js → worktree-be1z6a4n.js} +41 -41
- package/dist/chunks/{console-access-h3ckphvn.js → worktree-betqdr7d.js} +37 -37
- package/dist/chunks/{console-access-25kghdpn.js → worktree-bqjbz6yh.js} +14 -14
- package/dist/chunks/{console-access-abajt2yz.js → worktree-bqkj7jx5.js} +8 -8
- package/dist/chunks/{console-access-k915457z.js → worktree-brfdd9qz.js} +24 -24
- package/dist/chunks/{console-access-bstexjd6.js → worktree-bstexjd6.js} +1 -1
- package/dist/chunks/{console-access-n1ytbrys.js → worktree-bxx79vyn.js} +9 -9
- package/dist/chunks/{console-access-by8ty0bx.js → worktree-by8ty0bx.js} +1 -1
- package/dist/chunks/{console-access-c7cw818c.js → worktree-c7cw818c.js} +2 -2
- package/dist/chunks/{console-access-y9m9qrr4.js → worktree-c98qqzty.js} +19 -19
- package/dist/chunks/{console-access-k25mt8kq.js → worktree-cg3fcpn4.js} +6 -6
- package/dist/chunks/{console-access-6yeq7swq.js → worktree-ch37w9fq.js} +6 -6
- package/dist/chunks/{console-access-f88yfx2t.js → worktree-cp2gts92.js} +9 -9
- package/dist/chunks/{console-access-m4x4pnyp.js → worktree-cvvjmy0s.js} +14 -14
- package/dist/chunks/{console-access-cwrgdav8.js → worktree-cwrgdav8.js} +2 -2
- package/dist/chunks/{console-access-kqb1fp63.js → worktree-d0rayg98.js} +43 -43
- package/dist/chunks/{console-access-20mk3afd.js → worktree-d2q2w57c.js} +5 -5
- package/dist/chunks/{console-access-d4v9tmah.js → worktree-d4v9tmah.js} +2 -2
- package/dist/chunks/{console-access-7647nrae.js → worktree-d50vzyxe.js} +32 -32
- package/dist/chunks/{console-access-5z8eas5a.js → worktree-d5c055qx.js} +26 -26
- package/dist/chunks/{console-access-ddvn7d3w.js → worktree-ddvn7d3w.js} +1 -1
- package/dist/chunks/{console-access-bed0cw1j.js → worktree-df56s2wf.js} +18 -18
- package/dist/chunks/{console-access-0qtgezyw.js → worktree-dkz3ms8m.js} +19 -19
- package/dist/chunks/{console-access-1fdr113z.js → worktree-dmeswyfq.js} +6 -6
- package/dist/chunks/{console-access-dt77769w.js → worktree-dt77769w.js} +1 -1
- package/dist/chunks/{console-access-hq077k8h.js → worktree-dwd418qm.js} +25 -25
- package/dist/chunks/{console-access-pp5x5h1b.js → worktree-dy308w4s.js} +61 -61
- package/dist/chunks/{console-access-bwfjrdbc.js → worktree-e1jeyye4.js} +5 -5
- package/dist/chunks/{console-access-x21qrsfq.js → worktree-e4cp3w0r.js} +36 -36
- package/dist/chunks/{console-access-d1v8e7mc.js → worktree-e4f0vapy.js} +39 -39
- package/dist/chunks/{console-access-e834z07m.js → worktree-e834z07m.js} +1 -1
- package/dist/chunks/{console-access-b8dgv6az.js → worktree-e92yqwkf.js} +12 -12
- package/dist/chunks/{console-access-kfrpqccp.js → worktree-ebq998nt.js} +12 -12
- package/dist/chunks/{console-access-27eqz7rd.js → worktree-ebrhe4rp.js} +32 -32
- package/dist/chunks/{console-access-e1pxtmw8.js → worktree-ecmwbb5v.js} +7 -7
- package/dist/chunks/{console-access-eqw4pqj1.js → worktree-eqw4pqj1.js} +2 -2
- package/dist/chunks/{console-access-rj7jtxy8.js → worktree-f341sazs.js} +3 -3
- package/dist/chunks/{console-access-nfgqc20t.js → worktree-f837n8dq.js} +5 -5
- package/dist/chunks/{console-access-rwhdc3r2.js → worktree-f8xhtnpd.js} +10 -10
- package/dist/chunks/{console-access-gnf480jv.js → worktree-f9xadq7v.js} +11 -11
- package/dist/chunks/{console-access-fffv3p7h.js → worktree-fffv3p7h.js} +1 -1
- package/dist/chunks/{console-access-fg9p65nk.js → worktree-fg9p65nk.js} +2 -2
- package/dist/chunks/{console-access-914xcbrg.js → worktree-fm4hmcbf.js} +11 -11
- package/dist/chunks/{console-access-gn1twwg3.js → worktree-fmkapcpn.js} +33 -33
- package/dist/chunks/{console-access-82phgae0.js → worktree-fnm34e0k.js} +5 -5
- package/dist/chunks/{console-access-xmy3vh9r.js → worktree-fr1mmx5p.js} +9 -9
- package/dist/chunks/{console-access-y8zpfghy.js → worktree-fr6q3a25.js} +5 -5
- package/dist/chunks/{console-access-gc8rgy0e.js → worktree-g05xnsqx.js} +18 -18
- package/dist/chunks/{console-access-7xghxa9m.js → worktree-g54w9w6m.js} +21 -21
- package/dist/chunks/{console-access-y54e078s.js → worktree-g905b71m.js} +10 -10
- package/dist/chunks/{console-access-c4p628we.js → worktree-g9z7bzmd.js} +28 -28
- package/dist/chunks/{console-access-xbj2bxbv.js → worktree-gb1ff4ap.js} +39 -39
- package/dist/chunks/{console-access-tyet14xn.js → worktree-gb2tz0v7.js} +21 -21
- package/dist/chunks/{console-access-gbjdnr5j.js → worktree-gbjdnr5j.js} +2 -2
- package/dist/chunks/{console-access-f48xkwz4.js → worktree-gsf1mcs1.js} +29 -29
- package/dist/chunks/{console-access-sb6s2ja7.js → worktree-gshxjf2t.js} +1 -1
- package/dist/chunks/{console-access-gbpgeq2z.js → worktree-gsmn3gxm.js} +11 -11
- package/dist/chunks/{console-access-3wvgmwna.js → worktree-gx8s1m7d.js} +43 -43
- package/dist/chunks/{console-access-jkh7vgwn.js → worktree-h2jaypqm.js} +27 -27
- package/dist/chunks/{console-access-g64fax95.js → worktree-h2pwbspx.js} +3 -3
- package/dist/chunks/{console-access-r75qz1z1.js → worktree-hf6jneh0.js} +4 -4
- package/dist/chunks/{console-access-hgzwgvze.js → worktree-hgzwgvze.js} +2 -2
- package/dist/chunks/{console-access-sreg4rgy.js → worktree-hn432qw4.js} +12 -12
- package/dist/chunks/{console-access-0zgya7c0.js → worktree-htftdbas.js} +13 -13
- package/dist/chunks/{console-access-v03ckpsk.js → worktree-htnqgwg1.js} +25 -25
- package/dist/chunks/{console-access-a8rj5c8k.js → worktree-hvqd4bvc.js} +11 -11
- package/dist/chunks/{console-access-acwkhp93.js → worktree-hz4ry9me.js} +18 -18
- package/dist/chunks/{console-access-j9nxzz3g.js → worktree-j9nxzz3g.js} +3 -3
- package/dist/chunks/{console-access-mkx55n85.js → worktree-jepy0x0m.js} +35 -35
- package/dist/chunks/{console-access-4bqkzba5.js → worktree-jgnk4836.js} +11 -11
- package/dist/chunks/{console-access-knpbkrg7.js → worktree-jht64jd1.js} +5 -5
- package/dist/chunks/{console-access-jm70asfg.js → worktree-jm70asfg.js} +1 -1
- package/dist/chunks/{console-access-0mf5jtzb.js → worktree-jnd2yggj.js} +11 -11
- package/dist/chunks/{console-access-qsdghx1p.js → worktree-k3cx6fhe.js} +4 -4
- package/dist/chunks/{console-access-gph1x394.js → worktree-k84nyyd0.js} +19 -19
- package/dist/chunks/{console-access-me215f18.js → worktree-kg4exk81.js} +1 -1
- package/dist/chunks/{console-access-xwbk15ay.js → worktree-kn36w4dj.js} +31 -31
- package/dist/chunks/{console-access-zpzp6d8n.js → worktree-kq17g8gv.js} +6 -6
- package/dist/chunks/{console-access-ea90c952.js → worktree-ktck1cjp.js} +6 -6
- package/dist/chunks/{console-access-gsyz3rbd.js → worktree-kwmph2q0.js} +20 -20
- package/dist/chunks/{console-access-rfnfs1wm.js → worktree-kyknme5q.js} +49 -49
- package/dist/chunks/{console-access-9zsja20c.js → worktree-kz03g9q9.js} +37 -37
- package/dist/chunks/{console-access-kzczzf4v.js → worktree-kzczzf4v.js} +1 -1
- package/dist/chunks/{console-access-7gkrwrqk.js → worktree-m0a7g44c.js} +18 -18
- package/dist/chunks/{console-access-maxcq5sh.js → worktree-m0w1fft5.js} +91 -91
- package/dist/chunks/{console-access-m1714858.js → worktree-m1714858.js} +1 -1
- package/dist/chunks/{console-access-zxmzk362.js → worktree-m4e3sh4x.js} +9 -9
- package/dist/chunks/{console-access-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{console-access-mb7mbhnz.js → worktree-mb7mbhnz.js} +3 -3
- package/dist/chunks/{console-access-95mzmxq3.js → worktree-mc5f456h.js} +26 -26
- package/dist/chunks/{console-access-pnschvpa.js → worktree-mhnvv647.js} +48 -48
- package/dist/chunks/{console-access-pa3wvp6d.js → worktree-mjjmsc0q.js} +3 -3
- package/dist/chunks/{console-access-md69vhb1.js → worktree-mk65jrrt.js} +16 -16
- package/dist/chunks/{console-access-mm06edep.js → worktree-mm06edep.js} +1 -1
- package/dist/chunks/{console-access-x1n0fdq8.js → worktree-mmgdhjjn.js} +20 -20
- package/dist/chunks/{console-access-mf63ygpr.js → worktree-mmx1mfjr.js} +4 -4
- package/dist/chunks/{console-access-qekawewe.js → worktree-msbwm9am.js} +59 -59
- package/dist/chunks/{console-access-a06kc4yt.js → worktree-mt8hy3hj.js} +4 -4
- package/dist/chunks/{console-access-2n444ktb.js → worktree-my4zabxr.js} +3 -3
- package/dist/chunks/{console-access-wgespn78.js → worktree-myrazpsb.js} +33 -33
- package/dist/chunks/{console-access-hbwa78p2.js → worktree-n0pmqs7d.js} +3 -3
- package/dist/chunks/{console-access-rgtpv7y6.js → worktree-n33nyn98.js} +9 -9
- package/dist/chunks/{console-access-wh65gf2w.js → worktree-nc4e8w7g.js} +5 -5
- package/dist/chunks/{console-access-e7z1qbde.js → worktree-nkmw6x8p.js} +6 -6
- package/dist/chunks/{console-access-bjr6kgn1.js → worktree-nm267vgp.js} +11 -11
- package/dist/chunks/{console-access-gatvq97v.js → worktree-nrnxe7g4.js} +27 -27
- package/dist/chunks/{console-access-xmx7xj34.js → worktree-p0tsr9h6.js} +4 -4
- package/dist/chunks/{console-access-ztak8gc8.js → worktree-p1s6h0e3.js} +19 -19
- package/dist/chunks/{console-access-m11d3xwe.js → worktree-p2whz3dm.js} +55 -55
- package/dist/chunks/{console-access-pczybx93.js → worktree-p332nbp2.js} +48 -48
- package/dist/chunks/{console-access-s9c1smfb.js → worktree-p43zptcs.js} +96 -96
- package/dist/chunks/{console-access-0zg5z2dq.js → worktree-p54rz49h.js} +45 -45
- package/dist/chunks/{console-access-vn94apc7.js → worktree-pgf5czva.js} +9 -9
- package/dist/chunks/{console-access-ajt9rfs4.js → worktree-pgwwkgmt.js} +25 -25
- package/dist/chunks/{console-access-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{console-access-my6fed7v.js → worktree-pm74ahej.js} +21 -21
- package/dist/chunks/{console-access-etvpx99e.js → worktree-pp4f2fj0.js} +8 -8
- package/dist/chunks/{console-access-j8yj2vw3.js → worktree-pt5ehxk6.js} +26 -26
- package/dist/chunks/{console-access-pxzaa117.js → worktree-pxzaa117.js} +1 -1
- package/dist/chunks/{console-access-gyfb5q3n.js → worktree-q2xrrvxt.js} +5 -5
- package/dist/chunks/{console-access-pq1kzasx.js → worktree-q39s8syp.js} +4 -4
- package/dist/chunks/{console-access-09s7mef2.js → worktree-q8vtkh3p.js} +3 -3
- package/dist/chunks/{console-access-b5ehvbb1.js → worktree-qdaxnh4s.js} +20 -20
- package/dist/chunks/{console-access-gh1sknbe.js → worktree-qgfj628s.js} +24 -24
- package/dist/chunks/{console-access-ygjk0tsw.js → worktree-qnv3v84h.js} +29 -29
- package/dist/chunks/{console-access-qp7r0hxv.js → worktree-qp7r0hxv.js} +1 -1
- package/dist/chunks/{console-access-5sc6148q.js → worktree-qqmgvvew.js} +18 -18
- package/dist/chunks/{console-access-yp2c7qyq.js → worktree-qrs8q7n9.js} +6 -6
- package/dist/chunks/{console-access-7zkstmy2.js → worktree-qtw7g3dn.js} +25 -25
- package/dist/chunks/{console-access-a83h83ha.js → worktree-qwxe55kh.js} +23 -23
- package/dist/chunks/{console-access-mj3vj7xv.js → worktree-qyn0da8d.js} +25 -25
- package/dist/chunks/{console-access-1eke7ft2.js → worktree-qz8t2q7x.js} +14 -14
- package/dist/chunks/{console-access-pdav85fr.js → worktree-r0zvtrp7.js} +38 -38
- package/dist/chunks/{console-access-4f4qzg19.js → worktree-r3434bb1.js} +40 -40
- package/dist/chunks/{console-access-r542h3bh.js → worktree-r542h3bh.js} +1 -1
- package/dist/chunks/{console-access-6sy3vyj0.js → worktree-r6tpngtj.js} +30 -30
- package/dist/chunks/{console-access-rb9dy4dg.js → worktree-rb9dy4dg.js} +1 -1
- package/dist/chunks/{console-access-a5gg41kj.js → worktree-rewxhgdy.js} +12 -12
- package/dist/chunks/{console-access-rgc9cx3e.js → worktree-rgc9cx3e.js} +2 -2
- package/dist/chunks/{console-access-0qfj2jmt.js → worktree-rh63n522.js} +49 -49
- package/dist/chunks/{console-access-jpvv437n.js → worktree-rmc2q4zv.js} +15 -15
- package/dist/chunks/{console-access-rt5dr6hb.js → worktree-rt5dr6hb.js} +1 -1
- package/dist/chunks/{console-access-sf9y72b7.js → worktree-rzg6y5rp.js} +4 -4
- package/dist/chunks/{console-access-5n0rnk8e.js → worktree-s26c8eb5.js} +4 -4
- package/dist/chunks/{console-access-nzgdf707.js → worktree-s5pfmh0r.js} +5 -5
- package/dist/chunks/{console-access-jwadb99r.js → worktree-s5qfgb0b.js} +31 -31
- package/dist/chunks/{console-access-sbya78hr.js → worktree-sbya78hr.js} +1 -1
- package/dist/chunks/{console-access-t8erkws8.js → worktree-scmk72rv.js} +5 -5
- package/dist/chunks/{console-access-vn6etv1v.js → worktree-sd8pfm1b.js} +26 -26
- package/dist/chunks/{console-access-ghrv1g9c.js → worktree-sdt5j0rm.js} +4 -4
- package/dist/chunks/{console-access-v12p5tpw.js → worktree-shx2t69h.js} +17 -17
- package/dist/chunks/{console-access-svcy3p9a.js → worktree-svcy3p9a.js} +1 -1
- package/dist/chunks/{console-access-tbpn7jtk.js → worktree-tbpn7jtk.js} +1 -1
- package/dist/chunks/{console-access-tczq8hjw.js → worktree-tczq8hjw.js} +1 -1
- package/dist/chunks/{console-access-gxs71cxp.js → worktree-tg7s7b5t.js} +4 -4
- package/dist/chunks/{console-access-csfs8th5.js → worktree-tgqk8ax3.js} +35 -35
- package/dist/chunks/{console-access-ybzr5r70.js → worktree-th8bndh3.js} +26 -26
- package/dist/chunks/{console-access-2bxvk2a8.js → worktree-tp1jb13k.js} +4 -4
- package/dist/chunks/{console-access-k47mjm57.js → worktree-tqvm73pp.js} +13 -13
- package/dist/chunks/{console-access-2r1es908.js → worktree-twhtcdx9.js} +2 -2
- package/dist/chunks/{console-access-twssxy5n.js → worktree-twssxy5n.js} +2 -2
- package/dist/chunks/{console-access-q13g0dem.js → worktree-v1vpa7ms.js} +34 -34
- package/dist/chunks/{console-access-v2r1d0zg.js → worktree-v2r1d0zg.js} +1 -1
- package/dist/chunks/{console-access-3dctnnxy.js → worktree-v3ztkqce.js} +7 -7
- package/dist/chunks/{console-access-cprfv412.js → worktree-v438kgpn.js} +7 -7
- package/dist/chunks/worktree-v4e9jq5d.js +26 -0
- package/dist/chunks/{console-access-d2618364.js → worktree-v5ddwjkq.js} +45 -45
- package/dist/chunks/{console-access-4ygb74tw.js → worktree-v8xpr2tt.js} +11 -11
- package/dist/chunks/{console-access-2nxrwbd0.js → worktree-vcgv1jvt.js} +13 -13
- package/dist/chunks/{console-access-vjf35v1f.js → worktree-vjf35v1f.js} +1 -1
- package/dist/chunks/{console-access-20pht57w.js → worktree-vmqe41cb.js} +4 -4
- package/dist/chunks/{console-access-79tezben.js → worktree-vn85b901.js} +26 -26
- package/dist/chunks/{console-access-p6dqs8r8.js → worktree-vnv757bt.js} +17 -17
- package/dist/chunks/{console-access-ctmpqb7w.js → worktree-vq0qa3sh.js} +9 -9
- package/dist/chunks/{console-access-vt2d6wap.js → worktree-vt2d6wap.js} +1 -1
- package/dist/chunks/{console-access-xntgm0gs.js → worktree-vv84mwdr.js} +36 -36
- package/dist/chunks/{console-access-akejgeke.js → worktree-vyk5wav3.js} +7 -7
- package/dist/chunks/{console-access-5enarcya.js → worktree-w2eysc6j.js} +6 -6
- package/dist/chunks/{console-access-m3emfr1b.js → worktree-w3vqc4ke.js} +8 -8
- package/dist/chunks/{console-access-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{console-access-nq6xs88d.js → worktree-w6dtqm7y.js} +14 -14
- package/dist/chunks/{console-access-vsnnaxjq.js → worktree-w76xjer3.js} +4 -4
- package/dist/chunks/{console-access-wakvkjy4.js → worktree-wakvkjy4.js} +1 -1
- package/dist/chunks/{console-access-eheqd7th.js → worktree-wbkev1sj.js} +12 -12
- package/dist/chunks/{console-access-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{console-access-wegkxhrn.js → worktree-wegkxhrn.js} +2 -2
- package/dist/chunks/{console-access-3e5t4w9q.js → worktree-wjsw3cxz.js} +18 -18
- package/dist/chunks/{console-access-0h8y3ex8.js → worktree-wr3re1en.js} +4 -4
- package/dist/chunks/{console-access-79k544d0.js → worktree-wvr8xscb.js} +7 -7
- package/dist/chunks/{console-access-9f6ec47c.js → worktree-wwg86t57.js} +51 -51
- package/dist/chunks/{console-access-w66mr8n6.js → worktree-wwxyxtgy.js} +16 -16
- package/dist/chunks/{console-access-renkne8x.js → worktree-x08jbc1h.js} +4 -4
- package/dist/chunks/{console-access-xa5bz4tr.js → worktree-x7p4v2nc.js} +6 -6
- package/dist/chunks/{console-access-zgy4a1a4.js → worktree-xcg1njma.js} +18 -18
- package/dist/chunks/{console-access-g4v74gy6.js → worktree-xp2necrq.js} +8 -8
- package/dist/chunks/{console-access-xxschbft.js → worktree-xxschbft.js} +1 -1
- package/dist/chunks/{console-access-nkbec0ep.js → worktree-y0qtmf1c.js} +9 -9
- package/dist/chunks/{console-access-dks6j35q.js → worktree-y1h7p9cg.js} +29 -29
- package/dist/chunks/{console-access-cdhyf2g8.js → worktree-y52b0xvd.js} +11 -11
- package/dist/chunks/{console-access-fapn6vns.js → worktree-y90ccvgh.js} +12 -12
- package/dist/chunks/{console-access-yb20nhc3.js → worktree-yb20nhc3.js} +1 -1
- package/dist/chunks/{console-access-cn6nwcwd.js → worktree-yj3eevqz.js} +15 -15
- package/dist/chunks/{console-access-z4ghkntp.js → worktree-yjkye314.js} +17 -17
- package/dist/chunks/{console-access-0vynt1bg.js → worktree-ykvdsdrm.js} +3 -3
- package/dist/chunks/{console-access-yx6b7krk.js → worktree-ymj14byy.js} +18 -18
- package/dist/chunks/{console-access-39sgvy3e.js → worktree-ymqredyb.js} +4 -4
- package/dist/chunks/{console-access-yr705xyq.js → worktree-yr705xyq.js} +1 -1
- package/dist/chunks/{console-access-neftgy84.js → worktree-yss0fc0k.js} +7 -7
- package/dist/chunks/{console-access-cpsqt0d4.js → worktree-ytk5wrf7.js} +5 -5
- package/dist/chunks/{console-access-yts2a8qm.js → worktree-yts2a8qm.js} +1 -1
- package/dist/chunks/{console-access-yvtc2x31.js → worktree-yvtc2x31.js} +1 -1
- package/dist/chunks/{console-access-hrwv4t2t.js → worktree-ywv6jdkf.js} +11 -11
- package/dist/chunks/{console-access-pt4at9hh.js → worktree-z5dy9mcm.js} +28 -28
- package/dist/chunks/worktree-z69atzdp.js +265 -0
- package/dist/chunks/{console-access-z88rdk3t.js → worktree-z88rdk3t.js} +2 -2
- package/dist/chunks/{console-access-7gb3n3fn.js → worktree-zajhp84f.js} +15 -15
- package/dist/chunks/{console-access-2vxf19nn.js → worktree-zby73h3y.js} +9 -9
- package/dist/chunks/{console-access-c6wxmn6m.js → worktree-zkb9xe9g.js} +29 -29
- package/dist/chunks/{console-access-vhcqv052.js → worktree-ztfy9ymt.js} +20 -20
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +97 -97
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +238 -238
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +132 -132
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +81 -81
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +108 -108
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +440 -440
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +253 -253
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +127 -127
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +112 -112
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +431 -431
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +185 -185
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +428 -428
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +126 -126
- package/dist/mcp/instructions.js +189 -189
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +156 -156
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +407 -407
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -138
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode.js +159 -159
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +237 -237
- package/dist/plugin/sdk.js +85 -85
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +417 -417
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +253 -253
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +263 -263
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +250 -250
- package/dist/session/execution.js +167 -167
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +150 -150
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +146 -146
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +256 -256
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +164 -164
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +188 -188
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +87 -87
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +203 -203
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +251 -251
- package/dist/session/usage.js +1 -1
- package/dist/session.js +241 -241
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +161 -161
- package/dist/snapshot.js +104 -104
- 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 +188 -188
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +243 -243
- package/dist/tool/plugin/skill.js +160 -160
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +116 -116
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- package/dist/usage-limits.js +98 -98
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +95 -95
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +9 -9
- package/dist/chunks/console-access-275pe03s.js +0 -26
- package/dist/chunks/console-access-jzqpjsn2.js +0 -265
- package/dist/chunks/console-access-qmn01avr.js +0 -577
- /package/dist/chunks/{console-access-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{console-access-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{console-access-108x4f4w.js → worktree-108x4f4w.js} +0 -0
- /package/dist/chunks/{console-access-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{console-access-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{console-access-1kah00gy.js → worktree-1kah00gy.js} +0 -0
- /package/dist/chunks/{console-access-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{console-access-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{console-access-2bv980vf.js → worktree-2bv980vf.js} +0 -0
- /package/dist/chunks/{console-access-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{console-access-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{console-access-3af0jn4w.js → worktree-3af0jn4w.js} +0 -0
- /package/dist/chunks/{console-access-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{console-access-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{console-access-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{console-access-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{console-access-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{console-access-4qk9sjk2.js → worktree-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{console-access-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{console-access-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{console-access-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{console-access-5w3e23ze.js → worktree-5w3e23ze.js} +0 -0
- /package/dist/chunks/{console-access-6agm2x70.js → worktree-6agm2x70.js} +0 -0
- /package/dist/chunks/{console-access-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{console-access-6q2bdcd1.js → worktree-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{console-access-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{console-access-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{console-access-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{console-access-84wd9syh.js → worktree-84wd9syh.js} +0 -0
- /package/dist/chunks/{console-access-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{console-access-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{console-access-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
- /package/dist/chunks/{console-access-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{console-access-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{console-access-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{console-access-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{console-access-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{console-access-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{console-access-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{console-access-beh6qq61.js → worktree-beh6qq61.js} +0 -0
- /package/dist/chunks/{console-access-bhmrqjy3.js → worktree-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{console-access-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{console-access-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{console-access-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{console-access-cqv5kn06.js → worktree-cqv5kn06.js} +0 -0
- /package/dist/chunks/{console-access-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{console-access-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{console-access-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{console-access-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{console-access-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{console-access-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{console-access-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{console-access-ean2d8b5.js → worktree-ean2d8b5.js} +0 -0
- /package/dist/chunks/{console-access-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{console-access-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{console-access-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{console-access-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{console-access-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{console-access-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{console-access-fkpq3x5p.js → worktree-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{console-access-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{console-access-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{console-access-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{console-access-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{console-access-hcxmzztb.js → worktree-hcxmzztb.js} +0 -0
- /package/dist/chunks/{console-access-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{console-access-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{console-access-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{console-access-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{console-access-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{console-access-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{console-access-jwr30sdr.js → worktree-jwr30sdr.js} +0 -0
- /package/dist/chunks/{console-access-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{console-access-m18g726c.js → worktree-m18g726c.js} +0 -0
- /package/dist/chunks/{console-access-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{console-access-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{console-access-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{console-access-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{console-access-nh4v3znn.js → worktree-nh4v3znn.js} +0 -0
- /package/dist/chunks/{console-access-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{console-access-p71gwv9c.js → worktree-p71gwv9c.js} +0 -0
- /package/dist/chunks/{console-access-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{console-access-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{console-access-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{console-access-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{console-access-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{console-access-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{console-access-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{console-access-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{console-access-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{console-access-syrav9an.js → worktree-syrav9an.js} +0 -0
- /package/dist/chunks/{console-access-t03h4f5z.js → worktree-t03h4f5z.js} +0 -0
- /package/dist/chunks/{console-access-ty7weeps.js → worktree-ty7weeps.js} +0 -0
- /package/dist/chunks/{console-access-ve7vex1e.js → worktree-ve7vex1e.js} +0 -0
- /package/dist/chunks/{console-access-vtarvj67.js → worktree-vtarvj67.js} +0 -0
- /package/dist/chunks/{console-access-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{console-access-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{console-access-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{console-access-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{console-access-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{console-access-x4th4bpe.js → worktree-x4th4bpe.js} +0 -0
- /package/dist/chunks/{console-access-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{console-access-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{console-access-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{console-access-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{console-access-z0h12gs8.js → worktree-z0h12gs8.js} +0 -0
- /package/dist/chunks/{console-access-z5v4ffb3.js → worktree-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{console-access-z9919s4g.js → worktree-z9919s4g.js} +0 -0
- /package/dist/chunks/{console-access-zxpyjp51.js → worktree-zxpyjp51.js} +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-0gmcev4p.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-myrazpsb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID13,
|
|
9
9
|
MethodID2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-s5qfgb0b.js";
|
|
11
11
|
import {
|
|
12
12
|
success2,
|
|
13
13
|
error2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-yb20nhc3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID12,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-4nye5q1n.js";
|
|
20
20
|
import {
|
|
21
21
|
get5
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./worktree-3nnrz6f6.js";
|
|
23
23
|
import {
|
|
24
24
|
configuredSettings2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./worktree-dmeswyfq.js";
|
|
26
26
|
import {
|
|
27
27
|
onSwitch2,
|
|
28
28
|
reloadIfChanged2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./worktree-n33nyn98.js";
|
|
30
30
|
import {
|
|
31
31
|
activeCredential2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./worktree-ap0byz54.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/openai.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -53,7 +53,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
53
53
|
}));
|
|
54
54
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
55
55
|
var browser = (app) => ({
|
|
56
|
-
integrationID:
|
|
56
|
+
integrationID: ID13.make("openai"),
|
|
57
57
|
method: {
|
|
58
58
|
id: browserMethodID,
|
|
59
59
|
type: "oauth",
|
|
@@ -126,7 +126,7 @@ function addressInUse(error) {
|
|
|
126
126
|
return "code" in error && error.code === "EADDRINUSE";
|
|
127
127
|
}
|
|
128
128
|
var headless = (app) => ({
|
|
129
|
-
integrationID:
|
|
129
|
+
integrationID: ID13.make("openai"),
|
|
130
130
|
method: {
|
|
131
131
|
id: headlessMethodID,
|
|
132
132
|
type: "oauth",
|
|
@@ -184,9 +184,9 @@ var OpenAIPlugin2 = define({
|
|
|
184
184
|
editor.method.update(headless(ctx.app));
|
|
185
185
|
});
|
|
186
186
|
yield* load();
|
|
187
|
-
const configured = yield* configuredSettings2(
|
|
187
|
+
const configured = yield* configuredSettings2(ID12.openai);
|
|
188
188
|
yield* ctx.provider.transform((providers) => {
|
|
189
|
-
const item = providers.get(
|
|
189
|
+
const item = providers.get(ID12.openai);
|
|
190
190
|
if (!item)
|
|
191
191
|
return;
|
|
192
192
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -206,7 +206,7 @@ var OpenAIPlugin2 = define({
|
|
|
206
206
|
});
|
|
207
207
|
});
|
|
208
208
|
yield* ctx.model.transform((models) => {
|
|
209
|
-
for (const model of models.list(
|
|
209
|
+
for (const model of models.list(ID12.openai)) {
|
|
210
210
|
models.update(model.providerID, model.id, (draft) => {
|
|
211
211
|
if (!chatgpt)
|
|
212
212
|
return;
|
|
@@ -243,12 +243,12 @@ var OpenAIPlugin2 = define({
|
|
|
243
243
|
}));
|
|
244
244
|
evt.headers.originator = "opencode";
|
|
245
245
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID12.openai });
|
|
247
247
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
248
248
|
delete evt.options.maxTokens;
|
|
249
249
|
});
|
|
250
250
|
for (const name of ["context", "compaction"])
|
|
251
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
251
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID12.openai });
|
|
252
252
|
yield* onSwitch2("openai", loading.withPermit(reloadIfChanged2(load(), ctx.provider.reload())));
|
|
253
253
|
})
|
|
254
254
|
});
|
|
@@ -1,115 +1,115 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service91,
|
|
3
|
+
node95
|
|
4
|
+
} from "./worktree-06y6qy68.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service84,
|
|
7
|
+
node88
|
|
8
|
+
} from "./worktree-2bzmwc8c.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref3,
|
|
12
|
-
Service83,
|
|
13
|
-
node87
|
|
14
|
-
} from "./console-access-mkx55n85.js";
|
|
15
|
-
import {
|
|
16
|
-
ID13,
|
|
17
12
|
Service68,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
13
|
+
node71
|
|
14
|
+
} from "./worktree-jepy0x0m.js";
|
|
15
|
+
import {
|
|
16
|
+
ID22,
|
|
17
|
+
Service89,
|
|
18
|
+
node93
|
|
19
|
+
} from "./worktree-htnqgwg1.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./worktree-5rxgzxpx.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./worktree-593f2610.js";
|
|
26
26
|
import {
|
|
27
27
|
entriesForRunner2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./worktree-88grwdsf.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
30
|
+
Service56,
|
|
31
|
+
node58
|
|
32
|
+
} from "./worktree-yj3eevqz.js";
|
|
33
33
|
import {
|
|
34
34
|
merge2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./worktree-mhnvv647.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make23
|
|
38
|
+
} from "./worktree-ebq998nt.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
40
|
+
Service39,
|
|
41
|
+
node43
|
|
42
|
+
} from "./worktree-34gaj1rj.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
} from "./
|
|
44
|
+
Service27,
|
|
45
|
+
node32
|
|
46
|
+
} from "./worktree-wwxyxtgy.js";
|
|
47
47
|
import {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
} from "./
|
|
48
|
+
Service51,
|
|
49
|
+
node53
|
|
50
|
+
} from "./worktree-vnv757bt.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service42,
|
|
53
|
+
node46
|
|
54
|
+
} from "./worktree-d5c055qx.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
} from "./
|
|
56
|
+
Service30,
|
|
57
|
+
node35
|
|
58
|
+
} from "./worktree-e4f0vapy.js";
|
|
59
59
|
import {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
} from "./
|
|
60
|
+
Service26,
|
|
61
|
+
node31
|
|
62
|
+
} from "./worktree-3gt45yws.js";
|
|
63
63
|
import {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
} from "./
|
|
64
|
+
Service28,
|
|
65
|
+
node33
|
|
66
|
+
} from "./worktree-rmc2q4zv.js";
|
|
67
67
|
import {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
} from "./
|
|
68
|
+
Service29,
|
|
69
|
+
node34
|
|
70
|
+
} from "./worktree-2gy4tjja.js";
|
|
71
71
|
import {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
} from "./
|
|
72
|
+
Service25,
|
|
73
|
+
node30
|
|
74
|
+
} from "./worktree-7e0eevm2.js";
|
|
75
75
|
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
} from "./
|
|
76
|
+
Service32,
|
|
77
|
+
node37
|
|
78
|
+
} from "./worktree-7dzfrn01.js";
|
|
79
79
|
import {
|
|
80
80
|
__export
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./worktree-9rqn6x4v.js";
|
|
82
82
|
|
|
83
83
|
// src/session/context.ts
|
|
84
84
|
var exports_context = {};
|
|
85
85
|
__export(exports_context, {
|
|
86
|
-
Service: () =>
|
|
86
|
+
Service: () => Service24,
|
|
87
87
|
SessionContext: () => exports_context,
|
|
88
|
-
node: () =>
|
|
88
|
+
node: () => node28
|
|
89
89
|
});
|
|
90
90
|
import { Context, Effect, Layer } from "effect";
|
|
91
91
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
92
|
-
class
|
|
92
|
+
class Service24 extends Context.Service()("@opencode/SessionContext") {
|
|
93
93
|
}
|
|
94
|
-
var layer = Layer.effect(
|
|
95
|
-
const agents = yield*
|
|
96
|
-
const builtins = yield*
|
|
97
|
-
const model = yield*
|
|
98
|
-
const db = (yield*
|
|
99
|
-
const discovery = yield*
|
|
100
|
-
const entries = yield*
|
|
101
|
-
const location = yield*
|
|
102
|
-
const mcpInstructions = yield*
|
|
103
|
-
const mcpTools = yield*
|
|
104
|
-
const models = yield*
|
|
105
|
-
const request = yield*
|
|
106
|
-
const referenceInstructions = yield*
|
|
107
|
-
const skillInstructions = yield*
|
|
108
|
-
const store = yield*
|
|
109
|
-
const registry = yield*
|
|
94
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
95
|
+
const agents = yield* Service89;
|
|
96
|
+
const builtins = yield* Service27;
|
|
97
|
+
const model = yield* Service68;
|
|
98
|
+
const db = (yield* Service91).db;
|
|
99
|
+
const discovery = yield* Service39;
|
|
100
|
+
const entries = yield* Service25;
|
|
101
|
+
const location = yield* Service84;
|
|
102
|
+
const mcpInstructions = yield* Service26;
|
|
103
|
+
const mcpTools = yield* Service30;
|
|
104
|
+
const models = yield* Service51;
|
|
105
|
+
const request = yield* Service32;
|
|
106
|
+
const referenceInstructions = yield* Service28;
|
|
107
|
+
const skillInstructions = yield* Service29;
|
|
108
|
+
const store = yield* Service56;
|
|
109
|
+
const registry = yield* Service42;
|
|
110
110
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
111
111
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
112
|
-
const agent = yield* agents.get(
|
|
112
|
+
const agent = yield* agents.get(ID22.make("title"));
|
|
113
113
|
if (!agent)
|
|
114
114
|
return;
|
|
115
115
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -168,7 +168,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
168
168
|
session,
|
|
169
169
|
agent: { ...agent, info: agent.info },
|
|
170
170
|
instructions: combine2([
|
|
171
|
-
|
|
171
|
+
make23(loaded.tools.codeModeCatalog),
|
|
172
172
|
loaded.mcp,
|
|
173
173
|
loaded.references,
|
|
174
174
|
loaded.skills,
|
|
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
191
191
|
tools: selection.tools
|
|
192
192
|
};
|
|
193
193
|
});
|
|
194
|
-
return
|
|
194
|
+
return Service24.of({ select, load, resolveModel, selectTitle, request });
|
|
195
195
|
}));
|
|
196
196
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
197
197
|
var minimalVariant = (info) => MINIMAL_REASONING_VARIANTS.find((id) => info.variants.some((item) => item.id === id));
|
|
@@ -199,26 +199,26 @@ var lowerVariant = (info, selected) => {
|
|
|
199
199
|
const rank = (id) => info.variants.findIndex((item) => item.id === id);
|
|
200
200
|
return MINIMAL_REASONING_VARIANTS.find((id) => rank(id) !== -1 && (id !== "low" || rank(id) < rank(selected)));
|
|
201
201
|
};
|
|
202
|
-
var
|
|
203
|
-
service:
|
|
202
|
+
var node28 = makeLocationNode({
|
|
203
|
+
service: Service24,
|
|
204
204
|
layer,
|
|
205
205
|
deps: [
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
node61,
|
|
211
|
-
node38,
|
|
212
|
-
node89,
|
|
206
|
+
node93,
|
|
207
|
+
node71,
|
|
208
|
+
node95,
|
|
209
|
+
node32,
|
|
213
210
|
node43,
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
211
|
+
node30,
|
|
212
|
+
node88,
|
|
213
|
+
node31,
|
|
214
|
+
node35,
|
|
215
|
+
node33,
|
|
216
|
+
node53,
|
|
219
217
|
node37,
|
|
220
|
-
|
|
218
|
+
node58,
|
|
219
|
+
node34,
|
|
220
|
+
node46
|
|
221
221
|
]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { Service24, node28, exports_context };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-rb9dy4dg.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service84
|
|
13
|
+
} from "./worktree-2bzmwc8c.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-qgfj628s.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin37,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin37 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service84;
|
|
37
37
|
if (location.vcs && location.vcs.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin37, exports_hg };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-wakvkjy4.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-034tev2y.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { blob, sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service90,
|
|
3
|
+
node94
|
|
4
|
+
} from "./worktree-580gg2hr.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event14,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID14,
|
|
20
|
+
Info: () => Info24,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError11,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service71,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When3,
|
|
28
28
|
layer: () => layer28,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node74,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event14 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID14 = Form.ID;
|
|
39
|
+
var Info24 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When3 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID14
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError14 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID14
|
|
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: ID14
|
|
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: ID14,
|
|
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 Service71 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer28 = Layer.effect(
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer28 = Layer.effect(Service71, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service90;
|
|
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 NotFoundError11({ 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 ?? ID14.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer28 = Layer.effect(Service90, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).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 })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service71.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node74 = makeLocationNode({ service: Service71, layer: layer28, deps: [node94] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID14, Info24, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service71, layer28, node74, validateAnswer2, validateFields2, exports_form, Event14 };
|