@psnext/slingcli 3.5.20261007-2 → 3.5.20261007-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/bin/sling-startup-output.js +47 -0
- package/bin/sling.js +29 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{chunk-4RGLMKVY.js → chunk-IB6ONE3U.js} +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{chunk-JPNA2XH6.js → chunk-TFS67BSI.js} +3 -3
- package/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{virtual-modules-SXTR3NIO.js → virtual-modules-P5ROWYIG.js} +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/bundle/cli-runtime.js +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/bundle/index.js +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/bundle/rpc-entry.js +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/pi-logo.js +8 -0
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.js +6 -3
- package/node_modules/@earendil-works/pi-coding-agent/docs/mcp.md +1 -0
- package/package.json +2 -2
- package/slingshot/index.js +195 -195
- package/node_modules/@esbuild/linux-x64/README.md +0 -3
- package/node_modules/@esbuild/linux-x64/bin/esbuild +0 -0
- package/node_modules/@esbuild/linux-x64/package.json +0 -20
- package/node_modules/esbuild/LICENSE.md +0 -21
- package/node_modules/esbuild/README.md +0 -3
- package/node_modules/esbuild/bin/esbuild +0 -0
- package/node_modules/esbuild/install.js +0 -300
- package/node_modules/esbuild/lib/main.d.ts +0 -720
- package/node_modules/esbuild/lib/main.js +0 -2536
- package/node_modules/esbuild/package.json +0 -74
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url);
|
|
3
|
-
import{configureHttpDispatcher,main}from"./chunks/chunk-
|
|
3
|
+
import{configureHttpDispatcher,main}from"./chunks/chunk-TFS67BSI.js";import"./chunks/chunk-AZ7MWRKD.js";import"./chunks/chunk-MODSOIFV.js";import"./chunks/chunk-I43MD2JR.js";import"./chunks/chunk-USJZMAIR.js";import"./chunks/chunk-NCRUGKCR.js";import"./chunks/chunk-BPLM7XH2.js";import{APP_NAME}from"./chunks/chunk-62DPODJO.js";import"./chunks/chunk-S3GGRYIO.js";import"./chunks/chunk-VIV3CWXG.js";import"./chunks/chunk-DRQDKNXA.js";import"./chunks/chunk-TRDNDS6A.js";import"./chunks/chunk-GBTRM3PO.js";import"./chunks/chunk-6TYEEU33.js";import"./chunks/chunk-4L3WN2XY.js";process.title=`${APP_NAME}-rpc`;process.env.PI_CODING_AGENT="true";process.env.AI_AGENT="pi";process.emitWarning=(()=>{});configureHttpDispatcher();main(["--mode","rpc",...process.argv.slice(2)]);
|
package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/pi-logo.js
CHANGED
|
@@ -22,6 +22,14 @@ export function piLogoLines() {
|
|
|
22
22
|
const bottom = `${fg(BLUE)}█▀${RESET} ${fg(YELLOW)}█${RESET}`;
|
|
23
23
|
return [top, bottom];
|
|
24
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* Whether the built-in startup header shows pi branding at all (the half-block logo, or the "Pi" wordmark
|
|
27
|
+
* on terminals that cannot draw it). Sling hides it so the header starts at the key hints (AGPM-7692).
|
|
28
|
+
* Guarded by test/pi-logo-hidden.guard.test.ts, because pi upgrades overwrite this file.
|
|
29
|
+
*/
|
|
30
|
+
export function isPiLogoEnabled() {
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
25
33
|
/**
|
|
26
34
|
* Whether the terminal renders the half-block logo correctly. Apple Terminal draws gaps between rows and
|
|
27
35
|
* misaligns the half blocks, so it gets the text wordmark instead.
|
package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.js
CHANGED
|
@@ -67,7 +67,7 @@ import { LoginDialogComponent } from "./components/login-dialog.js";
|
|
|
67
67
|
import { createMermaidMarkdownTransformer } from "./components/mermaid.js";
|
|
68
68
|
import { ModelSelectorComponent } from "./components/model-selector.js";
|
|
69
69
|
import { formatAuthSelectorProviderStatus, formatAuthSelectorProviderType, OAuthSelectorComponent, } from "./components/oauth-selector.js";
|
|
70
|
-
import { piLogoLines, piWordmark, supportsPiLogo } from "./components/pi-logo.js";
|
|
70
|
+
import { isPiLogoEnabled, piLogoLines, piWordmark, supportsPiLogo } from "./components/pi-logo.js";
|
|
71
71
|
import { createLoginMenuSelector } from "./components/radius-login-selector.js";
|
|
72
72
|
import { ScopedModelsSelectorComponent } from "./components/scoped-models-selector.js";
|
|
73
73
|
import { SessionSelectorComponent } from "./components/session-selector.js";
|
|
@@ -674,9 +674,12 @@ export class InteractiveMode {
|
|
|
674
674
|
const showDetails = this.shouldShowStartupDetails();
|
|
675
675
|
// Built on demand so the header follows theme changes. The logo's first line carries the version,
|
|
676
676
|
// its second line the first line of key hints. Terminals that cannot render the logo get a
|
|
677
|
-
// "Pi vX" line instead, with the key hints below it.
|
|
678
|
-
|
|
677
|
+
// "Pi vX" line instead, with the key hints below it. When the logo is disabled (isPiLogoEnabled,
|
|
678
|
+
// AGPM-7692), the header starts directly at the key hints.
|
|
679
|
+
const showLogo = isPiLogoEnabled() && supportsPiLogo();
|
|
679
680
|
const withLogo = (hints) => {
|
|
681
|
+
if (!isPiLogoEnabled())
|
|
682
|
+
return hints;
|
|
680
683
|
if (!showLogo)
|
|
681
684
|
return `${piWordmark()} ${theme.fg("dim", `v${this.version}`)}\n${hints}`;
|
|
682
685
|
const [top, bottom] = piLogoLines();
|
|
@@ -381,3 +381,4 @@ Example:
|
|
|
381
381
|
- If a server does not start, check its `command`, `args`, and `cwd`.
|
|
382
382
|
- If OAuth fails on a remote machine, use `auth-start` and `auth-complete`.
|
|
383
383
|
- If a server has too many tools, leave it proxy-only and expose only the high-value tools as direct tools.
|
|
384
|
+
- Pi ships its own built-in `mcp` extension, which also registers `/mcp`. Sling turns it off by adding `-builtin:mcp` to the `extensions` setting in `~/.sling/agent/settings.json` whenever the adapter is installed, so only the adapter serves `/mcp`. If you see a startup warning that `built-in extension mcp was not loaded`, that entry is missing; restart Sling once or add it by hand.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@psnext/slingcli",
|
|
3
|
-
"version": "3.5.20261007-
|
|
3
|
+
"version": "3.5.20261007-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": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"type": "git",
|
|
31
31
|
"url": "git+https://pscode.lioncloud.net/psaiproducts/slingcli.git"
|
|
32
32
|
},
|
|
33
|
-
"slingVersion": "3.5.20261007-
|
|
33
|
+
"slingVersion": "3.5.20261007-3",
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@earendil-works/pi-tui": "file:../.sling-pack/earendil-works-pi-tui-1.0.0.tgz",
|
|
36
36
|
"@earendil-works/pi-ai": "file:../.sling-pack/earendil-works-pi-ai-1.0.0.tgz",
|