@mindstudio-ai/remy 0.1.66 → 0.1.68
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/headless.js +15 -6
- package/dist/index.js +15 -6
- package/package.json +1 -1
package/dist/headless.js
CHANGED
|
@@ -324,11 +324,15 @@ function buildSystemPrompt(onboardingState, viewContext) {
|
|
|
324
324
|
loadSpecFileMetadata(),
|
|
325
325
|
loadProjectFileListing()
|
|
326
326
|
].filter(Boolean).join("\n");
|
|
327
|
-
const now = (/* @__PURE__ */ new Date()).
|
|
327
|
+
const now = (/* @__PURE__ */ new Date()).toLocaleDateString("en-US", {
|
|
328
|
+
month: "long",
|
|
329
|
+
day: "numeric",
|
|
330
|
+
year: "numeric"
|
|
331
|
+
});
|
|
328
332
|
const template = `
|
|
329
333
|
{{static/identity.md}}
|
|
330
334
|
|
|
331
|
-
Current date
|
|
335
|
+
Current date: ${now}
|
|
332
336
|
|
|
333
337
|
<platform_docs>
|
|
334
338
|
<platform>
|
|
@@ -2639,6 +2643,14 @@ async function runSubAgent(config) {
|
|
|
2639
2643
|
const emit2 = (e) => {
|
|
2640
2644
|
onEvent({ ...e, parentToolId });
|
|
2641
2645
|
};
|
|
2646
|
+
const dateStr = (/* @__PURE__ */ new Date()).toLocaleDateString("en-US", {
|
|
2647
|
+
month: "long",
|
|
2648
|
+
day: "numeric",
|
|
2649
|
+
year: "numeric"
|
|
2650
|
+
});
|
|
2651
|
+
const fullSystem = `${system}
|
|
2652
|
+
|
|
2653
|
+
Current date: ${dateStr}`;
|
|
2642
2654
|
let turns = 0;
|
|
2643
2655
|
const run = async () => {
|
|
2644
2656
|
const messages = [
|
|
@@ -2692,9 +2704,6 @@ ${partial}` : "[INTERRUPTED] Agent was interrupted before producing output.",
|
|
|
2692
2704
|
onStatus: (label) => emit2({ type: "status", message: label }),
|
|
2693
2705
|
signal
|
|
2694
2706
|
});
|
|
2695
|
-
const fullSystem = `${system}
|
|
2696
|
-
|
|
2697
|
-
Current date/time: ${(/* @__PURE__ */ new Date()).toISOString().replace("T", " ").replace(/\.\d+Z$/, " UTC")}`;
|
|
2698
2707
|
try {
|
|
2699
2708
|
for await (const event of streamChatWithRetry(
|
|
2700
2709
|
{
|
|
@@ -3978,7 +3987,7 @@ var designExpertTool = {
|
|
|
3978
3987
|
},
|
|
3979
3988
|
background: {
|
|
3980
3989
|
type: "boolean",
|
|
3981
|
-
description: "Run in background \u2014 returns immediately and doesn't block while continuing to do work in the background. Reports results when finished working."
|
|
3990
|
+
description: "Run in background \u2014 returns immediately and doesn't block while continuing to do work in the background. Reports results when finished working. Only use for generating app icons."
|
|
3982
3991
|
}
|
|
3983
3992
|
},
|
|
3984
3993
|
required: ["task"]
|
package/dist/index.js
CHANGED
|
@@ -2370,6 +2370,14 @@ async function runSubAgent(config) {
|
|
|
2370
2370
|
const emit2 = (e) => {
|
|
2371
2371
|
onEvent({ ...e, parentToolId });
|
|
2372
2372
|
};
|
|
2373
|
+
const dateStr = (/* @__PURE__ */ new Date()).toLocaleDateString("en-US", {
|
|
2374
|
+
month: "long",
|
|
2375
|
+
day: "numeric",
|
|
2376
|
+
year: "numeric"
|
|
2377
|
+
});
|
|
2378
|
+
const fullSystem = `${system}
|
|
2379
|
+
|
|
2380
|
+
Current date: ${dateStr}`;
|
|
2373
2381
|
let turns = 0;
|
|
2374
2382
|
const run = async () => {
|
|
2375
2383
|
const messages = [
|
|
@@ -2423,9 +2431,6 @@ ${partial}` : "[INTERRUPTED] Agent was interrupted before producing output.",
|
|
|
2423
2431
|
onStatus: (label) => emit2({ type: "status", message: label }),
|
|
2424
2432
|
signal
|
|
2425
2433
|
});
|
|
2426
|
-
const fullSystem = `${system}
|
|
2427
|
-
|
|
2428
|
-
Current date/time: ${(/* @__PURE__ */ new Date()).toISOString().replace("T", " ").replace(/\.\d+Z$/, " UTC")}`;
|
|
2429
2434
|
try {
|
|
2430
2435
|
for await (const event of streamChatWithRetry(
|
|
2431
2436
|
{
|
|
@@ -3917,7 +3922,7 @@ Visual design expert. Describe the situation and what you need \u2014 the agent
|
|
|
3917
3922
|
},
|
|
3918
3923
|
background: {
|
|
3919
3924
|
type: "boolean",
|
|
3920
|
-
description: "Run in background \u2014 returns immediately and doesn't block while continuing to do work in the background. Reports results when finished working."
|
|
3925
|
+
description: "Run in background \u2014 returns immediately and doesn't block while continuing to do work in the background. Reports results when finished working. Only use for generating app icons."
|
|
3921
3926
|
}
|
|
3922
3927
|
},
|
|
3923
3928
|
required: ["task"]
|
|
@@ -5545,11 +5550,15 @@ function buildSystemPrompt(onboardingState, viewContext) {
|
|
|
5545
5550
|
loadSpecFileMetadata(),
|
|
5546
5551
|
loadProjectFileListing()
|
|
5547
5552
|
].filter(Boolean).join("\n");
|
|
5548
|
-
const now = (/* @__PURE__ */ new Date()).
|
|
5553
|
+
const now = (/* @__PURE__ */ new Date()).toLocaleDateString("en-US", {
|
|
5554
|
+
month: "long",
|
|
5555
|
+
day: "numeric",
|
|
5556
|
+
year: "numeric"
|
|
5557
|
+
});
|
|
5549
5558
|
const template = `
|
|
5550
5559
|
{{static/identity.md}}
|
|
5551
5560
|
|
|
5552
|
-
Current date
|
|
5561
|
+
Current date: ${now}
|
|
5553
5562
|
|
|
5554
5563
|
<platform_docs>
|
|
5555
5564
|
<platform>
|