@opencode/core 0.0.0-dev-466 → 0.0.0-dev-468
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 +75 -75
- package/dist/aisdk-native.js +73 -73
- package/dist/aisdk.js +78 -78
- package/dist/app.js +9 -9
- package/dist/artifact.js +198 -198
- package/dist/bus.js +61 -61
- package/dist/chunks/{tool-output-djw2zn7q.js → tool-output-003nb3x9.js} +6 -6
- package/dist/chunks/{tool-output-n0nkwf14.js → tool-output-0f7cqh9y.js} +19 -19
- package/dist/chunks/{tool-output-yb225m05.js → tool-output-0g084y6g.js} +8 -8
- package/dist/chunks/{tool-output-gnwamg3p.js → tool-output-0mncc170.js} +18 -18
- package/dist/chunks/{tool-output-jx32s6s7.js → tool-output-0qn973hg.js} +41 -41
- package/dist/chunks/{tool-output-cf9r8vqq.js → tool-output-0w5jtxws.js} +2 -2
- package/dist/chunks/{tool-output-x87ytaxf.js → tool-output-10xvpzbz.js} +8 -8
- package/dist/chunks/{tool-output-w6zbx7sx.js → tool-output-15x6q7ay.js} +27 -27
- package/dist/chunks/{tool-output-h187kc3f.js → tool-output-1dzaet6x.js} +22 -22
- package/dist/chunks/{tool-output-7eev1cf5.js → tool-output-1k3fpg92.js} +16 -16
- package/dist/chunks/{tool-output-26wfx3k0.js → tool-output-1q07fp1w.js} +3 -3
- package/dist/chunks/{tool-output-f341sazs.js → tool-output-1vbrkdbs.js} +1 -1
- package/dist/chunks/{tool-output-v9ez2kgh.js → tool-output-1yq9hg58.js} +4 -4
- package/dist/chunks/{tool-output-pxp22qz6.js → tool-output-1zyreaf5.js} +5 -5
- package/dist/chunks/{tool-output-8zfy3skd.js → tool-output-20f8tgrs.js} +84 -84
- package/dist/chunks/{tool-output-dkrnptrz.js → tool-output-233argac.js} +6 -6
- package/dist/chunks/{tool-output-66sfkq4p.js → tool-output-24e6ax7n.js} +21 -21
- package/dist/chunks/{tool-output-8b3vzgkx.js → tool-output-25h84942.js} +3 -3
- package/dist/chunks/{tool-output-kdrvp24z.js → tool-output-26b1y7rt.js} +15 -15
- package/dist/chunks/{tool-output-0p4pmdhq.js → tool-output-2mekcvss.js} +19 -28
- package/dist/chunks/{tool-output-5sx3441x.js → tool-output-2mjf8t6w.js} +12 -12
- package/dist/chunks/{tool-output-kpa09rhw.js → tool-output-2mn1j6hz.js} +7 -7
- package/dist/chunks/{tool-output-ahedfgv0.js → tool-output-2p0swzms.js} +3 -3
- package/dist/chunks/{tool-output-0x3mztr9.js → tool-output-2wxwzjqh.js} +16 -16
- package/dist/chunks/{tool-output-dcbgjmsj.js → tool-output-34mdyaah.js} +19 -19
- package/dist/chunks/{tool-output-anvcme1c.js → tool-output-38aws4xb.js} +3 -3
- package/dist/chunks/{tool-output-d2fmx1yk.js → tool-output-3d7bg7jv.js} +17 -17
- package/dist/chunks/{tool-output-6sfn6t41.js → tool-output-3hgz1z2m.js} +9 -9
- package/dist/chunks/{tool-output-sx8d7w52.js → tool-output-3jc4acfe.js} +23 -23
- package/dist/chunks/{tool-output-x7bw7bgf.js → tool-output-3n7vn1tw.js} +24 -24
- package/dist/chunks/{tool-output-gnjy40cd.js → tool-output-3vgty9hw.js} +31 -31
- package/dist/chunks/{tool-output-2s709x84.js → tool-output-3wyhrqfb.js} +7 -7
- package/dist/chunks/{tool-output-7ns7jg7q.js → tool-output-4q33662b.js} +15 -15
- package/dist/chunks/{tool-output-hykqydna.js → tool-output-4ze21y5e.js} +15 -15
- package/dist/chunks/{tool-output-vatt5ny9.js → tool-output-56pf6jzp.js} +6 -6
- package/dist/chunks/{tool-output-m0kck7zd.js → tool-output-58ep7nm1.js} +27 -27
- package/dist/chunks/{tool-output-gd47j70e.js → tool-output-5bkchar3.js} +29 -29
- package/dist/chunks/{tool-output-hcysfq1n.js → tool-output-5cne3tjk.js} +29 -29
- package/dist/chunks/{tool-output-z29mj6ce.js → tool-output-5cvxvtjb.js} +13 -13
- package/dist/chunks/{tool-output-ndksvsqq.js → tool-output-5ftq3225.js} +3 -3
- package/dist/chunks/{tool-output-4j9dw2d0.js → tool-output-5gvc3re6.js} +28 -28
- package/dist/chunks/{tool-output-t3ax3ke3.js → tool-output-5mhm4vfj.js} +16 -16
- package/dist/chunks/{tool-output-2r6mdnfq.js → tool-output-5n09j8yg.js} +7 -7
- package/dist/chunks/{tool-output-y63ywa2k.js → tool-output-5t6r72gb.js} +9 -9
- package/dist/chunks/{tool-output-h4v5z7wp.js → tool-output-60869ztc.js} +3 -3
- package/dist/chunks/{tool-output-xksw6ev0.js → tool-output-67wwskyb.js} +3 -3
- package/dist/chunks/{tool-output-pdgyk44n.js → tool-output-694pnq3x.js} +1 -25
- package/dist/chunks/{tool-output-q1ev5fjc.js → tool-output-69mqj339.js} +12 -12
- package/dist/chunks/{tool-output-ycj63wkd.js → tool-output-6d0d1q6g.js} +1 -1
- package/dist/chunks/{tool-output-73ps2g3c.js → tool-output-6v0patxj.js} +22 -22
- package/dist/chunks/{tool-output-pbfjpsb7.js → tool-output-6x3ndttp.js} +4 -4
- package/dist/chunks/{tool-output-sfzk71g3.js → tool-output-6xskjdg4.js} +5 -5
- package/dist/chunks/{tool-output-sth9zcg7.js → tool-output-6y88akds.js} +5 -5
- package/dist/chunks/{tool-output-bzrt1caw.js → tool-output-76293m8w.js} +31 -31
- package/dist/chunks/{tool-output-a78wj5dv.js → tool-output-784aez8k.js} +7 -7
- package/dist/chunks/{tool-output-wvr8xscb.js → tool-output-79k544d0.js} +6 -6
- package/dist/chunks/{tool-output-we2g0r14.js → tool-output-7bdqzxt9.js} +4 -4
- package/dist/chunks/{tool-output-2jft24my.js → tool-output-7bf7hj9s.js} +15 -15
- package/dist/chunks/{tool-output-jjvq20ys.js → tool-output-7fc9d4g7.js} +12 -12
- package/dist/chunks/{tool-output-hhntqeqf.js → tool-output-7fv8psxd.js} +4 -4
- package/dist/chunks/{tool-output-ngc4k3z1.js → tool-output-7jewgrz3.js} +2 -2
- package/dist/chunks/{tool-output-yz3xmvrq.js → tool-output-7jm9ds1n.js} +11 -11
- package/dist/chunks/{tool-output-5hn8w8k6.js → tool-output-7m6c0hj2.js} +8 -8
- package/dist/chunks/{tool-output-byaw3b0t.js → tool-output-7qk9epd7.js} +36 -45
- package/dist/chunks/{tool-output-est9w4fd.js → tool-output-7whn3c9q.js} +9 -9
- package/dist/chunks/{tool-output-qjsezd78.js → tool-output-8gjkw0js.js} +9 -9
- package/dist/chunks/{tool-output-xjhqr95z.js → tool-output-8r9v0q4w.js} +10 -10
- package/dist/chunks/{tool-output-qw2t3dzn.js → tool-output-8wjgamp7.js} +3 -3
- package/dist/chunks/{tool-output-ab8r1jbv.js → tool-output-93fxe9zc.js} +31 -31
- package/dist/chunks/{tool-output-68cs06h1.js → tool-output-963hk181.js} +3 -3
- package/dist/chunks/{tool-output-y5h5r084.js → tool-output-98sn12ya.js} +9 -9
- package/dist/chunks/{tool-output-5eyjw0yz.js → tool-output-9cb2b2x0.js} +19 -19
- package/dist/chunks/{tool-output-aa24rdx2.js → tool-output-9g038b7v.js} +4 -4
- package/dist/chunks/{tool-output-v3tjqm7n.js → tool-output-9hyv3ajx.js} +2 -2
- package/dist/chunks/{tool-output-0xq8s71y.js → tool-output-9q24xs2v.js} +12 -12
- package/dist/chunks/{tool-output-42mcpepz.js → tool-output-a9d80qez.js} +2 -2
- package/dist/chunks/{tool-output-cvmhw006.js → tool-output-a9zrx39y.js} +11 -11
- package/dist/chunks/{tool-output-qvqcv7sy.js → tool-output-ac2zwpmx.js} +1 -1
- package/dist/chunks/{tool-output-10jzpw8f.js → tool-output-adnc1c99.js} +2 -2
- package/dist/chunks/{tool-output-ra34yqmw.js → tool-output-ag4egyv9.js} +5 -5
- package/dist/chunks/{tool-output-qvgx1mgd.js → tool-output-aj83cngs.js} +4 -4
- package/dist/chunks/{tool-output-xztvf178.js → tool-output-atz91cs9.js} +69 -69
- package/dist/chunks/{tool-output-h6jcj9p8.js → tool-output-b1w7ct0q.js} +7 -7
- package/dist/chunks/{tool-output-5nnwax6m.js → tool-output-b6vsg801.js} +3 -3
- package/dist/chunks/{tool-output-n3bkb5q1.js → tool-output-ba7dfhfp.js} +3 -3
- package/dist/chunks/{tool-output-q3kq69cx.js → tool-output-bh8w17xh.js} +16 -16
- package/dist/chunks/{tool-output-5p8cescm.js → tool-output-bterja0n.js} +3 -3
- package/dist/chunks/{tool-output-fjdc7vet.js → tool-output-c9zhd1c6.js} +1 -1
- package/dist/chunks/{tool-output-4nqe5hb4.js → tool-output-cat0vb1y.js} +11 -11
- package/dist/chunks/{tool-output-4h4fbn9p.js → tool-output-cbt2qz57.js} +8 -8
- package/dist/chunks/{tool-output-f2xjtcez.js → tool-output-cncmn02m.js} +10 -10
- package/dist/chunks/{tool-output-yngvyh0w.js → tool-output-d34c0f98.js} +3 -3
- package/dist/chunks/{tool-output-c5zvymhv.js → tool-output-dg5naf6e.js} +3 -3
- package/dist/chunks/tool-output-dj32dvym.js +261 -0
- package/dist/chunks/{tool-output-qsfsht85.js → tool-output-drgga8bz.js} +1 -1
- package/dist/chunks/{tool-output-2p5k36f2.js → tool-output-dvxnt4qw.js} +30 -30
- package/dist/chunks/{tool-output-n7d48jjh.js → tool-output-dxsywhez.js} +7 -7
- package/dist/chunks/{tool-output-4g7xdd9d.js → tool-output-e0vqfz96.js} +15 -15
- package/dist/chunks/{tool-output-82351en7.js → tool-output-e2cspmt5.js} +10 -10
- package/dist/chunks/{tool-output-yszbb02h.js → tool-output-e3d9wnyc.js} +9 -9
- package/dist/chunks/{tool-output-xym735jc.js → tool-output-e44hy6kp.js} +3 -3
- package/dist/chunks/{tool-output-dsd8sep6.js → tool-output-e4befdmj.js} +7 -7
- package/dist/chunks/{tool-output-f1szzr5n.js → tool-output-e8sv3ecx.js} +20 -20
- package/dist/chunks/{tool-output-4seebxp0.js → tool-output-eck7g38n.js} +8 -8
- package/dist/chunks/{tool-output-8s0gjrq3.js → tool-output-efk301g8.js} +18 -18
- package/dist/chunks/{tool-output-gyrwg2kg.js → tool-output-ej9jn8mj.js} +23 -23
- package/dist/chunks/{tool-output-5w0rdcwe.js → tool-output-ekqb8f4k.js} +7 -7
- package/dist/chunks/{tool-output-z5wh7n3m.js → tool-output-eqad68fz.js} +14 -14
- package/dist/chunks/{tool-output-2ty1qw88.js → tool-output-er9xytph.js} +3 -3
- package/dist/chunks/{tool-output-xxt856rx.js → tool-output-es1eqkr0.js} +1 -1
- package/dist/chunks/{tool-output-tj8zavg0.js → tool-output-ev3m9bcx.js} +11 -11
- package/dist/chunks/{tool-output-yk6dfxq1.js → tool-output-ewdy5g4h.js} +3 -3
- package/dist/chunks/{tool-output-yc3c4tkd.js → tool-output-ewr5gkwb.js} +10 -10
- package/dist/chunks/{tool-output-6zjm2phc.js → tool-output-ezna1kdx.js} +4 -4
- package/dist/chunks/{tool-output-adfvhgh8.js → tool-output-f4317sb4.js} +9 -9
- package/dist/chunks/{tool-output-qnc8gnan.js → tool-output-fcqh8bpp.js} +28 -28
- package/dist/chunks/{tool-output-r8rq6y8n.js → tool-output-ffqz4qa7.js} +10 -10
- package/dist/chunks/{tool-output-prq7xxp2.js → tool-output-fg9p65nk.js} +4 -4
- package/dist/chunks/{tool-output-bph1244c.js → tool-output-fjxgnb22.js} +21 -21
- package/dist/chunks/{tool-output-p64ky49f.js → tool-output-fvhkzny2.js} +22 -22
- package/dist/chunks/{tool-output-w687dnns.js → tool-output-fznmdakp.js} +3 -3
- package/dist/chunks/{tool-output-wb4c515f.js → tool-output-gb8v6gwe.js} +1 -1
- package/dist/chunks/{tool-output-mef8ekqr.js → tool-output-gdzky9ye.js} +16 -16
- package/dist/chunks/{tool-output-axq9n4nd.js → tool-output-ggsyfnd7.js} +7 -7
- package/dist/chunks/{tool-output-58y85ej2.js → tool-output-h4cqsg37.js} +13 -13
- package/dist/chunks/{tool-output-9cdgjr65.js → tool-output-h5bwdsb5.js} +30 -30
- package/dist/chunks/{tool-output-18a09hjh.js → tool-output-h5x6jdbe.js} +20 -20
- package/dist/chunks/{tool-output-1h3sfksp.js → tool-output-h6qp7cak.js} +4 -4
- package/dist/chunks/{tool-output-wt6a3mqf.js → tool-output-h9hc66h4.js} +3 -3
- package/dist/chunks/{tool-output-xja22b89.js → tool-output-he0d9e52.js} +8 -8
- package/dist/chunks/{tool-output-aqdx993p.js → tool-output-hr4kpn3s.js} +27 -27
- package/dist/chunks/{tool-output-a3fn0gmm.js → tool-output-hretfjjx.js} +1 -1
- package/dist/chunks/{tool-output-6nnr6ddx.js → tool-output-ht9cd5a6.js} +19 -19
- package/dist/chunks/{tool-output-7qg3mtbn.js → tool-output-j1fsn7bn.js} +20 -22
- package/dist/chunks/{tool-output-6rpcq00a.js → tool-output-j3rhnfwy.js} +23 -23
- package/dist/chunks/{tool-output-fdd0tmq7.js → tool-output-jkrj3e3r.js} +12 -12
- package/dist/chunks/{tool-output-wn5njeqz.js → tool-output-jkw133re.js} +8 -8
- package/dist/chunks/{tool-output-58vvnw5h.js → tool-output-jsb54h12.js} +9 -9
- package/dist/chunks/{tool-output-ps0ytyna.js → tool-output-jy9vhdfa.js} +10 -10
- package/dist/chunks/{tool-output-qr3qf9ct.js → tool-output-jyzwnaxr.js} +20 -20
- package/dist/chunks/{tool-output-mw0ek7me.js → tool-output-k0nmr3d0.js} +9 -9
- package/dist/chunks/{tool-output-2j18gx8c.js → tool-output-k12c5f6w.js} +27 -27
- package/dist/chunks/{tool-output-4d5xkhzj.js → tool-output-k3gnvwmc.js} +7 -7
- package/dist/chunks/{tool-output-m4ftx5nk.js → tool-output-kfnngk0d.js} +30 -30
- package/dist/chunks/{tool-output-fyaaepwe.js → tool-output-kg500zpr.js} +28 -28
- package/dist/chunks/{tool-output-hj1t8ssm.js → tool-output-krmwacza.js} +20 -20
- package/dist/chunks/{tool-output-4ew25cb5.js → tool-output-krxsh9ks.js} +23 -23
- package/dist/chunks/{tool-output-d3aj8f3h.js → tool-output-kv2t3cyj.js} +9 -9
- package/dist/chunks/{tool-output-ex8kn217.js → tool-output-m17rt52q.js} +7 -7
- package/dist/chunks/{tool-output-ppvp06zs.js → tool-output-m2vvefb9.js} +23 -23
- package/dist/chunks/{tool-output-2jjfs7g5.js → tool-output-m6cfdtf3.js} +3 -3
- package/dist/chunks/{tool-output-qxa8694e.js → tool-output-mbqn2nbf.js} +12 -12
- package/dist/chunks/{tool-output-f5g6d0qb.js → tool-output-mc2p1ws7.js} +20 -20
- package/dist/chunks/{tool-output-95kj44hy.js → tool-output-mk99ka2e.js} +7 -7
- package/dist/chunks/{tool-output-xvhx3fzq.js → tool-output-mn5s68kz.js} +8 -8
- package/dist/chunks/{tool-output-q1edwbg5.js → tool-output-mq4pmep5.js} +16 -16
- package/dist/chunks/{tool-output-sf3r2nj7.js → tool-output-mxnpz060.js} +2 -2
- package/dist/chunks/tool-output-n5wmf7e7.js +26 -0
- package/dist/chunks/{tool-output-sbfaben9.js → tool-output-nd2qx06s.js} +7 -7
- package/dist/chunks/{tool-output-d0pyrcv2.js → tool-output-nf1q0ebc.js} +47 -47
- package/dist/chunks/{tool-output-ateksmxm.js → tool-output-ngbqbpny.js} +14 -14
- package/dist/chunks/{tool-output-p53k08rd.js → tool-output-nq646sks.js} +23 -23
- package/dist/chunks/{tool-output-4r6p4fek.js → tool-output-nq8r7s52.js} +4 -4
- package/dist/chunks/{tool-output-qfz6bxfd.js → tool-output-nr915jn7.js} +3 -3
- package/dist/chunks/{tool-output-2n444ktb.js → tool-output-nv2c5e9q.js} +3 -3
- package/dist/chunks/{tool-output-h77r3w1s.js → tool-output-nw1saj90.js} +28 -28
- package/dist/chunks/{tool-output-hxrjgpzw.js → tool-output-nz9pn5jw.js} +9 -9
- package/dist/chunks/{tool-output-yxjmegqv.js → tool-output-nzaxwfce.js} +30 -30
- package/dist/chunks/{tool-output-t6vp9y58.js → tool-output-nzm9kpg0.js} +43 -43
- package/dist/chunks/{tool-output-vv9ywpgj.js → tool-output-p2sff4ab.js} +2 -2
- package/dist/chunks/{tool-output-hsnq1va6.js → tool-output-p55ejza0.js} +3 -3
- package/dist/chunks/{tool-output-60w1zvt0.js → tool-output-pf3vmkke.js} +58 -58
- package/dist/chunks/{tool-output-7z9zc7fv.js → tool-output-ppbjty95.js} +34 -34
- package/dist/chunks/{tool-output-qykgtxne.js → tool-output-pr168ar6.js} +22 -22
- package/dist/chunks/{tool-output-eka5gqec.js → tool-output-pxv0r0tk.js} +18 -18
- package/dist/chunks/{tool-output-6r9ht2s4.js → tool-output-q3z02may.js} +2 -2
- package/dist/chunks/{tool-output-c83t1a4q.js → tool-output-q3z0vr5a.js} +5 -5
- package/dist/chunks/{tool-output-6sxbqbzw.js → tool-output-qa8vg83d.js} +9 -9
- package/dist/chunks/{tool-output-parb2748.js → tool-output-qg6qvrnm.js} +2 -2
- package/dist/chunks/{tool-output-jc49e2ak.js → tool-output-qgmkp9j8.js} +24 -24
- package/dist/chunks/{tool-output-ydd7qh3d.js → tool-output-qhwrm2rz.js} +1 -1
- package/dist/chunks/{tool-output-erd82hzj.js → tool-output-qnk9w869.js} +23 -23
- package/dist/chunks/{tool-output-xf3q1v2n.js → tool-output-qpmemebt.js} +1 -1
- package/dist/chunks/{tool-output-e63h50qx.js → tool-output-qrwmr4mb.js} +24 -24
- package/dist/chunks/{tool-output-v093k11a.js → tool-output-qs0v2njn.js} +1 -1
- package/dist/chunks/{tool-output-p4g6dtgh.js → tool-output-qyb0apjn.js} +14 -14
- package/dist/chunks/{tool-output-py9rnfbe.js → tool-output-rcv43n97.js} +21 -21
- package/dist/chunks/{tool-output-4p9gmmpp.js → tool-output-rfwkesfc.js} +33 -33
- package/dist/chunks/{tool-output-fjp9qcz0.js → tool-output-rhte1d85.js} +11 -11
- package/dist/chunks/{tool-output-nef4x0fv.js → tool-output-rj5f6m6g.js} +17 -17
- package/dist/chunks/{tool-output-jdzjtwv2.js → tool-output-rk2h67k3.js} +77 -77
- package/dist/chunks/{tool-output-w19hfjk6.js → tool-output-rk6pkc68.js} +10 -10
- package/dist/chunks/{tool-output-g6mxdxvy.js → tool-output-rv8zvzdc.js} +6 -6
- package/dist/chunks/{tool-output-9rytrcgt.js → tool-output-rxmrkyph.js} +7 -7
- package/dist/chunks/{tool-output-530xg6vw.js → tool-output-s4kyhetj.js} +1 -1
- package/dist/chunks/{tool-output-3y4xzgma.js → tool-output-s6h1tbfj.js} +12 -12
- package/dist/chunks/{tool-output-2cdjxzfg.js → tool-output-sbz71ybr.js} +2 -2
- package/dist/chunks/{tool-output-kb33k53g.js → tool-output-sqj1fmw3.js} +7 -7
- package/dist/chunks/{tool-output-0j7gp832.js → tool-output-sqjzf8x2.js} +3 -3
- package/dist/chunks/{tool-output-ztf6n3de.js → tool-output-syncbfr5.js} +3 -3
- package/dist/chunks/{tool-output-80pdnbfy.js → tool-output-t1c5djej.js} +28 -28
- package/dist/chunks/{tool-output-jpdapree.js → tool-output-t5pccnhe.js} +13 -13
- package/dist/chunks/{tool-output-ww0cyf3z.js → tool-output-tcbneg83.js} +48 -48
- package/dist/chunks/{tool-output-e5y560y7.js → tool-output-th2hp9ev.js} +7 -7
- package/dist/chunks/{tool-output-d904zbqa.js → tool-output-tj4hnhpr.js} +25 -25
- package/dist/chunks/{tool-output-m6f9p571.js → tool-output-tjm2sr5g.js} +21 -21
- package/dist/chunks/{tool-output-mpq8mfwy.js → tool-output-tkmbybpd.js} +6 -6
- package/dist/chunks/{tool-output-tvgyr2bd.js → tool-output-tn27k7n2.js} +12 -12
- package/dist/chunks/{tool-output-vr4vq26x.js → tool-output-tpc5s4y5.js} +43 -43
- package/dist/chunks/{tool-output-8a2xbwhq.js → tool-output-v74x3na4.js} +6 -6
- package/dist/chunks/{tool-output-amrdb7ww.js → tool-output-v77zgkhm.js} +4 -4
- package/dist/chunks/{tool-output-6jbcaht7.js → tool-output-vakqs29q.js} +1 -1
- package/dist/chunks/{tool-output-4y71by1a.js → tool-output-vbthxz0p.js} +15 -15
- package/dist/chunks/{tool-output-gmg2m67c.js → tool-output-vc37r1zq.js} +6 -6
- package/dist/chunks/{tool-output-115b3ms3.js → tool-output-veq5jnq3.js} +9 -9
- package/dist/chunks/{tool-output-bgm817xr.js → tool-output-vrcsa8qx.js} +7 -7
- package/dist/chunks/{tool-output-x7de2wha.js → tool-output-vt4r9rmy.js} +7 -7
- package/dist/chunks/{tool-output-yf1a4qa7.js → tool-output-vtkgm0rk.js} +3 -3
- package/dist/chunks/{tool-output-wd84ymt0.js → tool-output-vx0rqq3s.js} +25 -25
- package/dist/chunks/{tool-output-wqszm3cq.js → tool-output-vx8z5gpr.js} +5 -5
- package/dist/chunks/{tool-output-fv23p420.js → tool-output-vzyjvy19.js} +352 -352
- package/dist/chunks/{tool-output-kbd1k1ej.js → tool-output-w2wjze7r.js} +9 -9
- package/dist/chunks/{tool-output-f8enq2ta.js → tool-output-w5zv77p4.js} +4 -4
- package/dist/chunks/{tool-output-qq4f8yjf.js → tool-output-wfmpece2.js} +19 -19
- package/dist/chunks/{tool-output-8t99kr38.js → tool-output-wfs84ra6.js} +3 -3
- package/dist/chunks/{tool-output-r11wa1x2.js → tool-output-wk8jtf2z.js} +17 -17
- package/dist/chunks/{tool-output-8eap5edk.js → tool-output-wmv27f9c.js} +3 -3
- package/dist/chunks/{tool-output-s4xb5t7y.js → tool-output-wshxcgwp.js} +31 -31
- package/dist/chunks/{tool-output-81e7rhct.js → tool-output-wt3svnfa.js} +30 -30
- package/dist/chunks/{tool-output-9djsjk3f.js → tool-output-wvwgxcbr.js} +37 -37
- package/dist/chunks/{tool-output-5r1jnhxq.js → tool-output-wwax6h97.js} +20 -20
- package/dist/chunks/{tool-output-ys2kpqh4.js → tool-output-wy9q57d6.js} +10 -10
- package/dist/chunks/{tool-output-7nqkf5r1.js → tool-output-x4mcewfn.js} +3 -3
- package/dist/chunks/{tool-output-z16qtg1w.js → tool-output-x6613ah8.js} +13 -13
- package/dist/chunks/{tool-output-6y63rby9.js → tool-output-xd3zm682.js} +13 -13
- package/dist/chunks/{tool-output-2t908x44.js → tool-output-xe8ck1p9.js} +19 -19
- package/dist/chunks/{tool-output-22ywg2me.js → tool-output-xft6dn0a.js} +7 -7
- package/dist/chunks/{tool-output-55gp94gm.js → tool-output-xtfjfdah.js} +29 -29
- package/dist/chunks/{tool-output-v06mza8y.js → tool-output-xw4jh0fq.js} +10 -10
- package/dist/chunks/{tool-output-pzp284mp.js → tool-output-y0dmyt4t.js} +23 -23
- package/dist/chunks/{tool-output-gqgdr040.js → tool-output-y4ahsw2v.js} +6 -6
- package/dist/chunks/{tool-output-w9qm3w4z.js → tool-output-y9wqzmeb.js} +8 -8
- package/dist/chunks/{tool-output-bfhbvqd5.js → tool-output-ybr9qycb.js} +20 -20
- package/dist/chunks/{tool-output-k1zxkq7r.js → tool-output-yk1y9yyc.js} +8 -8
- package/dist/chunks/{tool-output-cq3q9vsf.js → tool-output-ykqp9ed4.js} +19 -19
- package/dist/chunks/{tool-output-g5ae1s2z.js → tool-output-ynqstxnz.js} +145 -145
- package/dist/chunks/{tool-output-rjz4d94e.js → tool-output-yrevsbh2.js} +7 -7
- package/dist/chunks/{tool-output-e0wzwgvk.js → tool-output-z0fjqy87.js} +3 -3
- package/dist/chunks/{tool-output-yydqqga9.js → tool-output-zfyb5tr4.js} +3 -3
- package/dist/chunks/{tool-output-n18wzqne.js → tool-output-zrc3e38m.js} +1 -1
- package/dist/chunks/{tool-output-phn32fwn.js → tool-output-zx10qtpe.js} +17 -17
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +107 -107
- package/dist/codemode/instructions.js +8 -8
- package/dist/codemode/tool.js +112 -112
- package/dist/command.js +75 -75
- package/dist/config/discovery.js +68 -68
- package/dist/config/integration.js +3 -3
- package/dist/config/normalize.js +79 -79
- package/dist/config/plugin/agent.js +93 -93
- package/dist/config/plugin/command.js +180 -180
- package/dist/config/plugin/compaction.js +127 -127
- package/dist/config/plugin/compatibility.js +110 -110
- package/dist/config/plugin/formatter.js +94 -94
- package/dist/config/plugin/image.js +93 -93
- package/dist/config/plugin/instruction.js +94 -94
- package/dist/config/plugin/location-watcher.js +95 -95
- package/dist/config/plugin/mcp.js +97 -97
- package/dist/config/plugin/policy.js +93 -93
- package/dist/config/plugin/provider.js +93 -93
- package/dist/config/plugin/reference.js +94 -94
- package/dist/config/plugin/shell.js +95 -95
- package/dist/config/plugin/skill-file.js +107 -107
- package/dist/config/plugin/skill.js +113 -113
- package/dist/config/plugin/snapshot.js +93 -93
- package/dist/config/plugin/source.js +96 -96
- package/dist/config/plugin/tool-output.js +94 -94
- package/dist/config/plugin/websearch.js +94 -94
- package/dist/config/plugin/worktree.js +94 -94
- package/dist/config.js +97 -97
- package/dist/credential.js +75 -75
- package/dist/database/database.js +60 -60
- package/dist/database/drizzle/effect-sqlite/driver.js +8 -8
- package/dist/database/drizzle/effect-sqlite/index.js +4 -4
- package/dist/database/drizzle/effect-sqlite/session.js +7 -7
- package/dist/database/drizzle/index.js +9 -9
- 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 +9 -9
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +50 -50
- package/dist/database/v1-migration.bun.js +15 -15
- package/dist/effect/app-node-builder.js +265 -265
- package/dist/environment/environment.js +75 -75
- package/dist/environment/index.js +75 -75
- package/dist/environment/unavailable.js +3 -3
- package/dist/event-logger.js +9 -9
- package/dist/file-access.js +114 -114
- package/dist/file-mutation.js +76 -76
- package/dist/filesystem/file-watch.js +12 -12
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +196 -196
- package/dist/filesystem/search.js +79 -79
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +82 -82
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +73 -73
- package/dist/generate.js +88 -88
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +75 -75
- package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
- package/dist/image/notice.js +3 -3
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +351 -351
- package/dist/instruction-discovery.js +78 -78
- package/dist/instructions/builtins.js +73 -73
- package/dist/instructions/index.js +5 -5
- package/dist/integration.js +72 -72
- package/dist/job.js +68 -68
- package/dist/kv.js +65 -65
- package/dist/location-activity.js +72 -72
- package/dist/location-lifecycle.js +112 -112
- package/dist/location-service-map.js +72 -72
- package/dist/location-services.js +349 -349
- package/dist/location.js +73 -73
- package/dist/managed-policy.js +2 -2
- package/dist/mcp/client.js +17 -17
- package/dist/mcp/index.js +89 -89
- package/dist/mcp/instructions.js +136 -136
- package/dist/mcp/oauth.js +13 -13
- package/dist/mcp/stdio.js +72 -72
- package/dist/modal/models.js +75 -75
- package/dist/model-resolver.js +82 -82
- package/dist/model.js +80 -80
- package/dist/models-dev.js +89 -89
- package/dist/permission/saved.js +67 -67
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty.js +64 -64
- package/dist/plugin/agent.js +66 -66
- package/dist/plugin/command.js +80 -80
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +187 -187
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +80 -80
- package/dist/plugin/module.js +90 -90
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +108 -108
- package/dist/plugin/provider/amazon-bedrock.js +75 -75
- package/dist/plugin/provider/azure.js +96 -96
- package/dist/plugin/provider/chatgpt.js +92 -92
- package/dist/plugin/provider/claude-agent/aisdk.js +85 -85
- package/dist/plugin/provider/claude-agent/claude/query-options.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/sessions.js +10 -10
- package/dist/plugin/provider/claude-agent/claude/status.js +3 -3
- package/dist/plugin/provider/claude-agent/index.js +103 -103
- package/dist/plugin/provider/claude-agent/instructions.js +81 -81
- package/dist/plugin/provider/claude-agent/integration.js +80 -80
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +5 -5
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +5 -5
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +77 -77
- package/dist/plugin/provider/claude-agent/session.js +80 -80
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +92 -92
- package/dist/plugin/provider/cloudflare-workers-ai.js +92 -92
- package/dist/plugin/provider/configured.js +90 -90
- package/dist/plugin/provider/credential-settings.js +64 -64
- package/dist/plugin/provider/digitalocean.js +78 -78
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +77 -77
- package/dist/plugin/provider/google-vertex.js +91 -91
- package/dist/plugin/provider/llmgateway.js +67 -67
- package/dist/plugin/provider/lmstudio.js +99 -99
- package/dist/plugin/provider/local.js +96 -96
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/ollama.js +99 -99
- package/dist/plugin/provider/openai-context-caps.js +74 -74
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +94 -94
- package/dist/plugin/provider/openrouter.js +75 -75
- package/dist/plugin/provider/poe.js +67 -67
- package/dist/plugin/provider/refresh.js +65 -65
- package/dist/plugin/provider/sap-ai-core.js +74 -74
- package/dist/plugin/provider/snowflake-cortex.js +92 -92
- package/dist/plugin/provider/vllm.js +99 -99
- package/dist/plugin/provider/xai.js +75 -75
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +66 -66
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +109 -109
- package/dist/plugin/supervisor.js +335 -335
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +5 -5
- package/dist/plugin/vcs/git.js +72 -72
- package/dist/plugin/vcs/hg.js +72 -72
- package/dist/plugin/verbosity.js +77 -77
- package/dist/plugin/warming.js +94 -94
- package/dist/plugin/websearch/exa.js +3 -3
- package/dist/plugin/websearch/firecrawl.js +4 -4
- 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 +6 -6
- package/dist/plugin.js +196 -196
- package/dist/project/schema.js +3 -3
- package/dist/project.js +74 -74
- package/dist/provider.js +79 -79
- package/dist/pty.js +86 -86
- package/dist/reference/instructions.js +74 -74
- package/dist/reference.js +74 -74
- package/dist/repository-cache.js +69 -69
- package/dist/ripgrep.js +78 -78
- package/dist/rpc.js +72 -72
- package/dist/schedule/check.js +191 -191
- package/dist/schedule.js +198 -198
- package/dist/session/blob.js +92 -92
- package/dist/session/command.js +66 -66
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +72 -72
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +2 -2
- package/dist/session/execution/restart.js +122 -122
- package/dist/session/execution.js +121 -121
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +98 -98
- package/dist/session/inbox.js +109 -109
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +68 -68
- package/dist/session/instruction-state.js +2 -2
- package/dist/session/instructions.js +103 -103
- package/dist/session/message-updater.js +3 -3
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +104 -104
- package/dist/session/prompt.js +110 -110
- package/dist/session/revert.js +101 -101
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +198 -198
- package/dist/session/runner/model.js +83 -83
- package/dist/session/runner/publish-llm-event.js +110 -110
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +99 -99
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +135 -135
- package/dist/session/shell.js +103 -103
- package/dist/session/skill.js +109 -109
- package/dist/session/stats.js +8 -8
- package/dist/session/store.js +104 -104
- package/dist/session/stored.js +3 -3
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +181 -181
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +109 -109
- package/dist/session/transfer.js +116 -116
- package/dist/session.js +187 -187
- package/dist/shared-cache.js +3 -3
- package/dist/shell/parse.js +3 -3
- package/dist/shell/select.js +14 -14
- package/dist/shell.js +106 -106
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +113 -113
- package/dist/skill.js +118 -118
- package/dist/snapshot.js +77 -77
- package/dist/tool/mcp.js +135 -135
- package/dist/tool/plugin/artifact.js +179 -179
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/image-generate.js +189 -189
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +117 -117
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +110 -110
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/schedule.js +195 -195
- package/dist/tool/plugin/shell.js +182 -182
- package/dist/tool/plugin/skill.js +117 -117
- package/dist/tool/plugin/subagent.js +186 -186
- package/dist/tool/plugin/todo.js +108 -108
- package/dist/tool/plugin/webfetch.js +116 -116
- package/dist/tool/plugin/websearch.js +117 -117
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +80 -80
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +118 -118
- package/dist/types/session/model-request.d.ts +2 -2
- package/dist/usage-limits.js +77 -77
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/migrate.js +75 -75
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/variant.js +75 -75
- package/dist/vcs.js +75 -75
- package/dist/voice.js +77 -77
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +66 -66
- package/dist/wellknown.js +71 -71
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace.js +71 -71
- package/dist/worktree/git.js +4 -4
- package/dist/worktree/strategies.js +74 -74
- package/dist/worktree.js +78 -78
- package/package.json +8 -8
- package/dist/chunks/tool-output-2k0qjd71.js +0 -261
- package/dist/chunks/tool-output-h8kmj787.js +0 -26
- /package/dist/chunks/{tool-output-9b00c1fb.js → tool-output-5ebw3s4g.js} +0 -0
- /package/dist/chunks/{tool-output-pd14fbdd.js → tool-output-78hmycys.js} +0 -0
- /package/dist/chunks/{tool-output-775hqbnd.js → tool-output-80mg3ag8.js} +0 -0
- /package/dist/chunks/{tool-output-mfjzh9b6.js → tool-output-b00xhfda.js} +0 -0
- /package/dist/chunks/{tool-output-ybfg1fv3.js → tool-output-kmysz3kf.js} +0 -0
- /package/dist/chunks/{tool-output-287n1fg5.js → tool-output-x0tb4wca.js} +0 -0
- /package/dist/chunks/{tool-output-j9nxzz3g.js → tool-output-ze75qvmd.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90
|
|
3
|
-
} from "./tool-output-
|
|
3
|
+
} from "./tool-output-7jewgrz3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service89
|
|
6
|
-
} from "./tool-output-
|
|
6
|
+
} from "./tool-output-qs0v2njn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./tool-output-
|
|
8
|
+
Service64
|
|
9
|
+
} from "./tool-output-ag4egyv9.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
12
|
} from "./tool-output-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./tool-output-
|
|
14
|
+
Service77
|
|
15
|
+
} from "./tool-output-kg500zpr.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
18
|
} from "./tool-output-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
MessageNotFoundError2
|
|
21
|
-
} from "./tool-output-
|
|
21
|
+
} from "./tool-output-s4kyhetj.js";
|
|
22
22
|
import {
|
|
23
23
|
SessionMessageTable2
|
|
24
24
|
} from "./tool-output-mb7mbhnz.js";
|
|
25
25
|
import {
|
|
26
26
|
decodeMessageRowSync2
|
|
27
|
-
} from "./tool-output-
|
|
27
|
+
} from "./tool-output-vx8z5gpr.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
30
|
} from "./tool-output-9rqn6x4v.js";
|
|
@@ -40,11 +40,11 @@ __export(exports_revert, {
|
|
|
40
40
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
41
41
|
import { Effect } from "effect";
|
|
42
42
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
43
|
-
const instances = yield*
|
|
43
|
+
const instances = yield* Service64;
|
|
44
44
|
const database = yield* Service90;
|
|
45
45
|
const bus = yield* Service89;
|
|
46
46
|
return yield* Effect.gen(function* () {
|
|
47
|
-
const snapshot = yield*
|
|
47
|
+
const snapshot = yield* Service77;
|
|
48
48
|
const original = input.session.revert?.snapshot ?? (yield* snapshot.capture());
|
|
49
49
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
50
50
|
const restore = new Map;
|
|
@@ -72,10 +72,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
72
72
|
}).pipe(instances.provide(input.session));
|
|
73
73
|
});
|
|
74
74
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
75
|
-
const instances = yield*
|
|
75
|
+
const instances = yield* Service64;
|
|
76
76
|
const bus = yield* Service89;
|
|
77
77
|
yield* Effect.gen(function* () {
|
|
78
|
-
const snapshot = yield*
|
|
78
|
+
const snapshot = yield* Service77;
|
|
79
79
|
if (!session.revert)
|
|
80
80
|
return;
|
|
81
81
|
const original = session.revert.snapshot;
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service68
|
|
3
|
-
} from "./tool-output-
|
|
3
|
+
} from "./tool-output-rfwkesfc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID9,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./tool-output-
|
|
9
|
+
Service50
|
|
10
|
+
} from "./tool-output-fjxgnb22.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
13
|
} from "./tool-output-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
16
|
+
var exports_skill3 = {};
|
|
17
|
+
__export(exports_skill3, {
|
|
18
|
+
Input: () => Input4,
|
|
19
|
+
Output: () => Output3,
|
|
20
|
+
Plugin: () => Plugin40,
|
|
21
|
+
SkillTool: () => exports_skill3,
|
|
22
22
|
description: () => description4,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name4,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name4 = "skill";
|
|
30
|
+
var Input4 = Schema.Struct({
|
|
31
|
+
id: ID9.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output3 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
@@ -43,25 +43,25 @@ var description4 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin40 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
50
|
+
const skills = yield* Service50;
|
|
51
51
|
const permission = yield* Service68;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name4,
|
|
54
54
|
options: { codemode: false },
|
|
55
55
|
description: description4,
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
56
|
+
input: Input4,
|
|
57
|
+
output: Output3,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name4,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin24 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name4, Input4, Output3, description4, toModelOutput2, Plugin40, exports_skill3 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./tool-output-
|
|
3
|
+
} from "./tool-output-7fc9d4g7.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/vllm.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
|
|
|
11
11
|
max_model_len: Schema.NullOr(Schema.Int)
|
|
12
12
|
});
|
|
13
13
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
14
|
-
var
|
|
14
|
+
var make13 = createLocalProviderPlugin2({
|
|
15
15
|
id: "opencode.provider.vllm",
|
|
16
16
|
providerID,
|
|
17
17
|
name: "vLLM",
|
|
@@ -26,6 +26,6 @@ var make14 = createLocalProviderPlugin2({
|
|
|
26
26
|
context: item.max_model_len
|
|
27
27
|
})
|
|
28
28
|
});
|
|
29
|
-
var VLLMPlugin2 =
|
|
29
|
+
var VLLMPlugin2 = make13();
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make13, VLLMPlugin2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89
|
|
3
|
-
} from "./tool-output-
|
|
3
|
+
} from "./tool-output-qs0v2njn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./tool-output-
|
|
5
|
+
Event19
|
|
6
|
+
} from "./tool-output-15x6q7ay.js";
|
|
7
7
|
import {
|
|
8
8
|
key2
|
|
9
9
|
} from "./tool-output-wws03c5r.js";
|
|
10
10
|
import {
|
|
11
11
|
interval2
|
|
12
|
-
} from "./tool-output-
|
|
12
|
+
} from "./tool-output-e44hy6kp.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
15
|
} from "./tool-output-9rqn6x4v.js";
|
|
@@ -43,7 +43,7 @@ var start3 = Effect.fnUntraced(function* (input) {
|
|
|
43
43
|
})).pipe(Effect.uninterruptible);
|
|
44
44
|
const load = (options) => Effect.suspend(() => input.load(state.current, { interval, ...options }));
|
|
45
45
|
const refresh = load({}).pipe(Effect.flatMap(apply));
|
|
46
|
-
yield* bus.subscribe(
|
|
46
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === input.integrationID), Stream.runForEach(() => FiberHandle.run(loading, switched2(load, apply))), Effect.forkScoped({ startImmediately: true }));
|
|
47
47
|
yield* FiberHandle.run(loading, refresh, { onlyIfMissing: true }).pipe(Effect.forkScoped);
|
|
48
48
|
yield* Effect.sleep(interval).pipe(Effect.andThen(FiberHandle.run(loading, refresh, { onlyIfMissing: true })), Effect.forever, Effect.forkScoped);
|
|
49
49
|
return state;
|
|
@@ -10,9 +10,9 @@ var exports_model_transport = {};
|
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
11
|
Service: () => Service37,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer15,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node39
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -369,9 +369,9 @@ var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* ()
|
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
370
|
return Service37.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node39 = makeGlobalNode({ service: Service37, layer: layer15, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export { Service37, makeLayer2,
|
|
377
|
+
export { Service37, makeLayer2, layer15, node39, exports_model_transport };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node93
|
|
4
|
-
} from "./tool-output-
|
|
4
|
+
} from "./tool-output-7jewgrz3.js";
|
|
5
5
|
import {
|
|
6
6
|
Service89,
|
|
7
7
|
node92
|
|
8
|
-
} from "./tool-output-
|
|
8
|
+
} from "./tool-output-qs0v2njn.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./tool-output-
|
|
10
|
+
Service80,
|
|
11
|
+
node83
|
|
12
|
+
} from "./tool-output-a9zrx39y.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./tool-output-
|
|
14
|
+
Service64,
|
|
15
|
+
node66
|
|
16
|
+
} from "./tool-output-ag4egyv9.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
19
|
} from "./tool-output-ec1grn59.js";
|
|
@@ -22,18 +22,18 @@ import {
|
|
|
22
22
|
} from "./tool-output-qsdghx1p.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./tool-output-
|
|
25
|
+
Service62
|
|
26
|
+
} from "./tool-output-syncbfr5.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./tool-output-
|
|
28
|
+
Service69,
|
|
29
|
+
node71
|
|
30
|
+
} from "./tool-output-e2cspmt5.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./tool-output-
|
|
33
|
+
} from "./tool-output-1zyreaf5.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./tool-output-
|
|
36
|
+
} from "./tool-output-wfmpece2.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
39
|
} from "./tool-output-9rqn6x4v.js";
|
|
@@ -41,16 +41,16 @@ import {
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution2 = {};
|
|
43
43
|
__export(exports_execution2, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service61,
|
|
45
45
|
SessionExecution: () => exports_execution2,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer21,
|
|
47
|
+
node: () => node64,
|
|
48
48
|
noopLayer: () => noopLayer2,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service61 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer21 = Layer.effect(Service61, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service69;
|
|
64
|
+
const instances = yield* Service64;
|
|
65
65
|
const bus = yield* Service89;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service80;
|
|
67
67
|
const db = (yield* Service90).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,7 +76,7 @@ var layer19 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service62.use((runner) => runner.drain({ sessionID, force, continuation, promotable, stepped })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable, result.stepped),
|
|
@@ -104,7 +104,7 @@ var layer19 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service61.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer19 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node64 = makeGlobalNode({
|
|
127
|
+
service: Service61,
|
|
128
|
+
layer: layer21,
|
|
129
|
+
deps: [node71, node66, node92, node93, node83]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer2 = Layer.succeed(
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service61, Service61.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service43, Service43.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service61, terminal2, layer21, node64, noopLayer2, exports_execution2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./tool-output-
|
|
3
|
+
} from "./tool-output-wy9q57d6.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
6
|
} from "./tool-output-9rqn6x4v.js";
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin6,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint6
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint6 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin6 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin10 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin10 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint6, Plugin6, exports_tavily };
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
var exports_system_prompt2 = {};
|
|
7
7
|
__export(exports_system_prompt2, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt2,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make24,
|
|
10
|
+
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
// src/session/runner/prompt/system.txt
|
|
13
13
|
var system_default = `You are an AI agent running in OpenCode, a coding agent harness. Help the user accomplish their goals using the tools you have available.
|
|
@@ -28,10 +28,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
28
28
|
`;
|
|
29
29
|
|
|
30
30
|
// src/session/system-prompt.ts
|
|
31
|
-
function
|
|
32
|
-
return
|
|
31
|
+
function make24(tools) {
|
|
32
|
+
return render2(system_default, tools);
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function render2(prompt, tools) {
|
|
35
35
|
const instructions = [];
|
|
36
36
|
if (tools.includes("shell")) {
|
|
37
37
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -46,4 +46,4 @@ function render3(prompt, tools) {
|
|
|
46
46
|
`));
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make24, render2, exports_system_prompt2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./tool-output-
|
|
3
|
+
Service73
|
|
4
|
+
} from "./tool-output-nzm9kpg0.js";
|
|
5
5
|
import {
|
|
6
6
|
BlobTable2,
|
|
7
7
|
BlobRefTable2
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ref2,
|
|
12
12
|
FileRef2,
|
|
13
13
|
ToolFileRef2
|
|
14
|
-
} from "./tool-output-
|
|
14
|
+
} from "./tool-output-fg9p65nk.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
17
|
} from "./tool-output-9rqn6x4v.js";
|
|
@@ -191,7 +191,7 @@ var read3 = Effect.fnUntraced(function* (db, hash) {
|
|
|
191
191
|
});
|
|
192
192
|
var hashBytes2 = (raw) => createHash("sha256").update(raw).digest("hex");
|
|
193
193
|
var enabled2 = Effect.gen(function* () {
|
|
194
|
-
const config = yield* Effect.serviceOption(
|
|
194
|
+
const config = yield* Effect.serviceOption(Service73);
|
|
195
195
|
if (Option.isNone(config))
|
|
196
196
|
return false;
|
|
197
197
|
return latest2(yield* config.value.entries(), "experimental")?.media_blob === true;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node93
|
|
4
|
-
} from "./tool-output-
|
|
4
|
+
} from "./tool-output-7jewgrz3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make29,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./tool-output-
|
|
10
|
+
} from "./tool-output-dxsywhez.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
13
|
} from "./tool-output-mb7mbhnz.js";
|
|
@@ -18,15 +18,15 @@ import {
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info10,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service39,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node42,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info10 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service39 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make29({
|
|
65
|
+
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make32({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service90;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service39.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node42 = makeGlobalNode({ service: Service39, layer, deps: [node93] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info10, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service39, node42, exports_instruction_entry };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./tool-output-
|
|
2
|
+
Service85
|
|
3
|
+
} from "./tool-output-4q33662b.js";
|
|
4
4
|
import {
|
|
5
5
|
ID16,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./tool-output-
|
|
7
|
+
} from "./tool-output-h5x6jdbe.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./tool-output-
|
|
9
|
+
Service73
|
|
10
|
+
} from "./tool-output-nzm9kpg0.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./tool-output-
|
|
12
|
+
Service58
|
|
13
|
+
} from "./tool-output-0f7cqh9y.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./tool-output-
|
|
16
|
+
} from "./tool-output-fznmdakp.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./tool-output-
|
|
19
|
+
} from "./tool-output-003nb3x9.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
|
|
|
32
32
|
id: input.id,
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
35
|
-
const config = yield*
|
|
36
|
-
const environment = yield* Effect.serviceOption(
|
|
37
|
-
const location = yield* Effect.serviceOption(
|
|
35
|
+
const config = yield* Service73;
|
|
36
|
+
const environment = yield* Effect.serviceOption(Service58);
|
|
37
|
+
const location = yield* Effect.serviceOption(Service85);
|
|
38
38
|
const defaultOrigin = origin ?? (photonWasm === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
|
|
39
39
|
const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
|
|
40
40
|
const loaded = { models: [], hash: "[]" };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./tool-output-
|
|
3
|
+
} from "./tool-output-wy9q57d6.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
6
|
} from "./tool-output-40za9wsf.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin3,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
16
|
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin3 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -77,4 +77,4 @@ var Plugin5 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { endpoint3,
|
|
80
|
+
export { endpoint3, Plugin3, exports_firecrawl };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./tool-output-
|
|
3
|
+
} from "./tool-output-adnc1c99.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./tool-output-
|
|
6
|
+
} from "./tool-output-gb8v6gwe.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./tool-output-9rqn6x4v.js";
|