NPM wrapper command
workspai import
Copy or clone an existing project into the workspace and register its detected runtime capabilities.
- Category
- NPM wrapper
- Workspace Intelligence
- No
- Produced artifacts
- 3
- Related contracts
- 5
- Registration
- commander
- Registered options
- 6
Operational role
This purpose is versioned in the CLI runtime command surface. It is not inferred from page copy or a generic command template.
Canonical invocation
This invocation is derived from the runtime command surface. Commands with a registered intelligence execution include their canonical evidence-producing flags.
npx workspai importRuntime signature
Arguments, aliases, and options come from the versioned snapshot of the live Commander tree emitted by the CLI. Contract-declared delegated commands intentionally expose only their canonical invocation.
Arguments and aliases
Aliases: None
- source · required
Options
- --workspace <path>
- --name <projectName>
- --enable-modules
- --project-grounding <mode>
- --git
- --json
Contract relationships
Capability contracts govern whether the command exists; artifact contracts govern the structured output it produces.
Produced artifacts
Artifacts are durable machine-readable outputs. Their schema, path, and producer relationship must remain stable across CLI, CI, IDE, MCP, and agent consumers.
| Artifact | Schema version | Contract |
|---|---|---|
| .workspai/agent-entry.v1.json | workspai.agent-entry.v1 | contracts/workspace-intelligence/project-agent-entry.v1.json |
| .workspai/reports/project-context-agent.json | project-context-agent.v1 | contracts/workspace-intelligence/project-context-agent.v1.json |
| .workspai/workspace-link.local.json | project-workspace-link.v1 | contracts/project-workspace-link.v1.json |