@project-ava-supernova/core 0.2.176 → 0.2.177

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.
Files changed (144) hide show
  1. package/dist/agent/agent.d.ts +3 -0
  2. package/dist/agent/agent.d.ts.map +1 -1
  3. package/dist/agent/agent.js +36 -11
  4. package/dist/agent/agent.js.map +1 -1
  5. package/dist/agent/system-prompt.d.ts +3 -2
  6. package/dist/agent/system-prompt.d.ts.map +1 -1
  7. package/dist/agent/system-prompt.js +1356 -1308
  8. package/dist/agent/system-prompt.js.map +1 -1
  9. package/dist/auto/aurora-router.d.ts +1 -1
  10. package/dist/auto/aurora-router.d.ts.map +1 -1
  11. package/dist/auto/aurora-router.js +4 -1
  12. package/dist/auto/aurora-router.js.map +1 -1
  13. package/dist/auto/auto-coordinator.d.ts.map +1 -1
  14. package/dist/auto/auto-coordinator.js +2 -1
  15. package/dist/auto/auto-coordinator.js.map +1 -1
  16. package/dist/auto/longxiang-router.d.ts.map +1 -1
  17. package/dist/auto/longxiang-router.js +1 -0
  18. package/dist/auto/longxiang-router.js.map +1 -1
  19. package/dist/auto/model-router.d.ts.map +1 -1
  20. package/dist/auto/model-router.js +1 -0
  21. package/dist/auto/model-router.js.map +1 -1
  22. package/dist/auto/supernova-router.d.ts.map +1 -1
  23. package/dist/auto/supernova-router.js +3 -0
  24. package/dist/auto/supernova-router.js.map +1 -1
  25. package/dist/auto/task-classifier.d.ts.map +1 -1
  26. package/dist/auto/task-classifier.js +8 -1
  27. package/dist/auto/task-classifier.js.map +1 -1
  28. package/dist/auto/types.d.ts +1 -1
  29. package/dist/auto/types.d.ts.map +1 -1
  30. package/dist/brand/brand-kits.d.ts +217 -0
  31. package/dist/brand/brand-kits.d.ts.map +1 -0
  32. package/dist/brand/brand-kits.js +681 -0
  33. package/dist/brand/brand-kits.js.map +1 -0
  34. package/dist/brand/kit-py.d.ts +7 -0
  35. package/dist/brand/kit-py.d.ts.map +1 -0
  36. package/dist/brand/kit-py.js +45 -0
  37. package/dist/brand/kit-py.js.map +1 -0
  38. package/dist/config/schema.d.ts +5 -0
  39. package/dist/config/schema.d.ts.map +1 -1
  40. package/dist/config/schema.js.map +1 -1
  41. package/dist/docs/data/tools.d.ts.map +1 -1
  42. package/dist/docs/data/tools.js +15 -0
  43. package/dist/docs/data/tools.js.map +1 -1
  44. package/dist/index.d.ts +16 -1
  45. package/dist/index.d.ts.map +1 -1
  46. package/dist/index.js +13 -0
  47. package/dist/index.js.map +1 -1
  48. package/dist/memory/config.d.ts +12 -0
  49. package/dist/memory/config.d.ts.map +1 -1
  50. package/dist/memory/config.js +12 -0
  51. package/dist/memory/config.js.map +1 -1
  52. package/dist/memory/memory-manager.d.ts +11 -0
  53. package/dist/memory/memory-manager.d.ts.map +1 -1
  54. package/dist/memory/memory-manager.js +90 -2
  55. package/dist/memory/memory-manager.js.map +1 -1
  56. package/dist/memory/project-brain.d.ts.map +1 -1
  57. package/dist/memory/project-brain.js +2 -1
  58. package/dist/memory/project-brain.js.map +1 -1
  59. package/dist/memory/tfidf.d.ts +10 -0
  60. package/dist/memory/tfidf.d.ts.map +1 -1
  61. package/dist/memory/tfidf.js +27 -0
  62. package/dist/memory/tfidf.js.map +1 -1
  63. package/dist/social/index.d.ts +48 -0
  64. package/dist/social/index.d.ts.map +1 -1
  65. package/dist/social/index.js +19 -0
  66. package/dist/social/index.js.map +1 -1
  67. package/dist/tools/blender/build-model.d.ts +52 -0
  68. package/dist/tools/blender/build-model.d.ts.map +1 -0
  69. package/dist/tools/blender/build-model.js +426 -0
  70. package/dist/tools/blender/build-model.js.map +1 -0
  71. package/dist/tools/blender/find-blender.d.ts +43 -0
  72. package/dist/tools/blender/find-blender.d.ts.map +1 -0
  73. package/dist/tools/blender/find-blender.js +154 -0
  74. package/dist/tools/blender/find-blender.js.map +1 -0
  75. package/dist/tools/blender/model-brief.d.ts +61 -0
  76. package/dist/tools/blender/model-brief.d.ts.map +1 -0
  77. package/dist/tools/blender/model-brief.js +117 -0
  78. package/dist/tools/blender/model-brief.js.map +1 -0
  79. package/dist/tools/blender/paths.d.ts +20 -0
  80. package/dist/tools/blender/paths.d.ts.map +1 -0
  81. package/dist/tools/blender/paths.js +37 -0
  82. package/dist/tools/blender/paths.js.map +1 -0
  83. package/dist/tools/blender/runner-py.d.ts +2 -0
  84. package/dist/tools/blender/runner-py.d.ts.map +1 -0
  85. package/dist/tools/blender/runner-py.js +442 -0
  86. package/dist/tools/blender/runner-py.js.map +1 -0
  87. package/dist/tools/brief-store.d.ts +25 -0
  88. package/dist/tools/brief-store.d.ts.map +1 -0
  89. package/dist/tools/brief-store.js +59 -0
  90. package/dist/tools/brief-store.js.map +1 -0
  91. package/dist/tools/check-posts.d.ts.map +1 -1
  92. package/dist/tools/check-posts.js +21 -3
  93. package/dist/tools/check-posts.js.map +1 -1
  94. package/dist/tools/design-checkin.d.ts +28 -0
  95. package/dist/tools/design-checkin.d.ts.map +1 -0
  96. package/dist/tools/design-checkin.js +74 -0
  97. package/dist/tools/design-checkin.js.map +1 -0
  98. package/dist/tools/design-docs.d.ts +37 -0
  99. package/dist/tools/design-docs.d.ts.map +1 -0
  100. package/dist/tools/design-docs.js +367 -0
  101. package/dist/tools/design-docs.js.map +1 -0
  102. package/dist/tools/design-fonts.d.ts +54 -0
  103. package/dist/tools/design-fonts.d.ts.map +1 -0
  104. package/dist/tools/design-fonts.js +312 -0
  105. package/dist/tools/design-fonts.js.map +1 -0
  106. package/dist/tools/design-studio-tools.d.ts +16 -0
  107. package/dist/tools/design-studio-tools.d.ts.map +1 -1
  108. package/dist/tools/design-studio-tools.js +288 -43
  109. package/dist/tools/design-studio-tools.js.map +1 -1
  110. package/dist/tools/generation-manager.d.ts +1 -1
  111. package/dist/tools/generation-manager.d.ts.map +1 -1
  112. package/dist/tools/gimp/build-image.d.ts +152 -0
  113. package/dist/tools/gimp/build-image.d.ts.map +1 -0
  114. package/dist/tools/gimp/build-image.js +809 -0
  115. package/dist/tools/gimp/build-image.js.map +1 -0
  116. package/dist/tools/gimp/find-gimp.d.ts +32 -0
  117. package/dist/tools/gimp/find-gimp.d.ts.map +1 -0
  118. package/dist/tools/gimp/find-gimp.js +149 -0
  119. package/dist/tools/gimp/find-gimp.js.map +1 -0
  120. package/dist/tools/gimp/runner-py.d.ts +2 -0
  121. package/dist/tools/gimp/runner-py.d.ts.map +1 -0
  122. package/dist/tools/gimp/runner-py.js +723 -0
  123. package/dist/tools/gimp/runner-py.js.map +1 -0
  124. package/dist/tools/propose-brief.d.ts.map +1 -1
  125. package/dist/tools/propose-brief.js +6 -1
  126. package/dist/tools/propose-brief.js.map +1 -1
  127. package/dist/tools/review-post.d.ts +25 -0
  128. package/dist/tools/review-post.d.ts.map +1 -0
  129. package/dist/tools/review-post.js +63 -0
  130. package/dist/tools/review-post.js.map +1 -0
  131. package/dist/tools/tool-registry.d.ts.map +1 -1
  132. package/dist/tools/tool-registry.js +39 -1
  133. package/dist/tools/tool-registry.js.map +1 -1
  134. package/dist/tools/tool-request-words.d.ts +7 -0
  135. package/dist/tools/tool-request-words.d.ts.map +1 -0
  136. package/dist/tools/tool-request-words.js +39 -0
  137. package/dist/tools/tool-request-words.js.map +1 -0
  138. package/dist/tools/write-post.d.ts.map +1 -1
  139. package/dist/tools/write-post.js +5 -1
  140. package/dist/tools/write-post.js.map +1 -1
  141. package/dist/tools/write-video-post.d.ts.map +1 -1
  142. package/dist/tools/write-video-post.js +6 -1
  143. package/dist/tools/write-video-post.js.map +1 -1
  144. package/package.json +1 -1
