@lynq-knowledge/knowledge-native-cli 0.4.0 → 0.5.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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -25,7 +25,7 @@ kb-graph model get --json
25
25
 
26
26
  Both commands share login settings. Output defaults to Markdown; `--json` returns structured data and next tips.
27
27
 
28
- Global npm installations silently check for updates after explicit `--help` or `-h`. A successful check or installation starts a 24-hour cooldown shared by both commands. Stable builds follow the `latest` npm tag; beta builds follow `beta`. Updates take effect on the next invocation. Project-local and npx installations keep their selected version.
28
+ Global npm installations silently check for updates only after an explicit root-command `--help` or `-h`, such as `kb --help` or `kb-graph --help`. Each attempt records a 10-minute cooldown before checking. A successful check or installation extends the cooldown to 12 hours from completion; failures keep the initial 10-minute cooldown. Both commands share the cooldown, and the next explicit root help after it expires checks again. Stable builds follow the `latest` npm tag; beta builds follow `beta`. Updates take effect on the next invocation. Project-local and npx installations keep their selected version.
29
29
 
30
30
  The update registry defaults to `https://registry.npmmirror.com`. Set `KB_CLI_REGISTRY=https://registry.npmjs.org` to use the official registry. You can also update manually:
31
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynq-knowledge/knowledge-native-cli",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Knowledge Native knowledge and graph command-line tools",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {
@@ -30,9 +30,9 @@
30
30
  "url": "git+https://github.com/Lynq93/knowledge-native.git"
31
31
  },
32
32
  "optionalDependencies": {
33
- "@lynq-knowledge/knowledge-native-cli-darwin-arm64": "0.4.0",
34
- "@lynq-knowledge/knowledge-native-cli-darwin-x64": "0.4.0",
35
- "@lynq-knowledge/knowledge-native-cli-linux-arm64": "0.4.0",
36
- "@lynq-knowledge/knowledge-native-cli-linux-x64": "0.4.0"
33
+ "@lynq-knowledge/knowledge-native-cli-darwin-arm64": "0.5.0",
34
+ "@lynq-knowledge/knowledge-native-cli-darwin-x64": "0.5.0",
35
+ "@lynq-knowledge/knowledge-native-cli-linux-arm64": "0.5.0",
36
+ "@lynq-knowledge/knowledge-native-cli-linux-x64": "0.5.0"
37
37
  }
38
38
  }