Skip to main content
Version: 1.x

Interface: AgentPlan

Defined in: src/ai/agent-types.ts:130

Structured output of the Praman SAP Planner agent.

Remarks

Serializable to JSON. The planner generates this alongside the .plan.md and gold-standard .spec.ts files. The generator agent can consume this to produce additional test scenarios.

Intent

Provide a machine-readable test plan for agent-to-agent handoff.

Example

const plan: AgentPlan = {
appName: 'Bill of Materials',
systemUrl: 'https://my403147.s4hana.cloud.sap/',
ui5Version: '1.142.4',
scenarios: [scenario1, scenario2],
controlInventory: discoveredControls,
generatedAt: new Date().toISOString(),
generatorVersion: '1.0.0',
seedFile: 'tests/seeds/sap-seed.spec.ts',
};

Properties

appName

readonly appName: string

Defined in: src/ai/agent-types.ts:132

Display name of the SAP application under test.


controlInventory

readonly controlInventory: DiscoveredControl[]

Defined in: src/ai/agent-types.ts:140

All controls discovered during page analysis.


generatedAt

readonly generatedAt: string

Defined in: src/ai/agent-types.ts:142

ISO 8601 timestamp when this plan was generated.


generatorVersion

readonly generatorVersion: string

Defined in: src/ai/agent-types.ts:144

Version of the planner agent that generated this plan.


scenarios

readonly scenarios: AgentPlanScenario[]

Defined in: src/ai/agent-types.ts:138

Ordered list of test scenarios discovered by the planner.


seedFile?

readonly optional seedFile: string

Defined in: src/ai/agent-types.ts:146

Path to the seed file used for authentication, if applicable.


systemUrl

readonly systemUrl: string

Defined in: src/ai/agent-types.ts:134

Base URL of the SAP system where discovery was performed.


ui5Version

readonly ui5Version: string

Defined in: src/ai/agent-types.ts:136

UI5 framework version detected on the page.