@agimon-ai/po-network 0.0.2-alpha.93 → 0.0.2-alpha.94
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.
|
@@ -16,7 +16,7 @@ function validCapabilityOperations(value) {
|
|
|
16
16
|
const scopes = /* @__PURE__ */ new Set();
|
|
17
17
|
return value.every((operation) => {
|
|
18
18
|
if (!record(operation) || !_agimon_ai_po_core.FEDERATION_OPERATION_SCOPES.includes(String(operation.scope))) return false;
|
|
19
|
-
const scope =
|
|
19
|
+
const scope = String(operation.scope);
|
|
20
20
|
if (scopes.has(scope)) return false;
|
|
21
21
|
scopes.add(scope);
|
|
22
22
|
return Array.isArray(operation.names) && operation.names.length <= 64 && operation.names.every((name) => typeof name === "string" && /^[a-z][a-z0-9.-]{0,63}$/.test(name)) && new Set(operation.names).size === operation.names.length;
|
|
@@ -16,7 +16,7 @@ function validCapabilityOperations(value) {
|
|
|
16
16
|
const scopes = /* @__PURE__ */ new Set();
|
|
17
17
|
return value.every((operation) => {
|
|
18
18
|
if (!record(operation) || !FEDERATION_OPERATION_SCOPES.includes(String(operation.scope))) return false;
|
|
19
|
-
const scope =
|
|
19
|
+
const scope = String(operation.scope);
|
|
20
20
|
if (scopes.has(scope)) return false;
|
|
21
21
|
scopes.add(scope);
|
|
22
22
|
return Array.isArray(operation.names) && operation.names.length <= 64 && operation.names.every((name) => typeof name === "string" && /^[a-z][a-z0-9.-]{0,63}$/.test(name)) && new Set(operation.names).size === operation.names.length;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agimon-ai/po-network",
|
|
3
|
-
"version": "0.0.2-alpha.
|
|
3
|
+
"version": "0.0.2-alpha.94",
|
|
4
4
|
"description": "Host-neutral network election core and deterministic safety simulator.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@agimon-ai/po-core": "0.0.0-alpha.
|
|
43
|
-
"@agimon-ai/po-web-security": "0.0.0-alpha.
|
|
42
|
+
"@agimon-ai/po-core": "0.0.0-alpha.147",
|
|
43
|
+
"@agimon-ai/po-web-security": "0.0.0-alpha.147"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@agimon-ai/vibe-lint-plugin-po-core": "0.0.0-alpha.
|
|
46
|
+
"@agimon-ai/vibe-lint-plugin-po-core": "0.0.0-alpha.147",
|
|
47
47
|
"@types/node": "26.4.1",
|
|
48
48
|
"tsdown": "0.23.0",
|
|
49
49
|
"typescript": "7.0.2",
|