@almadar/core 2.14.1 → 2.14.3
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/index.js +11 -0
- package/dist/index.js.map +1 -1
- package/dist/state-machine/index.js +11 -0
- package/dist/state-machine/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8200,6 +8200,17 @@ function buildGuardPayloads(guard) {
|
|
|
8200
8200
|
const inner = buildGuardPayloads(guard[1]);
|
|
8201
8201
|
return { pass: inner.fail, fail: inner.pass };
|
|
8202
8202
|
}
|
|
8203
|
+
if (op === "agent/is-pinned") {
|
|
8204
|
+
const field = extractPayloadFieldRef(guard[1]);
|
|
8205
|
+
if (field) return { pass: { [field]: "mem_test_unpinned" }, fail: { [field]: "mem_test_pinned" } };
|
|
8206
|
+
}
|
|
8207
|
+
if (op === "agent/memory-strength") {
|
|
8208
|
+
const field = extractPayloadFieldRef(guard[1]);
|
|
8209
|
+
if (field) return { pass: { [field]: "mem_test_id" }, fail: { [field]: "mem_nonexistent" } };
|
|
8210
|
+
}
|
|
8211
|
+
if (op.startsWith("agent/")) {
|
|
8212
|
+
return { pass: {}, fail: {} };
|
|
8213
|
+
}
|
|
8203
8214
|
return { pass: {}, fail: {} };
|
|
8204
8215
|
}
|
|
8205
8216
|
|