solfaces 2.1.0 → 2.1.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.
Files changed (56) hide show
  1. package/README.md +26 -5
  2. package/SKILL.md +13 -4
  3. package/dist/agent/index.cjs +14 -14
  4. package/dist/agent/index.js +4 -4
  5. package/dist/agent/mcp-server.cjs +20 -15
  6. package/dist/{chunk-SWML743U.js → chunk-3CE7Q44S.js} +6 -5
  7. package/dist/chunk-3CE7Q44S.js.map +1 -0
  8. package/dist/{chunk-F244Q4KC.cjs → chunk-4YFZ4W2Y.cjs} +16 -16
  9. package/dist/{chunk-F244Q4KC.cjs.map → chunk-4YFZ4W2Y.cjs.map} +1 -1
  10. package/dist/{chunk-MGP7F65H.js → chunk-5DT27HMT.js} +3 -3
  11. package/dist/{chunk-MGP7F65H.js.map → chunk-5DT27HMT.js.map} +1 -1
  12. package/dist/{chunk-77SPWQU5.js → chunk-66PSL4YO.js} +5 -5
  13. package/dist/{chunk-77SPWQU5.js.map → chunk-66PSL4YO.js.map} +1 -1
  14. package/dist/{chunk-CQWXUU7P.js → chunk-CKHLRORB.js} +3 -3
  15. package/dist/{chunk-CQWXUU7P.js.map → chunk-CKHLRORB.js.map} +1 -1
  16. package/dist/{chunk-HVPGR6G5.cjs → chunk-F54WHRCE.cjs} +6 -5
  17. package/dist/chunk-F54WHRCE.cjs.map +1 -0
  18. package/dist/{chunk-SX3FQDKM.js → chunk-N5DDJ3WQ.js} +18 -14
  19. package/dist/{chunk-SX3FQDKM.js.map → chunk-N5DDJ3WQ.js.map} +1 -1
  20. package/dist/{chunk-CXRVPOTI.cjs → chunk-TYTBYDQU.cjs} +7 -7
  21. package/dist/{chunk-CXRVPOTI.cjs.map → chunk-TYTBYDQU.cjs.map} +1 -1
  22. package/dist/{chunk-WTCXTXTV.cjs → chunk-WIXGHS77.cjs} +6 -6
  23. package/dist/{chunk-WTCXTXTV.cjs.map → chunk-WIXGHS77.cjs.map} +1 -1
  24. package/dist/{chunk-R3MC2AJZ.cjs → chunk-XXJJH56O.cjs} +18 -14
  25. package/dist/chunk-XXJJH56O.cjs.map +1 -0
  26. package/dist/core/index.cjs +31 -31
  27. package/dist/core/index.d.cts +2 -2
  28. package/dist/core/index.d.ts +2 -2
  29. package/dist/core/index.js +3 -3
  30. package/dist/index.cjs +42 -42
  31. package/dist/index.d.cts +2 -2
  32. package/dist/index.d.ts +2 -2
  33. package/dist/index.js +5 -5
  34. package/dist/names/index.cjs +9 -9
  35. package/dist/names/index.d.cts +15 -3
  36. package/dist/names/index.d.ts +15 -3
  37. package/dist/names/index.js +1 -1
  38. package/dist/react/index.cjs +21 -21
  39. package/dist/react/index.d.cts +1 -1
  40. package/dist/react/index.d.ts +1 -1
  41. package/dist/react/index.js +2 -2
  42. package/dist/solfaces.cdn.global.js +2 -2
  43. package/dist/solfaces.cdn.global.js.map +1 -1
  44. package/dist/themes/index.d.cts +1 -1
  45. package/dist/themes/index.d.ts +1 -1
  46. package/dist/{traits-QlWuxZDD.d.cts → traits-sfe7rM9C.d.cts} +1 -0
  47. package/dist/{traits-QlWuxZDD.d.ts → traits-sfe7rM9C.d.ts} +1 -0
  48. package/dist/vanilla/index.cjs +5 -5
  49. package/dist/vanilla/index.d.cts +1 -1
  50. package/dist/vanilla/index.d.ts +1 -1
  51. package/dist/vanilla/index.js +2 -2
  52. package/package.json +1 -1
  53. package/reference/integrations.md +45 -0
  54. package/dist/chunk-HVPGR6G5.cjs.map +0 -1
  55. package/dist/chunk-R3MC2AJZ.cjs.map +0 -1
  56. package/dist/chunk-SWML743U.js.map +0 -1
package/dist/index.cjs CHANGED
@@ -1,133 +1,133 @@
1
1
  'use strict';
2
2
 
3
- var chunkWTCXTXTV_cjs = require('./chunk-WTCXTXTV.cjs');
4
- var chunkF244Q4KC_cjs = require('./chunk-F244Q4KC.cjs');
5
- var chunkCXRVPOTI_cjs = require('./chunk-CXRVPOTI.cjs');
6
- var chunkHVPGR6G5_cjs = require('./chunk-HVPGR6G5.cjs');
3
+ var chunkWIXGHS77_cjs = require('./chunk-WIXGHS77.cjs');
4
+ var chunk4YFZ4W2Y_cjs = require('./chunk-4YFZ4W2Y.cjs');
5
+ var chunkTYTBYDQU_cjs = require('./chunk-TYTBYDQU.cjs');
6
+ var chunkF54WHRCE_cjs = require('./chunk-F54WHRCE.cjs');
7
7
  var chunk6QRDULAO_cjs = require('./chunk-6QRDULAO.cjs');
