@bamdra/bamdra-user-bind 0.1.2 → 0.1.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.
Files changed (2) hide show
  1. package/dist/index.js +12 -12
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -42,16 +42,16 @@ var GLOBAL_API_KEY = "__OPENCLAW_BAMDRA_USER_BIND__";
42
42
  var PROFILE_SKILL_ID = "bamdra-user-bind-profile";
43
43
  var ADMIN_SKILL_ID = "bamdra-user-bind-admin";
44
44
  var SELF_TOOL_NAMES = [
45
- "user_bind_get_my_profile",
46
- "user_bind_update_my_profile",
47
- "user_bind_refresh_my_binding"
45
+ "bamdra_user_bind_get_my_profile",
46
+ "bamdra_user_bind_update_my_profile",
47
+ "bamdra_user_bind_refresh_my_binding"
48
48
  ];
49
49
  var ADMIN_TOOL_NAMES = [
50
- "user_bind_admin_query",
51
- "user_bind_admin_edit",
52
- "user_bind_admin_merge",
53
- "user_bind_admin_list_issues",
54
- "user_bind_admin_sync"
50
+ "bamdra_user_bind_admin_query",
51
+ "bamdra_user_bind_admin_edit",
52
+ "bamdra_user_bind_admin_merge",
53
+ "bamdra_user_bind_admin_list_issues",
54
+ "bamdra_user_bind_admin_sync"
55
55
  ];
56
56
  var TABLES = {
57
57
  profiles: "bamdra_user_bind_profiles",
@@ -609,7 +609,7 @@ var UserBindRuntime = class {
609
609
  return;
610
610
  }
611
611
  registerTool({
612
- name: "user_bind_get_my_profile",
612
+ name: "bamdra_user_bind_get_my_profile",
613
613
  description: "Get the current user's bound profile",
614
614
  parameters: {
615
615
  type: "object",
@@ -621,7 +621,7 @@ var UserBindRuntime = class {
621
621
  execute: async (_id, params) => asTextResult(await this.getMyProfile(params))
622
622
  });
623
623
  registerTool({
624
- name: "user_bind_update_my_profile",
624
+ name: "bamdra_user_bind_update_my_profile",
625
625
  description: "Update the current user's own profile fields",
626
626
  parameters: {
627
627
  type: "object",
@@ -640,7 +640,7 @@ var UserBindRuntime = class {
640
640
  execute: async (_id, params) => asTextResult(await this.updateMyProfile(params, sanitizeProfilePatch(params)))
641
641
  });
642
642
  registerTool({
643
- name: "user_bind_refresh_my_binding",
643
+ name: "bamdra_user_bind_refresh_my_binding",
644
644
  description: "Refresh the current user's identity binding",
645
645
  parameters: {
646
646
  type: "object",
@@ -654,7 +654,7 @@ var UserBindRuntime = class {
654
654
  for (const toolName of ADMIN_TOOL_NAMES) {
655
655
  registerTool({
656
656
  name: toolName,
657
- description: `Administrative natural-language tool for ${toolName.replace("user_bind_admin_", "")}`,
657
+ description: `Administrative natural-language tool for ${toolName.replace("bamdra_user_bind_admin_", "")}`,
658
658
  parameters: {
659
659
  type: "object",
660
660
  additionalProperties: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bamdra/bamdra-user-bind",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Identity resolution, user profile binding, and admin-safe profile tools for OpenClaw channels.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://www.bamdra.com",