docs: remove SSE transport and rename to Streamable HTTP (#6319)

Signed-off-by: Adrian Cole <adrian@tetrate.io>
This commit is contained in:
Adrian Cole
2026-01-13 05:42:48 +08:00
committed by GitHub
parent ce0fcea905
commit 8880192071
23 changed files with 143 additions and 215 deletions
@@ -10,9 +10,9 @@ interface EnvVar {
interface CLIExtensionInstructionsProps {
name: string;
description: string;
type?: 'stdio' | 'sse' | 'http';
type?: 'stdio' | 'http';
command?: string; // Only for stdio
url?: string; // For both sse and http
url?: string; // For http
timeout?: number;
envVars?: EnvVar[]; // For stdio: environment variables, for http: headers
infoNote?: string;
@@ -31,9 +31,8 @@ export default function CLIExtensionInstructions({
commandNote,
}: CLIExtensionInstructionsProps) {
const hasEnvVars = envVars.length > 0;
const isSSE = type === 'sse';
const isHttp = type === 'http';
const isRemote = isSSE || isHttp;
const isRemote = isHttp;
// Determine last-step prompt text
const lastStepText = isHttp
@@ -57,27 +56,23 @@ export default function CLIExtensionInstructions({
<li>
Choose to add a{' '}
<code>
{isSSE
? 'Remote Extension (SSE)'
: isHttp
? 'Remote Extension (Streaming HTTP)'
{isHttp
? 'Remote Extension (Streamable HTTP)'
: 'Command-line Extension'
}
</code>.
</li>
</ol>
<CodeBlock language="sh">{`┌ goose-configure
<CodeBlock language="sh">{`┌ goose-configure
◇ What would you like to configure?
│ Add Extension
│ Add Extension
◆ What type of extension would you like to add?
${
isSSE
? '│ ○ Built-in Extension\n│ ○ Command-line Extension\n// highlight-start\n│ ● Remote Extension (SSE) (Connect to a remote extension via Server-Sent Events)\n// highlight-end\n│ ○ Remote Extension (Streaming HTTP)'
: isHttp
? '│ ○ Built-in Extension\n│ ○ Command-line Extension\n│ ○ Remote Extension (SSE)\n// highlight-start\n│ ● Remote Extension (Streaming HTTP) (Connect to a remote extension via MCP Streaming HTTP)\n// highlight-end'
: '│ ○ Built-in Extension\n// highlight-start\n│ ● Command-line Extension (Run a local command or script)\n// highlight-end\n│ ○ Remote Extension (SSE)\n│ ○ Remote Extension (Streaming HTTP)'
isHttp
? '│ ○ Built-in Extension\n│ ○ Command-line Extension\n// highlight-start\n│ ● Remote Extension (Streamable HTTP) (Connect to a remote extension via MCP Streamable HTTP)\n// highlight-end'
: '│ ○ Built-in Extension\n// highlight-start\n│ ● Command-line Extension (Run a local command or script)\n// highlight-end\n│ ○ Remote Extension (Streamable HTTP)'
}
`}</CodeBlock>
@@ -90,7 +85,7 @@ ${
│ Add Extension
◇ What type of extension would you like to add?
${isSSE ? 'Remote Extension (SSE)' : isHttp ? 'Remote Extension (Streaming HTTP)' : 'Command-line Extension'}
${isHttp ? 'Remote Extension (Streamable HTTP)' : 'Command-line Extension'}
// highlight-start
◆ What would you like to call this extension?
@@ -101,7 +96,7 @@ ${
{isRemote ? (
<>
<ol start={4}>
<li>Enter the {isSSE ? 'SSE endpoint URI' : 'Streaming HTTP endpoint URI'}.</li>
<li>Enter the Streamable HTTP endpoint URI.</li>
</ol>
{commandNote && (
<>
@@ -117,13 +112,13 @@ ${
│ Add Extension
◇ What type of extension would you like to add?
${isSSE ? 'Remote Extension (SSE)' : 'Remote Extension (Streaming HTTP)'}
│ Remote Extension (Streamable HTTP)
◇ What would you like to call this extension?
${name}
// highlight-start
◆ What is the ${isSSE ? 'SSE endpoint URI' : 'Streaming HTTP endpoint URI'}?
◆ What is the Streamable HTTP endpoint URI?
${url}
// highlight-end
`}</CodeBlock>
@@ -172,14 +167,14 @@ ${
│ Add Extension
◇ What type of extension would you like to add?
${isSSE ? 'Remote Extension (SSE)' : isHttp ? 'Remote Extension (Streaming HTTP)' : 'Command-line Extension'}
${isHttp ? 'Remote Extension (Streamable HTTP)' : 'Command-line Extension'}
◇ What would you like to call this extension?
${name}
${
isRemote
? `◇ What is the ${isSSE ? 'SSE endpoint URI' : 'Streaming HTTP endpoint URI'}?\n│ ${url}\n│`
? `◇ What is the Streamable HTTP endpoint URI?\n│ ${url}\n│`
: `◇ What command should be run?\n│ ${command}\n│`
}
// highlight-start
@@ -197,14 +192,14 @@ ${
│ Add Extension
◇ What type of extension would you like to add?
${isSSE ? 'Remote Extension (SSE)' : isHttp ? 'Remote Extension (Streaming HTTP)' : 'Command-line Extension'}
${isHttp ? 'Remote Extension (Streamable HTTP)' : 'Command-line Extension'}
◇ What would you like to call this extension?
${name}
${
isRemote
? `◇ What is the ${isSSE ? 'SSE endpoint URI' : 'Streaming HTTP endpoint URI'}?\n│ ${url}\n│`
? `◇ What is the Streamable HTTP endpoint URI?\n│ ${url}\n│`
: `◇ What command should be run?\n│ ${command}\n│`
}
◇ Please set the timeout for this tool (in secs):
@@ -236,14 +231,14 @@ ${
│ Add Extension
◇ What type of extension would you like to add?
${isSSE ? 'Remote Extension (SSE)' : isHttp ? 'Remote Extension (Streaming HTTP)' : 'Command-line Extension'}
${isHttp ? 'Remote Extension (Streamable HTTP)' : 'Command-line Extension'}
◇ What would you like to call this extension?
${name}
${
isRemote
? `◇ What is the ${isSSE ? 'SSE endpoint URI' : 'Streaming HTTP endpoint URI'}?\n│ ${url}\n│`
? `◇ What is the Streamable HTTP endpoint URI?\n│ ${url}\n│`
: `◇ What command should be run?\n│ ${command}\n│`
}
◇ Please set the timeout for this tool (in secs):
@@ -277,14 +272,14 @@ ${
│ Add Extension
◇ What type of extension would you like to add?
${isSSE ? 'Remote Extension (SSE)' : isHttp ? 'Remote Extension (Streaming HTTP)' : 'Command-line Extension'}
${isHttp ? 'Remote Extension (Streamable HTTP)' : 'Command-line Extension'}
◇ What would you like to call this extension?
${name}
${
isRemote
? `◇ What is the ${isSSE ? 'SSE endpoint URI' : 'Streaming HTTP endpoint URI'}?\n│ ${url}\n│`
? `◇ What is the Streamable HTTP endpoint URI?\n│ ${url}\n│`
: `◇ What command should be run?\n│ ${command}\n│`
}
◇ Please set the timeout for this tool (in secs):
@@ -10,7 +10,7 @@ interface GooseDesktopInstallerProps {
extensionId: string;
extensionName: string;
description: string;
type?: 'stdio' | 'sse' | 'http'; // Extension type (http maps to streamable_http)
type?: 'stdio' | 'http'; // Extension type (http maps to streamable_http)
// Command-line extension props (optional when using url)
command?: string;
args?: string[];
@@ -41,7 +41,7 @@ export default function GooseDesktopInstaller({
}: GooseDesktopInstallerProps) {
// Determine extension type with backward compatibility
const extensionType = type || (command ? 'stdio' : url ? 'sse' : 'stdio');
const extensionType = type || (command ? 'stdio' : url ? 'http' : 'stdio');
// Build the goose:// URL
const buildGooseUrl = () => {
@@ -9,7 +9,7 @@
"extensions": [
{
"name": "Pieces",
"url": "http://localhost:39300/model_context_protocol/2024-11-05/sse",
"command": "uvx --from pieces-cli pieces --ignore-onboarding mcp start",
"is_builtin": false
}
]