@f5-sales-demo/xcsh 22.3.3 → 22.3.5

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.
@@ -17,17 +17,17 @@ export interface BuildInfo {
17
17
  }
18
18
 
19
19
  export const BUILD_INFO: BuildInfo = {
20
- "version": "22.3.3",
21
- "commit": "82917afa08ee15956c363dacfb1c0f4511c74d3e",
22
- "shortCommit": "82917af",
20
+ "version": "22.3.5",
21
+ "commit": "ae32b1e6b47b6d437a92a2dc3bb29a34b5f584d5",
22
+ "shortCommit": "ae32b1e",
23
23
  "branch": "main",
24
- "tag": "v22.3.3",
25
- "commitDate": "2026-09-28T13:54:02Z",
26
- "buildDate": "2026-09-28T14:30:23.798Z",
24
+ "tag": "v22.3.5",
25
+ "commitDate": "2026-09-28T15:48:17Z",
26
+ "buildDate": "2026-09-28T16:29:55.623Z",
27
27
  "dirty": true,
28
28
  "prNumber": "",
29
29
  "repoUrl": "https://github.com/f5-sales-demo/xcsh",
30
30
  "repoSlug": "f5-sales-demo/xcsh",
31
- "commitUrl": "https://github.com/f5-sales-demo/xcsh/commit/82917afa08ee15956c363dacfb1c0f4511c74d3e",
32
- "releaseUrl": "https://github.com/f5-sales-demo/xcsh/releases/tag/v22.3.3"
31
+ "commitUrl": "https://github.com/f5-sales-demo/xcsh/commit/ae32b1e6b47b6d437a92a2dc3bb29a34b5f584d5",
32
+ "releaseUrl": "https://github.com/f5-sales-demo/xcsh/releases/tag/v22.3.5"
33
33
  };
@@ -22,7 +22,7 @@ import type {
22
22
  } from "../extensibility/extensions";
23
23
  import { discoverAndLoadExtensions } from "../extensibility/extensions";
24
24
  import type { CompactOptions } from "../extensibility/extensions/types";
25
- import { BUILTIN_SLASH_COMMANDS, loadSlashCommands } from "../extensibility/slash-commands";
25
+ import { getBuiltinSlashCommandDiscoveryCandidates, loadSlashCommands } from "../extensibility/slash-commands";
26
26
  import { startSessionBridge } from "../remote-control/bridge";
27
27
  import type { ModelResolutionSource } from "../session/active-model";
28
28
  import type { AgentSession, AgentSessionEvent } from "../session/agent-session";
@@ -254,10 +254,7 @@ export class InteractiveMode implements InteractiveModeContext {
254
254
 
255
255
  this.hideThinkingBlock = settings.get("hideThinkingBlock");
256
256
 
257
- const builtinCommands: SlashCommandDiscoveryCandidate[] = BUILTIN_SLASH_COMMANDS.map(command => ({
258
- ...command,
259
- discovery: { behavior: "execution", provenance: "xcsh built-in", scope: "native" },
260
- }));
257
+ const builtinCommands = getBuiltinSlashCommandDiscoveryCandidates();
261
258
  const builtinCommandNames = new Set(builtinCommands.map(c => c.name));
262
259
  const extensionCommands: SlashCommandDiscoveryCandidate[] = (
263
260
  this.session.extensionRunner?.getRegisteredCommandEntries(builtinCommandNames) ?? []
@@ -122,6 +122,7 @@ export interface SubcommandDef {
122
122
  /** Declarative builtin slash command definition used by autocomplete and help UI. */
123
123
  export interface BuiltinSlashCommand {
124
124
  name: string;
125
+ aliases?: string[];
125
126
  description: string;
126
127
  /** Subcommands for dropdown completion. */
127
128
  subcommands?: SubcommandDef[];
@@ -137,7 +138,6 @@ interface ParsedBuiltinSlashCommand {
137
138
  }
138
139
 
139
140
  interface BuiltinSlashCommandSpec extends BuiltinSlashCommand {
140
- aliases?: string[];
141
141
  allowArgs?: boolean;
142
142
  /**
143
143
  * Handle the command. Return a string to pass remaining text through as prompt input.
@@ -2508,6 +2508,7 @@ export function getBuiltinSlashCommandInventory() {
2508
2508
  export const BUILTIN_SLASH_COMMAND_DEFS: ReadonlyArray<BuiltinSlashCommand> = BUILTIN_SLASH_COMMAND_REGISTRY.map(
2509
2509
  command => ({
2510
2510
  name: command.name,
2511
+ aliases: command.aliases,
2511
2512
  description: command.description,
2512
2513
  subcommands: command.subcommands,
2513
2514
  inlineHint: command.inlineHint,