@opencode/core 0.0.0-dev-20948 → 0.0.0-dev-20950
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +77 -77
- package/dist/chunks/{git-ga2wxmhq.js → model-resolver-017v6ka8.js} +15 -15
- package/dist/chunks/{git-rjdbxett.js → model-resolver-01s1begh.js} +17 -17
- package/dist/chunks/{git-t7n9q6bq.js → model-resolver-06x8he3q.js} +4 -4
- package/dist/chunks/{git-frkqgfsy.js → model-resolver-076tdj8j.js} +11 -11
- package/dist/chunks/{git-600a0prn.js → model-resolver-09rrpfny.js} +28 -28
- package/dist/chunks/{git-r9w3djhf.js → model-resolver-0jq9fyba.js} +9 -9
- package/dist/chunks/{git-fww2ha2b.js → model-resolver-0p78r4x4.js} +10 -10
- package/dist/chunks/{git-h12cqrs8.js → model-resolver-0rf3mqqe.js} +18 -18
- package/dist/chunks/{git-kar1yzx3.js → model-resolver-0satj92y.js} +11 -11
- package/dist/chunks/{git-0vbcp93d.js → model-resolver-0vbcp93d.js} +2 -2
- package/dist/chunks/{git-y19c8s10.js → model-resolver-125fewv7.js} +11 -11
- package/dist/chunks/{git-45a6yaqd.js → model-resolver-12tpmng7.js} +71 -71
- package/dist/chunks/{git-4pznzvvb.js → model-resolver-1fsm553b.js} +16 -16
- package/dist/chunks/{git-tgyfqjhv.js → model-resolver-1kswe1g3.js} +51 -51
- package/dist/chunks/{git-9jsjce8g.js → model-resolver-1sr5z03x.js} +40 -40
- package/dist/chunks/{git-yy2qn57n.js → model-resolver-1wp3hb2k.js} +9 -9
- package/dist/chunks/{git-gy3ewsg1.js → model-resolver-1z02ee6a.js} +28 -28
- package/dist/chunks/{git-j840x00t.js → model-resolver-21jrmc9g.js} +14 -14
- package/dist/chunks/{git-v2qjv84n.js → model-resolver-26tsy11a.js} +15 -15
- package/dist/chunks/{git-jbbhbnm9.js → model-resolver-276bngqz.js} +14 -14
- package/dist/chunks/{git-f5gqx7z5.js → model-resolver-2erc5g3s.js} +4 -4
- package/dist/chunks/{git-8rz8ve1a.js → model-resolver-2qnat7dc.js} +16 -16
- package/dist/chunks/{git-5mvg709s.js → model-resolver-2r93mh4x.js} +12 -12
- package/dist/chunks/{git-c9wbyant.js → model-resolver-2ryng5r3.js} +4 -4
- package/dist/chunks/{git-cp9q7vf4.js → model-resolver-2y74b1pt.js} +36 -36
- package/dist/chunks/{git-bbafnyd0.js → model-resolver-2zd7cxc8.js} +11 -11
- package/dist/chunks/{git-aaz2ppa0.js → model-resolver-31knp78d.js} +18 -18
- package/dist/chunks/{git-5a633k63.js → model-resolver-31v9pj2m.js} +11 -11
- package/dist/chunks/{git-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-hafwy6wt.js → model-resolver-3g3fherm.js} +30 -30
- package/dist/chunks/{git-7epp4vs3.js → model-resolver-3ggd8s46.js} +5 -5
- package/dist/chunks/{git-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-3hwn7j4h.js → model-resolver-3hwn7j4h.js} +2 -2
- package/dist/chunks/{git-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-efybvz04.js → model-resolver-3vswmpk1.js} +33 -33
- package/dist/chunks/{git-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
- package/dist/chunks/{git-rc1szs54.js → model-resolver-4az1a8cs.js} +6 -6
- package/dist/chunks/{git-6tzebk0j.js → model-resolver-4djhckew.js} +26 -26
- package/dist/chunks/{git-pqmybdq4.js → model-resolver-4j05sq0m.js} +28 -28
- package/dist/chunks/{git-r94pvvab.js → model-resolver-54ma36ye.js} +4 -4
- package/dist/chunks/{git-qytsfeh6.js → model-resolver-5926cwpj.js} +8 -8
- package/dist/chunks/{git-8h8303va.js → model-resolver-5fqe9rrs.js} +10 -10
- package/dist/chunks/{git-0hvtwp3s.js → model-resolver-5jc797f7.js} +21 -21
- package/dist/chunks/{git-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
- package/dist/chunks/{git-e1yb93hp.js → model-resolver-5nns0kdt.js} +22 -22
- package/dist/chunks/{git-m87300ey.js → model-resolver-5x1d34z2.js} +3 -3
- package/dist/chunks/{git-7yjsdw3n.js → model-resolver-5x4mgjyy.js} +27 -27
- package/dist/chunks/{git-9qnraezg.js → model-resolver-5y2nakwc.js} +22 -22
- package/dist/chunks/{git-dvdnw3cp.js → model-resolver-69nevm9g.js} +92 -92
- package/dist/chunks/{git-w53aabxs.js → model-resolver-6r5rwgtp.js} +13 -13
- package/dist/chunks/{git-6xb47vfp.js → model-resolver-6xb47vfp.js} +1 -1
- package/dist/chunks/{git-mz5a208t.js → model-resolver-7014qyn6.js} +6 -6
- package/dist/chunks/{git-ydxn63dc.js → model-resolver-72qbjese.js} +14 -14
- package/dist/chunks/{git-thz8mtkz.js → model-resolver-73bangna.js} +15 -15
- package/dist/chunks/{git-775gj3j1.js → model-resolver-775gj3j1.js} +2 -2
- package/dist/chunks/{git-78er6hm2.js → model-resolver-7968cave.js} +33 -33
- package/dist/chunks/{git-gmmxkbmv.js → model-resolver-7a3t7few.js} +28 -28
- package/dist/chunks/{git-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-dxvcp820.js → model-resolver-7e1nrk9x.js} +19 -19
- package/dist/chunks/{git-j6ne1s41.js → model-resolver-7e6b2cwb.js} +35 -35
- package/dist/chunks/{git-raz7r69d.js → model-resolver-7h0gvqqa.js} +10 -10
- package/dist/chunks/{git-p42rbx7w.js → model-resolver-7haz9w5k.js} +5 -5
- package/dist/chunks/{git-zcxtw1zj.js → model-resolver-7j0h8tbw.js} +23 -23
- package/dist/chunks/{git-btn9ak2p.js → model-resolver-7kpkhag7.js} +58 -58
- package/dist/chunks/{git-3ck1y37x.js → model-resolver-7xfrtcks.js} +11 -11
- package/dist/chunks/{git-bacyadyn.js → model-resolver-80scg3y3.js} +4 -4
- package/dist/chunks/{git-6525tgc4.js → model-resolver-81rxcsqc.js} +17 -17
- package/dist/chunks/{git-w1eejvng.js → model-resolver-84txncab.js} +5 -5
- package/dist/chunks/{git-kpe031v2.js → model-resolver-89j1w47y.js} +27 -27
- package/dist/chunks/{git-gnnz5nnv.js → model-resolver-8c3hmt3w.js} +22 -22
- package/dist/chunks/{git-3fv9tas6.js → model-resolver-8e2jakfn.js} +11 -11
- package/dist/chunks/{git-q6avzzpv.js → model-resolver-8hje7a9v.js} +24 -24
- package/dist/chunks/{git-8m6m0r52.js → model-resolver-8m6m0r52.js} +1 -1
- package/dist/chunks/{git-8sze2n9a.js → model-resolver-8sze2n9a.js} +2 -2
- package/dist/chunks/{git-j09zfasm.js → model-resolver-91qna3x0.js} +3 -3
- package/dist/chunks/{git-waskdk5r.js → model-resolver-97aeaand.js} +4 -4
- package/dist/chunks/{git-es6qv9qs.js → model-resolver-97bpphjt.js} +13 -13
- package/dist/chunks/{git-2nykj5zt.js → model-resolver-9hcy9v3f.js} +5 -5
- package/dist/chunks/{git-tz8jdh8q.js → model-resolver-9hfpa9m9.js} +28 -28
- package/dist/chunks/{git-9hwaqfsw.js → model-resolver-9hwaqfsw.js} +2 -2
- package/dist/chunks/{git-c07qxs3a.js → model-resolver-9mtvkt7f.js} +22 -22
- package/dist/chunks/{git-3hhbryxg.js → model-resolver-9y5jvg7a.js} +37 -37
- package/dist/chunks/{git-rqa1jxse.js → model-resolver-9y9sk2j9.js} +2 -2
- package/dist/chunks/model-resolver-9zdhvgqs.js +18 -0
- package/dist/chunks/{git-01eenfpa.js → model-resolver-a634dvb9.js} +15 -15
- package/dist/chunks/{git-zw2hpfmh.js → model-resolver-addxnjmp.js} +4 -4
- package/dist/chunks/{git-qjx1ax0j.js → model-resolver-aj3rbcf1.js} +5 -5
- package/dist/chunks/{git-b5mayez8.js → model-resolver-apj3cz87.js} +14 -14
- package/dist/chunks/{git-48kw51zw.js → model-resolver-axe3mf62.js} +3 -3
- package/dist/chunks/{git-xn3jjke7.js → model-resolver-b0dxm10x.js} +38 -38
- package/dist/chunks/{git-5p3dx02w.js → model-resolver-b134vsz7.js} +7 -7
- package/dist/chunks/{git-7dbmnfn4.js → model-resolver-be7qvw84.js} +8 -8
- package/dist/chunks/{git-y3b7wprm.js → model-resolver-bhhmns0g.js} +49 -49
- package/dist/chunks/{git-vq1kmzy0.js → model-resolver-bsagyafn.js} +11 -11
- package/dist/chunks/{git-azc6s5tn.js → model-resolver-bwd9ews5.js} +13 -13
- package/dist/chunks/{git-rj3eygr5.js → model-resolver-c41wscbt.js} +2 -2
- package/dist/chunks/{git-sa8ekw3f.js → model-resolver-c8ax2afj.js} +2 -2
- package/dist/chunks/{git-bzbkpqhk.js → model-resolver-ch7mpmes.js} +11 -11
- package/dist/chunks/{git-espax8zg.js → model-resolver-cp937pt4.js} +4 -4
- package/dist/chunks/{git-142mvydr.js → model-resolver-cvkyw9pt.js} +18 -18
- package/dist/chunks/{git-4j4tgtq5.js → model-resolver-d2czbp48.js} +4 -4
- package/dist/chunks/{git-eecv355n.js → model-resolver-d8d1mz9r.js} +25 -25
- package/dist/chunks/{git-pfq1ksym.js → model-resolver-d9wzmzc3.js} +5 -5
- package/dist/chunks/{git-9kza9pnb.js → model-resolver-der77a5r.js} +43 -43
- package/dist/chunks/{git-84k1wv33.js → model-resolver-dmq48mpy.js} +37 -37
- package/dist/chunks/{git-dqxsqydv.js → model-resolver-dqxsqydv.js} +1 -1
- package/dist/chunks/{git-1pxz8ven.js → model-resolver-dssbfrwz.js} +5 -5
- package/dist/chunks/{git-rke3dw8p.js → model-resolver-dx3sr3as.js} +47 -47
- package/dist/chunks/{git-4nyw54n1.js → model-resolver-dy66nzqs.js} +5 -5
- package/dist/chunks/model-resolver-e34gd66c.js +26 -0
- package/dist/chunks/{git-pv0qkrbb.js → model-resolver-e5xwx9q2.js} +1 -1
- package/dist/chunks/{git-e80seqcp.js → model-resolver-e80seqcp.js} +1 -1
- package/dist/chunks/{git-bbmabm9f.js → model-resolver-e9azs9n6.js} +9 -9
- package/dist/chunks/{git-eej6y6fw.js → model-resolver-eej6y6fw.js} +2 -2
- package/dist/chunks/{git-z7b3fry8.js → model-resolver-ef5bn39a.js} +36 -36
- package/dist/chunks/{git-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{git-ytjkwh0b.js → model-resolver-egwn3b3z.js} +2 -2
- package/dist/chunks/{git-3dyta72r.js → model-resolver-erdcs917.js} +12 -12
- package/dist/chunks/{git-c1fqxshp.js → model-resolver-es1vcfrp.js} +3 -3
- package/dist/chunks/{git-mvftxahx.js → model-resolver-et8wf2kw.js} +23 -23
- package/dist/chunks/{git-b2sh5862.js → model-resolver-ev42rs7f.js} +12 -12
- package/dist/chunks/{git-pep7hara.js → model-resolver-eyc9h8gm.js} +4 -4
- package/dist/chunks/{git-s6a0m454.js → model-resolver-f14hekp8.js} +9 -9
- package/dist/chunks/{git-ygt24qhf.js → model-resolver-f1nae5s7.js} +11 -11
- package/dist/chunks/{git-ydykb0bb.js → model-resolver-fftm5veb.js} +11 -11
- package/dist/chunks/{git-dn734jx6.js → model-resolver-fhr47e0j.js} +45 -45
- package/dist/chunks/{git-v0p1yc4r.js → model-resolver-fqn434s7.js} +9 -9
- package/dist/chunks/{git-cwa6csj7.js → model-resolver-ft3hqk2c.js} +9 -9
- package/dist/chunks/{git-4gbfhf8t.js → model-resolver-fvjzj6fm.js} +9 -9
- package/dist/chunks/{git-9hn6k4tm.js → model-resolver-g0445xdp.js} +8 -8
- package/dist/chunks/{git-h2ps0vhb.js → model-resolver-g05j57d7.js} +5 -5
- package/dist/chunks/{git-1xqxdv1f.js → model-resolver-g828bkxh.js} +8 -8
- package/dist/chunks/{git-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-dpdj1ayc.js → model-resolver-ggp1egtm.js} +6 -6
- package/dist/chunks/{git-ghcndwhm.js → model-resolver-gw3qbjtg.js} +23 -23
- package/dist/chunks/{git-tbwjy4jx.js → model-resolver-gwwgnv03.js} +19 -19
- package/dist/chunks/{git-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-31xfzrxg.js → model-resolver-h7s7r6s9.js} +5 -5
- package/dist/chunks/{git-sreec1n3.js → model-resolver-h8v25wh0.js} +25 -25
- package/dist/chunks/{git-vc4tj14c.js → model-resolver-hba5qx00.js} +17 -17
- package/dist/chunks/{git-hgz4x7wa.js → model-resolver-hgz4x7wa.js} +1 -1
- package/dist/chunks/{git-trr6sjah.js → model-resolver-hjn6f328.js} +32 -32
- package/dist/chunks/{git-v4h4tcaj.js → model-resolver-hws0p7qv.js} +18 -18
- package/dist/chunks/{git-yhsvpzag.js → model-resolver-hyym503s.js} +25 -25
- package/dist/chunks/{git-cj3e383x.js → model-resolver-hz5abz9m.js} +11 -11
- package/dist/chunks/{git-zkxb83dh.js → model-resolver-j9r8495c.js} +3 -3
- package/dist/chunks/{git-yhw8c8y5.js → model-resolver-jdqskayt.js} +28 -28
- package/dist/chunks/{git-jk540des.js → model-resolver-jk540des.js} +2 -2
- package/dist/chunks/{git-phtdqv75.js → model-resolver-jsjp95jt.js} +13 -13
- package/dist/chunks/{git-t1d5g21r.js → model-resolver-jyrkv4gc.js} +1 -1
- package/dist/chunks/{git-m4eh47d0.js → model-resolver-k03dsn1k.js} +21 -21
- package/dist/chunks/{git-vxssbp9k.js → model-resolver-k0pj753z.js} +12 -12
- package/dist/chunks/{git-wgahhr0x.js → model-resolver-k18ytf7m.js} +6 -6
- package/dist/chunks/{git-ngrent29.js → model-resolver-k1d2vept.js} +24 -24
- package/dist/chunks/{git-xbrfyfsb.js → model-resolver-k1qskgm1.js} +41 -41
- package/dist/chunks/{git-hh35cv3q.js → model-resolver-k64pj0tg.js} +21 -21
- package/dist/chunks/{git-d6bawxmv.js → model-resolver-kdkn6452.js} +22 -22
- package/dist/chunks/{git-e6snzbr7.js → model-resolver-kf8jqwvn.js} +45 -45
- package/dist/chunks/{git-khmqacep.js → model-resolver-khmqacep.js} +1 -1
- package/dist/chunks/{git-npa0ynms.js → model-resolver-kjxvkwmy.js} +14 -14
- package/dist/chunks/{git-zxk4qck4.js → model-resolver-kk3mpyge.js} +23 -23
- package/dist/chunks/{git-8n04q4wy.js → model-resolver-kkhtdzsm.js} +23 -23
- package/dist/chunks/{git-3mfe6nk2.js → model-resolver-kwjtxjfb.js} +23 -23
- package/dist/chunks/{git-10ny1wjp.js → model-resolver-m93cgr6s.js} +5 -5
- package/dist/chunks/{git-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-maspj1v3.js → model-resolver-maspj1v3.js} +1 -1
- package/dist/chunks/{git-bwp9jw94.js → model-resolver-mejf7p9j.js} +15 -15
- package/dist/chunks/{git-skg7yay7.js → model-resolver-mk389d74.js} +17 -17
- package/dist/chunks/{git-n93jbp0k.js → model-resolver-n28jv3gc.js} +11 -11
- package/dist/chunks/{git-dys7k0s0.js → model-resolver-n61013np.js} +8 -8
- package/dist/chunks/{git-3gt2qbz4.js → model-resolver-n6r6gr2k.js} +3 -3
- package/dist/chunks/{git-j9vfexns.js → model-resolver-nhd34jsd.js} +13 -13
- package/dist/chunks/{git-yjzpsqha.js → model-resolver-nnfex98a.js} +15 -15
- package/dist/chunks/{git-04jwapqe.js → model-resolver-nq9f5nkx.js} +5 -5
- package/dist/chunks/{git-prjwzds1.js → model-resolver-ntwdp302.js} +4 -4
- package/dist/chunks/{git-64np693v.js → model-resolver-ny62zz38.js} +11 -11
- package/dist/chunks/{git-515nex7v.js → model-resolver-p4613v5m.js} +5 -5
- package/dist/chunks/{git-z1fqagv4.js → model-resolver-pdtwfjed.js} +4 -4
- package/dist/chunks/{git-np7435h2.js → model-resolver-phvmwwrc.js} +16 -16
- package/dist/chunks/{git-n6z2stbm.js → model-resolver-pj45xpz4.js} +3 -3
- package/dist/chunks/{git-twwzjqdf.js → model-resolver-pjsqfx9m.js} +6 -6
- package/dist/chunks/{git-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{git-xdx7acry.js → model-resolver-pnkbpv6t.js} +9 -9
- package/dist/chunks/{git-ph8hns1v.js → model-resolver-pr6x9sxx.js} +4 -4
- package/dist/chunks/{git-nmcvttpa.js → model-resolver-psde1en3.js} +4 -4
- package/dist/chunks/model-resolver-px39bg4v.js +513 -0
- package/dist/chunks/{git-q0xm7vwc.js → model-resolver-q0xm7vwc.js} +2 -2
- package/dist/chunks/model-resolver-q2d1k2hk.js +253 -0
- package/dist/chunks/{git-rrszzvxe.js → model-resolver-q2g3ps59.js} +57 -57
- package/dist/chunks/{git-vcjvn6yt.js → model-resolver-qeafh5k3.js} +8 -8
- package/dist/chunks/{git-7dqw4kz8.js → model-resolver-qgn6gcr1.js} +5 -5
- package/dist/chunks/{git-qnc92qwc.js → model-resolver-qnc92qwc.js} +1 -1
- package/dist/chunks/{git-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{git-z86bsf9w.js → model-resolver-qsry094s.js} +5 -5
- package/dist/chunks/{git-q6rjgs81.js → model-resolver-r05rzvq1.js} +50 -50
- package/dist/chunks/{git-ept267pb.js → model-resolver-r24h05zg.js} +28 -28
- package/dist/chunks/{git-g686f6pq.js → model-resolver-r70na3yp.js} +9 -9
- package/dist/chunks/{git-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{git-02nrjc1r.js → model-resolver-rhjbct0v.js} +6 -6
- package/dist/chunks/{git-se2hztq6.js → model-resolver-rkp05d3h.js} +31 -31
- package/dist/chunks/{git-q9y8w0zk.js → model-resolver-s57pv86b.js} +32 -32
- package/dist/chunks/{git-f43tv5dk.js → model-resolver-s73414qt.js} +18 -18
- package/dist/chunks/{git-scgrse2b.js → model-resolver-scgrse2b.js} +2 -2
- package/dist/chunks/{git-2vrdh7d5.js → model-resolver-sm1cpy88.js} +13 -13
- package/dist/chunks/{git-tcay1cqt.js → model-resolver-sxzvkvgj.js} +6 -6
- package/dist/chunks/{git-syv4x271.js → model-resolver-syv4x271.js} +1 -1
- package/dist/chunks/{git-xv09z32e.js → model-resolver-t5345zfw.js} +4 -4
- package/dist/chunks/{git-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-9vx4ezry.js → model-resolver-tbxprhjc.js} +50 -50
- package/dist/chunks/{git-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
- package/dist/chunks/{git-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{git-rert0e01.js → model-resolver-tkb22qbm.js} +2 -2
- package/dist/chunks/{git-v5dkyp31.js → model-resolver-tkmwgdpd.js} +5 -5
- package/dist/chunks/{git-tm0kqsz3.js → model-resolver-tm0kqsz3.js} +1 -1
- package/dist/chunks/{git-b4pb0qj1.js → model-resolver-tm6yce80.js} +16 -16
- package/dist/chunks/{git-4gkcbsf6.js → model-resolver-tsktfrs2.js} +86 -86
- package/dist/chunks/{git-tyytaxap.js → model-resolver-tyytaxap.js} +1 -1
- package/dist/chunks/{git-6g7e4dd5.js → model-resolver-v0es1rhs.js} +7 -7
- package/dist/chunks/{git-v7p4zvkq.js → model-resolver-v7p4zvkq.js} +2 -2
- package/dist/chunks/{git-w919w76e.js → model-resolver-v8cmy866.js} +8 -8
- package/dist/chunks/{git-nn3cvats.js → model-resolver-v8hntyfk.js} +29 -29
- package/dist/chunks/{git-pb9dx0b6.js → model-resolver-vb82663b.js} +21 -21
- package/dist/chunks/{git-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{git-xstpf91t.js → model-resolver-vh39qgwm.js} +7 -7
- package/dist/chunks/{git-a3tzcvfn.js → model-resolver-vhxz3vg8.js} +19 -19
- package/dist/chunks/{git-93f4czyq.js → model-resolver-vqv75wwx.js} +11 -11
- package/dist/chunks/{git-fap5gkce.js → model-resolver-vrcgr47b.js} +4 -4
- package/dist/chunks/{git-mdrf9c6b.js → model-resolver-vsx5rp07.js} +33 -33
- package/dist/chunks/{git-ggk4p413.js → model-resolver-vtt0yr3x.js} +9 -9
- package/dist/chunks/{git-c89c07k3.js → model-resolver-vx7qmf9g.js} +177 -177
- package/dist/chunks/{git-ze75yzft.js → model-resolver-vxby77fw.js} +8 -8
- package/dist/chunks/{git-479tyfef.js → model-resolver-vxvsynfj.js} +17 -17
- package/dist/chunks/{git-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
- package/dist/chunks/{git-z00brpdj.js → model-resolver-w0qm4gzb.js} +13 -13
- package/dist/chunks/{git-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-5v5s25bq.js → model-resolver-w8t2jk6x.js} +10 -10
- package/dist/chunks/{git-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{git-vpsek98y.js → model-resolver-wh1hjrhc.js} +20 -20
- package/dist/chunks/{git-ywt8jp22.js → model-resolver-wjr9rjd7.js} +6 -6
- package/dist/chunks/{git-drzpnrep.js → model-resolver-wphhsbqm.js} +36 -36
- package/dist/chunks/{git-snaedj36.js → model-resolver-wrkpgzm9.js} +27 -27
- package/dist/chunks/{git-2xveab5k.js → model-resolver-xd4yhhbd.js} +29 -29
- package/dist/chunks/{git-y3nxpthn.js → model-resolver-xdrp1hb6.js} +14 -14
- package/dist/chunks/{git-xfkkasph.js → model-resolver-xfkkasph.js} +1 -1
- package/dist/chunks/{git-ky1kqrqq.js → model-resolver-xjdp5kgq.js} +3 -3
- package/dist/chunks/{git-tywzg4e5.js → model-resolver-xpf8z4nb.js} +8 -8
- package/dist/chunks/{git-yn2jyqqj.js → model-resolver-xpkszdg2.js} +6 -6
- package/dist/chunks/{git-1n4q1qt6.js → model-resolver-xqsvy1tg.js} +11 -11
- package/dist/chunks/{git-xt4njr3s.js → model-resolver-xybefm6f.js} +1 -1
- package/dist/chunks/{git-0p6m29n3.js → model-resolver-y11gfp3c.js} +24 -24
- package/dist/chunks/{git-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-dpkg50ah.js → model-resolver-y71avatq.js} +4 -4
- package/dist/chunks/{git-7hhqs9ev.js → model-resolver-y87z2683.js} +11 -11
- package/dist/chunks/{git-y7y09twx.js → model-resolver-y9rz79sf.js} +35 -35
- package/dist/chunks/{git-jp8kazyb.js → model-resolver-ya3jbp1k.js} +22 -22
- package/dist/chunks/{git-qbttvzdy.js → model-resolver-yahdewcc.js} +32 -32
- package/dist/chunks/{git-a797vkbp.js → model-resolver-yhd2m4kx.js} +32 -32
- package/dist/chunks/{git-yp2x3t23.js → model-resolver-yp2x3t23.js} +1 -1
- package/dist/chunks/{git-fvra4tzc.js → model-resolver-yqev8n43.js} +14 -14
- package/dist/chunks/{git-8s0h3786.js → model-resolver-ytye8eex.js} +28 -28
- package/dist/chunks/{git-3wvs8749.js → model-resolver-yw18zvsa.js} +9 -9
- package/dist/chunks/{git-ew4cvqfm.js → model-resolver-yxxmeqn1.js} +9 -9
- package/dist/chunks/{git-w0xh3rjx.js → model-resolver-yyc693px.js} +35 -35
- package/dist/chunks/{git-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-bxesqzry.js → model-resolver-z2ce4t34.js} +20 -20
- package/dist/chunks/{git-az1da0xs.js → model-resolver-zaatn0x7.js} +10 -10
- package/dist/chunks/{git-3v34x0nx.js → model-resolver-ze7t1560.js} +46 -46
- package/dist/chunks/{git-1vjyb0v5.js → model-resolver-zeadje1f.js} +22 -22
- package/dist/chunks/{git-eqrd195g.js → model-resolver-zhzk0jbj.js} +11 -11
- package/dist/chunks/{git-bz5sg4q4.js → model-resolver-zk8b9ssq.js} +15 -15
- package/dist/chunks/{git-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-nvtnmch9.js → model-resolver-zwq9gsm5.js} +5 -5
- package/dist/chunks/{git-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/chunks/{git-n1ttjt0m.js → model-resolver-zxz20fz9.js} +24 -24
- package/dist/chunks/{git-09v7d9nf.js → model-resolver-zza4sf78.js} +21 -21
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +95 -95
- 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 +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +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 +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- 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 +101 -101
- 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/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +156 -156
- 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 +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- 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/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +96 -96
- package/package.json +8 -8
- package/dist/chunks/git-619r8v3y.js +0 -18
- package/dist/chunks/git-g506rfke.js +0 -253
- package/dist/chunks/git-qdnsp6kg.js +0 -26
- package/dist/chunks/git-rsy9ddve.js +0 -513
- /package/dist/chunks/{git-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3t0ybcrp.js → model-resolver-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{git-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{git-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-m18g726c.js → model-resolver-m18g726c.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-pkyv6v7h.js → model-resolver-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{git-pyv0edze.js → model-resolver-pyv0edze.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wjj7prxr.js → model-resolver-wjj7prxr.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./model-resolver-5y2nakwc.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service81
|
|
9
|
+
} from "./model-resolver-tm6yce80.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service47
|
|
12
|
+
} from "./model-resolver-bhhmns0g.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-4djhckew.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service8
|
|
20
|
+
} from "./model-resolver-r70na3yp.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-xpkszdg2.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill = {};
|
|
30
|
+
__export(exports_skill, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill,
|
|
32
|
+
Plugin: () => Plugin16
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin16 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service47;
|
|
43
|
+
const discovery = yield* Service8;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service81;
|
|
47
|
+
const watcher = yield* Service48;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -176,4 +176,4 @@ var Plugin27 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin16, exports_skill };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-r05rzvq1.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-pkyv6v7h.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./model-resolver-21jrmc9g.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-hba5qx00.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError3,
|
|
20
20
|
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
22
|
+
Service: () => Service20,
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
24
|
available: () => available2,
|
|
25
25
|
configured: () => configured4,
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
26
|
+
layer: () => layer12,
|
|
27
|
+
node: () => node23
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -41,20 +41,20 @@ var Options4 = Schema.Struct({
|
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
class
|
|
44
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
45
45
|
message: Schema.String
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service20 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
57
|
-
const bus = yield*
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service20, Effect.gen(function* () {
|
|
57
|
+
const bus = yield* Service84;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
60
60
|
const runFork = Effect.runForkWith(context);
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service28, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service28, Effect.gen(function* (
|
|
|
166
166
|
});
|
|
167
167
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
168
168
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
170
170
|
const id = current.get(sessionID);
|
|
171
171
|
if (!id)
|
|
172
172
|
return null;
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service28, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service20.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service28, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
262
|
+
var layer12 = makeLayer();
|
|
263
263
|
var configured4 = (options) => makeGlobalNode({
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
266
|
-
deps: [
|
|
264
|
+
service: Service20,
|
|
265
|
+
layer: options === undefined ? layer12 : makeLayer(options),
|
|
266
|
+
deps: [node88, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node23 = configured4();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
|
-
var unexpected = (response) => Effect.fail(new
|
|
272
|
-
var unavailable = (error) => new
|
|
271
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
272
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
273
273
|
function toInfo(value) {
|
|
274
274
|
const status = value.lifecycle.status;
|
|
275
275
|
return {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export { Options4,
|
|
304
|
+
export { Options4, UnavailableError2, NotFoundError3, Service20, layer12, configured4, node23, exports_persistent_pty, Handoff2, available2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event8,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options8,
|
|
17
|
+
Service: () => Service48,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured7,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer21,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node50,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event8 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options8 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service48 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer21 = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service48.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer26 = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service48.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer21().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service48).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service48, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured7(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service48, layer: layer21(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node50 = configured7();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event8, hasNativeBinding2, Native3, Options8, Service48, Test3, layer21, testLayer3, nativeLayer2, nativeNode2, configured7, node50, exports_watcher };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID12,
|
|
3
|
+
Info21,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-axe3mf62.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service85,
|
|
11
11
|
node89
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-n6r6gr2k.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service84,
|
|
16
|
+
node88
|
|
17
|
+
} from "./model-resolver-21jrmc9g.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service82,
|
|
20
|
+
node86
|
|
21
|
+
} from "./model-resolver-k1qskgm1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service42,
|
|
24
|
+
node44
|
|
25
|
+
} from "./model-resolver-sxzvkvgj.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-resolver-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-resolver-es1vcfrp.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node43
|
|
34
|
+
} from "./model-resolver-k03dsn1k.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./model-resolver-2ryng5r3.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./model-resolver-nnfex98a.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./model-resolver-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node28
|
|
47
|
+
} from "./model-resolver-5jc797f7.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node80
|
|
51
|
+
} from "./model-resolver-xqsvy1tg.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./model-resolver-pjsqfx9m.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput5,
|
|
67
|
+
Service73,
|
|
68
|
+
node76
|
|
69
|
+
} from "./model-resolver-apj3cz87.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service57,
|
|
72
|
+
node59
|
|
73
|
+
} from "./model-resolver-xdrp1hb6.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service38,
|
|
76
|
+
node41
|
|
77
|
+
} from "./model-resolver-dmq48mpy.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./model-resolver-775gj3j1.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service29,
|
|
83
|
+
node33
|
|
84
|
+
} from "./model-resolver-ch7mpmes.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./model-resolver-2qnat7dc.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./model-resolver-xpf8z4nb.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service65,
|
|
93
|
+
node68
|
|
94
|
+
} from "./model-resolver-1wp3hb2k.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service24,
|
|
100
|
+
node27
|
|
101
|
+
} from "./model-resolver-7kpkhag7.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service46,
|
|
104
|
+
node48
|
|
105
|
+
} from "./model-resolver-be7qvw84.js";
|
|
106
106
|
import {
|
|
107
107
|
make13
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./model-resolver-vsx5rp07.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./model-resolver-hz5abz9m.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID12,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info21,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError9,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service23,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node26
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var ListInput3 =
|
|
152
|
-
class
|
|
151
|
+
var ListInput3 = ListInput5;
|
|
152
|
+
class Service23 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service85;
|
|
157
157
|
const db = database.db;
|
|
158
|
-
const bus = yield*
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
158
|
+
const bus = yield* Service84;
|
|
159
|
+
const projects = yield* Service82;
|
|
160
|
+
const execution = yield* Service38;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
162
|
+
const transport = yield* Service29;
|
|
163
|
+
const store = yield* Service73;
|
|
164
|
+
const instances = yield* Service42;
|
|
165
|
+
const moves = yield* Service24;
|
|
166
|
+
const jobs = yield* Service57;
|
|
167
|
+
const environments = yield* Service46;
|
|
168
|
+
const locations = yield* Service65;
|
|
169
169
|
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service23.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError9({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service42, instances), Effect.provideService(Service85, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service42, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node26 = Node.makeGlobalNode({
|
|
331
|
+
service: Service23,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
node59,
|
|
335
|
+
node48,
|
|
336
336
|
node89,
|
|
337
|
+
node88,
|
|
337
338
|
node86,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
node38,
|
|
339
|
+
node41,
|
|
340
|
+
node33,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
342
|
+
node76,
|
|
343
|
+
node44,
|
|
344
|
+
node43,
|
|
345
|
+
node27,
|
|
346
|
+
node28,
|
|
347
|
+
node68,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node80
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2, ListInput3,
|
|
353
|
+
export { ListAnchor2, ListInput3, Service23, node26, exports_session };
|