For AI agents: the complete documentation index is available at https://scriptedalchemy.github.io/agent-bundle/zh/llms.txt, the full documentation bundle is available at https://scriptedalchemy.github.io/agent-bundle/zh/llms-full.txt, and this page is available as Markdown at https://scriptedalchemy.github.io/agent-bundle/zh/api/functions/test.removeProjectSource.md.
  • 简体中文
  • Function: removeProjectSource()

    removeProjectSource(options): Promise<DeletedSourceReceipt>

    Removes a consumer project's conventional source inputs and verifies their absence before minting deleted-source evidence.

    The default set is src plus every root agent-bundle.config.* entry; callers may add project-relative paths for non-conventional inputs. A project with nothing to remove is refused, because absence observed without a deletion is not evidence that the artifact survived source removal.

    Parameters

    options

    extraPaths?

    readonly string[]

    projectRoot

    string

    Returns

    Promise<DeletedSourceReceipt>