Skip to content

feat: add CLI source config tags - #139

Merged
XXPermanentXX merged 1 commit into
mainfrom
feat/source-config-tags
Aug 5, 2026
Merged

feat: add CLI source config tags#139
XXPermanentXX merged 1 commit into
mainfrom
feat/source-config-tags

Conversation

@XXPermanentXX

Copy link
Copy Markdown
Collaborator

Summary

  • add product and version dimensions to x-dashscope-source-config
    • t1=public
    • t2=bl|kscli
    • t3=<CLI version>
  • inject source metadata at Bailian/DashScope API boundaries while excluding OSS uploads, result downloads, transcription downloads, and update checks
  • document the current backend channel identifiers and AEM command telemetry flow

Why

Gateway-side consumption needs to distinguish Bailian CLI from Knowledge Studio CLI and attribute requests to the actual product version without propagating channel metadata through generic network transfers.

Impact

  • bl and kscli requests can be segmented by product and version
  • existing User-Agent behavior is preserved
  • AEM command telemetry behavior is unchanged
  • generic OSS/npm/download traffic no longer receives x-dashscope-source-config

Validation

  • git diff --check
  • vp check — 0 errors; 3 pre-existing warnings
  • vp test packages/core/tests/instrumented-fetch.test.ts packages/core/tests/index.test.ts — 21/21 passed

@XXPermanentXX
XXPermanentXX force-pushed the feat/source-config-tags branch from fbc9cc4 to 01ec13a Compare August 5, 2026 09:37
@XXPermanentXX
XXPermanentXX marked this pull request as ready for review August 5, 2026 09:44
@XXPermanentXX
XXPermanentXX merged commit 2dffee5 into main Aug 5, 2026
2 checks passed
@XXPermanentXX
XXPermanentXX deleted the feat/source-config-tags branch August 5, 2026 09:45
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