Skip to content

Commit f9599bd

Browse files
chore: sync from internal
1 parent 71f4f29 commit f9599bd

5 files changed

Lines changed: 117 additions & 48 deletions

File tree

packages/cli/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@phantom/cli",
3-
"version": "1.1.0",
3+
"version": "1.2.1",
44
"description": "Phantom CLI — interact with your Phantom wallet from the terminal",
55
"repository": {
66
"type": "git",
@@ -15,6 +15,7 @@
1515
"scripts": {
1616
"?pack-release": "When https://github.com/changesets/changesets/issues/432 has a solution we can remove this trick",
1717
"pack-release": "rimraf ./_release && yarn pack && mkdir ./_release && tar zxvf ./package.tgz --directory ./_release && rm ./package.tgz",
18+
"postinstall": "patch-package",
1819
"build": "rimraf ./dist && tsup",
1920
"dev": "tsup --watch",
2021
"clean": "rm -rf dist",
@@ -39,7 +40,7 @@
3940
"@solana/web3.js": "^1.95.5",
4041
"axios": "^1.6.7",
4142
"bs58": "^6.0.0",
42-
"incur": "patch:incur@npm%3A0.3.25#~/.yarn/patches/incur-npm-0.3.25-2e01dedd21.patch",
43+
"incur": "0.4.1",
4344
"qrcode-terminal": "^0.12.0",
4445
"viem": "^2.47.16",
4546
"zod": "^4.3.6"
@@ -50,6 +51,7 @@
5051
"@types/qrcode-terminal": "^0.12.2",
5152
"eslint": "8.53.0",
5253
"jest": "^29.7.0",
54+
"patch-package": "^8.0.1",
5355
"prettier": "^3.5.2",
5456
"rimraf": "^6.0.1",
5557
"ts-jest": "^29.1.2",

.yarn/patches/incur-npm-0.3.25-2e01dedd21.patch renamed to packages/cli/patches/incur+0.4.1.patch

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
diff --git a/dist/Cli.d.ts b/dist/Cli.d.ts
1+
diff --git a/node_modules/incur/dist/Cli.d.ts b/node_modules/incur/dist/Cli.d.ts
22
index 5c8cfeccb7595a4129d882cb8a1b94776b3d151b..fbe7e0237803be5553de268a331178ed46f81461 100644
3-
--- a/dist/Cli.d.ts
4-
+++ b/dist/Cli.d.ts
3+
--- a/node_modules/incur/dist/Cli.d.ts
4+
+++ b/node_modules/incur/dist/Cli.d.ts
55
@@ -200,6 +200,15 @@ export declare namespace create {
66
agents?: string[] | undefined;
77
/** Override the command agents will run to start the MCP server. Auto-detected if omitted. */
@@ -18,10 +18,10 @@ index 5c8cfeccb7595a4129d882cb8a1b94776b3d151b..fbe7e0237803be5553de268a331178ed
1818
} | undefined;
1919
/** Options for the built-in `skills add` command. */
2020
sync?: {
21-
diff --git a/dist/Cli.js b/dist/Cli.js
21+
diff --git a/node_modules/incur/dist/Cli.js b/node_modules/incur/dist/Cli.js
2222
index 1467ccf7a6eb6c2bf1e7a5172631032ea3c342e7..0ab7e87b073b3c63844cf17698df153ead4abe50 100644
23-
--- a/dist/Cli.js
24-
+++ b/dist/Cli.js
23+
--- a/node_modules/incur/dist/Cli.js
24+
+++ b/node_modules/incur/dist/Cli.js
2525
@@ -171,6 +171,7 @@ async function serveImpl(name, commands, argv, options = {}) {
2626
env: options.envSchema,
2727
vars: options.vars,
@@ -30,10 +30,10 @@ index 1467ccf7a6eb6c2bf1e7a5172631032ea3c342e7..0ab7e87b073b3c63844cf17698df153e
3030
});
3131
return;
3232
}
33-
diff --git a/dist/Mcp.d.ts b/dist/Mcp.d.ts
33+
diff --git a/node_modules/incur/dist/Mcp.d.ts b/node_modules/incur/dist/Mcp.d.ts
3434
index 19133240a3ca922693a027040510d5bb0ca143af..0383af1e3dff306c35b3bf9ea3d82618365b0827 100644
35-
--- a/dist/Mcp.d.ts
36-
+++ b/dist/Mcp.d.ts
35+
--- a/node_modules/incur/dist/Mcp.d.ts
36+
+++ b/node_modules/incur/dist/Mcp.d.ts
3737
@@ -62,6 +62,13 @@ export type ToolEntry = {
3838
required?: string[];
3939
};
@@ -48,10 +48,10 @@ index 19133240a3ca922693a027040510d5bb0ca143af..0383af1e3dff306c35b3bf9ea3d82618
4848
command: any;
4949
middlewares?: MiddlewareHandler[] | undefined;
5050
};
51-
diff --git a/dist/Mcp.js b/dist/Mcp.js
51+
diff --git a/node_modules/incur/dist/Mcp.js b/node_modules/incur/dist/Mcp.js
5252
index 74f218ddbad2b0febf9a33e5ea29df2a25a0fc99..15afbfd2830e31ac6eea5bae9815fb9eed1b8260 100644
53-
--- a/dist/Mcp.js
54-
+++ b/dist/Mcp.js
53+
--- a/node_modules/incur/dist/Mcp.js
54+
+++ b/node_modules/incur/dist/Mcp.js
5555
@@ -4,7 +4,7 @@ import * as Command from './internal/command.js';
5656
import * as Schema from './Schema.js';
5757
/** Starts a stdio MCP server that exposes commands as tools. */

