@alfe.ai/openclaw-identity 0.1.34 → 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 CHANGED
@@ -24,4 +24,4 @@ function buildGateContext(event) {
24
24
  }
25
25
  //#endregion
26
26
  exports.buildGateContext = buildGateContext;
27
- exports.default = require_plugin.plugin;
27
+ exports.default = require_plugin.plugin_default;
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as plugin } from "./plugin.cjs";
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, plugin as default };
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 plugin } from "./plugin.js";
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, plugin as default };
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 plugin } from "./plugin2.js";
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, plugin as default };
22
+ export { buildGateContext, plugin_default as default };
package/dist/plugin.cjs CHANGED
@@ -3,4 +3,4 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_plugin = require("./plugin2.cjs");
6
- exports.default = require_plugin.plugin;
6
+ exports.default = require_plugin.plugin_default;
package/dist/plugin.d.cts CHANGED
@@ -39,7 +39,8 @@ interface PluginApi {
39
39
  priority?: number;
40
40
  }) => void;
41
41
  }
42
- declare const plugin: {
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 { plugin as t };
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 plugin: {
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 { plugin as t };
52
+ export { _default as t };
package/dist/plugin.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as plugin } from "./plugin2.js";
2
- export { plugin as default };
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, "plugin", {
611
+ Object.defineProperty(exports, "plugin_default", {
608
612
  enumerable: true,
609
613
  get: function() {
610
- return plugin;
614
+ return plugin_default;
611
615
  }
612
616
  });
@@ -1,2 +1,2 @@
1
- import { t as plugin } from "./plugin.cjs";
2
- export { plugin as default };
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 plugin } from "./plugin.js";
2
- export { plugin as default };
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 { plugin as t };
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.34",
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.19.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
  },