@opencode/core 0.0.0-dev-232 → 0.0.0-dev-235
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 +86 -86
- package/dist/aisdk-native.js +100 -100
- package/dist/aisdk.js +106 -106
- package/dist/app.js +7 -7
- package/dist/bus.js +78 -78
- package/dist/chunks/{credential-kvvwtbv8.js → model-resolver-02dx1ydf.js} +29 -29
- package/dist/chunks/{credential-h5kmqadq.js → model-resolver-063c2dw3.js} +13 -13
- package/dist/chunks/{credential-6fvxxg60.js → model-resolver-07ws46e7.js} +22 -22
- package/dist/chunks/{credential-vx3jgdek.js → model-resolver-08rawchj.js} +3 -3
- package/dist/chunks/{credential-9qcg53ez.js → model-resolver-0gbb59p9.js} +9 -9
- package/dist/chunks/{credential-e9rx3qe8.js → model-resolver-0m6n6j4y.js} +11 -11
- package/dist/chunks/{credential-7tgk2ckz.js → model-resolver-0v7r2g4g.js} +17 -17
- package/dist/chunks/{credential-12h4w7eb.js → model-resolver-0vfcpktn.js} +11 -11
- package/dist/chunks/{credential-92cn2t4g.js → model-resolver-0xgy9r8e.js} +8 -8
- package/dist/chunks/{credential-4gnj7q94.js → model-resolver-0ydkeekf.js} +5 -5
- package/dist/chunks/{credential-33rwgczv.js → model-resolver-11dc3axx.js} +19 -19
- package/dist/chunks/{credential-2g02qr0r.js → model-resolver-11emykvz.js} +12 -12
- package/dist/chunks/{credential-ytjvy0qw.js → model-resolver-1becz5h9.js} +30 -30
- package/dist/chunks/{credential-sskrz1rw.js → model-resolver-1ffmcay5.js} +28 -28
- package/dist/chunks/{credential-34e87nx4.js → model-resolver-1fmezaeg.js} +21 -21
- package/dist/chunks/{credential-3kaedtbj.js → model-resolver-1k5rjxjy.js} +21 -21
- package/dist/chunks/{credential-xt0z8zst.js → model-resolver-1kn6jdkn.js} +4 -4
- package/dist/chunks/{credential-2wav6r65.js → model-resolver-1trhz39y.js} +43 -43
- package/dist/chunks/{credential-4zsb5k87.js → model-resolver-1vhabajd.js} +11 -11
- package/dist/chunks/{credential-yvt4z0b8.js → model-resolver-1vk60n2f.js} +45 -45
- package/dist/chunks/{credential-1x2knyw4.js → model-resolver-1x2knyw4.js} +1 -1
- package/dist/chunks/{credential-1yq9hg58.js → model-resolver-1yq9hg58.js} +1 -1
- package/dist/chunks/{credential-204s3925.js → model-resolver-204s3925.js} +1 -1
- package/dist/chunks/{credential-25h84942.js → model-resolver-25h84942.js} +1 -1
- package/dist/chunks/{credential-1ep2p91f.js → model-resolver-27w5k9zf.js} +2 -2
- package/dist/chunks/{credential-afhevj5w.js → model-resolver-2eaj99b9.js} +12 -12
- package/dist/chunks/{credential-z51dnz1g.js → model-resolver-2g0sbjxs.js} +5 -5
- package/dist/chunks/{credential-fea2mecn.js → model-resolver-2ggryvv9.js} +7 -7
- package/dist/chunks/{credential-mv2fpsaq.js → model-resolver-2q3gj68p.js} +16 -16
- package/dist/chunks/{credential-7n02w7qn.js → model-resolver-2vxh8fhb.js} +43 -43
- package/dist/chunks/{credential-2zp5a6yg.js → model-resolver-2zp5a6yg.js} +1 -1
- package/dist/chunks/{credential-4kjz03p0.js → model-resolver-313g21r6.js} +20 -20
- package/dist/chunks/{credential-pm3q2zxn.js → model-resolver-31wms35x.js} +8 -8
- package/dist/chunks/{credential-nb115p4b.js → model-resolver-32ss13k6.js} +17 -17
- package/dist/chunks/{credential-xm0pdva2.js → model-resolver-35xw48cm.js} +40 -40
- package/dist/chunks/{credential-ayjs7tqn.js → model-resolver-3cbjf1nt.js} +2 -2
- package/dist/chunks/{credential-a06br7p4.js → model-resolver-3g5sjqyx.js} +24 -24
- package/dist/chunks/{credential-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{credential-y38nte2y.js → model-resolver-3smabe4s.js} +6 -6
- package/dist/chunks/{credential-t1qmvjvb.js → model-resolver-3smfssvs.js} +32 -32
- package/dist/chunks/{credential-n65rh0xd.js → model-resolver-3vb79mvp.js} +43 -43
- package/dist/chunks/{credential-tqg17mva.js → model-resolver-4695y15q.js} +32 -32
- package/dist/chunks/{credential-tp62qny7.js → model-resolver-4cb8ky4x.js} +11 -11
- package/dist/chunks/{credential-k9ayha1m.js → model-resolver-4p7w50sn.js} +4 -4
- package/dist/chunks/{credential-4pyp9zr9.js → model-resolver-4pyp9zr9.js} +1 -1
- package/dist/chunks/{credential-44jn1514.js → model-resolver-4s29f17y.js} +13 -13
- package/dist/chunks/{credential-4v008n1t.js → model-resolver-4v008n1t.js} +1 -1
- package/dist/chunks/{credential-9vp6aqcz.js → model-resolver-4yq7vp74.js} +16 -16
- package/dist/chunks/{credential-hezj4sa2.js → model-resolver-515dar09.js} +8 -8
- package/dist/chunks/{credential-5enarcya.js → model-resolver-5enarcya.js} +2 -2
- package/dist/chunks/{credential-66304bnq.js → model-resolver-5m5zgeb0.js} +28 -28
- package/dist/chunks/{credential-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
- package/dist/chunks/{credential-w1tnk1sc.js → model-resolver-5mvx2mvy.js} +4 -4
- package/dist/chunks/{credential-yyv7g89v.js → model-resolver-5n0y2fx9.js} +13 -13
- package/dist/chunks/{credential-wtn5j8ff.js → model-resolver-5pmynce3.js} +1 -1
- package/dist/chunks/{credential-ac39bgbj.js → model-resolver-5qp8d7cx.js} +34 -34
- package/dist/chunks/{credential-hjx8amkq.js → model-resolver-5tmges1f.js} +5 -5
- package/dist/chunks/{credential-s8xxgn4g.js → model-resolver-5vtcv6tm.js} +4 -4
- package/dist/chunks/{credential-3ct3v2ns.js → model-resolver-64qhrwmr.js} +11 -11
- package/dist/chunks/{credential-j93e60fq.js → model-resolver-657gm9p4.js} +36 -36
- package/dist/chunks/{credential-myskz43g.js → model-resolver-68qqfsms.js} +2 -2
- package/dist/chunks/{credential-ppvmsckx.js → model-resolver-69zkvrr3.js} +11 -11
- package/dist/chunks/{credential-t3p3y0b7.js → model-resolver-6c3vfjz9.js} +23 -23
- package/dist/chunks/{credential-h4t863wd.js → model-resolver-6ckjvz5e.js} +17 -17
- package/dist/chunks/{credential-6esdw8yj.js → model-resolver-6esdw8yj.js} +1 -1
- package/dist/chunks/{credential-xf8b1wk9.js → model-resolver-6et83057.js} +26 -26
- package/dist/chunks/{credential-02074jrw.js → model-resolver-6kq6serr.js} +50 -50
- package/dist/chunks/{credential-dkvmgk9x.js → model-resolver-6p643g3y.js} +18 -18
- package/dist/chunks/{credential-3pw2198r.js → model-resolver-75k6z3we.js} +77 -77
- package/dist/chunks/{credential-kmv1hb68.js → model-resolver-77zj4qhz.js} +6 -6
- package/dist/chunks/{credential-k532z9bf.js → model-resolver-78c837sc.js} +15 -15
- package/dist/chunks/{credential-1ke0ebjk.js → model-resolver-7atzhzg1.js} +6 -6
- package/dist/chunks/{credential-4zrcmfpw.js → model-resolver-7azjgpqp.js} +9 -9
- package/dist/chunks/{credential-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{credential-bf19td7e.js → model-resolver-7j1pv54n.js} +4 -4
- package/dist/chunks/{credential-agqd6nxz.js → model-resolver-7sdtxe0n.js} +4 -4
- package/dist/chunks/{credential-1jakw16s.js → model-resolver-7stb81gk.js} +2 -1
- package/dist/chunks/{credential-h4p3pyf8.js → model-resolver-7vyv40s2.js} +6 -6
- package/dist/chunks/{credential-7w2ypzdf.js → model-resolver-7w2ypzdf.js} +1 -1
- package/dist/chunks/{credential-vbhg7a8p.js → model-resolver-7x1geb87.js} +45 -45
- package/dist/chunks/{credential-2vp3eae7.js → model-resolver-7xgdsbra.js} +12 -12
- package/dist/chunks/{credential-x9hr9mw5.js → model-resolver-7ykpe2ae.js} +32 -32
- package/dist/chunks/{credential-vvbgnqg2.js → model-resolver-8anejt09.js} +16 -16
- package/dist/chunks/{credential-8dfptpqb.js → model-resolver-8dfptpqb.js} +1 -1
- package/dist/chunks/{credential-69r9be3z.js → model-resolver-8fbg0anr.js} +35 -35
- package/dist/chunks/{credential-78r8et96.js → model-resolver-8jwdfq57.js} +9 -9
- package/dist/chunks/{credential-11hfp36g.js → model-resolver-8jztxfpf.js} +4 -4
- package/dist/chunks/{credential-65v26sy5.js → model-resolver-8rsr0xkw.js} +22 -22
- package/dist/chunks/{credential-mbq8kt07.js → model-resolver-8tcsqa0t.js} +8 -8
- package/dist/chunks/{credential-eqkje2vh.js → model-resolver-8wcv8eb0.js} +18 -18
- package/dist/chunks/{credential-8wtp7s3z.js → model-resolver-8wtp7s3z.js} +1 -1
- package/dist/chunks/{credential-mb7mbhnz.js → model-resolver-8z6m94af.js} +3 -3
- package/dist/chunks/{credential-90zstvax.js → model-resolver-90zstvax.js} +1 -1
- package/dist/chunks/{credential-m0w0bb4h.js → model-resolver-92c52cwg.js} +5 -5
- package/dist/chunks/{credential-xk2zn0cv.js → model-resolver-95sp4hdf.js} +4 -4
- package/dist/chunks/{credential-sgwnnnm7.js → model-resolver-9fttyw1y.js} +10 -10
- package/dist/chunks/{credential-a3a7mjkh.js → model-resolver-9k0vd1xz.js} +23 -23
- package/dist/chunks/{credential-9a1tdgr3.js → model-resolver-9kxateg7.js} +25 -25
- package/dist/chunks/{credential-rbftx08j.js → model-resolver-9pk8dvwz.js} +3 -3
- package/dist/chunks/{credential-mmx1mfjr.js → model-resolver-9q8g9sv8.js} +4 -4
- package/dist/chunks/{credential-3kdbrncp.js → model-resolver-9s06frge.js} +2 -2
- package/dist/chunks/{credential-nr90vwd5.js → model-resolver-a7hpf3a9.js} +8 -8
- package/dist/chunks/{credential-z8fzb2rn.js → model-resolver-a8ts2hq9.js} +29 -29
- package/dist/chunks/{credential-w4xkkccr.js → model-resolver-a8x35daw.js} +5 -5
- package/dist/chunks/{credential-034tev2y.js → model-resolver-aj7mw0zk.js} +2 -2
- package/dist/chunks/{credential-eahpwh8e.js → model-resolver-b1b4s2tq.js} +4 -4
- package/dist/chunks/{credential-5nnwax6m.js → model-resolver-b6vsg801.js} +5 -5
- package/dist/chunks/{credential-jx93w0c5.js → model-resolver-b7x6vb0f.js} +15 -15
- package/dist/chunks/{credential-2xpqyv5y.js → model-resolver-b9npwed2.js} +19 -19
- package/dist/chunks/{credential-jera5sqk.js → model-resolver-bb1pme7h.js} +17 -17
- package/dist/chunks/{credential-mv2126ff.js → model-resolver-bkccqnab.js} +24 -24
- package/dist/chunks/{credential-cpvd08na.js → model-resolver-br0kkpnn.js} +7 -7
- package/dist/chunks/{credential-f758g5wm.js → model-resolver-brzye0d0.js} +2 -2
- package/dist/chunks/{credential-xd9cc171.js → model-resolver-bstexjd6.js} +5 -5
- package/dist/chunks/{credential-wfv6mr0t.js → model-resolver-bx2chj7s.js} +22 -22
- package/dist/chunks/{credential-13mbnmkz.js → model-resolver-bzneqfrw.js} +30 -30
- package/dist/chunks/{credential-z3390mnz.js → model-resolver-c2wdctvm.js} +47 -47
- package/dist/chunks/{credential-81a9zpe2.js → model-resolver-c5m2a8vb.js} +8 -8
- package/dist/chunks/{credential-pcspc0c8.js → model-resolver-caqz8vzx.js} +17 -17
- package/dist/chunks/{credential-j499rj47.js → model-resolver-cfcqqf1a.js} +4 -4
- package/dist/chunks/{credential-fpy4nybh.js → model-resolver-chyqkg4j.js} +11 -11
- package/dist/chunks/{credential-rsw4x5nh.js → model-resolver-cqjy0jsh.js} +22 -22
- package/dist/chunks/{credential-02gdc367.js → model-resolver-cw59ztwq.js} +21 -21
- package/dist/chunks/{credential-cwrgdav8.js → model-resolver-cwrgdav8.js} +2 -2
- package/dist/chunks/{credential-wnk70846.js → model-resolver-cxstdmn9.js} +30 -30
- package/dist/chunks/{credential-wzrertcx.js → model-resolver-d6t4gzf8.js} +15 -15
- package/dist/chunks/{credential-zhmdrh6b.js → model-resolver-dgwg4nab.js} +16 -16
- package/dist/chunks/{credential-ewvsv6ts.js → model-resolver-dgy090gd.js} +5 -5
- package/dist/chunks/{credential-fh48twx0.js → model-resolver-dq8p8g98.js} +11 -11
- package/dist/chunks/{credential-87e13nka.js → model-resolver-ds2f0rmb.js} +3 -3
- package/dist/chunks/{credential-dt77769w.js → model-resolver-dt77769w.js} +1 -1
- package/dist/chunks/{credential-7j68yrtf.js → model-resolver-e19czkbx.js} +34 -34
- package/dist/chunks/{credential-z017em5h.js → model-resolver-e3p762jb.js} +14 -14
- package/dist/chunks/{credential-zfyyea20.js → model-resolver-e42rb5nh.js} +7 -7
- package/dist/chunks/{credential-0330sawq.js → model-resolver-e5vm4r2z.js} +5 -5
- package/dist/chunks/{credential-e834z07m.js → model-resolver-e834z07m.js} +1 -1
- package/dist/chunks/{credential-4hqwqpkp.js → model-resolver-ebw1bbd1.js} +79 -79
- package/dist/chunks/{credential-2pe161ac.js → model-resolver-em9d63hf.js} +15 -15
- package/dist/chunks/{credential-nbg1eymv.js → model-resolver-eyejk55r.js} +5 -5
- package/dist/chunks/{credential-p9g1pat1.js → model-resolver-fb0ffggm.js} +29 -29
- package/dist/chunks/{credential-fffv3p7h.js → model-resolver-fffv3p7h.js} +1 -1
- package/dist/chunks/{credential-fg9p65nk.js → model-resolver-fg9p65nk.js} +2 -2
- package/dist/chunks/{credential-88f4ansx.js → model-resolver-fvz2a291.js} +15 -15
- package/dist/chunks/{credential-60d2znf6.js → model-resolver-g0287tj7.js} +4 -4
- package/dist/chunks/{credential-ds6gwmx6.js → model-resolver-g60d9pja.js} +8 -8
- package/dist/chunks/{credential-584z8fgw.js → model-resolver-g7e31nf0.js} +39 -39
- package/dist/chunks/{credential-rmm621gb.js → model-resolver-gf94v7ds.js} +12 -12
- package/dist/chunks/{credential-aafav67h.js → model-resolver-ghsy9na1.js} +28 -28
- package/dist/chunks/{credential-2r1210wt.js → model-resolver-gj0tv93d.js} +10 -10
- package/dist/chunks/{credential-d4v9tmah.js → model-resolver-gn8tkhbf.js} +2 -2
- package/dist/chunks/{credential-w0sctsdt.js → model-resolver-gxn61zhy.js} +2 -2
- package/dist/chunks/{credential-k8v5aqnf.js → model-resolver-h4ydfc35.js} +10 -10
- package/dist/chunks/{credential-vqe08nj1.js → model-resolver-haawhqgr.js} +25 -25
- package/dist/chunks/{credential-ww4her3p.js → model-resolver-hckvh4sv.js} +35 -35
- package/dist/chunks/{credential-r0yr0wbs.js → model-resolver-hh7kjqtw.js} +2 -1
- package/dist/chunks/{credential-zhd9tgn6.js → model-resolver-hjbr58an.js} +25 -25
- package/dist/chunks/{credential-hpg1pkwy.js → model-resolver-hpg1pkwy.js} +1 -1
- package/dist/chunks/{credential-yc1k612c.js → model-resolver-hskmxh3h.js} +9 -9
- package/dist/chunks/{credential-n786j7gq.js → model-resolver-hwtwmcxj.js} +11 -11
- package/dist/chunks/{credential-tg1vr1qt.js → model-resolver-hy8c1z76.js} +8 -8
- package/dist/chunks/{credential-b83byfam.js → model-resolver-j8bdajc7.js} +8 -8
- package/dist/chunks/{credential-a38b7w2q.js → model-resolver-j97kzcev.js} +5 -5
- package/dist/chunks/{credential-c1z88dhz.js → model-resolver-jb1qvvx4.js} +3 -3
- package/dist/chunks/{credential-fv02tqgz.js → model-resolver-jcf07173.js} +13 -13
- package/dist/chunks/{credential-jfaecv01.js → model-resolver-jfaecv01.js} +1 -1
- package/dist/chunks/{credential-jtnps1zs.js → model-resolver-jtnps1zs.js} +2 -2
- package/dist/chunks/{credential-wwgpyqzb.js → model-resolver-jv2xnyk0.js} +9 -9
- package/dist/chunks/{credential-96f366mh.js → model-resolver-jvpt39xs.js} +12 -12
- package/dist/chunks/{credential-9gmdzyfg.js → model-resolver-k07k3amx.js} +21 -21
- package/dist/chunks/{credential-384pxm0c.js → model-resolver-k17w2jj8.js} +15 -15
- package/dist/chunks/{credential-k814nvkf.js → model-resolver-k814nvkf.js} +1 -1
- package/dist/chunks/{credential-k9zkdd2y.js → model-resolver-k9zkdd2y.js} +1 -1
- package/dist/chunks/{credential-y73ydd0q.js → model-resolver-khm9g9rn.js} +28 -28
- package/dist/chunks/{credential-79se5gqs.js → model-resolver-kk4m6xpk.js} +12 -12
- package/dist/chunks/{credential-50ttnce6.js → model-resolver-kkq9589k.js} +57 -57
- package/dist/chunks/{credential-edz3vk4c.js → model-resolver-kmjd8e1b.js} +12 -12
- package/dist/chunks/{credential-kt3bjfbg.js → model-resolver-kt3bjfbg.js} +1 -1
- package/dist/chunks/{credential-gnzzs75r.js → model-resolver-m0qw3cnp.js} +5 -5
- package/dist/chunks/{credential-m1714858.js → model-resolver-m1714858.js} +1 -1
- package/dist/chunks/{credential-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{credential-xby0v85x.js → model-resolver-mehbn690.js} +6 -6
- package/dist/chunks/{credential-5ntfweg7.js → model-resolver-mekmjhn9.js} +32 -32
- package/dist/chunks/{credential-s7gmm2q3.js → model-resolver-mg356nz4.js} +3 -3
- package/dist/chunks/{credential-1t4t88x3.js → model-resolver-mkg7mbq5.js} +33 -33
- package/dist/chunks/{credential-1qsv2p2w.js → model-resolver-mkw2jwqb.js} +3 -3
- package/dist/chunks/{credential-t1pz09kx.js → model-resolver-mqtbfpst.js} +18 -18
- package/dist/chunks/{credential-7evtdt3e.js → model-resolver-mwz57098.js} +4 -4
- package/dist/chunks/{credential-jwskecy1.js → model-resolver-mxynyzfm.js} +12 -12
- package/dist/chunks/{credential-nb5fst4x.js → model-resolver-n3ms51k8.js} +6 -6
- package/dist/chunks/{credential-xr0813vk.js → model-resolver-n516hxxc.js} +33 -33
- package/dist/chunks/{credential-nah043kf.js → model-resolver-nah043kf.js} +1 -1
- package/dist/chunks/{credential-4y8p0etd.js → model-resolver-ngbjhm7w.js} +23 -23
- package/dist/chunks/{credential-9dyz4be8.js → model-resolver-nma643tt.js} +7 -7
- package/dist/chunks/{credential-fypmhnps.js → model-resolver-np3f7rt0.js} +2 -2
- package/dist/chunks/{credential-j00x2d5t.js → model-resolver-np47h428.js} +4 -4
- package/dist/chunks/{credential-0m9q59s6.js → model-resolver-nttn14j9.js} +4 -4
- package/dist/chunks/{credential-p015t6z3.js → model-resolver-p015t6z3.js} +2 -2
- package/dist/chunks/{credential-6g2dzwcy.js → model-resolver-p1mde3sk.js} +191 -191
- package/dist/chunks/{credential-a3975399.js → model-resolver-p2hg2bey.js} +12 -12
- package/dist/chunks/{credential-p580ev26.js → model-resolver-p580ev26.js} +1 -1
- package/dist/chunks/{credential-6qwvma6z.js → model-resolver-pjtyxbjq.js} +17 -17
- package/dist/chunks/{credential-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{credential-gqk9gxfj.js → model-resolver-pp05edzg.js} +11 -11
- package/dist/chunks/{credential-7xrs9a5d.js → model-resolver-pp0pn87f.js} +5 -5
- package/dist/chunks/{credential-jvn8ph2p.js → model-resolver-pvp6fg14.js} +11 -11
- package/dist/chunks/{credential-yara3q77.js → model-resolver-pxtfkpje.js} +2 -2
- package/dist/chunks/{credential-998ewk3b.js → model-resolver-pyw9tktf.js} +17 -17
- package/dist/chunks/{credential-ayvz2n09.js → model-resolver-pz4bxmc0.js} +5 -5
- package/dist/chunks/{credential-z01m528w.js → model-resolver-qc0dffe1.js} +16 -16
- package/dist/chunks/{credential-ef6q3xef.js → model-resolver-qf7wdzx4.js} +72 -72
- package/dist/chunks/{credential-6n1skpzs.js → model-resolver-qjd35q55.js} +14 -14
- package/dist/chunks/{credential-qp7r0hxv.js → model-resolver-qp7r0hxv.js} +1 -1
- package/dist/chunks/{credential-yv1jexcb.js → model-resolver-qqg00k1m.js} +10 -10
- package/dist/chunks/{credential-qqvy8y24.js → model-resolver-qqvy8y24.js} +1 -1
- package/dist/chunks/{credential-7vh1qcpk.js → model-resolver-qr5k2are.js} +10 -10
- package/dist/chunks/model-resolver-qs8a0pvz.js +535 -0
- package/dist/chunks/{credential-qe54a3zp.js → model-resolver-r3jnkjvn.js} +46 -46
- package/dist/chunks/{credential-sm7psbfm.js → model-resolver-r3n6xbzs.js} +18 -18
- package/dist/chunks/{credential-9wp8352v.js → model-resolver-r44vdp06.js} +3 -3
- package/dist/chunks/{credential-yaxy9fpa.js → model-resolver-r4h5gr85.js} +23 -23
- package/dist/chunks/{credential-jcqm84fr.js → model-resolver-r4pwrx75.js} +9 -9
- package/dist/chunks/{credential-r542h3bh.js → model-resolver-r542h3bh.js} +1 -1
- package/dist/chunks/{credential-g3p0mxj8.js → model-resolver-rae286de.js} +4 -4
- package/dist/chunks/model-resolver-rb7the7a.js +257 -0
- package/dist/chunks/{credential-rb9dy4dg.js → model-resolver-rb9dy4dg.js} +1 -1
- package/dist/chunks/{credential-a1226ymt.js → model-resolver-rnndk4m8.js} +48 -48
- package/dist/chunks/{credential-rt5dr6hb.js → model-resolver-rt5dr6hb.js} +1 -1
- package/dist/chunks/{credential-1rtcg5pt.js → model-resolver-rx6q88jc.js} +19 -19
- package/dist/chunks/{credential-q45fvp3e.js → model-resolver-rzex016b.js} +6 -6
- package/dist/chunks/{credential-ys32d0ez.js → model-resolver-s3gmcb39.js} +9 -9
- package/dist/chunks/model-resolver-s9kkzxe3.js +26 -0
- package/dist/chunks/{credential-sa3fpqfw.js → model-resolver-sa3fpqfw.js} +2 -2
- package/dist/chunks/{credential-rrfeqsm8.js → model-resolver-sew631bv.js} +25 -25
- package/dist/chunks/{credential-6astz3f9.js → model-resolver-sfh5xs5y.js} +30 -30
- package/dist/chunks/{credential-rfrz2qbb.js → model-resolver-spbwh0fp.js} +21 -21
- package/dist/chunks/{credential-sqjzf8x2.js → model-resolver-sqjzf8x2.js} +1 -1
- package/dist/chunks/{credential-2b7qrkd5.js → model-resolver-srpyah9m.js} +40 -40
- package/dist/chunks/{credential-ssfehs1z.js → model-resolver-ssfehs1z.js} +1 -1
- package/dist/chunks/{credential-svcy3p9a.js → model-resolver-svcy3p9a.js} +1 -1
- package/dist/chunks/{credential-fjds1fn3.js → model-resolver-sy8vd0m2.js} +5 -5
- package/dist/chunks/{credential-2dh97hnq.js → model-resolver-t3tgzswk.js} +28 -28
- package/dist/chunks/{credential-2teqx1fj.js → model-resolver-tc5b1bny.js} +24 -24
- package/dist/chunks/{credential-tczq8hjw.js → model-resolver-tczq8hjw.js} +1 -1
- package/dist/chunks/{credential-yz5sb0gz.js → model-resolver-terez3x2.js} +11 -11
- package/dist/chunks/{credential-bk9s8j1w.js → model-resolver-tjbktcma.js} +24 -24
- package/dist/chunks/{credential-kv8hcqvx.js → model-resolver-tjvxx29a.js} +13 -13
- package/dist/chunks/{credential-4na4vtxt.js → model-resolver-tkbmyhb4.js} +2 -2
- package/dist/chunks/{credential-3nnrz6f6.js → model-resolver-tmc7xdjs.js} +4 -4
- package/dist/chunks/{credential-vqavkb0r.js → model-resolver-tv7z3yt9.js} +8 -8
- package/dist/chunks/{credential-twssxy5n.js → model-resolver-twssxy5n.js} +2 -2
- package/dist/chunks/{credential-h6hc5rex.js → model-resolver-v1tvskx9.js} +14 -14
- package/dist/chunks/{credential-v2r1d0zg.js → model-resolver-v2r1d0zg.js} +1 -1
- package/dist/chunks/{credential-3j1m3tq4.js → model-resolver-v54nvb2h.js} +2 -2
- package/dist/chunks/{credential-d3wqtg9z.js → model-resolver-v7h6andt.js} +21 -21
- package/dist/chunks/{credential-b5nc9mwq.js → model-resolver-ve4251vb.js} +18 -18
- package/dist/chunks/{credential-2jm7sg1n.js → model-resolver-vf9vzdpy.js} +27 -27
- package/dist/chunks/{credential-gv0qvba3.js → model-resolver-vja3zs8n.js} +7 -7
- package/dist/chunks/{credential-xg75fqpv.js → model-resolver-w2y2s0n1.js} +20 -20
- package/dist/chunks/{credential-m5ybn5jf.js → model-resolver-w3d76d98.js} +18 -18
- package/dist/chunks/{credential-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{credential-wr3re1en.js → model-resolver-w687dnns.js} +4 -4
- package/dist/chunks/{credential-wae28k01.js → model-resolver-w6v5sxdw.js} +9 -9
- package/dist/chunks/{credential-b6y9tnyb.js → model-resolver-w7d7mz6q.js} +10 -10
- package/dist/chunks/{credential-w8qtt4th.js → model-resolver-w8qtt4th.js} +1 -1
- package/dist/chunks/{credential-xsact9zs.js → model-resolver-w9w8mt4n.js} +4 -4
- package/dist/chunks/{credential-wakvkjy4.js → model-resolver-wakvkjy4.js} +1 -1
- package/dist/chunks/{credential-x657mhw6.js → model-resolver-wd1xcya7.js} +15 -15
- package/dist/chunks/{credential-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{credential-ye0pyk4z.js → model-resolver-whz0tbn3.js} +21 -21
- package/dist/chunks/{credential-rgg7ckaw.js → model-resolver-wnb85yzk.js} +21 -21
- package/dist/chunks/{credential-wnhgecwx.js → model-resolver-wnhgecwx.js} +1 -1
- package/dist/chunks/{credential-9s4r78yd.js → model-resolver-x09jv9p1.js} +5 -5
- package/dist/chunks/{credential-hszqsyww.js → model-resolver-x32t5qxa.js} +10 -10
- package/dist/chunks/{credential-60jz9eyc.js → model-resolver-x5qgebf8.js} +23 -23
- package/dist/chunks/{credential-z2qbjhyn.js → model-resolver-x6pyv2yz.js} +5 -5
- package/dist/chunks/{credential-6869n964.js → model-resolver-xeg3jkwn.js} +15 -15
- package/dist/chunks/{credential-4ewbr215.js → model-resolver-xgew9n4h.js} +8 -8
- package/dist/chunks/{credential-3r2mjcrp.js → model-resolver-xn46eh9z.js} +13 -13
- package/dist/chunks/{credential-m37sd98t.js → model-resolver-xnh55p1t.js} +5 -5
- package/dist/chunks/{credential-xz9rerx7.js → model-resolver-xzj8w313.js} +23 -23
- package/dist/chunks/{credential-85ns452d.js → model-resolver-y6scp2pe.js} +48 -48
- package/dist/chunks/{credential-yb20nhc3.js → model-resolver-yb20nhc3.js} +1 -1
- package/dist/chunks/{credential-95byvzjw.js → model-resolver-yeyfr6zk.js} +11 -11
- package/dist/chunks/{credential-ymz7p2c9.js → model-resolver-ymz7p2c9.js} +3 -3
- package/dist/chunks/{credential-cm2hyy18.js → model-resolver-yrgtjhcx.js} +8 -8
- package/dist/chunks/{credential-p8ke63yd.js → model-resolver-ywp21z45.js} +4 -4
- package/dist/chunks/{credential-ch2d8ay7.js → model-resolver-z00f7qmg.js} +26 -26
- package/dist/chunks/{credential-z38nccrw.js → model-resolver-z38nccrw.js} +1 -1
- package/dist/chunks/{credential-jypxyda9.js → model-resolver-z4qcr8nf.js} +23 -23
- package/dist/chunks/model-resolver-z7bdqmx5.js +18 -0
- package/dist/chunks/{credential-38bbyr5m.js → model-resolver-zbs0ay32.js} +19 -19
- package/dist/chunks/{credential-vaq1yek0.js → model-resolver-zg0jbn27.js} +3 -3
- package/dist/chunks/{credential-9f3sjfep.js → model-resolver-zh7bbm8x.js} +9 -9
- package/dist/chunks/{credential-1fqvap8y.js → model-resolver-zpxk6q5d.js} +15 -15
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +93 -93
- package/dist/config/integration.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +110 -110
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +222 -222
- package/dist/config/plugin/compaction.js +165 -165
- package/dist/config/plugin/compatibility.js +145 -145
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +125 -125
- package/dist/config/plugin/image.js +124 -124
- package/dist/config/plugin/instruction.js +124 -124
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +126 -126
- package/dist/config/plugin/provider.js +125 -125
- package/dist/config/plugin/reference.js +126 -126
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +141 -141
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +146 -146
- package/dist/config/plugin/snapshot.js +124 -124
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +126 -126
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -92
- package/dist/database/database.js +75 -75
- 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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration.gen.js +58 -58
- package/dist/database/migration.js +60 -60
- 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 +2 -1
- package/dist/database/v1-migration.bun.js +103 -103
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +382 -382
- 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 +104 -104
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +106 -106
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +79 -79
- package/dist/file-access.js +151 -151
- package/dist/file-mutation.js +105 -105
- 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/file-watch.js +86 -86
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +235 -235
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +108 -108
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +115 -115
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +98 -98
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +110 -110
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +375 -375
- package/dist/instruction-discovery.js +89 -89
- package/dist/instructions/builtins.js +98 -98
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job.js +87 -87
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +82 -82
- package/dist/location-activity.js +166 -166
- package/dist/location-lifecycle.js +145 -145
- package/dist/location-service-map.js +97 -97
- package/dist/location-services.js +376 -376
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +102 -102
- package/dist/mcp/index.js +118 -118
- package/dist/mcp/instructions.js +171 -171
- package/dist/mcp/oauth.js +87 -87
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +101 -101
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +110 -110
- package/dist/model-resolver.js +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +113 -113
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +87 -87
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +146 -146
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +84 -84
- package/dist/plugin/agent.js +83 -83
- package/dist/plugin/command.js +109 -109
- package/dist/plugin/goal.js +1 -1
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +228 -228
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +349 -349
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +108 -108
- package/dist/plugin/module.js +126 -126
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +141 -141
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +102 -102
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +124 -124
- package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -122
- package/dist/plugin/provider/cloudflare-workers-ai.js +122 -122
- package/dist/plugin/provider/configured.js +120 -120
- package/dist/plugin/provider/credential-settings.js +83 -83
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +104 -104
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +106 -106
- package/dist/plugin/provider/gitlab.js +105 -105
- package/dist/plugin/provider/google-vertex.js +121 -121
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +87 -87
- package/dist/plugin/provider/lmstudio.js +133 -133
- package/dist/plugin/provider/local.js +130 -130
- package/dist/plugin/provider/modal.js +103 -103
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +133 -133
- package/dist/plugin/provider/openai-context-caps.js +101 -101
- package/dist/plugin/provider/openai.js +124 -124
- package/dist/plugin/provider/opencode.js +127 -127
- package/dist/plugin/provider/openrouter.js +102 -102
- package/dist/plugin/provider/poe.js +88 -88
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +102 -102
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +123 -123
- package/dist/plugin/provider/vllm.js +133 -133
- package/dist/plugin/provider/xai.js +102 -102
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -175
- package/dist/plugin/sdk.js +79 -79
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +142 -142
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +363 -363
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +97 -97
- package/dist/plugin/vcs/hg.js +97 -97
- package/dist/plugin/verbosity.js +104 -104
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +233 -233
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -101
- package/dist/provider.js +110 -110
- 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 +99 -99
- package/dist/reference.js +97 -97
- package/dist/repository-cache.js +91 -91
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +108 -108
- package/dist/rpc.js +97 -97
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +224 -224
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +123 -123
- package/dist/session/command.js +83 -83
- package/dist/session/compaction.js +167 -167
- package/dist/session/context.js +189 -189
- package/dist/session/diff.js +99 -99
- 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 +232 -232
- package/dist/session/execution.js +157 -157
- package/dist/session/generate.js +193 -193
- package/dist/session/history.js +130 -130
- package/dist/session/inbox.js +139 -139
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +135 -135
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +156 -156
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +157 -157
- package/dist/session/projector.js +137 -137
- package/dist/session/prompt.js +143 -143
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +133 -133
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +242 -242
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +111 -111
- package/dist/session/runner/publish-llm-event.js +144 -144
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +155 -155
- package/dist/session/runner/to-llm-message.js +131 -131
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +175 -175
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +144 -144
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +82 -82
- package/dist/session/store.js +136 -136
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +222 -222
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +195 -195
- package/dist/session/to-session-error.js +143 -143
- package/dist/session/transfer.js +227 -227
- package/dist/session/usage.js +1 -1
- package/dist/session.js +226 -226
- 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 +9 -9
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +146 -146
- package/dist/skill.js +151 -151
- package/dist/snapshot.js +104 -104
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +166 -166
- package/dist/tool/plugin/edit.js +159 -159
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +163 -163
- package/dist/tool/plugin/grep.js +163 -163
- package/dist/tool/plugin/image-generate.js +232 -232
- package/dist/tool/plugin/mcp-resource.js +157 -157
- package/dist/tool/plugin/opencode.js +156 -156
- package/dist/tool/plugin/patch.js +159 -159
- package/dist/tool/plugin/question.js +139 -139
- package/dist/tool/plugin/read.js +162 -162
- package/dist/tool/plugin/schedule.js +222 -222
- package/dist/tool/plugin/shell.js +225 -225
- package/dist/tool/plugin/skill.js +150 -150
- package/dist/tool/plugin/subagent.js +229 -229
- package/dist/tool/plugin/todo.js +148 -148
- package/dist/tool/plugin/webfetch.js +150 -150
- package/dist/tool/plugin/websearch.js +148 -148
- package/dist/tool/plugin/write.js +161 -161
- package/dist/tool/read-filesystem.js +113 -113
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/usage-limits.js +94 -94
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +103 -103
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +102 -102
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +100 -100
- package/dist/voice.js +95 -95
- package/dist/websearch.js +89 -89
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +86 -86
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +89 -89
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +100 -100
- package/dist/worktree.js +109 -109
- package/package.json +11 -11
- package/dist/chunks/credential-3hxa5b5d.js +0 -535
- package/dist/chunks/credential-3x4vqzvj.js +0 -257
- package/dist/chunks/credential-6zjm2phc.js +0 -18
- package/dist/chunks/credential-mehdtjq6.js +0 -26
- /package/dist/chunks/{credential-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{credential-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{credential-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{credential-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{credential-1kah00gy.js → model-resolver-1kah00gy.js} +0 -0
- /package/dist/chunks/{credential-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{credential-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{credential-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
- /package/dist/chunks/{credential-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{credential-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{credential-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{credential-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{credential-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{credential-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{credential-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{credential-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{credential-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{credential-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{credential-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{credential-5w3e23ze.js → model-resolver-5w3e23ze.js} +0 -0
- /package/dist/chunks/{credential-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{credential-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{credential-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{credential-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{credential-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{credential-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
- /package/dist/chunks/{credential-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{credential-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{credential-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{credential-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{credential-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{credential-a058387c.js → model-resolver-a058387c.js} +0 -0
- /package/dist/chunks/{credential-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{credential-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{credential-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{credential-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{credential-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{credential-beh6qq61.js → model-resolver-beh6qq61.js} +0 -0
- /package/dist/chunks/{credential-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{credential-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{credential-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{credential-cqv5kn06.js → model-resolver-cqv5kn06.js} +0 -0
- /package/dist/chunks/{credential-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{credential-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{credential-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{credential-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{credential-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{credential-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{credential-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{credential-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{credential-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{credential-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{credential-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{credential-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{credential-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{credential-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{credential-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{credential-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{credential-fkpq3x5p.js → model-resolver-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{credential-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{credential-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{credential-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{credential-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{credential-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
- /package/dist/chunks/{credential-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{credential-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{credential-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{credential-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{credential-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{credential-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{credential-jwr30sdr.js → model-resolver-jwr30sdr.js} +0 -0
- /package/dist/chunks/{credential-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
- /package/dist/chunks/{credential-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{credential-m18g726c.js → model-resolver-m18g726c.js} +0 -0
- /package/dist/chunks/{credential-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{credential-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{credential-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{credential-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{credential-ncqqe42p.js → model-resolver-ncqqe42p.js} +0 -0
- /package/dist/chunks/{credential-nh4v3znn.js → model-resolver-nh4v3znn.js} +0 -0
- /package/dist/chunks/{credential-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{credential-p71gwv9c.js → model-resolver-p71gwv9c.js} +0 -0
- /package/dist/chunks/{credential-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{credential-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{credential-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{credential-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{credential-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{credential-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{credential-qgfkghh1.js → model-resolver-qgfkghh1.js} +0 -0
- /package/dist/chunks/{credential-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{credential-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{credential-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{credential-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{credential-ty7weeps.js → model-resolver-ty7weeps.js} +0 -0
- /package/dist/chunks/{credential-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
- /package/dist/chunks/{credential-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{credential-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{credential-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{credential-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{credential-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{credential-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{credential-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{credential-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{credential-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{credential-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{credential-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service85,
|
|
6
|
+
node89
|
|
7
|
+
} from "./model-resolver-gf94v7ds.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-bstexjd6.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service61,
|
|
16
|
+
node64
|
|
17
|
+
} from "./model-resolver-gj0tv93d.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service46,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node50,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service46 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,27 +101,27 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service85;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service61;
|
|
110
|
+
return Service46.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse4(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing).pipe(Effect.orElseSucceed(() => {
|
|
122
122
|
return;
|
|
123
123
|
})) : undefined;
|
|
124
|
-
const originReference = origin ?
|
|
124
|
+
const originReference = origin ? parse4(origin) : undefined;
|
|
125
125
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
126
126
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
127
127
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -169,10 +169,10 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
169
169
|
})
|
|
170
170
|
});
|
|
171
171
|
}));
|
|
172
|
-
var
|
|
173
|
-
service:
|
|
172
|
+
var node50 = makeGlobalNode({
|
|
173
|
+
service: Service46,
|
|
174
174
|
layer,
|
|
175
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
175
|
+
deps: [EffectFlock.node, FSUtil.node, node89, Global.node, node64]
|
|
176
176
|
});
|
|
177
177
|
function errorMessage(error) {
|
|
178
178
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -181,4 +181,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
181
181
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
184
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service46, isError2, validateBranch2, node50, exports_repository_cache };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./model-resolver-pyw9tktf.js";
|
|
7
7
|
import {
|
|
8
8
|
NotFound3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-svcy3p9a.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service13
|
|
12
|
+
} from "./model-resolver-sew631bv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service10
|
|
15
|
+
} from "./model-resolver-pjtyxbjq.js";
|
|
16
16
|
import {
|
|
17
17
|
BinaryFileError2,
|
|
18
18
|
MediaIngestLimitError2,
|
|
@@ -22,26 +22,26 @@ import {
|
|
|
22
22
|
FileContent2,
|
|
23
23
|
TextPage2,
|
|
24
24
|
ListPage2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service38
|
|
26
|
+
} from "./model-resolver-whz0tbn3.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/plugin/read.ts
|
|
32
32
|
var exports_read = {};
|
|
33
33
|
__export(exports_read, {
|
|
34
|
-
Input: () =>
|
|
34
|
+
Input: () => Input4,
|
|
35
35
|
Plugin: () => Plugin39,
|
|
36
36
|
ReadTool: () => exports_read,
|
|
37
|
-
name: () =>
|
|
38
|
-
toModelContent: () =>
|
|
37
|
+
name: () => name4,
|
|
38
|
+
toModelContent: () => toModelContent4
|
|
39
39
|
});
|
|
40
40
|
import { basename, dirname, join } from "path";
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
|
-
var
|
|
44
|
+
var name4 = "read";
|
|
45
45
|
var FILENAME = "AGENTS.md";
|
|
46
46
|
var LocationInput = Schema.Struct({
|
|
47
47
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
|
|
|
52
52
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input4 = LocationInput;
|
|
56
56
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
57
57
|
var Plugin39 = {
|
|
58
58
|
id: "opencode.tool.read",
|
|
59
59
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
60
|
-
const reader = yield*
|
|
61
|
-
const access = yield*
|
|
62
|
-
const sessionInstructions = yield*
|
|
60
|
+
const reader = yield* Service38;
|
|
61
|
+
const access = yield* Service13;
|
|
62
|
+
const sessionInstructions = yield* Service10;
|
|
63
63
|
const fs = yield* FSUtil.Service;
|
|
64
|
-
const location = yield*
|
|
64
|
+
const location = yield* Service83;
|
|
65
65
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
66
|
-
name:
|
|
66
|
+
name: name4,
|
|
67
67
|
options: { codemode: false },
|
|
68
68
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
69
|
-
input:
|
|
69
|
+
input: Input4,
|
|
70
70
|
output: Output,
|
|
71
71
|
execute: (input, context) => {
|
|
72
72
|
return Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var Plugin39 = {
|
|
|
110
110
|
return { output: result.content, path: result.path };
|
|
111
111
|
}).pipe(Effect.map((result) => ({
|
|
112
112
|
output: result.output,
|
|
113
|
-
content:
|
|
113
|
+
content: toModelContent4(result.path, input.offset, result.output),
|
|
114
114
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
115
115
|
})), Effect.mapError((error) => {
|
|
116
116
|
if (error instanceof ToolFailure)
|
|
@@ -143,7 +143,7 @@ ${suggestions.join(`
|
|
|
143
143
|
});
|
|
144
144
|
})
|
|
145
145
|
};
|
|
146
|
-
var
|
|
146
|
+
var toModelContent4 = (path, offset, output) => {
|
|
147
147
|
if (output.type === "file" && output.encoding === "base64")
|
|
148
148
|
return [
|
|
149
149
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -179,4 +179,4 @@ var toModelContent2 = (path, offset, output) => {
|
|
|
179
179
|
`);
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { name4, Input4, Plugin39, toModelContent4, exports_read };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
stringify2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-7stb81gk.js";
|
|
7
7
|
import {
|
|
8
8
|
contentFilterError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-92c52cwg.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/publish-llm-event.ts
|
|
12
12
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission2 = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_permission2, {
|
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission2,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info19,
|
|
12
12
|
Object: () => Object2,
|
|
13
13
|
Rule: () => Rule3
|
|
14
14
|
});
|
|
@@ -21,11 +21,11 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
22
|
var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info19 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2, Rule3,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule3, Info19, exports_permission2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service57
|
|
4
|
+
} from "./model-resolver-srpyah9m.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-hpg1pkwy.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch = {};
|
|
14
14
|
__export(exports_websearch, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin9
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin9 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service57;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin12 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin9, exports_websearch };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-5vtcv6tm.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-tjvxx29a.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-a058387c.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: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError4,
|
|
20
|
+
Options: () => Options3,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
available: () =>
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
22
|
+
Service: () => Service21,
|
|
23
|
+
UnavailableError: () => UnavailableError4,
|
|
24
|
+
available: () => available3,
|
|
25
|
+
configured: () => configured3,
|
|
26
|
+
layer: () => layer12,
|
|
27
|
+
node: () => node24
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -34,25 +34,25 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
34
34
|
import { Global } from "@opencode/util/global";
|
|
35
35
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
36
36
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
37
|
-
import { available as
|
|
38
|
-
var
|
|
37
|
+
import { available as available3 } from "#persistent-pty-binary";
|
|
38
|
+
var Options3 = Schema.Struct({
|
|
39
39
|
handoff: Schema.optional(Handoff),
|
|
40
40
|
root: Schema.optional(Schema.String)
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class UnavailableError4 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
44
44
|
message: Schema.String
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
49
49
|
ptyID: Pty.ID
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service21 extends Context.Service()("@opencode/PersistentPty") {
|
|
54
54
|
}
|
|
55
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
55
|
+
var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service86;
|
|
57
57
|
const global = yield* Global.Service;
|
|
58
58
|
const context = yield* Effect.context();
|
|
@@ -75,7 +75,7 @@ var makeLayer = (options = {}) => Layer.effect(Service44, Effect.gen(function* (
|
|
|
75
75
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
76
76
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
77
77
|
if (!found)
|
|
78
|
-
return yield* new
|
|
78
|
+
return yield* new NotFoundError4({ ptyID: id });
|
|
79
79
|
return found;
|
|
80
80
|
});
|
|
81
81
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -165,7 +165,7 @@ var makeLayer = (options = {}) => Layer.effect(Service44, Effect.gen(function* (
|
|
|
165
165
|
});
|
|
166
166
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
167
167
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
168
|
-
return yield* new
|
|
168
|
+
return yield* new UnavailableError4({ message: "lines must be an integer between 1 and 65535" });
|
|
169
169
|
const id = current.get(sessionID);
|
|
170
170
|
if (!id)
|
|
171
171
|
return null;
|
|
@@ -242,7 +242,7 @@ var makeLayer = (options = {}) => Layer.effect(Service44, Effect.gen(function* (
|
|
|
242
242
|
detach: attachment.detach
|
|
243
243
|
};
|
|
244
244
|
});
|
|
245
|
-
return
|
|
245
|
+
return Service21.of({
|
|
246
246
|
list,
|
|
247
247
|
get,
|
|
248
248
|
create,
|
|
@@ -258,17 +258,17 @@ var makeLayer = (options = {}) => Layer.effect(Service44, Effect.gen(function* (
|
|
|
258
258
|
attach
|
|
259
259
|
});
|
|
260
260
|
}));
|
|
261
|
-
var
|
|
262
|
-
var
|
|
263
|
-
service:
|
|
264
|
-
layer: options === undefined ?
|
|
261
|
+
var layer12 = makeLayer();
|
|
262
|
+
var configured3 = (options) => makeGlobalNode({
|
|
263
|
+
service: Service21,
|
|
264
|
+
layer: options === undefined ? layer12 : makeLayer(options),
|
|
265
265
|
deps: [node90, Global.node]
|
|
266
266
|
});
|
|
267
|
-
var
|
|
267
|
+
var node24 = configured3();
|
|
268
268
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
269
269
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
270
|
-
var unexpected = (response) => Effect.fail(new
|
|
271
|
-
var unavailable = (error) => new
|
|
270
|
+
var unexpected = (response) => Effect.fail(new UnavailableError4({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
271
|
+
var unavailable = (error) => new UnavailableError4({ message: error instanceof Error ? error.message : String(error) });
|
|
272
272
|
function toInfo(value) {
|
|
273
273
|
const status = value.lifecycle.status;
|
|
274
274
|
return {
|
|
@@ -300,4 +300,4 @@ function fromID(value) {
|
|
|
300
300
|
return parsed;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
-
export {
|
|
303
|
+
export { Options3, UnavailableError4, NotFoundError4, Service21, layer12, configured3, node24, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-t3tgzswk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID15,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-ghsy9na1.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-yb20nhc3.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID15.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-wakvkjy4.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-1kn6jdkn.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-8z6m94af.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update2
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -22,7 +22,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
22
22
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
function
|
|
25
|
+
function update2(adapter, event) {
|
|
26
26
|
const created = DateTime.makeUnsafe(event.created);
|
|
27
27
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
28
28
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -403,4 +403,4 @@ function update3(adapter, event) {
|
|
|
403
403
|
return project(event);
|
|
404
404
|
}
|
|
405
405
|
|
|
406
|
-
export {
|
|
406
|
+
export { update2, exports_message_updater };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-jb1qvvx4.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-1kn6jdkn.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-8z6m94af.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info9,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service31,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node35,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info9 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service31 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make21({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make20({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service87;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service31.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node35 = makeGlobalNode({ service: Service31, layer, deps: [node91] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info9, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service31, node35, exports_instruction_entry };
|