agent-state-machine 2.1.7 → 2.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +1 -140
- package/lib/config-utils.js +259 -0
- package/lib/llm.js +23 -5
- package/lib/runtime/model-resolution.js +128 -0
- package/package.json +1 -1
- package/templates/project-builder/agents/assumptions-clarifier.md +0 -8
- package/templates/project-builder/agents/code-reviewer.md +0 -8
- package/templates/project-builder/agents/code-writer.md +0 -10
- package/templates/project-builder/agents/requirements-clarifier.md +0 -7
- package/templates/project-builder/agents/roadmap-generator.md +0 -10
- package/templates/project-builder/agents/scope-clarifier.md +0 -6
- package/templates/project-builder/agents/security-clarifier.md +0 -9
- package/templates/project-builder/agents/security-reviewer.md +0 -12
- package/templates/project-builder/agents/task-planner.md +0 -10
- package/templates/project-builder/agents/test-planner.md +0 -9
- package/templates/project-builder/config.js +1 -0
- package/vercel-server/public/remote/assets/index-BOKpYANC.js +148 -0
- package/vercel-server/public/remote/assets/index-DHL_iHQW.css +1 -0
- package/vercel-server/public/remote/index.html +2 -2
- package/vercel-server/ui/src/components/ContentCard.jsx +114 -18
- package/vercel-server/public/remote/assets/index-CxvAJSiE.js +0 -139
- package/vercel-server/public/remote/assets/index-CyKTDZyv.css +0 -1
|
@@ -9,15 +9,6 @@ response: choice
|
|
|
9
9
|
|
|
10
10
|
You are a security requirements specialist. Your job is to identify security needs and concerns early in the project.
|
|
11
11
|
|
|
12
|
-
## Context
|
|
13
|
-
Project Description: {{projectDescription}}
|
|
14
|
-
Scope: {{scope}}
|
|
15
|
-
Requirements: {{requirements}}
|
|
16
|
-
Assumptions: {{assumptions}}
|
|
17
|
-
{{#if previousResponse}}
|
|
18
|
-
User's Previous Response: {{previousResponse}}
|
|
19
|
-
{{/if}}
|
|
20
|
-
|
|
21
12
|
## Instructions
|
|
22
13
|
|
|
23
14
|
Analyze the project for security implications. Consider:
|
|
@@ -7,18 +7,6 @@ format: json
|
|
|
7
7
|
|
|
8
8
|
You are a security review specialist. Review tasks and implementations for security concerns.
|
|
9
9
|
|
|
10
|
-
## Context
|
|
11
|
-
Task: {{task}}
|
|
12
|
-
Phase: {{phase}}
|
|
13
|
-
Scope: {{scope}}
|
|
14
|
-
Stage: {{stage}}
|
|
15
|
-
{{#if implementation}}
|
|
16
|
-
Implementation: {{implementation}}
|
|
17
|
-
{{/if}}
|
|
18
|
-
{{#if feedback}}
|
|
19
|
-
Previous Feedback: {{feedback}}
|
|
20
|
-
{{/if}}
|
|
21
|
-
|
|
22
10
|
## Instructions
|
|
23
11
|
|
|
24
12
|
Perform a security review appropriate to the stage:
|
|
@@ -7,16 +7,6 @@ format: json
|
|
|
7
7
|
|
|
8
8
|
You are a task breakdown specialist. Generate detailed task lists for a specific phase as structured JSON.
|
|
9
9
|
|
|
10
|
-
## Context
|
|
11
|
-
Project Description: {{projectDescription}}
|
|
12
|
-
Scope: {{scope}}
|
|
13
|
-
Requirements: {{requirements}}
|
|
14
|
-
Phase Number: {{phaseIndex}}
|
|
15
|
-
Phase Details: {{phase}}
|
|
16
|
-
{{#if feedback}}
|
|
17
|
-
User Feedback: {{feedback}}
|
|
18
|
-
{{/if}}
|
|
19
|
-
|
|
20
10
|
## Instructions
|
|
21
11
|
|
|
22
12
|
Break down the phase into specific, actionable tasks. Each task should:
|
|
@@ -7,15 +7,6 @@ format: json
|
|
|
7
7
|
|
|
8
8
|
You are a test planning specialist. Create test plans for tasks before implementation.
|
|
9
9
|
|
|
10
|
-
## Context
|
|
11
|
-
Task: {{task}}
|
|
12
|
-
Phase: {{phase}}
|
|
13
|
-
Requirements: {{requirements}}
|
|
14
|
-
Security Considerations: {{securityConsiderations}}
|
|
15
|
-
{{#if feedback}}
|
|
16
|
-
Previous Feedback: {{feedback}}
|
|
17
|
-
{{/if}}
|
|
18
|
-
|
|
19
10
|
## Instructions
|
|
20
11
|
|
|
21
12
|
Create a comprehensive test plan for the task. Include:
|