Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/security / / InstallSkillFromNpmOptions

Interface: InstallSkillFromNpmOptions

Defined in: packages/security/src/supply-chain/installer.ts:48

Options accepted by installSkillFromNpm.

Stable

Properties

PropertyModifierTypeDescriptionDefined in
actor?readonlySupplyChainAuditActorOverride actor recorded in the audit event.packages/security/src/supply-chain/installer.ts:64
cwd?readonlystringWhere to install the package. Defaults to a fresh temp dir.packages/security/src/supply-chain/installer.ts:54
dryRun?readonlybooleanSkip the actual install; runs the policy + audit pipeline only.packages/security/src/supply-chain/installer.ts:60
env?readonlyProcessEnvForwarded to the package-manager runner.packages/security/src/supply-chain/installer.ts:56
packageNamereadonlystring-packages/security/src/supply-chain/installer.ts:49
policy?readonlySupplyChainPolicy-packages/security/src/supply-chain/installer.ts:52
signal?readonlyAbortSignalCancellation.packages/security/src/supply-chain/installer.ts:58
skillMd?readonlystringOptional pre-fetched SKILL.md content for offline verification.packages/security/src/supply-chain/installer.ts:62
trustLevel?readonlySkillTrustLevel-packages/security/src/supply-chain/installer.ts:51
version?readonlystring-packages/security/src/supply-chain/installer.ts:50