@glyphteck/veyl 0.5.0 → 0.29.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.
package/dist/cli.js CHANGED
@@ -155354,43 +155354,6 @@ class ProfileStore {
155354
155354
  // src/mcp.js
155355
155355
  import { createInterface } from "node:readline";
155356
155356
  import process4 from "node:process";
155357
- // package.json
155358
- var package_default = {
155359
- name: "@glyphteck/veyl",
155360
- version: "0.5.0",
155361
- license: "Apache-2.0",
155362
- type: "module",
155363
- description: "Programmable Node.js client for Veyl accounts, vaults, chat, and wallet payments.",
155364
- repository: {
155365
- type: "git",
155366
- url: "https://github.com/glyphteck/veyl.git",
155367
- directory: "clients/headless"
155368
- },
155369
- exports: {
155370
- ".": "./dist/index.js"
155371
- },
155372
- bin: {
155373
- veyl: "dist/cli.js"
155374
- },
155375
- files: [
155376
- "dist",
155377
- "docs",
155378
- "README.md",
155379
- "package.json"
155380
- ],
155381
- engines: {
155382
- node: ">=22.0.0"
155383
- },
155384
- publishConfig: {
155385
- access: "public"
155386
- },
155387
- scripts: {
155388
- build: "bun build src/index.js src/cli.js --target=node --outdir dist",
155389
- prepack: "bun run build",
155390
- start: "node src/cli.js",
155391
- lint: "eslint src --quiet"
155392
- }
155393
- };
155394
155357
 
155395
155358
  // src/commands.js
155396
155359
  var stringProp = Object.freeze({ type: "string" });
@@ -155555,6 +155518,46 @@ function cliHelpLines(kind) {
155555
155518
  const field2 = kind === "structured" ? "structuredUsage" : "shortUsage";
155556
155519
  return HEADLESS_COMMANDS.map((item) => item[field2]).filter(Boolean);
155557
155520
  }
155521
+ // package.json
155522
+ var package_default = {
155523
+ name: "@glyphteck/veyl",
155524
+ version: "0.29.2",
155525
+ license: "Apache-2.0",
155526
+ type: "module",
155527
+ description: "Programmable Node.js client for Veyl accounts, vaults, chat, and wallet payments.",
155528
+ repository: {
155529
+ type: "git",
155530
+ url: "https://github.com/glyphteck/veyl.git",
155531
+ directory: "clients/headless"
155532
+ },
155533
+ exports: {
155534
+ ".": "./dist/index.js"
155535
+ },
155536
+ bin: {
155537
+ veyl: "dist/cli.js"
155538
+ },
155539
+ files: [
155540
+ "dist",
155541
+ "docs",
155542
+ "README.md",
155543
+ "package.json"
155544
+ ],
155545
+ engines: {
155546
+ node: ">=22.0.0"
155547
+ },
155548
+ publishConfig: {
155549
+ access: "public"
155550
+ },
155551
+ scripts: {
155552
+ build: "bun build src/index.js src/cli.js --target=node --outdir dist",
155553
+ prepack: "bun run build",
155554
+ start: "node src/cli.js",
155555
+ lint: "eslint src --quiet"
155556
+ }
155557
+ };
155558
+
155559
+ // src/version.js
155560
+ var VEYL_VERSION = package_default.version;
155558
155561
 
155559
155562
  // src/mcp.js
155560
155563
  function result(value) {
@@ -155597,7 +155600,7 @@ async function serveMcp(client2) {
155597
155600
  result: {
155598
155601
  protocolVersion: "2024-11-05",
155599
155602
  capabilities: { tools: {} },
155600
- serverInfo: { name: "veyl", version: package_default.version }
155603
+ serverInfo: { name: "veyl", version: VEYL_VERSION }
155601
155604
  }
155602
155605
  });
155603
155606
  } else if (message.method === "tools/list") {
@@ -155680,6 +155683,7 @@ function messageIdFromTarget(target, options2 = {}) {
155680
155683
 
155681
155684
  class VeylHeadlessClient {
155682
155685
  constructor(options2 = {}) {
155686
+ this.version = VEYL_VERSION;
155683
155687
  this.options = options2;
155684
155688
  this.network = String(options2.network || resolveNetwork(process5.env)).toUpperCase();
155685
155689
  this.store = options2.store || new ProfileStore({ dir: options2.homeDir, profile: options2.profile });
@@ -156217,6 +156221,7 @@ Listen:
156217
156221
  --no-transactions skip transaction events
156218
156222
 
156219
156223
  Common options:
156224
+ --version print the Veyl product version
156220
156225
  --count n result count for list/read/claim/transactions
156221
156226
  --raw include raw SDK/backend data when supported
156222
156227
  --memo text lightning invoice memo
@@ -156360,6 +156365,9 @@ async function listen2(client3, options2) {
156360
156365
  async function runCommand(argv) {
156361
156366
  const parsed = parseArgs(argv);
156362
156367
  const [area] = parsed.args;
156368
+ if (area === "--version") {
156369
+ return VEYL_VERSION;
156370
+ }
156363
156371
  if (!area || area === "help" || area === "--help" || area === "-h") {
156364
156372
  return HELP;
156365
156373
  }
package/dist/index.js CHANGED
@@ -155353,43 +155353,6 @@ class ProfileStore {
155353
155353
  // src/mcp.js
155354
155354
  import { createInterface } from "node:readline";
155355
155355
  import process4 from "node:process";
155356
- // package.json
155357
- var package_default = {
155358
- name: "@glyphteck/veyl",
155359
- version: "0.5.0",
155360
- license: "Apache-2.0",
155361
- type: "module",
155362
- description: "Programmable Node.js client for Veyl accounts, vaults, chat, and wallet payments.",
155363
- repository: {
155364
- type: "git",
155365
- url: "https://github.com/glyphteck/veyl.git",
155366
- directory: "clients/headless"
155367
- },
155368
- exports: {
155369
- ".": "./dist/index.js"
155370
- },
155371
- bin: {
155372
- veyl: "dist/cli.js"
155373
- },
155374
- files: [
155375
- "dist",
155376
- "docs",
155377
- "README.md",
155378
- "package.json"
155379
- ],
155380
- engines: {
155381
- node: ">=22.0.0"
155382
- },
155383
- publishConfig: {
155384
- access: "public"
155385
- },
155386
- scripts: {
155387
- build: "bun build src/index.js src/cli.js --target=node --outdir dist",
155388
- prepack: "bun run build",
155389
- start: "node src/cli.js",
155390
- lint: "eslint src --quiet"
155391
- }
155392
- };
155393
155356
 
155394
155357
  // src/commands.js
155395
155358
  var stringProp = Object.freeze({ type: "string" });
@@ -155554,6 +155517,46 @@ function cliHelpLines(kind) {
155554
155517
  const field2 = kind === "structured" ? "structuredUsage" : "shortUsage";
155555
155518
  return HEADLESS_COMMANDS.map((item) => item[field2]).filter(Boolean);
155556
155519
  }
155520
+ // package.json
155521
+ var package_default = {
155522
+ name: "@glyphteck/veyl",
155523
+ version: "0.29.2",
155524
+ license: "Apache-2.0",
155525
+ type: "module",
155526
+ description: "Programmable Node.js client for Veyl accounts, vaults, chat, and wallet payments.",
155527
+ repository: {
155528
+ type: "git",
155529
+ url: "https://github.com/glyphteck/veyl.git",
155530
+ directory: "clients/headless"
155531
+ },
155532
+ exports: {
155533
+ ".": "./dist/index.js"
155534
+ },
155535
+ bin: {
155536
+ veyl: "dist/cli.js"
155537
+ },
155538
+ files: [
155539
+ "dist",
155540
+ "docs",
155541
+ "README.md",
155542
+ "package.json"
155543
+ ],
155544
+ engines: {
155545
+ node: ">=22.0.0"
155546
+ },
155547
+ publishConfig: {
155548
+ access: "public"
155549
+ },
155550
+ scripts: {
155551
+ build: "bun build src/index.js src/cli.js --target=node --outdir dist",
155552
+ prepack: "bun run build",
155553
+ start: "node src/cli.js",
155554
+ lint: "eslint src --quiet"
155555
+ }
155556
+ };
155557
+
155558
+ // src/version.js
155559
+ var VEYL_VERSION = package_default.version;
155557
155560
 
155558
155561
  // src/mcp.js
155559
155562
  function result(value) {
@@ -155596,7 +155599,7 @@ async function serveMcp(client2) {
155596
155599
  result: {
155597
155600
  protocolVersion: "2024-11-05",
155598
155601
  capabilities: { tools: {} },
155599
- serverInfo: { name: "veyl", version: package_default.version }
155602
+ serverInfo: { name: "veyl", version: VEYL_VERSION }
155600
155603
  }
155601
155604
  });
155602
155605
  } else if (message.method === "tools/list") {
@@ -155679,6 +155682,7 @@ function messageIdFromTarget(target, options2 = {}) {
155679
155682
 
155680
155683
  class VeylHeadlessClient {
155681
155684
  constructor(options2 = {}) {
155685
+ this.version = VEYL_VERSION;
155682
155686
  this.options = options2;
155683
155687
  this.network = String(options2.network || resolveNetwork(process5.env)).toUpperCase();
155684
155688
  this.store = options2.store || new ProfileStore({ dir: options2.homeDir, profile: options2.profile });
@@ -156211,6 +156215,7 @@ export {
156211
156215
  closeAccountSession,
156212
156216
  cleanProfileName,
156213
156217
  VeylHeadlessClient,
156218
+ VEYL_VERSION,
156214
156219
  ProfileStore,
156215
156220
  DEFAULT_FUNCTION_REGION,
156216
156221
  ClientNotReadyError,
package/docs/api.md CHANGED
@@ -31,6 +31,7 @@ import {
31
31
  API_VERSION,
32
32
  COMMANDS,
33
33
  ClientNotReadyError,
34
+ VEYL_VERSION,
34
35
  VeylHeadlessClient,
35
36
  createClient,
36
37
  open,
@@ -41,6 +42,8 @@ import {
41
42
  - `createClient(options)`: synchronous constructor helper.
42
43
  - `COMMANDS`: command inventory generated from the canonical adapter descriptors in `src/commands.js`.
43
44
  - `API_VERSION`: numeric API version.
45
+ - `VEYL_VERSION`: Veyl product version shared by web, iOS, and headless.
46
+ - `veyl.version`: the same product version on each `VeylHeadlessClient` instance.
44
47
 
45
48
  ## Client Options
46
49
 
package/docs/cli.md CHANGED
@@ -20,6 +20,12 @@ npm install @glyphteck/veyl
20
20
  npm exec -- veyl help
21
21
  ```
22
22
 
23
+ Report the same Veyl product version used by web and iOS:
24
+
25
+ ```bash
26
+ veyl --version
27
+ ```
28
+
23
29
  ## Account And Vault
24
30
 
25
31
  ```bash
package/docs/mcp.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # MCP
2
2
 
3
+ The MCP `initialize` response reports the shared Veyl product version in `serverInfo.version`.
4
+
3
5
  The MCP server is a local stdio adapter over the headless JavaScript API.
4
6
 
5
7
  Veyl does not host a remote MCP endpoint. There is no Vercel URL for MCP. A user, agent host, desktop app, or worker starts the package command itself:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glyphteck/veyl",
3
- "version": "0.5.0",
3
+ "version": "0.29.2",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "description": "Programmable Node.js client for Veyl accounts, vaults, chat, and wallet payments.",