@@ -0,0 +1,217 @@
1
+ /**
2
+ * Brand kits — one home on this computer, read by the extension, the IDE and
3
+ * every tool, with or without the Design Studio open.
4
+ *
5
+ * ~/.ava/brand-kits.json the kits, and which one is active
6
+ * ~/.ava/brand-kits/<kit id>/ real files that belong to a kit (logos)
7
+ *
8
+ * Kits used to live in each app's localStorage, so the extension and the IDE
9
+ * had separate kits, and Ava could only reach them through the open canvas.
10
+ *
11
+ * Moving across never removes anything. A kit an app still holds in its
12
+ * localStorage is copied in the first time this store sees its id, and that
13
+ * copy in the app is left alone. Ids stay in `seen` after a delete, so a kit
14
+ * someone deleted can't return from an old copy.
15
+ */
16
+ export interface BrandKitPalette {
17
+ primary: string;
18
+ secondary: string;
19
+ accent: string;
20
+ neutral: string;
21
+ surface: string;
22
+ }
23
+ export type BrandLogoSlot = 'primary' | 'mark' | 'light' | 'dark';
24
+ /** What the project is. It decides which pieces a kit asks for. */
25
+ export type BrandKitKind = 'game' | 'app' | 'website' | 'business';
26
+ export declare const BRAND_KIT_KINDS: Array<{
27
+ id: BrandKitKind;
28
+ label: string;
29
+ }>;
30
+ /** Where a piece gets made. 'kit' means with Ava, right on the kit. */
31
+ export type BrandPieceRoom = 'gimp' | 'blender' | 'kit';
32
+ /** `slot`: this piece IS that logo, so it holds one picture. */
33
+ export interface BrandPieceDef {
34
+ id: string;
35
+ label: string;
36
+ room: BrandPieceRoom;
37
+ slot?: BrandLogoSlot;
38
+ }
39
+ export declare const BRAND_KIT_PIECES: Record<BrandKitKind, BrandPieceDef[]>;
40
+ /** The pieces a kit asks for: its kind's, then the ones every kit has. */
41
+ export declare const kitPieceDefs: (kind?: BrandKitKind) => BrandPieceDef[];
42
+ export type BrandPieceState = 'not_made' | 'in_progress' | 'agreed';
43
+ export interface BrandKitPiece {
44
+ state: BrandPieceState;
45
+ note?: string;
46
+ files?: string[];
47
+ }
48
+ export interface BrandKitFonts {
49
+ heading?: string;
50
+ body?: string;
51
+ ui?: string;
52
+ }
53
+ /** A colour on a colour, for one use. Roles ("primary") or hex. */
54
+ export interface BrandKitPairing {
55
+ ink: string;
56
+ on: string;
57
+ use?: string;
58
+ }
59
+ export interface BrandKitRecord {
60
+ id: string;
61
+ name: string;
62
+ tagline?: string;
63
+ positioning?: string;
64
+ palette: BrandKitPalette;
65
+ styleTags: string[];
66
+ /** On disk: a path inside the kit's folder. To the apps: a data URL. */
67
+ logo?: Partial<Record<BrandLogoSlot, string>>;
68
+ voice?: string;
69
+ doRules?: string[];
70
+ dontRules?: string[];
71
+ defaultHashtags?: string[];
72
+ defaultLink?: string;
73
+ defaultVoiceId?: string;
74
+ musicPrompt?: string;
75
+ /** The projects this kit belongs to. One kit can serve several; a project has one kit. */
76
+ projects?: string[];
77
+ /** What the project is. Asked, never guessed, for kits made before kinds. */
78
+ kind?: BrandKitKind;
79
+ /** Keyed by piece id. A piece with no entry is not made. */
80
+ pieces?: Record<string, BrandKitPiece>;
81
+ fonts?: BrandKitFonts;
82
+ pairings?: BrandKitPairing[];
83
+ imageStyle?: string;
84
+ visualDo?: string[];
85
+ visualDont?: string[];
86
+ /** 'proposed' while it waits for the person: not in use anywhere until agreed. */
87
+ status?: 'proposed';
88
+ /** Ava's reasoning for a proposed kit. */
89
+ reasoning?: string;
90
+ /** The project a proposed kit will link to once agreed. */
91
+ proposedFor?: string;
92
+ /** To the apps only: a kit's saved files by their path in the kit. */
93
+ fileMap?: Record<string, string>;
94
+ createdAt: number;
95
+ updatedAt: number;
96
+ }
97
+ export declare const brandKitsHome: () => string;
98
+ export declare const brandKitsFile: () => string;
99
+ /** The absolute path of a kit's logo file, for tools that work with real files. */
100
+ export declare function brandLogoPath(kit: BrandKitRecord, slot: BrandLogoSlot): string | null;
101
+ export declare function listBrandKits(): Promise<{
102
+ kits: BrandKitRecord[];
103
+ activeId: string | null;
104
+ }>;
105
+ /** The projects a kit can link to: the folders in their projects folder. */
106
+ export declare function knownProjects(): Promise<Array<{
107
+ path: string;
108
+ name: string;
109
+ }>>;
110
+ /** The same folder arrives with different capitals and slashes, so paths are
111
+ * compared in one form. The kit keeps the path as it was given, for showing. */
112
+ export declare function projectKey(path: string): string;
113
+ export type KitForProject = {
114
+ status: 'linked' | 'active';
115
+ kit: BrandKitRecord;
116
+ } | {
117
+ status: 'unlinked';
118
+ kit: null;
119
+ project: string;
120
+ others: string[];
121
+ } | {
122
+ status: 'none';
123
+ kit: null;
124
+ };
125
+ /**
126
+ * Which kit is in use. In a project, only the kit linked to it: a project with
127
+ * none has no kit, rather than borrowing another brand's. With no project open,
128
+ * the active kit.
129
+ */
130
+ export declare function kitForProject(project?: string | null): Promise<KitForProject>;
131
+ /** What the apps show: in a linked project, its kit is the one in use. */
132
+ export declare function brandKitsForApps(project?: string | null): Promise<{
133
+ kits: BrandKitRecord[];
134
+ activeId: string | null;
135
+ project: {
136
+ key: string;
137
+ path: string;
138
+ } | null;
139
+ kinds: typeof BRAND_KIT_KINDS;
140
+ pieces: typeof BRAND_KIT_PIECES;
141
+ corePieces: BrandPieceDef[];
142
+ projects: Array<{
143
+ path: string;
144
+ name: string;
145
+ }>;
146
+ }>;
147
+ /** The kit as it goes into a Blender or GIMP script, or null if there is none. */
148
+ export declare function kitForScripts(project?: string | null): Promise<{
149
+ name: string;
150
+ palette: BrandKitPalette;
151
+ style: string[];
152
+ logos: Record<string, string>;
153
+ fonts: BrandKitFonts;
154
+ } | null>;
155
+ /** WCAG contrast between two #rrggbb colours, 1 to 21. */
156
+ export declare function contrastRatio(a: string, b: string): number;
157
+ /** Pairings with their real contrast: 4.5 is the floor for body text, 3 for large type and marks. */
158
+ export declare function checkPairings(kit: BrandKitRecord): Array<BrandKitPairing & {
159
+ ratio: number | null;
160
+ verdict: 'fine' | 'large only' | 'too low' | 'unknown';
161
+ }>;
162
+ /** Where a kit stands: every piece it asks for, with its state. */
163
+ export declare function kitPieceStates(kit: BrandKitRecord): Array<BrandPieceDef & BrandKitPiece>;
164
+ /** The kit in words, for Ava's context every turn. */
165
+ export declare function brandKitSummary(found: KitForProject): string;
166
+ export declare function readBrandKit(id?: string): Promise<BrandKitRecord | null>;
167
+ export type BrandKitFields = Partial<Omit<BrandKitRecord, 'id' | 'createdAt' | 'updatedAt' | 'palette' | 'logo'>> & {
168
+ palette?: Partial<BrandKitPalette>;
169
+ };
170
+ /** A new kit. It does not become active: making a brand shouldn't switch the one
171
+ * you're working in. The very first kit is active, because something has to be. */
172
+ export declare function createBrandKit(fields: BrandKitFields): Promise<BrandKitRecord>;
173
+ export declare function updateBrandKit(id: string | undefined, fields: BrandKitFields): Promise<BrandKitRecord | null>;
174
+ /** Move one piece on: not made, in progress, agreed. */
175
+ export declare function setBrandPiece(id: string, piece: string, state: BrandPieceState, note?: string): Promise<BrandKitRecord | null>;
176
+ /** A finished file joins the kit: a copy in the kit's own folder, so it survives
177
+ * the work being deleted. The piece is agreed; with a slot, it's that logo too. */
178
+ export declare function saveFileToKit(id: string, piece: string, source: string, slot?: BrandLogoSlot, byHand?: boolean): Promise<BrandKitRecord | null>;
179
+ /** A whole kit from an app's editor, created if it is new. Logos become files. */
180
+ export declare function saveBrandKit(kit: BrandKitRecord): Promise<BrandKitRecord>;
181
+ /** Ava's proposed kit, or a new version of one. It changes nothing in use until
182
+ * the person agrees it. A kit already agreed can't be proposed over. */
183
+ export declare function proposeBrandKit(id: string | undefined, fields: BrandKitFields, reasoning: string, project?: string | null): Promise<BrandKitRecord | {
184
+ refused: string;
185
+ }>;
186
+ /** They chose a picture from their Library for a piece. */
187
+ export declare function addPieceFromLibrary(id: string, piece: string, source: string): Promise<BrandKitRecord | null>;
188
+ /** They uploaded a picture from their computer for a piece. */
189
+ export declare function addPieceUpload(id: string, piece: string, name: string, dataUrl: string): Promise<BrandKitRecord | null>;
190
+ /** Takes a picture off a piece, or the logo off a logo piece. With nothing left
191
+ * on it the piece is not made. Only the kit's copy goes: the Library keeps its own. */
192
+ export declare function removePieceFile(id: string, piece: string, file?: string): Promise<BrandKitRecord | null>;
193
+ export declare function agreeBrandKit(id: string): Promise<BrandKitRecord | null>;
194
+ /** Link a kit to a project. A project has one kit, so any other kit lets go of it. */
195
+ export declare function linkBrandKit(id: string, project: string): Promise<BrandKitRecord | null>;
196
+ export declare function unlinkBrandKit(id: string, project: string): Promise<BrandKitRecord | null>;
197
+ export declare function setActiveBrandKit(id: string): Promise<BrandKitRecord | null>;
198
+ /** Pictures in the Library to choose from: what's marked final, or a work's main
199
+ * image if nothing is yet. `everything` adds its tests and comparisons. */
200
+ export declare function kitLibraryChoices(everything?: boolean): Promise<Array<{
201
+ key: string;
202
+ title: string;
203
+ path: string;
204
+ }>>;
205
+ /** Only files in the Library, for a path that came through the app. */
206
+ export declare function isLibraryFile(path: string): boolean;
207
+ /** A file already on this computer becomes one of a kit's logos: a copy, so the
208
+ * kit keeps it even if the original is deleted from the Library. */
209
+ export declare function setBrandLogoFromFile(id: string, slot: BrandLogoSlot, source: string): Promise<BrandKitRecord | null>;
210
+ /** Delete a kit and its files. Only after the person has asked for it. */
211
+ export declare function deleteBrandKit(id: string): Promise<boolean>;
212
+ /**
213
+ * Bring in what an app still holds in localStorage. A kit whose id has been seen
214
+ * is skipped: the store is the truth from then on. Returns how many came in.
215
+ */
216
+ export declare function importBrandKits(kits: unknown, activeId?: string | null): Promise<number>;
217
+ //# sourceMappingURL=brand-kits.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"brand-kits.d.ts","sourceRoot":"","sources":["../../src/brand/brand-kits.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAYH,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;CACtF;AACD,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;AAElE,mEAAmE;AACnE,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,KAAK,GAAG,SAAS,GAAG,UAAU,CAAC;AACnE,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC;IAAE,EAAE,EAAE,YAAY,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAEtE,CAAC;AAEF,uEAAuE;AACvE,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,SAAS,GAAG,KAAK,CAAC;AACxD,gEAAgE;AAChE,MAAM,WAAW,aAAa;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