project-cpu-mcp 0.15.0 → 1.0.0

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/README.md CHANGED
@@ -194,9 +194,9 @@ Keep `PRIVATE_KEY` secret. Use it only in the MCP server environment. Do not put
194
194
  | --- | --- | --- |
195
195
  | `WALLET_MODE` | `paybox` | Set to `evm` for a local private-key wallet. |
196
196
  | `PRIVATE_KEY` | — | Required only when `WALLET_MODE=evm`; `0x` followed by 64 hex chars (32 bytes). |
197
- | `API_URL` | `https://api-dev.projectcpu.cc` | Point the client at a different game API deployment. |
198
- | `NETWORK` | `arbitrum` | Normally never; Arbitrum One is the only accepted launch network. |
199
- | `RPC_URL` | Arbitrum public RPC | A custom RPC endpoint for sending on-chain transactions (e.g. `cpu_reveal`). |
197
+ | `API_URL` | `https://api.projectcpu.cc` | Point the client at a different game API deployment. |
198
+ | `NETWORK` | `robinhood` | Robinhood Chain (4663) is the only accepted launch network. |
199
+ | `RPC_URL` | Robinhood public RPC | A custom RPC endpoint for sending on-chain transactions (e.g. `cpu_reveal`). |
200
200
  | `OPERATOR_PERSONA` | `true` | Set to `false` to disable the `cpu_persona` tool and drop its pointer from the server's instructions. |
201
201
  | `DEBUG` | `false` | Set to `true` for debug-level logging on stderr. |
202
202
 
@@ -704,8 +704,8 @@ export declare const tradeParametersSchema: z.ZodObject<{
704
704
  }>;
705
705
  export type TradeParameters = z.infer<typeof tradeParametersSchema>;
