MCPcopy Create free account
hub / github.com/IgorWarzocha/howcode / removePiPackage

Function removePiPackage

desktop/pi-packages/runtime-host-bridge.ts:27–38  ·  view source on GitHub ↗
(request: {
  source: string
  local?: boolean | undefined
  projectPath?: string | undefined | null | undefined
  chat?: boolean | undefined
})

Source from the content-addressed store, hash-verified

25}
26
27export async function removePiPackage(request: {
28 source: string
29 local?: boolean | undefined
30 projectPath?: string | undefined | null | undefined
31 chat?: boolean | undefined
32}): Promise<PiPackageMutationResult> {
33 const result = await invokeRuntimeHost('removePiPackage', request)
34 await invalidateRuntimeHostSettings({
35 projectPath: request.chat ? null : request.local ? request.projectPath : null,
36 })
37 return result
38}

Callers

nothing calls this directly

Calls 2

invokeRuntimeHostFunction · 0.90

Tested by

no test coverage detected