@arbidocs/cli 0.3.20 → 0.3.22

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,86 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.3.22
4
+
5
+ [compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.3.21...HEAD)
6
+
7
+ ### 🚀 Enhancements
8
+
9
+ - Add PA mode toggle for new conversations ([5e8101be](https://github.com/arbicity/ARBI-frontend/commit/5e8101be))
10
+ - Add signing-key login for agent recovery, auto-relogin, and UI improvements ([1d0e3d83](https://github.com/arbicity/ARBI-frontend/commit/1d0e3d83))
11
+ - Replace floating panel mode with main content area mode ([ddf125f7](https://github.com/arbicity/ARBI-frontend/commit/ddf125f7))
12
+
13
+ ### 🩹 Fixes
14
+
15
+ - Always end Auth0 SSO session on logout ([aa2e8690](https://github.com/arbicity/ARBI-frontend/commit/aa2e8690))
16
+ - User-settings default tab was 'profile' but actual tab ID is 'account' ([e95197ea](https://github.com/arbicity/ARBI-frontend/commit/e95197ea))
17
+ - Revert accidental openapi.json reformatting ([f97a2e09](https://github.com/arbicity/ARBI-frontend/commit/f97a2e09))
18
+
19
+ ## v0.3.21
20
+
21
+ [compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.3.20...HEAD)
22
+
23
+ ### 🚀 Enhancements
24
+
25
+ - UI improvements - markdown DMs, agent doc editing, sidebar badges, workspace cards ([57dc8c51](https://github.com/arbicity/ARBI-frontend/commit/57dc8c51))
26
+ - Bulk actions toolbar, agent permissions, single-session logout, UI polish ([edfbc544](https://github.com/arbicity/ARBI-frontend/commit/edfbc544))
27
+ - DM modal, contacts, floating panel, and entity improvements ([5340ef9f](https://github.com/arbicity/ARBI-frontend/commit/5340ef9f))
28
+ - Move DM conversations to inline tabs in Agents/Contacts pages ([b25f2f68](https://github.com/arbicity/ARBI-frontend/commit/b25f2f68))
29
+ - Add dock/popout mode switcher to Contacts and Agents pages ([9ea00da8](https://github.com/arbicity/ARBI-frontend/commit/9ea00da8))
30
+ - Make inConversationDocuments per-conversation ([d69175d1](https://github.com/arbicity/ARBI-frontend/commit/d69175d1))
31
+ - Add conversation tabs with contextual currentConversationId ([d59e2941](https://github.com/arbicity/ARBI-frontend/commit/d59e2941))
32
+ - Panel UX improvements — shared components, focus tracking, popout fixes ([cae153f9](https://github.com/arbicity/ARBI-frontend/commit/cae153f9))
33
+ - Browser-style folder tabs with inverted corner curves ([f37ba681](https://github.com/arbicity/ARBI-frontend/commit/f37ba681))
34
+ - Background conversation support with completion notifications ([c800ec39](https://github.com/arbicity/ARBI-frontend/commit/c800ec39))
35
+ - Add Status column to conversation list showing last_message_status ([a2aba95c](https://github.com/arbicity/ARBI-frontend/commit/a2aba95c))
36
+ - Model selector redesign, premium settings, orphan detection fix ([45ac0f95](https://github.com/arbicity/ARBI-frontend/commit/45ac0f95))
37
+
38
+ ### 🩹 Fixes
39
+
40
+ - Panel mode switcher position and remount reset bug ([959542a9](https://github.com/arbicity/ARBI-frontend/commit/959542a9))
41
+ - Page mode switcher — dock padding, popout stability, remove float option ([1b6a2101](https://github.com/arbicity/ARBI-frontend/commit/1b6a2101))
42
+ - Ensure a conversation tab always exists ([7bee2682](https://github.com/arbicity/ARBI-frontend/commit/7bee2682))
43
+ - Remove unused variable warning in migrateConversationDocuments ([6f946152](https://github.com/arbicity/ARBI-frontend/commit/6f946152))
44
+ - Use onClickCapture instead of onMouseDown for focus tracking ([5271d09e](https://github.com/arbicity/ARBI-frontend/commit/5271d09e))
45
+ - Use onClick bubble phase for focus tracking instead of capture ([4cfc0102](https://github.com/arbicity/ARBI-frontend/commit/4cfc0102))
46
+ - Clicking history tab now clears activeConversationTabId ([b677f4fc](https://github.com/arbicity/ARBI-frontend/commit/b677f4fc))
47
+ - Compact folder tabs — reduce padding, truncation, inline close button ([dabb5396](https://github.com/arbicity/ARBI-frontend/commit/dabb5396))
48
+ - Restore flush tab-to-border contact and default font size ([e83d0f4f](https://github.com/arbicity/ARBI-frontend/commit/e83d0f4f))
49
+ - Move close button and actions inside the tab button ([2f941d72](https://github.com/arbicity/ARBI-frontend/commit/2f941d72))
50
+ - Compact buttons and toggles in tab header right section ([eb179c9e](https://github.com/arbicity/ARBI-frontend/commit/eb179c9e))
51
+ - Compact filter buttons and toggles inside folder tabs ([c33ee2fd](https://github.com/arbicity/ARBI-frontend/commit/c33ee2fd))
52
+ - Override all padding on buttons inside tab headers ([451cde1d](https://github.com/arbicity/ARBI-frontend/commit/451cde1d))
53
+ - Larger close button on tabs, exclude from compact CSS rules ([0bd3a070](https://github.com/arbicity/ARBI-frontend/commit/0bd3a070))
54
+ - Apply compact sizing to center section (filters, toggles) ([bf511a18](https://github.com/arbicity/ARBI-frontend/commit/bf511a18))
55
+ - Align center section vertically with right section buttons ([ae8dc043](https://github.com/arbicity/ARBI-frontend/commit/ae8dc043))
56
+ - Add bottom padding below tab header divider ([f4cc6997](https://github.com/arbicity/ARBI-frontend/commit/f4cc6997))
57
+ - Align buttons to bottom of tab header, match tab font ([75384c25](https://github.com/arbicity/ARBI-frontend/commit/75384c25))
58
+ - Match tab height to button height (h-7) for aligned tops and text ([06f92443](https://github.com/arbicity/ARBI-frontend/commit/06f92443))
59
+ - Taller tab outline (h-9), restore button spacing from previous layout ([f201813e](https://github.com/arbicity/ARBI-frontend/commit/f201813e))
60
+ - Continuous border around tab content and straight left edge on first tab ([2f297ff1](https://github.com/arbicity/ARBI-frontend/commit/2f297ff1))
61
+ - Remove border around chat content areas ([f9087b1d](https://github.com/arbicity/ARBI-frontend/commit/f9087b1d))
62
+ - First tab keeps rounded top-left corner, only removes bottom curve ([dc8fd17d](https://github.com/arbicity/ARBI-frontend/commit/dc8fd17d))
63
+ - Show close button on all tabs, smaller and tighter, hide when solo ([7b2dfd2b](https://github.com/arbicity/ARBI-frontend/commit/7b2dfd2b))
64
+ - Replace blank new-chat tab when selecting a past chat, new tab always rightmost ([02058880](https://github.com/arbicity/ARBI-frontend/commit/02058880))
65
+ - Real conversation tabs always closeable, blank new-chat only when not solo ([428ec61b](https://github.com/arbicity/ARBI-frontend/commit/428ec61b))
66
+ - Show subtle tab background at rest, not only on hover ([5be091b3](https://github.com/arbicity/ARBI-frontend/commit/5be091b3))
67
+ - Stronger inactive tab background, darker hover contrast ([0881ac87](https://github.com/arbicity/ARBI-frontend/commit/0881ac87))
68
+ - Use sm pill size for workspace entity in tabs to match conversation size ([86455ec0](https://github.com/arbicity/ARBI-frontend/commit/86455ec0))
69
+ - Use sm size for conversation entity in tabs, prevent content bleed ([faca7244](https://github.com/arbicity/ARBI-frontend/commit/faca7244))
70
+
71
+ ### 💅 Refactors
72
+
73
+ - Remove redundant id field from DmTab and ConversationTab ([2d2b7504](https://github.com/arbicity/ARBI-frontend/commit/2d2b7504))
74
+ - Extract tabSlice and panelSlice from modal/conversation/app slices ([1849cd54](https://github.com/arbicity/ARBI-frontend/commit/1849cd54))
75
+ - Clean up TabHeader — remove dead variants, simplify structure ([d438b6f6](https://github.com/arbicity/ARBI-frontend/commit/d438b6f6))
76
+ - Unified tab header sizing via Tailwind arbitrary selectors ([af6a0e66](https://github.com/arbicity/ARBI-frontend/commit/af6a0e66))
77
+
78
+ ### ✅ Tests
79
+
80
+ - Add comprehensive conversation tab tests ([9747030e](https://github.com/arbicity/ARBI-frontend/commit/9747030e))
81
+ - Add useNewConversation tests for tab close-if-not-generating logic ([a8b4827e](https://github.com/arbicity/ARBI-frontend/commit/a8b4827e))
82
+ - Update tests for premium settings and orphan detection changes ([6a8f04b2](https://github.com/arbicity/ARBI-frontend/commit/6a8f04b2))
83
+
3
84
  ## v0.3.20
4
85
 
5
86
  [compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.3.19...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.20";
3640
+ return "0.3.22";
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.20") return;
3693
+ if (!latest || latest === "0.3.22") return;
3694
3694
  if (autoUpdate) {
3695
3695
  warn(`
3696
- Your arbi version is out of date (${"0.3.20"} \u2192 ${latest}). Updating...`);
3696
+ Your arbi version is out of date (${"0.3.22"} \u2192 ${latest}). Updating...`);
3697
3697
  child_process.execSync("npm install -g @arbidocs/cli@latest", { stdio: "inherit" });
3698
- showChangelog("0.3.20", latest);
3698
+ showChangelog("0.3.22", 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.20"} \u2192 ${latest}).
3703
+ Your arbi version is out of date (${"0.3.22"} \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.20") {
3713
+ if (cached && cached.latest !== "0.3.22") {
3714
3714
  warn(
3715
- `Your arbi version is out of date (${"0.3.20"} \u2192 ${cached.latest}). Run "arbi update".`
3715
+ `Your arbi version is out of date (${"0.3.22"} \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.20");
7034
+ program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.3.22");
7032
7035
  registerConfigCommand(program);
7033
7036
  registerLoginCommand(program);
7034
7037
  registerRegisterCommand(program);