@arbidocs/cli 0.3.21 → 0.3.23

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,37 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.3.23
4
+
5
+ [compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.3.22...HEAD)
6
+
7
+ ### 🚀 Enhancements
8
+
9
+ - Auto-select all documents when creating a new chat ([#526](https://github.com/arbicity/ARBI-frontend/pull/526))
10
+
11
+ ### 🩹 Fixes
12
+
13
+ - Conversation tab switching improvements and new chat document selection ([#524](https://github.com/arbicity/ARBI-frontend/pull/524))
14
+ - Display detailed API error message when document export fails ([#519](https://github.com/arbicity/ARBI-frontend/pull/519))
15
+ - Include current user in smart search history "By" column ([#521](https://github.com/arbicity/ARBI-frontend/pull/521))
16
+ - Increase SDK integration test streaming timeout to 120s ([#528](https://github.com/arbicity/ARBI-frontend/pull/528))
17
+ - Increase CLI integration test streaming timeout to 120s ([#529](https://github.com/arbicity/ARBI-frontend/pull/529))
18
+
19
+ ## v0.3.22
20
+
21
+ [compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.3.21...HEAD)
22
+
23
+ ### 🚀 Enhancements
24
+
25
+ - Add PA mode toggle for new conversations ([5e8101be](https://github.com/arbicity/ARBI-frontend/commit/5e8101be))
26
+ - Add signing-key login for agent recovery, auto-relogin, and UI improvements ([1d0e3d83](https://github.com/arbicity/ARBI-frontend/commit/1d0e3d83))
27
+ - Replace floating panel mode with main content area mode ([ddf125f7](https://github.com/arbicity/ARBI-frontend/commit/ddf125f7))
28
+
29
+ ### 🩹 Fixes
30
+
31
+ - Always end Auth0 SSO session on logout ([aa2e8690](https://github.com/arbicity/ARBI-frontend/commit/aa2e8690))
32
+ - User-settings default tab was 'profile' but actual tab ID is 'account' ([e95197ea](https://github.com/arbicity/ARBI-frontend/commit/e95197ea))
33
+ - Revert accidental openapi.json reformatting ([f97a2e09](https://github.com/arbicity/ARBI-frontend/commit/f97a2e09))
34
+
3
35
  ## v0.3.21
4
36
 
5
37
  [compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.3.20...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.21";
3640
+ return "0.3.23";
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.21") return;
3693
+ if (!latest || latest === "0.3.23") return;
3694
3694
  if (autoUpdate) {
3695
3695
  warn(`
3696
- Your arbi version is out of date (${"0.3.21"} \u2192 ${latest}). Updating...`);
3696
+ Your arbi version is out of date (${"0.3.23"} \u2192 ${latest}). Updating...`);
3697
3697
  child_process.execSync("npm install -g @arbidocs/cli@latest", { stdio: "inherit" });
3698
- showChangelog("0.3.21", latest);
3698
+ showChangelog("0.3.23", 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.21"} \u2192 ${latest}).
3703
+ Your arbi version is out of date (${"0.3.23"} \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.21") {
3713
+ if (cached && cached.latest !== "0.3.23") {
3714
3714
  warn(
3715
- `Your arbi version is out of date (${"0.3.21"} \u2192 ${cached.latest}). Run "arbi update".`
3715
+ `Your arbi version is out of date (${"0.3.23"} \u2192 ${cached.latest}). Run "arbi update".`
3716
3716
  );
3717
3717
  }
3718
3718
  } catch {
@@ -4250,14 +4250,14 @@ Save this key \u2014 it is the only way to recover this agent session.`,
4250
4250
 
4251
4251
  // src/commands/login.ts
4252
4252
  function registerLoginCommand(program2) {
4253
- program2.command("login").description("Log in to ARBI").option("-e, --email <email>", "Email address (or ARBI_EMAIL env var)").option("-p, --password <password>", "Password (or ARBI_PASSWORD env var)").option("-w, --workspace <id>", "Workspace ID to select after login").option("--sso", "Log in with Auth0 SSO (device flow)").option("--agent <name>", "Agent backend to configure (claude, openclaw)").option("--listen", "Start DM listener after login").action(
4253
+ program2.command("login").description("Log in to ARBI").option("-e, --email <email>", "Email address (or ARBI_EMAIL env var)").option("-p, --password <password>", "Password (or ARBI_PASSWORD env var)").option("-k, --signing-key <key>", "Signing key (base64) for agent recovery login").option("-w, --workspace <id>", "Workspace ID to select after login").option("--sso", "Log in with Auth0 SSO (device flow)").option("--agent <name>", "Agent backend to configure (claude, openclaw)").option("--listen", "Start DM listener after login").action(
4254
4254
  (opts) => runAction(async () => {
4255
4255
  const config = store.requireConfig();
4256
4256
  const email = opts.email || process.env.ARBI_EMAIL || await promptInput("Email");
4257
- const pw = opts.password || process.env.ARBI_PASSWORD || await promptPassword("Password");
4258
4257
  try {
4259
4258
  let ssoPolling = false;
4260
- const { arbi } = opts.sso ? await (async () => {
4259
+ const { arbi } = opts.signingKey ? await sdk.performSigningKeyLogin(config, email, opts.signingKey, store) : opts.sso ? await (async () => {
4260
+ const pw = opts.password || process.env.ARBI_PASSWORD || await promptPassword("Password");
4261
4261
  const result = await sdk.performSsoDeviceFlowLogin(config, email, pw, store, {
4262
4262
  onUserCode: (userCode, verificationUri) => {
4263
4263
  console.log(`
@@ -4275,7 +4275,10 @@ Open this URL in your browser:
4275
4275
  });
4276
4276
  if (ssoPolling) console.log("\n");
4277
4277
  return result;
4278
- })() : await sdk.performPasswordLogin(config, email, pw, store);
4278
+ })() : await (async () => {
4279
+ const pw = opts.password || process.env.ARBI_PASSWORD || await promptPassword("Password");
4280
+ return sdk.performPasswordLogin(config, email, pw, store);
4281
+ })();
4279
4282
  clearChatSession();
4280
4283
  const { data: workspaces3 } = await arbi.fetch.GET("/v1/user/workspaces");
4281
4284
  const wsList = workspaces3 || [];
@@ -7028,7 +7031,7 @@ console.info = (...args) => {
7028
7031
  _origInfo(...args);
7029
7032
  };
7030
7033
  var program = new commander.Command();
7031
- program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.3.21");
7034
+ program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.3.23");
7032
7035
  registerConfigCommand(program);
7033
7036
  registerLoginCommand(program);
7034
7037
  registerRegisterCommand(program);