Skip to content

feat(lsp): secret token modifier for keychain-backed env vars#28

Merged
gandarfh merged 1 commit into
mainfrom
feat/secret-token-modifier
Jun 14, 2026
Merged

feat(lsp): secret token modifier for keychain-backed env vars#28
gandarfh merged 1 commit into
mainfrom
feat/secret-token-modifier

Conversation

@gandarfh

Copy link
Copy Markdown
Member

Adds the secret semantic-token modifier (ADR-006 vocab). An env-var ref whose key is is_secret in the active environment now carries the modifier, so a client can paint keychain-backed vars distinctly. Semantic_tokens.of_blocks gains ~env_keys (key,is_secret); the token record gains a secret flag; httui_lsp adds secret to the legend candidates + modifier_bits. Server-side downgrade unchanged (the modifier is emitted only when the client announces it). 2 new unit tests. Desktop visual signal (cm-references highlight) follows separately — the desktop paints locally (Lezer first-paint) and does not consume server tokens, so that half reads is_secret from the environment store.

@gandarfh
gandarfh merged commit a3e824b into main Jun 14, 2026
9 checks passed
@gandarfh
gandarfh deleted the feat/secret-token-modifier branch June 14, 2026 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant