@hirohsu/user-web-feedback 2.8.19 → 2.8.21
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/cli.cjs +5 -4
- package/dist/index.cjs +5 -4
- package/dist/static/settings.js +1 -0
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -78231,11 +78231,11 @@ var init_prompt_aggregator = __esm({
|
|
|
78231
78231
|
init_logger();
|
|
78232
78232
|
COMPONENT_NAME_MAP = {
|
|
78233
78233
|
"system_prompt": "SystemPrompt",
|
|
78234
|
-
"mcp_tools": "
|
|
78234
|
+
"mcp_tools": "MCPTools",
|
|
78235
78235
|
"mcp_tools_detailed": "MCPToolsDetailed",
|
|
78236
78236
|
"user_context": "UserContext",
|
|
78237
78237
|
"tool_results": "ToolResults",
|
|
78238
|
-
"closing": "
|
|
78238
|
+
"closing": "Closing"
|
|
78239
78239
|
};
|
|
78240
78240
|
PromptAggregator = class _PromptAggregator {
|
|
78241
78241
|
static instance;
|
|
@@ -78274,9 +78274,10 @@ var init_prompt_aggregator = __esm({
|
|
|
78274
78274
|
const configs = this.getPromptConfigsWithDefaults();
|
|
78275
78275
|
const isFirstCall = context.isFirstCall !== false;
|
|
78276
78276
|
const configuredComponents = this.components.map((component) => {
|
|
78277
|
-
const
|
|
78277
|
+
const configEntry = Object.entries(COMPONENT_NAME_MAP).find(
|
|
78278
78278
|
([, name]) => name === component.getName()
|
|
78279
|
-
)
|
|
78279
|
+
);
|
|
78280
|
+
const configId = configEntry?.[0];
|
|
78280
78281
|
const config2 = configId ? configs.find((c) => c.id === configId) : null;
|
|
78281
78282
|
const order = config2 ? isFirstCall ? config2.firstOrder : config2.secondOrder : component.getOrder();
|
|
78282
78283
|
const enabled = config2 ? config2.enabled : true;
|
package/dist/index.cjs
CHANGED
|
@@ -75118,11 +75118,11 @@ var init_prompt_aggregator = __esm({
|
|
|
75118
75118
|
init_logger();
|
|
75119
75119
|
COMPONENT_NAME_MAP = {
|
|
75120
75120
|
"system_prompt": "SystemPrompt",
|
|
75121
|
-
"mcp_tools": "
|
|
75121
|
+
"mcp_tools": "MCPTools",
|
|
75122
75122
|
"mcp_tools_detailed": "MCPToolsDetailed",
|
|
75123
75123
|
"user_context": "UserContext",
|
|
75124
75124
|
"tool_results": "ToolResults",
|
|
75125
|
-
"closing": "
|
|
75125
|
+
"closing": "Closing"
|
|
75126
75126
|
};
|
|
75127
75127
|
PromptAggregator = class _PromptAggregator {
|
|
75128
75128
|
static instance;
|
|
@@ -75161,9 +75161,10 @@ var init_prompt_aggregator = __esm({
|
|
|
75161
75161
|
const configs = this.getPromptConfigsWithDefaults();
|
|
75162
75162
|
const isFirstCall = context.isFirstCall !== false;
|
|
75163
75163
|
const configuredComponents = this.components.map((component) => {
|
|
75164
|
-
const
|
|
75164
|
+
const configEntry = Object.entries(COMPONENT_NAME_MAP).find(
|
|
75165
75165
|
([, name]) => name === component.getName()
|
|
75166
|
-
)
|
|
75166
|
+
);
|
|
75167
|
+
const configId = configEntry?.[0];
|
|
75167
75168
|
const config2 = configId ? configs.find((c) => c.id === configId) : null;
|
|
75168
75169
|
const order = config2 ? isFirstCall ? config2.firstOrder : config2.secondOrder : component.getOrder();
|
|
75169
75170
|
const enabled = config2 ? config2.enabled : true;
|
package/dist/static/settings.js
CHANGED