forked from github/copilot-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.ts
More file actions
68 lines (58 loc) · 2.58 KB
/
Copy pathindex.ts
File metadata and controls
68 lines (58 loc) · 2.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/**
* Multi-Agent Copilot Application
*
* This module provides a multi-agent architecture using the GitHub Copilot SDK.
* It supports running multiple specialized agents concurrently.
*
* Entry point for the creative design platform.
*/
// Export types
export * from "./types/copilot-sdk.js";
// Export agents
export { IMAGE_ANALYSIS_AGENT, ImageAnalysisAgent, createImageAnalysisTools } from "./agents/image-analysis-agent.js";
export { AgentOrchestrator } from "./agents/orchestrator.js";
// Export integrations
export { createAdobeTools } from "./integrations/adobe/tools.js";
export { FigmaClient } from "./integrations/figma/client.js";
export { createFigmaCommunityTools } from "./integrations/figma/community.js";
export { createFigmaTools } from "./integrations/figma/tools.js";
export { createInspirationTools } from "./integrations/inspiration/tools.js";
export { MATERIAL_RESOURCE_AGENT, MaterialResourceAgent } from "./integrations/material-resource-agent.js";
// Export utilities (except defineTool which is in copilot-sdk)
export {
createAgentMessage, createToolChain, error, formatBytes,
formatDimensions, formatForSharing, isValidPath,
isValidUrl, mergeToolResults, success, toHexColor, validateRequired
} from "./utils/tool-helpers.js";
// Export config
export { config } from "./config.js";
/**
* Main entry point - starts the platform
*
* Note: This requires @github/copilot-sdk to be installed.
* Currently the SDK types are defined locally in ./types/copilot-sdk.ts
*
* To run:
* 1. Install dependencies: npm install
* 2. Set up .env file with FIGMA_ACCESS_TOKEN, etc.
* 3. When @github/copilot-sdk is available: npm install @github/copilot-sdk
* 4. Run: npm start
*/
async function main() {
console.log("🎨 Creative Design Platform");
console.log("============================\n");
console.log("📦 Available Agents:");
console.log(" - Material Resource Agent (gathers design resources)");
console.log(" - Image Analysis Agent (analyzes designs with CV)");
console.log(" - Layout Team (coming soon)");
console.log(" - Component Team (coming soon)");
console.log("\n📚 Integrations:");
console.log(" - Figma (Library + Community)");
console.log(" - Adobe Creative Cloud");
console.log(" - Design Inspiration Sites");
console.log(" - ImageSorcery MCP (Computer Vision)");
console.log("\n⚠️ Note: @github/copilot-sdk not yet installed.");
console.log(" Using local type definitions for now.");
console.log(" Run 'npm install @github/copilot-sdk' when available.\n");
}
main().catch(console.error);