@habitusnet/bc365 2.2.4 → 2.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [2.2.5] — 2026-02-20
6
+
7
+ ### Changed
8
+ - README: documents `--scope` flag with reference table and examples for `onboard` and `switch`
9
+
5
10
  ## [2.2.4] — 2026-02-20
6
11
 
7
12
  ### Fixed
package/README.md CHANGED
@@ -44,7 +44,20 @@ npx @habitusnet/bc365 onboard
44
44
  - **`bc-data`** — query and update BC data via OData (customers, items, orders, G/L entries)
45
45
  - **`bc-admin`** — manage environments, apps, feature flags, and sessions
46
46
 
47
- Servers are registered at local scope (`.claude/settings.local.json`, gitignored and per-user). Run with `--scope project` to write a shared `.mcp.json` instead.
47
+ Servers are registered at local scope (`.claude/settings.local.json`, gitignored and per-user). Pass `--scope` to override:
48
+
49
+ | Scope | Stored in | Use when |
50
+ |-------|-----------|----------|
51
+ | `local` (default) | `.claude/settings.local.json` | Per-user, gitignored — recommended |
52
+ | `user` | `~/.claude.json` | All projects for this user |
53
+ | `project` | `.mcp.json` | Shared team config, committed to git |
54
+
55
+ ```bash
56
+ bc365 onboard # local scope (default)
57
+ bc365 onboard --scope project # writes .mcp.json
58
+ bc365 switch habitusnet-prod # re-register saved profile at local scope
59
+ bc365 switch habitusnet-prod --scope user # re-register at user scope
60
+ ```
48
61
 
49
62
  ## Claude Code Skills
50
63
 
@@ -68,9 +81,9 @@ Skills are also bundled in this package under `skills/` for offline use.
68
81
 
69
82
  | Command | Description |
70
83
  |---------|-------------|
71
- | `bc365 onboard [--scope local\|project]` | Discover and register MCP servers |
84
+ | `bc365 onboard [-s local\|user\|project]` | Discover and register MCP servers |
85
+ | `bc365 switch <profile> [-s local\|user\|project]` | Re-register servers from a saved profile |
72
86
  | `bc365 profiles` | List saved profiles |
73
- | `bc365 switch <profile>` | Switch to a saved profile |
74
87
  | `bc365 check` | Check latest npm versions of bc365 packages |
75
88
 
76
89
  ## Multi-Tenant Usage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@habitusnet/bc365",
3
- "version": "2.2.4",
3
+ "version": "2.2.5",
4
4
  "description": "Smart onboarding CLI and MCP config manager for Business Central",
5
5
  "type": "module",
6
6
  "bin": {