@opencode/core 0.0.0-dev-19869 → 0.0.0-dev-19872
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/agent.js +68 -68
- package/dist/aisdk-native.js +67 -67
- package/dist/aisdk.js +72 -72
- package/dist/app.js +9 -9
- package/dist/bus.js +55 -55
- package/dist/chunks/{worktree-b512ytgh.js → worktree-0029brse.js} +2 -2
- package/dist/chunks/{worktree-w9y6772s.js → worktree-01xkgkan.js} +2 -2
- package/dist/chunks/{worktree-yrmashwv.js → worktree-050bv84r.js} +85 -85
- package/dist/chunks/{worktree-bccb6npm.js → worktree-06dxphr1.js} +3 -3
- package/dist/chunks/{worktree-bmpcrrg0.js → worktree-0c5gn5bj.js} +14 -14
- package/dist/chunks/{worktree-51f5btjf.js → worktree-0jkw1j53.js} +5 -5
- package/dist/chunks/{worktree-xp1ejmsr.js → worktree-0z8c9324.js} +10 -10
- package/dist/chunks/{worktree-wk5z6jzv.js → worktree-11dqjexa.js} +8 -8
- package/dist/chunks/{worktree-mgn7rzyp.js → worktree-12egnza5.js} +7 -7
- package/dist/chunks/{worktree-wbgjk9hv.js → worktree-18j04j79.js} +18 -18
- package/dist/chunks/{worktree-yp2x3t23.js → worktree-1acjjqhc.js} +3 -3
- package/dist/chunks/{worktree-gqyhxdpp.js → worktree-1ay3g9r2.js} +20 -20
- package/dist/chunks/{worktree-y3eyw53f.js → worktree-1d5d9h0t.js} +4 -4
- package/dist/chunks/{worktree-49asqp28.js → worktree-1ddefpyr.js} +17 -17
- package/dist/chunks/{worktree-3bpj6ceb.js → worktree-1gjr3geq.js} +12 -12
- package/dist/chunks/{worktree-jjm18tvm.js → worktree-1gvkbw2g.js} +62 -62
- package/dist/chunks/{worktree-70eyy827.js → worktree-1rpj62d2.js} +15 -15
- package/dist/chunks/{worktree-90wr37ay.js → worktree-1rqq8hq9.js} +4 -4
- package/dist/chunks/{worktree-qqtwvk4z.js → worktree-23pqda6t.js} +3 -3
- package/dist/chunks/{worktree-0k4c1wrr.js → worktree-24jxm842.js} +14 -14
- package/dist/chunks/{worktree-45fhr245.js → worktree-28zap5n3.js} +20 -20
- package/dist/chunks/{worktree-bjb9b4mn.js → worktree-2a2ncbm6.js} +14 -14
- package/dist/chunks/{worktree-m1njnqbf.js → worktree-2k4q641w.js} +4 -4
- package/dist/chunks/{worktree-vcxwaaxe.js → worktree-2sz976k1.js} +42 -42
- package/dist/chunks/{worktree-efkf1zjd.js → worktree-2tk7wazy.js} +12 -12
- package/dist/chunks/{worktree-3a83a0n4.js → worktree-30846h32.js} +7 -7
- package/dist/chunks/{worktree-6d4vre1e.js → worktree-35dwm1he.js} +29 -29
- package/dist/chunks/{worktree-7zsm68gg.js → worktree-37zv03r8.js} +9 -9
- package/dist/chunks/{worktree-kcyks54t.js → worktree-3bapk1gs.js} +9 -9
- package/dist/chunks/{worktree-1mrwszqa.js → worktree-3bvwqdfr.js} +4 -4
- package/dist/chunks/{worktree-b6rq28qr.js → worktree-3ckfe0gn.js} +4 -4
- package/dist/chunks/{worktree-8dz1vcbc.js → worktree-3dfzya26.js} +19 -19
- package/dist/chunks/{worktree-g8hymqtc.js → worktree-3eeqg3ch.js} +28 -28
- package/dist/chunks/{worktree-sxnvhwv1.js → worktree-3n1pthd2.js} +7 -7
- package/dist/chunks/{worktree-3w2b2yj4.js → worktree-3w0fmcng.js} +3 -3
- package/dist/chunks/{worktree-zqx8wcya.js → worktree-44ke2mar.js} +3 -3
- package/dist/chunks/{worktree-wxkrd8sq.js → worktree-47rg4hp1.js} +11 -11
- package/dist/chunks/{worktree-dkgmj00c.js → worktree-49efg6hh.js} +13 -13
- package/dist/chunks/{worktree-n8c291r7.js → worktree-4jv7e9dq.js} +6 -6
- package/dist/chunks/{worktree-tvfyrrh0.js → worktree-530x511h.js} +13 -22
- package/dist/chunks/{worktree-f9yrz0nb.js → worktree-56400ha2.js} +9 -9
- package/dist/chunks/{worktree-s197j8aa.js → worktree-5j6r72e5.js} +1 -1
- package/dist/chunks/{worktree-qxds82wp.js → worktree-5pj5yv8y.js} +12 -12
- package/dist/chunks/{worktree-e3qxr5gk.js → worktree-5qd3pb7m.js} +2 -2
- package/dist/chunks/{worktree-s0agc963.js → worktree-5we7r0eg.js} +6 -6
- package/dist/chunks/{worktree-tnp1bzfj.js → worktree-5xzwezzv.js} +35 -35
- package/dist/chunks/worktree-6a3y69ev.js +26 -0
- package/dist/chunks/{worktree-zxj82hcj.js → worktree-6dpcvaj3.js} +29 -29
- package/dist/chunks/{worktree-z8j5hfwf.js → worktree-6e4g0mmd.js} +6 -6
- package/dist/chunks/{worktree-at5d07az.js → worktree-6hh8tjw2.js} +3 -3
- package/dist/chunks/{worktree-qmwxv1vq.js → worktree-6j2syc76.js} +1 -1
- package/dist/chunks/worktree-6kdq0pjd.js +4 -0
- package/dist/chunks/{worktree-6tm94hss.js → worktree-6pbgrpz1.js} +3 -3
- package/dist/chunks/{worktree-59km82at.js → worktree-6skacn9s.js} +30 -30
- package/dist/chunks/{worktree-agnb6b4y.js → worktree-6snte3jf.js} +1 -1
- package/dist/chunks/{worktree-eq1pz5kg.js → worktree-73tb2d7t.js} +2 -2
- package/dist/chunks/{worktree-1sqm6k0j.js → worktree-75wt9k9g.js} +3 -3
- package/dist/chunks/{worktree-fcrkznn8.js → worktree-7dqw4kz8.js} +4 -4
- package/dist/chunks/{worktree-19x32724.js → worktree-7h6v3mqz.js} +83 -83
- package/dist/chunks/{worktree-q60qjx67.js → worktree-81pca9ss.js} +14 -14
- package/dist/chunks/{worktree-g3mn8s68.js → worktree-83xp5e3e.js} +1 -1
- package/dist/chunks/{worktree-mkccyhb3.js → worktree-8c185vwj.js} +7 -7
- package/dist/chunks/{worktree-pjgmd77a.js → worktree-8hcfs6jd.js} +20 -20
- package/dist/chunks/{worktree-gr3j20z5.js → worktree-8jgc84wx.js} +9 -9
- package/dist/chunks/{worktree-71a6hfp5.js → worktree-8kzgg7jc.js} +18 -18
- package/dist/chunks/{worktree-7kdkzndg.js → worktree-8mqynssf.js} +22 -22
- package/dist/chunks/{worktree-q5ampng9.js → worktree-8wgc21mb.js} +42 -42
- package/dist/chunks/{worktree-jyetza0x.js → worktree-90j31e8f.js} +43 -43
- package/dist/chunks/{worktree-7kxej2em.js → worktree-92frf9bc.js} +17 -17
- package/dist/chunks/{worktree-xp0zd8np.js → worktree-9724qm49.js} +19 -19
- package/dist/chunks/{worktree-w4sgba9p.js → worktree-9d5hdd7t.js} +29 -29
- package/dist/chunks/{worktree-5xtgfte3.js → worktree-9hn6k4tm.js} +7 -7
- package/dist/chunks/{worktree-6stnv1c0.js → worktree-a68v6zx7.js} +9 -9
- package/dist/chunks/{worktree-yfaww8xg.js → worktree-ackyxpj1.js} +9 -9
- package/dist/chunks/{worktree-de7zd4tj.js → worktree-adpqb9ts.js} +11 -11
- package/dist/chunks/{worktree-t0fn9gk0.js → worktree-af4q118x.js} +16 -16
- package/dist/chunks/{worktree-ank7hx1v.js → worktree-an1ythzp.js} +17 -17
- package/dist/chunks/{worktree-4jk0qxj4.js → worktree-ax36eyar.js} +7 -7
- package/dist/chunks/{worktree-b1wsctr3.js → worktree-b8gtgm9a.js} +13 -13
- package/dist/chunks/{worktree-pvrysvhk.js → worktree-ba2a1zxc.js} +45 -45
- package/dist/chunks/{worktree-jvf3yq6v.js → worktree-baaqp4zd.js} +3 -3
- package/dist/chunks/{worktree-ve4pfa0n.js → worktree-bct739vz.js} +3 -3
- package/dist/chunks/{worktree-29xxxnfh.js → worktree-bd4e439d.js} +14 -14
- package/dist/chunks/{worktree-am5t4rbj.js → worktree-bggj1spx.js} +42 -42
- package/dist/chunks/{worktree-0w85qfcj.js → worktree-bk3tsm7g.js} +6 -6
- package/dist/chunks/{worktree-7k0xwvvh.js → worktree-bnq6mr9x.js} +6 -6
- package/dist/chunks/{worktree-mwwsh29t.js → worktree-bxy5ajfv.js} +5 -5
- package/dist/chunks/{worktree-ryt7pzqc.js → worktree-bz85s9hh.js} +1 -1
- package/dist/chunks/{worktree-dtfx1akz.js → worktree-c8a4jtjn.js} +9 -9
- package/dist/chunks/{worktree-ky8bwrva.js → worktree-cd7c4bdb.js} +11 -11
- package/dist/chunks/{worktree-3j8s7hm7.js → worktree-cejdfrv6.js} +16 -16
- package/dist/chunks/{worktree-8d55p9gd.js → worktree-cem17g90.js} +39 -39
- package/dist/chunks/{worktree-bajakh74.js → worktree-cq37gk0t.js} +1 -1
- package/dist/chunks/{worktree-hb7v7ywc.js → worktree-cs064az4.js} +6 -6
- package/dist/chunks/{worktree-n9ktaep2.js → worktree-cscxcgsg.js} +10 -10
- package/dist/chunks/{worktree-p3xeg7xc.js → worktree-d0mt1vja.js} +8 -8
- package/dist/chunks/{worktree-nm76w6gv.js → worktree-d2ax4fej.js} +9 -9
- package/dist/chunks/{worktree-9racvqph.js → worktree-d4q36r9n.js} +19 -19
- package/dist/chunks/{worktree-a881zpfh.js → worktree-d737nyfv.js} +7 -7
- package/dist/chunks/{worktree-tj6nafm8.js → worktree-d7m6g9v6.js} +1 -1
- package/dist/chunks/{worktree-mpmcaacv.js → worktree-d8c3ffv1.js} +7 -7
- package/dist/chunks/{worktree-2w6fc0zt.js → worktree-dc6tzc5b.js} +5 -5
- package/dist/chunks/{worktree-24ddpwsm.js → worktree-dgrza9ek.js} +10 -10
- package/dist/chunks/{worktree-9pj1d4f4.js → worktree-dh787sn1.js} +22 -22
- package/dist/chunks/{worktree-1218kfkx.js → worktree-dje2ev5t.js} +3 -3
- package/dist/chunks/{worktree-c765mh8b.js → worktree-djszqvmq.js} +7 -7
- package/dist/chunks/{worktree-p3d2pjj7.js → worktree-dk764wf3.js} +19 -19
- package/dist/chunks/{worktree-mtqf31pt.js → worktree-dmabgk2v.js} +10 -10
- package/dist/chunks/{worktree-y71avatq.js → worktree-dpkg50ah.js} +3 -3
- package/dist/chunks/{worktree-h21m3h6n.js → worktree-dsymck0a.js} +13 -6
- package/dist/chunks/{worktree-baasw9zs.js → worktree-dz8x4rxg.js} +3 -3
- package/dist/chunks/{worktree-bkcnheq0.js → worktree-e63kay3b.js} +30 -30
- package/dist/chunks/{worktree-yasnnz0a.js → worktree-ef1sz92s.js} +16 -16
- package/dist/chunks/{worktree-8emwh38k.js → worktree-ep7dn8jk.js} +11 -11
- package/dist/chunks/{worktree-e5fd240w.js → worktree-f06r0vcj.js} +7 -7
- package/dist/chunks/{worktree-6zwr9q5m.js → worktree-f0svag7k.js} +49 -49
- package/dist/chunks/{worktree-4xkxc3t4.js → worktree-f2da3tzf.js} +16 -16
- package/dist/chunks/{worktree-3801kdgp.js → worktree-f62qkzqr.js} +3 -3
- package/dist/chunks/{worktree-1rc4386p.js → worktree-fbf3se4r.js} +20 -20
- package/dist/chunks/{worktree-gjnhxr8h.js → worktree-frr8ma5g.js} +13 -13
- package/dist/chunks/{worktree-exg3tbdv.js → worktree-gg184eje.js} +16 -16
- package/dist/chunks/{worktree-k8zyetr0.js → worktree-gn0qs0ez.js} +31 -31
- package/dist/chunks/worktree-gqqsgceb.js +252 -0
- package/dist/chunks/{worktree-b0twfynp.js → worktree-gzhks085.js} +13 -13
- package/dist/chunks/{worktree-sra9araw.js → worktree-hkfg6fzm.js} +3 -3
- package/dist/chunks/{worktree-218c6ez9.js → worktree-hmkf95c9.js} +8 -8
- package/dist/chunks/{worktree-g0t6d1hq.js → worktree-j93fbyzs.js} +13 -13
- package/dist/chunks/{worktree-75ah400z.js → worktree-jaek9wet.js} +25 -25
- package/dist/chunks/{worktree-h36ryfv7.js → worktree-jhyw6xje.js} +17 -17
- package/dist/chunks/{worktree-ht5y0zrb.js → worktree-jqh9b0xq.js} +4 -4
- package/dist/chunks/{worktree-28cf9raz.js → worktree-jtz05rza.js} +40 -40
- package/dist/chunks/{worktree-pd15fgp8.js → worktree-jvdmeb00.js} +19 -19
- package/dist/chunks/{worktree-xgpk3fc4.js → worktree-jyaxjask.js} +21 -21
- package/dist/chunks/{worktree-wfsp5hpn.js → worktree-k03db8z3.js} +15 -15
- package/dist/chunks/{worktree-h51w75cp.js → worktree-k03y7cqw.js} +41 -41
- package/dist/chunks/{worktree-e6r8tc5b.js → worktree-k39q4sf2.js} +22 -22
- package/dist/chunks/{worktree-d34gzn5d.js → worktree-k78r674t.js} +31 -31
- package/dist/chunks/{worktree-28544jz8.js → worktree-k7zs4xcs.js} +4 -4
- package/dist/chunks/{worktree-gmkwjvek.js → worktree-kaagn64m.js} +24 -24
- package/dist/chunks/{worktree-287pmr97.js → worktree-kccwy87p.js} +12 -12
- package/dist/chunks/{worktree-czys4tjs.js → worktree-knhmpdmt.js} +10 -10
- package/dist/chunks/{worktree-5nb2d01r.js → worktree-ky3seynh.js} +1 -1
- package/dist/chunks/{worktree-9w5k7bqz.js → worktree-m183j3hp.js} +5 -5
- package/dist/chunks/{worktree-tnk6yr9e.js → worktree-m2g4r6ez.js} +8 -8
- package/dist/chunks/{worktree-sjf3tctt.js → worktree-m2zz6rv6.js} +8 -8
- package/dist/chunks/{worktree-nvkemvkp.js → worktree-m81pe42t.js} +17 -17
- package/dist/chunks/{worktree-t192gekf.js → worktree-mc5yagq3.js} +16 -16
- package/dist/chunks/{worktree-6a90knky.js → worktree-mdpcq19b.js} +10 -10
- package/dist/chunks/{worktree-t9v9zp6z.js → worktree-mhyqqp67.js} +22 -22
- package/dist/chunks/{worktree-s1pqek41.js → worktree-mn14093j.js} +10 -10
- package/dist/chunks/{worktree-246ka326.js → worktree-mnzq238h.js} +12 -12
- package/dist/chunks/{worktree-6h7j3cy3.js → worktree-mtthj00s.js} +55 -55
- package/dist/chunks/{worktree-5gczjwyk.js → worktree-myvehfjc.js} +27 -27
- package/dist/chunks/{worktree-t3jywk8f.js → worktree-n48a3wtd.js} +6 -6
- package/dist/chunks/{worktree-gxgynv4w.js → worktree-n4efq2p3.js} +14 -14
- package/dist/chunks/{worktree-kt1vcyar.js → worktree-ncv4r2bp.js} +15 -15
- package/dist/chunks/{worktree-y23sf9zr.js → worktree-ng12e52f.js} +4 -4
- package/dist/chunks/{worktree-vay95fzq.js → worktree-nmb2jxzm.js} +14 -14
- package/dist/chunks/{worktree-k5xfnnfv.js → worktree-nnc51gs2.js} +10 -10
- package/dist/chunks/{worktree-fs0skkb3.js → worktree-nq9nxgcr.js} +22 -22
- package/dist/chunks/{worktree-t51qk8jz.js → worktree-nrdmrqsx.js} +20 -20
- package/dist/chunks/{worktree-cy5zkmv9.js → worktree-ntn63d0h.js} +20 -20
- package/dist/chunks/{worktree-aw0v1j7y.js → worktree-nwwa308c.js} +6 -6
- package/dist/chunks/{worktree-gna9rzrz.js → worktree-nye5f74f.js} +9 -9
- package/dist/chunks/{worktree-w9wca7t8.js → worktree-p8d83q2f.js} +13 -13
- package/dist/chunks/{worktree-axxg5j10.js → worktree-pd8tqg4h.js} +25 -25
- package/dist/chunks/{worktree-has2vgfm.js → worktree-pnd0g9pf.js} +4 -4
- package/dist/chunks/{worktree-fhs97t90.js → worktree-pnv527nz.js} +7 -7
- package/dist/chunks/{worktree-x7vm5fej.js → worktree-pvr04t1x.js} +16 -16
- package/dist/chunks/{worktree-g5x507wm.js → worktree-pydpba5n.js} +173 -173
- package/dist/chunks/{worktree-57a2pt8j.js → worktree-q17qcqnk.js} +9 -9
- package/dist/chunks/{worktree-bs95t40t.js → worktree-q7hnyx62.js} +8 -8
- package/dist/chunks/{worktree-xsny6hxq.js → worktree-qd60702v.js} +13 -13
- package/dist/chunks/{worktree-jthyzkpc.js → worktree-qp8jc7h3.js} +7 -7
- package/dist/chunks/{worktree-c4gmtxpm.js → worktree-qpx06cdk.js} +26 -26
- package/dist/chunks/{worktree-zjp9qjhq.js → worktree-qrq3k7hv.js} +30 -30
- package/dist/chunks/{worktree-70x5mss4.js → worktree-qvb4r7jj.js} +24 -24
- package/dist/chunks/{worktree-9ymcqn9e.js → worktree-r4v7sw5j.js} +1 -1
- package/dist/chunks/{worktree-e982br48.js → worktree-r5ec8tk0.js} +2 -2
- package/dist/chunks/{worktree-34g626t1.js → worktree-rc43q7gj.js} +24 -24
- package/dist/chunks/{worktree-sbd1zx3a.js → worktree-rd8gh7p5.js} +3 -3
- package/dist/chunks/{worktree-t550f9t1.js → worktree-rhjbct0v.js} +3 -3
- package/dist/chunks/{worktree-6srgc5f7.js → worktree-rr217x4v.js} +22 -22
- package/dist/chunks/{worktree-czf046f0.js → worktree-rvemz3qf.js} +7 -7
- package/dist/chunks/{worktree-tjhrsaf7.js → worktree-s3nqtxxj.js} +25 -25
- package/dist/chunks/{worktree-3ythc6yv.js → worktree-shh6fz4q.js} +3 -3
- package/dist/chunks/{worktree-cye10yf4.js → worktree-sjwxqtfk.js} +12 -12
- package/dist/chunks/{worktree-jzrbce6w.js → worktree-smyb6yf6.js} +17 -17
- package/dist/chunks/{worktree-ht4gnk1k.js → worktree-smzykshb.js} +5 -5
- package/dist/chunks/{worktree-fc1cvdk9.js → worktree-srq7twvs.js} +20 -20
- package/dist/chunks/{worktree-11s59a84.js → worktree-t4ke9ew4.js} +8 -8
- package/dist/chunks/{worktree-ph842b28.js → worktree-tjedn1bk.js} +3 -3
- package/dist/chunks/{worktree-kvshrfkj.js → worktree-tnx6ann6.js} +1 -1
- package/dist/chunks/{worktree-c7t7ttxe.js → worktree-v3n2aj7f.js} +30 -30
- package/dist/chunks/{worktree-sm965ndy.js → worktree-w3x9v1nk.js} +7 -7
- package/dist/chunks/{worktree-0787dcsh.js → worktree-w4ppdpd0.js} +8 -8
- package/dist/chunks/{worktree-3t8frjm5.js → worktree-w5npym6y.js} +3 -3
- package/dist/chunks/{worktree-2dwhn3my.js → worktree-w5xsrbnb.js} +28 -28
- package/dist/chunks/{worktree-xbgsghrj.js → worktree-wder9crj.js} +13 -13
- package/dist/chunks/{worktree-ccmdabta.js → worktree-wkt0yqpq.js} +3 -3
- package/dist/chunks/{worktree-ckdz0ad0.js → worktree-wv5sfath.js} +8 -8
- package/dist/chunks/{worktree-y6a4cmqh.js → worktree-wxffcvth.js} +7 -7
- package/dist/chunks/{worktree-yy256scs.js → worktree-x2eykcsk.js} +32 -32
- package/dist/chunks/{worktree-wxqxrmdn.js → worktree-x96eb595.js} +23 -23
- package/dist/chunks/{worktree-ns90ddce.js → worktree-x9w52knk.js} +19 -19
- package/dist/chunks/{worktree-z1y70ee3.js → worktree-x9wq683r.js} +1 -1
- package/dist/chunks/{worktree-qqeeq2t9.js → worktree-xfkkasph.js} +6 -6
- package/dist/chunks/{worktree-wt5y36s4.js → worktree-xk8j9t28.js} +19 -19
- package/dist/chunks/{worktree-2463j9pj.js → worktree-xrm9dfb1.js} +14 -14
- package/dist/chunks/{worktree-rj6d5p5e.js → worktree-xxynqx5z.js} +3 -3
- package/dist/chunks/{worktree-w16pgjcx.js → worktree-xzbq4t52.js} +32 -32
- package/dist/chunks/{worktree-nrkjg2yg.js → worktree-y1ygrsmg.js} +2 -2
- package/dist/chunks/{worktree-1rk9t83t.js → worktree-y7abhsg2.js} +9 -9
- package/dist/chunks/{worktree-bmpepz07.js → worktree-y9854d0h.js} +5 -5
- package/dist/chunks/{worktree-6hqwt1nw.js → worktree-ydg01c3p.js} +12 -12
- package/dist/chunks/{worktree-54ptgeb2.js → worktree-yjmcsphm.js} +22 -22
- package/dist/chunks/{worktree-fvsyg6qk.js → worktree-yjptyezs.js} +3 -3
- package/dist/chunks/{worktree-cwn9cw75.js → worktree-ykze60hc.js} +15 -15
- package/dist/chunks/{worktree-s4enseaf.js → worktree-yrznvahk.js} +1 -1
- package/dist/chunks/{worktree-xbp7gjm9.js → worktree-z2cyrkj5.js} +11 -11
- package/dist/chunks/{worktree-8b4cgdt8.js → worktree-z5z5sd66.js} +24 -24
- package/dist/chunks/{worktree-29x78va6.js → worktree-z63w68vq.js} +4 -4
- package/dist/chunks/{worktree-bnw2aka3.js → worktree-z9yzr4jj.js} +21 -21
- package/dist/chunks/{worktree-vtmgncrs.js → worktree-zdfdg6f3.js} +309 -309
- package/dist/chunks/{worktree-ttca00zt.js → worktree-zh8xk7my.js} +14 -14
- package/dist/codemode/instructions.js +8 -8
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +68 -68
- package/dist/config/discovery.js +62 -62
- package/dist/config/normalize.js +82 -82
- package/dist/config/plugin/agent.js +95 -95
- package/dist/config/plugin/command.js +175 -175
- package/dist/config/plugin/compaction.js +128 -128
- package/dist/config/plugin/compatibility.js +112 -112
- package/dist/config/plugin/formatter.js +96 -96
- package/dist/config/plugin/image.js +95 -95
- package/dist/config/plugin/instruction.js +68 -68
- package/dist/config/plugin/location-watcher.js +95 -95
- package/dist/config/plugin/mcp.js +102 -102
- package/dist/config/plugin/policy.js +95 -95
- package/dist/config/plugin/provider.js +95 -95
- package/dist/config/plugin/reference.js +97 -97
- package/dist/config/plugin/shell.js +97 -97
- package/dist/config/plugin/skill-file.js +75 -75
- package/dist/config/plugin/skill.js +115 -115
- package/dist/config/plugin/snapshot.js +95 -95
- package/dist/config/plugin/source.js +98 -98
- package/dist/config/plugin/tool-output.js +97 -97
- package/dist/config/plugin/websearch.js +96 -96
- package/dist/config/plugin/worktree.js +96 -96
- package/dist/config/variable.js +2 -2
- package/dist/config.js +101 -101
- package/dist/credential.js +67 -67
- package/dist/database/database.js +53 -53
- package/dist/database/drizzle/effect-sqlite/driver.js +10 -10
- package/dist/database/drizzle/effect-sqlite/index.js +6 -6
- package/dist/database/drizzle/effect-sqlite/session.js +7 -7
- package/dist/database/drizzle/index.js +11 -11
- package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
- package/dist/database/drizzle.js +11 -11
- package/dist/database/migration.gen.js +37 -37
- package/dist/database/migration.js +38 -38
- package/dist/database/v1-migration.bun.js +9 -9
- package/dist/effect/app-node-builder.js +237 -237
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/environment/environment.js +69 -69
- package/dist/environment/index.js +71 -71
- package/dist/event-logger.js +10 -10
- package/dist/file-access.js +78 -78
- package/dist/file-mutation.js +70 -70
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +187 -187
- package/dist/filesystem/search.js +77 -77
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +14 -14
- package/dist/filesystem.js +74 -74
- package/dist/form.js +66 -66
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +68 -68
- package/dist/generate.js +79 -79
- package/dist/git.js +8 -8
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +3 -3
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +77 -77
- package/dist/github-copilot/responses/openai-responses-language-model.js +4 -4
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +2 -2
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +311 -311
- package/dist/instruction-discovery.js +65 -65
- package/dist/instructions/builtins.js +67 -67
- package/dist/instructions/index.js +3 -3
- package/dist/integration.js +68 -68
- package/dist/job.js +62 -62
- package/dist/kv.js +54 -54
- package/dist/location-activity.js +53 -53
- package/dist/location-lifecycle.js +80 -80
- package/dist/location-mutation.js +31 -31
- package/dist/location-service-map.js +66 -66
- package/dist/location-services.js +308 -308
- package/dist/location.js +67 -67
- package/dist/mcp/client.js +18 -18
- package/dist/mcp/index.js +77 -77
- package/dist/mcp/instructions.js +95 -95
- package/dist/mcp/oauth.js +14 -14
- package/dist/mcp/stdio.js +66 -66
- package/dist/modal/models.js +77 -77
- package/dist/model-resolver.js +76 -76
- package/dist/model.js +76 -76
- package/dist/models-dev.js +84 -84
- package/dist/permission/saved.js +62 -62
- package/dist/permission.js +89 -89
- package/dist/persistent-pty/index.js +63 -63
- package/dist/persistent-pty.js +57 -57
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +74 -74
- package/dist/plugin/compaction.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +180 -180
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +283 -283
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +73 -73
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +76 -76
- package/dist/plugin/provider/amazon-bedrock.js +68 -68
- package/dist/plugin/provider/azure.js +94 -94
- package/dist/plugin/provider/cloudflare-ai-gateway.js +93 -93
- package/dist/plugin/provider/cloudflare-workers-ai.js +93 -93
- package/dist/plugin/provider/configured.js +92 -92
- package/dist/plugin/provider/digitalocean.js +70 -70
- package/dist/plugin/provider/github-copilot.js +71 -71
- package/dist/plugin/provider/gitlab.js +69 -69
- package/dist/plugin/provider/google-vertex.js +68 -68
- package/dist/plugin/provider/llmgateway.js +61 -61
- package/dist/plugin/provider/lmstudio.js +95 -95
- package/dist/plugin/provider/modal.js +70 -70
- package/dist/plugin/provider/ollama.js +95 -95
- package/dist/plugin/provider/openai.js +69 -69
- package/dist/plugin/provider/opencode.js +70 -70
- package/dist/plugin/provider/openrouter.js +69 -69
- package/dist/plugin/provider/poe.js +61 -61
- package/dist/plugin/provider/prompt-cache-key.js +68 -68
- package/dist/plugin/provider/sap-ai-core.js +68 -68
- package/dist/plugin/provider/snowflake-cortex.js +94 -94
- package/dist/plugin/provider/vercel.js +68 -68
- package/dist/plugin/provider/vllm.js +95 -95
- package/dist/plugin/provider/xai.js +69 -69
- package/dist/plugin/provider.js +125 -125
- package/dist/plugin/sdk.js +62 -62
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +111 -111
- package/dist/plugin/supervisor.js +300 -300
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +65 -65
- package/dist/plugin/vcs/hg.js +65 -65
- package/dist/plugin/warming.js +94 -94
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +7 -7
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +4 -4
- package/dist/plugin.js +192 -192
- package/dist/project/schema.js +5 -5
- package/dist/project.js +66 -66
- package/dist/provider.js +75 -75
- package/dist/pty/schema.js +3 -3
- package/dist/pty.js +74 -74
- package/dist/reference/instructions.js +69 -69
- package/dist/reference.js +71 -71
- package/dist/repository-cache.js +63 -63
- package/dist/ripgrep.js +70 -70
- package/dist/rpc.js +66 -66
- package/dist/session/command.js +59 -59
- package/dist/session/compaction.js +103 -103
- package/dist/session/context.js +119 -119
- package/dist/session/diff.js +65 -65
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +6 -6
- package/dist/session/execution/restart.js +119 -119
- package/dist/session/execution.js +97 -97
- package/dist/session/generate.js +118 -118
- package/dist/session/history.js +8 -8
- package/dist/session/inbox.js +67 -67
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +61 -61
- package/dist/session/instruction-state.js +2 -2
- package/dist/session/instructions.js +74 -74
- package/dist/session/model-request.js +91 -91
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +99 -99
- package/dist/session/projector.js +63 -63
- package/dist/session/prompt.js +79 -79
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +66 -66
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +190 -190
- package/dist/session/runner/model.js +76 -76
- package/dist/session/runner/retry.js +85 -85
- package/dist/session/runner/step.js +95 -95
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +138 -138
- package/dist/session/shell.js +107 -107
- package/dist/session/skill.js +77 -77
- package/dist/session/stats.js +8 -8
- package/dist/session/store.js +65 -65
- package/dist/session/subagent-job.js +173 -173
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +122 -122
- package/dist/session/to-session-error.js +84 -84
- package/dist/session/transfer.js +116 -116
- package/dist/session.js +181 -181
- package/dist/shell/parse.js +3 -3
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +110 -110
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +81 -81
- package/dist/skill.js +84 -84
- package/dist/snapshot.js +68 -68
- package/dist/tool/mcp.js +98 -98
- package/dist/tool/plugin/edit.js +90 -90
- package/dist/tool/plugin/glob.js +93 -93
- package/dist/tool/plugin/grep.js +93 -93
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +86 -86
- package/dist/tool/plugin/question.js +79 -79
- package/dist/tool/plugin/read.js +94 -94
- package/dist/tool/plugin/shell.js +181 -181
- package/dist/tool/plugin/skill.js +79 -79
- package/dist/tool/plugin/subagent.js +182 -182
- package/dist/tool/plugin/webfetch.js +80 -80
- package/dist/tool/plugin/websearch.js +87 -87
- package/dist/tool/plugin/write.js +92 -92
- package/dist/tool/read-filesystem.js +74 -74
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +11 -11
- package/dist/v1/config/agent.js +6 -6
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +13 -13
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +69 -69
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/skills.js +3 -3
- package/dist/variant.js +69 -69
- package/dist/vcs.js +68 -68
- package/dist/websearch.js +67 -67
- package/dist/wellknown/plugin.js +60 -60
- package/dist/wellknown.js +63 -63
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace.js +66 -66
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/strategies.js +67 -67
- package/dist/worktree.js +73 -73
- package/package.json +8 -8
- package/dist/chunks/worktree-0mesazry.js +0 -4
- package/dist/chunks/worktree-6zs4aaxp.js +0 -252
- package/dist/chunks/worktree-bdmzhav8.js +0 -26
- /package/dist/chunks/{worktree-zvffvgzw.js → worktree-f40tx9v5.js} +0 -0
- /package/dist/chunks/{worktree-vm7xxkph.js → worktree-ja2xmr49.js} +0 -0
- /package/dist/chunks/{worktree-nzks3jc8.js → worktree-k3c624dm.js} +0 -0
- /package/dist/chunks/{worktree-j34dxvpb.js → worktree-ma48de29.js} +0 -0
- /package/dist/chunks/{worktree-64mbz47k.js → worktree-wgz7hchk.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./worktree-
|
|
2
|
+
Service61
|
|
3
|
+
} from "./worktree-mtthj00s.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
@@ -16,21 +16,21 @@ import {
|
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input6,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin23,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name6
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name6 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
@@ -38,7 +38,7 @@ var description4 = `Fetch content from an HTTP or HTTPS URL and return it as tex
|
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input6 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input11 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input6.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin23 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service61;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name6,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description4,
|
|
104
|
-
input:
|
|
104
|
+
input: Input6,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin47 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name6,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name6, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input6, Plugin23, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./worktree-
|
|
2
|
+
Service77,
|
|
3
|
+
node80
|
|
4
|
+
} from "./worktree-8mqynssf.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
7
|
} from "./worktree-9rqn6x4v.js";
|
|
@@ -9,25 +9,25 @@ import {
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info31,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service76,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node79,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info31, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service76 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node79 = LayerNode.unbound(Service76, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service77;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service76.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service77, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service76,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node80]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info31, Ref4, response2, Service76, node79, boundNode2, exports_location };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./worktree-
|
|
3
|
+
} from "./worktree-s3nqtxxj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID14,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./worktree-
|
|
7
|
+
} from "./worktree-fbf3se4r.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID14.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./worktree-
|
|
4
|
+
} from "./worktree-r5ec8tk0.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./worktree-
|
|
7
|
+
} from "./worktree-5pj5yv8y.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
10
|
} from "./worktree-sk3qaz4a.js";
|
|
@@ -16,13 +16,13 @@ import {
|
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError3,
|
|
20
20
|
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
22
|
Service: () => Service22,
|
|
23
|
-
UnavailableError: () =>
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
24
|
configured: () => configured4,
|
|
25
|
-
layer: () =>
|
|
25
|
+
layer: () => layer11,
|
|
26
26
|
node: () => node25
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
@@ -37,12 +37,12 @@ import { resolveBinary } from "#persistent-pty-binary";
|
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
38
|
var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
258
|
+
var layer11 = makeLayer();
|
|
259
259
|
var configured4 = (options) => makeGlobalNode({
|
|
260
260
|
service: Service22,
|
|
261
|
-
layer: options === undefined ?
|
|
261
|
+
layer: options === undefined ? layer11 : makeLayer(options),
|
|
262
262
|
deps: [node86, Global.node]
|
|
263
263
|
});
|
|
264
264
|
var node25 = configured4();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export { Options4,
|
|
304
|
+
export { Options4, UnavailableError3, NotFoundError3, Service22, layer11, configured4, node25, exports_persistent_pty, Handoff2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./worktree-
|
|
6
|
+
} from "./worktree-z5z5sd66.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./worktree-9rqn6x4v.js";
|
|
@@ -13,9 +13,9 @@ var exports_aisdk = {};
|
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service55,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node57
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -130,7 +130,7 @@ function prepareOptions(model, pkg) {
|
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
133
|
-
providerID:
|
|
133
|
+
providerID: ID13,
|
|
134
134
|
cause: Schema.Defect()
|
|
135
135
|
}) {
|
|
136
136
|
}
|
|
@@ -138,9 +138,9 @@ function initError(providerID) {
|
|
|
138
138
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
class
|
|
141
|
+
class Service55 extends Context.Service()("@opencode/AISDK") {
|
|
142
142
|
}
|
|
143
|
-
var locationLayer2 = Layer.effect(
|
|
143
|
+
var locationLayer2 = Layer.effect(Service55, Effect.gen(function* () {
|
|
144
144
|
let sdkHooks = [];
|
|
145
145
|
let languageHooks = [];
|
|
146
146
|
const languages = new Map;
|
|
@@ -178,7 +178,7 @@ var locationLayer2 = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
178
178
|
}
|
|
179
179
|
return event;
|
|
180
180
|
});
|
|
181
|
-
const service =
|
|
181
|
+
const service = Service55.of({
|
|
182
182
|
hook: {
|
|
183
183
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
184
184
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -819,6 +819,6 @@ function providerErrorMessage(error) {
|
|
|
819
819
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
820
820
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
821
821
|
}
|
|
822
|
-
var
|
|
822
|
+
var node57 = makeLocationNode({ service: Service55, layer: locationLayer2, deps: [] });
|
|
823
823
|
|
|
824
|
-
export { InitError2,
|
|
824
|
+
export { InitError2, Service55, locationLayer2, node57, exports_aisdk };
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
lazy2
|
|
3
3
|
} from "./worktree-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./worktree-
|
|
5
|
+
load4
|
|
6
|
+
} from "./worktree-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./worktree-9rqn6x4v.js";
|
|
@@ -11,18 +11,18 @@ import {
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event10,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options8,
|
|
17
|
+
Service: () => Service47,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured8,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer20,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node50,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event10 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load4());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options8 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service47 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer20 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service47.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer24 = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service47.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer20().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service47).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service47, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured8(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service47, layer: layer20(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node50 = configured8();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event10, hasNativeBinding2, Native3, Options8, Service47, Test3, layer20, testLayer3, nativeLayer2, nativeNode2, configured8, node50, exports_watcher };
|
|
@@ -3,39 +3,39 @@ import {
|
|
|
3
3
|
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission = {};
|
|
7
|
+
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission,
|
|
10
|
+
Info: () => Info10,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule2
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule2),
|
|
20
|
+
edit: Schema.optional(Rule2),
|
|
21
|
+
glob: Schema.optional(Rule2),
|
|
22
|
+
grep: Schema.optional(Rule2),
|
|
23
|
+
list: Schema.optional(Rule2),
|
|
24
|
+
bash: Schema.optional(Rule2),
|
|
25
|
+
task: Schema.optional(Rule2),
|
|
26
|
+
external_directory: Schema.optional(Rule2),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
|
-
webfetch: Schema.optional(
|
|
28
|
+
webfetch: Schema.optional(Rule2),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule2),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule2)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info10 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info10, exports_permission };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./worktree-
|
|
4
|
+
} from "./worktree-0029brse.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./worktree-
|
|
8
|
+
} from "./worktree-r5ec8tk0.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
11
|
} from "./worktree-5t3nmthw.js";
|
|
@@ -17,28 +17,28 @@ import {
|
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./worktree-
|
|
20
|
+
} from "./worktree-06dxphr1.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./worktree-
|
|
22
|
+
load5
|
|
23
|
+
} from "./worktree-m2g4r6ez.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
26
|
} from "./worktree-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./worktree-
|
|
29
|
+
} from "./worktree-bz85s9hh.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./worktree-
|
|
34
|
+
} from "./worktree-gn0qs0ez.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./worktree-
|
|
37
|
+
} from "./worktree-3bvwqdfr.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./worktree-
|
|
41
|
+
} from "./worktree-r4v7sw5j.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
44
|
} from "./worktree-h6vf3j39.js";
|
|
@@ -54,12 +54,12 @@ import {
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction3 = {};
|
|
56
56
|
__export(exports_compaction3, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service12,
|
|
58
58
|
SessionCompaction: () => exports_compaction3,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
|
-
layer: () =>
|
|
62
|
-
node: () =>
|
|
61
|
+
layer: () => layer7,
|
|
62
|
+
node: () => node14,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service12 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -298,7 +298,7 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
298
298
|
};
|
|
299
299
|
var hasSummarySection = (summary) => summary.split(`
|
|
300
300
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
301
|
-
var
|
|
301
|
+
var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service82;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
304
|
const db = (yield* Service83).db;
|
|
@@ -377,7 +377,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
377
377
|
webSocket
|
|
378
378
|
});
|
|
379
379
|
};
|
|
380
|
-
const original = (sessionID) =>
|
|
380
|
+
const original = (sessionID) => load5(db, sessionID, "local").pipe(Effect.orDie);
|
|
381
381
|
const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
|
|
382
382
|
const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
|
|
383
383
|
const context = input.context;
|
|
@@ -606,7 +606,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
606
606
|
}
|
|
607
607
|
}));
|
|
608
608
|
});
|
|
609
|
-
return
|
|
609
|
+
return Service12.of({
|
|
610
610
|
transform: state.transform,
|
|
611
611
|
reload: state.reload,
|
|
612
612
|
enabled: () => state.get().auto,
|
|
@@ -615,10 +615,10 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
615
615
|
compactManual
|
|
616
616
|
});
|
|
617
617
|
}));
|
|
618
|
-
var
|
|
619
|
-
service:
|
|
620
|
-
layer:
|
|
618
|
+
var node14 = makeLocationNode({
|
|
619
|
+
service: Service12,
|
|
620
|
+
layer: layer7,
|
|
621
621
|
deps: [node86, node87, llmClient2]
|
|
622
622
|
});
|
|
623
623
|
|
|
624
|
-
export {
|
|
624
|
+
export { Service12, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node14, exports_compaction3 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./worktree-
|
|
3
|
+
Service46
|
|
4
|
+
} from "./worktree-jtz05rza.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
7
|
} from "./worktree-9rqn6x4v.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin15,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin15 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service46;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin16 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin15, exports_warming };
|