@glyphteck/veyl 0.4.1 → 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 +713 -310
- package/dist/index.js +710 -310
- package/docs/api.md +11 -0
- package/docs/cli.md +6 -0
- package/docs/mcp.md +2 -0
- package/package.json +6 -1
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
|
|
|
@@ -124,6 +127,14 @@ Reads the current local profile without logging in.
|
|
|
124
127
|
const account = await veyl.account.me();
|
|
125
128
|
```
|
|
126
129
|
|
|
130
|
+
### `veyl.account.delete(options)`
|
|
131
|
+
|
|
132
|
+
Unlocks the current account if needed, drains its encrypted inbox, marks every known opaque chat deleted, deletes identifiable account data through the canonical backend owner, and removes the local profile. Explicit confirmation is required.
|
|
133
|
+
|
|
134
|
+
```js
|
|
135
|
+
await veyl.account.delete({ confirm: true });
|
|
136
|
+
```
|
|
137
|
+
|
|
127
138
|
### Account Summary
|
|
128
139
|
|
|
129
140
|
```js
|
package/docs/cli.md
CHANGED
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,9 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glyphteck/veyl",
|
|
3
|
-
"version": "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.",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/glyphteck/veyl.git",
|
|
10
|
+
"directory": "clients/headless"
|
|
11
|
+
},
|
|
7
12
|
"exports": {
|
|
8
13
|
".": "./dist/index.js"
|
|
9
14
|
},
|