@xmoxmo/bncr 0.2.1 → 0.2.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.
@@ -36,5 +36,64 @@
36
36
  }
37
37
  }
38
38
  }
39
+ },
40
+ "channelConfigs": {
41
+ "bncr": {
42
+ "schema": {
43
+ "type": "object",
44
+ "additionalProperties": true,
45
+ "properties": {
46
+ "enabled": { "type": "boolean" },
47
+ "dmPolicy": {
48
+ "type": "string",
49
+ "enum": ["open", "allowlist", "disabled"]
50
+ },
51
+ "groupPolicy": {
52
+ "type": "string",
53
+ "enum": ["open", "allowlist", "disabled"]
54
+ },
55
+ "allowFrom": {
56
+ "type": "array",
57
+ "items": { "type": "string" }
58
+ },
59
+ "groupAllowFrom": {
60
+ "type": "array",
61
+ "items": { "type": "string" }
62
+ },
63
+ "debug": {
64
+ "type": "object",
65
+ "additionalProperties": true,
66
+ "properties": {
67
+ "verbose": {
68
+ "type": "boolean",
69
+ "default": false,
70
+ "description": "Enable verbose debug logs for bncr channel runtime."
71
+ }
72
+ }
73
+ },
74
+ "allowTool": {
75
+ "type": "boolean",
76
+ "default": false,
77
+ "description": "Allow tool messages to be forwarded when streaming is enabled. Defaults to false; only explicit true enables forwarding. When enabled, bncr also requests upstream tool summaries/results."
78
+ },
79
+ "requireMention": {
80
+ "type": "boolean",
81
+ "default": false,
82
+ "description": "Whether group messages must explicitly mention the bot before bncr handles them. Default false. Current version keeps this as a reserved field and does not enforce it yet."
83
+ },
84
+ "accounts": {
85
+ "type": "object",
86
+ "additionalProperties": {
87
+ "type": "object",
88
+ "additionalProperties": true,
89
+ "properties": {
90
+ "enabled": { "type": "boolean" },
91
+ "name": { "type": "string" }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }
39
98
  }
40
99
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmoxmo/bncr",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -20,8 +20,8 @@
20
20
  "openclaw.plugin.json",
21
21
  "README.md",
22
22
  "LICENSE",
23
- "src",
24
- "scripts"
23
+ "src/**/*.ts",
24
+ "scripts/**/*.mjs"
25
25
  ],
26
26
  "scripts": {
27
27
  "selfcheck": "node ./scripts/selfcheck.mjs",
@@ -33,11 +33,11 @@
33
33
  "check": "biome check ."
34
34
  },
35
35
  "peerDependencies": {
36
- "openclaw": ">=2026.3.22"
36
+ "openclaw": ">=2026.5.3-1"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@biomejs/biome": "^1.9.4",
40
- "openclaw": ">=2026.3.22"
40
+ "openclaw": ">=2026.5.3-1"
41
41
  },
42
42
  "openclaw": {
43
43
  "extensions": [