HTTP scatter.
Package manager panel
Platform spec feature
Package manager panel
Spec standingStandard
-
pckgClient boundary
Context
Decision
HTTP via pckgClient.ts only.
Consequences
Shared auth.
Verification anchors
Grep fetch in packages/.
-
CLI for lock
Context
Lock integrity.
Decision
Use beskid fetch/lock via CLI.
Consequences
Shared resolver.
Verification anchors
Panel CLI invocations.
- Contracts and edge cases pckgClient HTTP rules, authentication, caching, and package command contracts.
- Decisions record (legacy index) Migration index for package manager panel ADRs.
- Design model PackageTreeItem sections, pckgClient surface, cache keys, and Packages view chrome.
- Examples Corelib locked dependencies and registry search in the Packages view.
- Flow and algorithm Package search, details expansion, fetch/lock, and focus-driven refresh sequences.
0 revisions (git unavailable at build; counts may be empty)
No commits recorded for this path.
| Section id | Required | Found |
|---|---|---|
what-this-feature-specifies | yes | yes |
implementation-anchors | yes | yes |
Full tree: run pnpm verify:platform-spec-layout (writes src/generated/platform-spec-layout-report.json).
What this feature specifies
Packages activity-bar view: local dependency listing and registry browse/search with cached pckg HTTP and CLI fetch/lock.
Implementation anchors
beskid_vscode/src/packages/pckgClient.ts,PackageManagerProvider.tsbeskid_vscode/src/cli/beskidCliRunner.tspckg/src/Server/Features/Packages/Contracts.cs
Contract statement
The package manager panel (beskidPackagesView) provides two persistent sections: This project (declared + Project.lock entries from LSP) and Registry search (debounced pckg HTTP with TTL cache). Lock/fetch mutations run through the Beskid CLI (beskid fetch, beskid lock) with progress on the shared status bar.
Inputs and outputs
| API | Endpoint / command |
|---|---|
| Search | GET /api/search?q=&limit= |
| Details | GET /api/packages/{name} |
| Local deps | beskid.getProjectDependencies |
| Fetch / lock | beskid fetch, beskid lock (CLI, --project cwd = focused project root) |
Registry base URL resolution order: workspace default registry from beskid.getWorkspaceSummary → beskid.pckg.baseUrl → http://localhost:5000.
Decisions
No open decisions. D-TOOL-VSC-0001 (pckgClient boundary), 0002 (CLI for fetch/lock)—see adr/ and the ADRs tab.
Articles
- pckgClient boundarypckgClient boundary
- Contracts and edge casespckgClient HTTP rules, authentication, caching, and package command contracts.
- Decisions record (legacy index)Migration index for package manager panel ADRs.
- Design modelPackageTreeItem sections, pckgClient surface, cache keys, and Packages view chrome.
- ExamplesCorelib locked dependencies and registry search in the Packages view.
- Flow and algorithmPackage search, details expansion, fetch/lock, and focus-driven refresh sequences.