docs: document CNB provider and teamai session save#217
Merged
Conversation
Follow-up doc pass for Tencent#208 (CNB provider) and Tencent#192 (session save), which shipped without doc coverage. - docs/providers.md: provider count 两个 → 三个; add `cnb` to the table and the auto-detection block; new "CNB Provider(cnb.cool)" section — auth via `cnb login` / `CNB_TOKEN`, operations delegated to @cnbcool/cnb-cli, nested paths, and the cnb.cool-only scope + TEAMAI_CNB_HOST/CNB_API_ENDPOINT note. - README.md / README.zh-CN.md: add CNB to the git-host list. - docs/usage-guide.md / .zh-CN.md: add CNB to the create-repo step and prerequisites; new "Session Save" section for `teamai session save` (--push / --force / --include-prompt, local ~/.teamai/session-logs path, 90-day retention, "valuable" heuristic, digest Session Highlights, privacy). Docs-only, bilingual kept in sync. Built and verified the documented surface: `session save --help` shows the flags; the cnb.cool host mapping is in the build.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up documentation pass for two features that shipped without doc coverage:
teamai save-session— monthly session logs + digest feed #192 —teamai session saveDocs-only; no code changes. Bilingual docs kept in sync per the repo convention.
Changes
docs/providers.md(the provider reference — the main gap; it still said "当前实现了两个")cnbrow to the table and to the auto-detection block.cnb loginOAuth2 device flow /CNB_TOKENfor CI), operations delegated to@cnbcool/cnb-cli, nestedorg/subgroup/repopaths, no default email domain, and the cnb.cool-only scope — with theTEAMAI_CNB_HOST+CNB_API_ENDPOINTnote for self-hosted instances (feasible but untested, so not a supported config).provider: cnb.README.md/README.zh-CN.mddocs/usage-guide.md/docs/usage-guide.zh-CN.mdcnbCLI).teamai session save:--push/--force/--include-prompt, the local~/.teamai/session-logs/<month>.mdpath, 90-day retention, the "valuable" heuristic, how--pushfeedsdigest's Session Highlights, and the counts-only privacy posture.Test Plan
npm run buildteamai session save --helpshows--session-id/--push/--force/--include-prompt; thecnb.coolhost mapping is present indist/.