MCPcopy
hub / github.com/anomalyco/opencode / add

Method add

packages/plugin/src/v2/effect/npm.ts:4–4  ·  view source on GitHub ↗
(pkg: string)

Source from the content-addressed store, hash-verified

2
3export interface Npm {
4 add(pkg: string): Effect.Effect<
5 {
6 readonly directory: string
7 readonly entrypoint?: string

Callers 15

index.tsFile · 0.65
registerIpcHandlersFunction · 0.65
writeZipFunction · 0.65
subscribeFunction · 0.65
cleanupStoreFilesFunction · 0.65
subscribeFunction · 0.65
skipFunction · 0.65
LimitsGraphFunction · 0.65
BenchFunction · 0.65
columnsFunction · 0.65
upsertEnvFunction · 0.65

Implementers 2

Mcppackages/sdk/js/src/v2/gen/sdk.gen.ts
Mcppackages/sdk/js/src/gen/sdk.gen.ts

Calls

no outgoing calls

Tested by 15

ShellOutputFunction · 0.52
UserMessageFunction · 0.52
StickyScrollFixtureFunction · 0.52
createHangingTcpServerFunction · 0.52
onMethod · 0.52
onPromptFunction · 0.52
onQueuedRemoveFunction · 0.52
onCloseFunction · 0.52
onCloseFunction · 0.52
uiAppFunction · 0.52