706
706
  export declare const appConfigResponseSchema: z.ZodObject<{
707
- network: z.ZodLiteral<import("../config/network.types.js").Network.ARBITRUM>;
708
- chainId: z.ZodLiteral<42161>;
707
+ network: z.ZodLiteral<import("../config/network.types.js").Network.ROBINHOOD>;
708
+ chainId: z.ZodLiteral<4663>;
709
709
  contracts: z.ZodObject<{
710
710
  land: z.ZodDefault<z.ZodString>;
711
711
  weth: z.ZodDefault<z.ZodString>;
@@ -1195,8 +1195,8 @@ export declare const appConfigResponseSchema: z.ZodObject<{
1195
1195
  }, z.ZodTypeAny, "passthrough">>;
1196
1196
  trade: z.ZodUnknown;
1197
1197
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1198
- network: z.ZodLiteral<import("../config/network.types.js").Network.ARBITRUM>;
1199
- chainId: z.ZodLiteral<42161>;
1198
+ network: z.ZodLiteral<import("../config/network.types.js").Network.ROBINHOOD>;
1199
+ chainId: z.ZodLiteral<4663>;
1200
1200
  contracts: z.ZodObject<{
1201
1201
  land: z.ZodDefault<z.ZodString>;
1202
1202
  weth: z.ZodDefault<z.ZodString>;
@@ -1686,8 +1686,8 @@ export declare const appConfigResponseSchema: z.ZodObject<{
1686
1686
  }, z.ZodTypeAny, "passthrough">>;
1687
1687
  trade: z.ZodUnknown;
1688
1688
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1689
- network: z.ZodLiteral<import("../config/network.types.js").Network.ARBITRUM>;
1690
- chainId: z.ZodLiteral<42161>;
1689
+ network: z.ZodLiteral<import("../config/network.types.js").Network.ROBINHOOD>;
1690
+ chainId: z.ZodLiteral<4663>;
1691
1691
  contracts: z.ZodObject<{
1692
1692
  land: z.ZodDefault<z.ZodString>;
1693
1693
  weth: z.ZodDefault<z.ZodString>;
@@ -5,14 +5,14 @@ export declare const APP_LOG_PREFIX = "project-cpu-mcp";
5
5
  export declare const SESSION_DIR = ".project-cpu";
6
6
  export declare const SESSION_FILE = "session.json";
7
7
  export declare const LOG_FILE = "project-cpu.log";
8
- export declare const DEFAULT_API_URL = "https://api-dev.projectcpu.cc";
9
- export declare const FRONTEND_URL = "https://dev.projectcpu.cc";
8
+ export declare const DEFAULT_API_URL = "https://api.projectcpu.cc";
9
+ export declare const FRONTEND_URL = "https://projectcpu.cc";
10
10
  export declare const PAYBOX_ISSUER_URL = "https://api.paybox.sh";
11
11
  export declare const MAX_BATCHES_PER_PROCESS = 1000;
12
12
  export declare const BPS_DENOMINATOR = 10000n;
13
13
  export declare const WCPU_RESOURCE_ID = 1;
14
- export declare const LAUNCH_CHAIN_ID = 42161;
15
- export declare const LAUNCH_NETWORK = Network.ARBITRUM;
14
+ export declare const LAUNCH_CHAIN_ID = 4663;
15
+ export declare const LAUNCH_NETWORK = Network.ROBINHOOD;
16
16
  export declare const DEFAULT_WALLET_MODE = WalletMode.PAYBOX;
17
17
  export declare const OPERATOR_PERSONA_DEFAULT = true;
18
18
  export declare const BOOLEAN_ENV_TRUE = "true";
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/config/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,eAAO,MAAM,QAAQ,gBAAgB,CAAC;AACtC,eAAO,MAAM,cAAc,oBAAoB,CAAC;AAChD,eAAO,MAAM,WAAW,iBAAiB,CAAC;AAC1C,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,QAAQ,oBAAoB,CAAC;AAC1C,eAAO,MAAM,eAAe,kCAAkC,CAAC;AAC/D,eAAO,MAAM,YAAY,8BAA8B,CAAC;AACxD,eAAO,MAAM,iBAAiB,0BAA0B,CAAC;AACzD,eAAO,MAAM,uBAAuB,OAAO,CAAC;AAC5C,eAAO,MAAM,eAAe,SAAU,CAAC;AACvC,eAAO,MAAM,gBAAgB,IAAI,CAAC;AAClC,eAAO,MAAM,eAAe,QAAQ,CAAC;AACrC,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAC/C,eAAO,MAAM,mBAAmB,oBAAoB,CAAC;AACrD,eAAO,MAAM,wBAAwB,OAAO,CAAC;AAC7C,eAAO,MAAM,gBAAgB,SAAS,CAAC;AACvC,eAAO,MAAM,iBAAiB,UAAU,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/config/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,eAAO,MAAM,QAAQ,gBAAgB,CAAC;AACtC,eAAO,MAAM,cAAc,oBAAoB,CAAC;AAChD,eAAO,MAAM,WAAW,iBAAiB,CAAC;AAC1C,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,QAAQ,oBAAoB,CAAC;AAC1C,eAAO,MAAM,eAAe,8BAA8B,CAAC;AAC3D,eAAO,MAAM,YAAY,0BAA0B,CAAC;AACpD,eAAO,MAAM,iBAAiB,0BAA0B,CAAC;AACzD,eAAO,MAAM,uBAAuB,OAAO,CAAC;AAC5C,eAAO,MAAM,eAAe,SAAU,CAAC;AACvC,eAAO,MAAM,gBAAgB,IAAI,CAAC;AAClC,eAAO,MAAM,eAAe,OAAO,CAAC;AACpC,eAAO,MAAM,cAAc,oBAAoB,CAAC;AAChD,eAAO,MAAM,mBAAmB,oBAAoB,CAAC;AACrD,eAAO,MAAM,wBAAwB,OAAO,CAAC;AAC7C,eAAO,MAAM,gBAAgB,SAAS,CAAC;AACvC,eAAO,MAAM,iBAAiB,UAAU,CAAC"}
@@ -5,14 +5,14 @@ export const APP_LOG_PREFIX = 'project-cpu-mcp';
5
5
  export const SESSION_DIR = '.project-cpu';
6
6
  export const SESSION_FILE = 'session.json';
7
7
  export const LOG_FILE = 'project-cpu.log';
8
- export const DEFAULT_API_URL = 'https://api-dev.projectcpu.cc';
9
- export const FRONTEND_URL = 'https://dev.projectcpu.cc';
8
+ export const DEFAULT_API_URL = 'https://api.projectcpu.cc';
9
+ export const FRONTEND_URL = 'https://projectcpu.cc';
10
10
  export const PAYBOX_ISSUER_URL = 'https://api.paybox.sh';
11
11
  export const MAX_BATCHES_PER_PROCESS = 1000;
12
12
  export const BPS_DENOMINATOR = 10000n;
13
13
  export const WCPU_RESOURCE_ID = 1;
14
- export const LAUNCH_CHAIN_ID = 42161;
15
- export const LAUNCH_NETWORK = Network.ARBITRUM;
14
+ export const LAUNCH_CHAIN_ID = 4663;
15
+ export const LAUNCH_NETWORK = Network.ROBINHOOD;
16
16
  export const DEFAULT_WALLET_MODE = WalletMode.PAYBOX;
17
17
  export const OPERATOR_PERSONA_DEFAULT = true;
18
18
  export const BOOLEAN_ENV_TRUE = 'true';
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/config/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAa,CAAC;AACtC,MAAM,CAAC,MAAM,cAAc,GAAG,iBAAiB,CAAC;AAChD,MAAM,CAAC,MAAM,WAAW,GAAG,cAAc,CAAC;AAC1C,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;AAC3C,MAAM,CAAC,MAAM,QAAQ,GAAG,iBAAiB,CAAC;AAC1C,MAAM,CAAC,MAAM,eAAe,GAAG,+BAA+B,CAAC;AAC/D,MAAM,CAAC,MAAM,YAAY,GAAG,2BAA2B,CAAC;AACxD,MAAM,CAAC,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;AACzD,MAAM,CAAC,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAC5C,MAAM,CAAC,MAAM,eAAe,GAAG,MAAO,CAAC;AACvC,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAClC,MAAM,CAAC,MAAM,eAAe,GAAG,KAAK,CAAC;AACrC,MAAM,CAAC,MAAM,cAAc,GAAG,OAAO,CAAC,QAAQ,CAAC;AAC/C,MAAM,CAAC,MAAM,mBAAmB,GAAG,UAAU,CAAC,MAAM,CAAC;AACrD,MAAM,CAAC,MAAM,wBAAwB,GAAG,IAAI,CAAC;AAC7C,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC;AACvC,MAAM,CAAC,MAAM,iBAAiB,GAAG,OAAO,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/config/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAa,CAAC;AACtC,MAAM,CAAC,MAAM,cAAc,GAAG,iBAAiB,CAAC;AAChD,MAAM,CAAC,MAAM,WAAW,GAAG,cAAc,CAAC;AAC1C,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;AAC3C,MAAM,CAAC,MAAM,QAAQ,GAAG,iBAAiB,CAAC;AAC1C,MAAM,CAAC,MAAM,eAAe,GAAG,2BAA2B,CAAC;AAC3D,MAAM,CAAC,MAAM,YAAY,GAAG,uBAAuB,CAAC;AACpD,MAAM,CAAC,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;AACzD,MAAM,CAAC,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAC5C,MAAM,CAAC,MAAM,eAAe,GAAG,MAAO,CAAC;AACvC,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAClC,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,CAAC;AACpC,MAAM,CAAC,MAAM,cAAc,GAAG,OAAO,CAAC,SAAS,CAAC;AAChD,MAAM,CAAC,MAAM,mBAAmB,GAAG,UAAU,CAAC,MAAM,CAAC;AACrD,MAAM,CAAC,MAAM,wBAAwB,GAAG,IAAI,CAAC;AAC7C,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC;AACvC,MAAM,CAAC,MAAM,iBAAiB,GAAG,OAAO,CAAC"}
@@ -6,14 +6,14 @@ export declare const envSchema: z.ZodEffects<z.ZodObject<{
6
6
  PRIVATE_KEY: z.ZodNullable<z.ZodString>;
7
7
  API_URL: z.ZodNullable<z.ZodString>;
8
8
  RPC_URL: z.ZodNullable<z.ZodString>;
9
- NETWORK: z.ZodDefault<z.ZodLiteral<import("./network.types.js").Network.ARBITRUM>>;
9
+ NETWORK: z.ZodDefault<z.ZodLiteral<import("./network.types.js").Network.ROBINHOOD>>;
10
10
  OPERATOR_PERSONA: z.ZodBoolean;
11
11
  }, "strip", z.ZodTypeAny, {
12
12
  WALLET_MODE: WalletMode;
13
13
  PRIVATE_KEY: string | null;
14
14
  API_URL: string | null;
15
15
  RPC_URL: string | null;
16
- NETWORK: import("./network.types.js").Network.ARBITRUM;
16
+ NETWORK: import("./network.types.js").Network.ROBINHOOD;
17
17
  OPERATOR_PERSONA: boolean;
18
18
  }, {
19
19
  PRIVATE_KEY: string | null;
@@ -21,13 +21,13 @@ export declare const envSchema: z.ZodEffects<z.ZodObject<{
21
21
  RPC_URL: string | null;
22
22
  OPERATOR_PERSONA: boolean;
23
23
  WALLET_MODE?: WalletMode | undefined;
24
- NETWORK?: import("./network.types.js").Network.ARBITRUM | undefined;
24
+ NETWORK?: import("./network.types.js").Network.ROBINHOOD | undefined;
25
25
  }>, {
26
26
  WALLET_MODE: WalletMode;
27
27
  PRIVATE_KEY: string | null;
28
28
  API_URL: string | null;
29
29
  RPC_URL: string | null;
30
- NETWORK: import("./network.types.js").Network.ARBITRUM;
30
+ NETWORK: import("./network.types.js").Network.ROBINHOOD;
31
31
  OPERATOR_PERSONA: boolean;
32
32
  }, {
33
33
  PRIVATE_KEY: string | null;
@@ -35,7 +35,7 @@ export declare const envSchema: z.ZodEffects<z.ZodObject<{
35
35
  RPC_URL: string | null;
36
36
  OPERATOR_PERSONA: boolean;
37
37
  WALLET_MODE?: WalletMode | undefined;
38
- NETWORK?: import("./network.types.js").Network.ARBITRUM | undefined;
38
+ NETWORK?: import("./network.types.js").Network.ROBINHOOD | undefined;
39
39
  }>;
40
40
  export type EnvConfig = z.infer<typeof envSchema>;
41
41
  //# sourceMappingURL=types.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "project-cpu-mcp",
3
- "version": "0.15.0",
3
+ "version": "1.0.0",
4
4
  "description": "MCP server for Project CPU — AI agents interact with the game on behalf of players",
5
5
  "keywords": [
6
6
  "mcp",