@ouispec/agent-mcp 0.13.0 → 0.13.1

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/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export { createMCPServer } from './server/adapter.js';
2
2
  export { createMCPToolServer, registerOUISurfaces } from './server/tool-server.js';
3
- // Generated API tools (ADR-0181 §2), each call as the MCP client's own principal
3
+ // Generated API tools, each call as the MCP client's own principal
4
4
  export { createMCPApiToolServer } from './server/api-tool-server.js';
5
5
  export { handleMCPRequest } from './server/http.js';
6
6
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAGtD,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAQnF,iFAAiF;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAGtD,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAQnF,mEAAmE;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * MCP API Tool Server — serves an agent SDK's generated API tools
3
- * (`loadOpenApiTools`, ADR-0181 §2) over MCP, with the same exposure the worker has.
3
+ * (`loadOpenApiTools`) over MCP, with the same exposure the worker has.
4
4
  *
5
- * Each MCP client acts as its own principal (ADR-0181 §4): the host resolves the
5
+ * Each MCP client acts as its own principal: the host resolves the
6
6
  * credential the transport authenticated to a caller, and the tools call the API as
7
7
  * that caller through their `actAs` seam. The API decides access, so a permission
8
8
  * the caller lacks comes back as the route's own refusal. A call is validated
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * MCP API Tool Server — serves an agent SDK's generated API tools
3
- * (`loadOpenApiTools`, ADR-0181 §2) over MCP, with the same exposure the worker has.
3
+ * (`loadOpenApiTools`) over MCP, with the same exposure the worker has.
4
4
  *
5
- * Each MCP client acts as its own principal (ADR-0181 §4): the host resolves the
5
+ * Each MCP client acts as its own principal: the host resolves the
6
6
  * credential the transport authenticated to a caller, and the tools call the API as
7
7
  * that caller through their `actAs` seam. The API decides access, so a permission
8
8
  * the caller lacks comes back as the route's own refusal. A call is validated
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * How an MCP server introduces itself when the product names nothing. The
3
3
  * product's own name belongs in `serverInfo`; the platform has no default
4
- * that names any one product (ADR-0227 §2.2).
4
+ * that names any one product.
5
5
  */
6
6
  export declare const DEFAULT_SERVER_INFO: {
7
7
  name: string;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * How an MCP server introduces itself when the product names nothing. The
3
3
  * product's own name belongs in `serverInfo`; the platform has no default
4
- * that names any one product (ADR-0227 §2.2).
4
+ * that names any one product.
5
5
  */
6
6
  export const DEFAULT_SERVER_INFO = { name: 'agent-sdk-mcp', version: '1.0.0' };
7
7
  //# sourceMappingURL=server-info.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ouispec/agent-mcp",
3
- "version": "0.13.0",
3
+ "version": "0.13.1",
4
4
  "description": "MCP server adapter — serves generated OpenAPI tools, each call as the client's own principal, and Agent SDK intents as MCP tools",
5
5
  "homepage": "https://github.com/wesreid/oui/tree/main/packages/agent-mcp#readme",
6
6
  "bugs": {
@@ -27,9 +27,9 @@
27
27
  ],
28
28
  "dependencies": {
29
29
  "@modelcontextprotocol/sdk": "^1.12.0",
30
- "@ouispec/agent-worker": "^0.13.0",
31
- "@ouispec/agent-core": "^0.10.0",
32
- "@ouispec/bindings": "^0.4.5"
30
+ "@ouispec/agent-core": "^0.13.1",
31
+ "@ouispec/agent-worker": "^0.13.1",
32
+ "@ouispec/bindings": "^0.4.6"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/node": "^22.0.0",