feat: add Atlas PRD agent for product discovery
- src/prompts/atlas.ts — full Atlas system prompt (6-phase PM discovery flow) - src/tools/prd.ts — finalize_prd tool that signals PRD completion - src/agents/atlas.ts — Atlas agent config (Tier A, conversational) - src/atlas.ts — atlasChat() multi-turn session handler - server.ts — /atlas/chat, /atlas/sessions endpoints Made-with: Cursor
This commit is contained in:
1
dist/agents/atlas.d.ts
vendored
Normal file
1
dist/agents/atlas.d.ts
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export {};
|
||||
10
dist/agents/atlas.js
vendored
Normal file
10
dist/agents/atlas.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const registry_1 = require("./registry");
|
||||
(0, registry_1.registerAgent)({
|
||||
name: 'Atlas',
|
||||
description: 'PRD agent — guides users through structured product discovery and produces a comprehensive requirements document',
|
||||
model: 'A', // Gemini Flash — fast, conversational, cost-effective for dialogue
|
||||
promptId: 'atlas',
|
||||
tools: (0, registry_1.pick)(['finalize_prd'])
|
||||
});
|
||||
2
dist/agents/index.d.ts
vendored
2
dist/agents/index.d.ts
vendored
@@ -2,8 +2,10 @@ import '../prompts/orchestrator';
|
||||
import '../prompts/coder';
|
||||
import '../prompts/pm';
|
||||
import '../prompts/marketing';
|
||||
import '../prompts/atlas';
|
||||
import './orchestrator';
|
||||
import './coder';
|
||||
import './pm';
|
||||
import './marketing';
|
||||
import './atlas';
|
||||
export { AgentConfig, AGENTS, getAgent, allAgents, pick } from './registry';
|
||||
|
||||
2
dist/agents/index.js
vendored
2
dist/agents/index.js
vendored
@@ -6,11 +6,13 @@ require("../prompts/orchestrator");
|
||||
require("../prompts/coder");
|
||||
require("../prompts/pm");
|
||||
require("../prompts/marketing");
|
||||
require("../prompts/atlas");
|
||||
// Import agent files — side effects register each agent into the registry
|
||||
require("./orchestrator");
|
||||
require("./coder");
|
||||
require("./pm");
|
||||
require("./marketing");
|
||||
require("./atlas");
|
||||
// Re-export public API
|
||||
var registry_1 = require("./registry");
|
||||
Object.defineProperty(exports, "AGENTS", { enumerable: true, get: function () { return registry_1.AGENTS; } });
|
||||
|
||||
Reference in New Issue
Block a user