@project-ava-supernova/core 0.2.176 → 0.2.178

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 (197) 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 +44 -11
  4. package/dist/agent/agent.js.map +1 -1
  5. package/dist/agent/social-craft.d.ts +30 -67
  6. package/dist/agent/social-craft.d.ts.map +1 -1
  7. package/dist/agent/social-craft.js +58 -185
  8. package/dist/agent/social-craft.js.map +1 -1
  9. package/dist/agent/system-prompt.d.ts +10 -3
  10. package/dist/agent/system-prompt.d.ts.map +1 -1
  11. package/dist/agent/system-prompt.js +1184 -1321
  12. package/dist/agent/system-prompt.js.map +1 -1
  13. package/dist/auto/aurora-router.d.ts +1 -1
  14. package/dist/auto/aurora-router.d.ts.map +1 -1
  15. package/dist/auto/aurora-router.js +4 -1
  16. package/dist/auto/aurora-router.js.map +1 -1
  17. package/dist/auto/auto-coordinator.d.ts.map +1 -1
  18. package/dist/auto/auto-coordinator.js +2 -1
  19. package/dist/auto/auto-coordinator.js.map +1 -1
  20. package/dist/auto/longxiang-router.d.ts.map +1 -1
  21. package/dist/auto/longxiang-router.js +1 -0
  22. package/dist/auto/longxiang-router.js.map +1 -1
  23. package/dist/auto/model-router.d.ts.map +1 -1
  24. package/dist/auto/model-router.js +1 -0
  25. package/dist/auto/model-router.js.map +1 -1
  26. package/dist/auto/supernova-router.d.ts.map +1 -1
  27. package/dist/auto/supernova-router.js +3 -0
  28. package/dist/auto/supernova-router.js.map +1 -1
  29. package/dist/auto/task-classifier.d.ts.map +1 -1
  30. package/dist/auto/task-classifier.js +8 -1
  31. package/dist/auto/task-classifier.js.map +1 -1
  32. package/dist/auto/types.d.ts +1 -1
  33. package/dist/auto/types.d.ts.map +1 -1
  34. package/dist/brand/brand-kits.d.ts +217 -0
  35. package/dist/brand/brand-kits.d.ts.map +1 -0
  36. package/dist/brand/brand-kits.js +681 -0
  37. package/dist/brand/brand-kits.js.map +1 -0
  38. package/dist/brand/kit-py.d.ts +7 -0
  39. package/dist/brand/kit-py.d.ts.map +1 -0
  40. package/dist/brand/kit-py.js +49 -0
  41. package/dist/brand/kit-py.js.map +1 -0
  42. package/dist/config/schema.d.ts +5 -0
  43. package/dist/config/schema.d.ts.map +1 -1
  44. package/dist/config/schema.js.map +1 -1
  45. package/dist/creative/folder-export.d.ts +72 -0
  46. package/dist/creative/folder-export.d.ts.map +1 -0
  47. package/dist/creative/folder-export.js +463 -0
  48. package/dist/creative/folder-export.js.map +1 -0
  49. package/dist/creative/library-folders.d.ts +171 -0
  50. package/dist/creative/library-folders.d.ts.map +1 -0
  51. package/dist/creative/library-folders.js +515 -0
  52. package/dist/creative/library-folders.js.map +1 -0
  53. package/dist/creative/library-upload.d.ts +23 -0
  54. package/dist/creative/library-upload.d.ts.map +1 -0
  55. package/dist/creative/library-upload.js +152 -0
  56. package/dist/creative/library-upload.js.map +1 -0
  57. package/dist/creative/making-report.d.ts +46 -0
  58. package/dist/creative/making-report.d.ts.map +1 -0
  59. package/dist/creative/making-report.js +244 -0
  60. package/dist/creative/making-report.js.map +1 -0
  61. package/dist/creative/pack-plan-status.d.ts +18 -0
  62. package/dist/creative/pack-plan-status.d.ts.map +1 -0
  63. package/dist/creative/pack-plan-status.js +58 -0
  64. package/dist/creative/pack-plan-status.js.map +1 -0
  65. package/dist/creative/store-profiles.d.ts +46 -0
  66. package/dist/creative/store-profiles.d.ts.map +1 -0
  67. package/dist/creative/store-profiles.js +486 -0
  68. package/dist/creative/store-profiles.js.map +1 -0
  69. package/dist/docs/data/tools.d.ts.map +1 -1
  70. package/dist/docs/data/tools.js +17 -0
  71. package/dist/docs/data/tools.js.map +1 -1
  72. package/dist/index.d.ts +32 -1
  73. package/dist/index.d.ts.map +1 -1
  74. package/dist/index.js +22 -0
  75. package/dist/index.js.map +1 -1
  76. package/dist/memory/config.d.ts +12 -0
  77. package/dist/memory/config.d.ts.map +1 -1
  78. package/dist/memory/config.js +12 -0
  79. package/dist/memory/config.js.map +1 -1
  80. package/dist/memory/memory-manager.d.ts +11 -0
  81. package/dist/memory/memory-manager.d.ts.map +1 -1
  82. package/dist/memory/memory-manager.js +90 -2
  83. package/dist/memory/memory-manager.js.map +1 -1
  84. package/dist/memory/project-brain.d.ts.map +1 -1
  85. package/dist/memory/project-brain.js +2 -1
  86. package/dist/memory/project-brain.js.map +1 -1
  87. package/dist/memory/tfidf.d.ts +10 -0
  88. package/dist/memory/tfidf.d.ts.map +1 -1
  89. package/dist/memory/tfidf.js +27 -0
  90. package/dist/memory/tfidf.js.map +1 -1
  91. package/dist/portability/bundle.d.ts.map +1 -1
  92. package/dist/portability/bundle.js +1 -0
  93. package/dist/portability/bundle.js.map +1 -1
  94. package/dist/portability/factory-reset.js +1 -1
  95. package/dist/portability/factory-reset.js.map +1 -1
  96. package/dist/social/index.d.ts +57 -0
  97. package/dist/social/index.d.ts.map +1 -1
  98. package/dist/social/index.js +54 -5
  99. package/dist/social/index.js.map +1 -1
  100. package/dist/social/tag-volume.d.ts +7 -0
  101. package/dist/social/tag-volume.d.ts.map +1 -1
  102. package/dist/social/tag-volume.js +27 -0
  103. package/dist/social/tag-volume.js.map +1 -1
  104. package/dist/tools/blender/build-model.d.ts +62 -0
  105. package/dist/tools/blender/build-model.d.ts.map +1 -0
  106. package/dist/tools/blender/build-model.js +501 -0
  107. package/dist/tools/blender/build-model.js.map +1 -0
  108. package/dist/tools/blender/find-blender.d.ts +43 -0
  109. package/dist/tools/blender/find-blender.d.ts.map +1 -0
  110. package/dist/tools/blender/find-blender.js +154 -0
  111. package/dist/tools/blender/find-blender.js.map +1 -0
  112. package/dist/tools/blender/model-brief.d.ts +64 -0
  113. package/dist/tools/blender/model-brief.d.ts.map +1 -0
  114. package/dist/tools/blender/model-brief.js +117 -0
  115. package/dist/tools/blender/model-brief.js.map +1 -0
  116. package/dist/tools/blender/model-history.d.ts +42 -0
  117. package/dist/tools/blender/model-history.d.ts.map +1 -0
  118. package/dist/tools/blender/model-history.js +145 -0
  119. package/dist/tools/blender/model-history.js.map +1 -0
  120. package/dist/tools/blender/paths.d.ts +20 -0
  121. package/dist/tools/blender/paths.d.ts.map +1 -0
  122. package/dist/tools/blender/paths.js +37 -0
  123. package/dist/tools/blender/paths.js.map +1 -0
  124. package/dist/tools/blender/runner-py.d.ts +2 -0
  125. package/dist/tools/blender/runner-py.d.ts.map +1 -0
  126. package/dist/tools/blender/runner-py.js +455 -0
  127. package/dist/tools/blender/runner-py.js.map +1 -0
  128. package/dist/tools/brief-store.d.ts +28 -0
  129. package/dist/tools/brief-store.d.ts.map +1 -0
  130. package/dist/tools/brief-store.js +76 -0
  131. package/dist/tools/brief-store.js.map +1 -0
  132. package/dist/tools/check-posts.d.ts.map +1 -1
  133. package/dist/tools/check-posts.js +21 -3
  134. package/dist/tools/check-posts.js.map +1 -1
  135. package/dist/tools/design-checkin.d.ts +28 -0
  136. package/dist/tools/design-checkin.d.ts.map +1 -0
  137. package/dist/tools/design-checkin.js +74 -0
  138. package/dist/tools/design-checkin.js.map +1 -0
  139. package/dist/tools/design-docs.d.ts +37 -0
  140. package/dist/tools/design-docs.d.ts.map +1 -0
  141. package/dist/tools/design-docs.js +367 -0
  142. package/dist/tools/design-docs.js.map +1 -0
  143. package/dist/tools/design-folder.d.ts +24 -0
  144. package/dist/tools/design-folder.d.ts.map +1 -0
  145. package/dist/tools/design-folder.js +277 -0
  146. package/dist/tools/design-folder.js.map +1 -0
  147. package/dist/tools/design-fonts.d.ts +58 -0
  148. package/dist/tools/design-fonts.d.ts.map +1 -0
  149. package/dist/tools/design-fonts.js +316 -0
  150. package/dist/tools/design-fonts.js.map +1 -0
  151. package/dist/tools/design-studio-tools.d.ts +16 -0
  152. package/dist/tools/design-studio-tools.d.ts.map +1 -1
  153. package/dist/tools/design-studio-tools.js +288 -43
  154. package/dist/tools/design-studio-tools.js.map +1 -1
  155. package/dist/tools/generation-manager.d.ts +1 -1
  156. package/dist/tools/generation-manager.d.ts.map +1 -1
  157. package/dist/tools/gimp/build-image.d.ts +161 -0
  158. package/dist/tools/gimp/build-image.d.ts.map +1 -0
  159. package/dist/tools/gimp/build-image.js +900 -0
  160. package/dist/tools/gimp/build-image.js.map +1 -0
  161. package/dist/tools/gimp/find-gimp.d.ts +32 -0
  162. package/dist/tools/gimp/find-gimp.d.ts.map +1 -0
  163. package/dist/tools/gimp/find-gimp.js +149 -0
  164. package/dist/tools/gimp/find-gimp.js.map +1 -0
  165. package/dist/tools/gimp/runner-py.d.ts +2 -0
  166. package/dist/tools/gimp/runner-py.d.ts.map +1 -0
  167. package/dist/tools/gimp/runner-py.js +750 -0
  168. package/dist/tools/gimp/runner-py.js.map +1 -0
  169. package/dist/tools/making-record.d.ts +80 -0
  170. package/dist/tools/making-record.d.ts.map +1 -0
  171. package/dist/tools/making-record.js +221 -0
  172. package/dist/tools/making-record.js.map +1 -0
  173. package/dist/tools/propose-brief.d.ts.map +1 -1
  174. package/dist/tools/propose-brief.js +6 -1
  175. package/dist/tools/propose-brief.js.map +1 -1
  176. package/dist/tools/research-post.d.ts +1 -1
  177. package/dist/tools/research-post.d.ts.map +1 -1
  178. package/dist/tools/research-post.js +20 -9
  179. package/dist/tools/research-post.js.map +1 -1
  180. package/dist/tools/review-post.d.ts +25 -0
  181. package/dist/tools/review-post.d.ts.map +1 -0
  182. package/dist/tools/review-post.js +63 -0
  183. package/dist/tools/review-post.js.map +1 -0
  184. package/dist/tools/tool-registry.d.ts.map +1 -1
  185. package/dist/tools/tool-registry.js +42 -1
  186. package/dist/tools/tool-registry.js.map +1 -1
  187. package/dist/tools/tool-request-words.d.ts +7 -0
  188. package/dist/tools/tool-request-words.d.ts.map +1 -0
  189. package/dist/tools/tool-request-words.js +39 -0
  190. package/dist/tools/tool-request-words.js.map +1 -0
  191. package/dist/tools/write-post.d.ts.map +1 -1
  192. package/dist/tools/write-post.js +38 -2
  193. package/dist/tools/write-post.js.map +1 -1
  194. package/dist/tools/write-video-post.d.ts.map +1 -1
  195. package/dist/tools/write-video-post.js +10 -1
  196. package/dist/tools/write-video-post.js.map +1 -1
  197. package/package.json +2 -1
