@owlmeans/basic-envelope 0.1.6 → 0.1.8

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
@@ -71,3 +71,20 @@ enum EnvelopeKind { Wrap = 'wrap', Token = 'token' }
71
71
 
72
72
  - [`@owlmeans/basic-keys`](../basic-keys) — `KeyPairModel` used for signing/verification
73
73
  - [`@owlmeans/auth`](../auth) — authentication flows that use envelopes for credential transport
74
+
75
+ <!-- owlmeans:agent-guidance:start -->
76
+ ## Agent guidance
77
+
78
+ This package ships embedded Claude Code skills and GitHub Copilot instructions under
79
+ `agent-meta/`. After installing your `@owlmeans/*` packages, run the OwlMeans
80
+ agent-skills installer to place them into your project's native locations
81
+ (`.claude/skills/` and `.github/instructions/`):
82
+
83
+ ```sh
84
+ npx @owlmeans/agent-skills
85
+ ```
86
+
87
+ The embedded files are version-matched to this package release. Do not edit them
88
+ directly — they are regenerated on each publish. To contribute guidance edits,
89
+ open a PR against the source monorepo.
90
+ <!-- owlmeans:agent-guidance:end -->
@@ -0,0 +1,29 @@
1
+ ---
2
+ description: "How to use @owlmeans/basic-envelope — Envelope data model for wrapping payloads with metadata for cryptographic signing/verification."
3
+ applyTo: "**/*.ts, **/*.tsx"
4
+ ---
5
+ <!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
6
+
7
+ # @owlmeans/basic-envelope
8
+
9
+ **Layer:** Core
10
+ **Install:** `"@owlmeans/basic-envelope": "^0.1.8"` in `dependencies`
11
+
12
+ ## Key Exports
13
+
14
+ | Export | Description |
15
+ |--------|-------------|
16
+ | `Envelope` types | Wrapped payload shape (header, payload, signature) |
17
+ | `EnvelopeModel` | Helpers to build/parse envelopes |
18
+ | Constants | Envelope kinds, header field names |
19
+
20
+ ## Usage
21
+
22
+ ```typescript
23
+ import { EnvelopeModel } from '@owlmeans/basic-envelope'
24
+ const envelope = EnvelopeModel.wrap({ kind: 'auth-token', payload: { entityId: 'abc' } })
25
+ ```
26
+
27
+ ## Depends On
28
+
29
+ - None at runtime
@@ -0,0 +1,23 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "package": "@owlmeans/basic-envelope",
4
+ "version": "0.1.8",
5
+ "generatedAt": "2026-06-11T16:30:27.188Z",
6
+ "canonicalRepo": "https://github.com/owlmeans/common",
7
+ "entries": [
8
+ {
9
+ "kind": "skill",
10
+ "name": "basic-envelope",
11
+ "category": "package-specific",
12
+ "file": "skills/basic-envelope/SKILL.md",
13
+ "canonicalPath": ".claude/skills/basic-envelope/SKILL.md"
14
+ },
15
+ {
16
+ "kind": "instruction",
17
+ "name": "basic-envelope",
18
+ "category": "package-specific",
19
+ "file": "instructions/basic-envelope.instructions.md",
20
+ "canonicalPath": ".github/instructions/basic-envelope.instructions.md"
21
+ }
22
+ ]
23
+ }
@@ -0,0 +1,32 @@
1
+ ---
2
+ name: basic-envelope
3
+ description: How to use @owlmeans/basic-envelope — Envelope data model for wrapping payloads with metadata for cryptographic signing/verification. Auto-invoked when importing envelope types or wrapping messages for signing.
4
+ user-invocable: false
5
+ ---
6
+ <!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
7
+
8
+ # @owlmeans/basic-envelope
9
+
10
+ **Layer:** Core
11
+ **Install:** `"@owlmeans/basic-envelope": "^0.1.8"` in `dependencies`
12
+
13
+ ## Key Exports
14
+
15
+ | Export | Description |
16
+ |--------|-------------|
17
+ | `Envelope` types | Wrapped payload shape (header, payload, signature) |
18
+ | `EnvelopeModel` | Helpers to build/parse envelopes |
19
+ | Constants | Envelope kinds, header field names |
20
+
21
+ ## Usage
22
+
23
+ ```typescript
24
+ import { Envelope, EnvelopeModel } from '@owlmeans/basic-envelope'
25
+
26
+ const envelope = EnvelopeModel.wrap({ kind: 'auth-token', payload: { entityId: 'abc' } })
27
+ // signature is added by basic-keys
28
+ ```
29
+
30
+ ## Depends On
31
+
32
+ - None at runtime — pure model
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/basic-envelope",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "devDependencies": {
28
28
  "@owlmeans/dep-config": "workspace:*",
29
- "@owlmeans/test-auth": "^0.1.6",
29
+ "@owlmeans/test-auth": "^0.1.8",
30
30
  "@types/bun": "^1.3.0",
31
31
  "nodemon": "^3.1.11",
32
32
  "typescript": "^6.0.2"
@@ -34,7 +34,7 @@
34
34
  "dependencies": {
35
35
  "@noble/curves": "^1.6.0",
36
36
  "@noble/hashes": "^1.5.0",
37
- "@owlmeans/basic-keys": "^0.1.6",
37
+ "@owlmeans/basic-keys": "^0.1.8",
38
38
  "@scure/base": "^1.1.9"
39
39
  },
40
40
  "publishConfig": {