所有命令 · context

pm context

Show a token-efficient project context snapshot for next-work decisions.

Builds an agent-optimized snapshot of critical active work plus near-term agenda context with progressive depth levels.

用法

pm context [options] [command]

选项

--for <intent>Apply a declared context intent projection. Allowed core values: handoff|orient. Configured package and workspace intents may extend this domain.可选
--date <value>Anchor date/time for agenda window calculations (ISO/date string or relative)可选
--from <value>Agenda lower bound (ISO/date string or relative)可选
--to <value>Agenda upper bound (ISO/date string or relative)可选
--pastInclude past agenda entries in bounded windows可选
--type <value>Filter by item type可选
--tag <value>Filter by tag可选
--priority <value>Filter by priority可选
--assignee <value>Filter by assignee可选
--assignee-filter <value>Filter assignee presence: assigned|unassigned可选
--sprint <value>Filter by sprint可选
--release <value>Filter by release可选
--parent <id>Scope the snapshot to one item's subtree (the item plus all descendants)可选
--limit <n>Limit focus and agenda rows per section可选
--after <cursor>Continue ranked focus after a next_cursor from a previous context response可选
--format <value>Context output format override: markdown|toon|json|ndjson可选
--depth <value>Context depth: brief|standard|deep|full (full = every section, no per-section cap)可选
--section <value...>Include specific sections (repeatable; overrides --depth)可选
--fields <value>Project focus rows to a comma-separated field subset (e.g. id,title,priority)可选
--activity-limit <n>Limit recent activity entries (default: settings or 10)可选
--stale-threshold <value>Staleness cutoff in days (e.g. 7 or 7d; default: settings or 7)可选
--explain-rankingInclude the scorer model, per-signal contributions, and ranked candidate ids可选
--token-budget <n>Maximum estimated tokens spent on ranked focus rows可选
--no-extension-healthOmit the installed extension health summary可选
--no-tagsOmit tag arrays from context focus rows可选

示例

pm context

相关命令