@nocobase/cli 2.1.0-beta.9 → 2.2.0-beta.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/assets/env-proxy/nginx/app.conf.tpl +23 -0
- package/assets/env-proxy/nginx/nocobase.conf.tpl +5 -0
- package/assets/env-proxy/nginx/snippets/dist-location.conf +5 -0
- package/assets/env-proxy/nginx/snippets/gzip.conf +17 -0
- package/assets/env-proxy/nginx/snippets/log-format-http.conf +13 -0
- package/assets/env-proxy/nginx/snippets/maps-http.conf +14 -0
- package/assets/env-proxy/nginx/snippets/mime-types.conf +98 -0
- package/assets/env-proxy/nginx/snippets/proxy-location.conf +17 -0
- package/assets/env-proxy/nginx/snippets/spa-location.conf +6 -0
- package/assets/env-proxy/nginx/snippets/uploads-location.conf +21 -0
- package/bin/run.cmd +3 -0
- package/bin/run.js +145 -0
- package/bin/session-env.js +39 -0
- package/dist/commands/api/resource/create.js +15 -0
- package/dist/commands/api/resource/destroy.js +15 -0
- package/dist/commands/api/resource/get.js +15 -0
- package/dist/commands/api/resource/index.js +20 -0
- package/dist/commands/api/resource/list.js +16 -0
- package/dist/commands/api/resource/query.js +15 -0
- package/dist/commands/api/resource/update.js +15 -0
- package/dist/commands/app/autostart/disable.js +55 -0
- package/dist/commands/app/autostart/enable.js +55 -0
- package/dist/commands/app/autostart/list.js +37 -0
- package/dist/commands/app/autostart/run.js +84 -0
- package/dist/commands/app/autostart/shared.js +49 -0
- package/dist/commands/app/destroy.js +234 -0
- package/dist/commands/app/down.js +71 -0
- package/dist/commands/app/logs.js +115 -0
- package/dist/commands/app/restart.js +229 -0
- package/dist/commands/app/shared.js +123 -0
- package/dist/commands/app/start.js +416 -0
- package/dist/commands/app/stop.js +183 -0
- package/dist/commands/app/upgrade.js +523 -0
- package/dist/commands/backup/create.js +147 -0
- package/dist/commands/backup/index.js +20 -0
- package/dist/commands/backup/restore.js +105 -0
- package/{src/cli.js → dist/commands/build.js} +4 -11
- package/dist/commands/config/delete.js +42 -0
- package/dist/commands/config/get.js +39 -0
- package/dist/commands/config/index.js +20 -0
- package/dist/commands/config/list.js +29 -0
- package/dist/commands/config/set.js +49 -0
- package/dist/commands/db/check.js +240 -0
- package/dist/commands/db/logs.js +85 -0
- package/dist/commands/db/ps.js +47 -0
- package/dist/commands/db/shared.js +96 -0
- package/dist/commands/db/start.js +86 -0
- package/dist/commands/db/stop.js +71 -0
- package/{templates/plugin/src/client/models/index.ts → dist/commands/dev.js} +4 -4
- package/{src/commands/locale/react-js-cron/index.js → dist/commands/down.js} +3 -8
- package/dist/commands/download.js +13 -0
- package/dist/commands/env/add.js +406 -0
- package/dist/commands/env/auth.js +189 -0
- package/dist/commands/env/current.js +21 -0
- package/dist/commands/env/info.js +202 -0
- package/dist/commands/env/list.js +43 -0
- package/dist/commands/env/remove.js +174 -0
- package/dist/commands/env/shared.js +204 -0
- package/dist/commands/env/status.js +93 -0
- package/dist/commands/env/update.js +448 -0
- package/dist/commands/env/use.js +38 -0
- package/dist/commands/examples/prompts-stages.js +150 -0
- package/dist/commands/examples/prompts-test.js +181 -0
- package/dist/commands/init.js +1390 -0
- package/dist/commands/install.js +2609 -0
- package/dist/commands/license/activate.js +179 -0
- package/dist/commands/license/env.js +94 -0
- package/dist/commands/license/generate-id.js +108 -0
- package/dist/commands/license/id.js +70 -0
- package/dist/commands/license/index.js +20 -0
- package/dist/commands/license/plugins/clean.js +115 -0
- package/dist/commands/license/plugins/index.js +20 -0
- package/dist/commands/license/plugins/list.js +64 -0
- package/dist/commands/license/plugins/shared.js +382 -0
- package/dist/commands/license/plugins/sync.js +314 -0
- package/dist/commands/license/shared.js +423 -0
- package/dist/commands/license/status.js +64 -0
- package/dist/commands/logs.js +12 -0
- package/dist/commands/plugin/disable.js +86 -0
- package/dist/commands/plugin/enable.js +86 -0
- package/dist/commands/plugin/import.js +108 -0
- package/dist/commands/plugin/list.js +82 -0
- package/dist/commands/pm/disable.js +12 -0
- package/dist/commands/pm/enable.js +12 -0
- package/dist/commands/pm/list.js +12 -0
- package/dist/commands/proxy/caddy/current.js +17 -0
- package/dist/commands/proxy/caddy/generate.js +69 -0
- package/dist/commands/proxy/caddy/index.js +28 -0
- package/dist/commands/proxy/caddy/info.js +31 -0
- package/dist/commands/proxy/caddy/reload.js +30 -0
- package/dist/commands/proxy/caddy/restart.js +28 -0
- package/dist/commands/proxy/caddy/start.js +30 -0
- package/dist/commands/proxy/caddy/status.js +19 -0
- package/dist/commands/proxy/caddy/stop.js +30 -0
- package/dist/commands/proxy/caddy/use.js +26 -0
- package/dist/commands/proxy/index.js +28 -0
- package/dist/commands/proxy/nginx/current.js +18 -0
- package/dist/commands/proxy/nginx/generate.js +68 -0
- package/dist/commands/proxy/nginx/index.js +28 -0
- package/dist/commands/proxy/nginx/info.js +34 -0
- package/dist/commands/proxy/nginx/reload.js +30 -0
- package/dist/commands/proxy/nginx/restart.js +28 -0
- package/dist/commands/proxy/nginx/start.js +30 -0
- package/dist/commands/proxy/nginx/status.js +19 -0
- package/dist/commands/proxy/nginx/stop.js +30 -0
- package/dist/commands/proxy/nginx/use.js +31 -0
- package/dist/commands/restart.js +12 -0
- package/dist/commands/revision/create.js +118 -0
- package/dist/commands/scaffold/migration.js +38 -0
- package/dist/commands/scaffold/plugin.js +37 -0
- package/dist/commands/self/check.js +71 -0
- package/dist/commands/self/index.js +20 -0
- package/dist/commands/self/update.js +152 -0
- package/dist/commands/session/id.js +24 -0
- package/dist/commands/session/remove.js +57 -0
- package/dist/commands/session/setup.js +62 -0
- package/dist/commands/skills/check.js +69 -0
- package/dist/commands/skills/index.js +20 -0
- package/dist/commands/skills/install.js +80 -0
- package/dist/commands/skills/remove.js +80 -0
- package/dist/commands/skills/update.js +87 -0
- package/dist/commands/source/build.js +58 -0
- package/dist/commands/source/dev.js +182 -0
- package/dist/commands/source/download.js +884 -0
- package/dist/commands/source/publish.js +109 -0
- package/dist/commands/source/registry/logs.js +70 -0
- package/dist/commands/source/registry/start.js +57 -0
- package/dist/commands/source/registry/status.js +33 -0
- package/dist/commands/source/registry/stop.js +48 -0
- package/dist/commands/source/test.js +476 -0
- package/dist/commands/start.js +12 -0
- package/dist/commands/stop.js +12 -0
- package/dist/commands/test.js +12 -0
- package/dist/commands/upgrade.js +12 -0
- package/dist/commands/v1.js +210 -0
- package/dist/generated/command-registry.js +134 -0
- package/dist/help/runtime-help.js +23 -0
- package/dist/lib/api-client.js +335 -0
- package/dist/lib/api-command-compat.js +641 -0
- package/dist/lib/app-health.js +139 -0
- package/dist/lib/app-managed-resources.js +337 -0
- package/dist/lib/app-public-path.js +80 -0
- package/dist/lib/app-runtime.js +189 -0
- package/dist/lib/auth-store.js +528 -0
- package/dist/lib/backup.js +171 -0
- package/dist/lib/bootstrap.js +409 -0
- package/dist/lib/build-config.js +18 -0
- package/dist/lib/builtin-db.js +86 -0
- package/dist/lib/cli-config.js +569 -0
- package/dist/lib/cli-entry-error.js +52 -0
- package/dist/lib/cli-home.js +47 -0
- package/dist/lib/cli-locale.js +141 -0
- package/dist/lib/command-discovery.js +39 -0
- package/dist/lib/command-log.js +284 -0
- package/dist/lib/db-connection-check.js +219 -0
- package/dist/lib/docker-env-file.js +60 -0
- package/dist/lib/docker-image.js +37 -0
- package/dist/lib/docker-log-stream.js +45 -0
- package/dist/lib/env-auth.js +963 -0
- package/dist/lib/env-command-config.js +45 -0
- package/dist/lib/env-config.js +108 -0
- package/dist/lib/env-guard.js +61 -0
- package/dist/lib/env-paths.js +101 -0
- package/dist/lib/env-proxy.js +1325 -0
- package/dist/lib/generated-command.js +203 -0
- package/dist/lib/http-request.js +49 -0
- package/dist/lib/inquirer-theme.js +17 -0
- package/dist/lib/inquirer.js +243 -0
- package/dist/lib/managed-env-file.js +101 -0
- package/dist/lib/managed-init-env.js +32 -0
- package/dist/lib/naming.js +70 -0
- package/dist/lib/object-utils.js +76 -0
- package/dist/lib/openapi.js +62 -0
- package/dist/lib/plugin-import.js +279 -0
- package/dist/lib/plugin-storage.js +64 -0
- package/dist/lib/post-processors.js +23 -0
- package/dist/lib/prompt-catalog-core.js +186 -0
- package/dist/lib/prompt-catalog-terminal.js +374 -0
- package/{src/index.js → dist/lib/prompt-catalog.js} +2 -6
- package/dist/lib/prompt-validators.js +278 -0
- package/dist/lib/prompt-web-ui.js +2234 -0
- package/dist/lib/proxy-caddy.js +274 -0
- package/dist/lib/proxy-nginx.js +330 -0
- package/dist/lib/resource-command.js +357 -0
- package/dist/lib/resource-request.js +104 -0
- package/dist/lib/run-npm.js +429 -0
- package/dist/lib/runtime-env-vars.js +32 -0
- package/dist/lib/runtime-generator.js +498 -0
- package/dist/lib/runtime-store.js +56 -0
- package/dist/lib/self-manager.js +301 -0
- package/dist/lib/session-id.js +17 -0
- package/dist/lib/session-integration.js +703 -0
- package/dist/lib/session-store.js +118 -0
- package/dist/lib/skills-manager.js +438 -0
- package/dist/lib/source-publish.js +326 -0
- package/dist/lib/source-registry.js +188 -0
- package/dist/lib/startup-update.js +309 -0
- package/dist/lib/ui.js +159 -0
- package/dist/locale/en-US.json +526 -0
- package/dist/locale/zh-CN.json +526 -0
- package/dist/post-processors/data-modeling.js +84 -0
- package/dist/post-processors/data-source-manager.js +138 -0
- package/dist/post-processors/index.js +19 -0
- package/nocobase-ctl.config.json +388 -0
- package/package.json +128 -24
- package/scripts/build.mjs +34 -0
- package/scripts/clean.mjs +9 -0
- package/tsconfig.json +19 -0
- package/bin/index.js +0 -39
- package/nocobase.conf.tpl +0 -95
- package/src/commands/benchmark.js +0 -73
- package/src/commands/build.js +0 -49
- package/src/commands/clean.js +0 -30
- package/src/commands/client.js +0 -166
- package/src/commands/create-nginx-conf.js +0 -37
- package/src/commands/create-plugin.js +0 -33
- package/src/commands/dev.js +0 -200
- package/src/commands/doc.js +0 -76
- package/src/commands/e2e.js +0 -265
- package/src/commands/global.js +0 -43
- package/src/commands/index.js +0 -45
- package/src/commands/instance-id.js +0 -47
- package/src/commands/locale/cronstrue.js +0 -122
- package/src/commands/locale/react-js-cron/en-US.json +0 -75
- package/src/commands/locale/react-js-cron/zh-CN.json +0 -33
- package/src/commands/locale/react-js-cron/zh-TW.json +0 -33
- package/src/commands/locale.js +0 -81
- package/src/commands/p-test.js +0 -88
- package/src/commands/perf.js +0 -63
- package/src/commands/pkg.js +0 -321
- package/src/commands/pm2.js +0 -37
- package/src/commands/postinstall.js +0 -88
- package/src/commands/start.js +0 -148
- package/src/commands/tar.js +0 -36
- package/src/commands/test-coverage.js +0 -55
- package/src/commands/test.js +0 -107
- package/src/commands/umi.js +0 -33
- package/src/commands/update-deps.js +0 -72
- package/src/commands/upgrade.js +0 -47
- package/src/commands/view-license-key.js +0 -44
- package/src/license.js +0 -76
- package/src/logger.js +0 -75
- package/src/plugin-generator.js +0 -80
- package/src/util.js +0 -517
- package/templates/bundle-status.html +0 -338
- package/templates/create-app-package.json +0 -39
- package/templates/plugin/.npmignore.tpl +0 -2
- package/templates/plugin/README.md.tpl +0 -1
- package/templates/plugin/client.d.ts +0 -2
- package/templates/plugin/client.js +0 -1
- package/templates/plugin/package.json.tpl +0 -11
- package/templates/plugin/server.d.ts +0 -2
- package/templates/plugin/server.js +0 -1
- package/templates/plugin/src/client/client.d.ts +0 -249
- package/templates/plugin/src/client/index.tsx.tpl +0 -1
- package/templates/plugin/src/client/locale.ts +0 -21
- package/templates/plugin/src/client/plugin.tsx.tpl +0 -10
- package/templates/plugin/src/index.ts +0 -2
- package/templates/plugin/src/locale/en-US.json +0 -1
- package/templates/plugin/src/locale/zh-CN.json +0 -1
- package/templates/plugin/src/server/collections/.gitkeep +0 -0
- package/templates/plugin/src/server/index.ts.tpl +0 -1
- package/templates/plugin/src/server/plugin.ts.tpl +0 -19
|
@@ -0,0 +1,526 @@
|
|
|
1
|
+
{
|
|
2
|
+
"promptCatalog": {
|
|
3
|
+
"common": {
|
|
4
|
+
"cancelled": "Cancelled.",
|
|
5
|
+
"required": "Required",
|
|
6
|
+
"mustBeInteger": "Must be an integer"
|
|
7
|
+
},
|
|
8
|
+
"preset": {
|
|
9
|
+
"required": "\"{{key}}\" is required; set a non-empty values.{{key}} or omit it to prompt.",
|
|
10
|
+
"invalidSelect": "Invalid values.{{key}}: \"{{value}}\". Expected one of: {{options}}",
|
|
11
|
+
"invalidInteger": "Invalid values.{{key}}: must be an integer."
|
|
12
|
+
},
|
|
13
|
+
"nonInteractive": {
|
|
14
|
+
"textRequired": "Non-interactive: \"{{key}}\" is required; set initialValues.{{key}}, yesInitialValues.{{key}}, yesInitialValue on the block, or initialValue.",
|
|
15
|
+
"selectMissingDefault": "Non-interactive: set initialValues.{{key}}, yesInitialValues.{{key}}, or select.initialValue / yesInitialValue / options on the catalog block.",
|
|
16
|
+
"selectInvalidValue": "Invalid value for {{key}}: {{value}}. Expected one of: {{options}}",
|
|
17
|
+
"selectRequiredNoOptions": "Select \"{{key}}\" is required but has no options.",
|
|
18
|
+
"selectRequiredInteractive": "Select \"{{key}}\" is required; set initialValues.{{key}} or select.initialValue / options on the catalog block.",
|
|
19
|
+
"selectMissingInteractiveDefault": "Select \"{{key}}\" has no valid default; set initialValues.{{key}} or options on the catalog block.",
|
|
20
|
+
"passwordRequired": "Non-interactive: \"{{key}}\" is required; set initialValues.{{key}}, yesInitialValues.{{key}}, or initialValue / yesInitialValue on the block.",
|
|
21
|
+
"passwordRequiredNonEmpty": "Non-interactive: \"{{key}}\" is required; set a non-empty initialValues / yesInitialValues / initialValue / yesInitialValue.",
|
|
22
|
+
"integerRequired": "Non-interactive: \"{{key}}\" is required; set initialValues.{{key}}, yesInitialValues.{{key}}, or initialValue / yesInitialValue on the block."
|
|
23
|
+
},
|
|
24
|
+
"web": {
|
|
25
|
+
"pageTitle": "Prompt catalog (local UI)",
|
|
26
|
+
"documentHeading": "Configure parameters (localhost only)",
|
|
27
|
+
"documentHint": "This server is only bound to the loopback interface. After submit, the CLI continues in the same terminal session.",
|
|
28
|
+
"defaultFormTitle": "Form",
|
|
29
|
+
"defaultStepTitle": "Step {{index}}",
|
|
30
|
+
"stepsAriaLabel": "Form steps",
|
|
31
|
+
"stepsSidebarAriaLabel": "Steps",
|
|
32
|
+
"stepNavigationAriaLabel": "Step navigation and submit",
|
|
33
|
+
"submitAriaLabel": "Submit",
|
|
34
|
+
"back": "Back",
|
|
35
|
+
"next": "Next",
|
|
36
|
+
"submit": "Submit & continue in terminal",
|
|
37
|
+
"showPassword": "Show password",
|
|
38
|
+
"hidePassword": "Hide password",
|
|
39
|
+
"checking": "Checking...",
|
|
40
|
+
"sending": "Sending...",
|
|
41
|
+
"successTitle": "Success",
|
|
42
|
+
"errorTitle": "Error",
|
|
43
|
+
"savedAndClosing": "Saved. This tab will close automatically in 5 seconds.",
|
|
44
|
+
"savedCloseBlocked": "Saved. Automatic close was blocked by the browser. You can close this tab now.",
|
|
45
|
+
"invalidValue": "Invalid value",
|
|
46
|
+
"invalidRequest": "Invalid request",
|
|
47
|
+
"invalidStep": "Invalid or missing wizard step.",
|
|
48
|
+
"invalidField": "Invalid or missing field key.",
|
|
49
|
+
"fieldRequired": "Field \"{{key}}\" is required.",
|
|
50
|
+
"fieldMustBeInteger": "Field \"{{key}}\" must be an integer."
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"validators": {
|
|
54
|
+
"apiBaseUrl": {
|
|
55
|
+
"invalid": "Enter a valid URL, for example {{example}}.",
|
|
56
|
+
"invalidProtocol": "URL must start with http:// or https://, for example {{example}}.",
|
|
57
|
+
"missingApiPrefix": "The API base URL must include the /api prefix, for example {{example}}.",
|
|
58
|
+
"healthCheckPathNotAllowed": "Do not include /__health_check in the API base URL. Enter the application API base URL, for example http://localhost:13000/api.",
|
|
59
|
+
"maintaining": "The API base URL is reachable, but the app is still starting or in maintenance mode. Please try again later.",
|
|
60
|
+
"healthCheckFailed": "The API base URL did not pass the health check (HTTP {{status}}). Make sure it points to a running NocoBase API endpoint.",
|
|
61
|
+
"timeout": "Timed out waiting for the API base URL health check after about {{seconds}} seconds.",
|
|
62
|
+
"unreachable": "Unable to connect to the API base URL. Check the address and make sure the server is reachable. Details: {{details}}"
|
|
63
|
+
},
|
|
64
|
+
"envKey": {
|
|
65
|
+
"invalid": "Use letters and numbers only."
|
|
66
|
+
},
|
|
67
|
+
"appPublicPath": {
|
|
68
|
+
"invalid": "Use / or a slash-separated path like /nocobase/ or /foo-bar/baz_2/. Each path segment may contain letters, numbers, hyphens, and underscores only."
|
|
69
|
+
},
|
|
70
|
+
"tcpPort": {
|
|
71
|
+
"invalid": "Enter a valid TCP port between 1 and 65535, for example {{example}}.",
|
|
72
|
+
"allocateFailed": "Failed to allocate an available TCP port.",
|
|
73
|
+
"allocateNotDockerPublished": "Failed to allocate an available TCP port that is not already published by Docker.",
|
|
74
|
+
"alreadyInUse": "Port {{port}} is already in use. Choose another port.",
|
|
75
|
+
"alreadyInUseByDocker": "Port {{port}} is already in use by a Docker container. Choose another port."
|
|
76
|
+
},
|
|
77
|
+
"dbConnection": {
|
|
78
|
+
"unreachable": "Can't reach the database at {{host}}:{{port}}. Check the host, port, and network connectivity. Details: {{details}}",
|
|
79
|
+
"timeout": "Timed out connecting to the database at {{host}}:{{port}} after about {{seconds}} seconds.",
|
|
80
|
+
"authenticationFailed": "Failed to sign in to database \"{{database}}\" with user \"{{user}}\". Check the username and password.",
|
|
81
|
+
"databaseNotFound": "Database \"{{database}}\" does not exist or is not accessible with the current connection settings.",
|
|
82
|
+
"connectionFailed": "Database connection check failed. Details: {{details}}",
|
|
83
|
+
"lowerCaseTableNamesRequiresUnderscored": "MySQL lower_case_table_names=1 requires DB_UNDERSCORED=true."
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"commands": {
|
|
87
|
+
"envAdd": {
|
|
88
|
+
"prompts": {
|
|
89
|
+
"name": {
|
|
90
|
+
"message": "What would you like to call this environment?",
|
|
91
|
+
"placeholder": "default"
|
|
92
|
+
},
|
|
93
|
+
"scope": {
|
|
94
|
+
"message": "Where should this connection be saved?",
|
|
95
|
+
"globalLabel": "Global",
|
|
96
|
+
"globalHint": "user-level config"
|
|
97
|
+
},
|
|
98
|
+
"apiBaseUrl": {
|
|
99
|
+
"message": "What is the API base URL?",
|
|
100
|
+
"placeholder": "https://demo.example.com/api or https://demo.example.com/api/__app/<subapp>"
|
|
101
|
+
},
|
|
102
|
+
"authType": {
|
|
103
|
+
"message": "Which authentication method would you like to use?",
|
|
104
|
+
"basicLabel": "Basic authentication (username + password)",
|
|
105
|
+
"basicHint": "uses your credentials to fetch a token after save",
|
|
106
|
+
"oauthLabel": "OAuth (browser authentication)",
|
|
107
|
+
"oauthHint": "runs nb env auth after save",
|
|
108
|
+
"tokenLabel": "API token / API key"
|
|
109
|
+
},
|
|
110
|
+
"username": {
|
|
111
|
+
"message": "Enter the username for basic login",
|
|
112
|
+
"placeholder": "admin"
|
|
113
|
+
},
|
|
114
|
+
"password": {
|
|
115
|
+
"message": "Enter the password for basic login"
|
|
116
|
+
},
|
|
117
|
+
"accessToken": {
|
|
118
|
+
"message": "Enter an API token or API key",
|
|
119
|
+
"placeholder": "Enter your API token / API key"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"envProxy": {
|
|
124
|
+
"messages": {
|
|
125
|
+
"generating": "Generating proxy config for env \"{{envName}}\"...",
|
|
126
|
+
"printed": "Printed proxy config for env \"{{envName}}\".",
|
|
127
|
+
"saved": "Saved generated proxy config for env \"{{envName}}\" at {{outputPath}}.",
|
|
128
|
+
"savedWithAppEntryCreated": "Saved generated proxy config for env \"{{envName}}\" at {{outputPath}}, and created editable app entry config at {{appConfigPath}}.",
|
|
129
|
+
"savedWithAppEntryMigrated": "Saved generated proxy config for env \"{{envName}}\" at {{outputPath}}, and migrated the app entry config at {{appConfigPath}}.",
|
|
130
|
+
"savedNginxBundleCreated": "Saved nginx proxy files for env \"{{envName}}\" under {{entryDir}}, and created editable app entry config at {{appConfigPath}}.",
|
|
131
|
+
"savedNginxBundleUpdated": "Saved nginx proxy files for env \"{{envName}}\" under {{entryDir}}, and refreshed editable app entry config at {{appConfigPath}}.",
|
|
132
|
+
"savedCaddyBundleCreated": "Saved caddy proxy files for env \"{{envName}}\" under {{entryDir}}, and created editable app entry config at {{appConfigPath}}.",
|
|
133
|
+
"savedCaddyBundleMigrated": "Saved caddy proxy files for env \"{{envName}}\" under {{entryDir}}, and migrated the app entry config at {{appConfigPath}}.",
|
|
134
|
+
"savedCaddyBundleUpdated": "Saved caddy proxy files for env \"{{envName}}\" under {{entryDir}}, and refreshed editable app entry config at {{appConfigPath}}.",
|
|
135
|
+
"failed": "Failed to generate proxy config for env \"{{envName}}\".",
|
|
136
|
+
"installingProvider": "Installing the shared proxy config into {{provider}}...",
|
|
137
|
+
"providerInstalled": "Installed the shared proxy config into the {{provider}} main config at {{configPath}}.",
|
|
138
|
+
"providerAlreadyInstalled": "The shared proxy config is already installed in the {{provider}} main config at {{configPath}}.",
|
|
139
|
+
"installProviderFailed": "Failed to install the shared proxy config into {{provider}}.",
|
|
140
|
+
"reloadingProvider": "Validating and reloading {{provider}}...",
|
|
141
|
+
"providerReloaded": "Validated and reloaded {{provider}}.",
|
|
142
|
+
"reloadProviderFailed": "Failed to validate and reload {{provider}}."
|
|
143
|
+
},
|
|
144
|
+
"errors": {
|
|
145
|
+
"httpEnvUnsupported": "Can't generate a proxy config for \"{{envName}}\" from this machine because the env only has an API connection.",
|
|
146
|
+
"sshEnvUnsupported": "Can't generate a proxy config for \"{{envName}}\" yet because SSH envs are not implemented.",
|
|
147
|
+
"invalidProxyPort": "Invalid proxy entry port \"{{port}}\". Use an integer between 1 and 65535.",
|
|
148
|
+
"missingAppPort": "Missing appPort for env \"{{envName}}\". Save or update the app port before generating proxy config.",
|
|
149
|
+
"missingVersion": "Couldn't determine the app version for env \"{{envName}}\". Run `nb env update {{envName}}` and try again.",
|
|
150
|
+
"appEntryMissingInclude": "The editable app entry config at {{appConfigPath}} does not reference {{generatedConfigPath}}. Add the managed generated-config reference back into the editable app entry and rerun the command.",
|
|
151
|
+
"nginxOutputUnsupported": "The nginx provider does not support `--output`. It writes `app.conf`, `public/index-v1.html`, `public/index-v2.html`, and `nocobase.conf` into `~/.nocobase/proxy/nginx/<env>/`.",
|
|
152
|
+
"caddyOutputUnsupported": "The caddy provider does not support `--output`. It writes `app.caddy`, `generated.caddy`, `public/index-v1.html`, `public/index-v2.html`, and `nocobase.caddy` into `~/.nocobase/proxy/caddy/<env>/`.",
|
|
153
|
+
"nginxAppEntryMissingManagedBlock": "The editable nginx app entry config at {{appConfigPath}} does not contain the NocoBase managed block. Restore the managed block or delete the file and rerun `nb proxy nginx generate`."
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"shared": {
|
|
157
|
+
"missingCommand": "Couldn't run `{{action}}` because the {{displayName}} executable could not be found. Install {{displayName}} or update `nb config set {{configKey}} <path>` and try again.",
|
|
158
|
+
"dockerDaemonUnavailable": "Couldn't run `{{action}}` because Docker is installed but the Docker daemon is not running. Start Docker Desktop or the Docker daemon service, then try again. Details: {{details}}",
|
|
159
|
+
"targetEnv": "Using env \"{{envName}}\".",
|
|
160
|
+
"crossEnv": {
|
|
161
|
+
"prompt": "Current env is \"{{currentEnv}}\", but this command targets \"{{requestedEnv}}\" via --env. Continue without switching the current env?",
|
|
162
|
+
"refusal": "Refusing to run against env \"{{requestedEnv}}\" because the current env is \"{{currentEnv}}\" and interactive confirmation is unavailable in the current agent session.\n\nFor safety, the agent will not switch envs automatically and will not add --yes on your behalf.\n\nTo continue:\n- run `nb env use {{requestedEnv}}` yourself and then re-run the command, or\n- re-run the same command with `--env {{requestedEnv}} --yes` to confirm this one-off cross-env operation."
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"license": {
|
|
166
|
+
"activate": {
|
|
167
|
+
"interactive": {
|
|
168
|
+
"notice": {
|
|
169
|
+
"hostnameLabel": "❯ Hostname",
|
|
170
|
+
"instanceIdLabel": "❯ Instance ID",
|
|
171
|
+
"copyHintWithHostname": "Copy this hostname and instance ID when checking or activating the license key.",
|
|
172
|
+
"copyHintWithoutHostname": "Copy this instance ID when checking or activating the license key."
|
|
173
|
+
},
|
|
174
|
+
"prompts": {
|
|
175
|
+
"provideMethod": {
|
|
176
|
+
"message": "How do you want to provide the license key?",
|
|
177
|
+
"keyOption": "Paste the license key",
|
|
178
|
+
"fileOption": "Read the key from a file"
|
|
179
|
+
},
|
|
180
|
+
"key": {
|
|
181
|
+
"message": "License key",
|
|
182
|
+
"transformer": "Entered {{count}} chars",
|
|
183
|
+
"required": "License key is required."
|
|
184
|
+
},
|
|
185
|
+
"keyFile": {
|
|
186
|
+
"message": "Path to the license key file",
|
|
187
|
+
"required": "License key file path is required."
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
"errors": {
|
|
192
|
+
"provideKeyOrKeyFile": "Provide --key or --key-file to continue.",
|
|
193
|
+
"emptyInput": "License key input was empty.",
|
|
194
|
+
"activationFailed": "Failed to activate the license for env \"{{envName}}\": {{reason}}.",
|
|
195
|
+
"reasons": {
|
|
196
|
+
"keyStatus": "license key is {{status}}",
|
|
197
|
+
"envMismatch": "license key does not match the current instance environment",
|
|
198
|
+
"domainMismatch": "license key does not match the current app domain",
|
|
199
|
+
"licenseStatus": "license status is {{status}}",
|
|
200
|
+
"validationFailed": "license validation failed"
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"messages": {
|
|
204
|
+
"activated": "Activated the license for env \"{{envName}}\".",
|
|
205
|
+
"savedLicenseKey": "Saved the license key securely for this env"
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"download": {
|
|
210
|
+
"failures": {
|
|
211
|
+
"dependencyInstall": {
|
|
212
|
+
"title": "Couldn't finish preparing the local NocoBase app.",
|
|
213
|
+
"body": "The download completed, but dependency installation did not finish successfully.",
|
|
214
|
+
"hint": "Run the same command again with `--verbose` to see the full install logs."
|
|
215
|
+
},
|
|
216
|
+
"gitClone": {
|
|
217
|
+
"title": "Couldn't download NocoBase from Git.",
|
|
218
|
+
"body": "The CLI was not able to clone the selected NocoBase repository.",
|
|
219
|
+
"hint": "Run the same command again with `--verbose` to see the full clone logs."
|
|
220
|
+
},
|
|
221
|
+
"dockerPull": {
|
|
222
|
+
"title": "Couldn't download the Docker image.",
|
|
223
|
+
"body": "The CLI was not able to pull the selected NocoBase image.",
|
|
224
|
+
"hint": "Run the same command again with `--verbose` to see the full Docker pull logs."
|
|
225
|
+
},
|
|
226
|
+
"dockerSave": {
|
|
227
|
+
"title": "The Docker image was pulled, but saving the tar file failed.",
|
|
228
|
+
"body": "The CLI could not finish exporting the image to the target tarball path.",
|
|
229
|
+
"hint": "Run the same command again with `--verbose` to see the full Docker save logs."
|
|
230
|
+
},
|
|
231
|
+
"scaffold": {
|
|
232
|
+
"title": "Couldn't create the local NocoBase app scaffold.",
|
|
233
|
+
"body": "The CLI was not able to finish generating the initial app files.",
|
|
234
|
+
"hint": "Run the same command again with `--verbose` to see the full scaffold logs."
|
|
235
|
+
},
|
|
236
|
+
"build": {
|
|
237
|
+
"title": "The local NocoBase app was downloaded, but the build step failed.",
|
|
238
|
+
"body": "The CLI could not finish building the downloaded source code.",
|
|
239
|
+
"hint": "Run the same command again with `--verbose` to see the full build logs."
|
|
240
|
+
},
|
|
241
|
+
"generic": {
|
|
242
|
+
"title": "Couldn't finish downloading NocoBase.",
|
|
243
|
+
"body": "The CLI hit an unexpected command failure while preparing the download.",
|
|
244
|
+
"hint": "Run the same command again with `--verbose` to see the full command logs."
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
"prompts": {
|
|
248
|
+
"source": {
|
|
249
|
+
"message": "How would you like to get NocoBase?",
|
|
250
|
+
"dockerLabel": "Docker install (Recommended)",
|
|
251
|
+
"dockerHint": "Best for no-code and low-maintenance setups. You can upgrade later by pulling a newer image and restarting the app.",
|
|
252
|
+
"npmLabel": "create-nocobase-app install",
|
|
253
|
+
"npmHint": "Best when you want an app project with business code kept separate from the NocoBase framework, while still supporting low-code development.",
|
|
254
|
+
"gitLabel": "Git source install",
|
|
255
|
+
"gitHint": "Best when you want to try the latest unreleased changes, contribute code, or debug and modify NocoBase source directly. This option is more developer-oriented."
|
|
256
|
+
},
|
|
257
|
+
"version": {
|
|
258
|
+
"message": "Which version would you like to use?",
|
|
259
|
+
"latestLabel": "latest",
|
|
260
|
+
"latestHint": "Stable release. Best for production use and the most predictable experience. Currently unavailable.",
|
|
261
|
+
"betaLabel": "beta",
|
|
262
|
+
"betaHint": "Preview release. Good for trying upcoming features before general release.",
|
|
263
|
+
"alphaLabel": "alpha",
|
|
264
|
+
"alphaHint": "Development release. Includes the newest changes, but may be incomplete or unstable.",
|
|
265
|
+
"otherLabel": "Other",
|
|
266
|
+
"otherHint": "Enter another package version, Docker tag, or Git ref manually, such as a branch name."
|
|
267
|
+
},
|
|
268
|
+
"otherVersion": {
|
|
269
|
+
"message": "Enter the version, Docker tag, or Git ref you want to use.",
|
|
270
|
+
"placeholder": "For example: fix/cli-v2"
|
|
271
|
+
},
|
|
272
|
+
"dockerRegistry": {
|
|
273
|
+
"message": "Which Docker registry would you like to use? The image tag is set separately in Version.",
|
|
274
|
+
"placeholder": "nocobase/nocobase"
|
|
275
|
+
},
|
|
276
|
+
"dockerPlatform": {
|
|
277
|
+
"message": "Which Docker image platform should be used?",
|
|
278
|
+
"autoLabel": "Auto",
|
|
279
|
+
"autoHint": "Use Docker default for this machine"
|
|
280
|
+
},
|
|
281
|
+
"dockerSave": {
|
|
282
|
+
"message": "Save the Docker image as a tar file"
|
|
283
|
+
},
|
|
284
|
+
"gitUrl": {
|
|
285
|
+
"message": "Git repository URL",
|
|
286
|
+
"placeholder": "https://github.com/nocobase/nocobase.git"
|
|
287
|
+
},
|
|
288
|
+
"outputDir": {
|
|
289
|
+
"message": "Download location",
|
|
290
|
+
"placeholder": "e.g. ./nocobase-latest"
|
|
291
|
+
},
|
|
292
|
+
"npmRegistry": {
|
|
293
|
+
"message": "npm registry URL (optional)",
|
|
294
|
+
"placeholder": "Leave empty to use the default registry"
|
|
295
|
+
},
|
|
296
|
+
"replace": {
|
|
297
|
+
"message": "Clear the app directory if it already contains files"
|
|
298
|
+
},
|
|
299
|
+
"devDependencies": {
|
|
300
|
+
"message": "Install development dependencies (npm only)"
|
|
301
|
+
},
|
|
302
|
+
"build": {
|
|
303
|
+
"message": "Build the app after download"
|
|
304
|
+
},
|
|
305
|
+
"buildDts": {
|
|
306
|
+
"message": "Generate TypeScript declaration files"
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
"install": {
|
|
311
|
+
"messages": {
|
|
312
|
+
"skipDownloadDockerImageMissing": "Cannot continue with `--skip-download` because Docker image \"{{imageRef}}\" is not available locally. Load or pull the image first, or run the command again without `--skip-download`.",
|
|
313
|
+
"skipDownloadLocalAppMissing": "Cannot continue with `--skip-download` because \"{{projectRoot}}\" is missing or does not contain a package.json file. Point `--app-root-path` to an existing NocoBase app, or run the command again without `--skip-download`."
|
|
314
|
+
},
|
|
315
|
+
"validation": {
|
|
316
|
+
"builtinDbUnsupported": "Built-in database does not support \"{{dialect}}\" yet. Choose PostgreSQL, MySQL, or MariaDB, or turn off built-in database."
|
|
317
|
+
},
|
|
318
|
+
"prompts": {
|
|
319
|
+
"env": {
|
|
320
|
+
"message": "What would you like to call this app?",
|
|
321
|
+
"placeholder": "local"
|
|
322
|
+
},
|
|
323
|
+
"lang": {
|
|
324
|
+
"message": "Which language would you like to use for the app?"
|
|
325
|
+
},
|
|
326
|
+
"appPath": {
|
|
327
|
+
"message": "Where should this app be stored? (relative to {{root}})",
|
|
328
|
+
"placeholder": "./<env>/"
|
|
329
|
+
},
|
|
330
|
+
"appPort": {
|
|
331
|
+
"message": "Which port should this app use?",
|
|
332
|
+
"placeholder": "13000"
|
|
333
|
+
},
|
|
334
|
+
"appPublicPath": {
|
|
335
|
+
"message": "What is the app subpath? (for example, /nocobase/)",
|
|
336
|
+
"placeholder": "/ or /nocobase/"
|
|
337
|
+
},
|
|
338
|
+
"storagePath": {
|
|
339
|
+
"message": "Where should uploads and local files be stored?",
|
|
340
|
+
"placeholder": "./<env>/storage/"
|
|
341
|
+
},
|
|
342
|
+
"dbDialect": {
|
|
343
|
+
"message": "Which database would you like to use?"
|
|
344
|
+
},
|
|
345
|
+
"builtinDb": {
|
|
346
|
+
"message": "Would you like to use the built-in database?"
|
|
347
|
+
},
|
|
348
|
+
"builtinDbImage": {
|
|
349
|
+
"message": "Which Docker image should be used for the built-in database?",
|
|
350
|
+
"placeholder": "postgres:16"
|
|
351
|
+
},
|
|
352
|
+
"dbHost": {
|
|
353
|
+
"message": "What is the database host?",
|
|
354
|
+
"placeholder": "127.0.0.1"
|
|
355
|
+
},
|
|
356
|
+
"dbPort": {
|
|
357
|
+
"message": "What is the database port?",
|
|
358
|
+
"placeholder": "5432"
|
|
359
|
+
},
|
|
360
|
+
"dbDatabase": {
|
|
361
|
+
"message": "What is the database name?"
|
|
362
|
+
},
|
|
363
|
+
"dbUser": {
|
|
364
|
+
"message": "What is the database username?"
|
|
365
|
+
},
|
|
366
|
+
"dbPassword": {
|
|
367
|
+
"message": "What is the database password?"
|
|
368
|
+
},
|
|
369
|
+
"dbSchema": {
|
|
370
|
+
"message": "What is the database schema? (PostgreSQL only, optional)",
|
|
371
|
+
"placeholder": "Leave empty to use the default schema"
|
|
372
|
+
},
|
|
373
|
+
"dbTablePrefix": {
|
|
374
|
+
"message": "What table prefix should be used? (optional)",
|
|
375
|
+
"placeholder": "For example: nb_"
|
|
376
|
+
},
|
|
377
|
+
"dbUnderscored": {
|
|
378
|
+
"message": "Use underscored names for database tables and columns?"
|
|
379
|
+
},
|
|
380
|
+
"rootUsername": {
|
|
381
|
+
"message": "Choose the initial admin username",
|
|
382
|
+
"placeholder": "nocobase"
|
|
383
|
+
},
|
|
384
|
+
"rootEmail": {
|
|
385
|
+
"message": "What is the initial admin email?",
|
|
386
|
+
"placeholder": "admin@nocobase.com"
|
|
387
|
+
},
|
|
388
|
+
"rootPassword": {
|
|
389
|
+
"message": "Choose the initial admin password"
|
|
390
|
+
},
|
|
391
|
+
"rootNickname": {
|
|
392
|
+
"message": "What display name should the initial admin use?",
|
|
393
|
+
"placeholder": "Super Admin"
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
"init": {
|
|
398
|
+
"validation": {
|
|
399
|
+
"envExists": "Env \"{{envName}}\" already exists. Choose another env name."
|
|
400
|
+
},
|
|
401
|
+
"messages": {
|
|
402
|
+
"title": "Set up NocoBase for coding agents",
|
|
403
|
+
"appNameRequiredWhenSkipped": "Env name is required when prompts are skipped.",
|
|
404
|
+
"appNameEnvHelp": "Use `nb init --yes --env <envName>` to continue.",
|
|
405
|
+
"resumeEnvRequired": "Env name is required when resuming setup.",
|
|
406
|
+
"resumeEnvHelp": "Use `nb init --resume --env <envName>` to continue.",
|
|
407
|
+
"resumeAfterInstallFailure": "Resume this setup with:\n {{command}}",
|
|
408
|
+
"uiOpening": "A local setup form will open in your browser. That form needs a person to fill it in. If you are using an AI agent, do not stop this process while the CLI waits for the submission.",
|
|
409
|
+
"uiReady": "Local setup form is ready.",
|
|
410
|
+
"uiReadyHelp": "If your browser does not open automatically, copy the URL below into your browser to continue. Keep this terminal session running while the CLI waits for the submission.",
|
|
411
|
+
"uiOpenBrowserFallback": "We could not open your browser automatically. Copy the URL above into your browser to continue setup, and keep this terminal session running. If you are using an AI agent, do not stop the current process.",
|
|
412
|
+
"skillsSyncRegistryUnavailable": "Couldn't reach the npm registry to sync NocoBase AI coding skills. Skipping skills install and continuing init. Run `nb skills install` later when registry access is available."
|
|
413
|
+
},
|
|
414
|
+
"prompts": {
|
|
415
|
+
"appName": {
|
|
416
|
+
"message": "What should this environment use for `--env`?",
|
|
417
|
+
"placeholder": "local"
|
|
418
|
+
},
|
|
419
|
+
"setupMode": {
|
|
420
|
+
"message": "How would you like to set up this environment?",
|
|
421
|
+
"installNewLabel": "Install a new app",
|
|
422
|
+
"installNewHint": "Install a brand-new app from scratch. Best for first-time setup, evaluation, or a fresh local environment.",
|
|
423
|
+
"manageLocalLabel": "Manage an app already on this machine",
|
|
424
|
+
"manageLocalHint": "Bring an app on this machine under nb management so install, upgrade, and startup can be handled in one place. During takeover, nb will re-download the app source or image and upgrade the app; storage will be created automatically when needed.",
|
|
425
|
+
"connectRemoteLabel": "Connect a remote app",
|
|
426
|
+
"connectRemoteHint": "Save only the remote app connection. Nothing will be installed or taken over on this machine."
|
|
427
|
+
},
|
|
428
|
+
"installSkills": {
|
|
429
|
+
"message": "Install NocoBase AI coding skills (nocobase/skills)?"
|
|
430
|
+
},
|
|
431
|
+
"apiBaseUrl": {
|
|
432
|
+
"message": "API base URL",
|
|
433
|
+
"placeholder": "https://demo.example.com/api or https://demo.example.com/api/__app/<subapp>"
|
|
434
|
+
},
|
|
435
|
+
"skipDownload": {
|
|
436
|
+
"message": "Skip downloading NocoBase and reuse existing local app files or Docker images"
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
"webUi": {
|
|
440
|
+
"pageTitle": "Set up NocoBase for coding agents",
|
|
441
|
+
"documentHeading": "Set up NocoBase for coding agents",
|
|
442
|
+
"documentHint": "Install a new app, manage one that already exists on this machine, or connect a remote app so coding agents can access and work with NocoBase.",
|
|
443
|
+
"gettingStarted": {
|
|
444
|
+
"title": "Getting started",
|
|
445
|
+
"description": "Choose whether to install a new app, manage a local app, or connect a remote app."
|
|
446
|
+
},
|
|
447
|
+
"connectExistingApp": {
|
|
448
|
+
"title": "Connection & authentication",
|
|
449
|
+
"description": "Enter the app access URL and choose an authentication method."
|
|
450
|
+
},
|
|
451
|
+
"createNewApp": {
|
|
452
|
+
"title": "App environment",
|
|
453
|
+
"description": "Set the app basics, storage location, and runtime port."
|
|
454
|
+
},
|
|
455
|
+
"downloadAppFiles": {
|
|
456
|
+
"title": "App source and version",
|
|
457
|
+
"description": "Choose how to get the app and which source and version to use."
|
|
458
|
+
},
|
|
459
|
+
"configureDatabase": {
|
|
460
|
+
"title": "Configure the database",
|
|
461
|
+
"description": "Use built-in or custom."
|
|
462
|
+
},
|
|
463
|
+
"createAdminAccount": {
|
|
464
|
+
"title": "Create an admin account",
|
|
465
|
+
"description": "Set up the first admin."
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
"env": {
|
|
470
|
+
"messages": {
|
|
471
|
+
"noEnvsConfigured": "No envs configured.",
|
|
472
|
+
"noEnvsConfiguredHelp": "Run `nb init --ui` to create one first."
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
"apiCommandCompat": {
|
|
477
|
+
"refusalTitle": "Refusing to run `nb api {{commandId}}` because the current CLI version is {{cliVersion}} while the target app version is {{appVersion}}.",
|
|
478
|
+
"refusalTitleMissingVersion": "Refusing to run `nb api {{commandId}}` because the {{versionLabel}} is unavailable.",
|
|
479
|
+
"refusalTitleGeneric": "Refusing to run `nb api {{commandId}}` because the current version combination is not compatible.",
|
|
480
|
+
"currentVersionsLine": "Current versions: {{versions}}.",
|
|
481
|
+
"refusalBodyWithRequirements": "This API command is blocked when used with {{requirements}}.",
|
|
482
|
+
"refusalBody": "This API command may not be compatible with the current CLI and app version combination.",
|
|
483
|
+
"channel": {
|
|
484
|
+
"stable": "stable",
|
|
485
|
+
"beta": "beta",
|
|
486
|
+
"alpha": "alpha",
|
|
487
|
+
"rc": "rc",
|
|
488
|
+
"unknownPrerelease": "unsupported prerelease"
|
|
489
|
+
},
|
|
490
|
+
"requirement": {
|
|
491
|
+
"cli": "CLI version {{condition}}",
|
|
492
|
+
"app": "app version {{condition}}",
|
|
493
|
+
"skills": "NocoBase AI skills version {{condition}}",
|
|
494
|
+
"appChannel": "{{channelLabel}} app version {{condition}}",
|
|
495
|
+
"appUnknownPrereleaseBlocked": "{{channelLabel}} app versions are blocked"
|
|
496
|
+
},
|
|
497
|
+
"currentVersion": {
|
|
498
|
+
"cli": "CLI {{version}}",
|
|
499
|
+
"app": "app {{version}}",
|
|
500
|
+
"appUnavailable": "app unavailable",
|
|
501
|
+
"skills": "NocoBase AI skills {{version}}",
|
|
502
|
+
"skillsUnavailable": "NocoBase AI skills unavailable"
|
|
503
|
+
},
|
|
504
|
+
"versionLabel": {
|
|
505
|
+
"cli": "CLI version",
|
|
506
|
+
"app": "target app version",
|
|
507
|
+
"skills": "installed NocoBase AI skills version"
|
|
508
|
+
},
|
|
509
|
+
"join": {
|
|
510
|
+
"two": "{{left}} and {{right}}",
|
|
511
|
+
"many": "{{head}}, and {{tail}}"
|
|
512
|
+
},
|
|
513
|
+
"continueTitle": "To continue:",
|
|
514
|
+
"continueUpgradeApp": "- upgrade the app to a compatible version",
|
|
515
|
+
"continueUpgradeAppToVersion": "- upgrade the app to {{suggestedUpgradeTarget}}",
|
|
516
|
+
"continueUseSupportedAppVersion": "- use a supported app version: {{supportedTargets}}",
|
|
517
|
+
"continueRefreshAppVersion": "- refresh the target env runtime so the current app version can be detected, then retry",
|
|
518
|
+
"continueUseCompatibleCli": "- or use a compatible CLI version",
|
|
519
|
+
"continueUseCompatibleCliVersion": "- or use a CLI version {{suggestedCliTarget}}",
|
|
520
|
+
"continueUpdateSkillsToVersion": "- install or update the NocoBase AI coding skills to {{suggestedSkillsUpgradeTarget}}. Run `nb skills update --yes` to refresh the managed skills.",
|
|
521
|
+
"continueUseCompatibleSkillsVersion": "- or use a NocoBase AI skills version {{suggestedSkillsTarget}}",
|
|
522
|
+
"continueInstallOrUpdateSkillsToVersion": "- run `nb skills install --yes` or `nb skills update --yes`, and make sure the managed skills version is {{suggestedSkillsUpgradeTarget}} before retrying",
|
|
523
|
+
"continueInstallOrUpdateSkills": "- run `nb skills install --yes` or `nb skills update --yes`, then retry once the managed skills version is available",
|
|
524
|
+
"supportedAppTarget": "{{channelLabel}} {{target}}"
|
|
525
|
+
}
|
|
526
|
+
}
|