@featureflip/mcp 0.1.3 → 0.1.4
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/dist/cli.mjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "./org-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "./org-DsA8PUrd.js";
|
|
2
2
|
export { t as ApiError, e as FeatureflipApi, r as PKG_VERSION, i as createServer, n as loadConfig, a as resolveOrg };
|
|
@@ -4,7 +4,7 @@ import * as t from "zod/v4";
|
|
|
4
4
|
//#region src/version.ts
|
|
5
5
|
var n = {
|
|
6
6
|
name: "@featureflip/mcp",
|
|
7
|
-
version: "0.1.
|
|
7
|
+
version: "0.1.4",
|
|
8
8
|
mcpName: "io.github.canopy-labs/featureflip",
|
|
9
9
|
description: "MCP server for managing Featureflip feature flags from AI agents and editors",
|
|
10
10
|
license: "Apache-2.0",
|
|
@@ -231,7 +231,7 @@ function m(e, n) {
|
|
|
231
231
|
})).optional(),
|
|
232
232
|
idempotency_key: t.string().optional().describe("Idempotency-Key header for safe retries")
|
|
233
233
|
}),
|
|
234
|
-
annotations: {}
|
|
234
|
+
annotations: { destructiveHint: !1 }
|
|
235
235
|
}, async ({ project: e, idempotency_key: t, ...i }) => c(async () => o(await n.api.request("POST", r(e), {
|
|
236
236
|
body: i,
|
|
237
237
|
idempotencyKey: t
|
|
@@ -246,7 +246,7 @@ function m(e, n) {
|
|
|
246
246
|
tags: t.array(t.string()).optional(),
|
|
247
247
|
clientSideVisible: t.boolean().optional()
|
|
248
248
|
}),
|
|
249
|
-
annotations: {}
|
|
249
|
+
annotations: { destructiveHint: !0 }
|
|
250
250
|
}, async ({ project: e, flag: t, ...a }) => c(async () => (await n.api.request("PUT", `${r(e)}/${i(t)}`, { body: a }), o({
|
|
251
251
|
project: e,
|
|
252
252
|
flag: t,
|
|
@@ -277,7 +277,7 @@ function m(e, n) {
|
|
|
277
277
|
project: t.string(),
|
|
278
278
|
flag: t.string()
|
|
279
279
|
}),
|
|
280
|
-
annotations: {}
|
|
280
|
+
annotations: { destructiveHint: !1 }
|
|
281
281
|
}, async ({ project: e, flag: t }) => c(async () => (await n.api.request("POST", `${r(e)}/${i(t)}/restore`), o({
|
|
282
282
|
flag: t,
|
|
283
283
|
archived: !1
|
|
@@ -664,7 +664,7 @@ function k(e, n) {
|
|
|
664
664
|
language: t.enum(C).describe("SDK language of the codebase being edited"),
|
|
665
665
|
idempotency_key: t.string().optional()
|
|
666
666
|
}),
|
|
667
|
-
annotations: {}
|
|
667
|
+
annotations: { destructiveHint: !1 }
|
|
668
668
|
}, async ({ project: e, key: t, name: r, description: a, tags: s, language: l, idempotency_key: u }) => c(async () => {
|
|
669
669
|
let c = await n.api.request("POST", `/api/v1/orgs/${i(n.org)}/projects/${i(e)}/flags`, {
|
|
670
670
|
body: {
|
package/package.json
CHANGED