8
- var chunkR3MC2AJZ_cjs = require('./chunk-R3MC2AJZ.cjs');
8
+ var chunkXXJJH56O_cjs = require('./chunk-XXJJH56O.cjs');
9
9
 
10
10
 
11
11
 
12
12
  Object.defineProperty(exports, "renderSolFacePNG", {
13
13
  enumerable: true,
14
- get: function () { return chunkWTCXTXTV_cjs.renderSolFacePNG; }
14
+ get: function () { return chunkWIXGHS77_cjs.renderSolFacePNG; }
15
15
  });
16
16
  Object.defineProperty(exports, "renderSolFacePNGBrowser", {
17
17
  enumerable: true,
18
- get: function () { return chunkWTCXTXTV_cjs.renderSolFacePNGBrowser; }
18
+ get: function () { return chunkWIXGHS77_cjs.renderSolFacePNGBrowser; }
19
19
  });
20
20
  Object.defineProperty(exports, "renderSolFacePNGDataURL", {
21
21
  enumerable: true,
22
- get: function () { return chunkWTCXTXTV_cjs.renderSolFacePNGDataURL; }
22
+ get: function () { return chunkWIXGHS77_cjs.renderSolFacePNGDataURL; }
23
23
  });
24
24
  Object.defineProperty(exports, "SOLFACE_TOOLS", {
25
25
  enumerable: true,
26
- get: function () { return chunkF244Q4KC_cjs.SOLFACE_TOOLS; }
26
+ get: function () { return chunk4YFZ4W2Y_cjs.SOLFACE_TOOLS; }
27
27
  });
28
28
  Object.defineProperty(exports, "handleToolCall", {
29
29
  enumerable: true,
30
- get: function () { return chunkF244Q4KC_cjs.handleToolCall; }
30
+ get: function () { return chunk4YFZ4W2Y_cjs.handleToolCall; }
31
31
  });
32
32
  Object.defineProperty(exports, "agentAppearancePrompt", {
33
33
  enumerable: true,
34
- get: function () { return chunkCXRVPOTI_cjs.agentAppearancePrompt; }
34
+ get: function () { return chunkTYTBYDQU_cjs.agentAppearancePrompt; }
35
35
  });
36
36
  Object.defineProperty(exports, "describeAppearance", {
37
37
  enumerable: true,
38
- get: function () { return chunkCXRVPOTI_cjs.describeAppearance; }
38
+ get: function () { return chunkTYTBYDQU_cjs.describeAppearance; }
39
39
  });
40
40
  Object.defineProperty(exports, "describeTraits", {
41
41
  enumerable: true,
42
- get: function () { return chunkCXRVPOTI_cjs.describeTraits; }
42
+ get: function () { return chunkTYTBYDQU_cjs.describeTraits; }
43
43
  });
44
44
  Object.defineProperty(exports, "solFaceAltText", {
45
45
  enumerable: true,
46
- get: function () { return chunkCXRVPOTI_cjs.solFaceAltText; }
46
+ get: function () { return chunkTYTBYDQU_cjs.solFaceAltText; }
47
47
  });
48
48
  Object.defineProperty(exports, "BG_COLORS", {
49
49
  enumerable: true,
50
- get: function () { return chunkHVPGR6G5_cjs.BG_COLORS; }
50
+ get: function () { return chunkF54WHRCE_cjs.BG_COLORS; }
51
51
  });
52
52
  Object.defineProperty(exports, "EYE_COLORS", {
53
53
  enumerable: true,
54
- get: function () { return chunkHVPGR6G5_cjs.EYE_COLORS; }
54
+ get: function () { return chunkF54WHRCE_cjs.EYE_COLORS; }
55
55
  });
56
56
  Object.defineProperty(exports, "HAIR_COLORS", {
57
57
  enumerable: true,
58
- get: function () { return chunkHVPGR6G5_cjs.HAIR_COLORS; }
58
+ get: function () { return chunkF54WHRCE_cjs.HAIR_COLORS; }
59
59
  });
60
60
  Object.defineProperty(exports, "SKIN_COLORS", {
61
61
  enumerable: true,
62
- get: function () { return chunkHVPGR6G5_cjs.SKIN_COLORS; }
62
+ get: function () { return chunkF54WHRCE_cjs.SKIN_COLORS; }
63
63
  });
64
64
  Object.defineProperty(exports, "blend", {
65
65
  enumerable: true,
66
- get: function () { return chunkHVPGR6G5_cjs.blend; }
66
+ get: function () { return chunkF54WHRCE_cjs.blend; }
67
67
  });
68
68
  Object.defineProperty(exports, "buzzOpacity", {
69
69
  enumerable: true,
70
- get: function () { return chunkHVPGR6G5_cjs.buzzOpacity; }
70
+ get: function () { return chunkF54WHRCE_cjs.buzzOpacity; }
71
71
  });
72
72
  Object.defineProperty(exports, "darken", {
73
73
  enumerable: true,
74
- get: function () { return chunkHVPGR6G5_cjs.darken; }
74
+ get: function () { return chunkF54WHRCE_cjs.darken; }
75
75
  });
76
76
  Object.defineProperty(exports, "deriveSkinColors", {
77
77
  enumerable: true,
78
- get: function () { return chunkHVPGR6G5_cjs.deriveSkinColors; }
78
+ get: function () { return chunkF54WHRCE_cjs.deriveSkinColors; }
79
79
  });
