@owlmeans/basic-keys 0.1.15 → 0.1.16
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
|
@@ -84,10 +84,9 @@ enum KeyType { ED25519 = 'ed25519', XCHACHA = 'xchacha' }
|
|
|
84
84
|
<!-- owlmeans:agent-guidance:start -->
|
|
85
85
|
## Agent guidance
|
|
86
86
|
|
|
87
|
-
This package ships embedded
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
(`.claude/skills/` and `.github/instructions/`):
|
|
87
|
+
This package ships embedded agent skills under `agent-meta/`. After installing your
|
|
88
|
+
`@owlmeans/*` packages, run the OwlMeans agent-skills installer to place them into
|
|
89
|
+
your project's skill store (`.agents/skills/`):
|
|
91
90
|
|
|
92
91
|
```sh
|
|
93
92
|
npx @owlmeans/agent-skills
|
package/agent-meta/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"schemaVersion":
|
|
2
|
+
"schemaVersion": 2,
|
|
3
3
|
"package": "@owlmeans/basic-keys",
|
|
4
|
-
"version": "0.1.
|
|
5
|
-
"generatedAt": "2026-08-
|
|
4
|
+
"version": "0.1.16",
|
|
5
|
+
"generatedAt": "2026-08-14T10:14:48.846Z",
|
|
6
6
|
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
@@ -10,14 +10,7 @@
|
|
|
10
10
|
"name": "basic-keys",
|
|
11
11
|
"category": "package-specific",
|
|
12
12
|
"file": "skills/basic-keys/SKILL.md",
|
|
13
|
-
"canonicalPath": ".
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"kind": "instruction",
|
|
17
|
-
"name": "basic-keys",
|
|
18
|
-
"category": "package-specific",
|
|
19
|
-
"file": "instructions/basic-keys.instructions.md",
|
|
20
|
-
"canonicalPath": ".github/instructions/basic-keys.instructions.md"
|
|
13
|
+
"canonicalPath": ".agents/skills/basic-keys/SKILL.md"
|
|
21
14
|
}
|
|
22
15
|
]
|
|
23
16
|
}
|
package/build/bin.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/basic-keys",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@owlmeans/dep-config": "workspace:*",
|
|
43
|
-
"@owlmeans/test-auth": "^0.1.
|
|
43
|
+
"@owlmeans/test-auth": "^0.1.16",
|
|
44
44
|
"@types/bun": "^1.3.14",
|
|
45
45
|
"nodemon": "^3.1.14",
|
|
46
46
|
"typescript": "^6.0.3"
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@noble/ciphers": "^1.2.1",
|
|
50
50
|
"@noble/curves": "^1.6.0",
|
|
51
51
|
"@noble/hashes": "^1.5.0",
|
|
52
|
-
"@owlmeans/auth": "^0.1.
|
|
52
|
+
"@owlmeans/auth": "^0.1.16",
|
|
53
53
|
"@scure/base": "^1.1.9",
|
|
54
54
|
"canonicalize": "^2.0.0"
|
|
55
55
|
},
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "How to use @owlmeans/basic-keys — Ed25519 keypair generation, signing/verification, key model, and auth plugins."
|
|
3
|
-
applyTo: "**/*.ts, **/*.tsx"
|
|
4
|
-
---
|
|
5
|
-
<!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
|
|
6
|
-
|
|
7
|
-
# @owlmeans/basic-keys
|
|
8
|
-
|
|
9
|
-
**Layer:** Core
|
|
10
|
-
**Install:** `"@owlmeans/basic-keys": "^0.1.15"` in `dependencies`
|
|
11
|
-
|
|
12
|
-
## Key Exports
|
|
13
|
-
|
|
14
|
-
| Export | Description |
|
|
15
|
-
|--------|-------------|
|
|
16
|
-
| `KeyPair` types | Public/private key pair shape |
|
|
17
|
-
| `keypair` factory | Generate or load Ed25519 keypairs |
|
|
18
|
-
| `KeyModel` | Sign/verify helpers |
|
|
19
|
-
| Constants | Curve names, key encodings |
|
|
20
|
-
| `auth` exports | Auth plugin built on keypair signatures |
|
|
21
|
-
| Plugins | Pluggable signature verification |
|
|
22
|
-
|
|
23
|
-
## Subpath Exports
|
|
24
|
-
|
|
25
|
-
- `./plugins` — pluggable key/auth plugins
|
|
26
|
-
- `./utils` — encoding/decoding helpers
|
|
27
|
-
|
|
28
|
-
## Usage
|
|
29
|
-
|
|
30
|
-
```typescript
|
|
31
|
-
import { keypair, KeyModel } from '@owlmeans/basic-keys'
|
|
32
|
-
const kp = keypair.generate()
|
|
33
|
-
const signature = KeyModel.sign(kp.privateKey, message)
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
## Depends On
|
|
37
|
-
|
|
38
|
-
- `@owlmeans/basic-envelope`, `@noble/curves`, `@noble/hashes`, `@scure/base`
|