@featureflip/mcp 0.1.9 → 0.1.10
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/README.md +1 -0
- package/dist/cli.mjs +1 -1
- package/dist/generated/api-types.d.ts +11 -4
- package/dist/generated/api-types.d.ts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{org-8tn1Su68.js → org-C5dAa5In.js} +85 -56
- package/dist/tools/flags.d.ts.map +1 -1
- package/dist/tools/workflows/stale-flags.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -48,6 +48,7 @@ CRUD: `list_projects`, `list_environments`, `list_flags`, `get_flag`, `create_fl
|
|
|
48
48
|
Webhooks (Admin token required): `list_webhooks`, `list_webhook_deliveries`, `manage_webhook`, `deliver_webhook`
|
|
49
49
|
|
|
50
50
|
Workflows: `flag_status` (cross-environment view), `find_stale_flags` (cleanup candidates),
|
|
51
|
+
`list_removal_candidates` (flags safe to remove, with the prerequisite dependents to remove first),
|
|
51
52
|
`wrap_feature` (create flag + get the SDK snippet for your language)
|
|
52
53
|
|
|
53
54
|
Full reference: https://featureflip.io/docs/integrations/mcp/
|
package/dist/cli.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, s as i, t as a } from "./org-
|
|
1
|
+
import { a as e, i as t, n, o as r, s as i, t as a } from "./org-C5dAa5In.js";
|
|
2
2
|
import { serveStdio as o } from "@modelcontextprotocol/server/stdio";
|
|
3
3
|
//#region src/unconfigured.ts
|
|
4
4
|
var s = class extends i {
|
|
@@ -637,9 +637,13 @@ export interface paths {
|
|
|
637
637
|
/**
|
|
638
638
|
* Lists confidently-dead (or, with `staleness=stale`, stale-or-dead) flags the Featureflip Flag Cleanup Action should remove, cursor-paginated, each with its kill `treatment` (true = keep the on-branch, false = keep the off-branch).
|
|
639
639
|
* @description Only flags the staleness engine marks at or
|
|
640
|
-
* above the requested tier
|
|
641
|
-
* ZeroTraffic/CreatedUnused
|
|
642
|
-
*
|
|
640
|
+
* above the requested tier with a settled value are returned: a decisive StuckRolledOut/StuckRolledBack
|
|
641
|
+
* reason, or ZeroTraffic/CreatedUnused when no environment saw traffic and every environment's
|
|
642
|
+
* configuration serves one fixed variation (enabled, no rules, no prerequisites). Cross-env-divergent
|
|
643
|
+
* flags, flags without traffic whose configuration could serve more than one value, and archived
|
|
644
|
+
* flags are omitted (no confident code treatment). The ONLY public projection of staleness.
|
|
645
|
+
* Each item's `blockedBy` names the live flags that still list it as a prerequisite; while
|
|
646
|
+
* it is non-empty the flag cannot be archived (`FLAG_HAS_DEPENDENTS`), so remove those first.
|
|
643
647
|
*/
|
|
644
648
|
get: {
|
|
645
649
|
parameters: {
|
|
@@ -6359,13 +6363,16 @@ export interface components {
|
|
|
6359
6363
|
* (`"Stale"` or `"Dead"`, never `"Active"`) — lets a caller distinguish the two when
|
|
6360
6364
|
* `?staleness=stale` widens the response to include both tiers. This is the ONLY public
|
|
6361
6365
|
* projection of staleness — PublicFlagResponse and PublicFlagListItem
|
|
6362
|
-
* still omit it by design.
|
|
6366
|
+
* still omit it by design. `BlockedBy` names the live flags that still list this one as a
|
|
6367
|
+
* prerequisite, sorted by key; while it is non-empty the flag cannot be archived
|
|
6368
|
+
* (`FLAG_HAS_DEPENDENTS`), so a caller should remove those dependents first.
|
|
6363
6369
|
*/
|
|
6364
6370
|
PublicFlagRemovalCandidate: {
|
|
6365
6371
|
key?: string | null;
|
|
6366
6372
|
reason?: string | null;
|
|
6367
6373
|
treatment?: boolean;
|
|
6368
6374
|
status?: string | null;
|
|
6375
|
+
blockedBy?: string[] | null;
|
|
6369
6376
|
};
|
|
6370
6377
|
/**
|
|
6371
6378
|
* @description A page of results plus an opaque cursor for the next page, or null when this is the last
|