@arbidocs/cli 0.5.204 → 0.5.206

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.5.206
4
+
5
+ [compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.5.205...HEAD)
6
+
7
+ ### 🚀 Enhancements
8
+
9
+ - Show and change the agent's reasoning effort mid-turn ([21783349b](https://github.com/arbicity/ARBI-frontend/commit/21783349b))
10
+ - Gearbox icon (lucide lab) for the reasoning effort badge ([4bf02bed1](https://github.com/arbicity/ARBI-frontend/commit/4bf02bed1))
11
+ - **databases:** Populate and Fill with AI from instructions; registry words for sources ([0d28617d5](https://github.com/arbicity/ARBI-frontend/commit/0d28617d5))
12
+ - **databases:** A Sources cell cites rows of other databases ([efc23aac2](https://github.com/arbicity/ARBI-frontend/commit/efc23aac2))
13
+ - **blocks:** ⚠️ One AI fill panel, a header that says what is going on, and empty states that lead somewhere ([b0a3ba72c](https://github.com/arbicity/ARBI-frontend/commit/b0a3ba72c))
14
+ - **blocks:** Start from a template on the Databases page, name the database when it is filled ([bf8613c7f](https://github.com/arbicity/ARBI-frontend/commit/bf8613c7f))
15
+ - **blocks:** Say what AI fill could not find; source quotes show escaped characters as themselves ([2bb8057d2](https://github.com/arbicity/ARBI-frontend/commit/2bb8057d2))
16
+ - **blocks:** Drafts read "Draft · only you", with Share and Discard, one by one or all at once ([15e0c4f58](https://github.com/arbicity/ARBI-frontend/commit/15e0c4f58))
17
+ - **blocks:** Each database and row has an address; Back steps out of a row, then a database ([535922062](https://github.com/arbicity/ARBI-frontend/commit/535922062))
18
+ - **blocks:** A column's menu by keyboard; focus comes back to it ([719d5cf48](https://github.com/arbicity/ARBI-frontend/commit/719d5cf48))
19
+ - **react:** An extraction that found only known facts says so ([cec74273b](https://github.com/arbicity/ARBI-frontend/commit/cec74273b))
20
+ - Generated database and approval types; approvals in a workflow's run settings; Extract facts on a file tile ([6fd1dd85b](https://github.com/arbicity/ARBI-frontend/commit/6fd1dd85b))
21
+ - Extract facts and Approvals in a thread's own options; read approvals again after "don't ask again" ([748ecb13c](https://github.com/arbicity/ARBI-frontend/commit/748ecb13c))
22
+ - A failed or partial fact extraction says so; schema regenerated (pages.home); keyboard column menu e2e ([aee36b6c4](https://github.com/arbicity/ARBI-frontend/commit/aee36b6c4))
23
+ - Custom dashboards for developers only (the server's developer setting), not a device switch ([29b2b8a0e](https://github.com/arbicity/ARBI-frontend/commit/29b2b8a0e))
24
+ - An open dashboard has its own address (/wrk-…/entity/pag-…); reload and Back work ([aa78dbfa1](https://github.com/arbicity/ARBI-frontend/commit/aa78dbfa1))
25
+ - Fast/Wise toggle in the agent bar, changeable mid-turn ([bb78ad103](https://github.com/arbicity/ARBI-frontend/commit/bb78ad103))
26
+
27
+ ### 🩹 Fixes
28
+
29
+ - Use the cog icon for the reasoning effort badge ([d9be58cf6](https://github.com/arbicity/ARBI-frontend/commit/d9be58cf6))
30
+ - **databases:** A column's menu items are read as the menu opens ([b973a3236](https://github.com/arbicity/ARBI-frontend/commit/b973a3236))
31
+ - **blocks:** Background-work toasts need no named sender; picker words from the registry ([415f04d4f](https://github.com/arbicity/ARBI-frontend/commit/415f04d4f))
32
+ - **blocks:** Show workspace names as typed in the switcher ([9d02f2fba](https://github.com/arbicity/ARBI-frontend/commit/9d02f2fba))
33
+ - **blocks:** A refused cell write puts the stored row back ([1214d3e52](https://github.com/arbicity/ARBI-frontend/commit/1214d3e52))
34
+ - **blocks:** The ways to start take two columns on a phone, names only ([c60021335](https://github.com/arbicity/ARBI-frontend/commit/c60021335))
35
+ - **blocks:** AI fill settings can be saved while a fill runs ([ec62337f9](https://github.com/arbicity/ARBI-frontend/commit/ec62337f9))
36
+ - **blocks:** What an answer made opens from the thread in one click ([74db2e988](https://github.com/arbicity/ARBI-frontend/commit/74db2e988))
37
+ - Toasts sit at the bottom on a phone, clear of the page title; column menus survive a fill ([c1d3e0cea](https://github.com/arbicity/ARBI-frontend/commit/c1d3e0cea))
38
+ - **blocks:** The Labels area says labels and files, not tags, fields and documents ([9c94c7704](https://github.com/arbicity/ARBI-frontend/commit/9c94c7704))
39
+ - **blocks:** A status filter picks from the column's options, with only conditions that fit ([061fff802](https://github.com/arbicity/ARBI-frontend/commit/061fff802))
40
+ - **blocks:** An unanswered question sends no "timeout" and never shows it as a reply ([83187a0ca](https://github.com/arbicity/ARBI-frontend/commit/83187a0ca))
41
+ - A column is changed on its own; a rename can no longer drop the others ([07c6b105a](https://github.com/arbicity/ARBI-frontend/commit/07c6b105a))
42
+ - **blocks:** A database opened from the list starts on its table ([9a2b3a137](https://github.com/arbicity/ARBI-frontend/commit/9a2b3a137))
43
+ - **blocks:** AI fill opens what still needs choosing; a dragged column stays unpinned; the Columns menu follows a rename ([f891d9e33](https://github.com/arbicity/ARBI-frontend/commit/f891d9e33))
44
+ - **cli:** Workflow create sends approval_mode (required by the regenerated schema) ([e6134659a](https://github.com/arbicity/ARBI-frontend/commit/e6134659a))
45
+ - A write's step says what it did (arbi.summary); the timeline axis fits a narrow screen ([90b515e86](https://github.com/arbicity/ARBI-frontend/commit/90b515e86))
46
+ - The question card renders Markdown safely; e2e helpers never default to a real host ([3de848d46](https://github.com/arbicity/ARBI-frontend/commit/3de848d46))
47
+
48
+ ### 🏡 Chore
49
+
50
+ - Undo a stray install change to an SDK example ([330ba302e](https://github.com/arbicity/ARBI-frontend/commit/330ba302e))
51
+ - Schema regenerated from the live backend (model roles) ([ca39ba256](https://github.com/arbicity/ARBI-frontend/commit/ca39ba256))
52
+ - Schema regenerated (ArbiItemMeta.summary); a step's result summary read from the generated type ([03a1ed139](https://github.com/arbicity/ARBI-frontend/commit/03a1ed139))
53
+
54
+ ### ✅ Tests
55
+
56
+ - **e2e:** The database extractor in the browser at 1440 and 390 px ([f02e956f3](https://github.com/arbicity/ARBI-frontend/commit/f02e956f3))
57
+ - AI fill panel, row cards, ways to start and the fill status; the e2e spec follows the new design ([ea6b3a86d](https://github.com/arbicity/ARBI-frontend/commit/ea6b3a86d))
58
+ - **e2e:** Reopen a column menu once the last one has closed ([edfc233ca](https://github.com/arbicity/ARBI-frontend/commit/edfc233ca))
59
+ - Let a step chip's hover-card timer run out before the test DOM is torn down ([ee44bf840](https://github.com/arbicity/ARBI-frontend/commit/ee44bf840))
60
+
61
+ ### 🤖 CI
62
+
63
+ - **e2e:** `kata` input pins the shards to the Kata E2E class; test output off tmpfs ([#2672](https://github.com/arbicity/ARBI-frontend/pull/2672))
64
+ - **e2e:** Word editor works on Kata runners; conversations start with a plain prompt ([#2680](https://github.com/arbicity/ARBI-frontend/pull/2680))
65
+
66
+ #### ⚠️ Breaking Changes
67
+
68
+ - **blocks:** ⚠️ One AI fill panel, a header that says what is going on, and empty states that lead somewhere ([b0a3ba72c](https://github.com/arbicity/ARBI-frontend/commit/b0a3ba72c))
69
+
70
+ ## v0.5.205
71
+
72
+ [compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.5.204...HEAD)
73
+
74
+ ### 🩹 Fixes
75
+
76
+ - **blocks:** The passkey offer waits in the sidebar, never over the page ([#2662](https://github.com/arbicity/ARBI-frontend/pull/2662))
77
+ - **blocks:** Viewer tabs keep a 44px touch target when labels collapse ([#2659](https://github.com/arbicity/ARBI-frontend/pull/2659))
78
+
79
+ ### ✅ Tests
80
+
81
+ - **e2e:** SDK-authenticated accounts decline the passkey offer ([#2661](https://github.com/arbicity/ARBI-frontend/pull/2661))
82
+ - **e2e:** Stale tests follow the compact Assistant, the v5 shell cache and timed authorization ([#2660](https://github.com/arbicity/ARBI-frontend/pull/2660))
83
+
3
84
  ## v0.5.204
4
85
 
5
86
  [compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.5.203...v0.5.204)
@@ -8,7 +89,6 @@
8
89
 
9
90
  - Database templates and Extract facts (#2657) ([5e94c0c65](https://github.com/arbicity/ARBI-frontend/commit/5e94c0c6560ff5abb2ec9fd2c2fafef628310ea0))
10
91
 
11
-
12
92
  ## v0.5.203
13
93
 
14
94
  [compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.5.202...HEAD)
package/dist/index.js CHANGED
@@ -3700,7 +3700,7 @@ function getLatestVersion(skipCache = false) {
3700
3700
  }
3701
3701
  }
3702
3702
  function getCurrentVersion() {
3703
- return "0.5.204";
3703
+ return "0.5.206";
3704
3704
  }
3705
3705
  function readChangelog(fromVersion, toVersion) {
3706
3706
  try {
@@ -3753,17 +3753,17 @@ function showChangelog(fromVersion, toVersion) {
3753
3753
  async function checkForUpdates(autoUpdate) {
3754
3754
  try {
3755
3755
  const latest = getLatestVersion();
3756
- if (!latest || latest === "0.5.204") return;
3756
+ if (!latest || latest === "0.5.206") return;
3757
3757
  if (autoUpdate) {
3758
3758
  warn(`
3759
- Your arbi version is out of date (${"0.5.204"} \u2192 ${latest}). Updating...`);
3759
+ Your arbi version is out of date (${"0.5.206"} \u2192 ${latest}). Updating...`);
3760
3760
  child_process.execSync("npm install -g @arbidocs/cli@latest", { stdio: "inherit" });
3761
- showChangelog("0.5.204", latest);
3761
+ showChangelog("0.5.206", latest);
3762
3762
  console.log(`Updated to ${latest}.`);
3763
3763
  } else {
3764
3764
  warn(
3765
3765
  `
3766
- Your arbi version is out of date (${"0.5.204"} \u2192 ${latest}).
3766
+ Your arbi version is out of date (${"0.5.206"} \u2192 ${latest}).
3767
3767
  Run "arbi update" to upgrade, or "arbi update auto" to always stay up to date.`
3768
3768
  );
3769
3769
  }
@@ -3795,10 +3795,10 @@ function markNagShown(latest) {
3795
3795
  function hintUpdateOnError() {
3796
3796
  try {
3797
3797
  const cached = readCache();
3798
- if (!cached || cached.latest === "0.5.204") return;
3798
+ if (!cached || cached.latest === "0.5.206") return;
3799
3799
  if (!shouldShowNag(cached.latest)) return;
3800
3800
  warn(
3801
- `Your arbi version is out of date (${"0.5.204"} \u2192 ${cached.latest}). Run "arbi update".`
3801
+ `Your arbi version is out of date (${"0.5.206"} \u2192 ${cached.latest}). Run "arbi update".`
3802
3802
  );
3803
3803
  markNagShown(cached.latest);
3804
3804
  } catch {
@@ -8860,28 +8860,6 @@ function registerTimelineCommand(program2) {
8860
8860
  success(`Updated ${ref(updated.external_id)}`);
8861
8861
  })()
8862
8862
  );
8863
- timeline.command("remind [id]").description("Set a one-off reminder for a dated note").option("-w, --workspace <id>", "Workspace ID (defaults to selected workspace)").option("--at <when>", "Explicit reminder time (any precision)").option("--lead <minutes>", "Minutes before the event starts", (v) => Number.parseInt(v, 10)).option("--json", "Output as JSON").action(
8864
- (id, opts) => runAction(async () => {
8865
- const { arbi, workspaceId } = await resolveWorkspace(opts.workspace);
8866
- let eventId = id;
8867
- if (!eventId) {
8868
- const { choices } = await fetchDatedNoteChoices(arbi, workspaceId);
8869
- eventId = await promptSelect("Remind me about which note?", choices);
8870
- }
8871
- const reminded = await sdk.facts.remindFact(arbi, eventId, {
8872
- remindAt: opts.at,
8873
- leadMinutes: opts.lead
8874
- });
8875
- if (opts.json) {
8876
- printJson(reminded);
8877
- return;
8878
- }
8879
- const ids = reminded.reminder_task_ext_ids ?? [];
8880
- const added = ids[ids.length - 1] ?? "";
8881
- const also = ids.length > 1 ? ` \u2014 ${ids.length} reminders on this note` : "";
8882
- success(`Reminder set on ${ref(reminded.external_id)} (${ref(added)})${also}`);
8883
- })()
8884
- );
8885
8863
  timeline.command("delete [id]").description("Delete a note (picker if no ID)").option("-w, --workspace <id>", "Workspace ID (defaults to selected workspace)").option("-y, --yes", "Skip confirmation").action(
8886
8864
  (id, opts) => runAction(async () => {
8887
8865
  const { arbi, workspaceId } = await resolveWorkspace(opts.workspace);
@@ -10719,6 +10697,8 @@ function registerWorkflowCommand(program2) {
10719
10697
  on_demand: !opts.rrule && !opts.runAt && !opts.eventKind && !opts.after,
10720
10698
  timezone: opts.timezone,
10721
10699
  prompt: opts.prompt ?? "",
10700
+ // Changes that need approving (deletes) ask first, as in a thread.
10701
+ approval_mode: "ask",
10722
10702
  // Unattended runs ask the owner for access each time unless the workflow is authorized for a fixed time.
10723
10703
  auth_mode: opts.authMode,
10724
10704
  ...opts.accessDays ? { access_seconds: accessSeconds(opts.accessDays) } : {},
@@ -12751,7 +12731,7 @@ console.info = (...args) => {
12751
12731
  _origInfo(...args);
12752
12732
  };
12753
12733
  var program = new commander.Command();
12754
- program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.5.204").showHelpAfterError(true).showSuggestionAfterError(true);
12734
+ program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.5.206").showHelpAfterError(true).showSuggestionAfterError(true);
12755
12735
  registerConfigCommand(program);
12756
12736
  registerLoginCommand(program);
12757
12737
  registerRegisterCommand(program);