80
80
  Object.defineProperty(exports, "effectiveAccessory", {
81
81
  enumerable: true,
82
- get: function () { return chunkHVPGR6G5_cjs.effectiveAccessory; }
82
+ get: function () { return chunkF54WHRCE_cjs.effectiveAccessory; }
83
83
  });
84
84
  Object.defineProperty(exports, "generateTraits", {
85
85
  enumerable: true,
86
- get: function () { return chunkHVPGR6G5_cjs.generateTraits; }
86
+ get: function () { return chunkF54WHRCE_cjs.generateTraits; }
87
87
  });
88
88
  Object.defineProperty(exports, "getTraitLabels", {
89
89
  enumerable: true,
90
- get: function () { return chunkHVPGR6G5_cjs.getTraitLabels; }
90
+ get: function () { return chunkF54WHRCE_cjs.getTraitLabels; }
91
91
  });
92
92
  Object.defineProperty(exports, "hexToRgb", {
93
93
  enumerable: true,
94
- get: function () { return chunkHVPGR6G5_cjs.hexToRgb; }
94
+ get: function () { return chunkF54WHRCE_cjs.hexToRgb; }
95
95
  });
96
96
  Object.defineProperty(exports, "lighten", {
97
97
  enumerable: true,
98
- get: function () { return chunkHVPGR6G5_cjs.lighten; }
98
+ get: function () { return chunkF54WHRCE_cjs.lighten; }
99
99
  });
100
100
  Object.defineProperty(exports, "luminance", {
101
101
  enumerable: true,
102
- get: function () { return chunkHVPGR6G5_cjs.luminance; }
102
+ get: function () { return chunkF54WHRCE_cjs.luminance; }
103
103
  });
104
104
  Object.defineProperty(exports, "mergeTheme", {
105
105
  enumerable: true,
106
- get: function () { return chunkHVPGR6G5_cjs.mergeTheme; }
106
+ get: function () { return chunkF54WHRCE_cjs.mergeTheme; }
107
107
  });
108
108
  Object.defineProperty(exports, "renderSolFaceBase64", {
109
109
  enumerable: true,
110
- get: function () { return chunkHVPGR6G5_cjs.renderSolFaceBase64; }
110
+ get: function () { return chunkF54WHRCE_cjs.renderSolFaceBase64; }
111
111
  });
112
112
  Object.defineProperty(exports, "renderSolFaceDataURI", {
113
113
  enumerable: true,
114
- get: function () { return chunkHVPGR6G5_cjs.renderSolFaceDataURI; }
114
+ get: function () { return chunkF54WHRCE_cjs.renderSolFaceDataURI; }
115
115
  });
116
116
  Object.defineProperty(exports, "renderSolFaceSVG", {
117
117
  enumerable: true,
118
- get: function () { return chunkHVPGR6G5_cjs.renderSolFaceSVG; }
118
+ get: function () { return chunkF54WHRCE_cjs.renderSolFaceSVG; }
119
119
  });
120
120
  Object.defineProperty(exports, "resolveTheme", {
121
121
  enumerable: true,
122
- get: function () { return chunkHVPGR6G5_cjs.resolveTheme; }
122
+ get: function () { return chunkF54WHRCE_cjs.resolveTheme; }
123
123
  });
124
124
  Object.defineProperty(exports, "rgbToHex", {
125
125
  enumerable: true,
126
- get: function () { return chunkHVPGR6G5_cjs.rgbToHex; }
126
+ get: function () { return chunkF54WHRCE_cjs.rgbToHex; }
127
127
  });
128
128
  Object.defineProperty(exports, "traitHash", {
129
129
  enumerable: true,
130
- get: function () { return chunkHVPGR6G5_cjs.traitHash; }
130
+ get: function () { return chunkF54WHRCE_cjs.traitHash; }
131
131
  });
