@ouro.bot/cli 0.1.0-alpha.337 → 0.1.0-alpha.338
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/changelog.json +6 -0
- package/dist/mind/prompt.js +5 -1
- package/package.json +1 -1
package/changelog.json
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_note": "This changelog is maintained as part of the PR/version-bump workflow. Agent-curated, not auto-generated. Agents read this file directly via read_file to understand what changed between versions.",
|
|
3
3
|
"versions": [
|
|
4
|
+
{
|
|
5
|
+
"version": "0.1.0-alpha.338",
|
|
6
|
+
"changes": [
|
|
7
|
+
"fix(mind): instruct agent not to echo timestamp tags in responses"
|
|
8
|
+
]
|
|
9
|
+
},
|
|
4
10
|
{
|
|
5
11
|
"version": "0.1.0-alpha.337",
|
|
6
12
|
"changes": [
|
package/dist/mind/prompt.js
CHANGED
|
@@ -476,7 +476,11 @@ function dateSection() {
|
|
|
476
476
|
const parts = Object.fromEntries(fmt.formatToParts(now).map((p) => [p.type, p.value]));
|
|
477
477
|
/* v8 ignore next -- Intl hour-24 bug only triggers at midnight @preserve */
|
|
478
478
|
const hour = parts.hour === "24" ? "00" : parts.hour;
|
|
479
|
-
|
|
479
|
+
const datetime = `${parts.year}-${parts.month}-${parts.day} ${hour}:${parts.minute} ${parts.timeZoneName}`;
|
|
480
|
+
return [
|
|
481
|
+
`current date and time: ${datetime}`,
|
|
482
|
+
"messages in conversations may have a relative-time tag like [-5m] or [-2h] prepended to their content. these indicate how long ago each message was sent relative to now. they are metadata for your orientation only — never echo or reproduce them in your responses.",
|
|
483
|
+
].join("\n");
|
|
480
484
|
}
|
|
481
485
|
function uniqueToolsByName(tools) {
|
|
482
486
|
const seen = new Set();
|