@uru-intelligence/cli 0.3.59 → 0.3.60
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/README.md +1 -1
- package/dist/library.mjs +20 -4
- package/dist/uru.mjs +34 -21
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -108,7 +108,7 @@ bun src/index.ts complete fish
|
|
|
108
108
|
```
|
|
109
109
|
|
|
110
110
|
Generated MCP configs use non-interactive `npx -y` and pin
|
|
111
|
-
`uru-mcp@3.7.
|
|
111
|
+
`uru-mcp@3.7.2`. Pass `--package <package@version>` only for an intentional,
|
|
112
112
|
explicit bridge override.
|
|
113
113
|
|
|
114
114
|
Gem Version commands save and inspect frozen checkpoints that group coherent
|
package/dist/library.mjs
CHANGED
|
@@ -6864,7 +6864,10 @@ var zConnectionAdoptionRequest = strictObject({});
|
|
|
6864
6864
|
var zConnectionApproval = object({
|
|
6865
6865
|
adoptionId: string2().nullish(),
|
|
6866
6866
|
connectionDisplayName: string2(),
|
|
6867
|
+
connectionIconUrl: string2().nullish(),
|
|
6867
6868
|
connectionId: string2(),
|
|
6869
|
+
connectionIntegrationId: string2(),
|
|
6870
|
+
connectionServiceName: string2(),
|
|
6868
6871
|
effectiveCapabilityIds: array(string2()),
|
|
6869
6872
|
id: string2(),
|
|
6870
6873
|
kind: _enum(["offer", "adoption"]),
|
|
@@ -7707,6 +7710,14 @@ var zExternalMemberInviteRequest = object({
|
|
|
7707
7710
|
permissions: zExternalPermissions.optional(),
|
|
7708
7711
|
role: string2().optional().default("member")
|
|
7709
7712
|
});
|
|
7713
|
+
var zFeatureFlagSnapshot = object({
|
|
7714
|
+
collections: boolean2(),
|
|
7715
|
+
distribution_publishing: boolean2(),
|
|
7716
|
+
folder_sharing: boolean2()
|
|
7717
|
+
});
|
|
7718
|
+
var zFeatureFlagsResponse = object({
|
|
7719
|
+
flags: zFeatureFlagSnapshot
|
|
7720
|
+
});
|
|
7710
7721
|
var zFilePreviewImageResponse = object({
|
|
7711
7722
|
fileId: string2(),
|
|
7712
7723
|
height: int().nullish(),
|
|
@@ -10786,7 +10797,10 @@ var zWorkspaceConnectionOffer = object({
|
|
|
10786
10797
|
canWithdraw: boolean2(),
|
|
10787
10798
|
connectionDisplayName: string2(),
|
|
10788
10799
|
connectionHealth: _enum(["healthy", "unhealthy", "unknown"]),
|
|
10800
|
+
connectionIconUrl: string2().nullish(),
|
|
10789
10801
|
connectionId: string2(),
|
|
10802
|
+
connectionIntegrationId: string2(),
|
|
10803
|
+
connectionServiceName: string2(),
|
|
10790
10804
|
connectionStatus: string2(),
|
|
10791
10805
|
createdAt: string2().nullish(),
|
|
10792
10806
|
currentAdoptionId: string2().nullish(),
|
|
@@ -12279,7 +12293,8 @@ var zAuthorizeApiOauthAuthorizeGetQuery = object({
|
|
|
12279
12293
|
state: string2().max(2048).nullish(),
|
|
12280
12294
|
code_challenge: string2().min(43).max(128),
|
|
12281
12295
|
code_challenge_method: string2().optional().default("S256"),
|
|
12282
|
-
resource: url()
|
|
12296
|
+
resource: url(),
|
|
12297
|
+
prompt: _enum(["consent"]).optional()
|
|
12283
12298
|
});
|
|
12284
12299
|
var zAuthorizeApiOauthAuthorizeGetResponse = record(string2(), unknown());
|
|
12285
12300
|
var zAuthorizeDecisionApiOauthAuthorizeDecisionPostResponse = record(string2(), string2());
|
|
@@ -14277,7 +14292,8 @@ var zAuthorizeOauthAuthorizeGetQuery = object({
|
|
|
14277
14292
|
state: string2().max(2048).nullish(),
|
|
14278
14293
|
code_challenge: string2().min(43).max(128),
|
|
14279
14294
|
code_challenge_method: string2().optional().default("S256"),
|
|
14280
|
-
resource: url()
|
|
14295
|
+
resource: url(),
|
|
14296
|
+
prompt: _enum(["consent"]).optional()
|
|
14281
14297
|
});
|
|
14282
14298
|
var zAuthorizeOauthAuthorizeGetResponse = record(string2(), unknown());
|
|
14283
14299
|
var zAuthorizeDecisionOauthAuthorizeDecisionPostResponse = record(string2(), string2());
|
|
@@ -14323,7 +14339,7 @@ function pickString(record2, keys) {
|
|
|
14323
14339
|
// package.json
|
|
14324
14340
|
var package_default = {
|
|
14325
14341
|
name: "@uru-intelligence/cli",
|
|
14326
|
-
version: "0.3.
|
|
14342
|
+
version: "0.3.60",
|
|
14327
14343
|
private: false,
|
|
14328
14344
|
description: "Uru full-platform command line interface",
|
|
14329
14345
|
repository: {
|
|
@@ -14332,7 +14348,7 @@ var package_default = {
|
|
|
14332
14348
|
directory: "apps/cli"
|
|
14333
14349
|
},
|
|
14334
14350
|
uru: {
|
|
14335
|
-
mcpPackage: "uru-mcp@3.7.
|
|
14351
|
+
mcpPackage: "uru-mcp@3.7.2"
|
|
14336
14352
|
},
|
|
14337
14353
|
type: "module",
|
|
14338
14354
|
bin: {
|
package/dist/uru.mjs
CHANGED
|
@@ -20,7 +20,7 @@ import { spawn as spawn3 } from "node:child_process";
|
|
|
20
20
|
// package.json
|
|
21
21
|
var package_default = {
|
|
22
22
|
name: "@uru-intelligence/cli",
|
|
23
|
-
version: "0.3.
|
|
23
|
+
version: "0.3.60",
|
|
24
24
|
private: false,
|
|
25
25
|
description: "Uru full-platform command line interface",
|
|
26
26
|
repository: {
|
|
@@ -29,7 +29,7 @@ var package_default = {
|
|
|
29
29
|
directory: "apps/cli"
|
|
30
30
|
},
|
|
31
31
|
uru: {
|
|
32
|
-
mcpPackage: "uru-mcp@3.7.
|
|
32
|
+
mcpPackage: "uru-mcp@3.7.2"
|
|
33
33
|
},
|
|
34
34
|
type: "module",
|
|
35
35
|
bin: {
|
|
@@ -1086,17 +1086,7 @@ function datasetPathSpecs() {
|
|
|
1086
1086
|
valueFlag("--filter-json"),
|
|
1087
1087
|
valueFlag("--select"),
|
|
1088
1088
|
enumFlag("--response-format", ["detailed", "concise"])
|
|
1089
|
-
])
|
|
1090
|
-
pathSpec(["datasets", "history"], "datasets", datasetId, [
|
|
1091
|
-
...pageFlags,
|
|
1092
|
-
valueFlag("--version-id")
|
|
1093
|
-
]),
|
|
1094
|
-
pathSpec(["datasets", "jobs"], "datasets", datasetId, pageFlags),
|
|
1095
|
-
pathSpec(["datasets", "job"], "datasets", [
|
|
1096
|
-
required("dataset-id"),
|
|
1097
|
-
required("job-id")
|
|
1098
|
-
]),
|
|
1099
|
-
pathSpec(["datasets", "cancel-job"], "datasets", [required("dataset-id"), required("job-id")], [booleanFlag("--yes")])
|
|
1089
|
+
])
|
|
1100
1090
|
];
|
|
1101
1091
|
}
|
|
1102
1092
|
function libraryPathSpecs() {
|
|
@@ -1664,7 +1654,7 @@ var cliRootHelpGroups = [
|
|
|
1664
1654
|
{
|
|
1665
1655
|
command: "datasets",
|
|
1666
1656
|
lines: [
|
|
1667
|
-
" uru datasets get|query
|
|
1657
|
+
" uru datasets get|query",
|
|
1668
1658
|
" uru datasets create|update|rows|restore|sql|sql-write --params-json {...}",
|
|
1669
1659
|
" Use the canonical Dataset tools"
|
|
1670
1660
|
]
|
|
@@ -8757,7 +8747,10 @@ var zConnectionAdoptionRequest = strictObject({});
|
|
|
8757
8747
|
var zConnectionApproval = object({
|
|
8758
8748
|
adoptionId: string2().nullish(),
|
|
8759
8749
|
connectionDisplayName: string2(),
|
|
8750
|
+
connectionIconUrl: string2().nullish(),
|
|
8760
8751
|
connectionId: string2(),
|
|
8752
|
+
connectionIntegrationId: string2(),
|
|
8753
|
+
connectionServiceName: string2(),
|
|
8761
8754
|
effectiveCapabilityIds: array(string2()),
|
|
8762
8755
|
id: string2(),
|
|
8763
8756
|
kind: _enum(["offer", "adoption"]),
|
|
@@ -9600,6 +9593,14 @@ var zExternalMemberInviteRequest = object({
|
|
|
9600
9593
|
permissions: zExternalPermissions.optional(),
|
|
9601
9594
|
role: string2().optional().default("member")
|
|
9602
9595
|
});
|
|
9596
|
+
var zFeatureFlagSnapshot = object({
|
|
9597
|
+
collections: boolean2(),
|
|
9598
|
+
distribution_publishing: boolean2(),
|
|
9599
|
+
folder_sharing: boolean2()
|
|
9600
|
+
});
|
|
9601
|
+
var zFeatureFlagsResponse = object({
|
|
9602
|
+
flags: zFeatureFlagSnapshot
|
|
9603
|
+
});
|
|
9603
9604
|
var zFilePreviewImageResponse = object({
|
|
9604
9605
|
fileId: string2(),
|
|
9605
9606
|
height: int().nullish(),
|
|
@@ -12679,7 +12680,10 @@ var zWorkspaceConnectionOffer = object({
|
|
|
12679
12680
|
canWithdraw: boolean2(),
|
|
12680
12681
|
connectionDisplayName: string2(),
|
|
12681
12682
|
connectionHealth: _enum(["healthy", "unhealthy", "unknown"]),
|
|
12683
|
+
connectionIconUrl: string2().nullish(),
|
|
12682
12684
|
connectionId: string2(),
|
|
12685
|
+
connectionIntegrationId: string2(),
|
|
12686
|
+
connectionServiceName: string2(),
|
|
12683
12687
|
connectionStatus: string2(),
|
|
12684
12688
|
createdAt: string2().nullish(),
|
|
12685
12689
|
currentAdoptionId: string2().nullish(),
|
|
@@ -14172,7 +14176,8 @@ var zAuthorizeApiOauthAuthorizeGetQuery = object({
|
|
|
14172
14176
|
state: string2().max(2048).nullish(),
|
|
14173
14177
|
code_challenge: string2().min(43).max(128),
|
|
14174
14178
|
code_challenge_method: string2().optional().default("S256"),
|
|
14175
|
-
resource: url()
|
|
14179
|
+
resource: url(),
|
|
14180
|
+
prompt: _enum(["consent"]).optional()
|
|
14176
14181
|
});
|
|
14177
14182
|
var zAuthorizeApiOauthAuthorizeGetResponse = record(string2(), unknown());
|
|
14178
14183
|
var zAuthorizeDecisionApiOauthAuthorizeDecisionPostResponse = record(string2(), string2());
|
|
@@ -16170,7 +16175,8 @@ var zAuthorizeOauthAuthorizeGetQuery = object({
|
|
|
16170
16175
|
state: string2().max(2048).nullish(),
|
|
16171
16176
|
code_challenge: string2().min(43).max(128),
|
|
16172
16177
|
code_challenge_method: string2().optional().default("S256"),
|
|
16173
|
-
resource: url()
|
|
16178
|
+
resource: url(),
|
|
16179
|
+
prompt: _enum(["consent"]).optional()
|
|
16174
16180
|
});
|
|
16175
16181
|
var zAuthorizeOauthAuthorizeGetResponse = record(string2(), unknown());
|
|
16176
16182
|
var zAuthorizeDecisionOauthAuthorizeDecisionPostResponse = record(string2(), string2());
|
|
@@ -16819,10 +16825,6 @@ visible Library paths. For binary files, use library_upload through
|
|
|
16819
16825
|
`,
|
|
16820
16826
|
datasets: `Usage: uru datasets query <dataset-id> [--limit 100] [--cursor <cursor>] [--filter-json '{...}'] [--select name,status]
|
|
16821
16827
|
uru datasets get <dataset-id>
|
|
16822
|
-
uru datasets history <dataset-id> [--limit 100] [--cursor <cursor>] [--version-id <id>]
|
|
16823
|
-
uru datasets jobs <dataset-id> [--cursor <cursor>]
|
|
16824
|
-
uru datasets job <dataset-id> <job-id>
|
|
16825
|
-
uru datasets cancel-job <dataset-id> <job-id> --yes
|
|
16826
16828
|
uru datasets create|update|rows|restore|sql|sql-write --params-json '{...}'
|
|
16827
16829
|
|
|
16828
16830
|
Dataset commands use stable identities, bounded server work, and the same tools
|
|
@@ -20989,6 +20991,7 @@ async function dispatchMcp(ctx, sub, args) {
|
|
|
20989
20991
|
const flags = parseLocalFlags(args, ["mcp", sub]);
|
|
20990
20992
|
const config2 = mcpServerConfig({
|
|
20991
20993
|
apiKey: flags.values["--api-key"] ?? ctx.token,
|
|
20994
|
+
workspaceId: ctx.workspace,
|
|
20992
20995
|
serverName: flags.values["--server-name"] ?? "uru",
|
|
20993
20996
|
packageName: flags.values["--package"] ?? DEFAULT_MCP_PACKAGE
|
|
20994
20997
|
});
|
|
@@ -21229,6 +21232,13 @@ function extractLibraryTextContent(value) {
|
|
|
21229
21232
|
return typeof text === "string" ? text : undefined;
|
|
21230
21233
|
}
|
|
21231
21234
|
async function dispatchDatasets(ctx, sub, args) {
|
|
21235
|
+
if (sub === "get") {
|
|
21236
|
+
const flags2 = parseLocalFlags(args);
|
|
21237
|
+
await emitTool(ctx, "dataset.get", {
|
|
21238
|
+
dataset_id: requireCommandValue(flags2.positionals[0], "Usage: uru datasets get <dataset-id>")
|
|
21239
|
+
});
|
|
21240
|
+
return;
|
|
21241
|
+
}
|
|
21232
21242
|
if (sub !== "query") {
|
|
21233
21243
|
await dispatchRegistryFamily(ctx, "datasets", sub, args);
|
|
21234
21244
|
return;
|
|
@@ -21390,7 +21400,10 @@ function mcpServerConfig(args) {
|
|
|
21390
21400
|
[args.serverName]: {
|
|
21391
21401
|
command: "npx",
|
|
21392
21402
|
args: ["-y", args.packageName],
|
|
21393
|
-
env: {
|
|
21403
|
+
env: {
|
|
21404
|
+
URU_API_KEY: apiKey,
|
|
21405
|
+
...args.workspaceId === undefined ? {} : { URU_WORKSPACE_ID: args.workspaceId }
|
|
21406
|
+
}
|
|
21394
21407
|
}
|
|
21395
21408
|
}
|
|
21396
21409
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uru-intelligence/cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.60",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Uru full-platform command line interface",
|
|
6
6
|
"repository": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"directory": "apps/cli"
|
|
10
10
|
},
|
|
11
11
|
"uru": {
|
|
12
|
-
"mcpPackage": "uru-mcp@3.7.
|
|
12
|
+
"mcpPackage": "uru-mcp@3.7.2"
|
|
13
13
|
},
|
|
14
14
|
"type": "module",
|
|
15
15
|
"bin": {
|