portkey-admin-mcp 0.4.1 → 0.4.2
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/build/index.js +1 -1
- package/build/server.js +1 -1
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -6405,7 +6405,7 @@ function registerPromptsTools(server, service) {
|
|
|
6405
6405
|
);
|
|
6406
6406
|
server.tool(
|
|
6407
6407
|
"migrate_prompt",
|
|
6408
|
-
"Create or update a prompt in one idempotent step for CI/CD and prompt-as-code flows, unlike create_prompt which always makes a new prompt. Looks up the prompt by name within collection_id: if found it adds a new version (nothing is overwritten),
|
|
6408
|
+
"Create or update a prompt in one idempotent step for CI/CD and prompt-as-code flows, unlike create_prompt which always makes a new prompt. Looks up the prompt by name within collection_id: if missing it creates the prompt, if found with different content it adds a new version (nothing is overwritten), and if the content already matches it no-ops; dry_run reports what would happen without changing anything. Stores app/env in template_metadata; get collection_id from list_collections. Returns the action taken (created, updated, or unchanged), dry_run flag, message, prompt id, slug, and version id.",
|
|
6409
6409
|
PROMPTS_TOOL_SCHEMAS.migratePrompt,
|
|
6410
6410
|
{
|
|
6411
6411
|
readOnlyHint: false,
|
package/build/server.js
CHANGED
|
@@ -6419,7 +6419,7 @@ function registerPromptsTools(server, service) {
|
|
|
6419
6419
|
);
|
|
6420
6420
|
server.tool(
|
|
6421
6421
|
"migrate_prompt",
|
|
6422
|
-
"Create or update a prompt in one idempotent step for CI/CD and prompt-as-code flows, unlike create_prompt which always makes a new prompt. Looks up the prompt by name within collection_id: if found it adds a new version (nothing is overwritten),
|
|
6422
|
+
"Create or update a prompt in one idempotent step for CI/CD and prompt-as-code flows, unlike create_prompt which always makes a new prompt. Looks up the prompt by name within collection_id: if missing it creates the prompt, if found with different content it adds a new version (nothing is overwritten), and if the content already matches it no-ops; dry_run reports what would happen without changing anything. Stores app/env in template_metadata; get collection_id from list_collections. Returns the action taken (created, updated, or unchanged), dry_run flag, message, prompt id, slug, and version id.",
|
|
6423
6423
|
PROMPTS_TOOL_SCHEMAS.migratePrompt,
|
|
6424
6424
|
{
|
|
6425
6425
|
readOnlyHint: false,
|
package/package.json
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"knip": "knip",
|
|
23
23
|
"ci": "npm run lint && npm run knip && npm run typecheck && npm run test && npm run build && npm run test:e2e && npm run verify:readme-tools",
|
|
24
24
|
"start:http": "node build/server.js",
|
|
25
|
-
"generate:lobehub-tools": "npm run build && node scripts/generate-lobehub-tools.mjs",
|
|
25
|
+
"generate:lobehub-tools": "npm run build && node scripts/generate-lobehub-tools.mjs && biome format --write lhm.plugin.json",
|
|
26
26
|
"publish:lobehub": "npm run generate:lobehub-tools && npx -y @lobehub/market-cli plugin publish --dir \"$PWD\"",
|
|
27
27
|
"prepare": "[ -n \"$CI\" ] || [ -f /.dockerenv ] || [ ! -d .git ] || lefthook install",
|
|
28
28
|
"prepublishOnly": "npm run ci"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"name": "portkey-admin-mcp",
|
|
46
46
|
"mcpName": "io.github.CodesWhat/portkey-admin-mcp",
|
|
47
|
-
"version": "0.4.
|
|
47
|
+
"version": "0.4.2",
|
|
48
48
|
"main": "build/index.js",
|
|
49
49
|
"keywords": [
|
|
50
50
|
"mcp",
|