@ouro.bot/cli 0.1.0-alpha.910 → 0.1.0-alpha.911
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
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.911",
|
|
6
|
+
"changes": [
|
|
7
|
+
"The Butler can set a wake time on an await with any ISO timestamp that names its time zone, such as 2026-10-12T12:09:00Z; it is stored in canonical form instead of being refused."
|
|
8
|
+
]
|
|
9
|
+
},
|
|
4
10
|
{
|
|
5
11
|
"version": "0.1.0-alpha.910",
|
|
6
12
|
"changes": [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0"?>
|
|
2
2
|
<Container version="2">
|
|
3
3
|
<Name>ouro-butler</Name>
|
|
4
|
-
<Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.
|
|
4
|
+
<Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.911</Repository>
|
|
5
5
|
<Registry>https://github.com/ourostack/ouroboros/pkgs/container/ouroboros-butler</Registry>
|
|
6
6
|
<Network>host</Network>
|
|
7
7
|
<Shell>sh</Shell>
|
|
@@ -357,9 +357,11 @@ function fileAwait(args, agentRoot, agentName, sessionFriendId, sessionChannel,
|
|
|
357
357
|
if (!args.cadence || !args.cadence.trim()) {
|
|
358
358
|
return JSON.stringify({ error: "cadence is required" });
|
|
359
359
|
}
|
|
360
|
-
|
|
361
|
-
|
|
360
|
+
// Any ISO timestamp with a zone is accepted and stored in canonical form ("2026-10-12T12:09:00Z" becomes "...:00.000Z"); the alpha.910 replay refused four valid forms in a row.
|
|
361
|
+
if (args.wake_at && (!/(?:Z|[+-]\d\d:?\d\d)$/i.test(args.wake_at) || !Number.isFinite(Date.parse(args.wake_at)))) {
|
|
362
|
+
return JSON.stringify({ error: "wake_at must be an ISO timestamp with a time zone, like 2026-10-12T12:09:00Z" });
|
|
362
363
|
}
|
|
364
|
+
const wakeAt = args.wake_at ? new Date(args.wake_at).toISOString() : null;
|
|
363
365
|
const filePath = awaitFilePath(agentRoot, args.name);
|
|
364
366
|
if (fs.existsSync(filePath)) {
|
|
365
367
|
return JSON.stringify({ error: `await "${args.name}" already exists` });
|
|
@@ -372,7 +374,7 @@ function fileAwait(args, agentRoot, agentName, sessionFriendId, sessionChannel,
|
|
|
372
374
|
alert,
|
|
373
375
|
mode,
|
|
374
376
|
max_age: typeof args.max_age === "string" ? (0, session_events_1.capStructuredRecordString)(args.max_age) : null,
|
|
375
|
-
wake_at:
|
|
377
|
+
wake_at: wakeAt,
|
|
376
378
|
status: "pending",
|
|
377
379
|
created_at: new Date().toISOString(),
|
|
378
380
|
filed_from: sessionChannel ?? "unknown",
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ouro.bot/cli",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.911",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@ouro.bot/cli",
|
|
9
|
-
"version": "0.1.0-alpha.
|
|
9
|
+
"version": "0.1.0-alpha.911",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@anthropic-ai/sdk": "^0.78.0",
|
|
12
12
|
"@azure/identity": "^4.13.0",
|