@compilr-dev/sdk 0.7.1 → 0.7.2

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.
@@ -118,6 +118,7 @@ export class SQLiteDocumentRepository {
118
118
  plan: 0,
119
119
  'app-model': 0,
120
120
  'research-model': 0,
121
+ 'business-model': 0,
121
122
  };
122
123
  for (const row of results) {
123
124
  counts[row.doc_type] = row.count;
@@ -16,6 +16,7 @@ const DOC_TYPE_ENUM = [
16
16
  'plan',
17
17
  'app-model',
18
18
  'research-model',
19
+ 'business-model',
19
20
  ];
20
21
  // eslint-disable-next-line @typescript-eslint/explicit-function-return-type
21
22
  export function createDocumentTools(config) {
@@ -19,7 +19,7 @@ export type WorkItemType = 'feature' | 'bug' | 'tech-debt' | 'chore';
19
19
  export type WorkItemStatus = 'backlog' | 'in_progress' | 'completed' | 'skipped';
20
20
  export type WorkItemPriority = 'critical' | 'high' | 'medium' | 'low';
21
21
  export type GuidedStep = 'plan' | 'implement' | 'test' | 'commit' | 'review';
22
- export type DocumentType = 'prd' | 'architecture' | 'design' | 'notes' | 'plan' | 'app-model' | 'research-model';
22
+ export type DocumentType = 'prd' | 'architecture' | 'design' | 'notes' | 'plan' | 'app-model' | 'research-model' | 'business-model';
23
23
  export type PlanStatus = 'draft' | 'approved' | 'in_progress' | 'completed' | 'abandoned';
24
24
  export interface Project {
25
25
  id: number;
@@ -340,13 +340,13 @@ export const businessPlanConfig = {
340
340
  { role: 'writer', label: 'Writer', description: 'Clear, persuasive business writing' },
341
341
  ],
342
342
  documentTemplates: [
343
+ { type: 'business-model', label: 'Business Model', description: 'Structured business model (identity, market, competitors, financials)' },
343
344
  { type: 'executive-summary', label: 'Executive Summary', description: 'Business overview' },
344
345
  {
345
346
  type: 'market-analysis',
346
347
  label: 'Market Analysis',
347
348
  description: 'Market size, trends, competition',
348
349
  },
349
- { type: 'business-model', label: 'Business Model', description: 'Revenue, costs, operations' },
350
350
  { type: 'financial-model', label: 'Financial Model', description: 'Projections and forecasts' },
351
351
  { type: 'pitch', label: 'Pitch Narrative', description: 'Investor pitch content' },
352
352
  { type: 'session-notes', label: 'Session Notes', description: 'Summary of work done' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compilr-dev/sdk",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "Universal agent runtime for building AI-powered applications",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",