edsger 0.38.2 → 0.38.3

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.
@@ -55,7 +55,7 @@ export interface CompetitorSnapshot {
55
55
  export interface IntelligenceReport {
56
56
  id: string;
57
57
  product_id: string;
58
- report_type: 'competitive' | 'market' | 'pmf' | 'comprehensive';
58
+ report_type: 'competitive' | 'market' | 'pmf' | 'research' | 'comprehensive';
59
59
  title: string;
60
60
  summary: string | null;
61
61
  full_report: string | null;
package/dist/index.js CHANGED
@@ -143,7 +143,7 @@ program
143
143
  .command('intel <productId>')
144
144
  .description('Run AI-powered competitive intelligence analysis for a product')
145
145
  .option('-v, --verbose', 'Verbose output')
146
- .option('-t, --type <type>', 'Report type: competitive, market, pmf, comprehensive', 'competitive')
146
+ .option('-t, --type <type>', 'Report type: competitive, market, pmf, research, comprehensive', 'competitive')
147
147
  .option('-g, --guidance <text>', 'Human direction for the analysis focus')
148
148
  .option('--report-id <id>', 'Update an existing pending report instead of creating new')
149
149
  .option('--list-competitors', 'List discovered and confirmed competitors')
@@ -119,8 +119,18 @@ export const createIntelligencePromptWithContext = (productId, contextInfo, repo
119
119
  : `
120
120
 
121
121
  **Competitor Discovery**: While analyzing confirmed competitors, also look for new entrants or products that should be tracked. Include any new finds in the "discovered_competitors" array.`;
122
+ const researchInstructions = reportType === 'research'
123
+ ? `
124
+
125
+ **Research Focus**: Search for the latest academic papers, industry reports, and technical deep-dives relevant to this product's domain. Use queries like:
126
+ - "site:arxiv.org {relevant keywords}"
127
+ - "{industry} report 2026 PDF"
128
+ - "{technology} whitepaper"
129
+ - "{domain} research trends"
130
+ Focus on: emerging techniques, state-of-the-art approaches, industry benchmarks, and findings that could inform product direction. Include paper titles, authors, publication dates, and key takeaways in the market_signals array.`
131
+ : '';
122
132
  return `Please conduct a comprehensive ${reportType} intelligence analysis for this product.
123
- ${discoveryInstructions}
133
+ ${discoveryInstructions}${researchInstructions}
124
134
 
125
135
  ${contextInfo}
126
136
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edsger",
3
- "version": "0.38.2",
3
+ "version": "0.38.3",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "edsger": "dist/index.js"