@agenr/skeln-plugin 3.3.0
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/LICENSE +21 -0
- package/README.md +42 -0
- package/dist/chunk-5LADPJ4C.js +2436 -0
- package/dist/chunk-KH52KJSJ.js +874 -0
- package/dist/chunk-M5M65AYP.js +4079 -0
- package/dist/chunk-RYMSM3OS.js +3063 -0
- package/dist/chunk-Z5X7T4QZ.js +7990 -0
- package/dist/chunk-ZYADFKX3.js +115 -0
- package/dist/claim-slot-policy-CQ-h0GaV.d.ts +880 -0
- package/dist/cli.d.ts +1 -0
- package/dist/index.d.ts +2009 -0
- package/dist/index.js +6508 -0
- package/dist/internal-eval-server.d.ts +1 -0
- package/dist/internal-recall-eval-server.d.ts +1 -0
- package/package.json +61 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Jim Martin
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# @agenr/skeln-plugin
|
|
2
|
+
|
|
3
|
+
Plugin npm package for the agenr Skeln durable-memory integration.
|
|
4
|
+
|
|
5
|
+
Install it from npm once published, or link it locally from an agenr checkout:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pnpm link --global ./packages/skeln-plugin
|
|
9
|
+
skeln extension add @agenr/skeln-plugin
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
The Skeln extension id is `agenr`. It registers `agenr_store`, `agenr_recall`, `agenr_fetch`, `agenr_update`, `agenr_work`, `get_goal`, `create_goal`, and `update_goal`. Configure `dbPath` and `configPath` in Skeln config when you need non-default agenr storage locations.
|
|
13
|
+
|
|
14
|
+
Optional `memoryPolicy` accepts a JSON string with the same shape as the OpenClaw agenr plugin `memoryPolicy` block:
|
|
15
|
+
|
|
16
|
+
```json
|
|
17
|
+
{
|
|
18
|
+
"beforeTurn": {
|
|
19
|
+
"enabled": true,
|
|
20
|
+
"procedureSuggestion": false
|
|
21
|
+
},
|
|
22
|
+
"sessionStart": {
|
|
23
|
+
"enabled": false,
|
|
24
|
+
"coreMemory": false,
|
|
25
|
+
"relevantDurableMemory": true
|
|
26
|
+
},
|
|
27
|
+
"workingContext": {
|
|
28
|
+
"enabled": false
|
|
29
|
+
},
|
|
30
|
+
"slotPolicies": {
|
|
31
|
+
"attributeHeads": {
|
|
32
|
+
"preference": "multivalued"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Set it under `extensions.settings.agenr.memoryPolicy` in Skeln config. Fresh installs via `skeln extension add @agenr/skeln-plugin` seed that default automatically when the setting is unset.
|
|
39
|
+
|
|
40
|
+
`skeln` is the host runtime for this extension but is not an install-time dependency because the bundled adapter does not import it at runtime. The package declares the non-Skeln runtime dependencies required by the copied agenr dist chunks.
|
|
41
|
+
|
|
42
|
+
For local development, the agenr repo builds the Skeln adapter against a minimal structural Skeln API contract, so a sibling `skeln` checkout is not required just to install, typecheck, or build agenr. To exercise the extension in Skeln itself, link `@agenr/skeln-plugin` from this checkout and enable it through `extensions.paths` or `skeln extension add` in a Skeln runtime.
|