@arbidocs/cli 0.3.78 โ 0.3.80
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 +56 -0
- package/dist/index.js +21 -10
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,61 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v0.3.80
|
|
4
|
+
|
|
5
|
+
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.3.79...HEAD)
|
|
6
|
+
|
|
7
|
+
### ๐ Enhancements
|
|
8
|
+
|
|
9
|
+
- **cli:** Humanize agent-step output (Thinkingโฆ, doc names, page ranges, no Alt keys) ([#844](https://github.com/arbicity/ARBI-frontend/pull/844))
|
|
10
|
+
|
|
11
|
+
## v0.3.79
|
|
12
|
+
|
|
13
|
+
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.3.78...HEAD)
|
|
14
|
+
|
|
15
|
+
### ๐ Enhancements
|
|
16
|
+
|
|
17
|
+
- **agent-steps:** Frontend-owned icons + goal_progress checklist ([deb63aae8](https://github.com/arbicity/ARBI-frontend/commit/deb63aae8))
|
|
18
|
+
- Add delete account UI with two-step confirmation dialog ([331073721](https://github.com/arbicity/ARBI-frontend/commit/331073721))
|
|
19
|
+
- Preview and upload audio/video URLs (YouTube, direct media) in URL dialog ([#823](https://github.com/arbicity/ARBI-frontend/pull/823))
|
|
20
|
+
- Ground Word add-in "Find support" citations in retrieved chunks ([47fa62908](https://github.com/arbicity/ARBI-frontend/commit/47fa62908))
|
|
21
|
+
- Consolidate Word add-in auth to sidebar sign-in with actionable command feedback ([f026078e9](https://github.com/arbicity/ARBI-frontend/commit/f026078e9))
|
|
22
|
+
- Make Word add-in Summarise non-destructive and Draft tracked ([011fe7ff3](https://github.com/arbicity/ARBI-frontend/commit/011fe7ff3))
|
|
23
|
+
- Make Word add-in Ask ARBI sidebar-first with post-as-comment ([a3bb73caa](https://github.com/arbicity/ARBI-frontend/commit/a3bb73caa))
|
|
24
|
+
- Insert grounded ARBI citations as Word footnotes (WordApi 1.5) ([4ae11f7db](https://github.com/arbicity/ARBI-frontend/commit/4ae11f7db))
|
|
25
|
+
- Wrap ARBI-drafted clauses in titled content controls (WordApi 1.5) ([aaa96775e](https://github.com/arbicity/ARBI-frontend/commit/aaa96775e))
|
|
26
|
+
- Word add-in sidebar accept/reject panel for AI tracked changes (WordApi 1.6) ([ef4eb0ad7](https://github.com/arbicity/ARBI-frontend/commit/ef4eb0ad7))
|
|
27
|
+
- Resolve ARBI comments via Comment.resolved (WordApi 1.4) ([f5be073a7](https://github.com/arbicity/ARBI-frontend/commit/f5be073a7))
|
|
28
|
+
- Surface ARBI suggestions as native Word annotation critiques (WordApi 1.7/1.8) ([ba9766a0f](https://github.com/arbicity/ARBI-frontend/commit/ba9766a0f))
|
|
29
|
+
- Friendly labels for transcription model groups in usage breakdown ([#832](https://github.com/arbicity/ARBI-frontend/pull/832))
|
|
30
|
+
- **sse:** Render live step-delta narration + step UI polish ([76647ca91](https://github.com/arbicity/ARBI-frontend/commit/76647ca91))
|
|
31
|
+
|
|
32
|
+
### ๐ฉน Fixes
|
|
33
|
+
|
|
34
|
+
- **format:** Apply prettier formatting to delete account components ([2ab0541f9](https://github.com/arbicity/ARBI-frontend/commit/2ab0541f9))
|
|
35
|
+
- Bump Word add-in manifest to WordApi 1.4 for comments + tracked changes ([8fed95f2f](https://github.com/arbicity/ARBI-frontend/commit/8fed95f2f))
|
|
36
|
+
- Auto-copy MCP OAuth callback URL to clipboard on Allow click ([#810](https://github.com/arbicity/ARBI-frontend/pull/810))
|
|
37
|
+
- Resolve test import conflict and bump manifest to WordApi 1.8 ([112ff938c](https://github.com/arbicity/ARBI-frontend/commit/112ff938c))
|
|
38
|
+
- Reconcile office-mock test surface across phase-2 merges ([87e0ed7b4](https://github.com/arbicity/ARBI-frontend/commit/87e0ed7b4))
|
|
39
|
+
- Treat low-content documents the same as completed ([#841](https://github.com/arbicity/ARBI-frontend/pull/841))
|
|
40
|
+
|
|
41
|
+
### ๐
Refactors
|
|
42
|
+
|
|
43
|
+
- Extract Word add-in document actions into testable pure functions ([1c32765cd](https://github.com/arbicity/ARBI-frontend/commit/1c32765cd))
|
|
44
|
+
- Consolidate ARBI_COMMENT_PREFIX into shared ai-attribution module ([c14e45625](https://github.com/arbicity/ARBI-frontend/commit/c14e45625))
|
|
45
|
+
- Source ARBI_COMMENT_PREFIX in ribbon-command-utils from shared ai-attribution module ([2d74cc16c](https://github.com/arbicity/ARBI-frontend/commit/2d74cc16c))
|
|
46
|
+
- Share SELECTED_WORKSPACE_KEY and drop dead token accumulation in streamFromApi ([04ddfeffc](https://github.com/arbicity/ARBI-frontend/commit/04ddfeffc))
|
|
47
|
+
- Consolidate Word-context detection and add ensureOfficeReady helper ([9b424ade9](https://github.com/arbicity/ARBI-frontend/commit/9b424ade9))
|
|
48
|
+
- Extract generic withWordRun wrapper for self-contained Word.run helpers ([30ecca834](https://github.com/arbicity/ARBI-frontend/commit/30ecca834))
|
|
49
|
+
|
|
50
|
+
### ๐ก Chore
|
|
51
|
+
|
|
52
|
+
- **schema:** Regenerate SDK types for the SSE protocol changes ([ae296f1dd](https://github.com/arbicity/ARBI-frontend/commit/ae296f1dd))
|
|
53
|
+
- Merge P4 footnote-citations into phase-2 rollup ([d949406c6](https://github.com/arbicity/ARBI-frontend/commit/d949406c6))
|
|
54
|
+
- Merge P5 content-control-clauses into phase-2 rollup ([24e2d2245](https://github.com/arbicity/ARBI-frontend/commit/24e2d2245))
|
|
55
|
+
- Merge P2 annotations into phase-2 rollup ([1e8e6c099](https://github.com/arbicity/ARBI-frontend/commit/1e8e6c099))
|
|
56
|
+
- Merge P1 accept-reject into phase-2 rollup ([87d30eed9](https://github.com/arbicity/ARBI-frontend/commit/87d30eed9))
|
|
57
|
+
- **schema:** Resync to backend; map the skill step icon ([7491b301c](https://github.com/arbicity/ARBI-frontend/commit/7491b301c))
|
|
58
|
+
|
|
3
59
|
## v0.3.78
|
|
4
60
|
|
|
5
61
|
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.3.77...HEAD)
|
package/dist/index.js
CHANGED
|
@@ -3694,7 +3694,7 @@ function getLatestVersion(skipCache = false) {
|
|
|
3694
3694
|
}
|
|
3695
3695
|
}
|
|
3696
3696
|
function getCurrentVersion() {
|
|
3697
|
-
return "0.3.
|
|
3697
|
+
return "0.3.80";
|
|
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.3.
|
|
3750
|
+
if (!latest || latest === "0.3.80") return;
|
|
3751
3751
|
if (autoUpdate) {
|
|
3752
3752
|
warn(`
|
|
3753
|
-
Your arbi version is out of date (${"0.3.
|
|
3753
|
+
Your arbi version is out of date (${"0.3.80"} \u2192 ${latest}). Updating...`);
|
|
3754
3754
|
child_process.execSync("npm install -g @arbidocs/cli@latest", { stdio: "inherit" });
|
|
3755
|
-
showChangelog("0.3.
|
|
3755
|
+
showChangelog("0.3.80", 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.3.
|
|
3760
|
+
Your arbi version is out of date (${"0.3.80"} \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.3.
|
|
3792
|
+
if (!cached || cached.latest === "0.3.80") return;
|
|
3793
3793
|
if (!shouldShowNag(cached.latest)) return;
|
|
3794
3794
|
warn(
|
|
3795
|
-
`Your arbi version is out of date (${"0.3.
|
|
3795
|
+
`Your arbi version is out of date (${"0.3.80"} \u2192 ${cached.latest}). Run "arbi update".`
|
|
3796
3796
|
);
|
|
3797
3797
|
markNagShown(cached.latest);
|
|
3798
3798
|
} catch {
|
|
@@ -7202,6 +7202,10 @@ function registerAskCommand(program2) {
|
|
|
7202
7202
|
}
|
|
7203
7203
|
const docs = await sdk.documents.listDocuments(arbi);
|
|
7204
7204
|
const docIds = docs.map((d) => d.external_id);
|
|
7205
|
+
const docNames = {};
|
|
7206
|
+
for (const d of docs) {
|
|
7207
|
+
if (d.external_id && d.file_name) docNames[d.external_id] = d.file_name;
|
|
7208
|
+
}
|
|
7205
7209
|
if (opts.background) {
|
|
7206
7210
|
const result2 = await sdk.responses.submitBackgroundQuery({
|
|
7207
7211
|
baseUrl: config.baseUrl,
|
|
@@ -7258,6 +7262,8 @@ function registerAskCommand(program2) {
|
|
|
7258
7262
|
const verbose = opts.quiet === true ? false : getConfig()?.verbose !== false;
|
|
7259
7263
|
let elapsedTime = null;
|
|
7260
7264
|
let firstToken = true;
|
|
7265
|
+
let lastStepIndex = null;
|
|
7266
|
+
let lastStepLabel = "";
|
|
7261
7267
|
let buf = "";
|
|
7262
7268
|
const transform = opts.rawCitations ? (s) => s : sdk.stripCitationMarkdown;
|
|
7263
7269
|
const flush = (final) => {
|
|
@@ -7278,10 +7284,15 @@ function registerAskCommand(program2) {
|
|
|
7278
7284
|
},
|
|
7279
7285
|
onAgentStep: (data) => {
|
|
7280
7286
|
if (verbose) {
|
|
7281
|
-
const label2 = sdk.formatAgentStepLabel(data);
|
|
7287
|
+
const label2 = sdk.formatAgentStepLabel(data, docNames);
|
|
7282
7288
|
if (label2 && data.step !== "answering") {
|
|
7283
|
-
|
|
7289
|
+
const isDuplicate = data.index === lastStepIndex && label2 === lastStepLabel;
|
|
7290
|
+
if (!isDuplicate) {
|
|
7291
|
+
console.error(chalk2__default.default.dim(`
|
|
7284
7292
|
[ARBI] ${label2}`));
|
|
7293
|
+
lastStepIndex = data.index;
|
|
7294
|
+
lastStepLabel = label2;
|
|
7295
|
+
}
|
|
7285
7296
|
}
|
|
7286
7297
|
}
|
|
7287
7298
|
},
|
|
@@ -10226,7 +10237,7 @@ console.info = (...args) => {
|
|
|
10226
10237
|
_origInfo(...args);
|
|
10227
10238
|
};
|
|
10228
10239
|
var program = new commander.Command();
|
|
10229
|
-
program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.3.
|
|
10240
|
+
program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.3.80").showHelpAfterError(true).showSuggestionAfterError(true);
|
|
10230
10241
|
registerConfigCommand(program);
|
|
10231
10242
|
registerLoginCommand(program);
|
|
10232
10243
|
registerRegisterCommand(program);
|