@robinmordasiewicz/f5xc-xcsh 6.34.0 → 6.35.0

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/completions/_xcsh CHANGED
@@ -26,14 +26,14 @@ _xcsh() {
26
26
  (domain)
27
27
  local -a domains builtins
28
28
  domains=(
29
- 'admin_console_and_ui:Manage static UI assets for admin console'
29
+ 'admin_console_and_ui:Manage static UI components for admin console'
30
30
  'api:Discover, catalog, and test service interfaces'
31
31
  'authentication:Authentication API'
32
32
  'bigip:Manage iRules, data groups, and virtual servers'
33
33
  'billing_and_usage:Manage subscription plans and payment methods'
34
34
  'blindfold:Manage secret encryption and policy rules'
35
- 'bot_and_threat_defense:Configure bot protection and threat categories'
36
- 'cdn:Configure caching rules and load balancers'
35
+ 'bot_and_threat_defense:Detect and block automated attacks'
36
+ 'cdn:Configure caching rules and load balancing'
37
37
  'ce_management:Manage Customer Edge sites and network interfaces'
38
38
  'certificates:Manage SSL/TLS certificate chains and trusted CAs'
39
39
  'cloud_infrastructure:Connect and manage multi-cloud providers'
@@ -22,14 +22,14 @@ complete -c xcsh -n "__fish_use_subcommand" -a "context" -d 'Show current naviga
22
22
  complete -c xcsh -n "__fish_use_subcommand" -a "ctx" -d 'Show current navigation context'
23
23
 
24
24
  # Domain completions
25
- complete -c xcsh -n "__fish_use_subcommand" -a "admin_console_and_ui" -d 'Manage static UI assets for admin console'
25
+ complete -c xcsh -n "__fish_use_subcommand" -a "admin_console_and_ui" -d 'Manage static UI components for admin console'
26
26
  complete -c xcsh -n "__fish_use_subcommand" -a "api" -d 'Discover, catalog, and test service interfaces'
27
27
  complete -c xcsh -n "__fish_use_subcommand" -a "authentication" -d 'Authentication API'
28
28
  complete -c xcsh -n "__fish_use_subcommand" -a "bigip" -d 'Manage iRules, data groups, and virtual servers'
29
29
  complete -c xcsh -n "__fish_use_subcommand" -a "billing_and_usage" -d 'Manage subscription plans and payment methods'
30
30
  complete -c xcsh -n "__fish_use_subcommand" -a "blindfold" -d 'Manage secret encryption and policy rules'
31
- complete -c xcsh -n "__fish_use_subcommand" -a "bot_and_threat_defense" -d 'Configure bot protection and threat categories'
32
- complete -c xcsh -n "__fish_use_subcommand" -a "cdn" -d 'Configure caching rules and load balancers'
31
+ complete -c xcsh -n "__fish_use_subcommand" -a "bot_and_threat_defense" -d 'Detect and block automated attacks'
32
+ complete -c xcsh -n "__fish_use_subcommand" -a "cdn" -d 'Configure caching rules and load balancing'
33
33
  complete -c xcsh -n "__fish_use_subcommand" -a "ce_management" -d 'Manage Customer Edge sites and network interfaces'
34
34
  complete -c xcsh -n "__fish_use_subcommand" -a "certificates" -d 'Manage SSL/TLS certificate chains and trusted CAs'
35
35
  complete -c xcsh -n "__fish_use_subcommand" -a "cloud_infrastructure" -d 'Connect and manage multi-cloud providers'
package/dist/index.js CHANGED
@@ -44108,9 +44108,9 @@ var generatedDomains = /* @__PURE__ */ new Map([
44108
44108
  ["admin_console_and_ui", {
44109
44109
  name: "admin_console_and_ui",
44110
44110
  displayName: "Admin Console And Ui",
44111
- description: "Set up static resource definitions that control administrative dashboard appearance. Register named entries using object references, status tracking fields, and view settings. Fetch individual records through dedicated get operations or enumerate available entries with pagination and sorting. Handle request validation through typed error responses and support multiple output codes for success states. Define custom initialization blocks and namespace-scoped boundaries for organization.",
44112
- descriptionShort: "Manage static UI assets for admin console",
44113
- descriptionMedium: "Deploy and list dashboard widgets within namespaces. Create named visual resources with initialization parameters and structured configuration data.",
44111
+ description: "Create administrative dashboard building blocks with tailored setup data and view bindings. Organize presentational materials by namespace and fetch them by name or list all available items. Define display parameters, track system object relationships, and maintain consistent portal appearance through centralized resource management workflows.",
44112
+ descriptionShort: "Manage static UI components for admin console",
44113
+ descriptionMedium: "Deploy and retrieve graphical elements within namespaces. Configure custom startup parameters and view references for display composition.",
44114
44114
  aliases: ["console-ui", "ui-assets", "static-components"],
44115
44115
  complexity: "simple",
44116
44116
  isPreview: false,
@@ -44242,9 +44242,9 @@ var generatedDomains = /* @__PURE__ */ new Map([
44242
44242
  ["bot_and_threat_defense", {
44243
44243
  name: "bot_and_threat_defense",
44244
44244
  displayName: "Bot And Threat Defense",
44245
- description: "Deploy Shape bot defense instances with namespace-scoped configuration for automated threat detection. Create TPM categories to classify and organize threat types across your security infrastructure. Generate and manage provisioning keys for programmatic access to defense systems. Set up threat managers to coordinate detection rules, integrate with WAF policies, and enable real-time protection against malicious traffic patterns.",
44246
- descriptionShort: "Configure bot protection and threat categories",
44247
- descriptionMedium: "Manage bot defense instances and threat classification per namespace. Provision automated defense keys for security integration.",
44245
+ description: "Deploy namespace-scoped protection using behavioral analysis and machine learning. Provision dedicated keys for system automation and real-time intelligence feeds. Coordinate detection across protected applications through centralized managers. Configure pre-authentication checks to identify suspicious patterns before they reach backends. Enable adaptive blocking decisions based on risk scoring and historical activity profiles.",
44246
+ descriptionShort: "Detect and block automated attacks",
44247
+ descriptionMedium: "Create bot defense instances with Shape integration. Set up traffic classification rules and automated response policies for malicious actors.",
44248
44248
  aliases: ["threat-defense", "tpm", "shape-bot"],
44249
44249
  complexity: "moderate",
44250
44250
  isPreview: false,
@@ -44256,9 +44256,9 @@ var generatedDomains = /* @__PURE__ */ new Map([
44256
44256
  ["cdn", {
44257
44257
  name: "cdn",
44258
44258
  displayName: "Cdn",
44259
- description: "Create cache rules with cookie, header, and query parameter matching to control content eligibility. Configure load balancers with origin pool routing, access logging, and metrics collection. Manage cache purge operations for immediate content invalidation. Monitor service operation status and aggregate access logs for performance analysis. Define path matchers and expressions for granular cache behavior control across namespaces.",
44260
- descriptionShort: "Configure caching rules and load balancers",
44261
- descriptionMedium: "Define cache TTL policies and path matching rules. Set up load balancers with origin pools and purge controls for content delivery.",
44259
+ description: "Set up cache eligibility based on headers, cookies, and query parameters. Create expression-based rules with custom TTL settings and path matchers. Deploy load balancers that handle content distribution across origin pools. Monitor access logs and metrics, aggregate performance data, and execute cache purge operations when content updates require immediate invalidation.",
44260
+ descriptionShort: "Configure caching rules and load balancing",
44261
+ descriptionMedium: "Define cache rules, TTLs, and path matching. Manage load balancers with origin pools and purge operations.",
44262
44262
  aliases: ["cache", "content"],
44263
44263
  complexity: "advanced",
44264
44264
  isPreview: false,
@@ -45166,6 +45166,51 @@ var HistoryManager = class _HistoryManager {
45166
45166
  }
45167
45167
  };
45168
45168
 
45169
+ // src/domains/descriptions.generated.ts
45170
+ var generatedDescriptions = {
45171
+ version: "1.0.0",
45172
+ generatedAt: "2025-12-30T03:58:36.781Z",
45173
+ cli: {
45174
+ "xcsh": {
45175
+ short: "Navigate cloud services via interactive shell",
45176
+ medium: "Manage multi-tenant connections, execute domain operations across 100+ services, and output results in JSON, YAML, or table format.",
45177
+ long: "Interact with cloud services through an intelligent shell environment. Navigate over 100 domain operations using tab completion for commands, flags, and values. Organize multiple tenant connections with named profiles and switch contexts without re-authenticating. Execute commands directly from scripts or explore interactively with history and suggestions. Configure output format as JSON, YAML, or formatted tables. Set behavior through environment variables or persistent profile settings. Generate shell completions for bash, zsh, and fish terminals."
45178
+ }
45179
+ },
45180
+ domains: {
45181
+ "login": {
45182
+ short: "Configure session credentials and environment profiles",
45183
+ medium: "Set up authentication tokens, organize named profiles for multiple tenants, and switch between target environments for CLI operations.",
45184
+ long: "Control authentication and session state across multiple environments. Run 'show' to display current connection details and token status. Organize credentials with 'profile' to maintain separate configurations for development, staging, and production tenants. Switch active targets via 'context' without re-authenticating. Run 'banner' for visual confirmation of the active environment. Profiles persist locally with token-based and certificate authentication support.",
45185
+ subcommands: {
45186
+ "profile": {
45187
+ short: "Manage saved connection configurations for authentication",
45188
+ medium: "Store and switch between multiple tenant connection settings. Create, list, and activate named configurations to avoid repeated credential entry.",
45189
+ long: "Organize tenant connections as reusable named entries for rapid environment switching. Each entry persists URLs and authentication tokens, removing manual reconfiguration overhead. Available operations: 'list' enumerates saved entries, 'show' reveals configuration details, 'create' registers new connections, 'delete' purges obsolete ones, 'active' identifies the current selection, and 'use' changes context. Ideal for workflows spanning development, staging, and production tiers."
45190
+ },
45191
+ "context": {
45192
+ short: "Manage default namespace for scoping operations",
45193
+ medium: "Configure and display the active namespace used to scope commands. Set, view, or list available namespaces for your session.",
45194
+ long: "Control which namespace subsequent operations target by default. Namespaces partition resources and configurations, ensuring commands affect only the intended area. Use 'show' to display the current selection, 'set' to switch contexts, and 'list' to enumerate accessible options. Once configured, the choice persists across commands until explicitly changed, eliminating repeated namespace flag usage."
45195
+ }
45196
+ }
45197
+ },
45198
+ "cloudstatus": {
45199
+ short: "Check infrastructure health and active incidents",
45200
+ medium: "Query service availability, component health, ongoing incidents, and scheduled maintenance windows across infrastructure regions.",
45201
+ long: "Display real-time operational state for infrastructure components and services. Track ongoing incidents with severity levels and resolution timelines. View upcoming maintenance windows affecting particular regions or deployments. Filter results by component type, severity, time range, or operational condition. Retrieve incident history and outage notifications. Commands support monitoring degraded performance indicators and uptime metrics useful for operations teams."
45202
+ },
45203
+ "completion": {
45204
+ short: "Generate tab-assist scripts for supported shells",
45205
+ medium: "Create shell scripts enabling tab-triggered suggestions for commands, subcommands, flags, and option values in bash, zsh, and fish.",
45206
+ long: "Output autocomplete functionality for your terminal environment. Bash, zsh, and fish are fully supported with context-aware prompts covering command names, nested subcommands, available flags, and valid argument values. Installation requires sourcing the generated content in your shell's configuration file (.bashrc, .zshrc, or config.fish). Execute the appropriate subcommand to produce the script, then follow shell-specific setup instructions to activate intelligent tab behavior."
45207
+ }
45208
+ }
45209
+ };
45210
+ function getCliDescriptions(cliName = "xcsh") {
45211
+ return generatedDescriptions.cli?.[cliName];
45212
+ }
45213
+
45169
45214
  // src/branding/terminal.ts
45170
45215
  function detectTerminalCapabilities() {
45171
45216
  const termProgram = process.env.TERM_PROGRAM ?? "";
@@ -45309,8 +45354,8 @@ function getLogoModeFromEnv(envPrefix) {
45309
45354
  var CLI_NAME = "xcsh";
45310
45355
  var CLI_FULL_NAME = "F5 Distributed Cloud Shell";
45311
45356
  function getVersion() {
45312
- if ("6.34.0") {
45313
- return "6.34.0";
45357
+ if ("6.35.0") {
45358
+ return "6.35.0";
45314
45359
  }
45315
45360
  if (process.env.XCSH_VERSION) {
45316
45361
  return process.env.XCSH_VERSION;
@@ -45318,6 +45363,10 @@ function getVersion() {
45318
45363
  return "dev";
45319
45364
  }
45320
45365
  var CLI_VERSION = getVersion();
45366
+ var cliDescs = getCliDescriptions();
45367
+ var CLI_DESCRIPTION_SHORT = cliDescs?.short ?? "Navigate cloud services via interactive shell";
45368
+ var CLI_DESCRIPTION_MEDIUM = cliDescs?.medium ?? CLI_DESCRIPTION_SHORT;
45369
+ var CLI_DESCRIPTION_LONG = cliDescs?.long ?? CLI_DESCRIPTION_MEDIUM;
45321
45370
  var CONFIG_FILE_NAME = ".xcshconfig";
45322
45371
  var ENV_PREFIX = "F5XC";
45323
45372
  var F5_LOGO = ` ________
@@ -50725,13 +50774,31 @@ function formatAPIError(statusCode, body, operation) {
50725
50774
  }
50726
50775
 
50727
50776
  // src/repl/help.ts
50777
+ function wrapText3(text, width, indent) {
50778
+ const prefix = " ".repeat(indent);
50779
+ const words = text.split(/\s+/);
50780
+ const lines = [];
50781
+ let currentLine = prefix;
50782
+ for (const word of words) {
50783
+ if (currentLine.length + word.length + 1 > width && currentLine !== prefix) {
50784
+ lines.push(currentLine);
50785
+ currentLine = prefix + word;
50786
+ } else {
50787
+ currentLine += (currentLine === prefix ? "" : " ") + word;
50788
+ }
50789
+ }
50790
+ if (currentLine.trim()) {
50791
+ lines.push(currentLine);
50792
+ }
50793
+ return lines;
50794
+ }
50728
50795
  function formatRootHelp() {
50729
50796
  return [
50730
50797
  "",
50731
50798
  colorBoldWhite(`${CLI_NAME} - ${CLI_FULL_NAME} v${CLI_VERSION}`),
50732
50799
  "",
50733
50800
  "DESCRIPTION",
50734
- ` Interactive CLI for F5 Distributed Cloud services.`,
50801
+ ...wrapText3(CLI_DESCRIPTION_LONG, 80, 2),
50735
50802
  "",
50736
50803
  "USAGE",
50737
50804
  ` ${CLI_NAME} Enter interactive REPL mode`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robinmordasiewicz/f5xc-xcsh",
3
- "version": "6.34.0",
3
+ "version": "6.35.0",
4
4
  "description": "F5 Distributed Cloud Shell - Interactive CLI for F5 XC",
5
5
  "type": "module",
6
6
  "bin": {