@cliangdev/conductor 0.41.0 → 0.41.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.
@@ -1,8 +1,7 @@
1
- /* assertions.js — the in-page checks that refuse a wrong render, ported from
2
- * nexus-marketing/social/export-png.mjs and made brand-agnostic: the accent
1
+ /* assertions.js — the in-page checks that refuse a wrong render. The accent
3
2
  * check reads brand.tokens.accent (via the board's own resolved --cc-accent
4
- * custom property) instead of a hardcoded Rexipe coral, and the font check
5
- * reads brand.fontFamily instead of a hardcoded "DM Sans". A brand kit with
3
+ * custom property), and the font check reads brand.fontFamily; neither
4
+ * hardcodes a brand value. A brand kit with
6
5
  * neither set still gets a meaningful check — the board's actually-applied
7
6
  * value is what is verified, not a specific brand's value.
8
7
  *
@@ -79,8 +78,7 @@ export function spillDetect(boardRect, nodes) {
79
78
  * platform's own UI — Instagram's story CTA, TikTok's caption — sits).
80
79
  * Mirrors render.js's own `fits()` bottom check exactly, so fitting and this
81
80
  * safety net can never disagree. Only the bottom zone is enforced: the top
82
- * reserve varies far more per platform and is documented, not asserted, the
83
- * same call nexus-marketing's export-png.mjs made. */
81
+ * reserve varies far more per platform and is documented, not asserted. */
84
82
  export function safeZoneIntrusion(boardRect, nodes, safe) {
85
83
  const issues = [];
86
84
  const bottom = (safe && safe.bottom) || 0;
@@ -57,8 +57,8 @@
57
57
  .cc-lockup__mark { display: block; height: var(--cc-mark-height); }
58
58
  .cc-lockup--spacer { visibility: hidden; }
59
59
 
60
- /* Chip variant: a white pill behind the lockup, for busy photography (ported
61
- from nexus's schema.json `lockup: "chip"` / render.js). `--cc-l-card` and
60
+ /* Chip variant: a white pill behind the lockup, for busy photography (`lockup: "chip"`).
61
+ `--cc-l-card` and
62
62
  `--cc-elev-overlay` are tokens.css's neutral light-ground surface and
63
63
  shadow — brand-agnostic, so a white pill works over any brand's photo. */
64
64
  .cc-lockup--chip {
@@ -6,8 +6,7 @@
6
6
  * are both blocked under file://, which is why this exists rather than just
7
7
  * pointing Playwright at the files directly.
8
8
  *
9
- * Adapted from nexus-marketing/social/server.mjs; the only change is that
10
- * the static root is a parameter (this package's root) rather than assumed
9
+ * The static root is a parameter (this package's root) rather than assumed
11
10
  * to be the module's own directory, since this job lives one level down, in
12
11
  * job/.
13
12
  */
@@ -39,7 +39,7 @@
39
39
  rgba(0,0,0,0.62) 70%, rgba(0,0,0,0.30) 86%, rgba(0,0,0,0.50) 100%);
40
40
  }
41
41
  /* The chip's own padding already reads as a visual left inset over a full-bleed photo; nudge it back
42
- flush with the panel's other content (ported from nexus's bleed layout.css). */
42
+ flush with the panel's other content */
43
43
  .cc-board__panel--fill .cc-lockup--chip { margin-left: -40px; }
44
44
 
45
45
  /* Sequence frames (stories and carousels): anchored bottom so the eye does
@@ -217,7 +217,7 @@ function el(tag, className, parent) {
217
217
  * fall back to, and a placeholder logo would be worse than none.
218
218
  *
219
219
  * `lockup: 'chip'` puts the lockup on a white pill (frame.css's `.cc-lockup--chip`),
220
- * for busy photography — ported from nexus's schema.json/render.js. A chip
220
+ * for busy photography. A chip
221
221
  * sits on light ground regardless of the artboard's own theme, so it needs
222
222
  * the dark-ink wordmark just like a light theme does. */
223
223
  function buildLockup(brand, theme, lockup, parent, reserveSpace = false) {
@@ -104,8 +104,8 @@
104
104
  .cc-lockup__mark { display: block; height: var(--cc-mark-height); }
105
105
  .cc-lockup--spacer { visibility: hidden; }
106
106
 
107
- /* Chip variant: a white pill behind the lockup, for busy photography (ported
108
- from nexus's schema.json `lockup: "chip"` / render.js). `--cc-l-card` and
107
+ /* Chip variant: a white pill behind the lockup, for busy photography (`lockup: "chip"`).
108
+ `--cc-l-card` and
109
109
  `--cc-elev-overlay` are tokens.css's neutral light-ground surface and
110
110
  shadow — brand-agnostic, so a white pill works over any brand's photo. */
111
111
  .cc-lockup--chip {
@@ -285,7 +285,7 @@
285
285
  rgba(0,0,0,0.62) 70%, rgba(0,0,0,0.30) 86%, rgba(0,0,0,0.50) 100%);
286
286
  }
287
287
  /* The chip's own padding already reads as a visual left inset over a full-bleed photo; nudge it back
288
- flush with the panel's other content (ported from nexus's bleed layout.css). */
288
+ flush with the panel's other content */
289
289
  .cc-board__panel--fill .cc-lockup--chip { margin-left: -40px; }
290
290
 
291
291
  /* Sequence frames (stories and carousels): anchored bottom so the eye does
@@ -3,8 +3,7 @@
3
3
  * of this package, not the browser-bundling `playwright`). `conductor-creative/job/render.mjs`'s own
4
4
  * CLI bootstrap depends on full `playwright` (it ships its own Chromium download) because it's meant
5
5
  * to run inside a container built for that purpose; the CLI/MCP server run on a user's own machine,
6
- * so they discover whatever Chromium-family browser is already there instead of bundling one — the
7
- * same shape nexus-marketing's `rexipe-social` MCP server used.
6
+ * so they discover whatever Chromium-family browser is already there instead of bundling one.
8
7
  *
9
8
  * `playwright-core` itself is lazy-imported (see `findBrowserFactory`) so requiring it doesn't add
10
9
  * to MCP server startup cost for sessions that never call a creative tool.
@@ -1 +1 @@
1
- {"version":3,"file":"creative-browser.d.ts","sourceRoot":"","sources":["../../src/lib/creative-browser.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,OAAO,EAAiB,MAAM,iBAAiB,CAAA;AAE7D,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,CAAC,OAAO,CAAC,CAAA;AAEnD,eAAO,MAAM,mBAAmB,QAI4C,CAAA;AAa5E;;;;;;;;GAQG;AACH,wBAAsB,kBAAkB,CAAC,GAAG,GAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAe,GAAG,OAAO,CAAC,cAAc,CAAC,CAe9G"}
1
+ {"version":3,"file":"creative-browser.d.ts","sourceRoot":"","sources":["../../src/lib/creative-browser.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,OAAO,EAAiB,MAAM,iBAAiB,CAAA;AAE7D,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,CAAC,OAAO,CAA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AAO,CAAC,KAAK,EAAE,CAAC,CAAA;gBAC7B,OAAO,OAAO,CAAA;YAChB,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,MAAM,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,KAAK,KAAK,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;YACtF,CAAC;QACH,CAAC;QACD,MAAM,IAAI,KAAK,CAAC,GAAG,mBAAmB,eAAe,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IAClG,CAAC,CAAA;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cliangdev/conductor",
3
- "version": "0.41.0",
3
+ "version": "0.41.1",
4
4
  "description": "Agentic software development platform — AI-driven PRD, implementation, and beyond",
5
5
  "license": "SEE LICENSE IN ../LICENSE",
6
6
  "repository": {