packages/mcp-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@phantom/mcp-server",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "MCP Server for Phantom Wallet",
55
"repository": {
66
"type": "git",

packages/phantom-openclaw-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@phantom/phantom-openclaw-plugin",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "Phantom Embedded Wallet — sign transactions, transfer tokens, and swap on Solana and Ethereum. Powered by Phantom.",
55
"repository": {
66
"type": "git",

yarn.lock

Lines changed: 99 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -5408,8 +5408,9 @@ __metadata:
54085408
axios: "npm:^1.6.7"
54095409
bs58: "npm:^6.0.0"
54105410
eslint: "npm:8.53.0"
5411-
incur: "patch:incur@npm%3A0.3.25#~/.yarn/patches/incur-npm-0.3.25-2e01dedd21.patch"
5411+
incur: "npm:0.4.1"
54125412
jest: "npm:^29.7.0"
5413+
patch-package: "npm:^8.0.1"
54135414
prettier: "npm:^3.5.2"
54145415
qrcode-terminal: "npm:^0.12.0"
54155416
rimraf: "npm:^6.0.1"
@@ -10626,6 +10627,13 @@ __metadata:
1062610627
languageName: node
1062710628
linkType: hard
1062810629

10630+
"@yarnpkg/lockfile@npm:^1.1.0":
10631+
version: 1.1.0
10632+
resolution: "@yarnpkg/lockfile@npm:1.1.0"
10633+
checksum: 10c0/0bfa50a3d756623d1f3409bc23f225a1d069424dbc77c6fd2f14fb377390cd57ec703dc70286e081c564be9051ead9ba85d81d66a3e68eeb6eb506d4e0c0fbda
10634+
languageName: node
10635+
linkType: hard
10636+
1062910637
"abab@npm:^2.0.3, abab@npm:^2.0.5, abab@npm:^2.0.6":
1063010638
version: 2.0.6
1063110639
resolution: "abab@npm:2.0.6"
@@ -16498,6 +16506,15 @@ __metadata:
1649816506
languageName: node
1649916507
linkType: hard
1650016508

16509+
"find-yarn-workspace-root@npm:^2.0.0":
16510+
version: 2.0.0
16511+
resolution: "find-yarn-workspace-root@npm:2.0.0"
16512+
dependencies:
16513+
micromatch: "npm:^4.0.2"
16514+
checksum: 10c0/b0d3843013fbdaf4e57140e0165889d09fa61745c9e85da2af86e54974f4cc9f1967e40f0d8fc36a79d53091f0829c651d06607d552582e53976f3cd8f4e5689
16515+
languageName: node
16516+
linkType: hard
16517+
1650116518
"flat-cache@npm:^3.0.4":
1650216519
version: 3.2.0
1650316520
resolution: "flat-cache@npm:3.2.0"
@@ -17031,7 +17048,7 @@ __metadata:
1703117048
languageName: node
1703217049
linkType: hard
1703317050

17034-
"graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.5, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.11, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9":
17051+
"graceful-fs@npm:^4.1.11, graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.5, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.11, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9":
1703517052
version: 4.2.11
1703617053
resolution: "graceful-fs@npm:4.2.11"
1703717054
checksum: 10c0/386d011a553e02bc594ac2ca0bd6d9e4c22d7fa8cfbfc448a6d148c59ea881b092db9dbe3547ae4b88e55f1b01f7c4a2ecc53b310c042793e63aa44cf6c257f2
@@ -17694,26 +17711,9 @@ __metadata:
1769417711
languageName: node
1769517712
linkType: hard
1769617713

17697-
"incur@npm:0.3.25":
17698-
version: 0.3.25
17699-
resolution: "incur@npm:0.3.25"
17700-
dependencies:
17701-
"@cfworker/json-schema": "npm:^4.1.1"
17702-
"@modelcontextprotocol/server": "npm:^2.0.0-alpha.2"
17703-
"@toon-format/toon": "npm:^2.1.0"
17704-
tokenx: "npm:^1.3.0"
17705-
yaml: "npm:^2.8.2"
17706-
zod: "npm:^4.3.6"
17707-
bin:
17708-
incur: dist/bin.js
17709-
incur.src: src/bin.ts
17710-
checksum: 10c0/6dcf9d44214554348dda831954bfee2aa18b1c59ae5b50c008e347f3460f715bb8aa54b18d220e5cc67dca0db56c345a9b05323dd072e9b53bf562836a59de27
17711-
languageName: node
17712-
linkType: hard
17713-
17714-
"incur@patch:incur@npm%3A0.3.25#~/.yarn/patches/incur-npm-0.3.25-2e01dedd21.patch":
17715-
version: 0.3.25
17716-
resolution: "incur@patch:incur@npm%3A0.3.25#~/.yarn/patches/incur-npm-0.3.25-2e01dedd21.patch::version=0.3.25&hash=afc3fc"
17714+
"incur@npm:0.4.1":
17715+
version: 0.4.1
17716+
resolution: "incur@npm:0.4.1"
1771717717
dependencies:
1771817718
"@cfworker/json-schema": "npm:^4.1.1"
1771917719
"@modelcontextprotocol/server": "npm:^2.0.0-alpha.2"
@@ -17724,7 +17724,7 @@ __metadata:
1772417724
bin:
1772517725
incur: dist/bin.js
1772617726
incur.src: src/bin.ts
17727-
checksum: 10c0/9c0ae9601a2c628fbcf30526be15e7b6f01a3f2ca97049a9034ca4f6683aebbdf29f187f8741a211f436c267df938b0bbc3f983d37c15b28bb44aa9ff6ef9b87
17727+
checksum: 10c0/8bde2643427d0aec2832891caa92b10f09389ae2057111e3d39aa132c1f3d85ee8315d0939e1a19bf57993dc7152807b00793687c5afe93f7a479b09f59ab37a
1772817728
languageName: node
1772917729
linkType: hard
1773017730

@@ -20193,6 +20193,19 @@ __metadata:
2019320193
languageName: node
2019420194
linkType: hard
2019520195

20196+
"json-stable-stringify@npm:^1.0.2":
20197+
version: 1.3.0
20198+
resolution: "json-stable-stringify@npm:1.3.0"
20199+
dependencies:
20200+
call-bind: "npm:^1.0.8"
20201+
call-bound: "npm:^1.0.4"
20202+
isarray: "npm:^2.0.5"
20203+
jsonify: "npm:^0.0.1"
20204+
object-keys: "npm:^1.1.1"
20205+
checksum: 10c0/8b3ff19e4c23c0ad591a49bc3a015d89a538db787d12fe9c4072e1d64d8cfa481f8c37719c629c3d84e848847617bf49f5fee894cf1d25959ab5b67e1c517f31
20206+
languageName: node
20207+
linkType: hard
20208+
2019620209
"json-stringify-safe@npm:^5.0.1":
2019720210
version: 5.0.1
2019820211
resolution: "json-stringify-safe@npm:5.0.1"
@@ -20245,6 +20258,13 @@ __metadata:
2024520258
languageName: node
2024620259
linkType: hard
2024720260

20261+
"jsonify@npm:^0.0.1":
20262+
version: 0.0.1
20263+
resolution: "jsonify@npm:0.0.1"
20264+
checksum: 10c0/7f5499cdd59a0967ed35bda48b7cec43d850bbc8fb955cdd3a1717bb0efadbe300724d5646de765bb7a99fc1c3ab06eb80d93503c6faaf99b4ff50a3326692f6
20265+
languageName: node
20266+
linkType: hard
20267+
2024820268
"jsonpath@npm:^1.1.1":
2024920269
version: 1.2.1
2025020270
resolution: "jsonpath@npm:1.2.1"
@@ -20317,6 +20337,15 @@ __metadata:
2031720337
languageName: node
2031820338
linkType: hard
2031920339

20340+
"klaw-sync@npm:^6.0.0":
20341+
version: 6.0.0
20342+
resolution: "klaw-sync@npm:6.0.0"
20343+
dependencies:
20344+
graceful-fs: "npm:^4.1.11"
20345+
checksum: 10c0/00d8e4c48d0d699b743b3b028e807295ea0b225caf6179f51029e19783a93ad8bb9bccde617d169659fbe99559d73fb35f796214de031d0023c26b906cecd70a
20346+
languageName: node
20347+
linkType: hard
20348+
2032020349
"kleur@npm:^3.0.3":
2032120350
version: 3.0.3
2032220351
resolution: "kleur@npm:3.0.3"
@@ -22129,7 +22158,7 @@ __metadata:
2212922158
languageName: node
2213022159
linkType: hard
2213122160

22132-
"open@npm:^7.0.3":
22161+
"open@npm:^7.0.3, open@npm:^7.4.2":
2213322162
version: 7.4.2
2213422163
resolution: "open@npm:7.4.2"
2213522164
dependencies:
@@ -22526,6 +22555,30 @@ __metadata:
2252622555
languageName: node
2252722556
linkType: hard
2252822557

22558+
"patch-package@npm:^8.0.1":
22559+
version: 8.0.1
22560+
resolution: "patch-package@npm:8.0.1"
22561+
dependencies:
22562+
"@yarnpkg/lockfile": "npm:^1.1.0"
22563+
chalk: "npm:^4.1.2"
22564+
ci-info: "npm:^3.7.0"
22565+
cross-spawn: "npm:^7.0.3"
22566+
find-yarn-workspace-root: "npm:^2.0.0"
22567+
fs-extra: "npm:^10.0.0"
22568+
json-stable-stringify: "npm:^1.0.2"
22569+
klaw-sync: "npm:^6.0.0"
22570+
minimist: "npm:^1.2.6"
22571+
open: "npm:^7.4.2"
22572+
semver: "npm:^7.5.3"
22573+
slash: "npm:^2.0.0"
22574+
tmp: "npm:^0.2.4"
22575+
yaml: "npm:^2.2.2"
22576+
bin:
22577+
patch-package: index.js
22578+
checksum: 10c0/6dd7cdd8b814902f1a66bc9082bd5a5a484956563538a694ff1de2e7f4cc14a13480739f5f04e0d1747395d6f1b651eb1ddbc39687ce5ff8a3927f212cffd2ac
22579+
languageName: node
22580+
linkType: hard
22581+
2252922582
"path-browserify@npm:^1.0.1":
2253022583
version: 1.0.1
2253122584
resolution: "path-browserify@npm:1.0.1"
@@ -26046,6 +26099,13 @@ __metadata:
2604626099
languageName: node
2604726100
linkType: hard
2604826101

26102+
"slash@npm:^2.0.0":
26103+
version: 2.0.0
26104+
resolution: "slash@npm:2.0.0"
26105+
checksum: 10c0/f83dbd3cb62c41bb8fcbbc6bf5473f3234b97fa1d008f571710a9d3757a28c7169e1811cad1554ccb1cc531460b3d221c9a7b37f549398d9a30707f0a5af9193
26106+
languageName: node
26107+
linkType: hard
26108+
2604926109
"slash@npm:^3.0.0":
2605026110
version: 3.0.0
2605126111
resolution: "slash@npm:3.0.0"
@@ -27116,6 +27176,13 @@ __metadata:
2711627176
languageName: node
2711727177
linkType: hard
2711827178

27179+
"tmp@npm:^0.2.4":
27180+
version: 0.2.5
27181+
resolution: "tmp@npm:0.2.5"
27182+
checksum: 10c0/cee5bb7d674bb4ba3ab3f3841c2ca7e46daeb2109eec395c1ec7329a91d52fcb21032b79ac25161a37b2565c4858fefab927af9735926a113ef7bac9091a6e0e
27183+
languageName: node
27184+
linkType: hard
27185+
2711927186
"tmpl@npm:1.0.5":
2712027187
version: 1.0.5
2712127188
resolution: "tmpl@npm:1.0.5"
@@ -29555,21 +29622,21 @@ __metadata:
2955529622
languageName: node
2955629623
linkType: hard
2955729624

29558-
"yaml@npm:^2.3.4":
29559-
version: 2.8.1
29560-
resolution: "yaml@npm:2.8.1"
29625+
"yaml@npm:^2.2.2, yaml@npm:^2.8.2":
29626+
version: 2.8.3
29627+
resolution: "yaml@npm:2.8.3"
2956129628
bin:
2956229629
yaml: bin.mjs
29563-
checksum: 10c0/7c587be00d9303d2ae1566e03bc5bc7fe978ba0d9bf39cc418c3139d37929dfcb93a230d9749f2cb578b6aa5d9ebebc322415e4b653cb83acd8bc0bc321707f3
29630+
checksum: 10c0/ddff0e11c1b467728d7eb4633db61c5f5de3d8e9373cf84d08fb0cdee03e1f58f02b9f1c51a4a8a865751695addbd465a77f73f1079be91fe5493b29c305fd77
2956429631
languageName: node
2956529632
linkType: hard
2956629633

29567-
"yaml@npm:^2.8.2":
29568-
version: 2.8.3
29569-
resolution: "yaml@npm:2.8.3"
29634+
"yaml@npm:^2.3.4":
29635+
version: 2.8.1
29636+
resolution: "yaml@npm:2.8.1"
2957029637
bin:
2957129638
yaml: bin.mjs
29572-
checksum: 10c0/ddff0e11c1b467728d7eb4633db61c5f5de3d8e9373cf84d08fb0cdee03e1f58f02b9f1c51a4a8a865751695addbd465a77f73f1079be91fe5493b29c305fd77
29639+
checksum: 10c0/7c587be00d9303d2ae1566e03bc5bc7fe978ba0d9bf39cc418c3139d37929dfcb93a230d9749f2cb578b6aa5d9ebebc322415e4b653cb83acd8bc0bc321707f3
2957329640
languageName: node
2957429641
linkType: hard
2957529642

0 commit comments

Comments
 (0)