@arbidocs/cli 0.5.71 → 0.5.73

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 CHANGED
@@ -1,5 +1,43 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.5.73
4
+
5
+ [compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.5.72...HEAD)
6
+
7
+ ### 🚀 Enhancements
8
+
9
+ - **sdk:** Add read-only setup diagnostics and human review starter ([7d2a51e6b](https://github.com/arbicity/ARBI-frontend/commit/7d2a51e6b))
10
+
11
+ ### 🩹 Fixes
12
+
13
+ - **sdk:** Build MIME messages without crypto initialization ([73eaaf5e8](https://github.com/arbicity/ARBI-frontend/commit/73eaaf5e8))
14
+ - **blocks:** Isolate custom auth and complete packaged styles ([74486f05c](https://github.com/arbicity/ARBI-frontend/commit/74486f05c))
15
+ - **release:** Support optional collaboration peers in bundled Word manifest ([bf6a43443](https://github.com/arbicity/ARBI-frontend/commit/bf6a43443))
16
+ - **examples:** Inherit packaged theme defaults in the chat starter ([01a2fcbf0](https://github.com/arbicity/ARBI-frontend/commit/01a2fcbf0))
17
+ - **sdk:** Bound diagnostic body reads and identify workspace failures ([e264846f1](https://github.com/arbicity/ARBI-frontend/commit/e264846f1))
18
+ - **react,blocks:** A redacted copy opens on its PDF and its review waits for processing ([#2075](https://github.com/arbicity/ARBI-frontend/pull/2075))
19
+
20
+ ### 📖 Documentation
21
+
22
+ - **sdk:** Explain optional editor peers and proxy configuration ([3e38000ea](https://github.com/arbicity/ARBI-frontend/commit/3e38000ea))
23
+
24
+ ### 🏡 Chore
25
+
26
+ - Delete the test-id parity check ([#2073](https://github.com/arbicity/ARBI-frontend/pull/2073))
27
+ - Release v0.5.72 [skip ci] ([ec5bbd06f](https://github.com/arbicity/ARBI-frontend/commit/ec5bbd06f))
28
+
29
+ ### ✅ Tests
30
+
31
+ - **client,coedit:** Fix the change-password, state-size and everywhere CI timeouts by cause ([#2071](https://github.com/arbicity/ARBI-frontend/pull/2071))
32
+
33
+ ## v0.5.72
34
+
35
+ [compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.5.71...HEAD)
36
+
37
+ ### ✅ Tests
38
+
39
+ - **blocks:** Fix the WorkflowBuilder, ChatPeopleDialog and artifact-page CI flakes by cause ([#2070](https://github.com/arbicity/ARBI-frontend/pull/2070))
40
+
3
41
  ## v0.5.71
4
42
 
5
43
  [compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.5.70...HEAD)
package/dist/index.js CHANGED
@@ -3689,7 +3689,7 @@ function getLatestVersion(skipCache = false) {
3689
3689
  }
3690
3690
  }
3691
3691
  function getCurrentVersion() {
3692
- return "0.5.71";
3692
+ return "0.5.73";
3693
3693
  }
3694
3694
  function readChangelog(fromVersion, toVersion) {
3695
3695
  try {
@@ -3742,17 +3742,17 @@ function showChangelog(fromVersion, toVersion) {
3742
3742
  async function checkForUpdates(autoUpdate) {
3743
3743
  try {
3744
3744
  const latest = getLatestVersion();
3745
- if (!latest || latest === "0.5.71") return;
3745
+ if (!latest || latest === "0.5.73") return;
3746
3746
  if (autoUpdate) {
3747
3747
  warn(`
3748
- Your arbi version is out of date (${"0.5.71"} \u2192 ${latest}). Updating...`);
3748
+ Your arbi version is out of date (${"0.5.73"} \u2192 ${latest}). Updating...`);
3749
3749
  child_process.execSync("npm install -g @arbidocs/cli@latest", { stdio: "inherit" });
3750
- showChangelog("0.5.71", latest);
3750
+ showChangelog("0.5.73", latest);
3751
3751
  console.log(`Updated to ${latest}.`);
3752
3752
  } else {
3753
3753
  warn(
3754
3754
  `
3755
- Your arbi version is out of date (${"0.5.71"} \u2192 ${latest}).
3755
+ Your arbi version is out of date (${"0.5.73"} \u2192 ${latest}).
3756
3756
  Run "arbi update" to upgrade, or "arbi update auto" to always stay up to date.`
3757
3757
  );
3758
3758
  }
@@ -3784,10 +3784,10 @@ function markNagShown(latest) {
3784
3784
  function hintUpdateOnError() {
3785
3785
  try {
3786
3786
  const cached = readCache();
3787
- if (!cached || cached.latest === "0.5.71") return;
3787
+ if (!cached || cached.latest === "0.5.73") return;
3788
3788
  if (!shouldShowNag(cached.latest)) return;
3789
3789
  warn(
3790
- `Your arbi version is out of date (${"0.5.71"} \u2192 ${cached.latest}). Run "arbi update".`
3790
+ `Your arbi version is out of date (${"0.5.73"} \u2192 ${cached.latest}). Run "arbi update".`
3791
3791
  );
3792
3792
  markNagShown(cached.latest);
3793
3793
  } catch {
@@ -9884,6 +9884,29 @@ function registerAgentconfigCommand(program2) {
9884
9884
  });
9885
9885
  }
9886
9886
  function registerHealthCommand(program2) {
9887
+ program2.command("doctor").description(
9888
+ "Check deployment, session and workspace setup without logging in or changing state"
9889
+ ).option("--json", "Output a content-free diagnostic report").action(
9890
+ (opts) => runAction(async () => {
9891
+ const config = getConfig();
9892
+ if (!config)
9893
+ throw new Error("No CLI configuration. Configure the server URL explicitly first.");
9894
+ const credentials = getCredentials();
9895
+ const report = await sdk.diagnoseSetup({
9896
+ url: config.baseUrl,
9897
+ deploymentDomain: config.deploymentDomain,
9898
+ workspaceId: config.selectedWorkspaceId,
9899
+ accessToken: credentials?.accessToken
9900
+ });
9901
+ if (opts.json) console.log(JSON.stringify(report, null, 2));
9902
+ else
9903
+ for (const check of report.checks) {
9904
+ console.log(`${check.status.toUpperCase()} ${check.check}: ${check.message}`);
9905
+ if (check.hint) console.log(` ${check.hint}`);
9906
+ }
9907
+ if (!report.ok) process.exitCode = 1;
9908
+ })()
9909
+ );
9887
9910
  program2.command("health").description("Show server health status").option("--json", "Output raw JSON for scripting").action(
9888
9911
  (opts) => runAction(async () => {
9889
9912
  const { arbi } = await resolveAuth();
@@ -12573,7 +12596,7 @@ console.info = (...args) => {
12573
12596
  _origInfo(...args);
12574
12597
  };
12575
12598
  var program = new commander.Command();
12576
- program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.5.71").showHelpAfterError(true).showSuggestionAfterError(true);
12599
+ program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.5.73").showHelpAfterError(true).showSuggestionAfterError(true);
12577
12600
  registerConfigCommand(program);
12578
12601
  registerLoginCommand(program);
12579
12602
  registerRegisterCommand(program);
@@ -12644,7 +12667,7 @@ applyHelpGroups(program, {
12644
12667
  ],
12645
12668
  "Agents & tasks:": ["agent", "agent-create", "task", "workflow", "run", "agentconfig", "session"],
12646
12669
  "Account:": ["auth", "usage", "files"],
12647
- "System:": ["health", "models", "settings", "tui", "local", "update"]
12670
+ "System:": ["doctor", "health", "models", "settings", "tui", "local", "update"]
12648
12671
  });
12649
12672
  function applyHelpGroups(prog, groups) {
12650
12673
  for (const [groupLabel, names] of Object.entries(groups)) {