@arbidocs/cli 0.5.131 → 0.5.133

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,29 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.5.133
4
+
5
+ [compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.5.132...HEAD)
6
+
7
+ ### ✅ Tests
8
+
9
+ - **e2e:** Use landscape generation and close Word editing menu ([03ed6b475](https://github.com/arbicity/ARBI-frontend/commit/03ed6b475))
10
+ - Reopen Word layout menu after choosing margins ([224e223fb](https://github.com/arbicity/ARBI-frontend/commit/224e223fb))
11
+ - **docx:** Leaving Word right after Save version saves after it, never refused ([b91c3e3f5](https://github.com/arbicity/ARBI-frontend/commit/b91c3e3f5))
12
+
13
+ ## v0.5.132
14
+
15
+ [compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.5.131...HEAD)
16
+
17
+ ### 🚀 Enhancements
18
+
19
+ - **projects:** Free hosted users upgrade their personal project before creating projects ([7545b87d2](https://github.com/arbicity/ARBI-frontend/commit/7545b87d2))
20
+
21
+ ### ✅ Tests
22
+
23
+ - **billing:** Assert welcome upgrade project picker and plan options ([043b5292e](https://github.com/arbicity/ARBI-frontend/commit/043b5292e))
24
+ - **chat:** Start the live thinking check in a fresh finite turn ([e2d596fc5](https://github.com/arbicity/ARBI-frontend/commit/e2d596fc5))
25
+ - **billing:** Keep welcome navigation independent of Stripe checkout ([fb8f2432c](https://github.com/arbicity/ARBI-frontend/commit/fb8f2432c))
26
+
3
27
  ## v0.5.131
4
28
 
5
29
  [compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.5.130...HEAD)
package/SKILL.md CHANGED
@@ -38,7 +38,7 @@ Common moves:
38
38
  - Create: `arbi workspace create "My WS"` — does NOT auto-select. Use `--select` to create + select in one go, `--json` for scripts
39
39
  - Rename / edit: `arbi workspace update '{"name":"New Name"}'` (add `--json` for scripts)
40
40
  - Delete: `arbi workspace delete [id-or-name]` — prompts for confirmation in interactive shells. In non-TTY shells you **must** pass `-y/--yes` (otherwise the command refuses to delete). If you delete the active workspace, the selection is cleared. `--json` outputs `{id, deleted}`
41
- - Share: `arbi workspace add-user <email> -r <role>` where role is `owner|collaborator|guest` (`guest` is shown as "Read only"; `read-only` is accepted too) (plan-limited — free tier has 0 collaborator slots)
41
+ - Share: `arbi workspace add-user <email> -r <role>` where role is `owner|collaborator|viewer` (`viewer` is stored as `guest`; legacy `guest` and `read-only` inputs are accepted too) (plan-limited — free tier has 0 collaborator slots)
42
42
  - List members: `arbi workspace users [--json]`
43
43
  - Remove member: `arbi workspace remove-user <user-id>`
44
44
  - Copy docs between workspaces: `arbi workspace copy <target-ws-id> <doc-id>...` — only copies documents that have finished indexing; partial/failed copies exit non-zero
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.131";
3692
+ return "0.5.133";
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.131") return;
3745
+ if (!latest || latest === "0.5.133") return;
3746
3746
  if (autoUpdate) {
3747
3747
  warn(`
3748
- Your arbi version is out of date (${"0.5.131"} \u2192 ${latest}). Updating...`);
3748
+ Your arbi version is out of date (${"0.5.133"} \u2192 ${latest}). Updating...`);
3749
3749
  child_process.execSync("npm install -g @arbidocs/cli@latest", { stdio: "inherit" });
3750
- showChangelog("0.5.131", latest);
3750
+ showChangelog("0.5.133", 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.131"} \u2192 ${latest}).
3755
+ Your arbi version is out of date (${"0.5.133"} \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.131") return;
3787
+ if (!cached || cached.latest === "0.5.133") return;
3788
3788
  if (!shouldShowNag(cached.latest)) return;
3789
3789
  warn(
3790
- `Your arbi version is out of date (${"0.5.131"} \u2192 ${cached.latest}). Run "arbi update".`
3790
+ `Your arbi version is out of date (${"0.5.133"} \u2192 ${cached.latest}). Run "arbi update".`
3791
3791
  );
3792
3792
  markNagShown(cached.latest);
3793
3793
  } catch {
@@ -5207,7 +5207,7 @@ init_prompts();
5207
5207
  function requireWorkspaceRole(input2) {
5208
5208
  const role = sdk.workspaces.parseWorkspaceRole(input2);
5209
5209
  if (!role) {
5210
- throw new Error(`Unknown role "${input2}" \u2014 use owner, collaborator or guest (read only)`);
5210
+ throw new Error(`Unknown role "${input2}" \u2014 use owner, collaborator or viewer`);
5211
5211
  }
5212
5212
  return role;
5213
5213
  }
@@ -5552,11 +5552,7 @@ function registerWorkspacesCommand(program2) {
5552
5552
  );
5553
5553
  })()
5554
5554
  );
5555
- workspace.command("add-user <emails...>").description("Add users to the active workspace").option("-w, --workspace <id>", "Workspace ID (defaults to selected workspace)").option(
5556
- "-r, --role <role>",
5557
- "Role: owner, collaborator, guest (read only; also read-only)",
5558
- "collaborator"
5559
- ).action(
5555
+ workspace.command("add-user <emails...>").description("Add users to the active workspace").option("-w, --workspace <id>", "Workspace ID (defaults to selected workspace)").option("-r, --role <role>", "Role: owner, collaborator, viewer", "collaborator").action(
5560
5556
  (emails, opts) => runAction(async () => {
5561
5557
  const { arbi } = await resolveWorkspace(opts.workspace);
5562
5558
  const role = requireWorkspaceRole(opts.role ?? "collaborator");
@@ -5660,7 +5656,7 @@ Try: arbi contacts add ${owner.includes("@") ? owner : "<their-email>"}`
5660
5656
  success(`Left workspace "${target.ws.name}" (${target.id}).`);
5661
5657
  })()
5662
5658
  );
5663
- workspace.command("set-role <role> <user-ids...>").description("Update user roles (owner, collaborator, guest = read only; also read-only)").option("-w, --workspace <id>", "Workspace ID (defaults to selected workspace)").action(
5659
+ workspace.command("set-role <role> <user-ids...>").description("Update user roles (owner, collaborator, viewer)").option("-w, --workspace <id>", "Workspace ID (defaults to selected workspace)").action(
5664
5660
  (role, userIds, opts) => runAction(async () => {
5665
5661
  const { arbi } = await resolveWorkspace(opts.workspace);
5666
5662
  const data = await sdk.workspaces.setUserRole(arbi, userIds, requireWorkspaceRole(role));
@@ -10373,11 +10369,7 @@ function registerAgentCommand(program2) {
10373
10369
  );
10374
10370
  agent.command("create").description(
10375
10371
  "Create a child persistent agent owned by the current user (different from `arbi agent-create`, which is a SUPPORT_API_KEY bot-account flow)"
10376
- ).option("--name <name>", "Agent name (letters, digits, hyphens, underscores)").option("-w, --workspace <ids...>", "Workspace IDs to share with the agent").option(
10377
- "--role <role>",
10378
- "Workspace role: collaborator or guest (read only; also read-only)",
10379
- "collaborator"
10380
- ).action(
10372
+ ).option("--name <name>", "Agent name (letters, digits, hyphens, underscores)").option("-w, --workspace <ids...>", "Workspace IDs to share with the agent").option("--role <role>", "Workspace role: collaborator or viewer", "collaborator").action(
10381
10373
  (opts) => runAction(async () => {
10382
10374
  const { arbi, loginResult } = await resolveAuth();
10383
10375
  const creds = store.requireCredentials();
@@ -10388,7 +10380,7 @@ function registerAgentCommand(program2) {
10388
10380
  }
10389
10381
  const agentRole = sdk.workspaces.parseWorkspaceRole(opts.role ?? "collaborator");
10390
10382
  if (agentRole !== "collaborator" && agentRole !== "guest") {
10391
- throw new Error(`Unknown role "${opts.role}" \u2014 use collaborator or guest (read only)`);
10383
+ throw new Error(`Unknown role "${opts.role}" \u2014 use collaborator or viewer`);
10392
10384
  }
10393
10385
  let workspaceIds = opts.workspace ?? [];
10394
10386
  if (workspaceIds.length === 0) {
@@ -12680,7 +12672,7 @@ console.info = (...args) => {
12680
12672
  _origInfo(...args);
12681
12673
  };
12682
12674
  var program = new commander.Command();
12683
- program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.5.131").showHelpAfterError(true).showSuggestionAfterError(true);
12675
+ program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.5.133").showHelpAfterError(true).showSuggestionAfterError(true);
12684
12676
  registerConfigCommand(program);
12685
12677
  registerLoginCommand(program);
12686
12678
  registerRegisterCommand(program);