Remove upstream-project attribution from docs and code comments
Strips references to the upstream npm-package agent harness from README design notes, developer.md, the compaction package, the runtime context/streaming comments, and the tools/mcp adapter doc-comments. The technical patterns being described stand on their own; the attribution chain isn't needed. Remaining mentions of the word in the providers/anthropic package are literal Anthropic model identifiers (the 'claude-…' API model strings) — those are functional product names, not attribution.
This commit is contained in:
1 parent
fa61dbdf77
commit
7e9801bf9c
8 files changed
+17
-26
No files matched your search
@@ -20,9 +20,8 @@ type mcpToolAdapter struct {
|
||||
}
|
||||
|
||||
// Name returns "mcp__<server>__<tool>". The double-underscore
|
||||
// namespacing matches Claude Code so the LLM treats these tools the
|
||||
// same way it would in CC and so they can't collide with built-in
|
||||
// harness tools.
|
||||
// namespacing prevents collisions with built-in harness tools and
|
||||
// is the convention most agent harnesses use for MCP-sourced tools.
|
||||
func (a *mcpToolAdapter) Name() string {
|
||||
return "mcp__" + a.serverName + "__" + a.sdkTool.Name
|
||||
}
|
||||
|
||||
+2
-2
@@ -35,8 +35,8 @@ import (
|
||||
// (Streamable HTTP via the SDK's StreamableClientTransport).
|
||||
type ServerConfig struct {
|
||||
// Name namespaces the server's tools. Adapter tool names become
|
||||
// "mcp__<Name>__<tool>", matching Claude Code's convention so the
|
||||
// LLM treats them the same way.
|
||||
// "mcp__<Name>__<tool>" — the conventional double-underscore
|
||||
// scheme that prevents collisions with built-in tools.
|
||||
Name string
|
||||
|
||||
// Command + Args + Env wire the stdio transport. Env is merged into
|
||||
|
||||
Reference in new issue
Block a user