Files
paseo/packages/app/e2e/fixtures/claude-workflow/inspect-project.js
T
Mohamed BoudraandGitHub f4e8522050 Show workflows in the subagent track (#2933)
* feat(server): show provider workflows in subagent track

Normalize workflow tasks into the provider-subagent contract so shared clients need no workflow awareness. Persisted nonterminal runs replay as failed because their original runtime can no longer deliver a terminal update.

* fix(server): preserve workflow replay and tool cards

* fix(server): suppress workflow notification cards

* fix(server): replay workflow child timelines

* fix(server): fail tasks when Claude exits

* fix(server): preserve workflow replay parity

* fix(server): fail tasks on Claude restart

* fix(server): hide workflow child prompts on replay

* fix: terminalize workflows on session reload

* fix(server): own workflow notification routing

* feat(server): show workflow results in detail pane

* fix(server): preserve unrestored task notifications

* fix(server): normalize replay task notifications
2026-08-06 21:01:26 +08:00

33 lines
1.0 KiB
JavaScript

export const meta = {
name: "paseo-project-inspection",
description: "Inspect Paseo and explain what the project does",
whenToUse: "Paseo real-provider workflow detail QA",
phases: [{ title: "Inspect", detail: "Read the product and architecture sources" }],
};
phase("Inspect");
let input = args;
if (typeof input === "string") input = JSON.parse(input);
const repoPath = input?.repoPath;
if (typeof repoPath !== "string" || repoPath.length === 0) {
throw new Error("repoPath is required");
}
const report = await agent(
`Inspect the Paseo repository at ${JSON.stringify(repoPath)}.
Read README.md, docs/product.md, docs/architecture.md, and package.json. Do not edit anything. Return a concise plain-text report with exactly these headings:
What Paseo is
Who it is for
How it works
Repository structure
Under each heading, give 1-3 concrete sentences grounded in those files. Mention the supported coding agents and the local-code/privacy model.`,
{
label: "project-inspector",
phase: "Inspect",
},
);
return { report };