@openzeppelin/contracts-mcp 0.5.5 → 0.5.7

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 (103) hide show
  1. package/dist/cairo/tools/account.js +2 -2
  2. package/dist/cairo/tools/account.js.map +1 -1
  3. package/dist/cairo/tools/custom.js +2 -2
  4. package/dist/cairo/tools/custom.js.map +1 -1
  5. package/dist/cairo/tools/erc1155.js +2 -2
  6. package/dist/cairo/tools/erc1155.js.map +1 -1
  7. package/dist/cairo/tools/erc20.js +2 -2
  8. package/dist/cairo/tools/erc20.js.map +1 -1
  9. package/dist/cairo/tools/erc721.js +2 -2
  10. package/dist/cairo/tools/erc721.js.map +1 -1
  11. package/dist/cairo/tools/governor.js +2 -2
  12. package/dist/cairo/tools/governor.js.map +1 -1
  13. package/dist/cairo/tools/multisig.js +2 -2
  14. package/dist/cairo/tools/multisig.js.map +1 -1
  15. package/dist/cairo/tools/vesting.js +2 -2
  16. package/dist/cairo/tools/vesting.js.map +1 -1
  17. package/dist/confidential/tools/erc7984.js +2 -2
  18. package/dist/confidential/tools/erc7984.js.map +1 -1
  19. package/dist/solidity/tools/account.js +2 -2
  20. package/dist/solidity/tools/account.js.map +1 -1
  21. package/dist/solidity/tools/custom.js +2 -2
  22. package/dist/solidity/tools/custom.js.map +1 -1
  23. package/dist/solidity/tools/erc1155.js +2 -2
  24. package/dist/solidity/tools/erc1155.js.map +1 -1
  25. package/dist/solidity/tools/erc20.js +2 -2
  26. package/dist/solidity/tools/erc20.js.map +1 -1
  27. package/dist/solidity/tools/erc721.js +2 -2
  28. package/dist/solidity/tools/erc721.js.map +1 -1
  29. package/dist/solidity/tools/governor.js +2 -2
  30. package/dist/solidity/tools/governor.js.map +1 -1
  31. package/dist/solidity/tools/rwa.js +2 -2
  32. package/dist/solidity/tools/rwa.js.map +1 -1
  33. package/dist/solidity/tools/stablecoin.js +2 -2
  34. package/dist/solidity/tools/stablecoin.js.map +1 -1
  35. package/dist/stellar/tools/fungible.js +2 -2
  36. package/dist/stellar/tools/fungible.js.map +1 -1
  37. package/dist/stellar/tools/non-fungible.js +2 -2
  38. package/dist/stellar/tools/non-fungible.js.map +1 -1
  39. package/dist/stellar/tools/stablecoin.js +2 -2
  40. package/dist/stellar/tools/stablecoin.js.map +1 -1
  41. package/dist/stylus/tools/erc1155.js +2 -2
  42. package/dist/stylus/tools/erc1155.js.map +1 -1
  43. package/dist/stylus/tools/erc20.js +2 -2
  44. package/dist/stylus/tools/erc20.js.map +1 -1
  45. package/dist/stylus/tools/erc721.js +2 -2
  46. package/dist/stylus/tools/erc721.js.map +1 -1
  47. package/dist/uniswap-hooks/tools/hooks.js +2 -2
  48. package/dist/uniswap-hooks/tools/hooks.js.map +1 -1
  49. package/package.json +6 -6
  50. package/src/cairo/tools/account.ts +2 -2
  51. package/src/cairo/tools/custom.ts +2 -2
  52. package/src/cairo/tools/erc1155.ts +2 -2
  53. package/src/cairo/tools/erc20.ts +2 -2
  54. package/src/cairo/tools/erc721.ts +2 -2
  55. package/src/cairo/tools/governor.ts +2 -2
  56. package/src/cairo/tools/multisig.ts +2 -2
  57. package/src/cairo/tools/vesting.ts +2 -2
  58. package/src/confidential/tools/erc7984.ts +2 -2
  59. package/src/solidity/tools/account.ts +2 -2
  60. package/src/solidity/tools/custom.ts +2 -2
  61. package/src/solidity/tools/erc1155.ts +2 -2
  62. package/src/solidity/tools/erc20.ts +2 -2
  63. package/src/solidity/tools/erc721.ts +2 -2
  64. package/src/solidity/tools/governor.ts +2 -2
  65. package/src/solidity/tools/rwa.ts +2 -2
  66. package/src/solidity/tools/stablecoin.ts +2 -2
  67. package/src/stellar/tools/fungible.ts +2 -2
  68. package/src/stellar/tools/non-fungible.ts +2 -2
  69. package/src/stellar/tools/stablecoin.ts +2 -2
  70. package/src/stylus/tools/erc1155.ts +2 -2
  71. package/src/stylus/tools/erc20.ts +2 -2
  72. package/src/stylus/tools/erc721.ts +2 -2
  73. package/src/uniswap-hooks/tools/hooks.ts +2 -2
  74. package/dist/cairo/schemas.d.ts +0 -342
  75. package/dist/cairo/schemas.d.ts.map +0 -1
  76. package/dist/cairo/schemas.js +0 -153
  77. package/dist/cairo/schemas.js.map +0 -1
  78. package/dist/confidential/schemas.d.ts +0 -33
  79. package/dist/confidential/schemas.d.ts.map +0 -1
  80. package/dist/confidential/schemas.js +0 -33
  81. package/dist/confidential/schemas.js.map +0 -1
  82. package/dist/solidity/schemas.d.ts +0 -211
  83. package/dist/solidity/schemas.d.ts.map +0 -1
  84. package/dist/solidity/schemas.js +0 -166
  85. package/dist/solidity/schemas.js.map +0 -1
  86. package/dist/stellar/schemas.d.ts +0 -84
  87. package/dist/stellar/schemas.d.ts.map +0 -1
  88. package/dist/stellar/schemas.js +0 -58
  89. package/dist/stellar/schemas.js.map +0 -1
  90. package/dist/stylus/schemas.d.ts +0 -60
  91. package/dist/stylus/schemas.d.ts.map +0 -1
  92. package/dist/stylus/schemas.js +0 -44
  93. package/dist/stylus/schemas.js.map +0 -1
  94. package/dist/uniswap-hooks/schemas.d.ts +0 -106
  95. package/dist/uniswap-hooks/schemas.d.ts.map +0 -1
  96. package/dist/uniswap-hooks/schemas.js +0 -78
  97. package/dist/uniswap-hooks/schemas.js.map +0 -1
  98. package/src/cairo/schemas.ts +0 -176
  99. package/src/confidential/schemas.ts +0 -35
  100. package/src/solidity/schemas.ts +0 -186
  101. package/src/stellar/schemas.ts +0 -69
  102. package/src/stylus/schemas.ts +0 -54
  103. package/src/uniswap-hooks/schemas.ts +0 -92
