@opencode/core 0.0.0-dev-21734 → 0.0.0-dev-21737
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{persistent-pty-7rrajkn6.js → instance-02dt31v8.js} +10 -10
- package/dist/chunks/{persistent-pty-034tev2y.js → instance-034tev2y.js} +2 -2
- package/dist/chunks/{persistent-pty-yngw6wxf.js → instance-088c5sek.js} +27 -27
- package/dist/chunks/{persistent-pty-0bjvb68n.js → instance-0ctjbtkm.js} +35 -35
- package/dist/chunks/{persistent-pty-h42ma301.js → instance-0ctq0r6c.js} +9 -9
- package/dist/chunks/{persistent-pty-skvb6hty.js → instance-10635h6a.js} +5 -5
- package/dist/chunks/{persistent-pty-xq1w8mg4.js → instance-1711wf45.js} +12 -12
- package/dist/chunks/{persistent-pty-c3qhhm1y.js → instance-17eebdcn.js} +18 -18
- package/dist/chunks/{persistent-pty-y9cdfkc4.js → instance-19035ffm.js} +24 -24
- package/dist/chunks/{persistent-pty-1ep2p91f.js → instance-1ep2p91f.js} +2 -2
- package/dist/chunks/{persistent-pty-8hdpe52s.js → instance-1v4g4vrq.js} +25 -25
- package/dist/chunks/{persistent-pty-ce5jk55z.js → instance-1vayb35z.js} +2 -2
- package/dist/chunks/{persistent-pty-gj8x1tda.js → instance-1vdntpm3.js} +5 -5
- package/dist/chunks/{persistent-pty-fggnmsc4.js → instance-1w9z903r.js} +18 -18
- package/dist/chunks/{persistent-pty-1x2knyw4.js → instance-1x2knyw4.js} +1 -1
- package/dist/chunks/{persistent-pty-hbjmb8md.js → instance-1x73k67a.js} +6 -6
- package/dist/chunks/{persistent-pty-1yq9hg58.js → instance-1yq9hg58.js} +1 -1
- package/dist/chunks/{persistent-pty-b3cs7hat.js → instance-1z5rbtxr.js} +11 -11
- package/dist/chunks/{persistent-pty-1z6jjy5p.js → instance-1z6jjy5p.js} +3 -3
- package/dist/chunks/{persistent-pty-03qj99jn.js → instance-20nkek7e.js} +2 -2
- package/dist/chunks/{persistent-pty-szdqchb7.js → instance-2775smn5.js} +9 -9
- package/dist/chunks/{persistent-pty-9get8zjh.js → instance-27mh3p24.js} +40 -40
- package/dist/chunks/{persistent-pty-34kc3y55.js → instance-293ash8w.js} +23 -23
- package/dist/chunks/{persistent-pty-ge050bsd.js → instance-2bfs8gn1.js} +12 -12
- package/dist/chunks/{persistent-pty-cx2kx0qt.js → instance-2bqg4c0g.js} +22 -22
- package/dist/chunks/{persistent-pty-fsmg7dz8.js → instance-2egtfhny.js} +11 -11
- package/dist/chunks/{persistent-pty-yk8k27y0.js → instance-2kn5j6w6.js} +24 -24
- package/dist/chunks/{persistent-pty-3gv0spa2.js → instance-2mbjfaxd.js} +4 -4
- package/dist/chunks/{persistent-pty-pesbm1zb.js → instance-2q8dpnb4.js} +10 -10
- package/dist/chunks/{persistent-pty-reectsvn.js → instance-2yjs4dd9.js} +28 -28
- package/dist/chunks/{persistent-pty-2z1j29yd.js → instance-2z1j29yd.js} +1 -1
- package/dist/chunks/{persistent-pty-s56mqf4d.js → instance-2zvb95hn.js} +9 -9
- package/dist/chunks/{persistent-pty-sgy5bk4a.js → instance-35gggtsy.js} +17 -17
- package/dist/chunks/{persistent-pty-091vk1nr.js → instance-3ctfd0xr.js} +28 -28
- package/dist/chunks/{persistent-pty-3hepkmqq.js → instance-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-8tkzkck7.js → instance-3k4kes42.js} +12 -12
- package/dist/chunks/{persistent-pty-3nnrz6f6.js → instance-3nnrz6f6.js} +1 -1
- package/dist/chunks/{persistent-pty-wrevpsh3.js → instance-3td9dqfv.js} +33 -33
- package/dist/chunks/{persistent-pty-h49tjgxv.js → instance-3ycrc1ma.js} +10 -10
- package/dist/chunks/{persistent-pty-40za9wsf.js → instance-40za9wsf.js} +2 -2
- package/dist/chunks/{persistent-pty-m6ccv8cv.js → instance-47g3wcfd.js} +16 -16
- package/dist/chunks/{persistent-pty-8fttzn5c.js → instance-4c098nn7.js} +11 -11
- package/dist/chunks/{persistent-pty-nc3280dk.js → instance-4ehrwgae.js} +32 -32
- package/dist/chunks/{persistent-pty-ypvpgzxc.js → instance-4t73j1de.js} +30 -30
- package/dist/chunks/{persistent-pty-4v008n1t.js → instance-4v008n1t.js} +1 -1
- package/dist/chunks/{persistent-pty-f9wddpqr.js → instance-4v7paddd.js} +52 -52
- package/dist/chunks/{persistent-pty-4xvmh7wp.js → instance-4xvmh7wp.js} +3 -3
- package/dist/chunks/{persistent-pty-1wr4254w.js → instance-51caqphj.js} +16 -16
- package/dist/chunks/{persistent-pty-tay0mcsq.js → instance-53qrycfh.js} +7 -7
- package/dist/chunks/{persistent-pty-660eev4r.js → instance-5bjenpp2.js} +21 -21
- package/dist/chunks/{persistent-pty-jv13vvcg.js → instance-5fp4xtg6.js} +9 -9
- package/dist/chunks/{persistent-pty-5m9w47nd.js → instance-5m9w47nd.js} +1 -1
- package/dist/chunks/{persistent-pty-68ed1heq.js → instance-5p3sssfk.js} +3 -3
- package/dist/chunks/{persistent-pty-408p0c2c.js → instance-5p675g39.js} +32 -32
- package/dist/chunks/{persistent-pty-jw74enqw.js → instance-5q1xfxjj.js} +22 -22
- package/dist/chunks/{persistent-pty-04jfy8dp.js → instance-5veaeck1.js} +29 -29
- package/dist/chunks/{persistent-pty-gkta77xp.js → instance-5z5p6ttv.js} +26 -26
- package/dist/chunks/{persistent-pty-5m7egt4k.js → instance-610xxm5v.js} +36 -36
- package/dist/chunks/{persistent-pty-f9mjwvbf.js → instance-642xwb08.js} +3 -3
- package/dist/chunks/{persistent-pty-s95241p9.js → instance-6emq4fjq.js} +5 -5
- package/dist/chunks/{persistent-pty-6esdw8yj.js → instance-6esdw8yj.js} +1 -1
- package/dist/chunks/{persistent-pty-6pjqjmy2.js → instance-6pjqjmy2.js} +1 -1
- package/dist/chunks/{persistent-pty-avt17yc9.js → instance-6wdcbwmk.js} +11 -11
- package/dist/chunks/{persistent-pty-fvkpm49k.js → instance-6y712hff.js} +46 -46
- package/dist/chunks/{persistent-pty-76cb1hcw.js → instance-76cb1hcw.js} +1 -1
- package/dist/chunks/{persistent-pty-nah043kf.js → instance-770pw0s1.js} +4 -4
- package/dist/chunks/{persistent-pty-7bmhse3q.js → instance-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-7w2ypzdf.js → instance-7w2ypzdf.js} +1 -1
- package/dist/chunks/{persistent-pty-05gkwb83.js → instance-7y4cxz3x.js} +6 -6
- package/dist/chunks/{persistent-pty-zteabxmp.js → instance-853yp9pp.js} +4 -4
- package/dist/chunks/{persistent-pty-9rvvae9w.js → instance-89pz5jjr.js} +18 -18
- package/dist/chunks/{persistent-pty-j8fhehe3.js → instance-8ev1pcqt.js} +11 -11
- package/dist/chunks/{persistent-pty-23fw7d8n.js → instance-8jvfs95y.js} +9 -9
- package/dist/chunks/{persistent-pty-00s53wgx.js → instance-8sk496c6.js} +4 -4
- package/dist/chunks/{persistent-pty-294nmx0v.js → instance-8svwavre.js} +44 -44
- package/dist/chunks/{persistent-pty-8wtp7s3z.js → instance-8wtp7s3z.js} +1 -1
- package/dist/chunks/{persistent-pty-8ybp78tx.js → instance-8ybp78tx.js} +1 -1
- package/dist/chunks/{persistent-pty-91rj84md.js → instance-91rj84md.js} +1 -1
- package/dist/chunks/{persistent-pty-ztffxed8.js → instance-95m1jc4b.js} +10 -10
- package/dist/chunks/{persistent-pty-998yhzzq.js → instance-998yhzzq.js} +3 -3
- package/dist/chunks/{persistent-pty-3mferp1a.js → instance-9b05c6b7.js} +26 -26
- package/dist/chunks/{persistent-pty-ef2tezb6.js → instance-9dk4f4hb.js} +2 -2
- package/dist/chunks/{persistent-pty-pczbwg7v.js → instance-9dtpar6r.js} +5 -5
- package/dist/chunks/{persistent-pty-q9yhf14s.js → instance-9kf05tb8.js} +36 -36
- package/dist/chunks/{persistent-pty-khr1vc7x.js → instance-9my9g56e.js} +20 -20
- package/dist/chunks/{persistent-pty-ax6rcmt6.js → instance-9qbd9s9q.js} +16 -16
- package/dist/chunks/{persistent-pty-njpcv6ga.js → instance-9vhn202w.js} +11 -11
- package/dist/chunks/{persistent-pty-esn29r3v.js → instance-a2yp0tmx.js} +64 -64
- package/dist/chunks/{persistent-pty-pjs8qn0x.js → instance-abk0pn4m.js} +29 -29
- package/dist/chunks/{persistent-pty-ja63h2sr.js → instance-afmnpta1.js} +5 -5
- package/dist/chunks/instance-ahm8v5j6.js +523 -0
- package/dist/chunks/{persistent-pty-3ntfh06s.js → instance-asaqahta.js} +8 -8
- package/dist/chunks/{persistent-pty-8gfmmcm9.js → instance-askypgp9.js} +7 -7
- package/dist/chunks/{persistent-pty-mw7msr43.js → instance-axn73wqb.js} +23 -23
- package/dist/chunks/{persistent-pty-ayjs7tqn.js → instance-ayjs7tqn.js} +2 -2
- package/dist/chunks/{persistent-pty-b0mv4wxm.js → instance-b0mv4wxm.js} +2 -2
- package/dist/chunks/{persistent-pty-161q6wr2.js → instance-b1hcxr8y.js} +26 -26
- package/dist/chunks/{persistent-pty-fd4whgj1.js → instance-b28hx4qj.js} +12 -12
- package/dist/chunks/{persistent-pty-b6vsg801.js → instance-b6vsg801.js} +2 -2
- package/dist/chunks/{persistent-pty-rjdr2w59.js → instance-b7smkqqm.js} +17 -17
- package/dist/chunks/{persistent-pty-vd2fkr8n.js → instance-bbs6shzm.js} +24 -24
- package/dist/chunks/{persistent-pty-18g90bpv.js → instance-bgm817xr.js} +9 -9
- package/dist/chunks/{persistent-pty-rrad2nt9.js → instance-bjhzkqyk.js} +4 -4
- package/dist/chunks/{persistent-pty-3e5cks6s.js → instance-bpbwb3wq.js} +33 -33
- package/dist/chunks/{persistent-pty-5qv54f7z.js → instance-bqwdyg2t.js} +9 -9
- package/dist/chunks/{persistent-pty-0ahs07zn.js → instance-br0kkpnn.js} +7 -7
- package/dist/chunks/{persistent-pty-bstexjd6.js → instance-bstexjd6.js} +1 -1
- package/dist/chunks/{persistent-pty-k1pq61t6.js → instance-bx3xrfzp.js} +45 -45
- package/dist/chunks/{persistent-pty-m6nxwkyz.js → instance-bxvjcbaj.js} +1 -1
- package/dist/chunks/{persistent-pty-bhyfhejz.js → instance-c6b31jwj.js} +15 -15
- package/dist/chunks/{persistent-pty-9syqs7e3.js → instance-c96nb0f0.js} +25 -25
- package/dist/chunks/{persistent-pty-b1pn0vxn.js → instance-c9t2ty9q.js} +4 -4
- package/dist/chunks/{persistent-pty-6ydxn510.js → instance-cabf55wf.js} +4 -4
- package/dist/chunks/{persistent-pty-1v15skyy.js → instance-cd4f8jq7.js} +2 -2
- package/dist/chunks/{persistent-pty-phjxmwhn.js → instance-ctetrk4r.js} +13 -13
- package/dist/chunks/{persistent-pty-d4v9tmah.js → instance-d4v9tmah.js} +2 -2
- package/dist/chunks/{persistent-pty-ftsvrs41.js → instance-dbj947r6.js} +17 -17
- package/dist/chunks/{persistent-pty-r8qav4j0.js → instance-ddb04n1a.js} +5 -5
- package/dist/chunks/{persistent-pty-033a0jkt.js → instance-dh62xe4r.js} +3 -3
- package/dist/chunks/{persistent-pty-121mwpky.js → instance-dhk19yg2.js} +15 -15
- package/dist/chunks/{persistent-pty-8ykqf5wm.js → instance-dp66fs17.js} +11 -11
- package/dist/chunks/{persistent-pty-rqvbyf66.js → instance-dpe8rc26.js} +25 -25
- package/dist/chunks/{persistent-pty-mmkbt6v3.js → instance-dqgvvwe0.js} +9 -9
- package/dist/chunks/{persistent-pty-9j1dz88j.js → instance-dv2syv1m.js} +19 -19
- package/dist/chunks/{persistent-pty-fn8ks8sk.js → instance-e0gen651.js} +4 -4
- package/dist/chunks/{persistent-pty-8k8pzbp4.js → instance-e471twwt.js} +8 -8
- package/dist/chunks/{persistent-pty-cech5wam.js → instance-e57twazt.js} +11 -11
- package/dist/chunks/{persistent-pty-54bdth8f.js → instance-e5tf2np9.js} +18 -18
- package/dist/chunks/{persistent-pty-h57qbt9v.js → instance-e6bvka47.js} +4 -4
- package/dist/chunks/{persistent-pty-anm6wys2.js → instance-e80eabp6.js} +2 -2
- package/dist/chunks/{persistent-pty-e834z07m.js → instance-e834z07m.js} +1 -1
- package/dist/chunks/{persistent-pty-ccjrskvd.js → instance-eakmfrt3.js} +13 -13
- package/dist/chunks/{persistent-pty-rw3vattc.js → instance-echp3k58.js} +3 -3
- package/dist/chunks/{persistent-pty-ef5x83kb.js → instance-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-q17z9dx8.js → instance-engkm2d6.js} +5 -5
- package/dist/chunks/{persistent-pty-ae89zrxe.js → instance-enz4a2en.js} +11 -11
- package/dist/chunks/{persistent-pty-fxyx2m2r.js → instance-erjdy8sv.js} +6 -6
- package/dist/chunks/{persistent-pty-e8nh79sb.js → instance-ewakfpsq.js} +9 -9
- package/dist/chunks/{persistent-pty-pnr414s4.js → instance-f1f3975j.js} +21 -21
- package/dist/chunks/{persistent-pty-j1yh4sgk.js → instance-f4fb2d7e.js} +13 -13
- package/dist/chunks/{persistent-pty-pykbr5hq.js → instance-fc0528q2.js} +11 -11
- package/dist/chunks/{persistent-pty-bf187ngt.js → instance-ffd2g7hr.js} +3 -3
- package/dist/chunks/{persistent-pty-fffv3p7h.js → instance-fffv3p7h.js} +1 -1
- package/dist/chunks/{persistent-pty-y7np224s.js → instance-ffsf9a2h.js} +3 -3
- package/dist/chunks/{persistent-pty-wb3scwf2.js → instance-fp9pkdw7.js} +23 -23
- package/dist/chunks/{persistent-pty-h8x3rwmh.js → instance-fvv0jnmf.js} +2 -2
- package/dist/chunks/{persistent-pty-cvfh7m2t.js → instance-fwgan59a.js} +8 -8
- package/dist/chunks/{persistent-pty-w687dnns.js → instance-fznmdakp.js} +4 -4
- package/dist/chunks/{persistent-pty-8km5q4vd.js → instance-g1phf3b6.js} +88 -88
- package/dist/chunks/{persistent-pty-g5h9c0rr.js → instance-g5h9c0rr.js} +2 -2
- package/dist/chunks/{persistent-pty-10bbn146.js → instance-gb0ewatt.js} +5 -5
- package/dist/chunks/{persistent-pty-33jdcjy6.js → instance-gjar511g.js} +16 -16
- package/dist/chunks/{persistent-pty-xh5r1497.js → instance-gpn6xwvy.js} +31 -31
- package/dist/chunks/{persistent-pty-mmwnf7h5.js → instance-gvqfccsa.js} +20 -20
- package/dist/chunks/{persistent-pty-a5wwxj4r.js → instance-h366y0sc.js} +1 -1
- package/dist/chunks/{persistent-pty-2zve0z6t.js → instance-h3jmw0tb.js} +17 -17
- package/dist/chunks/{persistent-pty-6pgzxxev.js → instance-h4d9g09r.js} +8 -8
- package/dist/chunks/{persistent-pty-e6gw0w82.js → instance-h5mmjbq4.js} +11 -11
- package/dist/chunks/{persistent-pty-s7kyse9r.js → instance-h7d4rbrg.js} +4 -4
- package/dist/chunks/instance-h9zvwft0.js +26 -0
- package/dist/chunks/{persistent-pty-atkwrhtv.js → instance-hch4wa3n.js} +4 -4
- package/dist/chunks/{persistent-pty-7wyxsj6k.js → instance-hjnchz58.js} +4 -4
- package/dist/chunks/instance-hpghverr.js +257 -0
- package/dist/chunks/{persistent-pty-eh8nrxr4.js → instance-hsdsbr8p.js} +13 -13
- package/dist/chunks/{persistent-pty-5a4vd8th.js → instance-hw3a1frf.js} +8 -8
- package/dist/chunks/{persistent-pty-j113cymg.js → instance-j113cymg.js} +1 -1
- package/dist/chunks/{persistent-pty-6n590pe1.js → instance-jjq9b699.js} +17 -17
- package/dist/chunks/{persistent-pty-xw8kzvbj.js → instance-jjwxyjch.js} +56 -56
- package/dist/chunks/{persistent-pty-w7zjqt6n.js → instance-jkg2pe84.js} +4 -4
- package/dist/chunks/{persistent-pty-1v7y2gfm.js → instance-jvgtj92a.js} +11 -11
- package/dist/chunks/{persistent-pty-66nsc0mc.js → instance-k1smcb56.js} +7 -7
- package/dist/chunks/{persistent-pty-kf3n0zsb.js → instance-k3pb8hgw.js} +11 -11
- package/dist/chunks/{persistent-pty-t42gxy5r.js → instance-k732j073.js} +7 -7
- package/dist/chunks/{persistent-pty-k814nvkf.js → instance-k814nvkf.js} +1 -1
- package/dist/chunks/{persistent-pty-g0qn3exy.js → instance-k95pkqgn.js} +11 -11
- package/dist/chunks/{persistent-pty-sy012hfn.js → instance-kb4gstwj.js} +5 -5
- package/dist/chunks/{persistent-pty-rk6acy23.js → instance-kp488srz.js} +19 -19
- package/dist/chunks/{persistent-pty-jxvpemrm.js → instance-kpa7ewzp.js} +50 -50
- package/dist/chunks/{persistent-pty-x4gbert3.js → instance-kph269xd.js} +7 -7
- package/dist/chunks/{persistent-pty-2qkmb929.js → instance-kzvxyj4g.js} +48 -48
- package/dist/chunks/{persistent-pty-md3qpsr3.js → instance-m15ha2ry.js} +6 -6
- package/dist/chunks/{persistent-pty-m1714858.js → instance-m1714858.js} +1 -1
- package/dist/chunks/{persistent-pty-xkhfjrgz.js → instance-m5jcjszt.js} +3 -3
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → instance-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-dgxgs7gd.js → instance-m9z63v8y.js} +14 -14
- package/dist/chunks/{persistent-pty-jneg3k74.js → instance-masd7ga8.js} +4 -4
- package/dist/chunks/{persistent-pty-maspj1v3.js → instance-maspj1v3.js} +1 -1
- package/dist/chunks/{persistent-pty-25yt9nvs.js → instance-md5eedcr.js} +22 -22
- package/dist/chunks/instance-me0dhgxs.js +18 -0
- package/dist/chunks/{persistent-pty-csnb57rc.js → instance-mvxzpk9t.js} +18 -18
- package/dist/chunks/{persistent-pty-fpe37385.js → instance-mywamg18.js} +17 -17
- package/dist/chunks/{persistent-pty-n0p0277s.js → instance-n0p0277s.js} +1 -1
- package/dist/chunks/{persistent-pty-q96z823n.js → instance-n9c29d0n.js} +24 -24
- package/dist/chunks/{persistent-pty-2kyrhkym.js → instance-nnz11nkd.js} +5 -5
- package/dist/chunks/{persistent-pty-p3ns8jke.js → instance-nwr7kgq9.js} +16 -16
- package/dist/chunks/{persistent-pty-p015t6z3.js → instance-p015t6z3.js} +2 -2
- package/dist/chunks/{persistent-pty-hbabaj69.js → instance-pe51nsgx.js} +14 -14
- package/dist/chunks/{persistent-pty-pknna89w.js → instance-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-ha1j02re.js → instance-pmd3r3az.js} +18 -18
- package/dist/chunks/{persistent-pty-6pe7vn7p.js → instance-q0gsxww0.js} +15 -15
- package/dist/chunks/{persistent-pty-vgk61ywp.js → instance-q46y00v4.js} +9 -9
- package/dist/chunks/{persistent-pty-0725bc3m.js → instance-q7s0nv2v.js} +21 -21
- package/dist/chunks/{persistent-pty-qjgzc4b4.js → instance-qjgzc4b4.js} +1 -1
- package/dist/chunks/{persistent-pty-7qq4ydd3.js → instance-qt4jsws8.js} +14 -14
- package/dist/chunks/{persistent-pty-r0yr0wbs.js → instance-r0yr0wbs.js} +1 -1
- package/dist/chunks/{persistent-pty-6feaf270.js → instance-r1eejvwv.js} +24 -24
- package/dist/chunks/{persistent-pty-4wwst2cr.js → instance-r1gh9dqs.js} +17 -17
- package/dist/chunks/{persistent-pty-r1k9m3eb.js → instance-r6wgv8c9.js} +4 -4
- package/dist/chunks/{persistent-pty-rb9dy4dg.js → instance-rb9dy4dg.js} +1 -1
- package/dist/chunks/{persistent-pty-fbbt1p90.js → instance-rkvwesem.js} +25 -25
- package/dist/chunks/{persistent-pty-zf39jeyk.js → instance-rqkaytd9.js} +18 -18
- package/dist/chunks/{persistent-pty-rt5dr6hb.js → instance-rt5dr6hb.js} +1 -1
- package/dist/chunks/{persistent-pty-4s7gz49e.js → instance-rvgabk9x.js} +43 -43
- package/dist/chunks/{persistent-pty-hvmts6en.js → instance-rvzpa6jr.js} +20 -20
- package/dist/chunks/{persistent-pty-d9jre66y.js → instance-rxwmntmh.js} +9 -9
- package/dist/chunks/{persistent-pty-gqyxmvm3.js → instance-rzvxyg0k.js} +35 -35
- package/dist/chunks/{persistent-pty-c4phwmq5.js → instance-s2pfznc4.js} +6 -6
- package/dist/chunks/{persistent-pty-y0f86df7.js → instance-s3gwhamz.js} +10 -10
- package/dist/chunks/{persistent-pty-bpvzah12.js → instance-sb1w6q8t.js} +8 -8
- package/dist/chunks/{persistent-pty-g6dbhsy2.js → instance-sbjpfk9j.js} +21 -21
- package/dist/chunks/{persistent-pty-rdah1jex.js → instance-sgc7peew.js} +10 -10
- package/dist/chunks/{persistent-pty-54zw250x.js → instance-sk0aa0ct.js} +3 -3
- package/dist/chunks/{persistent-pty-wb4j7ppe.js → instance-sn8kw23h.js} +10 -10
- package/dist/chunks/{persistent-pty-g5p6kgnn.js → instance-snw911r3.js} +15 -15
- package/dist/chunks/{persistent-pty-sqjzf8x2.js → instance-sqjzf8x2.js} +1 -1
- package/dist/chunks/{persistent-pty-6b7kqf9p.js → instance-srsrqy0f.js} +3 -3
- package/dist/chunks/{persistent-pty-fk3tbwms.js → instance-stcda1zc.js} +18 -18
- package/dist/chunks/{persistent-pty-dctwdp88.js → instance-szte2x2z.js} +4 -4
- package/dist/chunks/{persistent-pty-gc6gmd57.js → instance-t3tsa2ye.js} +19 -19
- package/dist/chunks/{persistent-pty-bt7dwcvz.js → instance-ta7jjj4f.js} +34 -34
- package/dist/chunks/{persistent-pty-fkdwm9b5.js → instance-tbvtksn9.js} +15 -15
- package/dist/chunks/{persistent-pty-tczq8hjw.js → instance-tczq8hjw.js} +1 -1
- package/dist/chunks/{persistent-pty-w8ghnhvg.js → instance-tde2w7cv.js} +171 -171
- package/dist/chunks/{persistent-pty-6bjkdwrx.js → instance-tw457wh2.js} +25 -25
- package/dist/chunks/{persistent-pty-qgy371m4.js → instance-tw86pxrh.js} +16 -16
- package/dist/chunks/{persistent-pty-tw8zr1ps.js → instance-tw8zr1ps.js} +1 -1
- package/dist/chunks/{persistent-pty-twv2r8f4.js → instance-twv2r8f4.js} +2 -2
- package/dist/chunks/{persistent-pty-v2r1d0zg.js → instance-v2r1d0zg.js} +1 -1
- package/dist/chunks/{persistent-pty-vzpstrvw.js → instance-v5b8vtwg.js} +28 -28
- package/dist/chunks/{persistent-pty-vd3b3yk9.js → instance-vd3b3yk9.js} +1 -1
- package/dist/chunks/{persistent-pty-veqvce7d.js → instance-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-1r5fcxrd.js → instance-vf277hbe.js} +15 -15
- package/dist/chunks/{persistent-pty-8ze93nwk.js → instance-vjt9jkrp.js} +8 -8
- package/dist/chunks/{persistent-pty-hqhqtbhg.js → instance-vkt8ces8.js} +11 -11
- package/dist/chunks/{persistent-pty-g7esga4v.js → instance-vmfhgzt5.js} +5 -5
- package/dist/chunks/{persistent-pty-61g7nd3s.js → instance-vnzjz98e.js} +10 -10
- package/dist/chunks/{persistent-pty-8m8genj6.js → instance-vy7et17m.js} +35 -35
- package/dist/chunks/{persistent-pty-msan5q7r.js → instance-w08vq82x.js} +4 -4
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → instance-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-ctasavsb.js → instance-w6kgknx6.js} +16 -16
- package/dist/chunks/{persistent-pty-xxcxpnax.js → instance-w96pavd2.js} +25 -25
- package/dist/chunks/{persistent-pty-wakvkjy4.js → instance-wakvkjy4.js} +1 -1
- package/dist/chunks/{persistent-pty-wd87259q.js → instance-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-wwmj1kay.js → instance-wkms8jwf.js} +12 -12
- package/dist/chunks/{persistent-pty-esf8vws2.js → instance-wm9p1wa6.js} +12 -12
- package/dist/chunks/{persistent-pty-jbfg18k8.js → instance-wp6eyfmb.js} +26 -26
- package/dist/chunks/{persistent-pty-yayqpxs7.js → instance-wqajsaab.js} +22 -22
- package/dist/chunks/{persistent-pty-gz08a6qd.js → instance-wr10xvwd.js} +1 -1
- package/dist/chunks/{persistent-pty-ac29g10j.js → instance-wr70de5k.js} +9 -9
- package/dist/chunks/{persistent-pty-1mbb3nqq.js → instance-wv99nc14.js} +11 -11
- package/dist/chunks/{persistent-pty-t4g57g0x.js → instance-wv9jcb24.js} +25 -25
- package/dist/chunks/{persistent-pty-wgh1engb.js → instance-x16pg8z3.js} +17 -17
- package/dist/chunks/{persistent-pty-ajn3f7q8.js → instance-x6v60zdr.js} +40 -40
- package/dist/chunks/{persistent-pty-cpkbxa7x.js → instance-xfze03cg.js} +9 -9
- package/dist/chunks/{persistent-pty-fnx72q8e.js → instance-xm7mgsfh.js} +36 -36
- package/dist/chunks/{persistent-pty-eh70mckh.js → instance-xq9c1t8e.js} +87 -87
- package/dist/chunks/{persistent-pty-f5vh2ee2.js → instance-xzkexmd1.js} +16 -16
- package/dist/chunks/{persistent-pty-kn420qbw.js → instance-y96djp85.js} +12 -12
- package/dist/chunks/{persistent-pty-s2bbvfew.js → instance-ya1bkq1k.js} +1 -1
- package/dist/chunks/{persistent-pty-yb20nhc3.js → instance-yb20nhc3.js} +1 -1
- package/dist/chunks/{persistent-pty-160yv0cs.js → instance-ydsespw1.js} +4 -4
- package/dist/chunks/{persistent-pty-t3qvsv4x.js → instance-yf7527zt.js} +7 -7
- package/dist/chunks/{persistent-pty-0c68abaz.js → instance-yxjgv99z.js} +15 -15
- package/dist/chunks/{persistent-pty-j15yj0h5.js → instance-yyptqvsv.js} +16 -16
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → instance-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-2q88n7qb.js → instance-z1xt9gh3.js} +4 -4
- package/dist/chunks/{persistent-pty-z38nccrw.js → instance-z38nccrw.js} +1 -1
- package/dist/chunks/{persistent-pty-bwnaxshz.js → instance-zf94a030.js} +30 -30
- package/dist/chunks/{persistent-pty-zkg84ctx.js → instance-zkg84ctx.js} +1 -1
- package/dist/chunks/{persistent-pty-01res37g.js → instance-zqa08gsz.js} +18 -18
- package/dist/chunks/{persistent-pty-tjb7g1kd.js → instance-zxnnk3gz.js} +14 -14
- 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 +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 +116 -116
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.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 +94 -94
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- 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 +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- 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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- 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 +93 -93
- 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 +361 -361
- package/dist/instruction-discovery.js +86 -86
- 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 +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +138 -138
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +99 -99
- package/dist/model-retry.js +1 -1
- package/dist/model.js +98 -98
- package/dist/models-dev.js +103 -103
- 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 +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- 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 +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- 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 +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- 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 +125 -125
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +103 -103
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +130 -130
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- 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 +114 -114
- 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 +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 +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +91 -91
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +97 -97
- 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 +95 -95
- package/dist/session/message-updater.js +2 -2
- 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 +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +102 -102
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +8 -8
- 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 +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- 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 +139 -139
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- 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/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- 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 +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-18cbc7hj.js +0 -523
- package/dist/chunks/persistent-pty-6903n5ex.js +0 -26
- package/dist/chunks/persistent-pty-fvd0rj3z.js +0 -257
- package/dist/chunks/persistent-pty-grzehpz7.js +0 -18
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → instance-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → instance-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → instance-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → instance-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → instance-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → instance-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2bv980vf.js → instance-2bv980vf.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → instance-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → instance-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → instance-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → instance-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → instance-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → instance-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → instance-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → instance-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → instance-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → instance-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → instance-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5fjb7ams.js → instance-5fjb7ams.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → instance-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-6q2bdcd1.js → instance-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → instance-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → instance-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → instance-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-84wd9syh.js → instance-84wd9syh.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → instance-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → instance-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → instance-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → instance-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → instance-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a058387c.js → instance-a058387c.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → instance-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → instance-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → instance-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → instance-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → instance-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → instance-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → instance-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → instance-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → instance-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → instance-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → instance-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → instance-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → instance-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → instance-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → instance-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e3qxr5gk.js → instance-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → instance-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → instance-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → instance-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → instance-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → instance-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → instance-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → instance-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → instance-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → instance-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → instance-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → instance-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → instance-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → instance-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hcxmzztb.js → instance-hcxmzztb.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → instance-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → instance-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → instance-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → instance-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → instance-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → instance-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jze0r7bz.js → instance-jze0r7bz.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → instance-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-m18g726c.js → instance-m18g726c.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → instance-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → instance-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → instance-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → instance-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → instance-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-pkyv6v7h.js → instance-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → instance-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → instance-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → instance-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → instance-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → instance-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → instance-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → instance-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → instance-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → instance-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → instance-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ve7vex1e.js → instance-ve7vex1e.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → instance-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → instance-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → instance-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wjj7prxr.js → instance-wjj7prxr.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → instance-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → instance-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → instance-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → instance-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → instance-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → instance-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → instance-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z5v4ffb3.js → instance-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → instance-z9919s4g.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info24,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status3,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info24 = Connection.Info;
|
|
19
19
|
var Status3 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info24, Status3, key2, exports_connection };
|
|
@@ -1,79 +1,79 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-5p3sssfk.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-cabf55wf.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service48
|
|
9
|
+
} from "./instance-s2pfznc4.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-k814nvkf.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError7,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instance-erjdy8sv.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./instance-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service53
|
|
29
|
+
} from "./instance-3k4kes42.js";
|
|
30
30
|
import {
|
|
31
31
|
SyntheticPayload2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
Service46
|
|
33
|
+
} from "./instance-n9c29d0n.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service44
|
|
36
|
+
} from "./instance-xm7mgsfh.js";
|
|
37
37
|
import {
|
|
38
38
|
prepare2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./instance-47g3wcfd.js";
|
|
40
40
|
import {
|
|
41
41
|
stage2,
|
|
42
42
|
clear2,
|
|
43
43
|
commit2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./instance-w6kgknx6.js";
|
|
45
45
|
import {
|
|
46
46
|
start2
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./instance-wr70de5k.js";
|
|
48
48
|
import {
|
|
49
49
|
get4
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./instance-2zvb95hn.js";
|
|
51
51
|
import {
|
|
52
52
|
__export
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./instance-9rqn6x4v.js";
|
|
54
54
|
|
|
55
55
|
// src/session/session.ts
|
|
56
56
|
var exports_session2 = {};
|
|
57
57
|
__export(exports_session2, {
|
|
58
58
|
Session: () => exports_session2,
|
|
59
|
-
make: () =>
|
|
59
|
+
make: () => make12
|
|
60
60
|
});
|
|
61
61
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
62
62
|
import { Event } from "@opencode/schema/event";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
|
-
var
|
|
64
|
+
var make12 = Effect.fn("Session.make")(function* () {
|
|
65
65
|
const bus = yield* Service85;
|
|
66
66
|
const database = yield* Service86;
|
|
67
|
-
const store = yield*
|
|
68
|
-
const instances = yield*
|
|
69
|
-
const execution = yield*
|
|
70
|
-
const admission = yield*
|
|
67
|
+
const store = yield* Service53;
|
|
68
|
+
const instances = yield* Service48;
|
|
69
|
+
const execution = yield* Service44;
|
|
70
|
+
const admission = yield* Service46;
|
|
71
71
|
const fs = yield* FSUtil.Service;
|
|
72
72
|
const scope = yield* Scope.Scope;
|
|
73
73
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
74
74
|
const session = yield* store.get(sessionID);
|
|
75
75
|
if (!session)
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new NotFoundError7({ sessionID });
|
|
77
77
|
return session;
|
|
78
78
|
});
|
|
79
79
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -146,7 +146,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
146
146
|
});
|
|
147
147
|
if (existing)
|
|
148
148
|
return existing;
|
|
149
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
149
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service48, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
150
150
|
if (session.revert)
|
|
151
151
|
yield* commit2(bus, session);
|
|
152
152
|
return yield* admission.admit({
|
|
@@ -162,7 +162,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
162
162
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
163
163
|
const session = yield* get(sessionID);
|
|
164
164
|
const running = yield* Effect.gen(function* () {
|
|
165
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
165
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service48, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
166
166
|
text: `User shell command failed to start:
|
|
167
167
|
${input.command}
|
|
168
168
|
|
|
@@ -191,7 +191,7 @@ ${error.message}`,
|
|
|
191
191
|
});
|
|
192
192
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
193
193
|
const session = yield* get(sessionID);
|
|
194
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
194
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service48, instances));
|
|
195
195
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
196
196
|
sessionID,
|
|
197
197
|
id: skill.id,
|
|
@@ -248,13 +248,13 @@ ${error.message}`,
|
|
|
248
248
|
const session = yield* get(sessionID);
|
|
249
249
|
if (yield* execution.isActive(sessionID))
|
|
250
250
|
return yield* new BusyError2({ sessionID });
|
|
251
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
251
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service86, database), Effect.provideService(Service85, bus));
|
|
252
252
|
});
|
|
253
253
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
254
254
|
const session = yield* get(sessionID);
|
|
255
255
|
if (yield* execution.isActive(sessionID))
|
|
256
256
|
return yield* new BusyError2({ sessionID });
|
|
257
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
257
|
+
yield* clear2(session).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service85, bus));
|
|
258
258
|
return yield* execution.wake(sessionID);
|
|
259
259
|
});
|
|
260
260
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -346,4 +346,4 @@ ${error.message}`,
|
|
|
346
346
|
return { forSession };
|
|
347
347
|
});
|
|
348
348
|
|
|
349
|
-
export {
|
|
349
|
+
export { make12, exports_session2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-qjgzc4b4.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service3,
|
|
13
|
+
node: () => node4
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service3 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service3.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node4 = makeGlobalNode({ service: Service3, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service3, node4, exports_update };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command4 = {};
|
|
7
|
+
__export(exports_command4, {
|
|
8
|
+
ConfigCommandV1: () => exports_command4,
|
|
9
|
+
Info: () => Info16
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info16 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info20 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info16, exports_command4 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-cabf55wf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./instance-x16pg8z3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service73,
|
|
11
|
+
node76
|
|
12
|
+
} from "./instance-wqajsaab.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
NotFoundError7
|
|
15
|
+
} from "./instance-erjdy8sv.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service53,
|
|
18
|
+
node55
|
|
19
|
+
} from "./instance-3k4kes42.js";
|
|
20
20
|
import {
|
|
21
21
|
match2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./instance-z38nccrw.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service54,
|
|
25
|
+
node56
|
|
26
|
+
} from "./instance-5bjenpp2.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service63,
|
|
29
|
+
node66
|
|
30
|
+
} from "./instance-e471twwt.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./instance-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/permission.ts
|
|
36
36
|
var exports_permission = {};
|
|
@@ -39,28 +39,28 @@ __export(exports_permission, {
|
|
|
39
39
|
CorrectedError: () => CorrectedError2,
|
|
40
40
|
DeclinedError: () => DeclinedError2,
|
|
41
41
|
Effect: () => PermissionEffect,
|
|
42
|
-
Event: () =>
|
|
43
|
-
ID: () =>
|
|
44
|
-
NotFoundError: () =>
|
|
42
|
+
Event: () => Event9,
|
|
43
|
+
ID: () => ID6,
|
|
44
|
+
NotFoundError: () => NotFoundError6,
|
|
45
45
|
Permission: () => exports_permission,
|
|
46
46
|
Reply: () => Reply2,
|
|
47
47
|
Request: () => Request2,
|
|
48
48
|
Rule: () => Rule2,
|
|
49
49
|
Ruleset: () => Ruleset2,
|
|
50
|
-
Service: () =>
|
|
50
|
+
Service: () => Service52,
|
|
51
51
|
Source: () => Source5,
|
|
52
52
|
evaluate: () => evaluate2,
|
|
53
53
|
merge: () => merge2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node54
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
58
58
|
import { Permission } from "@opencode/schema/permission";
|
|
59
59
|
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
60
|
-
import { Event as
|
|
60
|
+
import { Event as Event9 } from "@opencode/schema/permission";
|
|
61
61
|
var PermissionEffect = Permission.Effect;
|
|
62
62
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
63
|
-
var
|
|
63
|
+
var ID6 = Permission.ID;
|
|
64
64
|
var Source5 = Permission.Source;
|
|
65
65
|
var Request2 = Permission.Request;
|
|
66
66
|
var Reply2 = Permission.Reply;
|
|
@@ -84,8 +84,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
class
|
|
88
|
-
requestID:
|
|
87
|
+
class NotFoundError6 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
88
|
+
requestID: ID6
|
|
89
89
|
}) {
|
|
90
90
|
}
|
|
91
91
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -99,15 +99,15 @@ function merge2(...rulesets) {
|
|
|
99
99
|
return rulesets.flat();
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
class
|
|
102
|
+
class Service52 extends Context.Service()("@opencode/Permission") {
|
|
103
103
|
}
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
105
105
|
const bus = yield* Service85;
|
|
106
|
-
const location = yield*
|
|
107
|
-
const agents = yield*
|
|
108
|
-
const sessions = yield*
|
|
109
|
-
const saved = yield*
|
|
110
|
-
const hooks = yield*
|
|
106
|
+
const location = yield* Service81;
|
|
107
|
+
const agents = yield* Service73;
|
|
108
|
+
const sessions = yield* Service53;
|
|
109
|
+
const saved = yield* Service54;
|
|
110
|
+
const hooks = yield* Service63;
|
|
111
111
|
const pending = new Map;
|
|
112
112
|
let closed = false;
|
|
113
113
|
const close = Effect.gen(function* () {
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
130
130
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
131
131
|
const session = yield* sessions.get(sessionID);
|
|
132
132
|
if (!session)
|
|
133
|
-
return yield* new
|
|
133
|
+
return yield* new NotFoundError7({ sessionID });
|
|
134
134
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
135
135
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
136
136
|
});
|
|
@@ -160,7 +160,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
160
160
|
});
|
|
161
161
|
function request(input, message) {
|
|
162
162
|
return {
|
|
163
|
-
id: input.id ??
|
|
163
|
+
id: input.id ?? ID6.create(),
|
|
164
164
|
sessionID: input.sessionID,
|
|
165
165
|
action: input.action,
|
|
166
166
|
resources: input.resources,
|
|
@@ -185,7 +185,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
185
185
|
}));
|
|
186
186
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
187
187
|
if (closed)
|
|
188
|
-
return { id: input.id ??
|
|
188
|
+
return { id: input.id ?? ID6.create(), effect: "deny" };
|
|
189
189
|
const result = yield* evaluateInput(input);
|
|
190
190
|
const value = request(input, result.message);
|
|
191
191
|
if (result.effect === "ask")
|
|
@@ -216,7 +216,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
216
216
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
217
217
|
const existing = pending.get(input.requestID);
|
|
218
218
|
if (!existing)
|
|
219
|
-
return yield* new
|
|
219
|
+
return yield* new NotFoundError6({ requestID: input.requestID });
|
|
220
220
|
yield* bus.publish(Permission.Event.Replied, {
|
|
221
221
|
sessionID: existing.request.sessionID,
|
|
222
222
|
requestID: existing.request.id,
|
|
@@ -271,12 +271,12 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
271
271
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
272
272
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service52.of({ ask, assert, reply, get, forSession, list, close });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node54 = makeLocationNode({
|
|
277
|
+
service: Service52,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [node89,
|
|
279
|
+
deps: [node89, node85, node76, node55, node56, node66]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { PermissionEffect,
|
|
282
|
+
export { PermissionEffect, ID6, Source5, Request2, Reply2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError6, evaluate2, merge2, Service52, node54, exports_permission, Rule2, Ruleset2, Event9 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./instance-x16pg8z3.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-vd3b3yk9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service50,
|
|
17
|
+
node: () => node52
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service50 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service81;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service50.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node52 = makeLocationNode({
|
|
91
|
+
service: Service50,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node85, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service50, node52, exports_formatter2 };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service79,
|
|
4
|
+
node83
|
|
5
|
+
} from "./instance-v5b8vtwg.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -17,22 +17,22 @@ import {
|
|
|
17
17
|
mergeHeaders2,
|
|
18
18
|
Service78,
|
|
19
19
|
node82
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instance-35gggtsy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service72,
|
|
23
|
+
node75
|
|
24
|
+
} from "./instance-95m1jc4b.js";
|
|
25
25
|
import {
|
|
26
26
|
ID12,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service77,
|
|
30
|
+
node81,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./instance-dbj947r6.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./instance-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,7 +41,7 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service71,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
@@ -49,7 +49,7 @@ __export(exports_model_resolver, {
|
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
51
|
layer: () => layer24,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node74,
|
|
53
53
|
resolveModel: () => resolveModel2,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service71 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -269,15 +269,15 @@ var causeMessage = (cause) => {
|
|
|
269
269
|
};
|
|
270
270
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
271
271
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
272
|
-
var layer24 = Layer.effect(
|
|
272
|
+
var layer24 = Layer.effect(Service71, Effect.gen(function* () {
|
|
273
273
|
const providers = yield* Service78;
|
|
274
|
-
const models = yield*
|
|
275
|
-
const integrations = yield*
|
|
274
|
+
const models = yield* Service77;
|
|
275
|
+
const integrations = yield* Service79;
|
|
276
276
|
const npm = yield* Npm.Service;
|
|
277
|
-
const aisdk = yield*
|
|
277
|
+
const aisdk = yield* Service72;
|
|
278
278
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
279
279
|
const provider = yield* providers.get(selected.providerID);
|
|
280
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
280
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
281
281
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
282
282
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
283
283
|
const runtimeInfo = {
|
|
@@ -304,7 +304,7 @@ var layer24 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
304
304
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
305
305
|
};
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service71.of({
|
|
308
308
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
309
309
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
310
310
|
if (!selected)
|
|
@@ -321,10 +321,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
321
321
|
const name = packageName2(packageName);
|
|
322
322
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
323
323
|
}
|
|
324
|
-
var
|
|
325
|
-
service:
|
|
324
|
+
var node74 = makeLocationNode({
|
|
325
|
+
service: Service71,
|
|
326
326
|
layer: layer24,
|
|
327
|
-
deps: [node82,
|
|
327
|
+
deps: [node82, node81, node83, Npm.node, node75]
|
|
328
328
|
});
|
|
329
329
|
|
|
330
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
330
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service71, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node74, exports_model_resolver };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make16 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -79,4 +79,4 @@ var make19 = (options) => Effect.gen(function* () {
|
|
|
79
79
|
return { active: Effect.sync(() => new Set(executions.keys())), isActive, run, wake, interrupt, awaitIdle };
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { make16, exports_run_coordinator };
|