@helyx/cli 0.3.3 → 0.4.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,40 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - d25b465: Replace the user-specific shard diagnostic with a reusable, internal-guild-only
8
+ `/dev` command. Authorize Discord administrators or configured role IDs, expose
9
+ bounded shard, bot/module-version and process diagnostics, and keep the command
10
+ available for validating the unsharded compatibility baseline.
11
+ - Updated dependencies [d25b465]
12
+ - @helyx/bot@0.4.1
13
+ - @helyx/config@0.4.1
14
+
15
+ ## 0.4.0
16
+
17
+ ### Minor Changes
18
+
19
+ - 9cdb2ef: Add the opt-in shard supervisor/worker runtime, fenced coordination and routing,
20
+ durable command state, shard-aware guild ownership, and private operational
21
+ health while preserving unsharded defaults.
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [9cdb2ef]
26
+ - @helyx/bot@0.4.0
27
+ - @helyx/config@0.4.0
28
+ - @helyx/database@0.4.0
29
+
30
+ ## 0.3.4
31
+
32
+ ### Patch Changes
33
+
34
+ - Updated dependencies [60f1b23]
35
+ - @helyx/database@0.3.1
36
+ - @helyx/bot@0.3.1
37
+
3
38
  ## 0.3.3
4
39
 
5
40
  ### Patch Changes
@@ -227,6 +227,10 @@ export const selfHostEnvironmentContract = {
227
227
  value: "12345678901234567",
228
228
  optional: true,
229
229
  },
230
+ APPROVED_ROLES: {
231
+ value: "12345678901234567,12345678901234568",
232
+ optional: true,
233
+ },
230
234
  HELYX_MODULE_PACKAGES: {
231
235
  value: "",
232
236
  optional: true,
@@ -274,6 +278,34 @@ export const selfHostEnvironmentContract = {
274
278
  value: "12345678901234567",
275
279
  optional: true,
276
280
  },
281
+ HELYX_SHARD_MODE: { value: "off", optional: false },
282
+ HELYX_SHARD_COUNT: { value: "2", optional: true },
283
+ HELYX_SHARD_SCOPE: { value: "local", optional: true },
284
+ HELYX_SHARD_WORKERS_PER_REPLICA: { value: "2", optional: true },
285
+ HELYX_SHARD_REDIS_URL: {
286
+ value: "rediss://private-redis.example:6379",
287
+ optional: true,
288
+ },
289
+ HELYX_SHARD_REDIS_NAMESPACE: {
290
+ value: "helyx.self-host",
291
+ optional: true,
292
+ },
293
+ HELYX_SHARD_GENERATION: {
294
+ value: "local-20260728",
295
+ optional: true,
296
+ },
297
+ HELYX_SHARD_DATABASE_CONNECTION_BUDGET: {
298
+ value: "10",
299
+ optional: true,
300
+ },
301
+ HELYX_SHARD_SUPERVISOR_DATABASE_POOL_MAX: {
302
+ value: "2",
303
+ optional: true,
304
+ },
305
+ HELYX_SHARD_WORKER_DATABASE_POOL_MAX: {
306
+ value: "4",
307
+ optional: true,
308
+ },
277
309
  HELYX_CLOUD_AUDIT_RETENTION_DAYS: {
278
310
  value: "90",
279
311
  optional: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@helyx/cli",
3
- "version": "0.3.3",
3
+ "version": "0.4.1",
4
4
  "description": "Command-line tools for running and generating self-hosted Helyx deployments.",
5
5
  "keywords": [
6
6
  "helyx",
@@ -52,9 +52,9 @@
52
52
  "build": "tsc -b"
53
53
  },
54
54
  "dependencies": {
55
- "@helyx/bot": "0.3.0",
56
- "@helyx/config": "0.3.0",
57
- "@helyx/database": "0.3.0",
55
+ "@helyx/bot": "0.4.1",
56
+ "@helyx/config": "0.4.1",
57
+ "@helyx/database": "0.4.0",
58
58
  "semver": "7.8.5",
59
59
  "zod": "4.4.3"
60
60
  },
@@ -3,12 +3,12 @@
3
3
  "catalogueVersion": 12,
4
4
  "core": {
5
5
  "package": "@helyx/bot",
6
- "version": "0.3.0",
6
+ "version": "0.3.1",
7
7
  "availability": "published"
8
8
  },
9
9
  "generator": {
10
10
  "package": "@helyx/cli",
11
- "version": "0.3.3",
11
+ "version": "0.3.4",
12
12
  "command": "helyx",
13
13
  "availability": "published"
14
14
  },
@@ -27,6 +27,27 @@ LOG_LEVEL=info
27
27
 
28
28
  # Guild-scoped development commands only
29
29
  # DISCORD_INTERNAL_GUILD_ID=12345678901234567
30
+ # APPROVED_ROLES=12345678901234567,12345678901234568
31
+
32
+ # SHARDING: OFF BY DEFAULT
33
+
34
+ # `off` is the compatible self-host default. Keep shard-only values commented
35
+ # in this mode; an empty value is still rejected as configured. Advanced local
36
+ # self-hosting may use `auto` to obtain Discord's recommendation under one
37
+ # supervisor, or `fixed` with a deliberate total count. Local mode never needs
38
+ # Redis. Coordinated multi-host self-hosting is outside the first release.
39
+ HELYX_SHARD_MODE=off
40
+ # HELYX_SHARD_SCOPE=local
41
+ # HELYX_SHARD_COUNT=2
42
+ # HELYX_SHARD_WORKERS_PER_REPLICA=2
43
+ # HELYX_SHARD_REDIS_URL=rediss://private-redis.example:6379
44
+ # HELYX_SHARD_REDIS_NAMESPACE=helyx.self-host
45
+ # HELYX_SHARD_GENERATION=local-20260728
46
+ # HELYX_SHARD_DATABASE_CONNECTION_BUDGET=10
47
+ # HELYX_SHARD_SUPERVISOR_DATABASE_POOL_MAX=2
48
+ # HELYX_SHARD_WORKER_DATABASE_POOL_MAX=4
49
+ # Redis URL and namespace are intentionally unsupported for the first
50
+ # self-hosted release: do not uncomment them for local auto or fixed mode.
30
51
 
31
52
  # ADVANCED INTEGRATIONS — EDIT ONLY WHEN NEEDED
32
53