engine7 7.1.22 → 7.1.23
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/engine-startup.mjs +1 -16
- package/dist/main.mjs +1 -16
- package/package.json +1 -1
package/dist/engine-startup.mjs
CHANGED
|
@@ -18052,22 +18052,7 @@ ${skillsListing}`);
|
|
|
18052
18052
|
parts.push(getEnvInfoSection(options.workspace));
|
|
18053
18053
|
const now = /* @__PURE__ */ new Date();
|
|
18054
18054
|
const dateStr = now.toLocaleString("zh-CN", { timeZone: "Asia/Shanghai" });
|
|
18055
|
-
|
|
18056
|
-
const contextParts = [`\u5F53\u524D\u65F6\u95F4: ${dateStr}`, `\u7CFB\u7EDF: ${osPlatform} (${process.platform})`];
|
|
18057
|
-
const meta = options.inboundMeta;
|
|
18058
|
-
if (meta) {
|
|
18059
|
-
contextParts.push(`\u6765\u6E90: ${meta.channel}`);
|
|
18060
|
-
if (meta.channelType) contextParts.push(`\u6D88\u606F\u7C7B\u578B: ${meta.channelType === "dm" ? "\u79C1\u4FE1" : "\u7FA4\u804A"}`);
|
|
18061
|
-
if (meta.channel_id) contextParts.push(`\u9891\u9053ID: ${meta.channel_id}`);
|
|
18062
|
-
contextParts.push(`\u53D1\u9001\u8005ID: ${meta.from}`);
|
|
18063
|
-
if (meta.fromName) contextParts.push(`\u53D1\u9001\u8005\u540D\u79F0: ${meta.fromName}`);
|
|
18064
|
-
if (meta.messageId) contextParts.push(`\u6D88\u606FID: ${meta.messageId}`);
|
|
18065
|
-
} else if (options.channel) {
|
|
18066
|
-
contextParts.push(`\u6765\u6E90: ${options.channel}`);
|
|
18067
|
-
}
|
|
18068
|
-
if (options.sessionId) contextParts.push(`\u4F1A\u8BDDID: ${options.sessionId}`);
|
|
18069
|
-
parts.push(`# \u8FD0\u884C\u65F6\u4E0A\u4E0B\u6587
|
|
18070
|
-
${contextParts.join("\n")}`);
|
|
18055
|
+
parts.push(`\u5F53\u524D\u65F6\u95F4: ${dateStr}`);
|
|
18071
18056
|
console.log(`[dynamic-prompt] Loaded: ${loaded2.length > 0 ? loaded2.join(", ") : "(none)"}`);
|
|
18072
18057
|
return parts.join("\n\n");
|
|
18073
18058
|
}
|
package/dist/main.mjs
CHANGED
|
@@ -18410,22 +18410,7 @@ ${skillsListing}`);
|
|
|
18410
18410
|
parts.push(getEnvInfoSection(options.workspace));
|
|
18411
18411
|
const now = /* @__PURE__ */ new Date();
|
|
18412
18412
|
const dateStr = now.toLocaleString("zh-CN", { timeZone: "Asia/Shanghai" });
|
|
18413
|
-
|
|
18414
|
-
const contextParts = [`\u5F53\u524D\u65F6\u95F4: ${dateStr}`, `\u7CFB\u7EDF: ${osPlatform} (${process.platform})`];
|
|
18415
|
-
const meta = options.inboundMeta;
|
|
18416
|
-
if (meta) {
|
|
18417
|
-
contextParts.push(`\u6765\u6E90: ${meta.channel}`);
|
|
18418
|
-
if (meta.channelType) contextParts.push(`\u6D88\u606F\u7C7B\u578B: ${meta.channelType === "dm" ? "\u79C1\u4FE1" : "\u7FA4\u804A"}`);
|
|
18419
|
-
if (meta.channel_id) contextParts.push(`\u9891\u9053ID: ${meta.channel_id}`);
|
|
18420
|
-
contextParts.push(`\u53D1\u9001\u8005ID: ${meta.from}`);
|
|
18421
|
-
if (meta.fromName) contextParts.push(`\u53D1\u9001\u8005\u540D\u79F0: ${meta.fromName}`);
|
|
18422
|
-
if (meta.messageId) contextParts.push(`\u6D88\u606FID: ${meta.messageId}`);
|
|
18423
|
-
} else if (options.channel) {
|
|
18424
|
-
contextParts.push(`\u6765\u6E90: ${options.channel}`);
|
|
18425
|
-
}
|
|
18426
|
-
if (options.sessionId) contextParts.push(`\u4F1A\u8BDDID: ${options.sessionId}`);
|
|
18427
|
-
parts.push(`# \u8FD0\u884C\u65F6\u4E0A\u4E0B\u6587
|
|
18428
|
-
${contextParts.join("\n")}`);
|
|
18413
|
+
parts.push(`\u5F53\u524D\u65F6\u95F4: ${dateStr}`);
|
|
18429
18414
|
console.log(`[dynamic-prompt] Loaded: ${loaded2.length > 0 ? loaded2.join(", ") : "(none)"}`);
|
|
18430
18415
|
return parts.join("\n\n");
|
|
18431
18416
|
}
|