@mercury-fw/cli 0.65.0 → 0.65.1
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 +10 -0
- package/package.json +5 -5
- package/src/render.ts +3 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @mercury-fw/cli
|
|
2
2
|
|
|
3
|
+
## 0.65.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 9b2e1bf: - `mfw create`: the comment above the config's `version` and the app's README say what it shows, and no longer how to move the number: that's the app's own business.
|
|
8
|
+
- The `version` field's description says Mercury never changes it, with no advice on who does.
|
|
9
|
+
- Updated dependencies [9b2e1bf]
|
|
10
|
+
- @mercury-fw/core@0.65.1
|
|
11
|
+
- @mercury-fw/utils@0.65.1
|
|
12
|
+
|
|
3
13
|
## 0.65.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mercury-fw/cli",
|
|
3
|
-
"version": "0.65.
|
|
3
|
+
"version": "0.65.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -41,17 +41,17 @@
|
|
|
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.65.
|
|
45
|
-
"@mercury-fw/utils": "0.65.
|
|
44
|
+
"@mercury-fw/core": "0.65.1",
|
|
45
|
+
"@mercury-fw/utils": "0.65.1",
|
|
46
46
|
"commander": "^15.0.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@mercury-fw/auth-oidc": "0.2.1",
|
|
50
50
|
"@mercury-fw/auth-static": "0.2.2",
|
|
51
51
|
"@mercury-fw/channel-google-chat": "0.11.1",
|
|
52
|
-
"@mercury-fw/channel-http": "0.14.
|
|
52
|
+
"@mercury-fw/channel-http": "0.14.1",
|
|
53
53
|
"@mercury-fw/directory-static": "0.1.2",
|
|
54
|
-
"@mercury-fw/formatter": "0.65.
|
|
54
|
+
"@mercury-fw/formatter": "0.65.1",
|
|
55
55
|
"@mercury-fw/plugin-atlassian-admin": "0.5.1",
|
|
56
56
|
"@mercury-fw/plugin-bitbucket": "0.6.1",
|
|
57
57
|
"@mercury-fw/plugin-confluence": "0.1.0",
|
package/src/render.ts
CHANGED
|
@@ -58,9 +58,8 @@ const CORE_ENV: EnvVar[] = [
|
|
|
58
58
|
/** Above the config's `version`: what it does, and what it doesn't. */
|
|
59
59
|
const VERSION_COMMENT = [
|
|
60
60
|
" // The app's version, from package.json: GET /version shows it next to the",
|
|
61
|
-
" // framework's, to anyone (no token). Mercury never
|
|
62
|
-
" //
|
|
63
|
-
" // line to show none.",
|
|
61
|
+
" // framework's, to anyone (no token). Mercury never changes it, and a new",
|
|
62
|
+
" // one shows once the app is rebuilt. Remove this line to show none.",
|
|
64
63
|
].join("\n");
|
|
65
64
|
|
|
66
65
|
const CONFIG_HEADER = `/**
|
|
@@ -432,7 +431,7 @@ ${auth ? `- Auth: ${auth.id}\n` : ""}- Tool plugins: ${list(tools)}
|
|
|
432
431
|
${directory ? `- Directory: ${directory.id}\n` : ""}
|
|
433
432
|
## Layout
|
|
434
433
|
|
|
435
|
-
- \`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. Its \`version\` is the one in \`package.json\`, which the HTTP channel's \`GET /version\` shows to anyone, no token needed: Mercury never
|
|
434
|
+
- \`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. Its \`version\` is the one in \`package.json\`, which the HTTP channel's \`GET /version\` shows to anyone, no token needed: Mercury never changes it, and a new one shows once the app is rebuilt. Remove the line to show none.
|
|
436
435
|
- \`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.
|
|
437
436
|
- \`src/index.ts\`: the service (channels, crons). \`src/repl.ts\`: an interactive terminal for trying things out.
|
|
438
437
|
- \`plugins/\`: the app's own plugins, when it has any: each one a package in a folder of its own (\`plugins/<name>\`, a workspace), listed in \`dependencies\` as \`workspace:*\` and declared in \`mercury.config.ts\`. \`bun run test\` runs their tests.
|