@mercury-fw/cli 0.54.0 → 0.56.0
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.md +29 -0
- package/package.json +11 -11
- package/src/render.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# @mercury-fw/cli
|
|
2
2
|
|
|
3
|
+
## 0.56.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1126106: Every turn tells the model when and where the person wrote it.
|
|
8
|
+
|
|
9
|
+
- Each message reaches the model after a line with the weekday, date, time and time zone it was written in (`[Wednesday 2026-10-21 14:32 Europe/Rome]`), and the system prompt says what that line is. The conversation's archive and what a UI shows of it keep the message as written.
|
|
10
|
+
- A resumed conversation's messages come back stamped from the archive's timestamps.
|
|
11
|
+
- The Layer 1 summary keeps when things were said; the episodic summary quotes a date only from those lines, never guessing one. The semantic-fact extractor and the capture card's preview leave the line out.
|
|
12
|
+
- The time zone, always an IANA name (`Europe/Rome`), is the one the person saved, else the one their client is in when the channel passes it on, else the new `i18n.timeZone` in `mercury.config.ts`, else the machine's. A `timeZone` that isn't a zone's name stops the start.
|
|
13
|
+
- The person saves theirs by telling the assistant (the new `set_time_zone` tool), or from a channel's settings.
|
|
14
|
+
- Channel contract: `InboundTurn.timeZoneHint`, and `ctx.settings.setTimeZone` for a channel with a settings area; `reads.me` also returns the saved `timeZone`. Both are optional additions: the contract version stays 6.
|
|
15
|
+
- HTTP channel: the `X-Time-Zone` header on `POST /turn` (allowed by CORS), `timeZone` in `GET /me`, and `PATCH /me` with `{ timeZone }` to save it. Needs the framework at 0.56 or later; an older core ignores the header and offers no `PATCH /me`.
|
|
16
|
+
- Google Chat channel: the client's time zone (`common.timeZone`), when the event carries it, on messages and on the turn a click resumes.
|
|
17
|
+
|
|
18
|
+
To set a default for an app's people, add `timeZone: "Europe/Rome"` (their zone) to `i18n` in `mercury.config.ts`; without it the machine's zone is used, often UTC inside a container.
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [1126106]
|
|
21
|
+
- @mercury-fw/core@0.56.0
|
|
22
|
+
- @mercury-fw/utils@0.56.0
|
|
23
|
+
|
|
24
|
+
## 0.55.0
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Updated dependencies [eac72fa]
|
|
29
|
+
- @mercury-fw/core@0.55.0
|
|
30
|
+
- @mercury-fw/utils@0.55.0
|
|
31
|
+
|
|
3
32
|
## 0.54.0
|
|
4
33
|
|
|
5
34
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mercury-fw/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.56.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -41,22 +41,22 @@
|
|
|
41
41
|
"comment:shape": "The Mercury CLI (`mfw`). `mfw create <dir>` writes a new Mercury app from the template. The framework packages move in lockstep with it, so a new app gets them at the CLI's own version; plugins and channels at the registry's latest. The plugin and channel packages are devDependencies only for the catalog test. `main(argv)` is exported for create-mercury-agent.",
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@clack/prompts": "^1.8.1",
|
|
44
|
-
"@mercury-fw/core": "0.
|
|
45
|
-
"@mercury-fw/utils": "0.
|
|
44
|
+
"@mercury-fw/core": "0.56.0",
|
|
45
|
+
"@mercury-fw/utils": "0.56.0",
|
|
46
46
|
"commander": "^15.0.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@mercury-fw/auth-oidc": "0.2.0",
|
|
50
50
|
"@mercury-fw/auth-static": "0.2.1",
|
|
51
|
-
"@mercury-fw/channel-google-chat": "0.
|
|
52
|
-
"@mercury-fw/channel-http": "0.
|
|
51
|
+
"@mercury-fw/channel-google-chat": "0.10.0",
|
|
52
|
+
"@mercury-fw/channel-http": "0.12.0",
|
|
53
53
|
"@mercury-fw/directory-static": "0.1.1",
|
|
54
|
-
"@mercury-fw/formatter": "0.
|
|
55
|
-
"@mercury-fw/plugin-atlassian-admin": "0.
|
|
56
|
-
"@mercury-fw/plugin-bitbucket": "0.
|
|
57
|
-
"@mercury-fw/plugin-jira": "0.
|
|
58
|
-
"@mercury-fw/plugin-web-search": "0.
|
|
59
|
-
"@mercury-fw/plugin-zitadel": "0.
|
|
54
|
+
"@mercury-fw/formatter": "0.56.0",
|
|
55
|
+
"@mercury-fw/plugin-atlassian-admin": "0.5.0",
|
|
56
|
+
"@mercury-fw/plugin-bitbucket": "0.6.0",
|
|
57
|
+
"@mercury-fw/plugin-jira": "0.8.0",
|
|
58
|
+
"@mercury-fw/plugin-web-search": "0.3.0",
|
|
59
|
+
"@mercury-fw/plugin-zitadel": "0.5.0",
|
|
60
60
|
"@mercury-fw/typescript-config": "*",
|
|
61
61
|
"@mercury-fw/web-search-searxng": "0.1.0",
|
|
62
62
|
"@types/bun": "^1.4.2",
|
package/src/render.ts
CHANGED
|
@@ -416,7 +416,7 @@ ${directory ? `- Directory: ${directory.id}\n` : ""}
|
|
|
416
416
|
## Layout
|
|
417
417
|
|
|
418
418
|
- \`mercury.config.ts\`: what the app is made of (tool plugins, channels, how their lists read) and the assistant's persona: its name, who it is and how it answers. Edit them freely.
|
|
419
|
-
- \`locales/\`: the texts people see, one file per language the assistant speaks. \`en.json\` overrides the English ones; add \`it.json\` (and \`it\` to \`i18n.locales\` in the config) for Italian, \`i18n.defaultLocale\` for the language people get when they haven't picked one. The app's own texts (a formatter rule's) are \`app.\` keys, written in English in \`en.json\` and translated in every other file. Mercury logs at startup the keys a file is missing.
|
|
419
|
+
- \`locales/\`: the texts people see, one file per language the assistant speaks. \`en.json\` overrides the English ones; add \`it.json\` (and \`it\` to \`i18n.locales\` in the config) for Italian, \`i18n.defaultLocale\` for the language people get when they haven't picked one, \`i18n.timeZone\` (an IANA name such as \`Europe/Rome\`) for the time zone of whoever saved none and whose app says none. The app's own texts (a formatter rule's) are \`app.\` keys, written in English in \`en.json\` and translated in every other file. Mercury logs at startup the keys a file is missing.
|
|
420
420
|
- \`src/index.ts\`: the service (channels, crons). \`src/repl.ts\`: an interactive terminal for trying things out.
|
|
421
421
|
- \`.env.example\`: every variable the app reads. Copy it to \`.env\` and fill it in.
|
|
422
422
|
|