@adcp/client 2.3.1 → 2.3.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.
Files changed (36) hide show
  1. package/README.md +76 -0
  2. package/dist/lib/discovery/property-crawler.d.ts +44 -0
  3. package/dist/lib/discovery/property-crawler.d.ts.map +1 -0
  4. package/dist/lib/discovery/property-crawler.js +140 -0
  5. package/dist/lib/discovery/property-crawler.js.map +1 -0
  6. package/dist/lib/discovery/property-index.d.ts +68 -0
  7. package/dist/lib/discovery/property-index.d.ts.map +1 -0
  8. package/dist/lib/discovery/property-index.js +151 -0
  9. package/dist/lib/discovery/property-index.js.map +1 -0
  10. package/dist/lib/discovery/types.d.ts +35 -0
  11. package/dist/lib/discovery/types.d.ts.map +1 -0
  12. package/dist/lib/discovery/types.js +7 -0
  13. package/dist/lib/discovery/types.js.map +1 -0
  14. package/dist/lib/index.d.ts +3 -0
  15. package/dist/lib/index.d.ts.map +1 -1
  16. package/dist/lib/index.js +8 -1
  17. package/dist/lib/index.js.map +1 -1
  18. package/dist/lib/protocols/a2a.d.ts.map +1 -1
  19. package/dist/lib/protocols/a2a.js +53 -20
  20. package/dist/lib/protocols/a2a.js.map +1 -1
  21. package/dist/lib/protocols/mcp.d.ts.map +1 -1
  22. package/dist/lib/protocols/mcp.js +41 -39
  23. package/dist/lib/protocols/mcp.js.map +1 -1
  24. package/dist/lib/types/core.generated.d.ts +81 -61
  25. package/dist/lib/types/core.generated.d.ts.map +1 -1
  26. package/dist/lib/types/core.generated.js +1 -1
  27. package/dist/lib/types/schemas.generated.d.ts +61 -270
  28. package/dist/lib/types/schemas.generated.d.ts.map +1 -1
  29. package/dist/lib/types/schemas.generated.js +31 -22
  30. package/dist/lib/types/schemas.generated.js.map +1 -1
  31. package/dist/lib/types/tools.generated.d.ts +81 -76
  32. package/dist/lib/types/tools.generated.d.ts.map +1 -1
  33. package/dist/lib/types/tools.generated.js.map +1 -1
  34. package/dist/lib/version.d.ts +3 -3
  35. package/dist/lib/version.js +3 -3
  36. package/package.json +8 -2
@@ -1 +1 @@
1
- {"version":3,"file":"tools.generated.js","sourceRoot":"","sources":["../../../src/lib/types/tools.generated.ts"],"names":[],"mappings":";AAAA,oCAAoC;AACpC,uCAAuC;;AAk4GvC;;GAEG"}
1
+ {"version":3,"file":"tools.generated.js","sourceRoot":"","sources":["../../../src/lib/types/tools.generated.ts"],"names":[],"mappings":";AAAA,oCAAoC;AACpC,uCAAuC;;AAk3GvC;;GAEG"}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * AdCP client library version
3
3
  */
4
- export declare const LIBRARY_VERSION = "2.3.0";
4
+ export declare const LIBRARY_VERSION = "2.3.1";
5
5
  /**
6
6
  * AdCP specification version this library is compatible with
7
7
  */
@@ -10,10 +10,10 @@ export declare const ADCP_VERSION = "2.2.0";
10
10
  * Full version information
11
11
  */
12
12
  export declare const VERSION_INFO: {
13
- readonly library: "2.3.0";
13
+ readonly library: "2.3.1";
14
14
  readonly adcp: "2.2.0";
15
15
  readonly compatible: true;
16
- readonly generatedAt: "2025-10-20T16:04:55.114Z";
16
+ readonly generatedAt: "2025-10-22T20:58:31.093Z";
17
17
  };
18
18
  /**
19
19
  * Check if this library version is compatible with a given AdCP version
@@ -7,7 +7,7 @@ exports.isCompatibleWith = isCompatibleWith;
7
7
  /**
8
8
  * AdCP client library version
9
9
  */
10
- exports.LIBRARY_VERSION = '2.3.0';
10
+ exports.LIBRARY_VERSION = '2.3.1';
11
11
  /**
12
12
  * AdCP specification version this library is compatible with
13
13
  */
@@ -16,10 +16,10 @@ exports.ADCP_VERSION = '2.2.0';
16
16
  * Full version information
17
17
  */
18
18
  exports.VERSION_INFO = {
19
- library: '2.3.0',
19
+ library: '2.3.1',
20
20
  adcp: '2.2.0',
21
21
  compatible: true,
22
- generatedAt: '2025-10-20T16:04:55.114Z'
22
+ generatedAt: '2025-10-22T20:58:31.093Z'
23
23
  };
24
24
  /**
25
25
  * Check if this library version is compatible with a given AdCP version
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adcp/client",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "description": "AdCP client library with protocol support for MCP and A2A, includes testing framework",
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.ts",
@@ -61,7 +61,11 @@
61
61
  "ci:schema-check": "npm run sync-schemas && npm run generate-types && git diff --exit-code src/lib/types/ src/lib/agents/ || (echo '⚠️ Generated files are out of sync. Run: npm run sync-schemas && npm run generate-types' && exit 1)",
62
62
  "ci:pre-push": "npm run ci:schema-check && npm run ci:quick",
63
63
  "hooks:install": "node scripts/install-hooks.js",
64
- "hooks:uninstall": "rm -f .git/hooks/pre-push"
64
+ "hooks:uninstall": "rm -f .git/hooks/pre-push",
65
+ "registry:cron": "tsx src/registry/cron.ts",
66
+ "registry:validate-all": "tsx src/registry/cron.ts --all",
67
+ "registry:validate-pending": "tsx src/registry/cron.ts --pending",
68
+ "registry:mcp": "tsx src/registry/mcp-server.ts"
65
69
  },
66
70
  "keywords": [
67
71
  "adcp",
@@ -89,6 +93,7 @@
89
93
  "email": "bugs@adcontextprotocol.org"
90
94
  },
91
95
  "dependencies": {
96
+ "better-sqlite3": "^12.4.1",
92
97
  "dotenv": "^17.2.2"
93
98
  },
94
99
  "peerDependencies": {
@@ -104,6 +109,7 @@
104
109
  "@fastify/cors": "^9.0.1",
105
110
  "@fastify/static": "^7.0.0",
106
111
  "@modelcontextprotocol/sdk": "^1.17.5",
112
+ "@types/better-sqlite3": "^7.6.13",
107
113
  "@types/node": "^20.19.13",
108
114
  "axios": "^1.12.0",
109
115
  "cors": "^2.8.5",