solfaces 2.2.0 → 2.3.0
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.
- package/README.md +45 -19
- package/SKILL.md +2 -3
- package/dist/agent/index.cjs +13 -14
- package/dist/agent/index.js +3 -4
- package/dist/agent/mcp-server.cjs +326 -333
- package/dist/{chunk-5DT27HMT.js → chunk-2KW35VRI.js} +3 -3
- package/dist/{chunk-5DT27HMT.js.map → chunk-2KW35VRI.js.map} +1 -1
- package/dist/{chunk-PVJR3SFG.cjs → chunk-BI3GHRKQ.cjs} +14 -15
- package/dist/chunk-BI3GHRKQ.cjs.map +1 -0
- package/dist/{chunk-DRUSCLEF.js → chunk-MYUSB4LA.js} +28 -8
- package/dist/chunk-MYUSB4LA.js.map +1 -0
- package/dist/{chunk-3CE7Q44S.js → chunk-N5GDLCCL.js} +324 -110
- package/dist/chunk-N5GDLCCL.js.map +1 -0
- package/dist/{chunk-74CSG63X.js → chunk-O2IIBSQH.js} +6 -7
- package/dist/chunk-O2IIBSQH.js.map +1 -0
- package/dist/{chunk-6QRDULAO.cjs → chunk-PCSRDAWQ.cjs} +28 -7
- package/dist/chunk-PCSRDAWQ.cjs.map +1 -0
- package/dist/{chunk-WIXGHS77.cjs → chunk-T7HEUW2O.cjs} +6 -6
- package/dist/{chunk-WIXGHS77.cjs.map → chunk-T7HEUW2O.cjs.map} +1 -1
- package/dist/{chunk-F54WHRCE.cjs → chunk-W2U6ITMR.cjs} +328 -110
- package/dist/chunk-W2U6ITMR.cjs.map +1 -0
- package/dist/core/index.cjs +43 -44
- package/dist/core/index.d.cts +39 -5
- package/dist/core/index.d.ts +39 -5
- package/dist/core/index.js +2 -3
- package/dist/index.cjs +53 -50
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -5
- package/dist/react/index.cjs +107 -120
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +23 -1
- package/dist/react/index.d.ts +23 -1
- package/dist/react/index.js +95 -108
- package/dist/react/index.js.map +1 -1
- package/dist/solfaces.cdn.global.js +2 -2
- package/dist/solfaces.cdn.global.js.map +1 -1
- package/dist/themes/index.cjs +18 -14
- package/dist/themes/index.d.cts +30 -4
- package/dist/themes/index.d.ts +30 -4
- package/dist/themes/index.js +1 -1
- package/dist/traits-D4tbtZIr.d.cts +259 -0
- package/dist/traits-D4tbtZIr.d.ts +259 -0
- package/dist/vanilla/index.cjs +6 -7
- package/dist/vanilla/index.cjs.map +1 -1
- package/dist/vanilla/index.d.cts +1 -1
- package/dist/vanilla/index.d.ts +1 -1
- package/dist/vanilla/index.js +2 -3
- package/dist/vanilla/index.js.map +1 -1
- package/package.json +4 -1
- package/python/solfaces.py +103 -119
- package/reference/integrations.md +1 -1
- package/dist/chunk-3CE7Q44S.js.map +0 -1
- package/dist/chunk-6QRDULAO.cjs.map +0 -1
- package/dist/chunk-74CSG63X.js.map +0 -1
- package/dist/chunk-CKHLRORB.js +0 -239
- package/dist/chunk-CKHLRORB.js.map +0 -1
- package/dist/chunk-DRUSCLEF.js.map +0 -1
- package/dist/chunk-F54WHRCE.cjs.map +0 -1
- package/dist/chunk-PVJR3SFG.cjs.map +0 -1
- package/dist/chunk-TYTBYDQU.cjs +0 -244
- package/dist/chunk-TYTBYDQU.cjs.map +0 -1
- package/dist/traits-sfe7rM9C.d.cts +0 -106
- package/dist/traits-sfe7rM9C.d.ts +0 -106
package/dist/index.cjs
CHANGED
|
@@ -1,141 +1,144 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var chunk6QRDULAO_cjs = require('./chunk-6QRDULAO.cjs');
|
|
3
|
+
var chunkT7HEUW2O_cjs = require('./chunk-T7HEUW2O.cjs');
|
|
4
|
+
var chunkBI3GHRKQ_cjs = require('./chunk-BI3GHRKQ.cjs');
|
|
5
|
+
var chunkW2U6ITMR_cjs = require('./chunk-W2U6ITMR.cjs');
|
|
6
|
+
var chunkPCSRDAWQ_cjs = require('./chunk-PCSRDAWQ.cjs');
|
|
8
7
|
var chunkYGD7EQEX_cjs = require('./chunk-YGD7EQEX.cjs');
|
|
9
8
|
|
|
10
9
|
|
|
11
10
|
|
|
12
11
|
Object.defineProperty(exports, "renderSolFacePNG", {
|
|
13
12
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkT7HEUW2O_cjs.renderSolFacePNG; }
|
|
15
14
|
});
|
|
16
15
|
Object.defineProperty(exports, "renderSolFacePNGBrowser", {
|
|
17
16
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkT7HEUW2O_cjs.renderSolFacePNGBrowser; }
|
|
19
18
|
});
|
|
20
19
|
Object.defineProperty(exports, "renderSolFacePNGDataURL", {
|
|
21
20
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkT7HEUW2O_cjs.renderSolFacePNGDataURL; }
|
|
23
22
|
});
|
|
24
23
|
Object.defineProperty(exports, "SOLFACE_TOOLS", {
|
|
25
24
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkBI3GHRKQ_cjs.SOLFACE_TOOLS; }
|
|
27
26
|
});
|
|
28
27
|
Object.defineProperty(exports, "handleToolCall", {
|
|
29
28
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
31
|
-
});
|
|
32
|
-
Object.defineProperty(exports, "agentAppearancePrompt", {
|
|
33
|
-
enumerable: true,
|
|
34
|
-
get: function () { return chunkTYTBYDQU_cjs.agentAppearancePrompt; }
|
|
35
|
-
});
|
|
36
|
-
Object.defineProperty(exports, "describeAppearance", {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: function () { return chunkTYTBYDQU_cjs.describeAppearance; }
|
|
39
|
-
});
|
|
40
|
-
Object.defineProperty(exports, "describeTraits", {
|
|
41
|
-
enumerable: true,
|
|
42
|
-
get: function () { return chunkTYTBYDQU_cjs.describeTraits; }
|
|
43
|
-
});
|
|
44
|
-
Object.defineProperty(exports, "solFaceAltText", {
|
|
45
|
-
enumerable: true,
|
|
46
|
-
get: function () { return chunkTYTBYDQU_cjs.solFaceAltText; }
|
|
29
|
+
get: function () { return chunkBI3GHRKQ_cjs.handleToolCall; }
|
|
47
30
|
});
|
|
48
31
|
Object.defineProperty(exports, "BG_COLORS", {
|
|
49
32
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkW2U6ITMR_cjs.BG_COLORS; }
|
|
51
34
|
});
|
|
52
35
|
Object.defineProperty(exports, "EYE_COLORS", {
|
|
53
36
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkW2U6ITMR_cjs.EYE_COLORS; }
|
|
55
38
|
});
|
|
56
39
|
Object.defineProperty(exports, "HAIR_COLORS", {
|
|
57
40
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkW2U6ITMR_cjs.HAIR_COLORS; }
|
|
59
42
|
});
|
|
60
43
|
Object.defineProperty(exports, "SKIN_COLORS", {
|
|
61
44
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkW2U6ITMR_cjs.SKIN_COLORS; }
|
|
46
|
+
});
|
|
47
|
+
Object.defineProperty(exports, "agentAppearancePrompt", {
|
|
48
|
+
enumerable: true,
|
|
49
|
+
get: function () { return chunkW2U6ITMR_cjs.agentAppearancePrompt; }
|
|
63
50
|
});
|
|
64
51
|
Object.defineProperty(exports, "blend", {
|
|
65
52
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkW2U6ITMR_cjs.blend; }
|
|
67
54
|
});
|
|
68
|
-
Object.defineProperty(exports, "
|
|
55
|
+
Object.defineProperty(exports, "contrastRatio", {
|
|
69
56
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkW2U6ITMR_cjs.contrastRatio; }
|
|
71
58
|
});
|
|
72
59
|
Object.defineProperty(exports, "darken", {
|
|
73
60
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkW2U6ITMR_cjs.darken; }
|
|
75
62
|
});
|
|
76
63
|
Object.defineProperty(exports, "deriveSkinColors", {
|
|
77
64
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkW2U6ITMR_cjs.deriveSkinColors; }
|
|
66
|
+
});
|
|
67
|
+
Object.defineProperty(exports, "describeAppearance", {
|
|
68
|
+
enumerable: true,
|
|
69
|
+
get: function () { return chunkW2U6ITMR_cjs.describeAppearance; }
|
|
70
|
+
});
|
|
71
|
+
Object.defineProperty(exports, "describeTraits", {
|
|
72
|
+
enumerable: true,
|
|
73
|
+
get: function () { return chunkW2U6ITMR_cjs.describeTraits; }
|
|
79
74
|
});
|
|
80
75
|
Object.defineProperty(exports, "effectiveAccessory", {
|
|
81
76
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkW2U6ITMR_cjs.effectiveAccessory; }
|
|
83
78
|
});
|
|
84
79
|
Object.defineProperty(exports, "generateTraits", {
|
|
85
80
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkW2U6ITMR_cjs.generateTraits; }
|
|
87
82
|
});
|
|
88
83
|
Object.defineProperty(exports, "getTraitLabels", {
|
|
89
84
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkW2U6ITMR_cjs.getTraitLabels; }
|
|
91
86
|
});
|
|
92
87
|
Object.defineProperty(exports, "hexToRgb", {
|
|
93
88
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkW2U6ITMR_cjs.hexToRgb; }
|
|
95
90
|
});
|
|
96
91
|
Object.defineProperty(exports, "lighten", {
|
|
97
92
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkW2U6ITMR_cjs.lighten; }
|
|
99
94
|
});
|
|
100
95
|
Object.defineProperty(exports, "luminance", {
|
|
101
96
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkW2U6ITMR_cjs.luminance; }
|
|
103
98
|
});
|
|
104
99
|
Object.defineProperty(exports, "mergeTheme", {
|
|
105
100
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkW2U6ITMR_cjs.mergeTheme; }
|
|
107
102
|
});
|
|
108
103
|
Object.defineProperty(exports, "renderSolFaceBase64", {
|
|
109
104
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkW2U6ITMR_cjs.renderSolFaceBase64; }
|
|
111
106
|
});
|
|
112
107
|
Object.defineProperty(exports, "renderSolFaceDataURI", {
|
|
113
108
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkW2U6ITMR_cjs.renderSolFaceDataURI; }
|
|
115
110
|
});
|
|
116
111
|
Object.defineProperty(exports, "renderSolFaceSVG", {
|
|
117
112
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkW2U6ITMR_cjs.renderSolFaceSVG; }
|
|
119
114
|
});
|
|
120
115
|
Object.defineProperty(exports, "resolveTheme", {
|
|
121
116
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkW2U6ITMR_cjs.resolveTheme; }
|
|
123
118
|
});
|
|
124
119
|
Object.defineProperty(exports, "rgbToHex", {
|
|
125
120
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkW2U6ITMR_cjs.rgbToHex; }
|
|
122
|
+
});
|
|
123
|
+
Object.defineProperty(exports, "solFaceAltText", {
|
|
124
|
+
enumerable: true,
|
|
125
|
+
get: function () { return chunkW2U6ITMR_cjs.solFaceAltText; }
|
|
127
126
|
});
|
|
128
127
|
Object.defineProperty(exports, "traitHash", {
|
|
129
128
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkW2U6ITMR_cjs.traitHash; }
|
|
131
130
|
});
|
|
132
131
|
Object.defineProperty(exports, "PRESET_THEMES", {
|
|
133
132
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkPCSRDAWQ_cjs.PRESET_THEMES; }
|
|
134
|
+
});
|
|
135
|
+
Object.defineProperty(exports, "createTheme", {
|
|
136
|
+
enumerable: true,
|
|
137
|
+
get: function () { return chunkPCSRDAWQ_cjs.createTheme; }
|
|
135
138
|
});
|
|
136
139
|
Object.defineProperty(exports, "getPresetTheme", {
|
|
137
140
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkPCSRDAWQ_cjs.getPresetTheme; }
|
|
139
142
|
});
|
|
140
143
|
Object.defineProperty(exports, "ADJECTIVES", {
|
|
141
144
|
enumerable: true,
|
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-
|
|
2
|
-
export { DerivedColors, DescribeOptions, PNGOptions, agentAppearancePrompt, blend,
|
|
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-D4tbtZIr.cjs';
|
|
2
|
+
export { DerivedColors, DescribeOptions, PNGOptions, agentAppearancePrompt, blend, contrastRatio, darken, deriveSkinColors, describeAppearance, describeTraits, hexToRgb, lighten, luminance, renderSolFaceBase64, renderSolFaceDataURI, renderSolFacePNG, renderSolFacePNGBrowser, renderSolFacePNGDataURL, renderSolFaceSVG, rgbToHex, solFaceAltText } from './core/index.cjs';
|
|
3
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
|
-
export { PRESET_THEMES, getPresetTheme } from './themes/index.cjs';
|
|
5
|
+
export { PRESET_THEMES, PresetThemeName, createTheme, 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-
|
|
2
|
-
export { DerivedColors, DescribeOptions, PNGOptions, agentAppearancePrompt, blend,
|
|
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-D4tbtZIr.js';
|
|
2
|
+
export { DerivedColors, DescribeOptions, PNGOptions, agentAppearancePrompt, blend, contrastRatio, darken, deriveSkinColors, describeAppearance, describeTraits, hexToRgb, lighten, luminance, renderSolFaceBase64, renderSolFaceDataURI, renderSolFacePNG, renderSolFacePNGBrowser, renderSolFacePNGDataURL, renderSolFaceSVG, rgbToHex, solFaceAltText } from './core/index.js';
|
|
3
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
|
-
export { PRESET_THEMES, getPresetTheme } from './themes/index.js';
|
|
5
|
+
export { PRESET_THEMES, PresetThemeName, createTheme, getPresetTheme } from './themes/index.js';
|
|
6
6
|
export { SOLFACE_TOOLS, SolFaceTool, handleToolCall } from './agent/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
export { renderSolFacePNG, renderSolFacePNGBrowser, renderSolFacePNGDataURL } from './chunk-
|
|
2
|
-
export { SOLFACE_TOOLS, handleToolCall } from './chunk-
|
|
3
|
-
export { agentAppearancePrompt, describeAppearance, describeTraits, solFaceAltText } from './chunk-
|
|
4
|
-
export {
|
|
5
|
-
export { PRESET_THEMES, getPresetTheme } from './chunk-DRUSCLEF.js';
|
|
1
|
+
export { renderSolFacePNG, renderSolFacePNGBrowser, renderSolFacePNGDataURL } from './chunk-2KW35VRI.js';
|
|
2
|
+
export { SOLFACE_TOOLS, handleToolCall } from './chunk-O2IIBSQH.js';
|
|
3
|
+
export { BG_COLORS, EYE_COLORS, HAIR_COLORS, SKIN_COLORS, agentAppearancePrompt, blend, contrastRatio, darken, deriveSkinColors, describeAppearance, describeTraits, effectiveAccessory, generateTraits, getTraitLabels, hexToRgb, lighten, luminance, mergeTheme, renderSolFaceBase64, renderSolFaceDataURI, renderSolFaceSVG, resolveTheme, rgbToHex, solFaceAltText, traitHash } from './chunk-N5GDLCCL.js';
|
|
4
|
+
export { PRESET_THEMES, createTheme, getPresetTheme } from './chunk-MYUSB4LA.js';
|
|
6
5
|
export { ADJECTIVES, NOUNS, SOLNAMES_VERSION, deriveIdentity, deriveName, isValidSolName, parseSolName } from './chunk-UTT764K6.js';
|
|
7
6
|
//# sourceMappingURL=index.js.map
|
|
8
7
|
//# sourceMappingURL=index.js.map
|