@kernlang/protocol 3.1.0 → 3.1.1

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.
Files changed (2) hide show
  1. package/README.md +25 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,25 @@
1
+ # @kernlang/protocol
2
+
3
+ Kern draft protocol — structured AI communication format
4
+
5
+ Part of the [KERN monorepo](https://github.com/KERNlang/kern).
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install @kernlang/protocol
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```ts
16
+ import { buildKernDraftPrompt, parseKernDraft, buildKernRankPrompt } from '@kernlang/protocol';
17
+
18
+ const prompt = buildKernDraftPrompt(spec);
19
+ const draft = parseKernDraft(llmResponse);
20
+ const rankPrompt = buildKernRankPrompt(drafts);
21
+ ```
22
+
23
+ ## License
24
+
25
+ AGPL-3.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kernlang/protocol",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "Kern draft protocol — structured AI communication format",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",