@opencode/core 0.0.0-dev-21733 → 0.0.0-dev-21734
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{file-mutation-rbcej9n7.js → persistent-pty-00s53wgx.js} +4 -4
- package/dist/chunks/{file-mutation-tq3mzssj.js → persistent-pty-01res37g.js} +14 -14
- package/dist/chunks/{file-mutation-jx89vj1k.js → persistent-pty-033a0jkt.js} +3 -3
- package/dist/chunks/{file-mutation-aj7mw0zk.js → persistent-pty-034tev2y.js} +2 -2
- package/dist/chunks/{file-mutation-htq3pgp8.js → persistent-pty-03qj99jn.js} +2 -2
- package/dist/chunks/{file-mutation-fqje64y2.js → persistent-pty-04jfy8dp.js} +18 -18
- package/dist/chunks/{file-mutation-30e15dtz.js → persistent-pty-05gkwb83.js} +6 -6
- package/dist/chunks/{file-mutation-vf8a67bd.js → persistent-pty-0725bc3m.js} +21 -21
- package/dist/chunks/{file-mutation-036w2vvs.js → persistent-pty-091vk1nr.js} +28 -28
- package/dist/chunks/{file-mutation-2azy8kv6.js → persistent-pty-0ahs07zn.js} +4 -4
- package/dist/chunks/{file-mutation-svewv0nk.js → persistent-pty-0bjvb68n.js} +35 -35
- package/dist/chunks/{file-mutation-5x4h0w91.js → persistent-pty-0c68abaz.js} +15 -15
- package/dist/chunks/{file-mutation-85p7gfn7.js → persistent-pty-10bbn146.js} +5 -5
- package/dist/chunks/{file-mutation-zk52q0tv.js → persistent-pty-121mwpky.js} +15 -15
- package/dist/chunks/{file-mutation-tqx9c315.js → persistent-pty-160yv0cs.js} +8 -8
- package/dist/chunks/{file-mutation-ng91319j.js → persistent-pty-161q6wr2.js} +18 -18
- package/dist/chunks/persistent-pty-18cbc7hj.js +523 -0
- package/dist/chunks/{file-mutation-rjnacbrz.js → persistent-pty-18g90bpv.js} +9 -9
- package/dist/chunks/{file-mutation-27w5k9zf.js → persistent-pty-1ep2p91f.js} +2 -2
- package/dist/chunks/{file-mutation-hbcfg93c.js → persistent-pty-1mbb3nqq.js} +11 -11
- package/dist/chunks/{file-mutation-82ae05qv.js → persistent-pty-1r5fcxrd.js} +15 -15
- package/dist/chunks/{file-mutation-xq4hz08w.js → persistent-pty-1v15skyy.js} +2 -2
- package/dist/chunks/{file-mutation-g5j9106q.js → persistent-pty-1v7y2gfm.js} +11 -11
- package/dist/chunks/{file-mutation-3ek3wb4s.js → persistent-pty-1wr4254w.js} +16 -16
- package/dist/chunks/{file-mutation-1x2knyw4.js → persistent-pty-1x2knyw4.js} +1 -1
- package/dist/chunks/{file-mutation-p7vhpwh8.js → persistent-pty-1yq9hg58.js} +5 -5
- package/dist/chunks/{file-mutation-0ks2n9jf.js → persistent-pty-1z6jjy5p.js} +6 -6
- package/dist/chunks/{file-mutation-jw9wy7z2.js → persistent-pty-23fw7d8n.js} +9 -9
- package/dist/chunks/{file-mutation-7v4gnnpt.js → persistent-pty-25yt9nvs.js} +15 -15
- package/dist/chunks/{file-mutation-abn7vnge.js → persistent-pty-294nmx0v.js} +47 -47
- package/dist/chunks/{file-mutation-yprj29vk.js → persistent-pty-2kyrhkym.js} +5 -5
- package/dist/chunks/{file-mutation-wbbnhv6v.js → persistent-pty-2q88n7qb.js} +4 -4
- package/dist/chunks/{file-mutation-yhtr6e88.js → persistent-pty-2qkmb929.js} +46 -46
- package/dist/chunks/{file-mutation-2z1j29yd.js → persistent-pty-2z1j29yd.js} +1 -1
- package/dist/chunks/{file-mutation-79gmc5z2.js → persistent-pty-2zve0z6t.js} +17 -17
- package/dist/chunks/{file-mutation-fymw8q55.js → persistent-pty-33jdcjy6.js} +20 -20
- package/dist/chunks/{file-mutation-esd6nksf.js → persistent-pty-34kc3y55.js} +21 -21
- package/dist/chunks/{file-mutation-hkzhzv1f.js → persistent-pty-3e5cks6s.js} +33 -33
- package/dist/chunks/{file-mutation-xpve62cf.js → persistent-pty-3gv0spa2.js} +4 -4
- package/dist/chunks/{file-mutation-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-rskep9rf.js → persistent-pty-3mferp1a.js} +28 -28
- package/dist/chunks/{file-mutation-3nnrz6f6.js → persistent-pty-3nnrz6f6.js} +1 -1
- package/dist/chunks/{file-mutation-67avc1k8.js → persistent-pty-3ntfh06s.js} +8 -8
- package/dist/chunks/{file-mutation-v9pksffj.js → persistent-pty-408p0c2c.js} +32 -32
- package/dist/chunks/{file-mutation-w2eysc6j.js → persistent-pty-40za9wsf.js} +9 -9
- package/dist/chunks/{file-mutation-9b9nrhta.js → persistent-pty-4s7gz49e.js} +46 -46
- package/dist/chunks/{file-mutation-4v008n1t.js → persistent-pty-4v008n1t.js} +1 -1
- package/dist/chunks/{file-mutation-743x2srx.js → persistent-pty-4wwst2cr.js} +17 -17
- package/dist/chunks/{file-mutation-4xvmh7wp.js → persistent-pty-4xvmh7wp.js} +3 -3
- package/dist/chunks/{file-mutation-s6xj0n9e.js → persistent-pty-54bdth8f.js} +18 -18
- package/dist/chunks/{file-mutation-21et416z.js → persistent-pty-54zw250x.js} +6 -6
- package/dist/chunks/{file-mutation-abrtv49q.js → persistent-pty-5a4vd8th.js} +6 -6
- package/dist/chunks/{file-mutation-qx7wy1t5.js → persistent-pty-5m7egt4k.js} +36 -36
- package/dist/chunks/{file-mutation-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-mutation-frvfbmdp.js → persistent-pty-5qv54f7z.js} +9 -9
- package/dist/chunks/{file-mutation-eskv2f81.js → persistent-pty-61g7nd3s.js} +10 -10
- package/dist/chunks/{file-mutation-5fvmg1r1.js → persistent-pty-660eev4r.js} +21 -21
- package/dist/chunks/{file-mutation-s0cvatyn.js → persistent-pty-66nsc0mc.js} +10 -10
- package/dist/chunks/{file-mutation-5xn9952g.js → persistent-pty-68ed1heq.js} +3 -3
- package/dist/chunks/persistent-pty-6903n5ex.js +26 -0
- package/dist/chunks/{file-mutation-hhe7s84q.js → persistent-pty-6b7kqf9p.js} +3 -3
- package/dist/chunks/{file-mutation-ems2smmp.js → persistent-pty-6bjkdwrx.js} +27 -27
- package/dist/chunks/{file-mutation-6esdw8yj.js → persistent-pty-6esdw8yj.js} +1 -1
- package/dist/chunks/{file-mutation-aw7qnxd4.js → persistent-pty-6feaf270.js} +24 -24
- package/dist/chunks/{file-mutation-ry869zts.js → persistent-pty-6n590pe1.js} +20 -20
- package/dist/chunks/{file-mutation-7qacj1zk.js → persistent-pty-6pe7vn7p.js} +18 -18
- package/dist/chunks/{file-mutation-vyaq3xbs.js → persistent-pty-6pgzxxev.js} +8 -8
- package/dist/chunks/{file-mutation-6pjqjmy2.js → persistent-pty-6pjqjmy2.js} +1 -1
- package/dist/chunks/{file-mutation-q7717vr4.js → persistent-pty-6ydxn510.js} +4 -4
- package/dist/chunks/{file-mutation-w8qtt4th.js → persistent-pty-76cb1hcw.js} +4 -4
- package/dist/chunks/{file-mutation-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-f3mkqzy7.js → persistent-pty-7qq4ydd3.js} +14 -14
- package/dist/chunks/{file-mutation-cn264291.js → persistent-pty-7rrajkn6.js} +13 -13
- package/dist/chunks/{file-mutation-7w2ypzdf.js → persistent-pty-7w2ypzdf.js} +1 -1
- package/dist/chunks/{file-mutation-b9d9dj3z.js → persistent-pty-7wyxsj6k.js} +4 -4
- package/dist/chunks/{file-mutation-4yx08eh2.js → persistent-pty-8fttzn5c.js} +11 -11
- package/dist/chunks/{file-mutation-0ns4m9xc.js → persistent-pty-8gfmmcm9.js} +7 -7
- package/dist/chunks/{file-mutation-v35yay96.js → persistent-pty-8hdpe52s.js} +25 -25
- package/dist/chunks/{file-mutation-45t4pvv9.js → persistent-pty-8k8pzbp4.js} +8 -8
- package/dist/chunks/{file-mutation-e4n8ygfy.js → persistent-pty-8km5q4vd.js} +77 -77
- package/dist/chunks/{file-mutation-81axfqtx.js → persistent-pty-8m8genj6.js} +35 -35
- package/dist/chunks/{file-mutation-wdh6vgg0.js → persistent-pty-8tkzkck7.js} +12 -12
- package/dist/chunks/{file-mutation-8wtp7s3z.js → persistent-pty-8wtp7s3z.js} +1 -1
- package/dist/chunks/{file-mutation-4pw98qd4.js → persistent-pty-8ybp78tx.js} +4 -4
- package/dist/chunks/{file-mutation-9t2khtsw.js → persistent-pty-8ykqf5wm.js} +8 -8
- package/dist/chunks/{file-mutation-h8gqg4ne.js → persistent-pty-8ze93nwk.js} +5 -5
- package/dist/chunks/{file-mutation-91rj84md.js → persistent-pty-91rj84md.js} +1 -1
- package/dist/chunks/{file-mutation-dvj9ct8m.js → persistent-pty-998yhzzq.js} +3 -3
- package/dist/chunks/{file-mutation-vtjgj3jr.js → persistent-pty-9get8zjh.js} +42 -42
- package/dist/chunks/{file-mutation-dwarwzmx.js → persistent-pty-9j1dz88j.js} +21 -21
- package/dist/chunks/{file-mutation-nwhk50md.js → persistent-pty-9rvvae9w.js} +24 -24
- package/dist/chunks/{file-mutation-yf8h703t.js → persistent-pty-9syqs7e3.js} +25 -25
- package/dist/chunks/{file-mutation-xb154nqk.js → persistent-pty-a5wwxj4r.js} +1 -1
- package/dist/chunks/{file-mutation-kmnk1vdb.js → persistent-pty-ac29g10j.js} +9 -9
- package/dist/chunks/{file-mutation-s9ty2h8k.js → persistent-pty-ae89zrxe.js} +11 -11
- package/dist/chunks/{file-mutation-wb23mhq7.js → persistent-pty-ajn3f7q8.js} +39 -39
- package/dist/chunks/{file-mutation-10rcdg98.js → persistent-pty-anm6wys2.js} +2 -2
- package/dist/chunks/{file-mutation-1r91ydea.js → persistent-pty-atkwrhtv.js} +4 -4
- package/dist/chunks/{file-mutation-t72fmagr.js → persistent-pty-avt17yc9.js} +11 -11
- package/dist/chunks/{file-mutation-td9q6ghh.js → persistent-pty-ax6rcmt6.js} +16 -16
- package/dist/chunks/{file-mutation-3cbjf1nt.js → persistent-pty-ayjs7tqn.js} +2 -2
- package/dist/chunks/{file-mutation-b0mv4wxm.js → persistent-pty-b0mv4wxm.js} +2 -2
- package/dist/chunks/{file-mutation-c9t2ty9q.js → persistent-pty-b1pn0vxn.js} +4 -4
- package/dist/chunks/{file-mutation-8c7d9mqr.js → persistent-pty-b3cs7hat.js} +11 -11
- package/dist/chunks/{file-mutation-5nnwax6m.js → persistent-pty-b6vsg801.js} +5 -5
- package/dist/chunks/{file-mutation-tfvs93xs.js → persistent-pty-bf187ngt.js} +3 -3
- package/dist/chunks/{file-mutation-r6b9cme8.js → persistent-pty-bhyfhejz.js} +15 -15
- package/dist/chunks/{file-mutation-ft13nsd4.js → persistent-pty-bpvzah12.js} +8 -8
- package/dist/chunks/{file-mutation-bstexjd6.js → persistent-pty-bstexjd6.js} +1 -1
- package/dist/chunks/{file-mutation-m4t4ftb9.js → persistent-pty-bt7dwcvz.js} +35 -35
- package/dist/chunks/{file-mutation-nffa1r89.js → persistent-pty-bwnaxshz.js} +30 -30
- package/dist/chunks/{file-mutation-da9t4t99.js → persistent-pty-c3qhhm1y.js} +18 -18
- package/dist/chunks/{file-mutation-6nc585nh.js → persistent-pty-c4phwmq5.js} +6 -6
- package/dist/chunks/{file-mutation-asrwnq9b.js → persistent-pty-ccjrskvd.js} +13 -13
- package/dist/chunks/{file-mutation-rds2jhhw.js → persistent-pty-ce5jk55z.js} +2 -2
- package/dist/chunks/{file-mutation-550hghqf.js → persistent-pty-cech5wam.js} +11 -11
- package/dist/chunks/{file-mutation-cc7rcpec.js → persistent-pty-cpkbxa7x.js} +9 -9
- package/dist/chunks/{file-mutation-c7c27t1m.js → persistent-pty-csnb57rc.js} +15 -15
- package/dist/chunks/{file-mutation-zz54hcfv.js → persistent-pty-ctasavsb.js} +16 -16
- package/dist/chunks/{file-mutation-b7zzhf47.js → persistent-pty-cvfh7m2t.js} +8 -8
- package/dist/chunks/{file-mutation-v8kyx9fe.js → persistent-pty-cx2kx0qt.js} +22 -22
- package/dist/chunks/{file-mutation-d4v9tmah.js → persistent-pty-d4v9tmah.js} +2 -2
- package/dist/chunks/{file-mutation-cxa2kxks.js → persistent-pty-d9jre66y.js} +9 -9
- package/dist/chunks/{file-mutation-jbscr9h1.js → persistent-pty-dctwdp88.js} +1 -1
- package/dist/chunks/{file-mutation-7v95c66a.js → persistent-pty-dgxgs7gd.js} +11 -11
- package/dist/chunks/{file-mutation-h2vj4qcs.js → persistent-pty-e6gw0w82.js} +14 -14
- package/dist/chunks/{file-mutation-e834z07m.js → persistent-pty-e834z07m.js} +1 -1
- package/dist/chunks/{file-mutation-h245t4yc.js → persistent-pty-e8nh79sb.js} +9 -9
- package/dist/chunks/{file-mutation-zmwx25fz.js → persistent-pty-ef2tezb6.js} +2 -2
- package/dist/chunks/{file-mutation-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-mutation-h99q40g3.js → persistent-pty-eh70mckh.js} +87 -87
- package/dist/chunks/{file-mutation-gctveymt.js → persistent-pty-eh8nrxr4.js} +13 -13
- package/dist/chunks/{file-mutation-6j3c7a8w.js → persistent-pty-esf8vws2.js} +14 -14
- package/dist/chunks/{file-mutation-ys5ve7gf.js → persistent-pty-esn29r3v.js} +61 -61
- package/dist/chunks/{file-mutation-e86res7a.js → persistent-pty-f5vh2ee2.js} +16 -16
- package/dist/chunks/{file-mutation-s4yz0bzs.js → persistent-pty-f9mjwvbf.js} +3 -3
- package/dist/chunks/{file-mutation-4rnk6nkc.js → persistent-pty-f9wddpqr.js} +48 -48
- package/dist/chunks/{file-mutation-bjeh6j1p.js → persistent-pty-fbbt1p90.js} +28 -28
- package/dist/chunks/{file-mutation-a7dmfdvk.js → persistent-pty-fd4whgj1.js} +18 -18
- package/dist/chunks/{file-mutation-fffv3p7h.js → persistent-pty-fffv3p7h.js} +1 -1
- package/dist/chunks/{file-mutation-zg057h9g.js → persistent-pty-fggnmsc4.js} +18 -18
- package/dist/chunks/{file-mutation-fbnpe429.js → persistent-pty-fk3tbwms.js} +16 -16
- package/dist/chunks/{file-mutation-hgcdtq4e.js → persistent-pty-fkdwm9b5.js} +18 -18
- package/dist/chunks/{file-mutation-27tam8fm.js → persistent-pty-fn8ks8sk.js} +4 -4
- package/dist/chunks/{file-mutation-48ns11pq.js → persistent-pty-fnx72q8e.js} +37 -37
- package/dist/chunks/{file-mutation-eahrer4y.js → persistent-pty-fpe37385.js} +15 -15
- package/dist/chunks/{file-mutation-3de1akn6.js → persistent-pty-fsmg7dz8.js} +14 -14
- package/dist/chunks/{file-mutation-s5ypg3ex.js → persistent-pty-ftsvrs41.js} +15 -15
- package/dist/chunks/persistent-pty-fvd0rj3z.js +257 -0
- package/dist/chunks/{file-mutation-qgrk9qt1.js → persistent-pty-fvkpm49k.js} +46 -46
- package/dist/chunks/{file-mutation-5rxgzxpx.js → persistent-pty-fxyx2m2r.js} +6 -6
- package/dist/chunks/{file-mutation-sm6n1kzz.js → persistent-pty-g0qn3exy.js} +11 -11
- package/dist/chunks/{file-mutation-g5h9c0rr.js → persistent-pty-g5h9c0rr.js} +2 -2
- package/dist/chunks/{file-mutation-2rjbzknj.js → persistent-pty-g5p6kgnn.js} +15 -15
- package/dist/chunks/{file-mutation-w3w76j4m.js → persistent-pty-g6dbhsy2.js} +22 -22
- package/dist/chunks/{file-mutation-vmfhgzt5.js → persistent-pty-g7esga4v.js} +5 -5
- package/dist/chunks/{file-mutation-z3789qry.js → persistent-pty-gc6gmd57.js} +19 -19
- package/dist/chunks/{file-mutation-r9t475hy.js → persistent-pty-ge050bsd.js} +12 -12
- package/dist/chunks/{file-mutation-faewc6h3.js → persistent-pty-gj8x1tda.js} +5 -5
- package/dist/chunks/{file-mutation-bwe8ad2d.js → persistent-pty-gkta77xp.js} +16 -16
- package/dist/chunks/{file-mutation-xh4stpws.js → persistent-pty-gqyxmvm3.js} +35 -35
- package/dist/chunks/persistent-pty-grzehpz7.js +18 -0
- package/dist/chunks/{file-mutation-2kxb353b.js → persistent-pty-gz08a6qd.js} +1 -1
- package/dist/chunks/{file-mutation-3c164b2z.js → persistent-pty-h42ma301.js} +11 -11
- package/dist/chunks/{file-mutation-rmvh37n9.js → persistent-pty-h49tjgxv.js} +10 -10
- package/dist/chunks/{file-mutation-94f0gtd2.js → persistent-pty-h57qbt9v.js} +6 -6
- package/dist/chunks/{file-mutation-cjbqfpza.js → persistent-pty-h8x3rwmh.js} +2 -2
- package/dist/chunks/{file-mutation-wbz42q9f.js → persistent-pty-ha1j02re.js} +21 -21
- package/dist/chunks/{file-mutation-q2dhmgm2.js → persistent-pty-hbabaj69.js} +14 -14
- package/dist/chunks/{file-mutation-raw26vjr.js → persistent-pty-hbjmb8md.js} +6 -6
- package/dist/chunks/{file-mutation-a3ve0kqa.js → persistent-pty-hqhqtbhg.js} +8 -8
- package/dist/chunks/{file-mutation-86ak512e.js → persistent-pty-hvmts6en.js} +34 -34
- package/dist/chunks/{file-mutation-j113cymg.js → persistent-pty-j113cymg.js} +1 -1
- package/dist/chunks/{file-mutation-782p0d6m.js → persistent-pty-j15yj0h5.js} +12 -12
- package/dist/chunks/{file-mutation-6bexxghh.js → persistent-pty-j1yh4sgk.js} +13 -13
- package/dist/chunks/{file-mutation-xcfcjf9d.js → persistent-pty-j8fhehe3.js} +11 -11
- package/dist/chunks/{file-mutation-n6v2b7cw.js → persistent-pty-ja63h2sr.js} +5 -5
- package/dist/chunks/{file-mutation-x240r3kw.js → persistent-pty-jbfg18k8.js} +18 -18
- package/dist/chunks/{file-mutation-e5dqjz6v.js → persistent-pty-jneg3k74.js} +4 -4
- package/dist/chunks/{file-mutation-y0dnfxbe.js → persistent-pty-jv13vvcg.js} +11 -11
- package/dist/chunks/{file-mutation-sn3yw1vh.js → persistent-pty-jw74enqw.js} +22 -22
- package/dist/chunks/{file-mutation-245k30ek.js → persistent-pty-jxvpemrm.js} +50 -50
- package/dist/chunks/{file-mutation-bgmahzg8.js → persistent-pty-k1pq61t6.js} +45 -45
- package/dist/chunks/{file-mutation-k814nvkf.js → persistent-pty-k814nvkf.js} +1 -1
- package/dist/chunks/{file-mutation-j3zafv13.js → persistent-pty-kf3n0zsb.js} +11 -11
- package/dist/chunks/{file-mutation-edcmpgtq.js → persistent-pty-khr1vc7x.js} +20 -20
- package/dist/chunks/{file-mutation-dqfc4a56.js → persistent-pty-kn420qbw.js} +19 -19
- package/dist/chunks/{file-mutation-m1714858.js → persistent-pty-m1714858.js} +1 -1
- package/dist/chunks/{file-mutation-jyragf21.js → persistent-pty-m6ccv8cv.js} +16 -16
- package/dist/chunks/{file-mutation-cp34p7ag.js → persistent-pty-m6nxwkyz.js} +1 -1
- package/dist/chunks/{file-mutation-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-maspj1v3.js → persistent-pty-maspj1v3.js} +1 -1
- package/dist/chunks/{file-mutation-rmyqj6m3.js → persistent-pty-md3qpsr3.js} +6 -6
- package/dist/chunks/{file-mutation-c3cfh5w6.js → persistent-pty-mmkbt6v3.js} +9 -9
- package/dist/chunks/{file-mutation-av5z0m6e.js → persistent-pty-mmwnf7h5.js} +23 -23
- package/dist/chunks/{file-mutation-f4275qbf.js → persistent-pty-msan5q7r.js} +4 -4
- package/dist/chunks/{file-mutation-01k3925y.js → persistent-pty-mw7msr43.js} +16 -16
- package/dist/chunks/{file-mutation-n0p0277s.js → persistent-pty-n0p0277s.js} +1 -1
- package/dist/chunks/{file-mutation-nah043kf.js → persistent-pty-nah043kf.js} +1 -1
- package/dist/chunks/{file-mutation-deg8k6mg.js → persistent-pty-nc3280dk.js} +20 -20
- package/dist/chunks/{file-mutation-krdcrhxc.js → persistent-pty-njpcv6ga.js} +11 -11
- package/dist/chunks/{file-mutation-p015t6z3.js → persistent-pty-p015t6z3.js} +2 -2
- package/dist/chunks/{file-mutation-9fs0fy5y.js → persistent-pty-p3ns8jke.js} +20 -20
- package/dist/chunks/{file-mutation-xk2ssr6t.js → persistent-pty-pczbwg7v.js} +10 -10
- package/dist/chunks/{file-mutation-fm0kc2vz.js → persistent-pty-pesbm1zb.js} +10 -10
- package/dist/chunks/{file-mutation-d979ez4r.js → persistent-pty-phjxmwhn.js} +13 -13
- package/dist/chunks/{file-mutation-b0zdea0q.js → persistent-pty-pjs8qn0x.js} +24 -24
- package/dist/chunks/{file-mutation-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-rjew0wjs.js → persistent-pty-pnr414s4.js} +21 -21
- package/dist/chunks/{file-mutation-yvyt4vgc.js → persistent-pty-pykbr5hq.js} +14 -14
- package/dist/chunks/{file-mutation-2cmv458r.js → persistent-pty-q17z9dx8.js} +5 -5
- package/dist/chunks/{file-mutation-fqktgm0k.js → persistent-pty-q96z823n.js} +24 -24
- package/dist/chunks/{file-mutation-4dnfsash.js → persistent-pty-q9yhf14s.js} +39 -39
- package/dist/chunks/{file-mutation-y78pw8hh.js → persistent-pty-qgy371m4.js} +18 -18
- package/dist/chunks/{file-mutation-qjgzc4b4.js → persistent-pty-qjgzc4b4.js} +1 -1
- package/dist/chunks/{file-mutation-r0yr0wbs.js → persistent-pty-r0yr0wbs.js} +1 -1
- package/dist/chunks/{file-mutation-r6wgv8c9.js → persistent-pty-r1k9m3eb.js} +4 -4
- package/dist/chunks/{file-mutation-4gceq66t.js → persistent-pty-r8qav4j0.js} +5 -5
- package/dist/chunks/{file-mutation-rb9dy4dg.js → persistent-pty-rb9dy4dg.js} +1 -1
- package/dist/chunks/{file-mutation-368ze413.js → persistent-pty-rdah1jex.js} +10 -10
- package/dist/chunks/{file-mutation-9q4552st.js → persistent-pty-reectsvn.js} +28 -28
- package/dist/chunks/{file-mutation-74vrwnwk.js → persistent-pty-rjdr2w59.js} +16 -16
- package/dist/chunks/{file-mutation-y9nmyqm6.js → persistent-pty-rk6acy23.js} +19 -19
- package/dist/chunks/{file-mutation-egsctaqy.js → persistent-pty-rqvbyf66.js} +23 -23
- package/dist/chunks/{file-mutation-bjhzkqyk.js → persistent-pty-rrad2nt9.js} +4 -4
- package/dist/chunks/{file-mutation-rt5dr6hb.js → persistent-pty-rt5dr6hb.js} +1 -1
- package/dist/chunks/{file-mutation-j12nxzwd.js → persistent-pty-rw3vattc.js} +3 -3
- package/dist/chunks/{file-mutation-cvmvznrx.js → persistent-pty-s2bbvfew.js} +1 -1
- package/dist/chunks/{file-mutation-enfrdb2x.js → persistent-pty-s56mqf4d.js} +9 -9
- package/dist/chunks/{file-mutation-w35wzz9x.js → persistent-pty-s7kyse9r.js} +4 -4
- package/dist/chunks/{file-mutation-00rzab14.js → persistent-pty-s95241p9.js} +5 -5
- package/dist/chunks/{file-mutation-5pex491w.js → persistent-pty-sgy5bk4a.js} +23 -23
- package/dist/chunks/{file-mutation-mcc21mqv.js → persistent-pty-skvb6hty.js} +5 -5
- package/dist/chunks/{file-mutation-sqjzf8x2.js → persistent-pty-sqjzf8x2.js} +1 -1
- package/dist/chunks/{file-mutation-w059c7vr.js → persistent-pty-sy012hfn.js} +5 -5
- package/dist/chunks/{file-mutation-747awqjk.js → persistent-pty-szdqchb7.js} +9 -9
- package/dist/chunks/{file-mutation-wwzjdjk2.js → persistent-pty-t3qvsv4x.js} +4 -4
- package/dist/chunks/{file-mutation-s6p20e1k.js → persistent-pty-t42gxy5r.js} +8 -8
- package/dist/chunks/{file-mutation-vd9bj70h.js → persistent-pty-t4g57g0x.js} +20 -20
- package/dist/chunks/{file-mutation-yj6jvem3.js → persistent-pty-tay0mcsq.js} +7 -7
- package/dist/chunks/{file-mutation-tczq8hjw.js → persistent-pty-tczq8hjw.js} +1 -1
- package/dist/chunks/{file-mutation-pef0bd6s.js → persistent-pty-tjb7g1kd.js} +12 -12
- package/dist/chunks/{file-mutation-tw8zr1ps.js → persistent-pty-tw8zr1ps.js} +1 -1
- package/dist/chunks/{file-mutation-twv2r8f4.js → persistent-pty-twv2r8f4.js} +2 -2
- package/dist/chunks/{file-mutation-v2r1d0zg.js → persistent-pty-v2r1d0zg.js} +1 -1
- package/dist/chunks/{file-mutation-vamt18wv.js → persistent-pty-vd2fkr8n.js} +19 -19
- package/dist/chunks/{file-mutation-vd3b3yk9.js → persistent-pty-vd3b3yk9.js} +1 -1
- package/dist/chunks/{file-mutation-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-eqh43b5v.js → persistent-pty-vgk61ywp.js} +9 -9
- package/dist/chunks/{file-mutation-dzgdh8q8.js → persistent-pty-vzpstrvw.js} +28 -28
- package/dist/chunks/{file-mutation-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-wr3re1en.js → persistent-pty-w687dnns.js} +4 -4
- package/dist/chunks/{file-mutation-cfkc8wvf.js → persistent-pty-w7zjqt6n.js} +4 -4
- package/dist/chunks/{file-mutation-1k1fqc4x.js → persistent-pty-w8ghnhvg.js} +172 -172
- package/dist/chunks/{file-mutation-wakvkjy4.js → persistent-pty-wakvkjy4.js} +1 -1
- package/dist/chunks/{file-mutation-9b9c9169.js → persistent-pty-wb3scwf2.js} +23 -23
- package/dist/chunks/{file-mutation-26dky2bj.js → persistent-pty-wb4j7ppe.js} +10 -10
- package/dist/chunks/{file-mutation-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-m6btfgkq.js → persistent-pty-wgh1engb.js} +17 -17
- package/dist/chunks/{file-mutation-a4hxdnm9.js → persistent-pty-wrevpsh3.js} +33 -33
- package/dist/chunks/{file-mutation-cwq0sf4z.js → persistent-pty-wwmj1kay.js} +14 -14
- package/dist/chunks/{file-mutation-gqmebmt6.js → persistent-pty-x4gbert3.js} +7 -7
- package/dist/chunks/{file-mutation-r64mr812.js → persistent-pty-xh5r1497.js} +25 -25
- package/dist/chunks/{file-mutation-my4zabxr.js → persistent-pty-xkhfjrgz.js} +3 -3
- package/dist/chunks/{file-mutation-32d3hzha.js → persistent-pty-xq1w8mg4.js} +12 -12
- package/dist/chunks/{file-mutation-55gnfc1d.js → persistent-pty-xw8kzvbj.js} +54 -54
- package/dist/chunks/{file-mutation-m4qx0dyh.js → persistent-pty-xxcxpnax.js} +28 -28
- package/dist/chunks/{file-mutation-w9vn8wsz.js → persistent-pty-y0f86df7.js} +13 -13
- package/dist/chunks/{file-mutation-fnbj75xz.js → persistent-pty-y7np224s.js} +3 -3
- package/dist/chunks/{file-mutation-535rzh00.js → persistent-pty-y9cdfkc4.js} +24 -24
- package/dist/chunks/{file-mutation-2hbghhry.js → persistent-pty-yayqpxs7.js} +19 -19
- package/dist/chunks/{file-mutation-yb20nhc3.js → persistent-pty-yb20nhc3.js} +1 -1
- package/dist/chunks/{file-mutation-epgj3jkd.js → persistent-pty-yk8k27y0.js} +21 -21
- package/dist/chunks/{file-mutation-12p8ee72.js → persistent-pty-yngw6wxf.js} +27 -27
- package/dist/chunks/{file-mutation-9tjddhah.js → persistent-pty-ypvpgzxc.js} +38 -38
- package/dist/chunks/{file-mutation-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-z38nccrw.js → persistent-pty-z38nccrw.js} +1 -1
- package/dist/chunks/{file-mutation-bjh3krjv.js → persistent-pty-zf39jeyk.js} +20 -20
- package/dist/chunks/{file-mutation-zkg84ctx.js → persistent-pty-zkg84ctx.js} +1 -1
- package/dist/chunks/{file-mutation-jp8p8349.js → persistent-pty-zteabxmp.js} +4 -4
- package/dist/chunks/{file-mutation-59syh3a3.js → persistent-pty-ztffxed8.js} +10 -10
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- 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 +114 -114
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +136 -136
- 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 +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- 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 +105 -105
- 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 +80 -80
- 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 +107 -107
- package/dist/mcp/instructions.js +140 -140
- 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 +94 -94
- package/dist/models-dev.js +101 -101
- 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 +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +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 +123 -123
- 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 +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +164 -164
- 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 +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +89 -89
- 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 +229 -229
- 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 +5 -5
- package/dist/session/runner/step.js +126 -126
- 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 +162 -162
- 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 +218 -218
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- 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 +105 -105
- 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 +217 -217
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +116 -116
- 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 +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +102 -102
- package/package.json +8 -8
- package/dist/chunks/file-mutation-471rdaac.js +0 -523
- package/dist/chunks/file-mutation-ezna1kdx.js +0 -18
- package/dist/chunks/file-mutation-venck2hm.js +0 -26
- package/dist/chunks/file-mutation-z053f2bw.js +0 -257
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-5fjb7ams.js → persistent-pty-5fjb7ams.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a058387c.js → persistent-pty-a058387c.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e3qxr5gk.js → persistent-pty-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hcxmzztb.js → persistent-pty-hcxmzztb.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jze0r7bz.js → persistent-pty-jze0r7bz.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-pkyv6v7h.js → persistent-pty-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wjj7prxr.js → persistent-pty-wjj7prxr.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-j8fhehe3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-6ydxn510.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./persistent-pty-reectsvn.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID16,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-vzpstrvw.js";
|
|
15
15
|
import {
|
|
16
16
|
ID13
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-sgy5bk4a.js";
|
|
18
18
|
import {
|
|
19
19
|
ID12,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-ftsvrs41.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-yb20nhc3.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
30
30
|
var providerID = ID13.make("digitalocean");
|
|
31
|
-
var integrationID =
|
|
31
|
+
var integrationID = ID16.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-jze0r7bz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-vd3b3yk9.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options6,
|
|
15
|
+
Service: () => Service58,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
18
|
configured: () => configured9,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list3,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name16,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node63,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options6 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service58 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve3(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,15 +180,15 @@ function resolve2(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve3.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list3(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service58.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
|
+
list: () => Effect.promise(() => list3(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
209
|
function configured9(options) {
|
|
210
|
-
return makeLocationNode({ service:
|
|
210
|
+
return makeLocationNode({ service: Service58, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node63 = configured9();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options6, Service58, gitbash2, name16, login2, ps2, args2, environment2, resolve3, list3, configured9, node63, exports_select };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./persistent-pty-wgh1engb.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names4,
|
|
17
17
|
preferencePaths: () => preferencePaths2,
|
|
18
18
|
stripPreferenceMetadata: () => stripPreferenceMetadata2,
|
|
19
19
|
systemDirectory: () => systemDirectory2
|
|
@@ -23,7 +23,7 @@ import path from "path";
|
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
25
25
|
import { Global } from "@opencode/util/global";
|
|
26
|
-
var
|
|
26
|
+
var names4 = ["opencode.json", "opencode.jsonc"];
|
|
27
27
|
function systemDirectory2(platform = process.platform, env = process.env) {
|
|
28
28
|
if (platform === "darwin")
|
|
29
29
|
return AbsolutePath2.make("/Library/Application Support/opencode");
|
|
@@ -54,7 +54,7 @@ function stripPreferenceMetadata2(json) {
|
|
|
54
54
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
55
55
|
const fs = yield* FSUtil.Service;
|
|
56
56
|
const global = yield* Global.Service;
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service79;
|
|
58
58
|
const system = (() => {
|
|
59
59
|
if (options?.system === false)
|
|
60
60
|
return;
|
|
@@ -71,10 +71,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
71
71
|
const directories = globalRoots.slice(0, configDirectories.length).includes(current) || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
72
72
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
73
73
|
const parent = yield* fs.resolve(directory);
|
|
74
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
74
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
75
75
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
76
76
|
const globalEnabled = options?.global !== false;
|
|
77
|
-
const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) =>
|
|
77
|
+
const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) => names4.map((name) => path.join(directory, name))), (file) => fs.resolve(file));
|
|
78
78
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
79
79
|
const preferences = globalEnabled && (options?.system ?? true) === true && process.platform === "darwin" ? (yield* Effect.filter(preferencePaths2(yield* Effect.try(() => os.userInfo().username).pipe(Effect.orElseSucceed(() => "user"))), fs.isFile)).at(0) : undefined;
|
|
80
80
|
return {
|
|
@@ -99,4 +99,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
99
99
|
};
|
|
100
100
|
});
|
|
101
101
|
|
|
102
|
-
export {
|
|
102
|
+
export { names4, systemDirectory2, preferencePaths2, stripPreferenceMetadata2, discover3, exports_discovery2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-68ed1heq.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service77,
|
|
17
|
+
node: () => node81
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service77 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service86).db;
|
|
26
|
-
return
|
|
26
|
+
return Service77.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node81 = makeGlobalNode({ service: Service77, layer, deps: [node90] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service77, node81, exports_kv };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-j8fhehe3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-6ydxn510.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./persistent-pty-reectsvn.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID16,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-vzpstrvw.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-yb20nhc3.js";
|
|
19
19
|
import {
|
|
20
20
|
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-sgy5bk4a.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./persistent-pty-3nnrz6f6.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./persistent-pty-h57qbt9v.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/openai.ts
|
|
32
32
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -49,7 +49,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
49
49
|
}));
|
|
50
50
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
51
51
|
var browser = (app) => ({
|
|
52
|
-
integrationID:
|
|
52
|
+
integrationID: ID16.make("openai"),
|
|
53
53
|
method: {
|
|
54
54
|
id: browserMethodID,
|
|
55
55
|
type: "oauth",
|
|
@@ -122,7 +122,7 @@ function addressInUse(error) {
|
|
|
122
122
|
return "code" in error && error.code === "EADDRINUSE";
|
|
123
123
|
}
|
|
124
124
|
var headless = (app) => ({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID16.make("openai"),
|
|
126
126
|
method: {
|
|
127
127
|
id: headlessMethodID,
|
|
128
128
|
type: "oauth",
|
|
@@ -241,7 +241,7 @@ var OpenAIPlugin3 = define({
|
|
|
241
241
|
for (const name of ["context", "compaction"])
|
|
242
242
|
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
|
|
243
243
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
244
|
-
yield* bus.subscribe(
|
|
244
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
245
245
|
})
|
|
246
246
|
});
|
|
247
247
|
function headers(contentType, app) {
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-j8fhehe3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-6ydxn510.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./persistent-pty-reectsvn.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-rrad2nt9.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID16,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-vzpstrvw.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service14
|
|
21
|
+
} from "./persistent-pty-61g7nd3s.js";
|
|
22
22
|
import {
|
|
23
23
|
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./persistent-pty-sgy5bk4a.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./persistent-pty-ftsvrs41.js";
|
|
30
30
|
import {
|
|
31
31
|
supports2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
resolve2
|
|
33
|
+
} from "./persistent-pty-54zw250x.js";
|
|
34
34
|
import {
|
|
35
35
|
InvalidRequestError2,
|
|
36
36
|
UnavailableError2,
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
Service20
|
|
38
|
+
} from "./persistent-pty-vd2fkr8n.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
40
|
+
ID4,
|
|
41
41
|
Input14,
|
|
42
42
|
Response2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./persistent-pty-rqvbyf66.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/provider/opencode.ts
|
|
46
46
|
import {
|
|
@@ -78,7 +78,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
78
78
|
var RemoteResponse = Schema.Struct({
|
|
79
79
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
80
80
|
websearch: Schema.Struct({
|
|
81
|
-
providerID:
|
|
81
|
+
providerID: ID4
|
|
82
82
|
}).pipe(Schema.optional),
|
|
83
83
|
mcp: Schema.Struct({
|
|
84
84
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -136,7 +136,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
136
136
|
}
|
|
137
137
|
function oauth(http) {
|
|
138
138
|
return {
|
|
139
|
-
integrationID:
|
|
139
|
+
integrationID: ID16.make("opencode"),
|
|
140
140
|
method: {
|
|
141
141
|
id: methodID,
|
|
142
142
|
type: "oauth",
|
|
@@ -204,8 +204,8 @@ var OpencodePlugin2 = define({
|
|
|
204
204
|
const bus = yield* Service85;
|
|
205
205
|
const client = yield* HttpClient.HttpClient;
|
|
206
206
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
207
|
-
const managed = yield*
|
|
208
|
-
const voice = yield*
|
|
207
|
+
const managed = yield* Service14;
|
|
208
|
+
const voice = yield* Service20;
|
|
209
209
|
const scope = yield* Scope.Scope;
|
|
210
210
|
const loading = Semaphore.makeUnsafe(1);
|
|
211
211
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -306,7 +306,7 @@ var OpencodePlugin2 = define({
|
|
|
306
306
|
providers.update(providerID, (provider) => {
|
|
307
307
|
if (source && source.provider !== provider)
|
|
308
308
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
309
|
-
provider.integrationID =
|
|
309
|
+
provider.integrationID = ID16.make("opencode");
|
|
310
310
|
if (item.canonical !== undefined)
|
|
311
311
|
provider.canonical = item.canonical;
|
|
312
312
|
if (item.name !== undefined)
|
|
@@ -344,7 +344,7 @@ var OpencodePlugin2 = define({
|
|
|
344
344
|
providers.models.update(providerID, modelID, (model) => {
|
|
345
345
|
if (config.capabilities?.reasoning !== undefined)
|
|
346
346
|
model.variants = [
|
|
347
|
-
...
|
|
347
|
+
...resolve2({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
|
|
348
348
|
];
|
|
349
349
|
for (const variant of config.variants ?? []) {
|
|
350
350
|
let existing = model.variants.find((item) => item.id === variant.id);
|
|
@@ -492,7 +492,7 @@ var OpencodePlugin2 = define({
|
|
|
492
492
|
onlyIfMissing: true
|
|
493
493
|
});
|
|
494
494
|
});
|
|
495
|
-
yield* bus.subscribe(
|
|
495
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
496
496
|
yield* poll();
|
|
497
497
|
})
|
|
498
498
|
});
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node85
|
|
6
|
+
} from "./persistent-pty-xq1w8mg4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service79,
|
|
9
|
+
node83
|
|
10
|
+
} from "./persistent-pty-wgh1engb.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-vd3b3yk9.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
make12
|
|
16
|
+
} from "./persistent-pty-bpvzah12.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service25,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node28
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service25 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service79;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const git = yield*
|
|
39
|
+
const git = yield* make12;
|
|
40
40
|
const state = create3({
|
|
41
41
|
name: "worktree",
|
|
42
42
|
initial: () => ({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service25.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node28 = makeLocationNode({
|
|
61
|
+
service: Service25,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node83, Global.node, node85, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service25, node28, exports_strategies };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID10,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-yayqpxs7.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
|
-
var
|
|
12
|
-
__export(
|
|
13
|
-
AgentPlugin: () =>
|
|
14
|
-
Plugin: () =>
|
|
11
|
+
var exports_agent = {};
|
|
12
|
+
__export(exports_agent, {
|
|
13
|
+
AgentPlugin: () => exports_agent,
|
|
14
|
+
Plugin: () => Plugin17
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -57,7 +57,7 @@ Rules:
|
|
|
57
57
|
- Never ask questions or add new questions
|
|
58
58
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
59
59
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
60
|
-
var
|
|
60
|
+
var Plugin17 = define({
|
|
61
61
|
id: "opencode.agent",
|
|
62
62
|
effect: Effect.fn(function* (ctx) {
|
|
63
63
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -67,32 +67,32 @@ var Plugin48 = define({
|
|
|
67
67
|
item.mode = "primary";
|
|
68
68
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
69
69
|
});
|
|
70
|
-
editor.update(
|
|
70
|
+
editor.update(ID10.make("general"), (item) => {
|
|
71
71
|
item.name = Name3.make("General");
|
|
72
72
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
73
73
|
item.mode = "subagent";
|
|
74
74
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
75
75
|
});
|
|
76
|
-
editor.update(
|
|
76
|
+
editor.update(ID10.make("explore"), (item) => {
|
|
77
77
|
item.name = Name3.make("Explore");
|
|
78
78
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
79
79
|
item.system = PROMPT_EXPLORE;
|
|
80
80
|
item.mode = "subagent";
|
|
81
81
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
82
82
|
});
|
|
83
|
-
editor.update(
|
|
83
|
+
editor.update(ID10.make("compaction"), (item) => {
|
|
84
84
|
item.name = Name3.make("Compaction");
|
|
85
85
|
item.mode = "primary";
|
|
86
86
|
item.hidden = true;
|
|
87
87
|
});
|
|
88
|
-
editor.update(
|
|
88
|
+
editor.update(ID10.make("title"), (item) => {
|
|
89
89
|
item.name = Name3.make("Title");
|
|
90
90
|
item.mode = "primary";
|
|
91
91
|
item.hidden = true;
|
|
92
92
|
item.system = PROMPT_TITLE;
|
|
93
93
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
94
94
|
});
|
|
95
|
-
editor.update(
|
|
95
|
+
editor.update(ID10.make("summary"), (item) => {
|
|
96
96
|
item.name = Name3.make("Summary");
|
|
97
97
|
item.mode = "primary";
|
|
98
98
|
item.hidden = true;
|
|
@@ -103,4 +103,4 @@ var Plugin48 = define({
|
|
|
103
103
|
})
|
|
104
104
|
});
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { Plugin17, exports_agent };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|