@@ -2,14 +2,14 @@ import type { McpServer, RegisteredTool } from '@modelcontextprotocol/sdk/server
2
2
  import type { AccountOptions } from '@openzeppelin/wizard-cairo';
3
3
  import { account } from '@openzeppelin/wizard-cairo';
4
4
  import { safePrintCairoCodeBlock, makeDetailedPrompt } from '../../utils';
5
- import { accountSchema } from '../schemas';
5
+ import { cairoAccountSchema } from '@openzeppelin/wizard-common/schemas';
6
6
  import { cairoPrompts } from '@openzeppelin/wizard-common';
7
7
 
8
8
  export function registerCairoAccount(server: McpServer): RegisteredTool {
9
9
  return server.tool(
10
10
  'cairo-account',
11
11
  makeDetailedPrompt(cairoPrompts.Account),
12
- accountSchema,
12
+ cairoAccountSchema,
13
13
  async ({ name, type, declare, deploy, pubkey, outsideExecution, upgradeable, info, macros }) => {
14
14
  const opts: AccountOptions = {
15
15
  name,
@@ -2,14 +2,14 @@ import type { McpServer, RegisteredTool } from '@modelcontextprotocol/sdk/server
2
2
  import type { CustomOptions } from '@openzeppelin/wizard-cairo';
3
3
  import { custom } from '@openzeppelin/wizard-cairo';
4
4
  import { safePrintCairoCodeBlock, makeDetailedPrompt } from '../../utils';
5
- import { customSchema } from '../schemas';
5
+ import { cairoCustomSchema } from '@openzeppelin/wizard-common/schemas';
6
6
  import { cairoPrompts } from '@openzeppelin/wizard-common';
7
7
 
8
8
  export function registerCairoCustom(server: McpServer): RegisteredTool {
9
9
  return server.tool(
10
10
  'cairo-custom',
11
11
  makeDetailedPrompt(cairoPrompts.Custom),
12
- customSchema,
12
+ cairoCustomSchema,
13
13
  async ({ name, pausable, access, upgradeable, info, macros }) => {
14
14
  const opts: CustomOptions = {
15
15
  name,
@@ -2,14 +2,14 @@ import type { McpServer, RegisteredTool } from '@modelcontextprotocol/sdk/server
2
2
  import type { ERC1155Options } from '@openzeppelin/wizard-cairo';
3
3
  import { erc1155 } from '@openzeppelin/wizard-cairo';
4
4
  import { safePrintCairoCodeBlock, makeDetailedPrompt } from '../../utils';
5
- import { erc1155Schema } from '../schemas';
5
+ import { cairoERC1155Schema } from '@openzeppelin/wizard-common/schemas';
6
6
  import { cairoPrompts } from '@openzeppelin/wizard-common';
7
7
 
8
8
  export function registerCairoERC1155(server: McpServer): RegisteredTool {
9
9
  return server.tool(
10
10
  'cairo-erc1155',
11
11
  makeDetailedPrompt(cairoPrompts.ERC1155),
12
- erc1155Schema,
12
+ cairoERC1155Schema,
13
13
  async ({
14
14
  name,
15
15
  baseUri,
@@ -2,14 +2,14 @@ import type { McpServer, RegisteredTool } from '@modelcontextprotocol/sdk/server
2
2
  import type { ERC20Options } from '@openzeppelin/wizard-cairo';
3
3
  import { erc20 } from '@openzeppelin/wizard-cairo';
4
4
  import { safePrintCairoCodeBlock, makeDetailedPrompt } from '../../utils';
5
- import { erc20Schema } from '../schemas';
5
+ import { cairoERC20Schema } from '@openzeppelin/wizard-common/schemas';
6
6
  import { cairoPrompts } from '@openzeppelin/wizard-common';
7
7
 
8
8
  export function registerCairoERC20(server: McpServer): RegisteredTool {
9
9
  return server.tool(
10
10
  'cairo-erc20',
11
11
  makeDetailedPrompt(cairoPrompts.ERC20),
12
- erc20Schema,
12
+ cairoERC20Schema,
13
13
  async ({
14
14
  name,
15
15
  symbol,
@@ -2,14 +2,14 @@ import type { McpServer, RegisteredTool } from '@modelcontextprotocol/sdk/server
2
2
  import type { ERC721Options } from '@openzeppelin/wizard-cairo';
3
3
  import { erc721 } from '@openzeppelin/wizard-cairo';
4
4
  import { safePrintCairoCodeBlock, makeDetailedPrompt } from '../../utils';
5
- import { erc721Schema } from '../schemas';
5
+ import { cairoERC721Schema } from '@openzeppelin/wizard-common/schemas';
6
6
  import { cairoPrompts } from '@openzeppelin/wizard-common';
7
7
 
8
8
  export function registerCairoERC721(server: McpServer): RegisteredTool {
9
9
  return server.tool(
10
10
  'cairo-erc721',
11
11
  makeDetailedPrompt(cairoPrompts.ERC721),
12
- erc721Schema,
12
+ cairoERC721Schema,
13
13
  async ({
14
14
  name,
15
15
  symbol,
@@ -2,14 +2,14 @@ import type { McpServer, RegisteredTool } from '@modelcontextprotocol/sdk/server
2
2
  import type { GovernorOptions } from '@openzeppelin/wizard-cairo';
3
3
  import { governor } from '@openzeppelin/wizard-cairo';
4
4
  import { safePrintCairoCodeBlock, makeDetailedPrompt } from '../../utils';
5
- import { governorSchema } from '../schemas';
5
+ import { cairoGovernorSchema } from '@openzeppelin/wizard-common/schemas';
6
6
  import { cairoPrompts } from '@openzeppelin/wizard-common';
7
7
 
8
8
  export function registerCairoGovernor(server: McpServer): RegisteredTool {
9
9
  return server.tool(
10
10
  'cairo-governor',
11
11
  makeDetailedPrompt(cairoPrompts.Governor),
12
- governorSchema,
12
+ cairoGovernorSchema,
13
13
  async ({
14
14
  name,
15
15
  delay,
@@ -2,14 +2,14 @@ import type { McpServer, RegisteredTool } from '@modelcontextprotocol/sdk/server
2
2
  import type { MultisigOptions } from '@openzeppelin/wizard-cairo';
3
3
  import { multisig } from '@openzeppelin/wizard-cairo';
4
4
  import { safePrintCairoCodeBlock, makeDetailedPrompt } from '../../utils';
5
- import { multisigSchema } from '../schemas';
5
+ import { cairoMultisigSchema } from '@openzeppelin/wizard-common/schemas';
6
6
  import { cairoPrompts } from '@openzeppelin/wizard-common';
7
7
 
8
8
  export function registerCairoMultisig(server: McpServer): RegisteredTool {
9
9
  return server.tool(
10
10
  'cairo-multisig',
11
11
  makeDetailedPrompt(cairoPrompts.Multisig),
12
- multisigSchema,
12
+ cairoMultisigSchema,
13
13
  async ({ name, quorum, upgradeable, info, macros }) => {
14
14
  const opts: MultisigOptions = {
15
15
  name,
@@ -2,14 +2,14 @@ import type { McpServer, RegisteredTool } from '@modelcontextprotocol/sdk/server
2
2
  import type { VestingOptions } from '@openzeppelin/wizard-cairo';
3
3
  import { vesting } from '@openzeppelin/wizard-cairo';
4
4
  import { safePrintCairoCodeBlock, makeDetailedPrompt } from '../../utils';
5
- import { vestingSchema } from '../schemas';
5
+ import { cairoVestingSchema } from '@openzeppelin/wizard-common/schemas';
6
6
  import { cairoPrompts } from '@openzeppelin/wizard-common';
7
7
 
8
8
  export function registerCairoVesting(server: McpServer): RegisteredTool {
9
9
  return server.tool(
10
10
  'cairo-vesting',
11
11
  makeDetailedPrompt(cairoPrompts.Vesting),
12
- vestingSchema,
12
+ cairoVestingSchema,
13
13
  async ({ name, startDate, duration, cliffDuration, schedule, info, macros }) => {
14
14
  const opts: VestingOptions = {
15
15
  name,
@@ -2,14 +2,14 @@ import type { McpServer, RegisteredTool } from '@modelcontextprotocol/sdk/server
2
2
  import type { ERC7984Options } from '@openzeppelin/wizard-confidential';
3
3
  import { erc7984 } from '@openzeppelin/wizard-confidential';
4
4
  import { safePrintSolidityCodeBlock, makeDetailedPrompt } from '../../utils';
5
- import { erc7984Schema } from '../schemas';
5
+ import { confidentialERC7984Schema } from '@openzeppelin/wizard-common/schemas';
6
6
  import { confidentialPrompts } from '@openzeppelin/wizard-common';
7
7
 
8
8
  export function registerConfidentialERC7984(server: McpServer): RegisteredTool {
9
9
  return server.tool(
10
10
  'erc7984',
11
11
  makeDetailedPrompt(confidentialPrompts.ERC7984),
12
- erc7984Schema,
12
+ confidentialERC7984Schema,
13
13
  async ({ name, symbol, contractURI, premint, networkConfig, wrappable, votes, info }) => {
14
14
  const opts: ERC7984Options = {
15
15
  name,
@@ -2,14 +2,14 @@ import type { McpServer, RegisteredTool } from '@modelcontextprotocol/sdk/server
2
2
  import type { AccountOptions } from '@openzeppelin/wizard';
3
3
  import { account } from '@openzeppelin/wizard';
4
4
  import { safePrintSolidityCodeBlock, makeDetailedPrompt } from '../../utils';
5
- import { accountSchema } from '../schemas';
5
+ import { solidityAccountSchema } from '@openzeppelin/wizard-common/schemas';
6
6
  import { solidityPrompts } from '@openzeppelin/wizard-common';
7
7
 
8
8
  export function registerSolidityAccount(server: McpServer): RegisteredTool {
9
9
  return server.tool(
10
10
  'solidity-account',
11
11
  makeDetailedPrompt(solidityPrompts.Account),
12
- accountSchema,
12
+ solidityAccountSchema,
13
13
  async ({
14
14
  name,
15
15
  signatureValidation,
@@ -2,14 +2,14 @@ import type { McpServer, RegisteredTool } from '@modelcontextprotocol/sdk/server
2
2
  import type { CustomOptions } from '@openzeppelin/wizard';
3
3
  import { custom } from '@openzeppelin/wizard';
4
4
  import { safePrintSolidityCodeBlock, makeDetailedPrompt } from '../../utils';
5
- import { customSchema } from '../schemas';
5
+ import { solidityCustomSchema } from '@openzeppelin/wizard-common/schemas';
6
6
  import { solidityPrompts } from '@openzeppelin/wizard-common';
7
7
 
8
8
  export function registerSolidityCustom(server: McpServer): RegisteredTool {
9
9
  return server.tool(
10
10
  'solidity-custom',
11
11
  makeDetailedPrompt(solidityPrompts.Custom),
12
- customSchema,
12
+ solidityCustomSchema,
13
13
  async ({ name, pausable, access, upgradeable, info }) => {
14
14
  const opts: CustomOptions = {
15
15
  name,
@@ -2,14 +2,14 @@ import type { McpServer, RegisteredTool } from '@modelcontextprotocol/sdk/server
2
2
  import type { ERC1155Options } from '@openzeppelin/wizard';
3
3
  import { erc1155 } from '@openzeppelin/wizard';
4
4
  import { safePrintSolidityCodeBlock, makeDetailedPrompt } from '../../utils';
5
- import { erc1155Schema } from '../schemas';
5
+ import { solidityERC1155Schema } from '@openzeppelin/wizard-common/schemas';
6
6
  import { solidityPrompts } from '@openzeppelin/wizard-common';
7
7
 
8
8
  export function registerSolidityERC1155(server: McpServer): RegisteredTool {
9
9
  return server.tool(
10
10
  'solidity-erc1155',
11
11
  makeDetailedPrompt(solidityPrompts.ERC1155),
12
- erc1155Schema,
12
+ solidityERC1155Schema,
13
13
  async ({ name, uri, burnable, pausable, mintable, supply, updatableUri, access, upgradeable, info }) => {
14
14
  const opts: ERC1155Options = {
15
15
  name,
@@ -2,14 +2,14 @@ import type { McpServer, RegisteredTool } from '@modelcontextprotocol/sdk/server
2
2
  import type { ERC20Options } from '@openzeppelin/wizard';
3
3
  import { erc20 } from '@openzeppelin/wizard';
4
4
  import { safePrintSolidityCodeBlock, makeDetailedPrompt } from '../../utils';
5
- import { erc20Schema } from '../schemas';
5
+ import { solidityERC20Schema } from '@openzeppelin/wizard-common/schemas';
6
6
  import { solidityPrompts } from '@openzeppelin/wizard-common';
7
7
 
8
8
  export function registerSolidityERC20(server: McpServer): RegisteredTool {
9
9
  return server.tool(
10
10
  'solidity-erc20',
11
11
  makeDetailedPrompt(solidityPrompts.ERC20),
12
- erc20Schema,
12
+ solidityERC20Schema,
13
13
  async ({
14
14
  name,
15
15
  symbol,
@@ -2,14 +2,14 @@ import type { McpServer, RegisteredTool } from '@modelcontextprotocol/sdk/server
2
2
  import type { ERC721Options } from '@openzeppelin/wizard';
3
3
  import { erc721 } from '@openzeppelin/wizard';
4
4
  import { safePrintSolidityCodeBlock, makeDetailedPrompt } from '../../utils';
5
- import { erc721Schema } from '../schemas';
5
+ import { solidityERC721Schema } from '@openzeppelin/wizard-common/schemas';
6
6
  import { solidityPrompts } from '@openzeppelin/wizard-common';
7
7
 
8
8
  export function registerSolidityERC721(server: McpServer): RegisteredTool {
9
9
  return server.tool(
10
10
  'solidity-erc721',
11
11
  makeDetailedPrompt(solidityPrompts.ERC721),
12
- erc721Schema,
12
+ solidityERC721Schema,
13
13
  async ({
14
14
  name,
15
15
  symbol,
@@ -2,14 +2,14 @@ import type { McpServer, RegisteredTool } from '@modelcontextprotocol/sdk/server
2
2
  import type { GovernorOptions } from '@openzeppelin/wizard';
3
3
  import { governor } from '@openzeppelin/wizard';
4
4
  import { safePrintSolidityCodeBlock, makeDetailedPrompt } from '../../utils';
5
- import { governorSchema } from '../schemas';
5
+ import { solidityGovernorSchema } from '@openzeppelin/wizard-common/schemas';
6
6
  import { solidityPrompts } from '@openzeppelin/wizard-common';
7
7
 
8
8
  export function registerSolidityGovernor(server: McpServer): RegisteredTool {
9
9
  return server.tool(
10
10
  'solidity-governor',
11
11
  makeDetailedPrompt(solidityPrompts.Governor),
12
- governorSchema,
12
+ solidityGovernorSchema,
13
13
  async ({
14
14
  name,
15
15
  delay,
@@ -2,14 +2,14 @@ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
2
  import type { StablecoinOptions } from '@openzeppelin/wizard';
3
3
  import { realWorldAsset } from '@openzeppelin/wizard';
4
4
  import { safePrintSolidityCodeBlock, makeDetailedPrompt } from '../../utils';
5
- import { rwaSchema } from '../schemas';
5
+ import { solidityRWASchema } from '@openzeppelin/wizard-common/schemas';
6
6
  import { solidityPrompts } from '@openzeppelin/wizard-common';
7
7
 
8
8
  export function registerSolidityRWA(server: McpServer) {
9
9
  return server.tool(
10
10
  'solidity-rwa',
11
11
  makeDetailedPrompt(solidityPrompts.RWA),
12
- rwaSchema,
12
+ solidityRWASchema,
13
13
  async ({
14
14
  name,
15
15
  symbol,
@@ -2,14 +2,14 @@ import type { McpServer, RegisteredTool } from '@modelcontextprotocol/sdk/server
2
2
  import type { StablecoinOptions } from '@openzeppelin/wizard';
3
3
  import { stablecoin } from '@openzeppelin/wizard';
4
4
  import { safePrintSolidityCodeBlock, makeDetailedPrompt } from '../../utils';
5
- import { stablecoinSchema } from '../schemas';
5
+ import { solidityStablecoinSchema } from '@openzeppelin/wizard-common/schemas';
6
6
  import { solidityPrompts } from '@openzeppelin/wizard-common';
7
7
 
8
8
  export function registerSolidityStablecoin(server: McpServer): RegisteredTool {
9
9
  return server.tool(
10
10
  'solidity-stablecoin',
11
11
  makeDetailedPrompt(solidityPrompts.Stablecoin),
12
- stablecoinSchema,
12
+ solidityStablecoinSchema,
13
13
  async ({
14
14
  name,
15
15
  symbol,
@@ -2,14 +2,14 @@ import type { McpServer, RegisteredTool } from '@modelcontextprotocol/sdk/server
2
2
  import type { FungibleOptions } from '@openzeppelin/wizard-stellar';
3
3
  import { fungible } from '@openzeppelin/wizard-stellar';
4
4
  import { safePrintRustCodeBlock, makeDetailedPrompt } from '../../utils';
5
- import { fungibleSchema } from '../schemas';
5
+ import { stellarFungibleSchema } from '@openzeppelin/wizard-common/schemas';
6
6
  import { stellarPrompts } from '@openzeppelin/wizard-common';
7
7
 
8
8
  export function registerStellarFungible(server: McpServer): RegisteredTool {
9
9
  return server.tool(
10
10
  'stellar-fungible',
11
11
  makeDetailedPrompt(stellarPrompts.Fungible),
12
- fungibleSchema,
12
+ stellarFungibleSchema,
13
13
  async ({
14
14
  name,
15
15
  symbol,
@@ -2,14 +2,14 @@ import type { McpServer, RegisteredTool } from '@modelcontextprotocol/sdk/server
2
2
  import type { NonFungibleOptions } from '@openzeppelin/wizard-stellar';
3
3
  import { nonFungible } from '@openzeppelin/wizard-stellar';
4
4
  import { safePrintRustCodeBlock, makeDetailedPrompt } from '../../utils';
5
- import { nonFungibleSchema } from '../schemas';
5
+ import { stellarNonFungibleSchema } from '@openzeppelin/wizard-common/schemas';
6
6
  import { stellarPrompts } from '@openzeppelin/wizard-common';
7
7
 
8
8
  export function registerStellarNonFungible(server: McpServer): RegisteredTool {
9
9
  return server.tool(
10
10
  'stellar-non-fungible',
11
11
  makeDetailedPrompt(stellarPrompts.NonFungible),
12
- nonFungibleSchema,
12
+ stellarNonFungibleSchema,
13
13
  async ({
14
14
  name,
15
15
  symbol,
@@ -2,14 +2,14 @@ import type { McpServer, RegisteredTool } from '@modelcontextprotocol/sdk/server
2
2
  import type { StablecoinOptions } from '@openzeppelin/wizard-stellar';
3
3
  import { stablecoin } from '@openzeppelin/wizard-stellar';
4
4
  import { safePrintRustCodeBlock, makeDetailedPrompt } from '../../utils';
5
- import { stablecoinSchema } from '../schemas';
5
+ import { stellarStablecoinSchema } from '@openzeppelin/wizard-common/schemas';
6
6
  import { stellarPrompts } from '@openzeppelin/wizard-common';
7
7
 
8
8
  export function registerStellarStablecoin(server: McpServer): RegisteredTool {
9
9
  return server.tool(
10
10
  'stellar-stablecoin',
11
11
  makeDetailedPrompt(stellarPrompts.Stablecoin),
12
- stablecoinSchema,
12
+ stellarStablecoinSchema,
13
13
  async ({
14
14
  name,
15
15
  symbol,
@@ -2,14 +2,14 @@ import type { McpServer, RegisteredTool } from '@modelcontextprotocol/sdk/server
2
2
  import type { ERC1155Options } from '@openzeppelin/wizard-stylus';
3
3
  import { erc1155 } from '@openzeppelin/wizard-stylus';
4
4
  import { safePrintRustCodeBlock, makeDetailedPrompt } from '../../utils';
5
- import { erc1155Schema } from '../schemas';
5
+ import { stylusERC1155Schema } from '@openzeppelin/wizard-common/schemas';
6
6
  import { stylusPrompts } from '@openzeppelin/wizard-common';
7
7
 
8
8
  export function registerStylusERC1155(server: McpServer): RegisteredTool {
9
9
  return server.tool(
10
10
  'stylus-erc1155',
11
11
  makeDetailedPrompt(stylusPrompts.ERC1155),
12
- erc1155Schema,
12
+ stylusERC1155Schema,
13
13
  async ({ name, burnable, supply, info }) => {
14
14
  const opts: ERC1155Options = {
15
15
  name,
@@ -2,14 +2,14 @@ import type { McpServer, RegisteredTool } from '@modelcontextprotocol/sdk/server
2
2
  import type { ERC20Options } from '@openzeppelin/wizard-stylus';
3
3
  import { erc20 } from '@openzeppelin/wizard-stylus';
4
4
  import { safePrintRustCodeBlock, makeDetailedPrompt } from '../../utils';
5
- import { erc20Schema } from '../schemas';
5
+ import { stylusERC20Schema } from '@openzeppelin/wizard-common/schemas';
6
6
  import { stylusPrompts } from '@openzeppelin/wizard-common';
7
7
 
8
8
  export function registerStylusERC20(server: McpServer): RegisteredTool {
9
9
  return server.tool(
10
10
  'stylus-erc20',
11
11
  makeDetailedPrompt(stylusPrompts.ERC20),
12
- erc20Schema,
12
+ stylusERC20Schema,
13
13
  async ({ name, burnable, permit, flashmint, info }) => {
14
14
  const opts: ERC20Options = {
15
15
  name,
@@ -2,14 +2,14 @@ import type { McpServer, RegisteredTool } from '@modelcontextprotocol/sdk/server
2
2
  import type { ERC721Options } from '@openzeppelin/wizard-stylus';
3
3
  import { erc721 } from '@openzeppelin/wizard-stylus';
4
4
  import { safePrintRustCodeBlock, makeDetailedPrompt } from '../../utils';
5
- import { erc721Schema } from '../schemas';
5
+ import { stylusERC721Schema } from '@openzeppelin/wizard-common/schemas';
6
6
  import { stylusPrompts } from '@openzeppelin/wizard-common';
7
7
 
8
8
  export function registerStylusERC721(server: McpServer): RegisteredTool {
9
9
  return server.tool(
10
10
  'stylus-erc721',
11
11
  makeDetailedPrompt(stylusPrompts.ERC721),
12
- erc721Schema,
12
+ stylusERC721Schema,
13
13
  async ({ name, burnable, enumerable, info }) => {
14
14
  const opts: ERC721Options = {
15
15
  name,
@@ -1,6 +1,6 @@
1
1
  import type { McpServer, RegisteredTool } from '@modelcontextprotocol/sdk/server/mcp.js';
2
2
  import { hooks, type HooksOptions } from '@openzeppelin/wizard-uniswap-hooks';
3
- import { hooksSchema } from '../schemas';
3
+ import { uniswapHooksHooksSchema } from '@openzeppelin/wizard-common/schemas';
4
4
  import { makeDetailedPrompt, safePrintSolidityCodeBlock } from '../../utils';
5
5
  import { uniswapHooksPrompts } from '@openzeppelin/wizard-common';
6
6
 
@@ -8,7 +8,7 @@ export function registerUniswapHooks(server: McpServer): RegisteredTool {
8
8
  return server.tool(
9
9
  'uniswap-hooks',
10
10
  makeDetailedPrompt(uniswapHooksPrompts.Hooks),
11
- hooksSchema,
11
+ uniswapHooksHooksSchema,
12
12
  async ({
13
13
  hook,
14
14
  name,