@arbidocs/cli 0.5.205 โ 0.5.207
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 +124 -0
- package/dist/index.js +10 -30
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,129 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v0.5.207
|
|
4
|
+
|
|
5
|
+
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.5.206...HEAD)
|
|
6
|
+
|
|
7
|
+
### ๐ Enhancements
|
|
8
|
+
|
|
9
|
+
- The workspace Dashboard is a dashboard of blocks, read as sections by the page renderer ([91d712809](https://github.com/arbicity/ARBI-frontend/commit/91d712809))
|
|
10
|
+
- A workspace's own Dashboard (pages.home) for every member; Customise for developers ([0dbac8fb8](https://github.com/arbicity/ARBI-frontend/commit/0dbac8fb8))
|
|
11
|
+
- **blocks:** โ ๏ธ Model picker with Standard/Premium, Fast/Wise and Cost/Speed/Intelligence stars ([c40ddd0d5](https://github.com/arbicity/ARBI-frontend/commit/c40ddd0d5))
|
|
12
|
+
- **blocks:** Picks save chat_model/chat_mode; third_party_models opt-in; ratings from the backend ([e4e4b2963](https://github.com/arbicity/ARBI-frontend/commit/e4e4b2963))
|
|
13
|
+
- **blocks:** Autoselect pinned at the top of the Settings model table ([1f072f575](https://github.com/arbicity/ARBI-frontend/commit/1f072f575))
|
|
14
|
+
- **blocks:** โ ๏ธ One Fast/Wise toggle; ratings per mode from the generated schema ([4b95fc2da](https://github.com/arbicity/ARBI-frontend/commit/4b95fc2da))
|
|
15
|
+
- One Fast/Wise toggle: chat_mode, and it flips a running turn (useChatMode) ([b912f97bb](https://github.com/arbicity/ARBI-frontend/commit/b912f97bb))
|
|
16
|
+
|
|
17
|
+
### ๐ฉน Fixes
|
|
18
|
+
|
|
19
|
+
- A new page sends home (the create schema requires it) ([1ea11d8a6](https://github.com/arbicity/ARBI-frontend/commit/1ea11d8a6))
|
|
20
|
+
- In the dashboard editor, the Recent caption is one row tall and block controls clear Add/Ask ([bded0ca4a](https://github.com/arbicity/ARBI-frontend/commit/bded0ca4a))
|
|
21
|
+
- **blocks:** A model with no price class is never Standard; developers see it apart ([460351cc4](https://github.com/arbicity/ARBI-frontend/commit/460351cc4))
|
|
22
|
+
- A Fast/Wise flip (or Pause) sent as the turn starts reaches the run ([f589092dd](https://github.com/arbicity/ARBI-frontend/commit/f589092dd))
|
|
23
|
+
- **files:** Number annotation columns show their numbers, not "Invalid Number" ([e4927f7b4](https://github.com/arbicity/ARBI-frontend/commit/e4927f7b4))
|
|
24
|
+
- **e2e:** URL upload fetches a public test PDF; tags-page opens a thread by its title; a single tag chip has no Clear all ([6b38fc99d](https://github.com/arbicity/ARBI-frontend/commit/6b38fc99d))
|
|
25
|
+
- **tags:** Included filter chips show their names; a filtered empty table says nothing matches ([a11e5d3e5](https://github.com/arbicity/ARBI-frontend/commit/a11e5d3e5))
|
|
26
|
+
|
|
27
|
+
### ๐ก Chore
|
|
28
|
+
|
|
29
|
+
- Schema regenerated from the live backend (124ff58da, pages.home) ([a88a66f43](https://github.com/arbicity/ARBI-frontend/commit/a88a66f43))
|
|
30
|
+
|
|
31
|
+
### โ
Tests
|
|
32
|
+
|
|
33
|
+
- Drop an unused eslint-disable directive ([1146afc72](https://github.com/arbicity/ARBI-frontend/commit/1146afc72))
|
|
34
|
+
- **e2e:** Model picker against a live backend; Settings Autoselect label and class ([fcea03e66](https://github.com/arbicity/ARBI-frontend/commit/fcea03e66))
|
|
35
|
+
- **e2e:** Wait for the picker's models before the phone screenshot ([74c2ec26d](https://github.com/arbicity/ARBI-frontend/commit/74c2ec26d))
|
|
36
|
+
- Settings factory carries third_party_models, chat_model and chat_mode ([fa5f1ecf8](https://github.com/arbicity/ARBI-frontend/commit/fa5f1ecf8))
|
|
37
|
+
- **e2e:** Stale specs follow #2649 โ Facts is a built-in database (no sidebar row), the list holds it, the filter count sits in the search field ([#2649](https://github.com/arbicity/ARBI-frontend/issues/2649))
|
|
38
|
+
- **e2e:** Flipping Fast/Wise mid-turn saves chat_mode and flips the running turn ([5ac695afc](https://github.com/arbicity/ARBI-frontend/commit/5ac695afc))
|
|
39
|
+
- **e2e:** The Facts specs follow Facts as the workspace database (#2674/#4225) ([#2674](https://github.com/arbicity/ARBI-frontend/issues/2674), [#4225](https://github.com/arbicity/ARBI-frontend/issues/4225))
|
|
40
|
+
- **e2e:** Facts-full-demo curates with /facts (renamed from /notes) and waits for it in the Facts database ([121ca0cb2](https://github.com/arbicity/ARBI-frontend/commit/121ca0cb2))
|
|
41
|
+
- **cli:** Doc upload-url reads E2E_URL_UPLOAD_PDF and retries once on a network failure ([449a3c9cb](https://github.com/arbicity/ARBI-frontend/commit/449a3c9cb))
|
|
42
|
+
- Keep the documents e2e's PDF default; the URL must be external ([6019a04b4](https://github.com/arbicity/ARBI-frontend/commit/6019a04b4))
|
|
43
|
+
- **sdk:** Integration tests retry verify-ci's brief 404 before the record lands ([be3ec7b2d](https://github.com/arbicity/ARBI-frontend/commit/be3ec7b2d))
|
|
44
|
+
|
|
45
|
+
### ๐จ Styles
|
|
46
|
+
|
|
47
|
+
- Prettier ([feb7f7ddf](https://github.com/arbicity/ARBI-frontend/commit/feb7f7ddf))
|
|
48
|
+
|
|
49
|
+
### ๐ค CI
|
|
50
|
+
|
|
51
|
+
- **deploy:** Integration tests on Kata run parser-server's pinned image (no rebuild) ([f35345c1c](https://github.com/arbicity/ARBI-frontend/commit/f35345c1c))
|
|
52
|
+
- **deploy:** SDK & CLI Integration Tests ask for ci-cpu (8 GiB behind the CI ingress: Kata cpu set, 104's cpu VMs) ([da2af32aa](https://github.com/arbicity/ARBI-frontend/commit/da2af32aa))
|
|
53
|
+
- **deploy:** The image bump no longer waits on other runs or the integration tests ([03020c503](https://github.com/arbicity/ARBI-frontend/commit/03020c503))
|
|
54
|
+
|
|
55
|
+
#### โ ๏ธ Breaking Changes
|
|
56
|
+
|
|
57
|
+
- **blocks:** โ ๏ธ Model picker with Standard/Premium, Fast/Wise and Cost/Speed/Intelligence stars ([c40ddd0d5](https://github.com/arbicity/ARBI-frontend/commit/c40ddd0d5))
|
|
58
|
+
- **blocks:** โ ๏ธ One Fast/Wise toggle; ratings per mode from the generated schema ([4b95fc2da](https://github.com/arbicity/ARBI-frontend/commit/4b95fc2da))
|
|
59
|
+
|
|
60
|
+
## v0.5.206
|
|
61
|
+
|
|
62
|
+
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.5.205...HEAD)
|
|
63
|
+
|
|
64
|
+
### ๐ Enhancements
|
|
65
|
+
|
|
66
|
+
- Show and change the agent's reasoning effort mid-turn ([21783349b](https://github.com/arbicity/ARBI-frontend/commit/21783349b))
|
|
67
|
+
- Gearbox icon (lucide lab) for the reasoning effort badge ([4bf02bed1](https://github.com/arbicity/ARBI-frontend/commit/4bf02bed1))
|
|
68
|
+
- **databases:** Populate and Fill with AI from instructions; registry words for sources ([0d28617d5](https://github.com/arbicity/ARBI-frontend/commit/0d28617d5))
|
|
69
|
+
- **databases:** A Sources cell cites rows of other databases ([efc23aac2](https://github.com/arbicity/ARBI-frontend/commit/efc23aac2))
|
|
70
|
+
- **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))
|
|
71
|
+
- **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))
|
|
72
|
+
- **blocks:** Say what AI fill could not find; source quotes show escaped characters as themselves ([2bb8057d2](https://github.com/arbicity/ARBI-frontend/commit/2bb8057d2))
|
|
73
|
+
- **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))
|
|
74
|
+
- **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))
|
|
75
|
+
- **blocks:** A column's menu by keyboard; focus comes back to it ([719d5cf48](https://github.com/arbicity/ARBI-frontend/commit/719d5cf48))
|
|
76
|
+
- **react:** An extraction that found only known facts says so ([cec74273b](https://github.com/arbicity/ARBI-frontend/commit/cec74273b))
|
|
77
|
+
- 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))
|
|
78
|
+
- 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))
|
|
79
|
+
- 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))
|
|
80
|
+
- Custom dashboards for developers only (the server's developer setting), not a device switch ([29b2b8a0e](https://github.com/arbicity/ARBI-frontend/commit/29b2b8a0e))
|
|
81
|
+
- An open dashboard has its own address (/wrk-โฆ/entity/pag-โฆ); reload and Back work ([aa78dbfa1](https://github.com/arbicity/ARBI-frontend/commit/aa78dbfa1))
|
|
82
|
+
- Fast/Wise toggle in the agent bar, changeable mid-turn ([bb78ad103](https://github.com/arbicity/ARBI-frontend/commit/bb78ad103))
|
|
83
|
+
|
|
84
|
+
### ๐ฉน Fixes
|
|
85
|
+
|
|
86
|
+
- Use the cog icon for the reasoning effort badge ([d9be58cf6](https://github.com/arbicity/ARBI-frontend/commit/d9be58cf6))
|
|
87
|
+
- **databases:** A column's menu items are read as the menu opens ([b973a3236](https://github.com/arbicity/ARBI-frontend/commit/b973a3236))
|
|
88
|
+
- **blocks:** Background-work toasts need no named sender; picker words from the registry ([415f04d4f](https://github.com/arbicity/ARBI-frontend/commit/415f04d4f))
|
|
89
|
+
- **blocks:** Show workspace names as typed in the switcher ([9d02f2fba](https://github.com/arbicity/ARBI-frontend/commit/9d02f2fba))
|
|
90
|
+
- **blocks:** A refused cell write puts the stored row back ([1214d3e52](https://github.com/arbicity/ARBI-frontend/commit/1214d3e52))
|
|
91
|
+
- **blocks:** The ways to start take two columns on a phone, names only ([c60021335](https://github.com/arbicity/ARBI-frontend/commit/c60021335))
|
|
92
|
+
- **blocks:** AI fill settings can be saved while a fill runs ([ec62337f9](https://github.com/arbicity/ARBI-frontend/commit/ec62337f9))
|
|
93
|
+
- **blocks:** What an answer made opens from the thread in one click ([74db2e988](https://github.com/arbicity/ARBI-frontend/commit/74db2e988))
|
|
94
|
+
- 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))
|
|
95
|
+
- **blocks:** The Labels area says labels and files, not tags, fields and documents ([9c94c7704](https://github.com/arbicity/ARBI-frontend/commit/9c94c7704))
|
|
96
|
+
- **blocks:** A status filter picks from the column's options, with only conditions that fit ([061fff802](https://github.com/arbicity/ARBI-frontend/commit/061fff802))
|
|
97
|
+
- **blocks:** An unanswered question sends no "timeout" and never shows it as a reply ([83187a0ca](https://github.com/arbicity/ARBI-frontend/commit/83187a0ca))
|
|
98
|
+
- A column is changed on its own; a rename can no longer drop the others ([07c6b105a](https://github.com/arbicity/ARBI-frontend/commit/07c6b105a))
|
|
99
|
+
- **blocks:** A database opened from the list starts on its table ([9a2b3a137](https://github.com/arbicity/ARBI-frontend/commit/9a2b3a137))
|
|
100
|
+
- **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))
|
|
101
|
+
- **cli:** Workflow create sends approval_mode (required by the regenerated schema) ([e6134659a](https://github.com/arbicity/ARBI-frontend/commit/e6134659a))
|
|
102
|
+
- 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))
|
|
103
|
+
- The question card renders Markdown safely; e2e helpers never default to a real host ([3de848d46](https://github.com/arbicity/ARBI-frontend/commit/3de848d46))
|
|
104
|
+
|
|
105
|
+
### ๐ก Chore
|
|
106
|
+
|
|
107
|
+
- Undo a stray install change to an SDK example ([330ba302e](https://github.com/arbicity/ARBI-frontend/commit/330ba302e))
|
|
108
|
+
- Schema regenerated from the live backend (model roles) ([ca39ba256](https://github.com/arbicity/ARBI-frontend/commit/ca39ba256))
|
|
109
|
+
- Schema regenerated (ArbiItemMeta.summary); a step's result summary read from the generated type ([03a1ed139](https://github.com/arbicity/ARBI-frontend/commit/03a1ed139))
|
|
110
|
+
|
|
111
|
+
### โ
Tests
|
|
112
|
+
|
|
113
|
+
- **e2e:** The database extractor in the browser at 1440 and 390 px ([f02e956f3](https://github.com/arbicity/ARBI-frontend/commit/f02e956f3))
|
|
114
|
+
- 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))
|
|
115
|
+
- **e2e:** Reopen a column menu once the last one has closed ([edfc233ca](https://github.com/arbicity/ARBI-frontend/commit/edfc233ca))
|
|
116
|
+
- 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))
|
|
117
|
+
|
|
118
|
+
### ๐ค CI
|
|
119
|
+
|
|
120
|
+
- **e2e:** `kata` input pins the shards to the Kata E2E class; test output off tmpfs ([#2672](https://github.com/arbicity/ARBI-frontend/pull/2672))
|
|
121
|
+
- **e2e:** Word editor works on Kata runners; conversations start with a plain prompt ([#2680](https://github.com/arbicity/ARBI-frontend/pull/2680))
|
|
122
|
+
|
|
123
|
+
#### โ ๏ธ Breaking Changes
|
|
124
|
+
|
|
125
|
+
- **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))
|
|
126
|
+
|
|
3
127
|
## v0.5.205
|
|
4
128
|
|
|
5
129
|
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.5.204...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.
|
|
3703
|
+
return "0.5.207";
|
|
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.
|
|
3756
|
+
if (!latest || latest === "0.5.207") return;
|
|
3757
3757
|
if (autoUpdate) {
|
|
3758
3758
|
warn(`
|
|
3759
|
-
Your arbi version is out of date (${"0.5.
|
|
3759
|
+
Your arbi version is out of date (${"0.5.207"} \u2192 ${latest}). Updating...`);
|
|
3760
3760
|
child_process.execSync("npm install -g @arbidocs/cli@latest", { stdio: "inherit" });
|
|
3761
|
-
showChangelog("0.5.
|
|
3761
|
+
showChangelog("0.5.207", 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.
|
|
3766
|
+
Your arbi version is out of date (${"0.5.207"} \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.
|
|
3798
|
+
if (!cached || cached.latest === "0.5.207") return;
|
|
3799
3799
|
if (!shouldShowNag(cached.latest)) return;
|
|
3800
3800
|
warn(
|
|
3801
|
-
`Your arbi version is out of date (${"0.5.
|
|
3801
|
+
`Your arbi version is out of date (${"0.5.207"} \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.
|
|
12734
|
+
program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.5.207").showHelpAfterError(true).showSuggestionAfterError(true);
|
|
12755
12735
|
registerConfigCommand(program);
|
|
12756
12736
|
registerLoginCommand(program);
|
|
12757
12737
|
registerRegisterCommand(program);
|