@kya-os/mcp-i-core 1.6.1 → 1.6.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.
@@ -18,19 +18,19 @@ exports.createDelegationErrorFormatter = createDelegationErrorFormatter;
18
18
  * Default message template (matches original adapter/agent behavior)
19
19
  */
20
20
  const DEFAULT_TEMPLATE = {
21
- message: `Authorization required.
21
+ message: `Authorization required for "{toolName}".
22
22
 
23
- [Authorize {toolName}]({consentUrl})
23
+ Authorization URL: {consentUrl}
24
24
 
25
- Retry after authorizing.`,
25
+ Share this URL with the user so they can authorize in their browser, then retry.`,
26
26
  noUrlMessage: `Authorization required for "{toolName}" but no consent URL is available.
27
27
 
28
28
  Please contact the administrator to configure delegation for this tool.`,
29
- oauthMessage: `Authorization required.
29
+ oauthMessage: `Authorization required for "{toolName}".
30
30
 
31
- [Sign in with {provider}]({oauthUrl})
31
+ Sign in with {provider}: {oauthUrl}
32
32
 
33
- Retry after authorizing.`,
33
+ Share this URL with the user so they can sign in with {provider}, then retry.`,
34
34
  noOAuthUrlMessage: `Authorization required for "{toolName}" but no {provider} URL is available.
35
35
 
36
36
  Please contact the administrator to configure OAuth for this tool.`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kya-os/mcp-i-core",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "description": "Core runtime and types for MCP-I framework",
5
5
  "license": "MIT",
6
6
  "author": "Dylan Hobbs",
@@ -25,6 +25,15 @@
25
25
  "default": "./dist/*.js"
26
26
  }
27
27
  },
28
+ "scripts": {
29
+ "build": "tsc",
30
+ "test": "vitest run",
31
+ "test:coverage": "vitest run --coverage",
32
+ "test:watch": "vitest",
33
+ "lint": "eslint .",
34
+ "clean": "rm -rf dist .turbo node_modules",
35
+ "prepublishOnly": "npm run build && node ../create-mcpi-app/scripts/validate-no-workspace.js"
36
+ },
28
37
  "dependencies": {
29
38
  "@kya-os/contracts": "^1.7.26",
30
39
  "jose": "^5.6.3",
@@ -49,13 +58,5 @@
49
58
  },
50
59
  "publishConfig": {
51
60
  "access": "public"
52
- },
53
- "scripts": {
54
- "build": "tsc",
55
- "test": "vitest run",
56
- "test:coverage": "vitest run --coverage",
57
- "test:watch": "vitest",
58
- "lint": "eslint .",
59
- "clean": "rm -rf dist .turbo node_modules"
60
61
  }
61
- }
62
+ }