@nodaro/prompts 1.38.0 → 1.39.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/dist/{chunk-LVSH7K7R.cjs → chunk-22KZOAGL.cjs} +81 -42
- package/dist/chunk-22KZOAGL.cjs.map +1 -0
- package/dist/chunk-2P26SZX5.cjs +414 -0
- package/dist/chunk-2P26SZX5.cjs.map +1 -0
- package/dist/{chunk-CVPB2N3Z.cjs → chunk-3INXNDV7.cjs} +102 -4
- package/dist/chunk-3INXNDV7.cjs.map +1 -0
- package/dist/{chunk-7XKHDXCL.cjs → chunk-3U7X6JZN.cjs} +13 -12
- package/dist/chunk-3U7X6JZN.cjs.map +1 -0
- package/dist/chunk-4GKTOVFM.cjs +8 -0
- package/dist/chunk-4GKTOVFM.cjs.map +1 -0
- package/dist/{chunk-HRBBNODV.js → chunk-6GVFJLDL.js} +4 -3
- package/dist/chunk-6GVFJLDL.js.map +1 -0
- package/dist/{chunk-NO6XHX4R.js → chunk-6MPZHFIS.js} +99 -6
- package/dist/chunk-6MPZHFIS.js.map +1 -0
- package/dist/{chunk-4FDNVNJE.js → chunk-7XMTVYS5.js} +3 -76
- package/dist/chunk-7XMTVYS5.js.map +1 -0
- package/dist/{chunk-QDEWBBUR.js → chunk-DUXX6CBX.js} +12 -143
- package/dist/chunk-DUXX6CBX.js.map +1 -0
- package/dist/chunk-EAYEZXWT.js +388 -0
- package/dist/chunk-EAYEZXWT.js.map +1 -0
- package/dist/chunk-GILUVQQJ.js +6 -0
- package/dist/chunk-GILUVQQJ.js.map +1 -0
- package/dist/{chunk-KIYNOOPJ.js → chunk-GTDKDD7Y.js} +12 -6
- package/dist/chunk-GTDKDD7Y.js.map +1 -0
- package/dist/{chunk-TLVX5PXD.cjs → chunk-IUCNJAHW.cjs} +13 -7
- package/dist/chunk-IUCNJAHW.cjs.map +1 -0
- package/dist/{chunk-ZFIXQRBZ.cjs → chunk-KUBZVWME.cjs} +2 -80
- package/dist/chunk-KUBZVWME.cjs.map +1 -0
- package/dist/{chunk-JKCR6WRZ.cjs → chunk-NMWKXAYA.cjs} +2 -2
- package/dist/{chunk-JKCR6WRZ.cjs.map → chunk-NMWKXAYA.cjs.map} +1 -1
- package/dist/{chunk-LK2CZK5U.cjs → chunk-PWWM7Q3T.cjs} +7 -7
- package/dist/{chunk-LK2CZK5U.cjs.map → chunk-PWWM7Q3T.cjs.map} +1 -1
- package/dist/{chunk-N7TOWXDJ.js → chunk-QDUTMOF4.js} +3 -3
- package/dist/{chunk-N7TOWXDJ.js.map → chunk-QDUTMOF4.js.map} +1 -1
- package/dist/{chunk-MENBHEAY.cjs → chunk-WRM52ZBN.cjs} +19 -161
- package/dist/chunk-WRM52ZBN.cjs.map +1 -0
- package/dist/chunk-XIWWDGT5.cjs +86 -0
- package/dist/chunk-XIWWDGT5.cjs.map +1 -0
- package/dist/{chunk-CEPVQQVO.js → chunk-XRLOMTBZ.js} +2 -2
- package/dist/{chunk-CEPVQQVO.js.map → chunk-XRLOMTBZ.js.map} +1 -1
- package/dist/{chunk-QBEZMR2F.js → chunk-XU54YJXQ.js} +54 -15
- package/dist/chunk-XU54YJXQ.js.map +1 -0
- package/dist/chunk-Z3SZXWRU.js +80 -0
- package/dist/chunk-Z3SZXWRU.js.map +1 -0
- package/dist/entries/assembly.cjs +26 -25
- package/dist/entries/assembly.d.cts +32 -4
- package/dist/entries/assembly.d.ts +32 -4
- package/dist/entries/assembly.js +5 -4
- package/dist/entries/doctrine.cjs +46 -46
- package/dist/entries/doctrine.d.cts +3 -3
- package/dist/entries/doctrine.d.ts +3 -3
- package/dist/entries/doctrine.js +1 -1
- package/dist/entries/picker-catalogs.cjs +42 -42
- package/dist/entries/picker-catalogs.js +3 -3
- package/dist/entries/presets.cjs +49 -26
- package/dist/entries/presets.d.cts +51 -1
- package/dist/entries/presets.d.ts +51 -1
- package/dist/entries/presets.js +4 -1
- package/dist/entries/prompt-builder.cjs +135 -98
- package/dist/entries/prompt-builder.d.cts +22 -11
- package/dist/entries/prompt-builder.d.ts +22 -11
- package/dist/entries/prompt-builder.js +4 -3
- package/dist/entries/prompt-fields.cjs +41 -40
- package/dist/entries/prompt-fields.js +2 -1
- package/dist/index.cjs +331 -273
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +11 -9
- package/dist/{subject-registry-BUswuEVD.d.cts → subject-registry-CQi_CZfJ.d.cts} +78 -9
- package/dist/{subject-registry-D7V8PEG-.d.ts → subject-registry-DFiGx49v.d.ts} +78 -9
- package/package.json +2 -2
- package/src/__tests__/assemble-image-input-style-references.test.ts +173 -0
- package/src/__tests__/catalog-id-guard.test.ts +30 -0
- package/src/__tests__/factory-preset-previews.test.ts +123 -0
- package/src/__tests__/factory-preset-references.test.ts +222 -0
- package/src/__tests__/user-direction-refs.test.ts +180 -0
- package/src/assemble-image-input.ts +114 -13
- package/src/catalog-id-guard.ts +18 -2
- package/src/color-names.ts +192 -0
- package/src/direction-registry.ts +66 -5
- package/src/entries/prompt-builder.ts +2 -0
- package/src/factory-presets/generate-image.ts +29 -0
- package/src/factory-presets/index.ts +2 -0
- package/src/factory-presets/preview-files.generated.ts +4 -0
- package/src/factory-presets/previews.ts +40 -0
- package/src/factory-presets/references.ts +80 -0
- package/src/factory-presets/shared-image.ts +4 -0
- package/src/factory-presets/types.ts +8 -0
- package/src/image-reference-doctrine.ts +3 -3
- package/src/image-token-pattern.ts +13 -0
- package/src/prompt-builder.ts +4 -5
- package/src/prompt-style-section.ts +3 -3
- package/src/user-direction-refs.ts +110 -0
- package/dist/chunk-4FDNVNJE.js.map +0 -1
- package/dist/chunk-7XKHDXCL.cjs.map +0 -1
- package/dist/chunk-CVPB2N3Z.cjs.map +0 -1
- package/dist/chunk-HRBBNODV.js.map +0 -1
- package/dist/chunk-KIYNOOPJ.js.map +0 -1
- package/dist/chunk-LVSH7K7R.cjs.map +0 -1
- package/dist/chunk-MENBHEAY.cjs.map +0 -1
- package/dist/chunk-NO6XHX4R.js.map +0 -1
- package/dist/chunk-QBEZMR2F.js.map +0 -1
- package/dist/chunk-QDEWBBUR.js.map +0 -1
- package/dist/chunk-TLVX5PXD.cjs.map +0 -1
- package/dist/chunk-UJKFHPZ7.js +0 -37
- package/dist/chunk-UJKFHPZ7.js.map +0 -1
- package/dist/chunk-W5SCZIOB.cjs +0 -43
- package/dist/chunk-W5SCZIOB.cjs.map +0 -1
- package/dist/chunk-ZFIXQRBZ.cjs.map +0 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkXIWWDGT5_cjs = require('../chunk-XIWWDGT5.cjs');
|
|
4
|
+
var chunkKUBZVWME_cjs = require('../chunk-KUBZVWME.cjs');
|
|
4
5
|
var chunkXUZXBY75_cjs = require('../chunk-XUZXBY75.cjs');
|
|
5
6
|
var chunkUXDKZVNN_cjs = require('../chunk-UXDKZVNN.cjs');
|
|
6
7
|
var chunk3UEA3UHQ_cjs = require('../chunk-3UEA3UHQ.cjs');
|
|
@@ -8,101 +9,101 @@ require('../chunk-Q7SFCCGT.cjs');
|
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
11
|
-
Object.defineProperty(exports, "
|
|
12
|
+
Object.defineProperty(exports, "TEXT_REQUIRED_NODE_TYPES", {
|
|
12
13
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkXIWWDGT5_cjs.TEXT_REQUIRED_NODE_TYPES; }
|
|
14
15
|
});
|
|
15
|
-
Object.defineProperty(exports, "
|
|
16
|
+
Object.defineProperty(exports, "WIRED_OUTPUT_NODE_TYPES", {
|
|
16
17
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkXIWWDGT5_cjs.WIRED_OUTPUT_NODE_TYPES; }
|
|
18
19
|
});
|
|
19
|
-
Object.defineProperty(exports, "
|
|
20
|
+
Object.defineProperty(exports, "computeAiWriterInput", {
|
|
20
21
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkXIWWDGT5_cjs.computeAiWriterInput; }
|
|
22
23
|
});
|
|
23
|
-
Object.defineProperty(exports, "
|
|
24
|
+
Object.defineProperty(exports, "computeNodeSendText", {
|
|
24
25
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkXIWWDGT5_cjs.computeNodeSendText; }
|
|
26
27
|
});
|
|
27
|
-
Object.defineProperty(exports, "
|
|
28
|
+
Object.defineProperty(exports, "stripAudioTags", {
|
|
28
29
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkXIWWDGT5_cjs.stripAudioTags; }
|
|
30
31
|
});
|
|
31
|
-
Object.defineProperty(exports, "
|
|
32
|
+
Object.defineProperty(exports, "NODE_PROMPT_CANDIDATE_FIELDS", {
|
|
32
33
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkKUBZVWME_cjs.NODE_PROMPT_CANDIDATE_FIELDS; }
|
|
34
35
|
});
|
|
35
|
-
Object.defineProperty(exports, "
|
|
36
|
+
Object.defineProperty(exports, "NODE_PROMPT_FIELDS", {
|
|
36
37
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkKUBZVWME_cjs.NODE_PROMPT_FIELDS; }
|
|
38
39
|
});
|
|
39
|
-
Object.defineProperty(exports, "
|
|
40
|
+
Object.defineProperty(exports, "PROMPT_AFFIX_CORE_FIELD_OVERRIDES", {
|
|
40
41
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkKUBZVWME_cjs.PROMPT_AFFIX_CORE_FIELD_OVERRIDES; }
|
|
42
43
|
});
|
|
43
|
-
Object.defineProperty(exports, "
|
|
44
|
+
Object.defineProperty(exports, "PROMPT_AFFIX_NODE_TYPES", {
|
|
44
45
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkKUBZVWME_cjs.PROMPT_AFFIX_NODE_TYPES; }
|
|
46
47
|
});
|
|
47
|
-
Object.defineProperty(exports, "
|
|
48
|
+
Object.defineProperty(exports, "applyPromptAffixes", {
|
|
48
49
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkKUBZVWME_cjs.applyPromptAffixes; }
|
|
50
51
|
});
|
|
51
|
-
Object.defineProperty(exports, "
|
|
52
|
+
Object.defineProperty(exports, "composeNegative", {
|
|
52
53
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkKUBZVWME_cjs.composeNegative; }
|
|
54
55
|
});
|
|
55
|
-
Object.defineProperty(exports, "
|
|
56
|
+
Object.defineProperty(exports, "computeLlmChatFields", {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function () { return chunkKUBZVWME_cjs.computeLlmChatFields; }
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "computeNodePrompt", {
|
|
56
61
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkKUBZVWME_cjs.computeNodePrompt; }
|
|
58
63
|
});
|
|
59
64
|
Object.defineProperty(exports, "computeScriptTopic", {
|
|
60
65
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkKUBZVWME_cjs.computeScriptTopic; }
|
|
62
67
|
});
|
|
63
68
|
Object.defineProperty(exports, "getPromptFields", {
|
|
64
69
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkKUBZVWME_cjs.getPromptFields; }
|
|
66
71
|
});
|
|
67
72
|
Object.defineProperty(exports, "getSnippetMedia", {
|
|
68
73
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkKUBZVWME_cjs.getSnippetMedia; }
|
|
70
75
|
});
|
|
71
76
|
Object.defineProperty(exports, "joinPromptParts", {
|
|
72
77
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkKUBZVWME_cjs.joinPromptParts; }
|
|
74
79
|
});
|
|
75
80
|
Object.defineProperty(exports, "nodeHasInlinePrompt", {
|
|
76
81
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkKUBZVWME_cjs.nodeHasInlinePrompt; }
|
|
78
83
|
});
|
|
79
84
|
Object.defineProperty(exports, "nodeHasPromptField", {
|
|
80
85
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkKUBZVWME_cjs.nodeHasPromptField; }
|
|
82
87
|
});
|
|
83
88
|
Object.defineProperty(exports, "nodeSupportsPromptAffixes", {
|
|
84
89
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkKUBZVWME_cjs.nodeSupportsPromptAffixes; }
|
|
86
91
|
});
|
|
87
92
|
Object.defineProperty(exports, "promptAffixCoreField", {
|
|
88
93
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkKUBZVWME_cjs.promptAffixCoreField; }
|
|
90
95
|
});
|
|
91
96
|
Object.defineProperty(exports, "promptFieldCarriesAffixes", {
|
|
92
97
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkKUBZVWME_cjs.promptFieldCarriesAffixes; }
|
|
94
99
|
});
|
|
95
100
|
Object.defineProperty(exports, "promptPartSeparator", {
|
|
96
101
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkKUBZVWME_cjs.promptPartSeparator; }
|
|
98
103
|
});
|
|
99
104
|
Object.defineProperty(exports, "resolvePrompt", {
|
|
100
105
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
102
|
-
});
|
|
103
|
-
Object.defineProperty(exports, "stripAudioTags", {
|
|
104
|
-
enumerable: true,
|
|
105
|
-
get: function () { return chunkZFIXQRBZ_cjs.stripAudioTags; }
|
|
106
|
+
get: function () { return chunkKUBZVWME_cjs.resolvePrompt; }
|
|
106
107
|
});
|
|
107
108
|
Object.defineProperty(exports, "keepableDirectionHints", {
|
|
108
109
|
enumerable: true,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { TEXT_REQUIRED_NODE_TYPES, WIRED_OUTPUT_NODE_TYPES, computeAiWriterInput, computeNodeSendText, stripAudioTags } from '../chunk-Z3SZXWRU.js';
|
|
2
|
+
export { NODE_PROMPT_CANDIDATE_FIELDS, NODE_PROMPT_FIELDS, PROMPT_AFFIX_CORE_FIELD_OVERRIDES, PROMPT_AFFIX_NODE_TYPES, applyPromptAffixes, composeNegative, computeLlmChatFields, computeNodePrompt, computeScriptTopic, getPromptFields, getSnippetMedia, joinPromptParts, nodeHasInlinePrompt, nodeHasPromptField, nodeSupportsPromptAffixes, promptAffixCoreField, promptFieldCarriesAffixes, promptPartSeparator, resolvePrompt } from '../chunk-7XMTVYS5.js';
|
|
2
3
|
export { keepableDirectionHints } from '../chunk-JZOPMVGY.js';
|
|
3
4
|
export { PROMPT_HINT_SEPARATOR, joinPromptHints } from '../chunk-35UHMDGS.js';
|
|
4
5
|
export { appendPromptHints, joinHintFragments, joinSentences } from '../chunk-DVP6ILDR.js';
|