@burtson-labs/agent-core 1.6.78 → 1.6.79
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.
|
@@ -13,7 +13,7 @@ exports.HTML_ARTIFACT_GUIDANCE = [
|
|
|
13
13
|
'- Light AND dark theme: style BOTH. Default to the viewer’s system preference with @media (prefers-color-scheme: dark), drive every color from CSS variables, and add a small theme toggle that flips them. Never hard-code one background/text color that breaks in the other mode.',
|
|
14
14
|
'- Lucide icons, inlined as SVG: use Lucide-style icons inlined directly as <svg> (never a CDN or icon font). Lucide convention: viewBox="0 0 24 24", fill="none", stroke="currentColor", stroke-width="2", stroke-linecap="round", stroke-linejoin="round" — currentColor makes them follow the theme automatically. Size with width/height or CSS.',
|
|
15
15
|
'- Polished by default: clear visual hierarchy, generous whitespace, one coherent accent color, subtle borders/shadows, and a readable line length (~60-75ch) for prose.',
|
|
16
|
-
'
|
|
16
|
+
'These rules ARE Bandit’s house UX standard. When the user says "make it nice", "polish it", or "follow our UX guidelines", just APPLY them — do NOT ask what the guidelines are; you already have them. Reserve a brief ask_user only for something you genuinely cannot infer and that would materially change the result — a brand logo, specific brand colors, or particular imagery — and only when building something substantial from scratch. Even then, prefer to ship a strong default and offer to refine afterward. On a revision or a quick turn, do not ask — apply the guidelines and show the result.',
|
|
17
17
|
].join('\n');
|
|
18
18
|
exports.webArtifactSkill = {
|
|
19
19
|
id: 'web/artifact',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-artifact-skill.js","sourceRoot":"","sources":["../../../src/tools/skills/web-artifact-skill.ts"],"names":[],"mappings":";;;AAYA;;;;GAIG;AACU,QAAA,sBAAsB,GAAG;IACpC,mMAAmM;IACnM,8NAA8N;IAC9N,mTAAmT;IACnT,sRAAsR;IACtR,qVAAqV;IACrV,yKAAyK;IACzK,
|
|
1
|
+
{"version":3,"file":"web-artifact-skill.js","sourceRoot":"","sources":["../../../src/tools/skills/web-artifact-skill.ts"],"names":[],"mappings":";;;AAYA;;;;GAIG;AACU,QAAA,sBAAsB,GAAG;IACpC,mMAAmM;IACnM,8NAA8N;IAC9N,mTAAmT;IACnT,sRAAsR;IACtR,qVAAqV;IACrV,yKAAyK;IACzK,slBAAslB;CACvlB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAEA,QAAA,gBAAgB,GAAkB;IAC7C,EAAE,EAAE,cAAc;IAClB,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sFAAsF;IACnG,YAAY,EAAE,8BAAsB;IACpC,UAAU,EAAE,MAAM;IAClB,eAAe,EAAE;QACf,WAAW;QACX,eAAe;QACf,iBAAiB;QACjB,mBAAmB;QACnB,kBAAkB;QAClB,gBAAgB;QAChB,qBAAqB;QACrB,0BAA0B;QAC1B,oFAAoF;QACpF,wJAAwJ;QACxJ,mDAAmD;QACnD,yFAAyF;KAC1F;IACD,KAAK,EAAE,EAAE;CACV,CAAC"}
|