@opencode/core 0.0.0-dev-20237 → 0.0.0-dev-20238
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{skill-n31131qv.js → workspace-0csdmtm4.js} +6 -6
- package/dist/chunks/{skill-9d7p7x83.js → workspace-0n965b9a.js} +5 -5
- package/dist/chunks/{skill-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
- package/dist/chunks/{skill-vncycja5.js → workspace-0v53mg2y.js} +4 -4
- package/dist/chunks/{skill-p999qeks.js → workspace-11pm3r9v.js} +12 -12
- package/dist/chunks/{skill-3bc8czyk.js → workspace-150yg2gd.js} +5 -5
- package/dist/chunks/{skill-pfh7wc7b.js → workspace-16jcs5eh.js} +7 -7
- package/dist/chunks/{skill-3h2h1y40.js → workspace-16srrwpp.js} +53 -53
- package/dist/chunks/{skill-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
- package/dist/chunks/{skill-05jx979n.js → workspace-1efy3mt3.js} +26 -26
- package/dist/chunks/{skill-jjw1v7g2.js → workspace-1mdxwgjq.js} +16 -16
- package/dist/chunks/{skill-xaqw7sw8.js → workspace-1xm4vf8s.js} +11 -11
- package/dist/chunks/{skill-mppm81rk.js → workspace-1xw4hqxx.js} +15 -15
- package/dist/chunks/{skill-21r38tys.js → workspace-21r38tys.js} +1 -1
- package/dist/chunks/{skill-xg6r1qgc.js → workspace-25c0jgp8.js} +8 -8
- package/dist/chunks/{skill-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
- package/dist/chunks/{skill-yt5a1n88.js → workspace-2ejs92bv.js} +15 -15
- package/dist/chunks/{skill-xh99yx0k.js → workspace-2eryhk75.js} +22 -22
- package/dist/chunks/{skill-x4yqaege.js → workspace-2kh7b0pr.js} +15 -15
- package/dist/chunks/{skill-z6nedmjx.js → workspace-2re12hwp.js} +3 -3
- package/dist/chunks/{skill-ck9ayhb2.js → workspace-2spzn6st.js} +35 -35
- package/dist/chunks/{skill-kvspnhsc.js → workspace-2tngcs8y.js} +48 -48
- package/dist/chunks/{skill-qq8x5mwt.js → workspace-2y34zzjz.js} +6 -6
- package/dist/chunks/{skill-33w4ejhs.js → workspace-33w4ejhs.js} +2 -2
- package/dist/chunks/{skill-4ckgtqrh.js → workspace-38phfjcn.js} +9 -9
- package/dist/chunks/{skill-t9kmsb73.js → workspace-3dv7a6vg.js} +4 -4
- package/dist/chunks/{skill-c8xqcx36.js → workspace-3eavv4sq.js} +6 -6
- package/dist/chunks/{skill-fwm3t8qh.js → workspace-3ecdent5.js} +12 -12
- package/dist/chunks/{skill-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
- package/dist/chunks/{skill-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{skill-78cw4hvj.js → workspace-3tqbg8ds.js} +12 -12
- package/dist/chunks/{skill-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{skill-3zsf4n22.js → workspace-3zsf4n22.js} +1 -1
- package/dist/chunks/{skill-0xqyf95c.js → workspace-41czef58.js} +4 -4
- package/dist/chunks/{skill-930cty0c.js → workspace-46gv8nvg.js} +14 -14
- package/dist/chunks/{skill-9267ka6q.js → workspace-48b9emvv.js} +7 -7
- package/dist/chunks/{skill-bpavgjm0.js → workspace-4bt902dy.js} +32 -32
- package/dist/chunks/{skill-0t83qpjm.js → workspace-4dxafkqb.js} +3 -3
- package/dist/chunks/{skill-02e79zmk.js → workspace-4qrmk4ra.js} +44 -44
- package/dist/chunks/{skill-dqqwsh7m.js → workspace-4waey5yj.js} +5 -5
- package/dist/chunks/{skill-ckecvw8r.js → workspace-54tcyq79.js} +2 -2
- package/dist/chunks/{skill-7ys3fh6j.js → workspace-5d3kt81x.js} +26 -26
- package/dist/chunks/{skill-5daktx2q.js → workspace-5daktx2q.js} +1 -1
- package/dist/chunks/{skill-chb5khpn.js → workspace-5jgcqyeb.js} +32 -32
- package/dist/chunks/{skill-tkw0q3t4.js → workspace-5rjs1zbx.js} +16 -16
- package/dist/chunks/{skill-c0kkjxwe.js → workspace-5s43rmdb.js} +6 -6
- package/dist/chunks/{skill-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
- package/dist/chunks/{skill-3ddj4795.js → workspace-5wna7wmm.js} +16 -16
- package/dist/chunks/{skill-1ajx6rf5.js → workspace-5xtgfte3.js} +8 -8
- package/dist/chunks/{skill-669tq793.js → workspace-669tq793.js} +1 -1
- package/dist/chunks/{skill-tsxjjv1e.js → workspace-6aebm42n.js} +11 -11
- package/dist/chunks/{skill-zcqf6png.js → workspace-6ehbgqat.js} +6 -6
- package/dist/chunks/{skill-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
- package/dist/chunks/{skill-0yjsrvv1.js → workspace-6nh4s561.js} +20 -20
- package/dist/chunks/{skill-5nt9epk8.js → workspace-6qr29wt1.js} +29 -29
- package/dist/chunks/{skill-01snebf5.js → workspace-6x0h2hvg.js} +9 -9
- package/dist/chunks/{skill-hv0qy6mp.js → workspace-73gyw9md.js} +86 -86
- package/dist/chunks/{skill-gkz2nmdk.js → workspace-73zbfbv7.js} +10 -10
- package/dist/chunks/{skill-2ppm8z92.js → workspace-79d41h82.js} +25 -25
- package/dist/chunks/{skill-3xwzrf3b.js → workspace-7bav93g1.js} +15 -15
- package/dist/chunks/{skill-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{skill-xw95mvqy.js → workspace-7k4ya4mk.js} +16 -16
- package/dist/chunks/{skill-h0bsqr2d.js → workspace-83z9h53v.js} +24 -24
- package/dist/chunks/{skill-wcjyc11q.js → workspace-862ar548.js} +6 -6
- package/dist/chunks/{skill-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
- package/dist/chunks/{skill-b56acg1n.js → workspace-8hry8h31.js} +23 -23
- package/dist/chunks/{skill-17hcg36f.js → workspace-8zm3c697.js} +7 -7
- package/dist/chunks/{skill-kvxk94as.js → workspace-90ns493a.js} +30 -30
- package/dist/chunks/workspace-95agse3a.js +252 -0
- package/dist/chunks/{skill-nq344hgp.js → workspace-95x7y5k8.js} +11 -11
- package/dist/chunks/{skill-xvh5apvq.js → workspace-984e37tw.js} +17 -17
- package/dist/chunks/{skill-9kv5zmv8.js → workspace-9a29ceb3.js} +32 -32
- package/dist/chunks/{skill-f5xysf8q.js → workspace-9b31mr9v.js} +43 -43
- package/dist/chunks/{skill-xbe6bypq.js → workspace-9b86kaje.js} +5 -5
- package/dist/chunks/{skill-1wfab70b.js → workspace-9bzf6wdj.js} +8 -8
- package/dist/chunks/{skill-ksb7a39g.js → workspace-9skvqb4b.js} +14 -14
- package/dist/chunks/{skill-5ekftjpa.js → workspace-9vat1wnt.js} +11 -11
- package/dist/chunks/{skill-ryt2ydd6.js → workspace-a28msnrx.js} +4 -4
- package/dist/chunks/{skill-39gcggxw.js → workspace-a4tqrw51.js} +15 -15
- package/dist/chunks/{skill-s26hbv8p.js → workspace-a89e0tac.js} +4 -4
- package/dist/chunks/{skill-nm56gsv2.js → workspace-a8fp7ezv.js} +23 -23
- package/dist/chunks/{skill-ew2gb6aq.js → workspace-aa5zmkvc.js} +22 -22
- package/dist/chunks/{skill-aaet6srn.js → workspace-aaet6srn.js} +2 -2
- package/dist/chunks/{skill-6anwy9fs.js → workspace-ab9238g2.js} +6 -6
- package/dist/chunks/{skill-22jhghmt.js → workspace-aj2s28vj.js} +1 -1
- package/dist/chunks/{skill-69h1251q.js → workspace-akqk8sab.js} +5 -5
- package/dist/chunks/{skill-e2902ssh.js → workspace-awhgtamw.js} +20 -20
- package/dist/chunks/{skill-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
- package/dist/chunks/{skill-4jxxczjb.js → workspace-b7k25wxh.js} +30 -30
- package/dist/chunks/{skill-k5cqq88k.js → workspace-b9hkethe.js} +6 -6
- package/dist/chunks/{skill-jn0tk1mz.js → workspace-be7qvw84.js} +8 -8
- package/dist/chunks/{skill-84kt9vsc.js → workspace-bffz3vk9.js} +9 -9
- package/dist/chunks/{skill-z07pqspn.js → workspace-bjtzbw4r.js} +3 -3
- package/dist/chunks/{skill-r2hayn6q.js → workspace-bxdyab95.js} +15 -15
- package/dist/chunks/{skill-eke78wcn.js → workspace-c203jhqw.js} +11 -11
- package/dist/chunks/{skill-acr7r75c.js → workspace-c8gr6drp.js} +11 -11
- package/dist/chunks/{skill-c5c0bz0t.js → workspace-ce5fknq2.js} +5 -5
- package/dist/chunks/{skill-fe2ac55b.js → workspace-ceejba7k.js} +5 -5
- package/dist/chunks/{skill-cwa6csj7.js → workspace-cwa6csj7.js} +2 -2
- package/dist/chunks/{skill-gst7axd9.js → workspace-cxmh4q5b.js} +4 -4
- package/dist/chunks/{skill-24y2m8kc.js → workspace-cyc2wncq.js} +23 -23
- package/dist/chunks/{skill-x1f6mcey.js → workspace-cydxmqrz.js} +10 -10
- package/dist/chunks/{skill-vcj7ze88.js → workspace-czdw7bxj.js} +28 -28
- package/dist/chunks/{skill-wawnfvrj.js → workspace-d3m7nd9b.js} +13 -13
- package/dist/chunks/{skill-1tk41c3c.js → workspace-d5czjx5e.js} +17 -17
- package/dist/chunks/{skill-q8tdcmtc.js → workspace-dgzqva13.js} +36 -36
- package/dist/chunks/{skill-6ae6vdbn.js → workspace-dgzzq6er.js} +18 -18
- package/dist/chunks/{skill-t0fxg8b9.js → workspace-dj9sq318.js} +5 -5
- package/dist/chunks/{skill-y71avatq.js → workspace-dpkg50ah.js} +4 -4
- package/dist/chunks/{skill-drwq78ky.js → workspace-drwq78ky.js} +1 -1
- package/dist/chunks/{skill-dhf01b5r.js → workspace-dt2m10bg.js} +30 -30
- package/dist/chunks/{skill-y18e6gev.js → workspace-dtmpjap9.js} +10 -10
- package/dist/chunks/{skill-4y6x6qg6.js → workspace-dwpz52md.js} +24 -24
- package/dist/chunks/{skill-xy6b16vx.js → workspace-e1hy5pz5.js} +2 -2
- package/dist/chunks/{skill-zfq83p86.js → workspace-e1vtdn37.js} +43 -43
- package/dist/chunks/{skill-zqz91wsf.js → workspace-e6zxwbax.js} +27 -27
- package/dist/chunks/{skill-1t26q381.js → workspace-e8wk7e8v.js} +9 -9
- package/dist/chunks/{skill-qd8bqnjp.js → workspace-e90gknse.js} +51 -51
- package/dist/chunks/{skill-s8d7rejh.js → workspace-eaj1djv9.js} +6 -6
- package/dist/chunks/{skill-ecfe7b91.js → workspace-ecfe7b91.js} +2 -2
- package/dist/chunks/{skill-j1r0ka2e.js → workspace-eefz1cnf.js} +20 -20
- package/dist/chunks/{skill-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
- package/dist/chunks/{skill-73tb2d7t.js → workspace-eq1pz5kg.js} +3 -3
- package/dist/chunks/{skill-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
- package/dist/chunks/{skill-r0765b4t.js → workspace-ey9veasj.js} +18 -18
- package/dist/chunks/{skill-2x5js52h.js → workspace-eyfs9fn9.js} +5 -5
- package/dist/chunks/{skill-5v4xa2m0.js → workspace-f4fb4ahx.js} +20 -20
- package/dist/chunks/{skill-je40c4e6.js → workspace-fgn7sf7e.js} +5 -5
- package/dist/chunks/{skill-x9c38wyg.js → workspace-fk76ksd4.js} +4 -4
- package/dist/chunks/{skill-37rvd3xw.js → workspace-fm2mk21r.js} +17 -17
- package/dist/chunks/{skill-82rhge12.js → workspace-fwwk8vbp.js} +2 -2
- package/dist/chunks/{skill-xrg1vf6w.js → workspace-fyac72vw.js} +13 -13
- package/dist/chunks/{skill-dh06npjf.js → workspace-fztsg0yk.js} +1 -1
- package/dist/chunks/{skill-41n2mfp4.js → workspace-g390ytxs.js} +5 -5
- package/dist/chunks/{skill-g5agzp2h.js → workspace-g5agzp2h.js} +2 -2
- package/dist/chunks/{skill-vnrd2pbf.js → workspace-g88fbw77.js} +5 -5
- package/dist/chunks/{skill-rktsyv27.js → workspace-g9r2hcbj.js} +34 -34
- package/dist/chunks/{skill-7jpg9h8k.js → workspace-g9wvc4df.js} +7 -7
- package/dist/chunks/{skill-k06xh4tx.js → workspace-gcch2vjz.js} +28 -28
- package/dist/chunks/{skill-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{skill-94ek1h2f.js → workspace-gfvb90ym.js} +2 -2
- package/dist/chunks/{skill-ae7xvq94.js → workspace-gjdct0ng.js} +31 -31
- package/dist/chunks/{skill-tb58a56a.js → workspace-gp14635f.js} +13 -13
- package/dist/chunks/{skill-gv6a8nnw.js → workspace-gv6a8nnw.js} +2 -2
- package/dist/chunks/{skill-358qdn69.js → workspace-h1jz91a9.js} +12 -12
- package/dist/chunks/{skill-3pbjq009.js → workspace-h2r7bbkd.js} +8 -8
- package/dist/chunks/{skill-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{skill-c0g7pnz1.js → workspace-h8d9xkaq.js} +15 -15
- package/dist/chunks/{skill-ay6x5qvq.js → workspace-h8qnj1c8.js} +19 -19
- package/dist/chunks/{skill-3xm9kejs.js → workspace-hbexs1ta.js} +9 -9
- package/dist/chunks/{skill-29yd18qt.js → workspace-heh9s3tj.js} +11 -11
- package/dist/chunks/{skill-2tsm52y3.js → workspace-hekxc47r.js} +1 -1
- package/dist/chunks/{skill-63890ep3.js → workspace-hfwvq92w.js} +37 -37
- package/dist/chunks/{skill-c4y0dw4v.js → workspace-hh5kkd24.js} +12 -12
- package/dist/chunks/{skill-3ntmf9xr.js → workspace-hk03ff6z.js} +11 -11
- package/dist/chunks/{skill-t16rew40.js → workspace-hkagk5ex.js} +2 -2
- package/dist/chunks/{skill-gnt09e10.js → workspace-hkwj0bg6.js} +20 -20
- package/dist/chunks/{skill-bh8h4erd.js → workspace-htrze483.js} +10 -10
- package/dist/chunks/{skill-4f78rvnv.js → workspace-hyjxey4b.js} +4 -4
- package/dist/chunks/{skill-j56e64zr.js → workspace-j56e64zr.js} +1 -1
- package/dist/chunks/{skill-7b217tc9.js → workspace-j6wgtyv7.js} +27 -27
- package/dist/chunks/{skill-n9bzg1w7.js → workspace-jabm8zzh.js} +35 -35
- package/dist/chunks/{skill-5xhambgh.js → workspace-jf7tajsg.js} +11 -11
- package/dist/chunks/{skill-xre8zksc.js → workspace-jmp6pjcj.js} +5 -5
- package/dist/chunks/{skill-f3ngv102.js → workspace-jw80jp6b.js} +4 -4
- package/dist/chunks/{skill-jfga7b6d.js → workspace-k0y9f3c4.js} +24 -24
- package/dist/chunks/{skill-ncjresk4.js → workspace-k1qrnqst.js} +8 -8
- package/dist/chunks/{skill-k3c624dm.js → workspace-k3c624dm.js} +3 -3
- package/dist/chunks/{skill-qqbwnzxa.js → workspace-k3x2sf3r.js} +10 -10
- package/dist/chunks/{skill-mnzpn3j7.js → workspace-k5e7yqx1.js} +55 -55
- package/dist/chunks/{skill-9myccn1k.js → workspace-k7cxv1jz.js} +19 -19
- package/dist/chunks/{skill-k8dasee7.js → workspace-k8dasee7.js} +2 -2
- package/dist/chunks/{skill-kt88g7f7.js → workspace-kr1avhb0.js} +5 -5
- package/dist/chunks/{skill-nb9s5zz7.js → workspace-ktef7j4m.js} +9 -9
- package/dist/chunks/{skill-ppnbyhnm.js → workspace-m1jktbz8.js} +6 -6
- package/dist/chunks/{skill-m3fdjcah.js → workspace-m3fdjcah.js} +1 -1
- package/dist/chunks/{skill-31w1qp3s.js → workspace-m43etvqh.js} +20 -20
- package/dist/chunks/{skill-s3qt3bff.js → workspace-m8dj6xzb.js} +17 -17
- package/dist/chunks/{skill-xk3p1ns3.js → workspace-m8erdd9w.js} +31 -31
- package/dist/chunks/{skill-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{skill-b79dj70a.js → workspace-maye8mhe.js} +24 -24
- package/dist/chunks/{skill-hehaxqkv.js → workspace-mhgx8wws.js} +4 -4
- package/dist/chunks/{skill-2td3t4dt.js → workspace-mrbnkvws.js} +20 -20
- package/dist/chunks/{skill-6hh8tjw2.js → workspace-mtq6xxnx.js} +7 -7
- package/dist/chunks/{skill-pw9cs8ty.js → workspace-n3j4cxq5.js} +17 -17
- package/dist/chunks/{skill-qzqd9bbs.js → workspace-n6p6yg9c.js} +8 -8
- package/dist/chunks/{skill-ymhhb4xg.js → workspace-n7khmxjc.js} +10 -10
- package/dist/chunks/{skill-5j0nb8qw.js → workspace-n92e0945.js} +17 -17
- package/dist/chunks/{skill-kvq9gs2a.js → workspace-naqwnkkp.js} +19 -19
- package/dist/chunks/{skill-3ssf1kws.js → workspace-ndmv45hp.js} +3 -3
- package/dist/chunks/{skill-m2gt79bm.js → workspace-nf6159fp.js} +22 -22
- package/dist/chunks/{skill-fbspgn15.js → workspace-npnt4k9w.js} +27 -27
- package/dist/chunks/{skill-9r2nfyx7.js → workspace-nt39rg59.js} +12 -12
- package/dist/chunks/{skill-wddca7rf.js → workspace-nx02as4e.js} +9 -9
- package/dist/chunks/{skill-nzyhnfxz.js → workspace-nzyhnfxz.js} +1 -1
- package/dist/chunks/{skill-0729q2vn.js → workspace-p0wnzdte.js} +26 -26
- package/dist/chunks/{skill-rywzfdxh.js → workspace-p6wxjpka.js} +4 -4
- package/dist/chunks/{skill-3hcb6rdt.js → workspace-p89640sn.js} +24 -24
- package/dist/chunks/{skill-fysvmm5d.js → workspace-p8q21zge.js} +17 -17
- package/dist/chunks/{skill-nn73yg3e.js → workspace-p8wv2ncz.js} +15 -15
- package/dist/chunks/{skill-nxhqveyz.js → workspace-pecb0brz.js} +5 -5
- package/dist/chunks/{skill-166kng33.js → workspace-pedttwxr.js} +8 -8
- package/dist/chunks/{skill-75a1258m.js → workspace-pg7gpga9.js} +8 -8
- package/dist/chunks/{skill-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{skill-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{skill-nscznvay.js → workspace-pnv527nz.js} +9 -9
- package/dist/chunks/{skill-f03reshw.js → workspace-ppc50qyr.js} +16 -16
- package/dist/chunks/{skill-wd3x2cqz.js → workspace-psazpmmj.js} +2 -2
- package/dist/chunks/{skill-ynkewxt4.js → workspace-pyctfm1s.js} +16 -16
- package/dist/chunks/{skill-5xpznt2d.js → workspace-q7azfttr.js} +4 -4
- package/dist/chunks/{skill-br47g7yq.js → workspace-qae9ahxg.js} +9 -9
- package/dist/chunks/{skill-42rnjcxf.js → workspace-qd546yrf.js} +25 -25
- package/dist/chunks/{skill-7dqw4kz8.js → workspace-qgn6gcr1.js} +5 -5
- package/dist/chunks/{skill-yjptyezs.js → workspace-qn4ba14w.js} +5 -5
- package/dist/chunks/{skill-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{skill-1xjx0jcc.js → workspace-qw5c8m98.js} +8 -8
- package/dist/chunks/{skill-speq931g.js → workspace-qzc07359.js} +24 -24
- package/dist/chunks/{skill-k9rg1vcq.js → workspace-r29hx2n2.js} +17 -17
- package/dist/chunks/{skill-zfayrh6s.js → workspace-r3gmntzt.js} +9 -9
- package/dist/chunks/{skill-vb37bbhn.js → workspace-r3rh6mw3.js} +25 -25
- package/dist/chunks/{skill-62q6nj2w.js → workspace-rb06gkc1.js} +3 -3
- package/dist/chunks/{skill-pjj8fg0r.js → workspace-rcqvxznz.js} +9 -9
- package/dist/chunks/{skill-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
- package/dist/chunks/{skill-12mt9w14.js → workspace-rgdhtqj5.js} +32 -32
- package/dist/chunks/{skill-gxs9g1kt.js → workspace-rgnqfr3v.js} +26 -26
- package/dist/chunks/{skill-bzdcx9ae.js → workspace-rhdmxfkx.js} +10 -10
- package/dist/chunks/{skill-rkprpv83.js → workspace-rkprpv83.js} +2 -2
- package/dist/chunks/{skill-rfphxygr.js → workspace-rt447pd7.js} +5 -5
- package/dist/chunks/{skill-j41a475f.js → workspace-s5h1yxee.js} +11 -11
- package/dist/chunks/{skill-jwcbjk8m.js → workspace-sp54tfke.js} +20 -20
- package/dist/chunks/{skill-kaeqdmt3.js → workspace-spmh1vek.js} +45 -45
- package/dist/chunks/{skill-gdb981cj.js → workspace-sw70eac5.js} +22 -22
- package/dist/chunks/{skill-wyqfhbgc.js → workspace-sx7yxhmc.js} +24 -24
- package/dist/chunks/{skill-z4b8nh6b.js → workspace-synqbpwm.js} +23 -23
- package/dist/chunks/{skill-0f3gj77r.js → workspace-t0pyh7pd.js} +3 -3
- package/dist/chunks/{skill-hk0w59rs.js → workspace-t6v48v8f.js} +89 -89
- package/dist/chunks/{skill-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{skill-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
- package/dist/chunks/{skill-tdstcens.js → workspace-tdstcens.js} +1 -1
- package/dist/chunks/{skill-famy2f9q.js → workspace-tf88t1eh.js} +38 -38
- package/dist/chunks/{skill-stpd6zpk.js → workspace-tsve2r88.js} +4 -4
- package/dist/chunks/{skill-tvtrv512.js → workspace-tvtrv512.js} +1 -1
- package/dist/chunks/workspace-v1faaxn9.js +18 -0
- package/dist/chunks/{skill-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{skill-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
- package/dist/chunks/{skill-vzs5sf6e.js → workspace-vzs5sf6e.js} +1 -1
- package/dist/chunks/{skill-84txncab.js → workspace-w1eejvng.js} +5 -5
- package/dist/chunks/{skill-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{skill-cmn3mj5r.js → workspace-w84g4023.js} +6 -6
- package/dist/chunks/{skill-5kmhhys3.js → workspace-waefp8y5.js} +3 -3
- package/dist/chunks/{skill-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{skill-a5654xsm.js → workspace-wx59m8c7.js} +5 -5
- package/dist/chunks/{skill-e1fx3kkg.js → workspace-wxyy423z.js} +18 -18
- package/dist/chunks/{skill-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
- package/dist/chunks/{skill-13n9hswx.js → workspace-x9ctzyqd.js} +5 -5
- package/dist/chunks/{skill-0pvgc5fc.js → workspace-xab4b6ma.js} +18 -18
- package/dist/chunks/{skill-xkntkrq7.js → workspace-xkntkrq7.js} +2 -2
- package/dist/chunks/{skill-e87a8knz.js → workspace-xqagnatd.js} +13 -13
- package/dist/chunks/{skill-vecs23p9.js → workspace-xttd1tj2.js} +17 -17
- package/dist/chunks/{skill-3kannwv6.js → workspace-y10fxw0n.js} +179 -179
- package/dist/chunks/{skill-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/{skill-vv97ra8n.js → workspace-y2nra5ch.js} +11 -11
- package/dist/chunks/{skill-8v90e2yj.js → workspace-y6mjvh6p.js} +6 -6
- package/dist/chunks/{skill-61yxenrv.js → workspace-yb4mq2bj.js} +43 -43
- package/dist/chunks/{skill-d90ttvv0.js → workspace-ybsgjnb0.js} +35 -35
- package/dist/chunks/{skill-s88d2qhj.js → workspace-ygpxda6d.js} +17 -17
- package/dist/chunks/{skill-c7jmze4g.js → workspace-ykpgxs72.js} +42 -42
- package/dist/chunks/{skill-yp2x3t23.js → workspace-yp2x3t23.js} +1 -1
- package/dist/chunks/{skill-pxrjaj7s.js → workspace-ypzhfwa9.js} +12 -12
- package/dist/chunks/{skill-gwtsjvj9.js → workspace-yqzfvmg9.js} +313 -313
- package/dist/chunks/{skill-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
- package/dist/chunks/{skill-yrznvahk.js → workspace-yrznvahk.js} +2 -2
- package/dist/chunks/{skill-6pesj18r.js → workspace-ysd7sdvb.js} +9 -9
- package/dist/chunks/{skill-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{skill-z63w68vq.js → workspace-z63w68vq.js} +2 -2
- package/dist/chunks/{skill-aq6xkhjv.js → workspace-zbn85w19.js} +56 -56
- package/dist/chunks/{skill-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
- package/dist/chunks/{skill-da5vet0q.js → workspace-zgrbnmf2.js} +11 -11
- package/dist/chunks/{skill-ak13h7x1.js → workspace-zjyqk7jh.js} +21 -21
- package/dist/chunks/{skill-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
- package/dist/chunks/{skill-616ym9rn.js → workspace-zxgcz1z1.js} +15 -15
- package/dist/chunks/{skill-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/chunks/{skill-hpvsmwsq.js → workspace-zy2n98kk.js} +47 -47
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +120 -120
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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 +2 -2
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- 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 +99 -99
- 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 +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +3 -3
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- 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 +125 -125
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +92 -92
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +87 -87
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/skill-9zdhvgqs.js +0 -18
- package/dist/chunks/skill-vekpjwn7.js +0 -252
- /package/dist/chunks/{skill-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{skill-24dcb14g.js → workspace-24dcb14g.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-34c7v6d4.js → workspace-34c7v6d4.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
- /package/dist/chunks/{skill-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{skill-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{skill-5qd3pb7m.js → workspace-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-8wj87zfr.js → workspace-8wj87zfr.js} +0 -0
- /package/dist/chunks/{skill-922hggd3.js → workspace-922hggd3.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{skill-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{skill-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{skill-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{skill-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{skill-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{skill-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{skill-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{skill-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{skill-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
- /package/dist/chunks/{skill-y8f7s663.js → workspace-y8f7s663.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin24
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin24 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin26 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin24, exports_mcp_codemode_defaults };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-waefp8y5.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-bjtzbw4r.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load5
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-n6p6yg9c.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-hkagk5ex.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
|
-
ListInput: () =>
|
|
24
|
-
Service: () =>
|
|
23
|
+
ListInput: () => ListInput5,
|
|
24
|
+
Service: () => Service73,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node75
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
|
|
|
50
50
|
subpath: RelativePath.pipe(Schema.optional)
|
|
51
51
|
});
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
|
-
var
|
|
53
|
+
var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service73 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service83;
|
|
59
|
-
return
|
|
59
|
+
return Service73.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node75 = makeGlobalNode({ service: Service73, layer, deps: [node87] });
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { ListInput5, Service73, node75, exports_store };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./workspace-5d3kt81x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service71
|
|
6
|
+
} from "./workspace-16srrwpp.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -53,8 +53,8 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service69;
|
|
57
|
+
const permission = yield* Service71;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service74
|
|
9
|
+
} from "./workspace-n3j4cxq5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service53
|
|
12
|
+
} from "./workspace-dwpz52md.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service40
|
|
16
|
+
} from "./workspace-9skvqb4b.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-1efy3mt3.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service71
|
|
26
|
+
} from "./workspace-16srrwpp.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service70
|
|
29
|
+
} from "./workspace-wxyy423z.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./workspace-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
38
|
+
Input: () => Input10,
|
|
39
|
+
Output: () => Output7,
|
|
40
|
+
Plugin: () => Plugin13,
|
|
41
|
+
name: () => name10,
|
|
42
42
|
toModelContent: () => toModelContent5
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name10 = "grep";
|
|
48
|
+
var Input10 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,7 +65,7 @@ var Input6 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
68
|
+
var Output7 = Schema.Array(Match2);
|
|
69
69
|
var toModelContent5 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin13 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service53;
|
|
90
|
+
const ripgrep = yield* Service40;
|
|
91
|
+
const location = yield* Service74;
|
|
92
|
+
const access = yield* Service70;
|
|
93
|
+
const permission = yield* Service71;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name10,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input10,
|
|
99
|
+
output: Output7,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name10,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -154,4 +154,4 @@ var Plugin7 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name10, Input10, Output7, toModelContent5, Plugin13, exports_grep };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-2tngcs8y.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-34c7v6d4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service63,
|
|
4
|
+
node65
|
|
5
|
+
} from "./workspace-gjdct0ng.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID8,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -12,23 +12,23 @@ import {
|
|
|
12
12
|
modelSettings2,
|
|
13
13
|
mergeOverlay2,
|
|
14
14
|
mergeHeaders2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service62,
|
|
16
|
+
node64
|
|
17
|
+
} from "./workspace-j6wgtyv7.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service57,
|
|
20
|
+
node59
|
|
21
|
+
} from "./workspace-zgrbnmf2.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID7,
|
|
24
24
|
VariantID2,
|
|
25
25
|
Ref2,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service61,
|
|
27
|
+
node63
|
|
28
|
+
} from "./workspace-6qr29wt1.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./workspace-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/model-resolver.ts
|
|
34
34
|
var exports_model_resolver = {};
|
|
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
|
|
|
37
37
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
38
38
|
ModelInitializationError: () => ModelInitializationError2,
|
|
39
39
|
ModelResolver: () => exports_model_resolver,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service56,
|
|
41
41
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
42
42
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
43
43
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
44
44
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
45
45
|
fromCatalogModel: () => fromCatalogModel2,
|
|
46
46
|
hasPackage: () => hasPackage2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer20,
|
|
48
|
+
node: () => node58,
|
|
49
49
|
resolveModel: () => resolveModel2,
|
|
50
50
|
withVariant: () => withVariant2
|
|
51
51
|
});
|
|
@@ -55,8 +55,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
55
55
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
56
56
|
import { Npm } from "@opencode/util/npm";
|
|
57
57
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
58
|
-
providerID:
|
|
59
|
-
modelID:
|
|
58
|
+
providerID: ID8,
|
|
59
|
+
modelID: ID7,
|
|
60
60
|
variant: VariantID2
|
|
61
61
|
}) {
|
|
62
62
|
get message() {
|
|
@@ -65,8 +65,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
68
|
-
providerID:
|
|
69
|
-
modelID:
|
|
68
|
+
providerID: ID8,
|
|
69
|
+
modelID: ID7,
|
|
70
70
|
package: Schema.String
|
|
71
71
|
}) {
|
|
72
72
|
get message() {
|
|
@@ -76,8 +76,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
76
76
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
77
77
|
|
|
78
78
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
79
|
-
providerID:
|
|
80
|
-
modelID:
|
|
79
|
+
providerID: ID8,
|
|
80
|
+
modelID: ID7,
|
|
81
81
|
package: Schema.String,
|
|
82
82
|
detail: Schema.String
|
|
83
83
|
}) {
|
|
@@ -87,8 +87,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
90
|
-
providerID:
|
|
91
|
-
modelID:
|
|
90
|
+
providerID: ID8,
|
|
91
|
+
modelID: ID7,
|
|
92
92
|
package: Schema.String,
|
|
93
93
|
phase: InitializationPhase2,
|
|
94
94
|
detail: Schema.String
|
|
@@ -99,8 +99,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
102
|
-
providerID:
|
|
103
|
-
modelID:
|
|
102
|
+
providerID: ID8,
|
|
103
|
+
modelID: ID7,
|
|
104
104
|
variables: Schema.Array(Schema.String)
|
|
105
105
|
}) {
|
|
106
106
|
get message() {
|
|
@@ -109,8 +109,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
112
|
-
providerID:
|
|
113
|
-
modelID:
|
|
112
|
+
providerID: ID8,
|
|
113
|
+
modelID: ID7,
|
|
114
114
|
route: Schema.String
|
|
115
115
|
}) {
|
|
116
116
|
get message() {
|
|
@@ -118,7 +118,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class Service56 extends Context.Service()("@opencode/ModelResolver") {
|
|
122
122
|
}
|
|
123
123
|
var withVariant2 = (model, variantID) => {
|
|
124
124
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
|
|
|
258
258
|
};
|
|
259
259
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
260
260
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
261
|
-
var
|
|
262
|
-
const providers = yield*
|
|
263
|
-
const models = yield*
|
|
264
|
-
const integrations = yield*
|
|
261
|
+
var layer20 = Layer.effect(Service56, Effect.gen(function* () {
|
|
262
|
+
const providers = yield* Service62;
|
|
263
|
+
const models = yield* Service61;
|
|
264
|
+
const integrations = yield* Service63;
|
|
265
265
|
const npm = yield* Npm.Service;
|
|
266
|
-
const aisdk = yield*
|
|
266
|
+
const aisdk = yield* Service57;
|
|
267
267
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
268
268
|
const provider = yield* providers.get(selected.providerID);
|
|
269
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
269
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID9.make(selected.providerID));
|
|
270
270
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
271
271
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
272
272
|
const runtimeInfo = {
|
|
@@ -293,7 +293,7 @@ var layer22 = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
293
293
|
chunkTimeout: provider?.settings?.chunkTimeout
|
|
294
294
|
};
|
|
295
295
|
});
|
|
296
|
-
return
|
|
296
|
+
return Service56.of({
|
|
297
297
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
298
298
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
299
299
|
if (!selected)
|
|
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
310
310
|
const name = packageName2(packageName);
|
|
311
311
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
312
312
|
}
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
315
|
-
layer:
|
|
316
|
-
deps: [
|
|
313
|
+
var node58 = makeLocationNode({
|
|
314
|
+
service: Service56,
|
|
315
|
+
layer: layer20,
|
|
316
|
+
deps: [node64, node63, node65, Npm.node, node59]
|
|
317
317
|
});
|
|
318
318
|
|
|
319
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
319
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service56, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node58, exports_model_resolver };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./workspace-j6wgtyv7.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID8.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID8.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-psazpmmj.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-fk76ksd4.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event17,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID11,
|
|
20
|
+
Info: () => Info26,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError8,
|
|
24
|
+
Reply: () => Reply2,
|
|
25
|
+
Service: () => Service69,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer23,
|
|
29
|
+
node: () => node71,
|
|
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 Event17 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID11 = Form.ID;
|
|
39
|
+
var Info26 = 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 Reply2 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID11
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID11
|
|
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: ID11
|
|
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: ID11,
|
|
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 Service69 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer23 = Layer.effect(Service69, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service82;
|
|
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 NotFoundError8({ 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 ?? ID11.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 layer25 = Layer.effect(Service77, 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 Service69.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node71 = makeLocationNode({ service: Service69, layer: layer23, deps: [node86] });
|
|
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 { ID11, Info26, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service69, layer23, node71, validateAnswer2, validateFields2, exports_form, Event17 };
|