@arbidocs/cli 0.3.36 → 0.3.37
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 +15 -0
- package/dist/index.js +8 -8
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v0.3.37
|
|
4
|
+
|
|
5
|
+
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.3.36...HEAD)
|
|
6
|
+
|
|
7
|
+
### 🔥 Performance
|
|
8
|
+
|
|
9
|
+
- Lazy-load PDF.js, Mermaid, Cytoscape, KaTeX, xlsx, and Dashboard modals ([#601](https://github.com/arbicity/ARBI-frontend/pull/601))
|
|
10
|
+
- Abort on unmount, dedup concurrent GETs, and jittered retry ([#599](https://github.com/arbicity/ARBI-frontend/pull/599))
|
|
11
|
+
- Route document grid updates through applyTransactionAsync ([#602](https://github.com/arbicity/ARBI-frontend/pull/602))
|
|
12
|
+
- Progressive document loading for fast workspace open ([#607](https://github.com/arbicity/ARBI-frontend/pull/607))
|
|
13
|
+
|
|
14
|
+
### 🩹 Fixes
|
|
15
|
+
|
|
16
|
+
- Document viewer blanks when mutations invalidate the detail cache ([#597](https://github.com/arbicity/ARBI-frontend/pull/597))
|
|
17
|
+
|
|
3
18
|
## v0.3.36
|
|
4
19
|
|
|
5
20
|
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.3.34...HEAD)
|
package/dist/index.js
CHANGED
|
@@ -3637,7 +3637,7 @@ function getLatestVersion(skipCache = false) {
|
|
|
3637
3637
|
}
|
|
3638
3638
|
}
|
|
3639
3639
|
function getCurrentVersion() {
|
|
3640
|
-
return "0.3.
|
|
3640
|
+
return "0.3.37";
|
|
3641
3641
|
}
|
|
3642
3642
|
function readChangelog(fromVersion, toVersion) {
|
|
3643
3643
|
try {
|
|
@@ -3690,17 +3690,17 @@ function showChangelog(fromVersion, toVersion) {
|
|
|
3690
3690
|
async function checkForUpdates(autoUpdate) {
|
|
3691
3691
|
try {
|
|
3692
3692
|
const latest = getLatestVersion();
|
|
3693
|
-
if (!latest || latest === "0.3.
|
|
3693
|
+
if (!latest || latest === "0.3.37") return;
|
|
3694
3694
|
if (autoUpdate) {
|
|
3695
3695
|
warn(`
|
|
3696
|
-
Your arbi version is out of date (${"0.3.
|
|
3696
|
+
Your arbi version is out of date (${"0.3.37"} \u2192 ${latest}). Updating...`);
|
|
3697
3697
|
child_process.execSync("npm install -g @arbidocs/cli@latest", { stdio: "inherit" });
|
|
3698
|
-
showChangelog("0.3.
|
|
3698
|
+
showChangelog("0.3.37", latest);
|
|
3699
3699
|
console.log(`Updated to ${latest}.`);
|
|
3700
3700
|
} else {
|
|
3701
3701
|
warn(
|
|
3702
3702
|
`
|
|
3703
|
-
Your arbi version is out of date (${"0.3.
|
|
3703
|
+
Your arbi version is out of date (${"0.3.37"} \u2192 ${latest}).
|
|
3704
3704
|
Run "arbi update" to upgrade, or "arbi update auto" to always stay up to date.`
|
|
3705
3705
|
);
|
|
3706
3706
|
}
|
|
@@ -3710,9 +3710,9 @@ Run "arbi update" to upgrade, or "arbi update auto" to always stay up to date.`
|
|
|
3710
3710
|
function hintUpdateOnError() {
|
|
3711
3711
|
try {
|
|
3712
3712
|
const cached = readCache();
|
|
3713
|
-
if (cached && cached.latest !== "0.3.
|
|
3713
|
+
if (cached && cached.latest !== "0.3.37") {
|
|
3714
3714
|
warn(
|
|
3715
|
-
`Your arbi version is out of date (${"0.3.
|
|
3715
|
+
`Your arbi version is out of date (${"0.3.37"} \u2192 ${cached.latest}). Run "arbi update".`
|
|
3716
3716
|
);
|
|
3717
3717
|
}
|
|
3718
3718
|
} catch {
|
|
@@ -8158,7 +8158,7 @@ console.info = (...args) => {
|
|
|
8158
8158
|
_origInfo(...args);
|
|
8159
8159
|
};
|
|
8160
8160
|
var program = new commander.Command();
|
|
8161
|
-
program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.3.
|
|
8161
|
+
program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.3.37");
|
|
8162
8162
|
registerConfigCommand(program);
|
|
8163
8163
|
registerLoginCommand(program);
|
|
8164
8164
|
registerRegisterCommand(program);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbidocs/cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.37",
|
|
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.3.
|
|
25
|
-
"@arbidocs/client": "0.3.
|
|
26
|
-
"@arbidocs/tui": "0.3.
|
|
24
|
+
"@arbidocs/sdk": "0.3.37",
|
|
25
|
+
"@arbidocs/client": "0.3.37",
|
|
26
|
+
"@arbidocs/tui": "0.3.37",
|
|
27
27
|
"@inquirer/prompts": "^8.2.0",
|
|
28
28
|
"chalk": "^5.6.2",
|
|
29
29
|
"commander": "^13.1.0"
|