@arbidocs/cli 0.5.142 → 0.5.144
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 +16 -1
- package/dist/index.js +8 -8
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v0.5.144
|
|
4
|
+
|
|
5
|
+
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.5.143...HEAD)
|
|
6
|
+
|
|
7
|
+
### 🩹 Fixes
|
|
8
|
+
|
|
9
|
+
- **react:** Read the user settings fresh online, not from the persisted cache ([#2403](https://github.com/arbicity/ARBI-frontend/pull/2403))
|
|
10
|
+
|
|
11
|
+
## v0.5.143
|
|
12
|
+
|
|
13
|
+
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.5.142...HEAD)
|
|
14
|
+
|
|
15
|
+
### 🚀 Enhancements
|
|
16
|
+
|
|
17
|
+
- **blocks:** Approval requests decided on database rows ([#2401](https://github.com/arbicity/ARBI-frontend/pull/2401))
|
|
18
|
+
|
|
3
19
|
## v0.5.142
|
|
4
20
|
|
|
5
21
|
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.5.141...v0.5.142)
|
|
@@ -8,7 +24,6 @@
|
|
|
8
24
|
|
|
9
25
|
- CLI: flush stdout and stderr before exiting (JSON over a pipe was cut at 64 KiB) (#2399) ([dd2b80af0](https://github.com/arbicity/ARBI-frontend/commit/dd2b80af0c749521e6fdb33ce386efed0c3392a5))
|
|
10
26
|
|
|
11
|
-
|
|
12
27
|
## v0.5.141
|
|
13
28
|
|
|
14
29
|
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.5.140...HEAD)
|
package/dist/index.js
CHANGED
|
@@ -3700,7 +3700,7 @@ function getLatestVersion(skipCache = false) {
|
|
|
3700
3700
|
}
|
|
3701
3701
|
}
|
|
3702
3702
|
function getCurrentVersion() {
|
|
3703
|
-
return "0.5.
|
|
3703
|
+
return "0.5.144";
|
|
3704
3704
|
}
|
|
3705
3705
|
function readChangelog(fromVersion, toVersion) {
|
|
3706
3706
|
try {
|
|
@@ -3753,17 +3753,17 @@ function showChangelog(fromVersion, toVersion) {
|
|
|
3753
3753
|
async function checkForUpdates(autoUpdate) {
|
|
3754
3754
|
try {
|
|
3755
3755
|
const latest = getLatestVersion();
|
|
3756
|
-
if (!latest || latest === "0.5.
|
|
3756
|
+
if (!latest || latest === "0.5.144") return;
|
|
3757
3757
|
if (autoUpdate) {
|
|
3758
3758
|
warn(`
|
|
3759
|
-
Your arbi version is out of date (${"0.5.
|
|
3759
|
+
Your arbi version is out of date (${"0.5.144"} \u2192 ${latest}). Updating...`);
|
|
3760
3760
|
child_process.execSync("npm install -g @arbidocs/cli@latest", { stdio: "inherit" });
|
|
3761
|
-
showChangelog("0.5.
|
|
3761
|
+
showChangelog("0.5.144", latest);
|
|
3762
3762
|
console.log(`Updated to ${latest}.`);
|
|
3763
3763
|
} else {
|
|
3764
3764
|
warn(
|
|
3765
3765
|
`
|
|
3766
|
-
Your arbi version is out of date (${"0.5.
|
|
3766
|
+
Your arbi version is out of date (${"0.5.144"} \u2192 ${latest}).
|
|
3767
3767
|
Run "arbi update" to upgrade, or "arbi update auto" to always stay up to date.`
|
|
3768
3768
|
);
|
|
3769
3769
|
}
|
|
@@ -3795,10 +3795,10 @@ function markNagShown(latest) {
|
|
|
3795
3795
|
function hintUpdateOnError() {
|
|
3796
3796
|
try {
|
|
3797
3797
|
const cached = readCache();
|
|
3798
|
-
if (!cached || cached.latest === "0.5.
|
|
3798
|
+
if (!cached || cached.latest === "0.5.144") return;
|
|
3799
3799
|
if (!shouldShowNag(cached.latest)) return;
|
|
3800
3800
|
warn(
|
|
3801
|
-
`Your arbi version is out of date (${"0.5.
|
|
3801
|
+
`Your arbi version is out of date (${"0.5.144"} \u2192 ${cached.latest}). Run "arbi update".`
|
|
3802
3802
|
);
|
|
3803
3803
|
markNagShown(cached.latest);
|
|
3804
3804
|
} catch {
|
|
@@ -12705,7 +12705,7 @@ console.info = (...args) => {
|
|
|
12705
12705
|
_origInfo(...args);
|
|
12706
12706
|
};
|
|
12707
12707
|
var program = new commander.Command();
|
|
12708
|
-
program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.5.
|
|
12708
|
+
program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.5.144").showHelpAfterError(true).showSuggestionAfterError(true);
|
|
12709
12709
|
registerConfigCommand(program);
|
|
12710
12710
|
registerLoginCommand(program);
|
|
12711
12711
|
registerRegisterCommand(program);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbidocs/cli",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.144",
|
|
4
4
|
"description": "CLI tool for interacting with ARBI — login, manage workspaces, upload documents, query the RAG assistant",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"preuninstall": "node scripts/preuninstall.js"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@arbidocs/sdk": "0.5.
|
|
25
|
-
"@arbidocs/client": "0.5.
|
|
26
|
-
"@arbidocs/tui": "0.5.
|
|
24
|
+
"@arbidocs/sdk": "0.5.144",
|
|
25
|
+
"@arbidocs/client": "0.5.144",
|
|
26
|
+
"@arbidocs/tui": "0.5.144",
|
|
27
27
|
"@inquirer/prompts": "^8.5.2",
|
|
28
28
|
"chalk": "^5.6.2",
|
|
29
29
|
"commander": "^15.0.0",
|