@psnext/slingcli 3.0.20260811-2 → 3.0.20260811-3
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/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.js
CHANGED
|
@@ -448,7 +448,7 @@ export class InteractiveMode {
|
|
|
448
448
|
const loginCommand = slashCommands.find((command) => command.name === "login");
|
|
449
449
|
if (loginCommand) {
|
|
450
450
|
loginCommand.getArgumentCompletions = (prefix) => {
|
|
451
|
-
const providers = getLoginProviderCompletionOptions(this.getLoginProviderOptions());
|
|
451
|
+
const providers = getLoginProviderCompletionOptions(this.getLoginProviderOptions().filter((p) => p.id === "slingshot"));
|
|
452
452
|
return createFuzzyAutocompleteItems(providers, prefix, getLoginProviderSearchText, (provider) => ({
|
|
453
453
|
value: provider.id,
|
|
454
454
|
label: provider.id,
|
|
@@ -658,7 +658,8 @@ export class InteractiveMode {
|
|
|
658
658
|
await this.themeController.applyFromSettings();
|
|
659
659
|
// Add header with keybindings from config (unless silenced)
|
|
660
660
|
if (this.options.verbose || !this.settingsManager.getQuietStartup()) {
|
|
661
|
-
const logo = theme.bold(theme.fg("accent", APP_NAME)) +
|
|
661
|
+
const logo = theme.bold(theme.fg("accent", APP_NAME)) +
|
|
662
|
+
theme.fg("dim", ` v${process.env.SLING_VERSION ?? this.version}`);
|
|
662
663
|
// Build startup instructions using keybinding hint helpers
|
|
663
664
|
const hint = (keybinding, description) => keyHint(keybinding, description);
|
|
664
665
|
const expandedInstructions = [
|
|
@@ -4441,7 +4442,7 @@ export class InteractiveMode {
|
|
|
4441
4442
|
});
|
|
4442
4443
|
}
|
|
4443
4444
|
showLoginProviderSelector(authType, initialSearchInput) {
|
|
4444
|
-
const providerOptions = this.getLoginProviderOptions(authType);
|
|
4445
|
+
const providerOptions = this.getLoginProviderOptions(authType).filter((p) => p.id !== "slingshot");
|
|
4445
4446
|
if (providerOptions.length === 0) {
|
|
4446
4447
|
const message = authType === "oauth"
|
|
4447
4448
|
? "No subscription providers available."
|
|
@@ -4478,7 +4479,7 @@ export class InteractiveMode {
|
|
|
4478
4479
|
}
|
|
4479
4480
|
let providerOptions;
|
|
4480
4481
|
try {
|
|
4481
|
-
providerOptions = (await this.getLogoutProviderOptions()).filter((p) => p.
|
|
4482
|
+
providerOptions = (await this.getLogoutProviderOptions()).filter((p) => p.id === "slingshot");
|
|
4482
4483
|
}
|
|
4483
4484
|
catch (error) {
|
|
4484
4485
|
this.showError(`Could not read stored credentials: ${error instanceof Error ? error.message : String(error)}`);
|
|
@@ -4594,7 +4595,7 @@ export class InteractiveMode {
|
|
|
4594
4595
|
this.ui.requestRender();
|
|
4595
4596
|
};
|
|
4596
4597
|
const dialog = new LoginDialogComponent(this.ui, providerOption.id, () => restoreEditor(), providerOption.name, `${providerOption.name} setup`);
|
|
4597
|
-
dialog.showInfo(`${providerOption.method?.name ?? "Authentication"} is configured outside
|
|
4598
|
+
dialog.showInfo(`${providerOption.method?.name ?? "Authentication"} is configured outside sling.`, [], true);
|
|
4598
4599
|
this.editorContainer.clear();
|
|
4599
4600
|
this.editorContainer.addChild(dialog);
|
|
4600
4601
|
this.ui.setFocus(dialog);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@psnext/slingcli",
|
|
3
|
-
"version": "3.0.20260811-
|
|
3
|
+
"version": "3.0.20260811-3",
|
|
4
4
|
"description": "Connects Sling CLI to Publicis Sapient Slingshot enterprise LLM gateway. Bundles the pi coding-agent runtime.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"type": "git",
|
|
30
30
|
"url": "git+https://pscode.lioncloud.net/psaiproducts/slingcli.git"
|
|
31
31
|
},
|
|
32
|
-
"slingVersion": "3.0.20260811-
|
|
32
|
+
"slingVersion": "3.0.20260811-3",
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@earendil-works/pi-tui": "file:../.sling-pack/earendil-works-pi-tui-0.84.1.tgz",
|
|
35
35
|
"@earendil-works/pi-ai": "file:../.sling-pack/earendil-works-pi-ai-0.84.1.tgz",
|