@arbidocs/cli 0.4.89 → 0.4.91
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 +8 -0
- package/SKILL.md +2 -2
- package/dist/index.js +8 -8
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v0.4.91
|
|
4
|
+
|
|
5
|
+
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.4.89...HEAD)
|
|
6
|
+
|
|
7
|
+
### 🩹 Fixes
|
|
8
|
+
|
|
9
|
+
- **blocks:** Choice tiles size to their label, wrap, and take an option tone ([#1582](https://github.com/arbicity/ARBI-frontend/pull/1582))
|
|
10
|
+
|
|
3
11
|
## v0.4.89
|
|
4
12
|
|
|
5
13
|
[compare changes](https://github.com/arbicity/ARBI-frontend/compare/v0.4.87...HEAD)
|
package/SKILL.md
CHANGED
|
@@ -214,7 +214,7 @@ A step can also have:
|
|
|
214
214
|
- `signals`: `[{name, when}]` raised when the step is **done** and `when` holds — `{contains: "phrase"}` or `{matches: "regex"}` on an agent step's answer, `{field: name, equals: value}` on a form value, `{approved: true}` on a review; no `when` = always. Names are `[a-z0-9][a-z0-9_.-]*`. A signal starts every workflow made with `--on-signal <name>` (shorthand for `--event-kind workflow_signal --event-filter '{"signal":"<name>"}'`); the new thread is linked to the run that raised it and gets its inputs.
|
|
215
215
|
- `assignee`: exactly one of `{user: usr-…}`, `{run_owner: true}`, `{input: <person field>}` or `{project_lead: true}` — who is told when it is ready, and (with the run's owner and workspace owners) the only one who may complete it or send it back.
|
|
216
216
|
- `remind_after_hours`: a person step not done this long after it became ready is notified once more.
|
|
217
|
-
- `fields` (person steps): what completing it asks for, e.g. a rating at sign-off — `[{name, type, label, required, options: [{value}], min, max}]`, types `text`, `longtext`, `boolean`, `select`, `number`, `date`, `scope`, `documents`, `person`. `arbi run step … complete --input name=value` is checked against them (the option, the range, required, unknown names) before it is sent.
|
|
217
|
+
- `fields` (person steps): what completing it asks for, e.g. a rating at sign-off — `[{name, type, label, required, options: [{value, label, tone}], min, max}]`, types `text`, `longtext`, `boolean`, `select`, `number`, `date`, `scope`, `documents`, `person`. `arbi run step … complete --input name=value` is checked against them (the option, the range, required, unknown names) before it is sent. A choice's `tone` (`neutral`, `info`, `success`, `warning`, `danger`, `accent`, `ai`) colours it in the app; any other tone is refused.
|
|
218
218
|
|
|
219
219
|
```yaml
|
|
220
220
|
# risk.yaml — the agent rates the risk and signals; the run's owner signs off with a rating
|
|
@@ -230,7 +230,7 @@ A step can also have:
|
|
|
230
230
|
assignee: { run_owner: true }
|
|
231
231
|
remind_after_hours: 24
|
|
232
232
|
fields:
|
|
233
|
-
- { name: rating, type: select, required: true, options: [{ value: low }, { value: medium }, { value: high }] }
|
|
233
|
+
- { name: rating, type: select, required: true, options: [{ value: low, tone: success }, { value: medium, tone: warning }, { value: high, tone: danger }] }
|
|
234
234
|
```
|
|
235
235
|
|
|
236
236
|
```bash
|
package/dist/index.js
CHANGED
|
@@ -3695,7 +3695,7 @@ function getLatestVersion(skipCache = false) {
|
|
|
3695
3695
|
}
|
|
3696
3696
|
}
|
|
3697
3697
|
function getCurrentVersion() {
|
|
3698
|
-
return "0.4.
|
|
3698
|
+
return "0.4.91";
|
|
3699
3699
|
}
|
|
3700
3700
|
function readChangelog(fromVersion, toVersion) {
|
|
3701
3701
|
try {
|
|
@@ -3748,17 +3748,17 @@ function showChangelog(fromVersion, toVersion) {
|
|
|
3748
3748
|
async function checkForUpdates(autoUpdate) {
|
|
3749
3749
|
try {
|
|
3750
3750
|
const latest = getLatestVersion();
|
|
3751
|
-
if (!latest || latest === "0.4.
|
|
3751
|
+
if (!latest || latest === "0.4.91") return;
|
|
3752
3752
|
if (autoUpdate) {
|
|
3753
3753
|
warn(`
|
|
3754
|
-
Your arbi version is out of date (${"0.4.
|
|
3754
|
+
Your arbi version is out of date (${"0.4.91"} \u2192 ${latest}). Updating...`);
|
|
3755
3755
|
child_process.execSync("npm install -g @arbidocs/cli@latest", { stdio: "inherit" });
|
|
3756
|
-
showChangelog("0.4.
|
|
3756
|
+
showChangelog("0.4.91", latest);
|
|
3757
3757
|
console.log(`Updated to ${latest}.`);
|
|
3758
3758
|
} else {
|
|
3759
3759
|
warn(
|
|
3760
3760
|
`
|
|
3761
|
-
Your arbi version is out of date (${"0.4.
|
|
3761
|
+
Your arbi version is out of date (${"0.4.91"} \u2192 ${latest}).
|
|
3762
3762
|
Run "arbi update" to upgrade, or "arbi update auto" to always stay up to date.`
|
|
3763
3763
|
);
|
|
3764
3764
|
}
|
|
@@ -3790,10 +3790,10 @@ function markNagShown(latest) {
|
|
|
3790
3790
|
function hintUpdateOnError() {
|
|
3791
3791
|
try {
|
|
3792
3792
|
const cached = readCache();
|
|
3793
|
-
if (!cached || cached.latest === "0.4.
|
|
3793
|
+
if (!cached || cached.latest === "0.4.91") return;
|
|
3794
3794
|
if (!shouldShowNag(cached.latest)) return;
|
|
3795
3795
|
warn(
|
|
3796
|
-
`Your arbi version is out of date (${"0.4.
|
|
3796
|
+
`Your arbi version is out of date (${"0.4.91"} \u2192 ${cached.latest}). Run "arbi update".`
|
|
3797
3797
|
);
|
|
3798
3798
|
markNagShown(cached.latest);
|
|
3799
3799
|
} catch {
|
|
@@ -12186,7 +12186,7 @@ console.info = (...args) => {
|
|
|
12186
12186
|
_origInfo(...args);
|
|
12187
12187
|
};
|
|
12188
12188
|
var program = new commander.Command();
|
|
12189
|
-
program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.4.
|
|
12189
|
+
program.name("arbi").description("ARBI CLI \u2014 interact with ARBI from the terminal").version("0.4.91").showHelpAfterError(true).showSuggestionAfterError(true);
|
|
12190
12190
|
registerConfigCommand(program);
|
|
12191
12191
|
registerLoginCommand(program);
|
|
12192
12192
|
registerRegisterCommand(program);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbidocs/cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.91",
|
|
4
4
|
"description": "CLI tool for interacting with ARBI — login, manage workspaces, upload documents, query the RAG assistant",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"preuninstall": "node scripts/preuninstall.js"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@arbidocs/sdk": "0.4.
|
|
25
|
-
"@arbidocs/client": "0.4.
|
|
26
|
-
"@arbidocs/tui": "0.4.
|
|
24
|
+
"@arbidocs/sdk": "0.4.91",
|
|
25
|
+
"@arbidocs/client": "0.4.91",
|
|
26
|
+
"@arbidocs/tui": "0.4.91",
|
|
27
27
|
"@inquirer/prompts": "^8.5.2",
|
|
28
28
|
"chalk": "^5.6.2",
|
|
29
29
|
"commander": "^15.0.0",
|