archrip 0.2.2 → 0.2.4

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.
@@ -62,7 +62,8 @@ const CATEGORY_META = {
62
62
  service: { label: 'Service', icon: '\u{2699}\u{FE0F}', color: { bg: '#dcfce7', border: '#22c55e', text: '#166534' } },
63
63
  port: { label: 'Port', icon: '\u{1F50C}', color: { bg: '#ede9fe', border: '#8b5cf6', text: '#5b21b6' } },
64
64
  adapter: { label: 'Adapter', icon: '\u{1F527}', color: { bg: '#ffedd5', border: '#f97316', text: '#9a3412' } },
65
- model: { label: 'Model / DB', icon: '\u{1F4BE}', color: { bg: '#fee2e2', border: '#ef4444', text: '#991b1b' } },
65
+ model: { label: 'Entity', icon: '\u{1F4BE}', color: { bg: '#fee2e2', border: '#ef4444', text: '#991b1b' } },
66
+ database: { label: 'DB / Infra', icon: '\u{1F5C4}\u{FE0F}', color: { bg: '#fef3c7', border: '#d97706', text: '#92400e' } },
66
67
  external: { label: 'External', icon: '\u{2601}\u{FE0F}', color: { bg: '#f3f4f6', border: '#6b7280', text: '#374151' } },
67
68
  job: { label: 'Job', icon: '\u{23F0}', color: { bg: '#fef9c3', border: '#eab308', text: '#854d0e' } },
68
69
  dto: { label: 'DTO', icon: '\u{1F4E6}', color: { bg: '#cffafe', border: '#06b6d4', text: '#155e75' } },
@@ -76,7 +77,7 @@ function getMeta(category: string): CategoryMeta {
76
77
  return CATEGORY_META[category as StandardCategory] ?? FALLBACK_META;
77
78
  }
78
79
 
79
- const STANDARD_CATEGORIES = ['controller', 'service', 'port', 'adapter', 'model', 'external', 'job', 'dto'] as const;
80
+ const STANDARD_CATEGORIES = ['controller', 'service', 'port', 'adapter', 'model', 'database', 'external', 'job', 'dto'] as const;
80
81
 
81
82
  export function getCategoryColors(category: string): CategoryStyle {
82
83
  const key = (STANDARD_CATEGORIES as readonly string[]).includes(category) ? category : 'fallback';
@@ -125,8 +125,9 @@ const CATEGORY_RING_PRIORITY: Record<string, number> = {
125
125
  dto: 3,
126
126
  controller: 4,
127
127
  adapter: 5,
128
- job: 6,
129
- external: 7,
128
+ database: 6,
129
+ job: 7,
130
+ external: 8,
130
131
  };
131
132
 
132
133
  const DEFAULT_RING_PRIORITY = 4;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "archrip",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "Generate interactive architecture diagrams from your codebase using AI agents",
5
5
  "type": "module",
6
6
  "bin": {