@arbidocs/cli 0.4.38 → 0.4.40
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 +48 -11
- package/dist/index.js +13 -9
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,53 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## v0.4.
|
|
3
|
+
## v0.4.40
|
|
4
|
+
|
|
5
|
+
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.4.37...HEAD)
|
|
6
|
+
|
|
7
|
+
### 🚀 Enhancements
|
|
8
|
+
|
|
9
|
+
- **tasks:** Ask a teammate for review from the thread task bar ([71359b895](https://github.com/arbicity/ARBI-frontend/commit/71359b895))
|
|
10
|
+
- **tasks:** Ask for review from the task list ([1ed8cd25e](https://github.com/arbicity/ARBI-frontend/commit/1ed8cd25e))
|
|
11
|
+
|
|
12
|
+
### 🩹 Fixes
|
|
13
|
+
|
|
14
|
+
- **threads:** ARBI only answers in group chats when @mentioned; comments aren't review feedback ([92a8c8657](https://github.com/arbicity/ARBI-frontend/commit/92a8c8657))
|
|
15
|
+
- **threads:** Escape closes only the open "Who does the work" menu (persona nora-lead I01) ([81c3a9020](https://github.com/arbicity/ARBI-frontend/commit/81c3a9020))
|
|
16
|
+
- **threads:** New task starts blank after the dialog is closed (persona nora-lead I03) ([ac2a49c3b](https://github.com/arbicity/ARBI-frontend/commit/ac2a49c3b))
|
|
17
|
+
- **threads:** Label thread visibility with who can see it (persona eli-associate I04) ([a6315438b](https://github.com/arbicity/ARBI-frontend/commit/a6315438b))
|
|
18
|
+
- **notifications:** Viewing the list clears unread self-addressed rows (persona sofia-counsel I02) ([9eb33e755](https://github.com/arbicity/ARBI-frontend/commit/9eb33e755))
|
|
19
|
+
- **threads:** Clear the composer after a comment to people (persona eli-associate I02) ([1efd76714](https://github.com/arbicity/ARBI-frontend/commit/1efd76714))
|
|
20
|
+
- **personas:** Fixers verify multi-user issues against the persona's whole workspace group ([7d3bc004d](https://github.com/arbicity/ARBI-frontend/commit/7d3bc004d))
|
|
21
|
+
- **threads:** Label thread list speaker column as last message author (persona nora-lead I07) ([872a3e016](https://github.com/arbicity/ARBI-frontend/commit/872a3e016))
|
|
22
|
+
- **mail:** Say where a saved draft went (persona grace-assistant I01) ([d00b27108](https://github.com/arbicity/ARBI-frontend/commit/d00b27108))
|
|
23
|
+
- **mail:** Point a new email to a saved draft with the same subject (persona grace-assistant I02) ([a995f3a01](https://github.com/arbicity/ARBI-frontend/commit/a995f3a01))
|
|
24
|
+
- **tasks:** @mention a workspace person in the New task box (persona hana-drafter I03) ([1aaeb67b3](https://github.com/arbicity/ARBI-frontend/commit/1aaeb67b3))
|
|
25
|
+
- **tasks:** Let People only tasks be assigned to a collaborator (persona leo-reviewer I03) ([3dd924c9c](https://github.com/arbicity/ARBI-frontend/commit/3dd924c9c))
|
|
26
|
+
- **personas:** Browser-zoom emulates real Ctrl/Cmd + zoom instead of CSS zoom ([d6e3775d8](https://github.com/arbicity/ARBI-frontend/commit/d6e3775d8))
|
|
27
|
+
- **mail:** Show known contact names for recipients instead of raw addresses (persona grace-assistant I03) ([fe5954f03](https://github.com/arbicity/ARBI-frontend/commit/fe5954f03))
|
|
28
|
+
- **threads:** Settle to the bottom when a reply finishes streaming (persona raj-partner I02) ([b0e35efd6](https://github.com/arbicity/ARBI-frontend/commit/b0e35efd6))
|
|
29
|
+
- **viewer:** Show a read-only Word copy when the live editor cannot open (persona tom-first-timer I06) ([9055f04b1](https://github.com/arbicity/ARBI-frontend/commit/9055f04b1))
|
|
30
|
+
- **sidebar:** Escape closes the hover-opened navigation rail ([2cf9b2f93](https://github.com/arbicity/ARBI-frontend/commit/2cf9b2f93))
|
|
31
|
+
- **ui:** Lighter dark-mode scrim so page text behind side panels stays readable (persona ken-low-vision I02) ([6fd851270](https://github.com/arbicity/ARBI-frontend/commit/6fd851270))
|
|
32
|
+
- **search:** Keep exact keyword hits under High relevance threshold (persona lena-legal-ops I03) ([6c958a4e5](https://github.com/arbicity/ARBI-frontend/commit/6c958a4e5))
|
|
33
|
+
- **documents:** Pin "New folder" above the folder list (persona lena-legal-ops I04) ([209b69d9c](https://github.com/arbicity/ARBI-frontend/commit/209b69d9c))
|
|
34
|
+
- **workspaces:** Tap visibility words to explain who can see the workspace (persona tom-first-timer I03) ([987289847](https://github.com/arbicity/ARBI-frontend/commit/987289847))
|
|
35
|
+
- **documents:** Stop out-of-order doc fetches from reverting AI annotation cells ([e53ed5fd5](https://github.com/arbicity/ARBI-frontend/commit/e53ed5fd5))
|
|
36
|
+
- **notifications:** Count distinct documents in AI annotation toast (persona lena-legal-ops I02) ([949714982](https://github.com/arbicity/ARBI-frontend/commit/949714982))
|
|
37
|
+
- **documents:** Label file tile visibility as Shared or Private (persona tom-first-timer I04) ([c21e67066](https://github.com/arbicity/ARBI-frontend/commit/c21e67066))
|
|
38
|
+
- **documents:** Label bulk share button "Make private" when selection is shared (persona leo-reviewer I04) ([84e5daeb4](https://github.com/arbicity/ARBI-frontend/commit/84e5daeb4))
|
|
39
|
+
- **facts:** Show the Dates column beside the fact text (persona maya-paralegal I03) ([83e3d058c](https://github.com/arbicity/ARBI-frontend/commit/83e3d058c))
|
|
40
|
+
- **citations:** Name cited documents as the workspace names them (persona priya-mobile I02) ([007daf42a](https://github.com/arbicity/ARBI-frontend/commit/007daf42a))
|
|
41
|
+
- **citations:** Close the citation popover when the viewer covers the screen on phones ([c59c96592](https://github.com/arbicity/ARBI-frontend/commit/c59c96592))
|
|
42
|
+
- **upload:** Show who can see uploaded files without hovering (persona tom-first-timer I02) ([7ee47677f](https://github.com/arbicity/ARBI-frontend/commit/7ee47677f))
|
|
43
|
+
- **viewer:** Show loading state instead of a blank PDF pane while the document loads (persona sofia-counsel I03) ([94a16c824](https://github.com/arbicity/ARBI-frontend/commit/94a16c824))
|
|
44
|
+
- **citations:** Keep passages from both retrieval tools in citation popovers (persona maya-paralegal I01) ([49a911b9b](https://github.com/arbicity/ARBI-frontend/commit/49a911b9b))
|
|
45
|
+
|
|
46
|
+
### ✅ Tests
|
|
47
|
+
|
|
48
|
+
- **mail:** Expect the 'Saved to Drafts' confirmation in the remaining tests ([2e0a26667](https://github.com/arbicity/ARBI-frontend/commit/2e0a26667))
|
|
49
|
+
|
|
50
|
+
## v0.4.37
|
|
4
51
|
|
|
5
52
|
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.4.33...HEAD)
|
|
6
53
|
|
|
@@ -21,13 +68,6 @@
|
|
|
21
68
|
- **threads:** Show the semantic search icon to everyone, not just behind the experimental flag ([e64cd244e](https://github.com/arbicity/ARBI-frontend/commit/e64cd244e))
|
|
22
69
|
- **docx-collab:** Own Yjs collaboration for the native DOCX editor ([d1f54eaea](https://github.com/arbicity/ARBI-frontend/commit/d1f54eaea))
|
|
23
70
|
- Replace EigenPal Pro review and collaboration with our own ([31a729603](https://github.com/arbicity/ARBI-frontend/commit/31a729603))
|
|
24
|
-
- **personas:** Aim personas at features, verify they're switched on, shared workspaces ([affa16eb4](https://github.com/arbicity/ARBI-frontend/commit/affa16eb4))
|
|
25
|
-
- **a11y:** Text size setting, readable citation markers, brighter dark helper text ([e1f9a80b0](https://github.com/arbicity/ARBI-frontend/commit/e1f9a80b0))
|
|
26
|
-
- **viewer:** Open documents on the readable HTML view on phones ([44ce5e96e](https://github.com/arbicity/ARBI-frontend/commit/44ce5e96e))
|
|
27
|
-
- **files:** Show item count on multi-drag preview and clear selection after moves ([89bf1203c](https://github.com/arbicity/ARBI-frontend/commit/89bf1203c))
|
|
28
|
-
- **chat:** Add send button to the follow-up suggestion chip ([c42c6c38a](https://github.com/arbicity/ARBI-frontend/commit/c42c6c38a))
|
|
29
|
-
- **search:** Rank keyword hits above meaning-only matches in Smart Search ([41b241842](https://github.com/arbicity/ARBI-frontend/commit/41b241842))
|
|
30
|
-
- **answers:** Download markdown tables in answers as CSV ([1c8970249](https://github.com/arbicity/ARBI-frontend/commit/1c8970249))
|
|
31
71
|
|
|
32
72
|
### 🔥 Performance
|
|
33
73
|
|
|
@@ -46,9 +86,6 @@
|
|
|
46
86
|
- **sharing:** Confirm before hiding selected documents from workspace (persona lena-legal-ops I09 trust) ([b1d0e5bfe](https://github.com/arbicity/ARBI-frontend/commit/b1d0e5bfe))
|
|
47
87
|
- **sharing:** Say an unknown email may not have an account before Add (persona raj-partner I04) ([e1e4bdd32](https://github.com/arbicity/ARBI-frontend/commit/e1e4bdd32))
|
|
48
88
|
- **sharing:** Title the invite prompt 'Invite by email?' instead of 'User Not Found' ([da07c157f](https://github.com/arbicity/ARBI-frontend/commit/da07c157f))
|
|
49
|
-
- **files:** Stop the Files toolbar overlapping on phones ([0a5b90f71](https://github.com/arbicity/ARBI-frontend/commit/0a5b90f71))
|
|
50
|
-
- Let the reviewer approve or follow up on a task awaiting review ([a7f5e3b54](https://github.com/arbicity/ARBI-frontend/commit/a7f5e3b54))
|
|
51
|
-
- **sharing:** Show who can see a workspace's files and each file's visibility ([1fc207662](https://github.com/arbicity/ARBI-frontend/commit/1fc207662))
|
|
52
89
|
|
|
53
90
|
### 💅 Refactors
|
|
54
91
|
|
package/dist/index.js
CHANGED
|
@@ -3694,7 +3694,7 @@ function getLatestVersion(skipCache = false) {
|
|
|
3694
3694
|
}
|
|
3695
3695
|
}
|
|
3696
3696
|
function getCurrentVersion() {
|
|
3697
|
-
return "0.4.
|
|
3697
|
+
return "0.4.40";
|
|
3698
3698
|
}
|
|
3699
3699
|
function readChangelog(fromVersion, toVersion) {
|
|
3700
3700
|
try {
|
|
@@ -3747,17 +3747,17 @@ function showChangelog(fromVersion, toVersion) {
|
|
|
3747
3747
|
async function checkForUpdates(autoUpdate) {
|
|
3748
3748
|
try {
|
|
3749
3749
|
const latest = getLatestVersion();
|
|
3750
|
-
if (!latest || latest === "0.4.
|
|
3750
|
+
if (!latest || latest === "0.4.40") return;
|
|
3751
3751
|
if (autoUpdate) {
|
|
3752
3752
|
warn(`
|
|
3753
|
-
Your arbi version is out of date (${"0.4.
|
|
3753
|
+
Your arbi version is out of date (${"0.4.40"} \u2192 ${latest}). Updating...`);
|
|
3754
3754
|
child_process.execSync("npm install -g @arbidocs/cli@latest", { stdio: "inherit" });
|
|
3755
|
-
showChangelog("0.4.
|
|
3755
|
+
showChangelog("0.4.40", latest);
|
|
3756
3756
|
console.log(`Updated to ${latest}.`);
|
|
3757
3757
|
} else {
|
|
3758
3758
|
warn(
|
|
3759
3759
|
`
|
|
3760
|
-
Your arbi version is out of date (${"0.4.
|
|
3760
|
+
Your arbi version is out of date (${"0.4.40"} \u2192 ${latest}).
|
|
3761
3761
|
Run "arbi update" to upgrade, or "arbi update auto" to always stay up to date.`
|
|
3762
3762
|
);
|
|
3763
3763
|
}
|
|
@@ -3789,10 +3789,10 @@ function markNagShown(latest) {
|
|
|
3789
3789
|
function hintUpdateOnError() {
|
|
3790
3790
|
try {
|
|
3791
3791
|
const cached = readCache();
|
|
3792
|
-
if (!cached || cached.latest === "0.4.
|
|
3792
|
+
if (!cached || cached.latest === "0.4.40") return;
|
|
3793
3793
|
if (!shouldShowNag(cached.latest)) return;
|
|
3794
3794
|
warn(
|
|
3795
|
-
`Your arbi version is out of date (${"0.4.
|
|
3795
|
+
`Your arbi version is out of date (${"0.4.40"} \u2192 ${cached.latest}). Run "arbi update".`
|
|
3796
3796
|
);
|
|
3797
3797
|
markNagShown(cached.latest);
|
|
3798
3798
|
} catch {
|
|
@@ -10141,7 +10141,8 @@ function buildCompose(options) {
|
|
|
10141
10141
|
text: options.text ?? (options.textFile ? read(options.textFile) : ""),
|
|
10142
10142
|
...html ? { html } : {},
|
|
10143
10143
|
secure_delivery: false,
|
|
10144
|
-
attachments: (options.attach ?? []).map((file) => sdk.mailNode.attachmentFromFile(file))
|
|
10144
|
+
attachments: (options.attach ?? []).map((file) => sdk.mailNode.attachmentFromFile(file)),
|
|
10145
|
+
...options.task ? { conversation_ext_id: options.task } : {}
|
|
10145
10146
|
};
|
|
10146
10147
|
}
|
|
10147
10148
|
function addComposeOptions(command) {
|
|
@@ -10269,6 +10270,9 @@ ${message.text}`);
|
|
|
10269
10270
|
mail.command("draft").description(
|
|
10270
10271
|
"Save a draft. Run by an agent, it goes to its owner's Drafts, from their address, for them to review and send"
|
|
10271
10272
|
)
|
|
10273
|
+
).option(
|
|
10274
|
+
"--task <id>",
|
|
10275
|
+
"Task (conversation id, con-...) this draft belongs to; the alert links to it"
|
|
10272
10276
|
).action(
|
|
10273
10277
|
(opts) => runAction(async () => {
|
|
10274
10278
|
const compose = buildCompose(opts);
|
|
@@ -10874,7 +10878,7 @@ console.info = (...args) => {
|
|
|
10874
10878
|
_origInfo(...args);
|
|
10875
10879
|
};
|
|
10876
10880
|
var program = new commander.Command();
|
|
10877
|
-
program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.4.
|
|
10881
|
+
program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.4.40").showHelpAfterError(true).showSuggestionAfterError(true);
|
|
10878
10882
|
registerConfigCommand(program);
|
|
10879
10883
|
registerLoginCommand(program);
|
|
10880
10884
|
registerRegisterCommand(program);
|