@compilr-dev/sdk 0.5.0 → 0.5.1

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.
@@ -155,6 +155,12 @@ export const researchConfig = {
155
155
  ],
156
156
  projectActions: ['session-notes'],
157
157
  workItemActions: ['explain'],
158
+ workItemLabels: {
159
+ feature: { short: 'SC', full: 'Section' },
160
+ bug: { short: 'RV', full: 'Revision' },
161
+ 'tech-debt': { short: 'RF', full: 'Reference' },
162
+ chore: { short: 'TK', full: 'Task' },
163
+ },
158
164
  systemPromptContext: 'This is an academic research project. The user is writing a research paper or thesis. Focus on academic rigor, proper citations, and structured argumentation.',
159
165
  };
160
166
  // =============================================================================
@@ -221,6 +227,12 @@ export const businessPlanConfig = {
221
227
  ],
222
228
  projectActions: ['session-notes'],
223
229
  workItemActions: ['explain'],
230
+ workItemLabels: {
231
+ feature: { short: 'ML', full: 'Milestone' },
232
+ bug: { short: 'IS', full: 'Issue' },
233
+ 'tech-debt': { short: 'RS', full: 'Research' },
234
+ chore: { short: 'TK', full: 'Task' },
235
+ },
224
236
  systemPromptContext: 'This is a business plan project. The user is developing a business plan or startup pitch. Focus on market analysis, financial viability, and clear communication.',
225
237
  };
226
238
  // =============================================================================
@@ -271,6 +283,12 @@ export const contentConfig = {
271
283
  ],
272
284
  projectActions: ['session-notes'],
273
285
  workItemActions: ['explain'],
286
+ workItemLabels: {
287
+ feature: { short: 'PC', full: 'Content Piece' },
288
+ bug: { short: 'FX', full: 'Fix' },
289
+ 'tech-debt': { short: 'RS', full: 'Research' },
290
+ chore: { short: 'TK', full: 'Task' },
291
+ },
274
292
  systemPromptContext: 'This is a content/marketing project. The user is creating articles, blog posts, or marketing content. Focus on engaging writing, SEO awareness, and brand consistency.',
275
293
  };
276
294
  // =============================================================================
@@ -321,6 +339,12 @@ export const techDocsConfig = {
321
339
  ],
322
340
  projectActions: ['session-notes'],
323
341
  workItemActions: ['explain'],
342
+ workItemLabels: {
343
+ feature: { short: 'PG', full: 'Page' },
344
+ bug: { short: 'FX', full: 'Fix' },
345
+ 'tech-debt': { short: 'RF', full: 'Refactor' },
346
+ chore: { short: 'TK', full: 'Task' },
347
+ },
324
348
  systemPromptContext: 'This is a technical documentation project. The user is writing documentation such as API references, user guides, or tutorials. Focus on clarity, accuracy, and developer experience.',
325
349
  };
326
350
  // =============================================================================
@@ -377,5 +401,11 @@ export const courseConfig = {
377
401
  ],
378
402
  projectActions: ['session-notes'],
379
403
  workItemActions: ['explain'],
404
+ workItemLabels: {
405
+ feature: { short: 'LS', full: 'Lesson' },
406
+ bug: { short: 'FX', full: 'Fix' },
407
+ 'tech-debt': { short: 'RF', full: 'Refactor' },
408
+ chore: { short: 'TK', full: 'Task' },
409
+ },
380
410
  systemPromptContext: 'This is an educational project. The user is creating a course or training material. Focus on clear explanations, progressive complexity, and effective learning design.',
381
411
  };
@@ -63,6 +63,11 @@ export interface ProjectTypeConfig {
63
63
  projectActions: string[];
64
64
  /** Skills shown on work item action buttons */
65
65
  workItemActions: string[];
66
+ /** Override display labels for work item types (e.g., "Section" instead of "Feature") */
67
+ workItemLabels?: Partial<Record<'feature' | 'bug' | 'tech-debt' | 'chore', {
68
+ short: string;
69
+ full: string;
70
+ }>>;
66
71
  /** Context line injected into the system prompt */
67
72
  systemPromptContext: string;
68
73
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compilr-dev/sdk",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Universal agent runtime for building AI-powered applications",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",