@alfe.ai/openclaw-identity 0.1.33 → 0.1.35
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.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/plugin.cjs +1 -1
- package/dist/plugin.d.cts +3 -2
- package/dist/plugin.d.ts +3 -2
- package/dist/plugin.js +2 -2
- package/dist/plugin2.cjs +6 -2
- package/dist/plugin2.d.cts +2 -2
- package/dist/plugin2.d.ts +2 -2
- package/dist/plugin2.js +5 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as
|
|
1
|
+
import { t as _default } from "./plugin.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/runtime-contract.d.ts
|
|
4
4
|
|
|
@@ -180,4 +180,4 @@ declare function buildGateContext(event: ToolCallEvent): {
|
|
|
180
180
|
args: Record<string, unknown>;
|
|
181
181
|
};
|
|
182
182
|
//#endregion
|
|
183
|
-
export { type BeforeToolCallHook, type IdentityFailureMode, type RuntimePermission, type ToolCallAuthMethod, type ToolCallContext, type ToolCallEvent, type ToolCallHookResult, type ToolCallTrigger, buildGateContext,
|
|
183
|
+
export { type BeforeToolCallHook, type IdentityFailureMode, type RuntimePermission, type ToolCallAuthMethod, type ToolCallContext, type ToolCallEvent, type ToolCallHookResult, type ToolCallTrigger, buildGateContext, _default as default };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as
|
|
1
|
+
import { t as _default } from "./plugin.js";
|
|
2
2
|
|
|
3
3
|
//#region src/runtime-contract.d.ts
|
|
4
4
|
|
|
@@ -180,4 +180,4 @@ declare function buildGateContext(event: ToolCallEvent): {
|
|
|
180
180
|
args: Record<string, unknown>;
|
|
181
181
|
};
|
|
182
182
|
//#endregion
|
|
183
|
-
export { type BeforeToolCallHook, type IdentityFailureMode, type RuntimePermission, type ToolCallAuthMethod, type ToolCallContext, type ToolCallEvent, type ToolCallHookResult, type ToolCallTrigger, buildGateContext,
|
|
183
|
+
export { type BeforeToolCallHook, type IdentityFailureMode, type RuntimePermission, type ToolCallAuthMethod, type ToolCallContext, type ToolCallEvent, type ToolCallHookResult, type ToolCallTrigger, buildGateContext, _default as default };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as
|
|
1
|
+
import { t as plugin_default } from "./plugin2.js";
|
|
2
2
|
//#region src/runtime-contract.ts
|
|
3
3
|
/**
|
|
4
4
|
* Build the gate context object used by sift evaluation. This is the
|
|
@@ -19,4 +19,4 @@ function buildGateContext(event) {
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
//#endregion
|
|
22
|
-
export { buildGateContext,
|
|
22
|
+
export { buildGateContext, plugin_default as default };
|
package/dist/plugin.cjs
CHANGED
package/dist/plugin.d.cts
CHANGED
|
@@ -39,7 +39,8 @@ interface PluginApi {
|
|
|
39
39
|
priority?: number;
|
|
40
40
|
}) => void;
|
|
41
41
|
}
|
|
42
|
-
declare const
|
|
42
|
+
declare const _default: {
|
|
43
|
+
register: (api: PluginApi) => void;
|
|
43
44
|
id: string;
|
|
44
45
|
name: string;
|
|
45
46
|
description: string;
|
|
@@ -48,4 +49,4 @@ declare const plugin: {
|
|
|
48
49
|
deactivate(api: PluginApi): void;
|
|
49
50
|
};
|
|
50
51
|
//#endregion
|
|
51
|
-
export {
|
|
52
|
+
export { _default as t };
|
package/dist/plugin.d.ts
CHANGED
|
@@ -39,7 +39,8 @@ interface PluginApi {
|
|
|
39
39
|
priority?: number;
|
|
40
40
|
}) => void;
|
|
41
41
|
}
|
|
42
|
-
declare const
|
|
42
|
+
declare const _default: {
|
|
43
|
+
register: (api: PluginApi) => void;
|
|
43
44
|
id: string;
|
|
44
45
|
name: string;
|
|
45
46
|
description: string;
|
|
@@ -48,4 +49,4 @@ declare const plugin: {
|
|
|
48
49
|
deactivate(api: PluginApi): void;
|
|
49
50
|
};
|
|
50
51
|
//#endregion
|
|
51
|
-
export {
|
|
52
|
+
export { _default as t };
|
package/dist/plugin.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
export {
|
|
1
|
+
import { t as plugin_default } from "./plugin2.js";
|
|
2
|
+
export { plugin_default as default };
|
package/dist/plugin2.cjs
CHANGED
|
@@ -603,10 +603,14 @@ const plugin = {
|
|
|
603
603
|
api.logger.info("Alfe Identity plugin deactivated");
|
|
604
604
|
}
|
|
605
605
|
};
|
|
606
|
+
var plugin_default = {
|
|
607
|
+
...plugin,
|
|
608
|
+
register: plugin.activate.bind(plugin)
|
|
609
|
+
};
|
|
606
610
|
//#endregion
|
|
607
|
-
Object.defineProperty(exports, "
|
|
611
|
+
Object.defineProperty(exports, "plugin_default", {
|
|
608
612
|
enumerable: true,
|
|
609
613
|
get: function() {
|
|
610
|
-
return
|
|
614
|
+
return plugin_default;
|
|
611
615
|
}
|
|
612
616
|
});
|
package/dist/plugin2.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
export {
|
|
1
|
+
import { t as _default } from "./plugin.cjs";
|
|
2
|
+
export { _default as default };
|
package/dist/plugin2.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
export {
|
|
1
|
+
import { t as _default } from "./plugin.js";
|
|
2
|
+
export { _default as default };
|
package/dist/plugin2.js
CHANGED
|
@@ -603,5 +603,9 @@ const plugin = {
|
|
|
603
603
|
api.logger.info("Alfe Identity plugin deactivated");
|
|
604
604
|
}
|
|
605
605
|
};
|
|
606
|
+
var plugin_default = {
|
|
607
|
+
...plugin,
|
|
608
|
+
register: plugin.activate.bind(plugin)
|
|
609
|
+
};
|
|
606
610
|
//#endregion
|
|
607
|
-
export {
|
|
611
|
+
export { plugin_default as t };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfe.ai/openclaw-identity",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.35",
|
|
4
4
|
"description": "OpenClaw identity plugin — identity resolution, access gating, permission enforcement",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/plugin.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@auriclabs/roles": "0.1.1",
|
|
31
31
|
"@sinclair/typebox": "^0.34.48",
|
|
32
|
-
"@alfe.ai/agent-api-client": "0.
|
|
32
|
+
"@alfe.ai/agent-api-client": "0.19.1",
|
|
33
33
|
"@alfe.ai/config": "0.4.1",
|
|
34
34
|
"@alfe.ai/openclaw-plugin-kit": "0.2.0"
|
|
35
35
|
},
|