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:
sausheong committed 2026-05-08 13:43:10 +08:00
1 parent fa61dbdf77
commit 7e9801bf9c
8 files changed
+17 -26

No files matched your search

+7 -6
View File
@@ -221,10 +221,10 @@ Deliberately not in scope (numbers from the same conceptual list):
valid.
- **Compaction at a clean boundary.** `compaction.Split` walks
backward counting user messages and cuts at one — never inside a
tool-call/tool-result pair. The prompt itself (`compaction/prompt.go`)
is adapted from Claude Code's `BASE_COMPACT_PROMPT` and emits a
9-section structured summary inside an `<analysis>` + `<summary>`
envelope; the `<analysis>` block is stripped before re-injection.
tool-call/tool-result pair. The prompt (`compaction/prompt.go`)
emits a 9-section structured summary inside an `<analysis>` +
`<summary>` envelope; the `<analysis>` block is stripped before
re-injection.
- **Plug-points are nil-friendly.** `MemoryProvider`,
`KnowledgeGraph`, `SkillProvider`, `SubagentResolver`,
`PermissionChecker`, `LifecycleHooks`, and `session.Store` are all
@@ -284,8 +284,9 @@ these, you'll need to bring them yourself or layer them on top:
- **Auth / billing / multi-tenant infrastructure.** Per-agent
policy lives in `PermissionChecker`; everything else is your
problem.
- **Shell-command hooks (Claude Code style).** Hooks are typed Go
callbacks on `LifecycleHooks`, not subprocess invocations.
- **Shell-command hooks.** Hooks are typed Go callbacks on
`LifecycleHooks`, not subprocess invocations driven by a config
file.
## Testing