@arbidocs/cli 0.3.5 → 0.3.6

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/dist/index.js +8 -8
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -3501,7 +3501,7 @@ function getLatestVersion() {
3501
3501
  }
3502
3502
  }
3503
3503
  function getCurrentVersion() {
3504
- return "0.3.5";
3504
+ return "0.3.6";
3505
3505
  }
3506
3506
  async function fetchChangelog(fromVersion, toVersion) {
3507
3507
  try {
@@ -3545,17 +3545,17 @@ async function showChangelog(fromVersion, toVersion) {
3545
3545
  async function checkForUpdates(autoUpdate) {
3546
3546
  try {
3547
3547
  const latest = getLatestVersion();
3548
- if (!latest || latest === "0.3.5") return;
3548
+ if (!latest || latest === "0.3.6") return;
3549
3549
  if (autoUpdate) {
3550
3550
  warn(`
3551
- Your arbi version is out of date (${"0.3.5"} \u2192 ${latest}). Updating...`);
3552
- await showChangelog("0.3.5", latest);
3551
+ Your arbi version is out of date (${"0.3.6"} \u2192 ${latest}). Updating...`);
3552
+ await showChangelog("0.3.6", latest);
3553
3553
  child_process.execSync("npm install -g @arbidocs/cli@latest", { stdio: "inherit" });
3554
3554
  console.log(`Updated to ${latest}.`);
3555
3555
  } else {
3556
3556
  warn(
3557
3557
  `
3558
- Your arbi version is out of date (${"0.3.5"} \u2192 ${latest}).
3558
+ Your arbi version is out of date (${"0.3.6"} \u2192 ${latest}).
3559
3559
  Run "arbi update" to upgrade, or "arbi update auto" to always stay up to date.`
3560
3560
  );
3561
3561
  }
@@ -3565,9 +3565,9 @@ Run "arbi update" to upgrade, or "arbi update auto" to always stay up to date.`
3565
3565
  function hintUpdateOnError() {
3566
3566
  try {
3567
3567
  const cached = readCache();
3568
- if (cached && cached.latest !== "0.3.5") {
3568
+ if (cached && cached.latest !== "0.3.6") {
3569
3569
  warn(
3570
- `Your arbi version is out of date (${"0.3.5"} \u2192 ${cached.latest}). Run "arbi update".`
3570
+ `Your arbi version is out of date (${"0.3.6"} \u2192 ${cached.latest}). Run "arbi update".`
3571
3571
  );
3572
3572
  }
3573
3573
  } catch {
@@ -5284,7 +5284,7 @@ console.info = (...args) => {
5284
5284
  _origInfo(...args);
5285
5285
  };
5286
5286
  var program = new commander.Command();
5287
- program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.3.5");
5287
+ program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.3.6");
5288
5288
  registerConfigCommand(program);
5289
5289
  registerLoginCommand(program);
5290
5290
  registerRegisterCommand(program);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbidocs/cli",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
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": {
@@ -15,9 +15,9 @@
15
15
  "typecheck": "tsc --noEmit"
16
16
  },
17
17
  "dependencies": {
18
- "@arbidocs/core": "0.3.5",
19
- "@arbidocs/sdk": "0.3.5",
20
- "@arbidocs/tui": "0.3.5",
18
+ "@arbidocs/core": "0.3.6",
19
+ "@arbidocs/sdk": "0.3.6",
20
+ "@arbidocs/tui": "0.3.6",
21
21
  "@inquirer/prompts": "^8.2.0",
22
22
  "chalk": "^5.6.2",
23
23
  "commander": "^13.1.0"