返回 CodeWhale
index.mjs
1 // Codewhale host entry: a Cordis plugin that loads the published, unmodified
2 // @deepseek-ai/dsh-tool-workspace-dependencies@0.1.7-alpha.2 lib/index.js with
3 // literal config — the same semantics as one literal DSH bundle patch row.
4 import { fileURLToPath } from 'node:url'
5 import * as workspaceDependencies from './vendor/dsh-tool-workspace-dependencies/lib/index.js'
6
7 export const name = 'dsh-workspace-deps'
8
9 export async function apply(ctx) {
10 const source = fileURLToPath(new URL(`./payload/${process.platform}-${process.arch}`, import.meta.url))
11 await ctx.plugin(workspaceDependencies, { source })
12 }
13
13 lines Plain Text