worktrust 0.10.5 → 0.10.6
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/log-session.mjs +3 -2
- package/package.json +1 -1
- package/worktrust.mjs +1 -1
package/log-session.mjs
CHANGED
|
@@ -124,11 +124,12 @@ const IDLE_BEFORE_SWEEP = 30 * 60 * 1000;
|
|
|
124
124
|
/** Under a minute is not a piece of work. */
|
|
125
125
|
const MIN_SECONDS = 60;
|
|
126
126
|
/**
|
|
127
|
-
* The door's own ceiling for one stretch
|
|
127
|
+
* The door's own ceiling for one MEASURED stretch: sixteen hours since 0.10.6 (owner, 2026-10-09; it was eight). Every
|
|
128
|
+
* second of it lies between two messages at most five minutes apart. A day past it is reported SHORT: under-reporting is the
|
|
128
129
|
* safe direction. Stretches are split by DAY, which is a boundary the clock draws — never by
|
|
129
130
|
* guessing where one piece of work ended and the next began.
|
|
130
131
|
*/
|
|
131
|
-
const MAX_SECONDS =
|
|
132
|
+
const MAX_SECONDS = 57600;
|
|
132
133
|
/** The door's ceilings for the layers (a day) and for a day's subagents: the same bounds its columns check. */
|
|
133
134
|
const DAY_SECONDS = 86400;
|
|
134
135
|
/** A tool gap is tool time up to thirty minutes (proposed, owner 2026-10-06); past that it is a wait, counted as idle. */
|
package/package.json
CHANGED
package/worktrust.mjs
CHANGED
|
@@ -73,7 +73,7 @@ const command = args.find((arg, at) => !arg.startsWith("--") && !(at > 0 && VALU
|
|
|
73
73
|
const flag = (name) => { const at = args.indexOf(`--${name}`); return at >= 0 ? args[at + 1] : undefined; };
|
|
74
74
|
const has = (name) => args.includes(`--${name}`);
|
|
75
75
|
/** This CLI's version, said to the door so the app can tell which computer runs an old one (check-cli-package holds it equal to package.json). */
|
|
76
|
-
const CLI_VERSION = "0.10.
|
|
76
|
+
const CLI_VERSION = "0.10.6";
|
|
77
77
|
const ORIGIN = (flag("origin") ?? process.env.WORKTRUST_ORIGIN ?? "https://app.worktrust.io").replace(/\/$/, "");
|
|
78
78
|
const MCP = flag("url") ?? process.env.WORKTRUST_MCP_URL ?? `${ORIGIN}/api/mcp`;
|
|
79
79
|
const HOME_DIR = join(homedir(), ".worktrust");
|