@@ -23,6 +23,22 @@ export interface SocialPostInput {
23
23
  * row survived inside a recency window, and then came round again.
24
24
  */
25
25
  subject?: string | null;
26
+ /**
27
+ * Set when this post IS one of his every-day posts — the id from his list
28
+ * ("discord", "star_repo"). 8 Nov 2026: the Posts room stopped planning the
29
+ * day, and the plan's beats were the only thing that carried this. Without
30
+ * it on the post, "has the Discord post gone out today?" can only be
31
+ * answered from her memory, which is the question check_posts exists to
32
+ * stop her answering that way.
33
+ */
34
+ daily?: string | null;
35
+ /**
36
+ * Set when this post promotes one of OUR features — its name, the same
37
+ * wording every time ("Talk mode", "Design Studio 3D"). Two to three of
38
+ * these go out a day and never the same feature twice in a row (his call,
39
+ * 8 Nov 2026), so both the count and the repeat check need it recorded.
40
+ */
41
+ feature?: string | null;
26
42
  }
27
43
  /** What the store returns after a post is written. */
28
44
  export interface SocialPostWritten {
@@ -49,6 +65,16 @@ export interface ExistingPost {
49
65
  status?: string;
50
66
  /** Text post or video post — the two come from different sinks. */
51
67
  kind: 'text' | 'video';
68
+ /** The every-day item this post was, when it was one. */
69
+ daily?: string;
70
+ /** The feature it promoted, when it promoted one. */
71
+ feature?: string;
72
+ /** His local day (YYYY-MM-DD) when it was written. Absent on old posts. */
73
+ localDay?: string;
74
+ /** HIS mark — did it land? null/undefined = not judged yet. */
75
+ landed?: boolean | null;
76
+ /** HER verdict on her own work, when she has given one. */
77
+ verdict?: string;
52
78
  }
53
79
  export interface PostStore {
54
80
  write(post: SocialPostInput): Promise<SocialPostWritten>;
@@ -71,6 +97,13 @@ export interface PostStore {
71
97
  list?(opts?: {
72
98
  sinceDays?: number;
73
99
  }): Promise<ExistingPost[]>;
100
+ /**
101
+ * Her verdict on posts that went out, by the ids `list` gives back. Moved
102
+ * here from the day plan (8 Nov 2026): the plan is gone, the posts are the
103
+ * record, so the judgement sits beside his Landed mark on the post itself.
104
+ * Returns how many were recorded. Optional — a host without it says so.
105
+ */
106
+ review?(ids: string[], verdict: string): Promise<number>;
74
107
  }
75
108
  /**
76
109
  * A finished short-form video post — as the PARTS a person assembles: the
@@ -146,6 +179,13 @@ export interface VideoPostInput {
146
179
  * report back that she had.
147
180
  */
148
181
  recipe?: string;
182
+ /** What the video is about — the same field text posts file (8 Nov 2026:
183
+ * it was required by the tool and then dropped before the store). */
184
+ subject?: string;
185
+ /** Every-day item this video is, when it is one. See SocialPostInput. */
186
+ daily?: string;
187
+ /** The feature it promotes, when it promotes one. See SocialPostInput. */
188
+ feature?: string;
149
189
  }
150
190
  /** What the surface reports back — the finished parts, not a job to poll. */
151
191
  export interface VideoPostWritten {
@@ -354,6 +394,10 @@ export interface PostBrief {
354
394
  mustLand: string;
355
395
  /** Her reasoning for the brief as a whole — what she weighed and rejected. */
356
396
  reasoning: string;
397
+ /** The every-day item this post is, when it is one ("discord"). */
398
+ daily?: string;
399
+ /** The feature this post promotes, when it promotes one. */
400
+ feature?: string;
357
401
  }
358
402
  /** Surface-injected sink for a proposed brief → `brief` SSE, rendered as a card. */
359
403
  export interface BriefStore {
@@ -382,6 +426,15 @@ export declare const REDDIT_TITLE_LIMIT = 300;
382
426
  export declare const UNTAGGED_PLATFORMS: ReadonlySet<string>;
383
427
  /** The tags in a post: the declared array, or any #tags written in the text. */
384
428
  export declare function tagsIn(declared: string[], text: string): string[];
429
+ /** "local-first" → "LocalFirst": the way to write a multi-word tag. */
430
+ export declare function camelTag(raw: string): string;
431
+ /**
432
+ * Tags that break or mislead once posted (10 Nov 2026). Platforms end a tag
433
+ * at the first character that is not a letter, number or underscore, so
434
+ * "#local-first" goes out as "#local" — it was on real posts. One line per
435
+ * problem; empty when the tags are fine.
436
+ */
437
+ export declare function tagProblems(tags: string[], content: string): string[];
385
438
  export declare const PLATFORM_TAG_POLICY: Readonly<Record<string, string>>;
386
439
  /** A single web-search hit. */
387
440
  export interface WebSearchResult {
@@ -545,4 +598,8 @@ export interface DailyItem {
545
598
  export interface BeatStore {
546
599
  suggest(beats: Beat[]): Promise<void>;
547
600
  }
601
+ export declare const DAILY_PARAM_DESCRIPTION: string;
602
+ export declare const FEATURE_PARAM_DESCRIPTION: string;
603
+ /** A marker as recorded: trimmed, non-empty, short — or nothing. */
604
+ export declare function postMarker(v: unknown, max?: number): string | undefined;
548
605
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/social/index.ts"],"names":[],"mappings":"AAYA,YAAY,EAAE,WAAW,IAAI,UAAU,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7F,oEAAoE;AACpE,MAAM,WAAW,eAAe;IAC9B,oFAAoF;IACpF,QAAQ,EAAE,MAAM,CAAC;IACjB,0DAA0D;IAC1D,OAAO,EAAE,MAAM,CAAC;IAChB,oCAAoC;IACpC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,wEAAwE;IACxE,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,iFAAiF;IACjF,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,oEAAoE;IACpE,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,sDAAsD;AACtD,MAAM,WAAW,iBAAiB;IAChC,yCAAyC;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,kFAAkF;IAClF,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED;;;;GAIG;AACH,2DAA2D;AAC3D,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oDAAoD;IACpD,OAAO,CAAC,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,CAAC;IAEf;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;;;;;;;;;;;;;;OAiBG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;;;;;;;;;;;OAaG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAEhB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,MAAM,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,cAAc,CAAC;AAE5D;;;;;;;GAOG;AACH,MAAM,WAAW,WAAW;IAC1B,wBAAwB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,oEAAoE;IACpE,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;CACrB;AAED,8CAA8C;AAC9C,MAAM,WAAW,SAAS;IACxB,8CAA8C;IAC9C,EAAE,EAAE,MAAM,CAAC;IACX,2DAA2D;IAC3D,KAAK,EAAE,MAAM,CAAC;IACd,2CAA2C;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACxB,OAAO,CAAC,KAAK,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACvC;AAQD,eAAO,MAAM,uBAAuB,QAGkB,CAAC;AAEvD,eAAO,MAAM,yBAAyB,QAIhB,CAAC;AAEvB,oEAAoE;AACpE,wBAAgB,UAAU,CAAC,CAAC,EAAE,OAAO,EAAE,GAAG,SAAK,GAAG,MAAM,GAAG,SAAS,CAInE"}
@@ -122,17 +122,66 @@ export function tagsIn(declared, text) {
122
122
  return declared;
123
123
  return [...new Set((text.match(/(?:^|\s)#([\p{L}\p{N}_]{2,40})/gu) || []).map(m => m.trim().slice(1)))];
124
124
  }
125
+ /** "local-first" → "LocalFirst": the way to write a multi-word tag. */
126
+ export function camelTag(raw) {
127
+ return raw.replace(/^#/, '').split(/[^\p{L}\p{N}]+/u).filter(Boolean)
128
+ .map(w => w[0].toUpperCase() + w.slice(1)).join('');
129
+ }
130
+ /**
131
+ * Tags that break or mislead once posted (10 Nov 2026). Platforms end a tag
132
+ * at the first character that is not a letter, number or underscore, so
133
+ * "#local-first" goes out as "#local" — it was on real posts. One line per
134
+ * problem; empty when the tags are fine.
135
+ */
136
+ export function tagProblems(tags, content) {
137
+ const problems = [];
138
+ for (const m of content.matchAll(/#([\p{L}\p{N}_]+)[-.'’]([\p{L}\p{N}][\p{L}\p{N}_-]*)/gu)) {
139
+ problems.push(`"#${m[1]}-${m[2]}" in the text posts as "#${m[1]}". Write #${camelTag(`${m[1]} ${m[2]}`)}.`);
140
+ }
141
+ const seen = new Set();
142
+ for (const t of tags) {
143
+ if (/[^\p{L}\p{N}_]/u.test(t))
144
+ problems.push(`"${t}" is not a working tag: letters, numbers and _ only. Write #${camelTag(t)}.`);
145
+ const k = t.toLowerCase();
146
+ if (seen.has(k))
147
+ problems.push(`"${t}" is in the tags twice.`);
148
+ seen.add(k);
149
+ if (/^(help|bugreports|bug_reports|general|announcements)$/i.test(t)) {
150
+ problems.push(`"#${t}" is a Discord channel name, not a tag people follow. Name the channel in words instead.`);
151
+ }
152
+ }
153
+ return problems;
154
+ }
125
155
  export const PLATFORM_TAG_POLICY = {
126
- tweet: 'X: 1-2 hashtags — ALWAYS at least one (the operator\'s rule, 1 Nov 2026: posts always carry tags), never more than two. This said ~6 for a long time and that was wrong — three or more is widely reported to trip spam filtering, with one analysis putting the penalty near 40%, so six tags was working against every post that carried them. Genre or theme over dev-tag stacks. NO bare URL in the post itself: outbound links cost reach here (estimates run from a third to most of it, and sources disagree on whether the penalty was ever lifted). Put the post up clean and reply to yourself with the link — the original is what gets ranked, so the reach survives and the link still gets read. Replies are the strongest engagement signal on this platform, so a post that invites a specific answer beats one that announces.',
127
- thread: 'X thread: 1-2 hashtags (always at least one — his rule, 1 Nov 2026), on the final post only — same spam-filter reasoning as a single tweet, and this said 3-4 before. The link goes in the LAST post of the thread rather than the first, so the opening post, which is the one ranked and the one most people see, carries no outbound link.',
156
+ tweet: 'X: 1-2 hashtags — ALWAYS at least one (the operator\'s rule, 1 Nov 2026: posts always carry tags), never more than two. This said ~6 for a long time and that was wrong — three or more is widely reported to trip spam filtering, with one analysis putting the penalty near 40%, so six tags was working against every post that carried them. Genre or theme over dev-tag stacks. NO link in the post: say "link in bio" (his rule, 10 Nov 2026 — the character limit is tight and our bio carries the links). Replies are the strongest engagement signal on this platform, so a post that invites a specific answer beats one that announces.',
157
+ thread: 'X thread: 1-2 hashtags (always at least one — his rule, 1 Nov 2026), on the final post only — same spam-filter reasoning as a single tweet, and this said 3-4 before. No link in the thread: "link in bio" on the last post (his rule, 10 Nov 2026).',
128
158
  tiktok: 'TikTok: 1-2 hashtags — one niche, one broad. Tags are heavily down-weighted now and a stack of five reads as low-effort to the classifier, so more tags is actively worse. Watch time in the opening seconds decides reach; caption KEYWORDS do more for discovery than tags, so write the caption to be searched. Genre/theme over dev tags. No URL. Avoid #fyp #foryou #foryoupage.',
129
159
  youtube: 'YouTube Shorts: 3-5 hashtags, and no more — returns fall away sharply after the fifth. There IS a cliff where exceeding the limit makes YouTube ignore EVERY hashtag rather than trimming the extras, but the published figure has been stated as both 15 and 60 at different times, so stay far under it rather than trusting a number. Hashtags go in the DESCRIPTION, never the title — the title is the discovery surface and tags eat it. Do not bother with #Shorts at all: YouTube identifies a Short from its shape and length, so it buys nothing and costs the front of whatever it is put in. On Shorts the description is COLLAPSED by default on mobile, so the TITLE carries the discovery weight — put the search term in the title rather than burying it below. And keep tags in proportion: on YouTube they categorise and feed search, they do not drive distribution. The title, the first second and completion rate decide reach, so the effort belongs in the hook. No URL surfaced in the Shorts feed.',
130
- linkedin: 'LinkedIn: NO external link in the post. The reason is reach — most 2026 analyses put the penalty for an outbound link at roughly half, and the link-in-first-comment workaround is reportedly penalised now too. The URL lives in the profile, so the post does not need to carry it; the operator decided on 15 Oct 2026 that posts should reach the most people they can and let the profile do the linking. ALWAYS TAG: three to five specific hashtags chosen from research for THIS post\'s subject. The 15 Oct review said hashtags do nothing here (a long study, hashtag pages retired), but the operator\'s own LinkedIn posts with tags have been working, and his results outrank a vendor study (decided 31 Oct 2026). Specific beats broad; tags go at the end, never in the two lines above the fold. DWELL TIME is what ranks: how long someone stays on the post. So the two lines before the \'see more\' fold have to earn the expansion on their own, and the body has to be worth the stay — a complete thought with the working shown, not a teaser. Professional register, no hype. FORMAT IS A LEVER HERE, and text is the weakest one. A DOCUMENT post (a carousel: a PDF people swipe) out-reaches plain text on every measure anyone has published — by how much is vendor-reported and ranges wildly, so treat the direction as real and the multiplier as noise. It wins for the same reason the fold does: swiping takes time, and time on the post is what ranks. So when the idea has STEPS, a before-and-after, or a list worth pausing on, offer it as a carousel instead of a wall of text and say why; when it is a single thought, a text post is still right. LinkedIn caps a document at 100MB and 300 pages but publishes no page size, so 1080x1350 portrait is a convention rather than a rule — every page the same size, and keep anything that matters away from the edges, because the title pill, the arrow and the full-screen button sit on top of the first page. Few slides that each earn their swipe; too many slides is the usual way one fails. The cover carries the plain searchable claim, not a teaser, and the last slide makes the ask.',
131
- bluesky: 'Bluesky: 1-2 hashtags, and here they actually DO something, unlike everywhere else. There is no platform-wide recommendation engine for a tag to feed — instead, custom FEEDS built by other people read the public stream and pull in posts matching their rules. A tag is a routing key into those feeds, so a precise, topic-specific one (the language, the protocol, the niche) lands somewhere a broad one never will. Landing in two or three active niche feeds is the whole discovery game on this platform. Write the post to stand ALONE: people meet it in a feed with none of your earlier posts around it, so it has to make sense cold. Technical, open-source, federated crowd with low tolerance for tag stacks. 300 char cap.',
160
+ linkedin: 'LinkedIn: the link GOES IN THE POST (his rule, 10 Nov 2026 — there is room for it here; this replaces the 15 Oct no-link rule). Put it near the end, after the point has landed, never in the two lines above the fold. ALWAYS TAG: three to five specific hashtags chosen from research for THIS post\'s subject. The 15 Oct review said hashtags do nothing here (a long study, hashtag pages retired), but the operator\'s own LinkedIn posts with tags have been working, and his results outrank a vendor study (decided 31 Oct 2026). Specific beats broad; tags go at the end, never in the two lines above the fold. DWELL TIME is what ranks: how long someone stays on the post. So the two lines before the \'see more\' fold have to earn the expansion on their own, and the body has to be worth the stay — a complete thought with the working shown, not a teaser. Professional register, no hype. FORMAT IS A LEVER HERE, and text is the weakest one. A DOCUMENT post (a carousel: a PDF people swipe) out-reaches plain text on every measure anyone has published — by how much is vendor-reported and ranges wildly, so treat the direction as real and the multiplier as noise. It wins for the same reason the fold does: swiping takes time, and time on the post is what ranks. So when the idea has STEPS, a before-and-after, or a list worth pausing on, offer it as a carousel instead of a wall of text and say why; when it is a single thought, a text post is still right. LinkedIn caps a document at 100MB and 300 pages but publishes no page size, so 1080x1350 portrait is a convention rather than a rule — every page the same size, and keep anything that matters away from the edges, because the title pill, the arrow and the full-screen button sit on top of the first page. Few slides that each earn their swipe; too many slides is the usual way one fails. The cover carries the plain searchable claim, not a teaser, and the last slide makes the ask.',
161
+ bluesky: 'Bluesky: 1-2 hashtags, and here they actually DO something, unlike everywhere else. There is no platform-wide recommendation engine for a tag to feed — instead, custom FEEDS built by other people read the public stream and pull in posts matching their rules. A tag is a routing key into those feeds, so a precise, topic-specific one (the language, the protocol, the niche) lands somewhere a broad one never will. Landing in two or three active niche feeds is the whole discovery game on this platform. Write the post to stand ALONE: people meet it in a feed with none of your earlier posts around it, so it has to make sense cold. Technical, open-source, federated crowd with low tolerance for tag stacks. 300 char cap. NO link in the post: say "link in bio" (his rule, 10 Nov 2026).',
132
162
  facebook: 'Facebook Page: 1-2 hashtags — always at least one (his rule, 1 Nov 2026), never a stack: tag stacks read as spam. Mixed crowd — some builders, but mostly people who just want the thing to work, so plain language over jargon and lead with what it does for them. Long-form is fine here; a story lands better than a headline. Link at the end is fine. On a REEL here the tags barely register at all — watch time decides it, and Facebook is the most sound-off audience of the lot, so the piece has to make sense read rather than heard. Write the caption to carry the point on its own, and the on-screen words to carry it without the voice. Meta also weighs ORIGINALITY, and treats reposted material with captions or borders slapped on as unoriginal — which is not a risk for a piece built from your own stills and your own read, but it is why recycled clips go nowhere.',
133
163
  instagram: 'Instagram: 3-5 hashtags, and 5 is a HARD CAP — Instagram began limiting posts and Reels to five in December 2025 and rejects anything beyond it, so a list of ten is not ambition, it is a broken post. Niche over generic. They categorise and feed search; Mosseri has said outright they do not increase reach, so they are not the lever. The CAPTION is: Instagram indexes the words in it, and on a Reel it indexes the spoken words and the on-screen text too. Put the term someone would actually search in the first sentence or two, in plain language — and because the voiceover and the stills are indexed as well, say it out loud in the opening line rather than only writing it. Tags in the caption, not the comments.',
134
- eurosky: 'Eurosky: same AT-protocol mechanics as Bluesky — 1-2 precise hashtags, which act as routing keys into other people\'s custom feeds rather than into any central recommender, so specific beats broad. Post must stand alone, since it is met cold in a feed. European and privacy-minded crowd. 300 char cap.',
164
+ eurosky: 'Eurosky: same AT-protocol mechanics as Bluesky — 1-2 precise hashtags, which act as routing keys into other people\'s custom feeds rather than into any central recommender, so specific beats broad. Post must stand alone, since it is met cold in a feed. European and privacy-minded crowd. 300 char cap. NO link in the post: say "link in bio" (his rule, 10 Nov 2026).',
135
165
  reddit: 'Reddit: NO hashtags — they do nothing here and they mark a post as imported from somewhere else, which this crowd reads as an advert before reading the words. FLAIR is the thing people miss: a lot of subreddits require it and auto-remove anything posted without it, so a missing flair is not a weaker post, it is a deleted one. Several subs also confine promotion to a designated weekly thread, rate-limit it to one mention every month or two, or ban it outright, and the rules differ per sub and are mod-enforced — so say in the notes that the sub rules and the flair need checking before posting, and never assume a link post is allowed. The TITLE does double duty. In the feed it is the whole pitch, max 300 characters, and plain and specific beats a hook because clickbait reads as an insult here. But Reddit threads also rank strongly in Google and gain authority as they age, so the title outlives the post — write it in the words someone would SEARCH, not the words an ad would use, and it can keep earning for months. Never ask for upvotes; vote manipulation is a sitewide rule and it gets accounts actioned. Write the body as a person with something to say, with the working shown, not as a launch announcement. THE ARGUMENT IS THE POST: when the post is a take on news or on another company, Ava and the product stay OUT of the body — no link, no "which is why we built", and the product is never the conclusion. The moment a post pays off in the product, readers decide the whole argument was a setup and spend the thread on "is this an ad?" instead of the topic (21 Oct 2026: an 800-upvote r/AIsafety post drew exactly that, because it turned to Ava halfway). End on the topic itself — what would settle the question, what should change. If our stake matters, ONE plain disclosure line at the very end ("Disclosure: I build a small open-source AI tool") is honest; anything more is a pitch. People who like the thinking find the profile. Product posts belong only in subs that want them (r/SideProject, r/vscode, r/LocalLLaMA and the like), and only within their rules.',
136
166
  blog: 'Blog: no hashtags — there is no feed to be matched into. This is the one surface we own, so it is the canonical home everything else points back at: the full version lives here and the social posts are the trailers. Write for search and for a reader who arrived cold. The TITLE and the first paragraph are the search surface, so put the plain claim and the words someone would actually type in both, early. Use real headings, because they are how people skim and how search engines read structure. Length is not the point; completeness is — a post that answers the question fully is the one that gets linked to.',
137
167
  };
168
+ // ─── The two markers a post carries (8 Nov 2026) ────────────────────────────
169
+ //
170
+ // Shared by write_post, write_video_post and propose_brief so the three say
171
+ // the same thing — a marker described differently in each place gets set in
172
+ // one and forgotten in the others.
173
+ export const DAILY_PARAM_DESCRIPTION = 'ONLY when this post IS one of his every-day posts: its id from his list ("discord", "star_repo"). '
174
+ + 'It is how anyone can tell later that today\'s Discord post went out — leave it off and the record '
175
+ + 'says it did not. Never set it on any other post.';
176
+ export const FEATURE_PARAM_DESCRIPTION = 'ONLY when this post promotes one of OUR features: the feature\'s plain name, worded the same way every '
177
+ + 'time ("Talk mode", "Design Studio 3D", "Local memory"). It counts toward the two to three feature posts '
178
+ + 'a day and stops the same feature being pushed twice running. Leave it off for news, conversation and '
179
+ + 'every-day posts.';
180
+ /** A marker as recorded: trimmed, non-empty, short — or nothing. */
181
+ export function postMarker(v, max = 60) {
182
+ if (typeof v !== 'string')
183
+ return undefined;
184
+ const t = v.trim().slice(0, max);
185
+ return t || undefined;
186
+ }
138
187
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/social/index.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,EAAE;AACF,+EAA+E;AAC/E,6EAA6E;AAC7E,8EAA8E;AAC9E,0EAA0E;AAC1E,0EAA0E;AAC1E,+EAA+E;AAC/E,0EAA0E;AAkQ1E;+EAC+E;AAC/E;;;;GAIG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAC9B,8XAA8X;MAC5X,uRAAuR;MACvR,4UAA4U;MAC5U,4aAA4a,CAAC;AAEjb,MAAM,CAAC,MAAM,oBAAoB,GAAqC;IACpE,MAAM,EAAE,IAAI;IACZ,SAAS,EAAE,IAAI;IACf,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,KAAK;CAChB,CAAC;AAEF;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAqC;IACpE,yCAAyC;IACzC,QAAQ,EAAE,WAAW;IACrB,gBAAgB,EAAE,WAAW;IAC7B,iBAAiB,EAAE,WAAW;IAC9B,eAAe,EAAE,WAAW;IAC5B,eAAe,EAAE,WAAW;IAC5B,4EAA4E;IAC5E,gCAAgC;IAChC,WAAW,EAAE,WAAW;IACxB,gBAAgB,EAAE,WAAW;IAC7B,gCAAgC;IAChC,OAAO,EAAE,UAAU;IACnB,GAAG,EAAE,UAAU;IACf,SAAS,EAAE,UAAU;IACrB,UAAU,EAAE,UAAU;IACtB,UAAU,EAAE,UAAU;IACtB,eAAe,EAAE,UAAU;IAC3B,yDAAyD;IACzD,MAAM,EAAE,UAAU;IAClB,MAAM,EAAE,WAAW;CACpB,CAAC;AAEF;8EAC8E;AAC9E,MAAM,UAAU,YAAY,CAAC,QAAgB,EAAE,MAAe;IAC5D,MAAM,GAAG,GAAG,MAAM,CAAC,CAAC,CAAC,GAAG,QAAQ,IAAI,MAAM,EAAE,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC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AAoE;AACpE,MAAM,UAAU,UAAU,CAAC,CAAU,EAAE,GAAG,GAAG,EAAE;IAC7C,IAAI,OAAO,CAAC,KAAK,QAAQ;QAAE,OAAO,SAAS,CAAC;IAC5C,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IACjC,OAAO,CAAC,IAAI,SAAS,CAAC;AACxB,CAAC"}
@@ -38,6 +38,13 @@ export interface MeasuredTag {
38
38
  export declare function blueskyTagsFor(subject: string, get?: TagFetch): Promise<string[]>;
39
39
  /** Posts per day carrying this tag on Bluesky, or null if it could not be measured. */
40
40
  export declare function blueskyTagVolume(tag: string, get?: TagFetch, now?: number): Promise<number | null>;
41
+ /**
42
+ * Uses a day on Mastodon (mastodon.social's view of the fediverse), averaged
43
+ * over the last week from its public tag history. Free, no key. A second
44
+ * open signal beside Bluesky, strongest for developer, open-source and
45
+ * Blender crowds (10 Nov 2026). Null when it could not be read.
46
+ */
47
+ export declare function mastodonTagVolume(tag: string, get?: (url: string) => Promise<unknown>): Promise<number | null>;
41
48
  export declare function bandFor(perDay: number): MeasuredTag['band'];
42
49
  /** Measure a set of candidate tags, busiest first. Unmeasurable tags are left out. */
43
50
  export declare function measureTags(tags: string[], get?: TagFetch): Promise<MeasuredTag[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"tag-volume.d.ts","sourceRoot":"","sources":["../../src/social/tag-volume.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAKH,MAAM,MAAM,QAAQ,GAAG,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;IAAE,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAA;CAAE,CAAC,CAAC;AAExE,UAAU,QAAQ;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE;YAAE,QAAQ,C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,EAAE,MAAM,CAAC;gBAAC,GAAG,CAAC,EAAE,MAAM,CAAA;aAAE,EAAE,CAAA;SAAE,EAAE,CAAA;KAAE,CAAC;CAC1F;AAED,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,iEAAiE;IACjE,MAAM,EAAE,MAAM,CAAC;IACf,sEAAsE;IACtE,IAAI,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;CACnC;AAuBD,qFAAqF;AACrF,wBAAsB,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,GAAE,QAAuB,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAMrG;AAED,uFAAuF;AACvF,wBAAsB,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,GAAE,QAAuB,EAAE,GAAG,SAAa,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAS1H;AAED;;;;;GAKG;AACH,wBAAsB,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,GAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAe,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAQjI;AAaD,wBAAgB,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAE3D;AAED,sFAAsF;AACtF,wBAAsB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,GAAG,GAAE,QAAuB,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,CAOtG"}
@@ -59,6 +59,33 @@ export async function blueskyTagVolume(tag, get = defaultFetch, now = Date.now()
59
59
  const days = Math.max((now - Math.min(...times)) / 86_400_000, 1 / 24);
60
60
  return Math.round((times.length / days) * 10) / 10;
61
61
  }
62
+ /**
63
+ * Uses a day on Mastodon (mastodon.social's view of the fediverse), averaged
64
+ * over the last week from its public tag history. Free, no key. A second
65
+ * open signal beside Bluesky, strongest for developer, open-source and
66
+ * Blender crowds (10 Nov 2026). Null when it could not be read.
67
+ */
68
+ export async function mastodonTagVolume(tag, get = defaultJson) {
69
+ const bare = tag.replace(/^#/, '');
70
+ const res = await get(`https://mastodon.social/api/v1/tags/${encodeURIComponent(bare)}`).catch(() => null);
71
+ if (!res)
72
+ return null;
73
+ const days = (res.history ?? []).slice(0, 7);
74
+ if (!days.length)
75
+ return 0;
76
+ return Math.round((days.reduce((n, d) => n + Number(d.uses ?? 0), 0) / days.length) * 10) / 10;
77
+ }
78
+ const defaultJson = async (url) => {
79
+ const ctrl = new AbortController();
80
+ const t = setTimeout(() => ctrl.abort(), TIMEOUT_MS);
81
+ try {
82
+ const res = await fetch(url, { signal: ctrl.signal, headers: { 'User-Agent': 'ava-supernova-research' } });
83
+ return res.ok ? await res.json() : null;
84
+ }
85
+ finally {
86
+ clearTimeout(t);
87
+ }
88
+ };
62
89
  export function bandFor(perDay) {
63
90
  return perDay >= 50 ? 'reach' : perDay >= 1 ? 'niche' : 'quiet';
64
91
  }
@@ -1 +1 @@
1
- {"version":3,"file":"tag-volume.js","sourceRoot":"","sources":["../../src/social/tag-volume.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,MAAM,MAAM,GAAG,qDAAqD,CAAC;AACrE,MAAM,UAAU,GAAG,IAAI,CAAC;AAiBxB,MAAM,YAAY,GAAa,KAAK,EAAE,GAAG,EAAE,EAAE;IAC3C,MAAM,IAAI,GAAG,IAAI,eAAe,EAAE,CAAC;IACnC,MAAM,CAAC,GAAG,UAAU,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,UAAU,CAAC,CAAC;IACrD,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,GAAG,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,EAAE,YAAY,EAAE,wBAAwB,EAAE,EAAE,CAAC,CAAC;QAC3G,IAAI,CAAC,GAAG,CAAC,EA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AG,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IACnH,OAAO,QAAQ;SACZ,MAAM,CAAC,CAAC,CAAC,EAAwC,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,IAAI,CAAC;SACtE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;SAC/C,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC;AACzC,CAAC"}
@@ -0,0 +1,62 @@
1
+ /**
2
+ * Design Studio 3D — Ava builds game assets in Blender with no window.
3
+ *
4
+ * design_build_model runs her Python inside Blender (`blender -b`), in the
5
+ * model's own folder under ~/.ava/creative/blender/<model>/, then saves the
6
+ * .blend, exports a .glb (always — the Library viewer reads it) and an .fbx
7
+ * when asked, renders a preview, and hands that preview back as an image so
8
+ * she SEES what she built before she says anything about it.
9
+ *
10
+ * How a model grows (his call, 3 Nov 2026): the first run starts from an empty
11
+ * scene; every later run OPENS the saved .blend — including anything he changed
12
+ * by hand in Blender — and works on top of it. A new canvas only after he says
13
+ * yes. Every run keeps the previous five versions in versions/. A run that
14
+ * fails saves nothing, so the model is exactly as it was.
15
+ *
16
+ * Safety (his call, 3 Nov 2026): a guard, not per-run approval. Two layers —
17
+ * this file refuses the obvious escape hatches in the script text, and the
18
+ * runner installs a Python audit hook inside Blender that refuses starting
19
+ * programs, network access, native code and any write outside the model
20
+ * folder. It is a guard, not a sandbox: Blender's own C code is not visible to
21
+ * the hook, which is why absolute paths are refused in the script itself.
22
+ *
23
+ * Runs here, in core, on purpose: the extension host and the IDE sidecar both
24
+ * run core in Node, so both surfaces get the same tool with no host wiring.
25
+ */
26
+ import type { Tool, ToolResult, ToolExecutionContext, ToolRiskLevel } from '../types.js';
27
+ import type { FunctionSchema } from '../../providers/types.js';
28
+ export { modelsDir, modelSlug } from './paths.js';
29
+ export declare function checkBlenderScript(script: string): string | null;
30
+ export declare class DesignBuildModelTool implements Tool {
31
+ readonly name = "design_build_model";
32
+ readonly description = "Build or change a 3D model in Blender with no window: run your Blender Python on the model, save it, export it and see a preview. Free \u2014 Blender runs on their own computer.";
33
+ readonly riskLevel: ToolRiskLevel;
34
+ readonly requiresConfirmation = false;
35
+ readonly schema: FunctionSchema;
36
+ /**
37
+ * Every real run shows in the sidebar's Studio rail, like an image or a clip
38
+ * being made (his ask, 4 Nov 2026). Registered only once Blender is about to
39
+ * start, so a refusal (no brief, a blocked script) never appears as a job.
40
+ */
41
+ execute(args: Record<string, unknown>, context: ToolExecutionContext): Promise<ToolResult>;
42
+ private step;
43
+ }
44
+ export declare class DesignDuplicateModelTool implements Tool {
45
+ readonly name = "design_duplicate_model";
46
+ readonly description = "Copy a 3D model to a new name, so an idea can be tried on the copy while the original stays untouched.";
47
+ readonly riskLevel: ToolRiskLevel;
48
+ readonly requiresConfirmation = false;
49
+ readonly schema: FunctionSchema;
50
+ execute(args: Record<string, unknown>, context?: ToolExecutionContext): Promise<ToolResult>;
51
+ }
52
+ export declare class DesignRestoreModelTool implements Tool {
53
+ readonly name = "design_restore_model";
54
+ readonly description = "Put a 3D model back as it was at an earlier step, when they ask.";
55
+ readonly riskLevel: ToolRiskLevel;
56
+ readonly requiresConfirmation = false;
57
+ readonly schema: FunctionSchema;
58
+ execute(args: Record<string, unknown>, context?: ToolExecutionContext): Promise<ToolResult>;
59
+ }
60
+ /** A going-back changes the files without a build: move the entry's time so every view refreshes. */
61
+ export declare function touchLibraryEntry(slug: string): Promise<void>;
62
+ //# sourceMappingURL=build-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"build-model.d.ts","sourceRoot":"","sources":["../../../src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