@robinmordasiewicz/f5xc-xcsh 2.0.21-2601081540 → 2.0.21-2601090318
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/dist/index.js +9 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -46994,8 +46994,8 @@ function getLogoModeFromEnv(envPrefix) {
|
|
|
46994
46994
|
var CLI_NAME = "xcsh";
|
|
46995
46995
|
var CLI_FULL_NAME = "F5 Distributed Cloud Shell";
|
|
46996
46996
|
function getVersion() {
|
|
46997
|
-
if ("v2.0.21-
|
|
46998
|
-
return "v2.0.21-
|
|
46997
|
+
if ("v2.0.21-2601090318") {
|
|
46998
|
+
return "v2.0.21-2601090318";
|
|
46999
46999
|
}
|
|
47000
47000
|
if (process.env.XCSH_VERSION) {
|
|
47001
47001
|
return process.env.XCSH_VERSION;
|
|
@@ -75241,7 +75241,7 @@ var createCommand2 = {
|
|
|
75241
75241
|
" --namespace Default namespace (optional)",
|
|
75242
75242
|
"",
|
|
75243
75243
|
"Example:",
|
|
75244
|
-
" login profile create myprofile --url https://
|
|
75244
|
+
" login profile create myprofile --url https://tenant.console.ves.volterra.io --token abc123"
|
|
75245
75245
|
].join("\n")
|
|
75246
75246
|
);
|
|
75247
75247
|
}
|
|
@@ -77866,7 +77866,7 @@ var queryCommand = {
|
|
|
77866
77866
|
session
|
|
77867
77867
|
);
|
|
77868
77868
|
if (spec) {
|
|
77869
|
-
const cmdSpec = getCommandSpec("
|
|
77869
|
+
const cmdSpec = getCommandSpec("ai_services query");
|
|
77870
77870
|
if (cmdSpec) {
|
|
77871
77871
|
return successResult([formatSpec(cmdSpec)]);
|
|
77872
77872
|
}
|
|
@@ -78160,7 +78160,7 @@ var chatCommand = {
|
|
|
78160
78160
|
session
|
|
78161
78161
|
);
|
|
78162
78162
|
if (spec) {
|
|
78163
|
-
const cmdSpec = getCommandSpec("
|
|
78163
|
+
const cmdSpec = getCommandSpec("ai_services chat");
|
|
78164
78164
|
if (cmdSpec) {
|
|
78165
78165
|
return successResult([formatSpec(cmdSpec)]);
|
|
78166
78166
|
}
|
|
@@ -78262,7 +78262,7 @@ var feedbackCommand = {
|
|
|
78262
78262
|
queryId
|
|
78263
78263
|
} = parseFeedbackArgs(args, session);
|
|
78264
78264
|
if (spec) {
|
|
78265
|
-
const cmdSpec = getCommandSpec("
|
|
78265
|
+
const cmdSpec = getCommandSpec("ai_services feedback");
|
|
78266
78266
|
if (cmdSpec) {
|
|
78267
78267
|
return successResult([formatSpec(cmdSpec)]);
|
|
78268
78268
|
}
|
|
@@ -78407,7 +78407,7 @@ var evalQueryCommand = {
|
|
|
78407
78407
|
async execute(args, session) {
|
|
78408
78408
|
const { format, noColor, spec, namespace, question } = parseEvalQueryArgs(args, session);
|
|
78409
78409
|
if (spec) {
|
|
78410
|
-
const cmdSpec = getCommandSpec("
|
|
78410
|
+
const cmdSpec = getCommandSpec("ai_services eval query");
|
|
78411
78411
|
if (cmdSpec) {
|
|
78412
78412
|
return successResult([formatSpec(cmdSpec)]);
|
|
78413
78413
|
}
|
|
@@ -78521,7 +78521,7 @@ var evalFeedbackCommand = {
|
|
|
78521
78521
|
async execute(args, session) {
|
|
78522
78522
|
const { spec, namespace, positive, negativeType, comment, queryId } = parseEvalFeedbackArgs(args, session);
|
|
78523
78523
|
if (spec) {
|
|
78524
|
-
const cmdSpec = getCommandSpec("
|
|
78524
|
+
const cmdSpec = getCommandSpec("ai_services eval feedback");
|
|
78525
78525
|
if (cmdSpec) {
|
|
78526
78526
|
return successResult([formatSpec(cmdSpec)]);
|
|
78527
78527
|
}
|
|
@@ -80245,7 +80245,7 @@ customDomains.register(subscriptionDomain);
|
|
|
80245
80245
|
for (const domain of customDomains.all()) {
|
|
80246
80246
|
completionRegistry.registerDomain(fromCustomDomain(domain));
|
|
80247
80247
|
}
|
|
80248
|
-
var excludedApiDomains = /* @__PURE__ */ new Set(["
|
|
80248
|
+
var excludedApiDomains = /* @__PURE__ */ new Set(["ai_services"]);
|
|
80249
80249
|
for (const [, info] of domainRegistry) {
|
|
80250
80250
|
if (!completionRegistry.has(info.name) && !excludedApiDomains.has(info.name)) {
|
|
80251
80251
|
completionRegistry.registerDomain(fromApiDomain(info));
|