vantage-peers-mcp 2.4.13 → 2.5.0
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 +39 -0
- package/README.md +17 -3
- package/dist/server-http.d.ts +15 -1
- package/dist/server-http.js +538 -14
- package/dist/server.js +4 -4
- package/dist/src/auth.js +13 -6
- package/dist/src/crypto.d.ts +23 -0
- package/dist/src/crypto.js +39 -0
- package/dist/src/list-tasks-gate.d.ts +34 -0
- package/dist/src/list-tasks-gate.js +57 -0
- package/dist/src/normalizeOrchestratorId.d.ts +25 -0
- package/dist/src/normalizeOrchestratorId.js +34 -0
- package/dist/src/paging.d.ts +81 -0
- package/dist/src/paging.js +131 -0
- package/dist/src/scope-filter.d.ts +65 -0
- package/dist/src/scope-filter.js +84 -0
- package/dist/src/tools.d.ts +376 -0
- package/dist/src/tools.js +1759 -317
- package/dist/src/validate-task-payload-re.d.ts +15 -0
- package/dist/src/validate-task-payload-re.js +53 -0
- package/dist/src/validate-task-payload.d.ts +61 -0
- package/dist/src/validate-task-payload.js +355 -0
- package/package.json +9 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.5.0] — 2026-06-06 — Day 92 VP MCP quality overhaul (mission k57a36y8)
|
|
4
|
+
|
|
5
|
+
Day 92 mission `k57a36y8w5t085bqr23dsmvb2d882506` ships a fleet-wide VP MCP quality bump
|
|
6
|
+
across audit, docs, hooks, security, and consistency dimensions. 15 PRs merged to main.
|
|
7
|
+
|
|
8
|
+
### Phase A — Audit + new tools
|
|
9
|
+
- **A1** Day 92 VP MCP tools audit matrix (85 tools, 14 P0 zero-auth gaps) — `docs/test-reports/day92-vp-mcp-audit-matrix.md`.
|
|
10
|
+
- **A2** Consistency analysis report — `docs/test-reports/day92-vp-mcp-consistency-analysis.md`.
|
|
11
|
+
- **A3** New `whoami` LECTURE tool — first per-tool `outputSchema` export precedent.
|
|
12
|
+
- **A4** Consolidated gap matrix — `docs/test-reports/day92-vp-mcp-gap-matrix-consolidated.md`.
|
|
13
|
+
|
|
14
|
+
### Phase B — Documentation
|
|
15
|
+
- **B1** `docs/cloud/security-multi-tenant.md` §4 scope-aware filter framework rewrite.
|
|
16
|
+
- **B2** `docs/cloud/tools-quality-standard.md` (NEW) — 12-section bilingual quality standard.
|
|
17
|
+
- **B3** `docs/cloud/onboarding-customer.md` (NEW) — customer onboarding guide (bilingual FR+EN).
|
|
18
|
+
|
|
19
|
+
### Phase C — Consistency
|
|
20
|
+
- **C0** 14 P0 zero-auth write tools secured with `guardMasterOnly` (C0.1 → C0.6, 6 PRs).
|
|
21
|
+
- **C1** 87 Zod `outputSchema` exports per per-family envelope standard (B2 §3).
|
|
22
|
+
- **C2** Orchestrator-id NFC normalization + case-insensitive matching; idempotent prod migration `convex/migrations/c2-normalize-orchestrator-ids.ts` (7 tables).
|
|
23
|
+
- **C3** 97 tool descriptions standardized + 10 canonical aliases gated through `guardMasterOnly` (security regression fixed in iter 2) + alias-c0-gate-coverage test (15/15 PASS).
|
|
24
|
+
- **C4** Legacy `claude-peers` references removed repo-wide + `grep-gate` CI workflow.
|
|
25
|
+
|
|
26
|
+
### Phase F — Hooks + plugin
|
|
27
|
+
- **F1** New consolidated `validate_task_payload` MCP tool + TypeScript validator library (replaces 5 single-axis hooks).
|
|
28
|
+
- **F2** Plugin propagation runbook + `plugin-vs-workspace-hooks.md` doctrine.
|
|
29
|
+
|
|
30
|
+
### Scope-aware filtering
|
|
31
|
+
- `list_tasks` `fromAllowList[]` + case-insensitive matching (PR #654, #661).
|
|
32
|
+
- 3 admin endpoints reinstated for Marie cohort (prior session).
|
|
33
|
+
|
|
34
|
+
### Tenant trio
|
|
35
|
+
- Persistent test tenant trio (alpha/beta/gamma) seeded on prod with bearers, scope_profiles, and seed data for cross-orchestrator E2E.
|
|
36
|
+
|
|
37
|
+
### Deploy authorization
|
|
38
|
+
- `PI_AUTHORIZED_TASK_ID=k1751nfs27t9f9mpvg3ppd6xad884r59` (Day 82 doctrine).
|
|
39
|
+
- Mission: `k57a36y8w5t085bqr23dsmvb2d882506`.
|
|
40
|
+
- Branch: `release/v2.5.0` opened against `main` at HEAD `18a5530`.
|
|
41
|
+
|
|
3
42
|
## [2.4.13] — 2026-06-02 — Post-public republish: attribution + CHANGELOG day-numbers + RULE #7 narrative scrub
|
|
4
43
|
|
|
5
44
|
Repository visibility flip to PUBLIC on 2026-06-02 (mission D62 `k57e4t21sr55rhz8ng554eseb987wvh3`). This patch republishes the npm package so the published README + CHANGELOG + attribution match the now-public source.
|
package/README.md
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/vantage-peers-mcp)
|
|
4
4
|
[](https://www.npmjs.com/package/vantage-peers-mcp)
|
|
5
5
|
[](https://github.com/vantageos-agency/vantage-peers/blob/main/LICENSE)
|
|
6
|
-
[]()
|
|
7
7
|
|
|
8
8
|
MCP server for [VantagePeers](https://vantagepeers.com) — shared memory, messaging, and task coordination for AI agent teams.
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
97 tools across 18 categories: memory, profiles, tasks, missions, mission templates, messages, diary, briefing notes, search (RAG), issues, fix patterns, error monitoring, deployments, business units, components, mandates, recurring tasks, and session. All tools ship with ChatGPT Apps SDK annotations (`readOnlyHint`, `openWorldHint`, `destructiveHint`) for native UX in ChatGPT custom connectors.
|
|
11
11
|
|
|
12
12
|
## Quick start
|
|
13
13
|
|
|
@@ -17,6 +17,20 @@ npx vantage-peers-mcp
|
|
|
17
17
|
|
|
18
18
|
Requires `CONVEX_URL` pointing to your VantagePeers Convex deployment.
|
|
19
19
|
|
|
20
|
+
## What's new in v2.5.0
|
|
21
|
+
|
|
22
|
+
Day 92 VP MCP quality overhaul (mission `k57a36y8w5t085bqr23dsmvb2d882506`, PR #678):
|
|
23
|
+
|
|
24
|
+
- **C0 — 14 P0 zero-auth write tools secured** with master-only gates (`guardMasterOnly` / `checkFromAllowed`); all 14 tools identified in the A1 audit matrix (commit `d03d2d7`) now require an explicit scope gate before any mutation reaches Convex.
|
|
25
|
+
- **C1 — 87 Zod `outputSchema` exports** following the per-family envelope standard (`create_*` → `{id,...}`, `list_*` → `{items,cursor}`, `delete_*` → `{id,deleted:true}`, etc.) based on the `whoamiOutputSchema` precedent (commit `5231811`).
|
|
26
|
+
- **C2 — Unicode NFC normalization + case-insensitive orchestrator-ID matching** applied at all write paths and filter comparisons; closes the NFD/NFC silent mismatch class discovered in the Hélios/helios production regression.
|
|
27
|
+
- **C3 — 97 tool descriptions standardized** (1-line summary + WHEN clause + concrete EXAMPLE, 80–500 chars) + 10 canonical aliases aligned to the `verb_noun_snake` whitelist.
|
|
28
|
+
- **C4 — `claude-peers` legacy references removed** from source and docs + grep-gate CI check to prevent reintroduction.
|
|
29
|
+
- **A3 — `whoami` LECTURE tool** (PR #661, commit `5231811`) — returns `suggested_orchestrator_id`, `scope_profile`, and `namespace_read_prefixes` so skills auto-resolve identity without prompting the user.
|
|
30
|
+
- **F1 — `validate_task_payload` validator tool** (commit `cf6c961`) — client-side payload validation before any write reaches Convex.
|
|
31
|
+
|
|
32
|
+
See `mcp-server/CHANGELOG.md` for the full per-PR list.
|
|
33
|
+
|
|
20
34
|
## Install
|
|
21
35
|
|
|
22
36
|
### Option 1: npx (no install)
|
|
@@ -74,7 +88,7 @@ VantagePeers ships a built-in OAuth 2.1 authorization server so Claude.ai web ca
|
|
|
74
88
|
|
|
75
89
|
The server also reads `CONVEX_URL` from `.env.local` in the parent directory if not set via environment.
|
|
76
90
|
|
|
77
|
-
## Tools (
|
|
91
|
+
## Tools (97)
|
|
78
92
|
|
|
79
93
|
### Memory (6)
|
|
80
94
|
`store_memory`, `recall`, `list_memories`, `soft_delete_memory`, `get_memory`, `store_episode`
|
package/dist/server-http.d.ts
CHANGED
|
@@ -24,4 +24,18 @@
|
|
|
24
24
|
* PORT — HTTP port (default 3000)
|
|
25
25
|
* NODE_ENV — set to "production" on Railway
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
import { Hono } from "hono";
|
|
28
|
+
/**
|
|
29
|
+
* D6 helper — extract client_secret from either the Authorization: Basic header
|
|
30
|
+
* (RFC 6749 §2.3.1 client_secret_basic) or the form body (client_secret_post).
|
|
31
|
+
* Returns { clientId, clientSecret } when present, else nulls.
|
|
32
|
+
*
|
|
33
|
+
* Basic header format: "Basic base64(client_id:client_secret)".
|
|
34
|
+
* Per RFC 6749 §2.3.1 the values are form-urlencoded before being colon-joined.
|
|
35
|
+
*/
|
|
36
|
+
export declare function parseBasicAuthSecret(authHeader: string | undefined, body: Record<string, string>): {
|
|
37
|
+
clientId: string | null;
|
|
38
|
+
clientSecret: string | null;
|
|
39
|
+
};
|
|
40
|
+
export declare function redirectUriMatches(registeredUri: string, presentedUri: string): boolean;
|
|
41
|
+
export declare const app: Hono<import("hono/types").BlankEnv, import("hono/types").BlankSchema, "/">;
|