132
132
  Object.defineProperty(exports, "PRESET_THEMES", {
133
133
  enumerable: true,
@@ -139,31 +139,31 @@ Object.defineProperty(exports, "getPresetTheme", {
139
139
  });
140
140
  Object.defineProperty(exports, "ADJECTIVES", {
141
141
  enumerable: true,
142
- get: function () { return chunkR3MC2AJZ_cjs.ADJECTIVES; }
142
+ get: function () { return chunkXXJJH56O_cjs.ADJECTIVES; }
143
143
  });
144
144
  Object.defineProperty(exports, "NOUNS", {
145
145
  enumerable: true,
146
- get: function () { return chunkR3MC2AJZ_cjs.NOUNS; }
146
+ get: function () { return chunkXXJJH56O_cjs.NOUNS; }
147
147
  });
148
148
  Object.defineProperty(exports, "SOLNAMES_VERSION", {
149
149
  enumerable: true,
150
- get: function () { return chunkR3MC2AJZ_cjs.SOLNAMES_VERSION; }
150
+ get: function () { return chunkXXJJH56O_cjs.SOLNAMES_VERSION; }
151
151
  });
152
152
  Object.defineProperty(exports, "deriveIdentity", {
153
153
  enumerable: true,
154
- get: function () { return chunkR3MC2AJZ_cjs.deriveIdentity; }
154
+ get: function () { return chunkXXJJH56O_cjs.deriveIdentity; }
155
155
  });
156
156
  Object.defineProperty(exports, "deriveName", {
157
157
  enumerable: true,
158
- get: function () { return chunkR3MC2AJZ_cjs.deriveName; }
158
+ get: function () { return chunkXXJJH56O_cjs.deriveName; }
159
159
  });
160
160
  Object.defineProperty(exports, "isValidSolName", {
161
161
  enumerable: true,
162
- get: function () { return chunkR3MC2AJZ_cjs.isValidSolName; }
162
+ get: function () { return chunkXXJJH56O_cjs.isValidSolName; }
163
163
  });
164
164
  Object.defineProperty(exports, "parseSolName", {
165
165
  enumerable: true,
166
- get: function () { return chunkR3MC2AJZ_cjs.parseSolName; }
166
+ get: function () { return chunkXXJJH56O_cjs.parseSolName; }
167
167
  });
168
168
  //# sourceMappingURL=index.cjs.map
169
169
  //# sourceMappingURL=index.cjs.map
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- export { B as BG_COLORS, E as EYE_COLORS, H as HAIR_COLORS, R as RenderOptions, S as SKIN_COLORS, a as SolFaceTheme, b as SolFaceTraits, e as effectiveAccessory, g as generateTraits, c as getTraitLabels, m as mergeTheme, r as resolveTheme, t as traitHash } from './traits-QlWuxZDD.cjs';
1
+ export { B as BG_COLORS, E as EYE_COLORS, H as HAIR_COLORS, R as RenderOptions, S as SKIN_COLORS, a as SolFaceTheme, b as SolFaceTraits, e as effectiveAccessory, g as generateTraits, c as getTraitLabels, m as mergeTheme, r as resolveTheme, t as traitHash } from './traits-sfe7rM9C.cjs';
2
2
  export { DerivedColors, DescribeOptions, PNGOptions, agentAppearancePrompt, blend, buzzOpacity, darken, deriveSkinColors, describeAppearance, describeTraits, hexToRgb, lighten, luminance, renderSolFaceBase64, renderSolFaceDataURI, renderSolFacePNG, renderSolFacePNGBrowser, renderSolFacePNGDataURL, renderSolFaceSVG, rgbToHex, solFaceAltText } from './core/index.cjs';
3
- export { ParsedSolName, deriveIdentity, deriveName, isValidSolName, parseSolName } from './names/index.cjs';
3
+ export { DeriveOptions, ParsedSolName, deriveIdentity, deriveName, isValidSolName, parseSolName } from './names/index.cjs';
4
4
  export { A as ADJECTIVES, N as NOUNS, a as NameFormat, S as SOLNAMES_VERSION, b as SolNameIdentity } from './constants-Bi5uTRp5.cjs';
5
5
  export { PRESET_THEMES, getPresetTheme } from './themes/index.cjs';
6
6
  export { SOLFACE_TOOLS, SolFaceTool, handleToolCall } from './agent/index.cjs';
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export { B as BG_COLORS, E as EYE_COLORS, H as HAIR_COLORS, R as RenderOptions, S as SKIN_COLORS, a as SolFaceTheme, b as SolFaceTraits, e as effectiveAccessory, g as generateTraits, c as getTraitLabels, m as mergeTheme, r as resolveTheme, t as traitHash } from './traits-QlWuxZDD.js';
1
+ export { B as BG_COLORS, E as EYE_COLORS, H as HAIR_COLORS, R as RenderOptions, S as SKIN_COLORS, a as SolFaceTheme, b as SolFaceTraits, e as effectiveAccessory, g as generateTraits, c as getTraitLabels, m as mergeTheme, r as resolveTheme, t as traitHash } from './traits-sfe7rM9C.js';
2
2
  export { DerivedColors, DescribeOptions, PNGOptions, agentAppearancePrompt, blend, buzzOpacity, darken, deriveSkinColors, describeAppearance, describeTraits, hexToRgb, lighten, luminance, renderSolFaceBase64, renderSolFaceDataURI, renderSolFacePNG, renderSolFacePNGBrowser, renderSolFacePNGDataURL, renderSolFaceSVG, rgbToHex, solFaceAltText } from './core/index.js';
3
- export { ParsedSolName, deriveIdentity, deriveName, isValidSolName, parseSolName } from './names/index.js';
3
+ export { DeriveOptions, ParsedSolName, deriveIdentity, deriveName, isValidSolName, parseSolName } from './names/index.js';
4
4
  export { A as ADJECTIVES, N as NOUNS, a as NameFormat, S as SOLNAMES_VERSION, b as SolNameIdentity } from './constants-Bi5uTRp5.js';
5
5
  export { PRESET_THEMES, getPresetTheme } from './themes/index.js';
6
6
  export { SOLFACE_TOOLS, SolFaceTool, handleToolCall } from './agent/index.js';
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
- export { renderSolFacePNG, renderSolFacePNGBrowser, renderSolFacePNGDataURL } from './chunk-MGP7F65H.js';
2
- export { SOLFACE_TOOLS, handleToolCall } from './chunk-77SPWQU5.js';
3
- export { agentAppearancePrompt, describeAppearance, describeTraits, solFaceAltText } from './chunk-CQWXUU7P.js';
4
- export { BG_COLORS, EYE_COLORS, HAIR_COLORS, SKIN_COLORS, blend, buzzOpacity, darken, deriveSkinColors, effectiveAccessory, generateTraits, getTraitLabels, hexToRgb, lighten, luminance, mergeTheme, renderSolFaceBase64, renderSolFaceDataURI, renderSolFaceSVG, resolveTheme, rgbToHex, traitHash } from './chunk-SWML743U.js';
1
+ export { renderSolFacePNG, renderSolFacePNGBrowser, renderSolFacePNGDataURL } from './chunk-5DT27HMT.js';
2
+ export { SOLFACE_TOOLS, handleToolCall } from './chunk-66PSL4YO.js';
3
+ export { agentAppearancePrompt, describeAppearance, describeTraits, solFaceAltText } from './chunk-CKHLRORB.js';
4
+ export { BG_COLORS, EYE_COLORS, HAIR_COLORS, SKIN_COLORS, blend, buzzOpacity, darken, deriveSkinColors, effectiveAccessory, generateTraits, getTraitLabels, hexToRgb, lighten, luminance, mergeTheme, renderSolFaceBase64, renderSolFaceDataURI, renderSolFaceSVG, resolveTheme, rgbToHex, traitHash } from './chunk-3CE7Q44S.js';
5
5
  export { PRESET_THEMES, getPresetTheme } from './chunk-DRUSCLEF.js';
6
- export { ADJECTIVES, NOUNS, SOLNAMES_VERSION, deriveIdentity, deriveName, isValidSolName, parseSolName } from './chunk-SX3FQDKM.js';
6
+ export { ADJECTIVES, NOUNS, SOLNAMES_VERSION, deriveIdentity, deriveName, isValidSolName, parseSolName } from './chunk-N5DDJ3WQ.js';
7
7
  //# sourceMappingURL=index.js.map
8
8
  //# sourceMappingURL=index.js.map
@@ -1,40 +1,40 @@
1
1
  'use strict';
2
2
 
3
- var chunkR3MC2AJZ_cjs = require('../chunk-R3MC2AJZ.cjs');
3
+ var chunkXXJJH56O_cjs = require('../chunk-XXJJH56O.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "ADJECTIVES", {
8
8
  enumerable: true,
9
- get: function () { return chunkR3MC2AJZ_cjs.ADJECTIVES; }
9
+ get: function () { return chunkXXJJH56O_cjs.ADJECTIVES; }
10
10
  });
11
11
  Object.defineProperty(exports, "BLOCKED_COMBOS", {
12
12
  enumerable: true,
13
- get: function () { return chunkR3MC2AJZ_cjs.BLOCKED_COMBOS; }
13
+ get: function () { return chunkXXJJH56O_cjs.BLOCKED_COMBOS; }
14
14
  });
15
15
  Object.defineProperty(exports, "NOUNS", {
16
16
  enumerable: true,
17
- get: function () { return chunkR3MC2AJZ_cjs.NOUNS; }
17
+ get: function () { return chunkXXJJH56O_cjs.NOUNS; }
18
18
  });
19
19
  Object.defineProperty(exports, "SOLNAMES_VERSION", {
20
20
  enumerable: true,
21
- get: function () { return chunkR3MC2AJZ_cjs.SOLNAMES_VERSION; }
21
+ get: function () { return chunkXXJJH56O_cjs.SOLNAMES_VERSION; }
22
22
  });
23
23
  Object.defineProperty(exports, "deriveIdentity", {
24
24
  enumerable: true,
25
- get: function () { return chunkR3MC2AJZ_cjs.deriveIdentity; }
25
+ get: function () { return chunkXXJJH56O_cjs.deriveIdentity; }
26
26
  });
27
27
  Object.defineProperty(exports, "deriveName", {
28
28
  enumerable: true,
29
- get: function () { return chunkR3MC2AJZ_cjs.deriveName; }
29
+ get: function () { return chunkXXJJH56O_cjs.deriveName; }
30
30
  });
31
31
  Object.defineProperty(exports, "isValidSolName", {
32
32
  enumerable: true,
33
- get: function () { return chunkR3MC2AJZ_cjs.isValidSolName; }
33
+ get: function () { return chunkXXJJH56O_cjs.isValidSolName; }
34
34
  });
35
35
  Object.defineProperty(exports, "parseSolName", {
36
36
  enumerable: true,
37
- get: function () { return chunkR3MC2AJZ_cjs.parseSolName; }
37
+ get: function () { return chunkXXJJH56O_cjs.parseSolName; }
38
38
  });
39
39
  //# sourceMappingURL=index.cjs.map
40
40
  //# sourceMappingURL=index.cjs.map
@@ -1,19 +1,31 @@
1
1
  import { b as SolNameIdentity, a as NameFormat } from '../constants-Bi5uTRp5.cjs';
2
2
  export { A as ADJECTIVES, B as BLOCKED_COMBOS, N as NOUNS, S as SOLNAMES_VERSION } from '../constants-Bi5uTRp5.cjs';
3
3
 
4
+ /** Options for customizing name derivation. */
5
+ interface DeriveOptions {
6
+ /** Custom adjective word list (default: built-in 1000 adjectives) */
7
+ adjectives?: readonly string[];
8
+ /** Custom noun word list (default: built-in 1000 nouns) */
9
+ nouns?: readonly string[];
10
+ /** Custom blocked adjective+noun combinations (default: built-in set) */
11
+ blockedCombos?: Set<string>;
12
+ /** Custom domain prefix for SHA-256 hashing (default: "solnames-v1") */
13
+ domain?: string;
14
+ }
4
15
  /**
5
16
  * Derive a deterministic name from a Solana wallet address.
6
17
  *
7
18
  * @param wallet Base58 wallet address
8
19
  * @param format Name format (default: "display")
20
+ * @param options Custom word lists, domain, or blocked combos
9
21
  * @returns Formatted name string
10
22
  */
11
- declare function deriveName(wallet: string, format?: NameFormat): string;
23
+ declare function deriveName(wallet: string, format?: NameFormat, options?: DeriveOptions): string;
12
24
  /**
13
25
  * Derive the full identity bundle for a wallet address.
14
26
  * Returns all four name formats plus component parts.
15
27
  */
16
- declare function deriveIdentity(wallet: string): SolNameIdentity;
28
+ declare function deriveIdentity(wallet: string, options?: DeriveOptions): SolNameIdentity;
17
29
 
18
30
  interface ParsedSolName {
19
31
  adjective: string;
@@ -33,4 +45,4 @@ declare function isValidSolName(name: string): boolean;
33
45
  */
34
46
  declare function parseSolName(name: string): ParsedSolName | null;
35
47
 
36
- export { NameFormat, type ParsedSolName, SolNameIdentity, deriveIdentity, deriveName, isValidSolName, parseSolName };
48
+ export { type DeriveOptions, NameFormat, type ParsedSolName, SolNameIdentity, deriveIdentity, deriveName, isValidSolName, parseSolName };
@@ -1,19 +1,31 @@
1
1
  import { b as SolNameIdentity, a as NameFormat } from '../constants-Bi5uTRp5.js';
2
2
  export { A as ADJECTIVES, B as BLOCKED_COMBOS, N as NOUNS, S as SOLNAMES_VERSION } from '../constants-Bi5uTRp5.js';
3
3
 
4
+ /** Options for customizing name derivation. */
5
+ interface DeriveOptions {
6
+ /** Custom adjective word list (default: built-in 1000 adjectives) */
7
+ adjectives?: readonly string[];
8
+ /** Custom noun word list (default: built-in 1000 nouns) */
9
+ nouns?: readonly string[];
10
+ /** Custom blocked adjective+noun combinations (default: built-in set) */
11
+ blockedCombos?: Set<string>;
12
+ /** Custom domain prefix for SHA-256 hashing (default: "solnames-v1") */
13
+ domain?: string;
14
+ }
4
15
  /**
5
16
  * Derive a deterministic name from a Solana wallet address.
6
17
  *
7
18
  * @param wallet Base58 wallet address
8
19
  * @param format Name format (default: "display")
20
+ * @param options Custom word lists, domain, or blocked combos
9
21
  * @returns Formatted name string
10
22
  */
11
- declare function deriveName(wallet: string, format?: NameFormat): string;
23
+ declare function deriveName(wallet: string, format?: NameFormat, options?: DeriveOptions): string;
12
24
  /**
13
25
  * Derive the full identity bundle for a wallet address.
14
26
  * Returns all four name formats plus component parts.
15
27
  */
16
- declare function deriveIdentity(wallet: string): SolNameIdentity;
28
+ declare function deriveIdentity(wallet: string, options?: DeriveOptions): SolNameIdentity;
17
29
 
18
30
  interface ParsedSolName {
19
31
  adjective: string;
@@ -33,4 +45,4 @@ declare function isValidSolName(name: string): boolean;
33
45
  */
34
46
  declare function parseSolName(name: string): ParsedSolName | null;
35
47
 
36
- export { NameFormat, type ParsedSolName, SolNameIdentity, deriveIdentity, deriveName, isValidSolName, parseSolName };
48
+ export { type DeriveOptions, NameFormat, type ParsedSolName, SolNameIdentity, deriveIdentity, deriveName, isValidSolName, parseSolName };
@@ -1,3 +1,3 @@
1
- export { ADJECTIVES, BLOCKED_COMBOS, NOUNS, SOLNAMES_VERSION, deriveIdentity, deriveName, isValidSolName, parseSolName } from '../chunk-SX3FQDKM.js';
1
+ export { ADJECTIVES, BLOCKED_COMBOS, NOUNS, SOLNAMES_VERSION, deriveIdentity, deriveName, isValidSolName, parseSolName } from '../chunk-N5DDJ3WQ.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkHVPGR6G5_cjs = require('../chunk-HVPGR6G5.cjs');
4
- var chunkR3MC2AJZ_cjs = require('../chunk-R3MC2AJZ.cjs');
3
+ var chunkF54WHRCE_cjs = require('../chunk-F54WHRCE.cjs');
4
+ var chunkXXJJH56O_cjs = require('../chunk-XXJJH56O.cjs');
5
5
  var react = require('react');
6
6
  var jsxRuntime = require('react/jsx-runtime');
7
7
 
@@ -74,7 +74,7 @@ function HairFront({ hi, id, hairCol, skin, flat }) {
74
74
  /* @__PURE__ */ jsxRuntime.jsx("rect", { x: "46", y: "28", width: "8", height: "14", rx: "4" })
75
75
  ] });
76
76
  case 7: {
77
- const bOp = chunkHVPGR6G5_cjs.buzzOpacity(hairCol, skin);
77
+ const bOp = chunkF54WHRCE_cjs.buzzOpacity(hairCol, skin);
78
78
  return /* @__PURE__ */ jsxRuntime.jsx("rect", { x: "15", y: "13", width: "34", height: "16", rx: "10", ry: "8", fill: hairCol, opacity: bOp });
79
79
  }
80
80
  case 8:
@@ -454,21 +454,21 @@ function SolFace({
454
454
  ...rest
455
455
  }) {
456
456
  const traits = react.useMemo(
457
- () => chunkHVPGR6G5_cjs.generateTraits(walletAddress, traitOverrides),
457
+ () => chunkF54WHRCE_cjs.generateTraits(walletAddress, traitOverrides),
458
458
  [walletAddress, traitOverrides]
459
459
  );
460
460
  const detailOpt = detailProp ?? "auto";
461
461
  const full = detailOpt === "full" || detailOpt === "auto" && size >= 48;
462
462
  const flat = theme?.flat ?? false;
463
- const skinColors = theme?.skinColors ?? chunkHVPGR6G5_cjs.SKIN_COLORS;
464
- const eyeColors = theme?.eyeColors ?? chunkHVPGR6G5_cjs.EYE_COLORS;
465
- const hairColors = theme?.hairColors ?? chunkHVPGR6G5_cjs.HAIR_COLORS;
466
- const bgColors = theme?.bgColors ?? chunkHVPGR6G5_cjs.BG_COLORS;
463
+ const skinColors = theme?.skinColors ?? chunkF54WHRCE_cjs.SKIN_COLORS;
464
+ const eyeColors = theme?.eyeColors ?? chunkF54WHRCE_cjs.EYE_COLORS;
465
+ const hairColors = theme?.hairColors ?? chunkF54WHRCE_cjs.HAIR_COLORS;
466
+ const bgColors = theme?.bgColors ?? chunkF54WHRCE_cjs.BG_COLORS;
467
467
  const skin = colorOverrides?.skin ?? skinColors[traits.skinColor % skinColors.length];
468
468
  const eyeCol = colorOverrides?.eyes ?? eyeColors[traits.eyeColor % eyeColors.length];
469
469
  const hairCol = colorOverrides?.hair ?? hairColors[traits.hairColor % hairColors.length];
470
470
  const bgCol = colorOverrides?.bg ?? bgColors[traits.bgColor % bgColors.length];
471
- const derived = react.useMemo(() => chunkHVPGR6G5_cjs.deriveSkinColors(skin), [skin]);
471
+ const derived = react.useMemo(() => chunkF54WHRCE_cjs.deriveSkinColors(skin), [skin]);
472
472
  const bgOpacity = theme?.bgOpacity ?? 1;
473
473
  const bgRadius = theme?.bgRadius ?? 4;
474
474
  const browColor = colorOverrides?.eyebrow ?? theme?.eyebrowColor ?? derived.browColor;
@@ -476,14 +476,14 @@ function SolFace({
476
476
  const lipColor = colorOverrides?.mouth ?? theme?.mouthColor ?? derived.lipColor;
477
477
  const eyeWhite = colorOverrides?.eyeWhite ?? theme?.eyeWhiteColor ?? derived.eyeWhiteAdapted;
478
478
  const glassesColor = theme?.glassesColor ?? "#4a4a5a";
479
- const earringColor = theme?.earringColor ?? chunkHVPGR6G5_cjs.blend(skin, "#d4a840", 0.4);
480
- const headbandColor = theme?.headbandColor ?? chunkHVPGR6G5_cjs.blend(hairCol, "#c04040", 0.5);
479
+ const earringColor = theme?.earringColor ?? chunkF54WHRCE_cjs.blend(skin, "#d4a840", 0.4);
480
+ const headbandColor = theme?.headbandColor ?? chunkF54WHRCE_cjs.blend(hairCol, "#c04040", 0.5);
481
481
  const id = react.useMemo(() => "sf" + djb2(walletAddress).toString(36), [walletAddress]);
482
482
  const cheekEnabled = theme?.cheekEnabled ?? true;
483
483
  const cheekColor = theme?.cheekColor ?? derived.cheekColor;
484
484
  const cheekOpacity = theme?.cheekOpacity ?? derived.cheekOpacity;
485
485
  const hi = traits.hairStyle % 10;
486
- const ai = chunkHVPGR6G5_cjs.effectiveAccessory(traits);
486
+ const ai = chunkF54WHRCE_cjs.effectiveAccessory(traits);
487
487
  const blinkEnabled = !!enableBlink;
488
488
  const blinkDuration = typeof enableBlink === "object" ? enableBlink.duration ?? 4 : 4;
489
489
  const blinkDelay = typeof enableBlink === "object" ? enableBlink.delay ?? 0 : 0;
@@ -491,7 +491,7 @@ function SolFace({
491
491
  const bgFill = flat ? bgCol : `url(#${id}bg)`;
492
492
  const skinFill = flat ? skin : `url(#${id}sg)`;
493
493
  if (theme?._pixel) {
494
- const pixelSvg = chunkHVPGR6G5_cjs.renderSolFaceSVG(walletAddress, {
494
+ const pixelSvg = chunkF54WHRCE_cjs.renderSolFaceSVG(walletAddress, {
495
495
  size,
496
496
  theme: { ...theme, _pixel: false, _glass: false },
497
497
  traitOverrides,
@@ -517,12 +517,12 @@ function SolFace({
517
517
  /* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "100%", stopColor: derived.skinLo })
518
518
  ] }),
519
519
  /* @__PURE__ */ jsxRuntime.jsxs("linearGradient", { id: `${id}hg`, x1: "0", y1: "0", x2: "0", y2: "1", children: [
520
- /* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "0%", stopColor: chunkHVPGR6G5_cjs.lighten(hairCol, 0.15) }),
521
- /* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "100%", stopColor: chunkHVPGR6G5_cjs.darken(hairCol, 0.15) })
520
+ /* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "0%", stopColor: chunkF54WHRCE_cjs.lighten(hairCol, 0.15) }),
521
+ /* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "100%", stopColor: chunkF54WHRCE_cjs.darken(hairCol, 0.15) })
522
522
  ] }),
523
523
  /* @__PURE__ */ jsxRuntime.jsxs("linearGradient", { id: `${id}bg`, x1: "0", y1: "0", x2: "1", y2: "1", children: [
524
- /* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "0%", stopColor: chunkHVPGR6G5_cjs.lighten(bgCol, 0.12) }),
525
- /* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "100%", stopColor: chunkHVPGR6G5_cjs.darken(bgCol, 0.12) })
524
+ /* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "0%", stopColor: chunkF54WHRCE_cjs.lighten(bgCol, 0.12) }),
525
+ /* @__PURE__ */ jsxRuntime.jsx("stop", { offset: "100%", stopColor: chunkF54WHRCE_cjs.darken(bgCol, 0.12) })
526
526
  ] }),
527
527
  full && cheekEnabled && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
528
528
  /* @__PURE__ */ jsxRuntime.jsxs("radialGradient", { id: `${id}glow`, cx: "0.5", cy: "0.28", r: "0.45", children: [
@@ -572,7 +572,7 @@ function SolFace({
572
572
  if (theme?._glass) {
573
573
  const glassEl = /* @__PURE__ */ jsxRuntime.jsx(GlassWrapper, { size, theme, children: svgElement });
574
574
  if (!showName) return glassEl;
575
- const glassName = chunkR3MC2AJZ_cjs.deriveName(walletAddress, nameFormat);
575
+ const glassName = chunkXXJJH56O_cjs.deriveName(walletAddress, nameFormat);
576
576
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "inline-flex", flexDirection: "column", alignItems: "center", gap: 4 }, children: [
577
577
  namePosition === "above" && /* @__PURE__ */ jsxRuntime.jsx("span", { style: { fontSize: Math.max(10, size / 5), fontFamily: "inherit" }, children: glassName }),
578
578
  glassEl,
@@ -580,7 +580,7 @@ function SolFace({
580
580
  ] });
581
581
  }
582
582
  if (!showName) return svgElement;
583
- const walletName = chunkR3MC2AJZ_cjs.deriveName(walletAddress, nameFormat);
583
+ const walletName = chunkXXJJH56O_cjs.deriveName(walletAddress, nameFormat);
584
584
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "inline-flex", flexDirection: "column", alignItems: "center", gap: 4 }, children: [
585
585
  namePosition === "above" && /* @__PURE__ */ jsxRuntime.jsx("span", { style: { fontSize: Math.max(10, size / 5), fontFamily: "inherit" }, children: walletName }),
586
586
  svgElement,
@@ -589,8 +589,8 @@ function SolFace({
589
589
  }
590
590
  function useSolName(wallet, format) {
591
591
  return react.useMemo(() => {
592
- if (format) return chunkR3MC2AJZ_cjs.deriveName(wallet, format);
593
- return chunkR3MC2AJZ_cjs.deriveIdentity(wallet);
592
+ if (format) return chunkXXJJH56O_cjs.deriveName(wallet, format);
593
+ return chunkXXJJH56O_cjs.deriveIdentity(wallet);
594
594
  }, [wallet, format]);
595
595
  }
596
596
 
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { SVGAttributes } from 'react';
3
- import { a as SolFaceTheme, b as SolFaceTraits } from '../traits-QlWuxZDD.cjs';
3
+ import { a as SolFaceTheme, b as SolFaceTraits } from '../traits-sfe7rM9C.cjs';
4
4
  import { a as NameFormat, b as SolNameIdentity } from '../constants-Bi5uTRp5.cjs';
5
5
 
6
6
  interface SolFaceProps extends Omit<SVGAttributes<SVGSVGElement>, "viewBox" | "xmlns"> {
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { SVGAttributes } from 'react';
3
- import { a as SolFaceTheme, b as SolFaceTraits } from '../traits-QlWuxZDD.js';
3
+ import { a as SolFaceTheme, b as SolFaceTraits } from '../traits-sfe7rM9C.js';
4
4
  import { a as NameFormat, b as SolNameIdentity } from '../constants-Bi5uTRp5.js';
5
5
 
6
6
  interface SolFaceProps extends Omit<SVGAttributes<SVGSVGElement>, "viewBox" | "xmlns"> {
@@ -1,5 +1,5 @@
1
- import { generateTraits, SKIN_COLORS, EYE_COLORS, HAIR_COLORS, BG_COLORS, deriveSkinColors, blend, effectiveAccessory, renderSolFaceSVG, lighten, darken, buzzOpacity } from '../chunk-SWML743U.js';
2
- import { deriveName, deriveIdentity } from '../chunk-SX3FQDKM.js';
1
+ import { generateTraits, SKIN_COLORS, EYE_COLORS, HAIR_COLORS, BG_COLORS, deriveSkinColors, blend, effectiveAccessory, renderSolFaceSVG, lighten, darken, buzzOpacity } from '../chunk-3CE7Q44S.js';
2
+ import { deriveName, deriveIdentity } from '../chunk-N5DDJ3WQ.js';
3
3
  import { useMemo } from 'react';
4
4
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
5
5