@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.
- package/package.json +8 -8
- package/src/extensibility/plugins/marketplace/builtin-marketplace-snapshot.ts +1 -1
- package/src/extensibility/plugins/marketplace/builtin-marketplace.provenance.json +3 -3
- package/src/extensibility/slash-commands.ts +21 -0
- package/src/internal-urls/api-catalog-qmd-index.generated.ts +2 -2
- package/src/internal-urls/build-info.generated.ts +8 -8
- package/src/modes/interactive-mode.ts +2 -5
- package/src/slash-commands/builtin-registry.ts +2 -1
|
@@ -17,17 +17,17 @@ export interface BuildInfo {
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
export const BUILD_INFO: BuildInfo = {
|
|
20
|
-
"version": "22.3.
|
|
21
|
-
"commit": "
|
|
22
|
-
"shortCommit": "
|
|
20
|
+
"version": "22.3.5",
|
|
21
|
+
"commit": "ae32b1e6b47b6d437a92a2dc3bb29a34b5f584d5",
|
|
22
|
+
"shortCommit": "ae32b1e",
|
|
23
23
|
"branch": "main",
|
|
24
|
-
"tag": "v22.3.
|
|
25
|
-
"commitDate": "2026-09-
|
|
26
|
-
"buildDate": "2026-09-
|
|
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/
|
|
32
|
-
"releaseUrl": "https://github.com/f5-sales-demo/xcsh/releases/tag/v22.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 {
|
|
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
|
|
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,
|