Skip to content

Commit 23fc82c

Browse files
committed
chore: remove internal-only wording
1 parent ad8e30e commit 23fc82c

4 files changed

Lines changed: 7 additions & 9 deletions

File tree

packages/agent-core/src/services/coreProcess/coreProcess.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ export interface CoreProcessServiceOptions extends PythinkerCoreOptions {
4040
* Host identity (product name + version). When set and
4141
* `pythinkerRequestHeaders` is omitted, the adapter default-wires
4242
* `createPythinkerDefaultHeaders({ homeDir, ...identity })` into PythinkerCore
43-
* so providers see `User-Agent: <product>/<version>`. This distribution does
44-
* not attach legacy `X-Msh-*` device headers.
43+
* so providers see `User-Agent: <product>/<version>` without device identity
44+
* headers.
4545
*
4646
* `identity.version` also feeds `appVersion` so session records carry
4747
* the host CLI version — same wiring `SDKRpcClient` does in node-sdk.

packages/agent-core/src/services/coreProcess/coreProcessService.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ export class CoreProcessService extends Disposable implements ICoreProcessServic
8282
options.resolveOAuthTokenProvider ??
8383
CoreProcessService._defaultOAuthTokenResolver(env.homeDir);
8484

85-
// Default-wire the product User-Agent without legacy X-Msh-*
86-
// device headers. Mirrors the in-process TUI path in SDKRpcClient.
85+
// Default-wire the product User-Agent without device identity headers.
86+
// Mirrors the in-process TUI path in SDKRpcClient.
8787
// Caller-supplied `pythinkerRequestHeaders` always wins; absent that, we
8888
// synthesize from `options.identity`. Hosts that pass neither
8989
// (no identity, no headers) still construct — but their requests will
@@ -194,13 +194,12 @@ export class CoreProcessService extends Disposable implements ICoreProcessServic
194194
/**
195195
* Build the default `pythinkerRequestHeaders` from `options.identity` so the
196196
* outbound User-Agent identifies this process (for example,
197-
* `pythinker-code-cli/<ver>`). X-Msh-* device headers stay
198-
* absent.
197+
* `pythinker-code-cli/<ver>`). Device identity headers stay absent.
199198
*
200199
* Returns `undefined` when no identity is provided — preserves the
201200
* pre-fix contract for hosts that pass headers explicitly via
202201
* `options.pythinkerRequestHeaders` (or for legacy callers / tests that
203-
* don't talk to the managed endpoint at all).
202+
* do not send provider requests).
204203
*
205204
* Exposed as `static` so tests can assert the wiring without booting
206205
* the service.

packages/node-sdk/src/sdk-rpc-client-v2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ export class SDKRpcClientV2 extends SDKRpcClientBase {
924924
}
925925

926926
/**
927-
* v1's persist-add project guard ported to the workspace loader. This read
927+
* The persisted MCP add guard uses the workspace loader. This read
928928
* deliberately includes the project layer even while the workspace is
929929
* untrusted: a user-level write must not create a shadow that springs into
930930
* conflict when the workspace is trusted later.

scripts/check-product-boundaries.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ function excluded(file) {
9696
file === SELF ||
9797
file === 'pnpm-lock.yaml' ||
9898
file.startsWith('.changeset/') ||
99-
file.startsWith('blackbox/') ||
10099
file.includes('/dist-web/') ||
101100
file.includes('/dist/') ||
102101
file.toLowerCase().endsWith('changelog.md')

0 commit comments

Comments
 (0)