Skip to content

Commit c6160d9

Browse files
committed
agentHost: remove stale metadata lint suppressions
The metadata boundary is now excluded from the rule, so suppressions added on main became unused and failed hygiene.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 22bd260 commit c6160d9

3 files changed

Lines changed: 0 additions & 3 deletions

File tree

‎src/vs/platform/agentHost/common/meta/agentMergeMessageMeta.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ interface IHasAgentMergeMessageMeta {
1818
* tells them apart.
1919
*/
2020
export function isAgentMergeMessage(source: IHasAgentMergeMessageMeta): boolean {
21-
// eslint-disable-next-line local/code-no-untyped-meta-access -- sanctioned first hop into the namespaced Agent Merge slot; validated here.
2221
return source._meta?.[AGENT_MERGE_MESSAGE_META_KEY] === true;
2322
}
2423

‎src/vs/platform/agentHost/common/meta/agentWorkspaceContinuationMeta.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ interface IHasAgentWorkspaceContinuationMeta {
1111

1212
/** Whether the message is the internal request that resumes a turn after workspace conversion. */
1313
export function isAgentWorkspaceContinuationMessage(source: IHasAgentWorkspaceContinuationMeta): boolean {
14-
// eslint-disable-next-line local/code-no-untyped-meta-access -- sanctioned first hop into the namespaced workspace-continuation slot; validated here.
1514
return source._meta?.[AGENT_WORKSPACE_CONTINUATION_META_KEY] === true;
1615
}
1716

‎src/vs/platform/agentHost/common/meta/automationMeta.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,5 @@ export function isAgentHostLegacyAutomationImportPending(source: IHasAutomationM
3030
}
3131

3232
function readAutomationMetaSlot(source: IHasAutomationMeta, key: string): unknown {
33-
// eslint-disable-next-line local/code-no-untyped-meta-access -- sanctioned reader for validated Automation metadata slots.
3433
return source._meta?.[key];
3534
}

0 commit comments

Comments
 (0)