xno-skills 4.7.4 → 4.7.5
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 +5 -5
- package/dist/cjs/cli.js +4 -4
- package/dist/cjs/version.d.ts +2 -2
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/work-threshold.d.ts.map +1 -1
- package/dist/cjs/work-threshold.js +9 -9
- package/dist/cjs/work-threshold.js.map +1 -1
- package/dist/esm/cli.js +4 -4
- package/dist/esm/version.d.ts +2 -2
- package/dist/esm/version.js +1 -1
- package/dist/esm/work-threshold.d.ts.map +1 -1
- package/dist/esm/work-threshold.js +9 -9
- package/dist/esm/work-threshold.js.map +1 -1
- package/package.json +3 -3
- package/skills/nano/SKILL.md +22 -22
- package/skills/nano/references/mcp.md +4 -4
package/README.md
CHANGED
|
@@ -72,7 +72,7 @@ xno-skills --help
|
|
|
72
72
|
|
|
73
73
|
To pin to the current stable release instead:
|
|
74
74
|
```bash
|
|
75
|
-
npm install -g xno-skills@4.7.
|
|
75
|
+
npm install -g xno-skills@4.7.5 && npx -y skills add CasualSecurityInc/xno-skills -g -y --all
|
|
76
76
|
```
|
|
77
77
|
|
|
78
78
|
|
|
@@ -132,7 +132,7 @@ Exposes Nano wallet functions as tools for AI agents (Claude Desktop, Cursor, Co
|
|
|
132
132
|
**Preferred** (global install — avoids `npx` concurrency handshake failures):
|
|
133
133
|
|
|
134
134
|
```bash
|
|
135
|
-
npm install -g xno-skills@4.7.
|
|
135
|
+
npm install -g xno-skills@4.7.5
|
|
136
136
|
```
|
|
137
137
|
|
|
138
138
|
```json
|
|
@@ -153,7 +153,7 @@ npm install -g xno-skills@4.7.4
|
|
|
153
153
|
"mcpServers": {
|
|
154
154
|
"nano": {
|
|
155
155
|
"command": "npx",
|
|
156
|
-
"args": ["-y", "-p", "xno-skills@4.7.
|
|
156
|
+
"args": ["-y", "-p", "xno-skills@4.7.5", "xno-mcp"]
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
}
|
|
@@ -166,7 +166,7 @@ npm install -g xno-skills@4.7.4
|
|
|
166
166
|
<summary>Codex</summary>
|
|
167
167
|
|
|
168
168
|
```bash
|
|
169
|
-
# Preferred (after npm install -g xno-skills@4.7.
|
|
169
|
+
# Preferred (after npm install -g xno-skills@4.7.5):
|
|
170
170
|
codex mcp add nano \
|
|
171
171
|
-c sandbox_mode="danger-full-access" \
|
|
172
172
|
-c 'sandbox_permissions=["network-access"]' \
|
|
@@ -176,7 +176,7 @@ codex mcp add nano \
|
|
|
176
176
|
codex mcp add nano \
|
|
177
177
|
-c sandbox_mode="danger-full-access" \
|
|
178
178
|
-c 'sandbox_permissions=["network-access"]' \
|
|
179
|
-
-- npx -y -p xno-skills@4.7.
|
|
179
|
+
-- npx -y -p xno-skills@4.7.5 xno-mcp
|
|
180
180
|
```
|
|
181
181
|
</details>
|
|
182
182
|
|
package/dist/cjs/cli.js
CHANGED
|
@@ -796,7 +796,7 @@ Configuration for popular AI agent harnesses:
|
|
|
796
796
|
|
|
797
797
|
Preferred (global install — avoids npx concurrency handshake failures):
|
|
798
798
|
|
|
799
|
-
npm install -g xno-skills@4.7.
|
|
799
|
+
npm install -g xno-skills@4.7.5
|
|
800
800
|
|
|
801
801
|
1. Claude Desktop / Cursor / Roo Code (in config.json):
|
|
802
802
|
{
|
|
@@ -821,16 +821,16 @@ Fallback (if global install is not possible):
|
|
|
821
821
|
"mcpServers": {
|
|
822
822
|
"xno": {
|
|
823
823
|
"command": "npx",
|
|
824
|
-
"args": ["-y", "xno-skills@4.7.
|
|
824
|
+
"args": ["-y", "xno-skills@4.7.5", "mcp"]
|
|
825
825
|
}
|
|
826
826
|
}
|
|
827
827
|
}
|
|
828
828
|
|
|
829
829
|
2. Gemini CLI:
|
|
830
|
-
gemini mcp add xno npx -y xno-skills@4.7.
|
|
830
|
+
gemini mcp add xno npx -y xno-skills@4.7.5 mcp
|
|
831
831
|
|
|
832
832
|
3. Claude Code:
|
|
833
|
-
claude mcp add xno npx -y xno-skills@4.7.
|
|
833
|
+
claude mcp add xno npx -y xno-skills@4.7.5 mcp
|
|
834
834
|
|
|
835
835
|
To run the MCP server directly in this terminal:
|
|
836
836
|
xno-skills mcp (if globally installed)
|
package/dist/cjs/version.d.ts
CHANGED
package/dist/cjs/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"work-threshold.d.ts","sourceRoot":"","sources":["../../src/work-threshold.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"work-threshold.d.ts","sourceRoot":"","sources":["../../src/work-threshold.ts"],"names":[],"mappings":"AAsBA,wBAAgB,6BAA6B,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAQxE"}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { WorkType, workTypeToHex } from 'nano-rspow-node';
|
|
1
|
+
import { LegacyWorkType, TestingWorkType, WorkType, legacyWorkTypeToHex, testingWorkTypeToHex, workTypeToHex, } from 'nano-rspow-node';
|
|
2
2
|
const HEX_16 = /^[0-9a-f]{16}$/i;
|
|
3
|
-
function
|
|
3
|
+
function toWorkThreshold(difficultyLower) {
|
|
4
4
|
if (difficultyLower === 'send')
|
|
5
|
-
return WorkType.Send;
|
|
5
|
+
return workTypeToHex(WorkType.Send);
|
|
6
6
|
if (difficultyLower === 'receive')
|
|
7
|
-
return WorkType.Receive;
|
|
7
|
+
return workTypeToHex(WorkType.Receive);
|
|
8
8
|
// Keep the old symbolic spelling as a legacy compatibility input only.
|
|
9
9
|
if (difficultyLower === 'legacyepoch1' || difficultyLower === 'legacy-epoch1' || difficultyLower === 'epoch1') {
|
|
10
|
-
return
|
|
10
|
+
return legacyWorkTypeToHex(LegacyWorkType.Epoch1);
|
|
11
11
|
}
|
|
12
12
|
if (difficultyLower === 'dev')
|
|
13
|
-
return
|
|
13
|
+
return testingWorkTypeToHex(TestingWorkType.Dev);
|
|
14
14
|
return undefined;
|
|
15
15
|
}
|
|
16
16
|
export function normalizeRemoteWorkDifficulty(difficulty) {
|
|
17
17
|
const trimmed = difficulty.trim();
|
|
18
18
|
if (HEX_16.test(trimmed))
|
|
19
19
|
return trimmed.toLowerCase();
|
|
20
|
-
const
|
|
21
|
-
if (!
|
|
20
|
+
const threshold = toWorkThreshold(trimmed.toLowerCase());
|
|
21
|
+
if (!threshold)
|
|
22
22
|
return difficulty;
|
|
23
|
-
return
|
|
23
|
+
return threshold.toLowerCase();
|
|
24
24
|
}
|
|
25
25
|
//# sourceMappingURL=work-threshold.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"work-threshold.js","sourceRoot":"","sources":["../../src/work-threshold.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"work-threshold.js","sourceRoot":"","sources":["../../src/work-threshold.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,eAAe,EACf,QAAQ,EACR,mBAAmB,EACnB,oBAAoB,EACpB,aAAa,GACd,MAAM,iBAAiB,CAAC;AAEzB,MAAM,MAAM,GAAG,iBAAiB,CAAC;AAEjC,SAAS,eAAe,CAAC,eAAuB;IAC9C,IAAI,eAAe,KAAK,MAAM;QAAE,OAAO,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IACpE,IAAI,eAAe,KAAK,SAAS;QAAE,OAAO,aAAa,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;IAC1E,uEAAuE;IACvE,IAAI,eAAe,KAAK,cAAc,IAAI,eAAe,KAAK,eAAe,IAAI,eAAe,KAAK,QAAQ,EAAE,CAAC;QAC9G,OAAO,mBAAmB,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;IACpD,CAAC;IACD,IAAI,eAAe,KAAK,KAAK;QAAE,OAAO,oBAAoB,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC;IAChF,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,MAAM,UAAU,6BAA6B,CAAC,UAAkB;IAC9D,MAAM,OAAO,GAAG,UAAU,CAAC,IAAI,EAAE,CAAC;IAClC,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;QAAE,OAAO,OAAO,CAAC,WAAW,EAAE,CAAC;IAEvD,MAAM,SAAS,GAAG,eAAe,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC;IACzD,IAAI,CAAC,SAAS;QAAE,OAAO,UAAU,CAAC;IAElC,OAAO,SAAS,CAAC,WAAW,EAAE,CAAC;AACjC,CAAC"}
|
package/dist/esm/cli.js
CHANGED
|
@@ -796,7 +796,7 @@ Configuration for popular AI agent harnesses:
|
|
|
796
796
|
|
|
797
797
|
Preferred (global install — avoids npx concurrency handshake failures):
|
|
798
798
|
|
|
799
|
-
npm install -g xno-skills@4.7.
|
|
799
|
+
npm install -g xno-skills@4.7.5
|
|
800
800
|
|
|
801
801
|
1. Claude Desktop / Cursor / Roo Code (in config.json):
|
|
802
802
|
{
|
|
@@ -821,16 +821,16 @@ Fallback (if global install is not possible):
|
|
|
821
821
|
"mcpServers": {
|
|
822
822
|
"xno": {
|
|
823
823
|
"command": "npx",
|
|
824
|
-
"args": ["-y", "xno-skills@4.7.
|
|
824
|
+
"args": ["-y", "xno-skills@4.7.5", "mcp"]
|
|
825
825
|
}
|
|
826
826
|
}
|
|
827
827
|
}
|
|
828
828
|
|
|
829
829
|
2. Gemini CLI:
|
|
830
|
-
gemini mcp add xno npx -y xno-skills@4.7.
|
|
830
|
+
gemini mcp add xno npx -y xno-skills@4.7.5 mcp
|
|
831
831
|
|
|
832
832
|
3. Claude Code:
|
|
833
|
-
claude mcp add xno npx -y xno-skills@4.7.
|
|
833
|
+
claude mcp add xno npx -y xno-skills@4.7.5 mcp
|
|
834
834
|
|
|
835
835
|
To run the MCP server directly in this terminal:
|
|
836
836
|
xno-skills mcp (if globally installed)
|
package/dist/esm/version.d.ts
CHANGED
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"work-threshold.d.ts","sourceRoot":"","sources":["../../src/work-threshold.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"work-threshold.d.ts","sourceRoot":"","sources":["../../src/work-threshold.ts"],"names":[],"mappings":"AAsBA,wBAAgB,6BAA6B,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAQxE"}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { WorkType, workTypeToHex } from 'nano-rspow-node';
|
|
1
|
+
import { LegacyWorkType, TestingWorkType, WorkType, legacyWorkTypeToHex, testingWorkTypeToHex, workTypeToHex, } from 'nano-rspow-node';
|
|
2
2
|
const HEX_16 = /^[0-9a-f]{16}$/i;
|
|
3
|
-
function
|
|
3
|
+
function toWorkThreshold(difficultyLower) {
|
|
4
4
|
if (difficultyLower === 'send')
|
|
5
|
-
return WorkType.Send;
|
|
5
|
+
return workTypeToHex(WorkType.Send);
|
|
6
6
|
if (difficultyLower === 'receive')
|
|
7
|
-
return WorkType.Receive;
|
|
7
|
+
return workTypeToHex(WorkType.Receive);
|
|
8
8
|
// Keep the old symbolic spelling as a legacy compatibility input only.
|
|
9
9
|
if (difficultyLower === 'legacyepoch1' || difficultyLower === 'legacy-epoch1' || difficultyLower === 'epoch1') {
|
|
10
|
-
return
|
|
10
|
+
return legacyWorkTypeToHex(LegacyWorkType.Epoch1);
|
|
11
11
|
}
|
|
12
12
|
if (difficultyLower === 'dev')
|
|
13
|
-
return
|
|
13
|
+
return testingWorkTypeToHex(TestingWorkType.Dev);
|
|
14
14
|
return undefined;
|
|
15
15
|
}
|
|
16
16
|
export function normalizeRemoteWorkDifficulty(difficulty) {
|
|
17
17
|
const trimmed = difficulty.trim();
|
|
18
18
|
if (HEX_16.test(trimmed))
|
|
19
19
|
return trimmed.toLowerCase();
|
|
20
|
-
const
|
|
21
|
-
if (!
|
|
20
|
+
const threshold = toWorkThreshold(trimmed.toLowerCase());
|
|
21
|
+
if (!threshold)
|
|
22
22
|
return difficulty;
|
|
23
|
-
return
|
|
23
|
+
return threshold.toLowerCase();
|
|
24
24
|
}
|
|
25
25
|
//# sourceMappingURL=work-threshold.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"work-threshold.js","sourceRoot":"","sources":["../../src/work-threshold.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"work-threshold.js","sourceRoot":"","sources":["../../src/work-threshold.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,eAAe,EACf,QAAQ,EACR,mBAAmB,EACnB,oBAAoB,EACpB,aAAa,GACd,MAAM,iBAAiB,CAAC;AAEzB,MAAM,MAAM,GAAG,iBAAiB,CAAC;AAEjC,SAAS,eAAe,CAAC,eAAuB;IAC9C,IAAI,eAAe,KAAK,MAAM;QAAE,OAAO,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IACpE,IAAI,eAAe,KAAK,SAAS;QAAE,OAAO,aAAa,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;IAC1E,uEAAuE;IACvE,IAAI,eAAe,KAAK,cAAc,IAAI,eAAe,KAAK,eAAe,IAAI,eAAe,KAAK,QAAQ,EAAE,CAAC;QAC9G,OAAO,mBAAmB,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;IACpD,CAAC;IACD,IAAI,eAAe,KAAK,KAAK;QAAE,OAAO,oBAAoB,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC;IAChF,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,MAAM,UAAU,6BAA6B,CAAC,UAAkB;IAC9D,MAAM,OAAO,GAAG,UAAU,CAAC,IAAI,EAAE,CAAC;IAClC,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;QAAE,OAAO,OAAO,CAAC,WAAW,EAAE,CAAC;IAEvD,MAAM,SAAS,GAAG,eAAe,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC;IACzD,IAAI,CAAC,SAAS;QAAE,OAAO,UAAU,CAAC;IAElC,OAAO,SAAS,CAAC,WAAW,EAAE,CAAC;AACjC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xno-skills",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.5",
|
|
4
4
|
"description": "The Nano (XNO) toolkit for AI agents and developers. Send, receive, check balances, and manage payment requests without ever handling private keys.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/cjs/index.js",
|
|
@@ -85,9 +85,9 @@
|
|
|
85
85
|
"@noble/curves": "^2.0.1",
|
|
86
86
|
"@noble/hashes": "^1.7.0",
|
|
87
87
|
"@open-wallet-standard/core": "^1.3.2",
|
|
88
|
-
"@openrai/nano-core": "^3.
|
|
88
|
+
"@openrai/nano-core": "^3.5.0",
|
|
89
89
|
"commander": "^14.0.3",
|
|
90
|
-
"nano-rspow-node": "^0.
|
|
90
|
+
"nano-rspow-node": "^0.17.1",
|
|
91
91
|
"qrcode-svg": "^1.1.0",
|
|
92
92
|
"qrcode-terminal": "^0.12.0",
|
|
93
93
|
"zod": "^4.3.6"
|
package/skills/nano/SKILL.md
CHANGED
|
@@ -105,12 +105,12 @@ If the client supports MCP, set it up as a "stdio" type MCP server.
|
|
|
105
105
|
|
|
106
106
|
**Preferred — global install** (avoids `npx` concurrency issues that cause handshake failures):
|
|
107
107
|
|
|
108
|
-
npm install -g xno-skills@4.7.
|
|
108
|
+
npm install -g xno-skills@4.7.5
|
|
109
109
|
xno-skills mcp
|
|
110
110
|
|
|
111
111
|
**Fallback** (only if global install is not possible):
|
|
112
112
|
|
|
113
|
-
npx -y xno-skills@4.7.
|
|
113
|
+
npx -y xno-skills@4.7.5 mcp
|
|
114
114
|
|
|
115
115
|
> **Why not `npx` by default?** When multiple agent sessions start concurrently, `npx` can fail during package resolution — the second process exits before the MCP handshake completes. A global install eliminates this race.
|
|
116
116
|
|
|
@@ -122,16 +122,16 @@ If `xno-mcp` tools are not available, or the user explicitly asks for CLI usage,
|
|
|
122
122
|
|
|
123
123
|
```
|
|
124
124
|
1. xno-skills <command> (global install — preferred)
|
|
125
|
-
2. bunx -y xno-skills@4.7.
|
|
126
|
-
3. pnpm dlx xno-skills@4.7.
|
|
127
|
-
4. npx -y xno-skills@4.7.
|
|
125
|
+
2. bunx -y xno-skills@4.7.5 <command>
|
|
126
|
+
3. pnpm dlx xno-skills@4.7.5 <command>
|
|
127
|
+
4. npx -y xno-skills@4.7.5 <command>
|
|
128
128
|
```
|
|
129
129
|
|
|
130
130
|
If the global `xno-skills` binary is not available, fall through to the next option. Always pin the version (`@4.5.2`) with `bunx`/`pnpm dlx`/`npx` to prevent interactive prompts from freezing.
|
|
131
131
|
|
|
132
132
|
Before guessing a subcommand, run `--help`:
|
|
133
133
|
```bash
|
|
134
|
-
xno-skills --help # or: bunx -y xno-skills@4.7.
|
|
134
|
+
xno-skills --help # or: bunx -y xno-skills@4.7.5 --help
|
|
135
135
|
```
|
|
136
136
|
|
|
137
137
|
### 3. Wallet lifecycle → `ows` skill only
|
|
@@ -160,7 +160,7 @@ When the user asks for an account, block, transaction, or explorer link, always
|
|
|
160
160
|
- **Pre-send state**: Before `wallet_send`, inspect the source wallet's confirmed balance and total receivable amount with `wallet_balance`. If confirmed funds cannot cover the requested send and receivables are needed, call `wallet_receive`, then recheck. Do not submit receive blocks merely because unrelated funds are pending.
|
|
161
161
|
- **Persistence on "Account not found"**: This is normal for a brand-new, unopened account. Continue — `wallet_receive` will automatically build an open block (sets `previous` to zeros), sign it via OWS, generate PoW, and broadcast. Never conclude you are unauthorized or that OWS cannot sign Nano blocks.
|
|
162
162
|
- **No mnemonic exports**: Never call `ows wallet export` or suggest exporting to a third-party wallet unless the user explicitly commands it.
|
|
163
|
-
- **Supply chain**: Only use `xno-skills@4.7.
|
|
163
|
+
- **Supply chain**: Only use `xno-skills@4.7.5` and `@open-wallet-standard/core`. No other npm packages.
|
|
164
164
|
- **Stop-loss**: If you have made 5 tool calls without completing the operation, stop and report what you tried, what failed, and ask for guidance. Hard limits: max 3 retries of the same failing tool; max 2 `config_set` RPC endpoint switches.
|
|
165
165
|
|
|
166
166
|
---
|
|
@@ -191,8 +191,8 @@ To **create** a new wallet, delegate to the `ows` skill. Then return here for al
|
|
|
191
191
|
|
|
192
192
|
**Via CLI (required flags only):**
|
|
193
193
|
```bash
|
|
194
|
-
bunx -y xno-skills@4.7.
|
|
195
|
-
bunx -y xno-skills@4.7.
|
|
194
|
+
bunx -y xno-skills@4.7.5 balance --wallet "my-wallet"
|
|
195
|
+
bunx -y xno-skills@4.7.5 rpc account-balance <address>
|
|
196
196
|
```
|
|
197
197
|
|
|
198
198
|
Full options: [balance](references/balance.md), [rpc_account-balance](references/rpc_account-balance.md)
|
|
@@ -223,7 +223,7 @@ When receipt is requested or needed to fund a send, call `wallet_receive`. Do no
|
|
|
223
223
|
|
|
224
224
|
**Via CLI (required flags only):**
|
|
225
225
|
```bash
|
|
226
|
-
bunx -y xno-skills@4.7.
|
|
226
|
+
bunx -y xno-skills@4.7.5 receive --wallet "my-wallet"
|
|
227
227
|
```
|
|
228
228
|
|
|
229
229
|
Full options: [receive](references/receive.md)
|
|
@@ -257,7 +257,7 @@ The account must be opened (have a receive block) and have sufficient balance.
|
|
|
257
257
|
|
|
258
258
|
**Via CLI (required flags only):**
|
|
259
259
|
```bash
|
|
260
|
-
bunx -y xno-skills@4.7.
|
|
260
|
+
bunx -y xno-skills@4.7.5 send --wallet "my-wallet" --to "nano_..." --amount-xno 0.01
|
|
261
261
|
```
|
|
262
262
|
|
|
263
263
|
Full options: [send](references/send.md)
|
|
@@ -373,7 +373,7 @@ Generates a terminal-friendly ASCII QR code for a Nano address, optionally with
|
|
|
373
373
|
|
|
374
374
|
**Via CLI (required args only):**
|
|
375
375
|
```bash
|
|
376
|
-
bunx -y xno-skills@4.7.
|
|
376
|
+
bunx -y xno-skills@4.7.5 qr nano_1abc...
|
|
377
377
|
```
|
|
378
378
|
|
|
379
379
|
Full options: [qr](references/qr.md)
|
|
@@ -400,7 +400,7 @@ All validation is **offline** — no network required.
|
|
|
400
400
|
|
|
401
401
|
**Via CLI:**
|
|
402
402
|
```bash
|
|
403
|
-
bunx -y xno-skills@4.7.
|
|
403
|
+
bunx -y xno-skills@4.7.5 validate nano_1abc...
|
|
404
404
|
```
|
|
405
405
|
|
|
406
406
|
Full options: [validate](references/validate.md)
|
|
@@ -427,10 +427,10 @@ XNO uses **30 decimal places**. Floating-point arithmetic is unsafe. Always use
|
|
|
427
427
|
|
|
428
428
|
**Via CLI:**
|
|
429
429
|
```bash
|
|
430
|
-
bunx -y xno-skills@4.7.
|
|
431
|
-
bunx -y xno-skills@4.7.
|
|
432
|
-
bunx -y xno-skills@4.7.
|
|
433
|
-
bunx -y xno-skills@4.7.
|
|
430
|
+
bunx -y xno-skills@4.7.5 convert 1 xno # all units
|
|
431
|
+
bunx -y xno-skills@4.7.5 convert 1 knano
|
|
432
|
+
bunx -y xno-skills@4.7.5 convert 1000000000000000000000000000000 raw
|
|
433
|
+
bunx -y xno-skills@4.7.5 convert 1 xno --json
|
|
434
434
|
```
|
|
435
435
|
|
|
436
436
|
Full options: [convert](references/convert.md)
|
|
@@ -456,20 +456,20 @@ Present the user with this command to run locally:
|
|
|
456
456
|
|
|
457
457
|
```bash
|
|
458
458
|
# Sign — run this yourself, replacing the placeholder with your actual key
|
|
459
|
-
bunx -y xno-skills@4.7.
|
|
459
|
+
bunx -y xno-skills@4.7.5 sign "<message>" --key YOUR_PRIVATE_KEY_HEX
|
|
460
460
|
|
|
461
461
|
# Sign with JSON output
|
|
462
|
-
bunx -y xno-skills@4.7.
|
|
462
|
+
bunx -y xno-skills@4.7.5 sign "<message>" --key YOUR_PRIVATE_KEY_HEX --json
|
|
463
463
|
```
|
|
464
464
|
|
|
465
465
|
For verify, the agent *can* run this directly (no secret material involved):
|
|
466
466
|
|
|
467
467
|
```bash
|
|
468
468
|
# Verify
|
|
469
|
-
bunx -y xno-skills@4.7.
|
|
469
|
+
bunx -y xno-skills@4.7.5 verify <nano_address> "<message>" <signature-hex>
|
|
470
470
|
|
|
471
471
|
# Verify with JSON output
|
|
472
|
-
bunx -y xno-skills@4.7.
|
|
472
|
+
bunx -y xno-skills@4.7.5 verify <nano_address> "<message>" <signature-hex> --json
|
|
473
473
|
```
|
|
474
474
|
|
|
475
475
|
**NOMS standard (ORIS-001)**: Signatures are computed over a binary payload with a magic header, ensuring a valid signature cannot be misinterpreted as a Nano transaction block.
|
|
@@ -494,7 +494,7 @@ Deep protocol details — state-block anatomy, open/send/receive/change semantic
|
|
|
494
494
|
{ "name": "wallet_change_rep", "arguments": { "wallet": "my-wallet", "representative": "nano_..." } }
|
|
495
495
|
```
|
|
496
496
|
```bash
|
|
497
|
-
bunx -y xno-skills@4.7.
|
|
497
|
+
bunx -y xno-skills@4.7.5 change-rep --wallet "my-wallet" --representative "nano_..."
|
|
498
498
|
```
|
|
499
499
|
|
|
500
500
|
Full options: [change-rep](references/change-rep.md)
|
|
@@ -12,7 +12,7 @@ Configuration for popular AI agent harnesses:
|
|
|
12
12
|
|
|
13
13
|
Preferred (global install — avoids npx concurrency handshake failures):
|
|
14
14
|
|
|
15
|
-
npm install -g xno-skills@4.7.
|
|
15
|
+
npm install -g xno-skills@4.7.5
|
|
16
16
|
|
|
17
17
|
1. Claude Desktop / Cursor / Roo Code (in config.json):
|
|
18
18
|
{
|
|
@@ -37,16 +37,16 @@ Fallback (if global install is not possible):
|
|
|
37
37
|
"mcpServers": {
|
|
38
38
|
"xno": {
|
|
39
39
|
"command": "npx",
|
|
40
|
-
"args": ["-y", "xno-skills@4.7.
|
|
40
|
+
"args": ["-y", "xno-skills@4.7.5", "mcp"]
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
2. Gemini CLI:
|
|
46
|
-
gemini mcp add xno npx -y xno-skills@4.7.
|
|
46
|
+
gemini mcp add xno npx -y xno-skills@4.7.5 mcp
|
|
47
47
|
|
|
48
48
|
3. Claude Code:
|
|
49
|
-
claude mcp add xno npx -y xno-skills@4.7.
|
|
49
|
+
claude mcp add xno npx -y xno-skills@4.7.5 mcp
|
|
50
50
|
|
|
51
51
|
To run the MCP server directly in this terminal:
|
|
52
52
|
xno-skills mcp (if globally installed)
|