@uru-intelligence/cli 0.4.14 → 0.4.15
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 +4 -0
- package/dist/library.mjs +15 -15
- package/dist/uru.mjs +7640 -7624
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -48,6 +48,8 @@
|
|
|
48
48
|
|
|
49
49
|
### Fixed
|
|
50
50
|
|
|
51
|
+
- Clear automation runs-list usage when automation_id is missing, skip confirm on delete --preview, accept snake_case registry aliases, emit structured token create JSON, and register sharing.labels_list / sharing.label_create ops. — surfaces: cli, docs; reference: apps/cli/src/local-commands.ts
|
|
52
|
+
- Action: uru automations runs ls now requires <automation-id> and prints usage instead of an opaque schema error. Preview deletes no longer need --yes. Prefer published CLI >= 0.4.15 for labels aliases, snake_case registry params, and token create JSON id.
|
|
51
53
|
- JSON output for destructive CLI operations refused without `--yes` now includes `confirmationRequired: true` and a copy-paste `suggestedCommand` with `--yes` appended. — surfaces: cli; reference: apps/cli/src/cli-runtime.ts
|
|
52
54
|
- Action: No action is required. Agents and scripts can read `suggestedCommand` from JSON errors instead of guessing the confirmation flag.
|
|
53
55
|
- Keep the CLI login when you switch workspace. A leftover workspace from a previous switch no longer poisons the next login. `uru switch` marks the current workspace in the list. — surfaces: cli; reference: apps/cli/src/oauth-credential.ts
|
|
@@ -62,6 +64,8 @@
|
|
|
62
64
|
- Action: No action is required. `uru doctor` gains a `data access` check and fails when a credential validates but cannot execute tools; a token supplied through `--token` or `URU_TOKEN` is no longer told to run `uru login`.
|
|
63
65
|
- Send scope on uru automations create, honor --output/--json on uru tools run, and keep errorId plus httpStatus on JSON errors. — surfaces: cli; reference: apps/cli/src/local-commands.ts
|
|
64
66
|
- Action: uru automations create now sends scope=workspace by default. Pass --scope personal when creating a personal automation. JSON errors include errorId and httpStatus when the API provides them.
|
|
67
|
+
- Tip library_fs read refusals toward library_query, and ship labels/list aliases that need a live catalog with list_labels/create_label. — surfaces: cli, docs; reference: PR #5379 CF001; PR #5381 staging labels catalog
|
|
68
|
+
- Action: Prefer published CLI >= 0.4.15. Use uru sharing labels_list / label_create (or operations sharing.labels_list / sharing.label_create). library_fs read ops should point callers at library_query instead of an opaque safety refusal.
|
|
65
69
|
- Use the shared SemVer contract when deciding whether to show a CLI update notice. — surfaces: cli, release; reference: docs/plans/cli-sdk-native-release-modernization/PLAN.md
|
|
66
70
|
- Action: No action is required; prerelease and malformed registry versions now follow the same validation and ordering rules as release publication.
|
|
67
71
|
|
package/dist/library.mjs
CHANGED
|
@@ -16903,7 +16903,7 @@ function pickString(record2, keys) {
|
|
|
16903
16903
|
// package.json
|
|
16904
16904
|
var package_default = {
|
|
16905
16905
|
name: "@uru-intelligence/cli",
|
|
16906
|
-
version: "0.4.
|
|
16906
|
+
version: "0.4.15",
|
|
16907
16907
|
private: false,
|
|
16908
16908
|
description: "Uru full-platform command line interface",
|
|
16909
16909
|
repository: {
|
|
@@ -16928,8 +16928,8 @@ var package_default = {
|
|
|
16928
16928
|
access: "public"
|
|
16929
16929
|
},
|
|
16930
16930
|
scripts: {
|
|
16931
|
-
lint: "node ../../scripts/run-with-repo-node.mjs oxlint --type-aware --deny-warnings -c ../../oxlint.
|
|
16932
|
-
"lint:fix": "node ../../scripts/run-with-repo-node.mjs oxlint --type-aware --deny-warnings -c ../../oxlint.
|
|
16931
|
+
lint: "node ../../scripts/run-with-repo-node.mjs oxlint --type-aware --deny-warnings -c ../../oxlint.config.mts .",
|
|
16932
|
+
"lint:fix": "node ../../scripts/run-with-repo-node.mjs oxlint --type-aware --deny-warnings -c ../../oxlint.config.mts --fix .",
|
|
16933
16933
|
"type-check": "tsc --noEmit",
|
|
16934
16934
|
test: "bun test",
|
|
16935
16935
|
"test:unit": "bun test",
|
|
@@ -17019,8 +17019,16 @@ function defaultCliErrorCode(exitCode) {
|
|
|
17019
17019
|
}
|
|
17020
17020
|
}
|
|
17021
17021
|
|
|
17022
|
-
// src/
|
|
17023
|
-
|
|
17022
|
+
// src/gem-panel-client.ts
|
|
17023
|
+
function stripTerminalControl(value) {
|
|
17024
|
+
let out = "";
|
|
17025
|
+
for (const ch of value) {
|
|
17026
|
+
const code = ch.codePointAt(0) ?? 0;
|
|
17027
|
+
const isControl = code < 32 && code !== 10 && code !== 9 || code === 127 || code >= 128 && code <= 159;
|
|
17028
|
+
out += isControl ? "�" : ch;
|
|
17029
|
+
}
|
|
17030
|
+
return out;
|
|
17031
|
+
}
|
|
17024
17032
|
|
|
17025
17033
|
// ../../packages/types/src/mcp/gemResult.ts
|
|
17026
17034
|
var GEM_RESULT_SCHEMA_V1 = "uru.gem.result.v1";
|
|
@@ -17086,16 +17094,8 @@ function requiredString(record2, key, label) {
|
|
|
17086
17094
|
return value;
|
|
17087
17095
|
}
|
|
17088
17096
|
|
|
17089
|
-
// src/
|
|
17090
|
-
|
|
17091
|
-
let out = "";
|
|
17092
|
-
for (const ch of value) {
|
|
17093
|
-
const code = ch.codePointAt(0) ?? 0;
|
|
17094
|
-
const isControl = code < 32 && code !== 10 && code !== 9 || code === 127 || code >= 128 && code <= 159;
|
|
17095
|
-
out += isControl ? "�" : ch;
|
|
17096
|
-
}
|
|
17097
|
-
return out;
|
|
17098
|
-
}
|
|
17097
|
+
// src/oauth-credential.ts
|
|
17098
|
+
var SESSION_REFRESH_LEEWAY_MS = 5 * 60 * 1000;
|
|
17099
17099
|
|
|
17100
17100
|
// src/client.ts
|
|
17101
17101
|
class UruApiClient {
|