@helyx/cli 0.4.3 → 0.4.7

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,42 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @helyx/bot@0.4.5
9
+
10
+ ## 0.4.6
11
+
12
+ ### Patch Changes
13
+
14
+ - Refresh the bundled self-host catalogue to the registry-verified Stage 4-6
15
+ release set.
16
+
17
+ ## 0.4.5
18
+
19
+ ### Patch Changes
20
+
21
+ - Add the reusable managed-resource, durable scheduling, secure checkpointed
22
+ selection and hosted/self-hosted runtime support required by the Reaction
23
+ Roles, Polls and Giveaways launch stages.
24
+ - Updated dependencies
25
+ - @helyx/database@0.4.2
26
+ - @helyx/bot@0.4.4
27
+
28
+ ## 0.4.4
29
+
30
+ ### Patch Changes
31
+
32
+ - 18b228d: Add the unified Support transport, hosted configuration, shard-safe staff
33
+ notifications and paired self-host bug-report claim flow.
34
+ - Updated dependencies [18b228d]
35
+ - Updated dependencies [18b228d]
36
+ - @helyx/config@0.4.2
37
+ - @helyx/bot@0.4.3
38
+ - @helyx/database@0.4.1
39
+
3
40
  ## 0.4.3
4
41
 
5
42
  ### Patch Changes
@@ -15,7 +15,8 @@ export interface GeneratedSelfHostProject {
15
15
  files: string[];
16
16
  }
17
17
  export declare function generateSelfHostProject(options: GenerateSelfHostProjectOptions): Promise<GeneratedSelfHostProject>;
18
- type EnvironmentExample = Record<keyof BotEnvironmentInput, {
18
+ type HostedOnlyBotEnvironment = "HELYX_SUPPORT_SERVICE_SECRET" | "HELYX_SUPPORT_STAFF_CHANNEL_ID";
19
+ type EnvironmentExample = Record<Exclude<keyof BotEnvironmentInput, HostedOnlyBotEnvironment>, {
19
20
  value: string;
20
21
  optional: boolean;
21
22
  }>;
@@ -215,6 +215,8 @@ function isRecord(value) {
215
215
  // This compile-time map intentionally stays adjacent to the generator. Adding a
216
216
  // bot environment field makes the generated contract fail to compile until the
217
217
  // self-host example receives an explicit safe value or omission decision.
218
+ // Support service authentication and staff delivery remain hosted-only and are
219
+ // deliberately excluded from generated self-host projects.
218
220
  export const selfHostEnvironmentContract = {
219
221
  DATABASE_URL: {
220
222
  value: "postgresql://database:5432/helyx",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@helyx/cli",
3
- "version": "0.4.3",
3
+ "version": "0.4.7",
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.4.2",
56
- "@helyx/config": "0.4.1",
57
- "@helyx/database": "0.4.0",
55
+ "@helyx/bot": "0.4.5",
56
+ "@helyx/config": "0.4.2",
57
+ "@helyx/database": "0.4.2",
58
58
  "semver": "7.8.5",
59
59
  "zod": "4.4.3"
60
60
  },
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "catalogueVersion": 15,
3
+ "catalogueVersion": 16,
4
4
  "core": {
5
5
  "package": "@helyx/bot",
6
- "version": "0.4.2",
6
+ "version": "0.4.4",
7
7
  "availability": "published"
8
8
  },
9
9
  "generator": {
10
10
  "package": "@helyx/cli",
11
- "version": "0.4.3",
11
+ "version": "0.4.5",
12
12
  "command": "helyx",
13
13
  "availability": "published"
14
14
  },
@@ -16,7 +16,7 @@
16
16
  {
17
17
  "id": "helyx.feedback",
18
18
  "package": "@helyx/module-feedback",
19
- "version": "1.1.2",
19
+ "version": "1.1.3",
20
20
  "name": "Feedback",
21
21
  "description": "Collects simple feedback from Discord server members.",
22
22
  "category": "Community",
@@ -26,7 +26,7 @@
26
26
  {
27
27
  "id": "helyx.welcome",
28
28
  "package": "@helyx/module-welcome",
29
- "version": "1.1.2",
29
+ "version": "1.1.3",
30
30
  "name": "Welcome",
31
31
  "description": "Greets new members and can give them a starting role.",
32
32
  "category": "Community",
@@ -36,7 +36,7 @@
36
36
  {
37
37
  "id": "helyx.suggestions",
38
38
  "package": "@helyx/module-suggestions",
39
- "version": "1.1.2",
39
+ "version": "1.1.3",
40
40
  "name": "Suggestions",
41
41
  "description": "Collects community ideas with configurable reaction or button voting.",
42
42
  "category": "Community",
@@ -46,12 +46,12 @@
46
46
  {
47
47
  "id": "helyx.polls",
48
48
  "package": "@helyx/module-polls",
49
- "version": null,
49
+ "version": "1.0.0",
50
50
  "name": "Polls",
51
51
  "description": "Run clear single or multiple-choice polls.",
52
52
  "category": "Community",
53
- "availability": "planned",
54
- "releaseStatus": "planned"
53
+ "availability": "unpublished",
54
+ "releaseStatus": "testing"
55
55
  },
56
56
  {
57
57
  "id": "helyx.starboard",
@@ -156,12 +156,12 @@
156
156
  {
157
157
  "id": "helyx.reactionroles",
158
158
  "package": "@helyx/module-reactionroles",
159
- "version": null,
160
- "name": "Self roles",
159
+ "version": "1.0.0",
160
+ "name": "Reaction Roles",
161
161
  "description": "Let members select approved roles themselves.",
162
162
  "category": "Automation",
163
- "availability": "planned",
164
- "releaseStatus": "planned"
163
+ "availability": "unpublished",
164
+ "releaseStatus": "testing"
165
165
  },
166
166
  {
167
167
  "id": "helyx.reminders",
@@ -206,12 +206,12 @@
206
206
  {
207
207
  "id": "helyx.giveaways",
208
208
  "package": "@helyx/module-giveaways",
209
- "version": null,
209
+ "version": "1.0.0",
210
210
  "name": "Giveaways",
211
211
  "description": "Run auditable giveaways with eligibility rules.",
212
212
  "category": "Engagement",
213
- "availability": "planned",
214
- "releaseStatus": "planned"
213
+ "availability": "unpublished",
214
+ "releaseStatus": "testing"
215
215
  },
216
216
  {
217
217
  "id": "helyx.birthdays",
@@ -236,7 +236,7 @@
236
236
  {
237
237
  "id": "helyx.logging",
238
238
  "package": "@helyx/module-logging",
239
- "version": "1.1.2",
239
+ "version": "1.1.3",
240
240
  "name": "Logging",
241
241
  "description": "Posts configurable activity records from enabled Helyx modules.",
242
242
  "category": "Insights",
@@ -73,7 +73,8 @@ HELYX_PRIVACY_ENABLED=false
73
73
  # Generated module selection
74
74
  HELYX_MODULE_CATALOGUE_PATH=./helyx.modules.json
75
75
 
76
- # Generated privately by npm run setup. Never change it after Cloud Connect.
76
+ # Generated privately by npm run setup. Never change it while Cloud Connect is
77
+ # enrolled or a checkpointed Giveaways draw is in progress.
77
78
  # HELYX_DATA_ENCRYPTION_KEY=replace-with-a-base64-encoded-32-byte-key
78
79
 
79
80
  # Official Cloud Connect endpoints
@@ -43,6 +43,10 @@ Use this path when Docker with Compose support is available. The included config
43
43
 
44
44
  Use this path when a provider installs npm packages and runs the package start script for you. Configure `npm start` as the start command and supply every required variable through the provider's environment or variables panel. Use a PostgreSQL database reachable from that provider. A local `.env` file is not required when the host supplies the variables. Generate `HELYX_DATA_ENCRYPTION_KEY` once with `node -e "console.log(require('node:crypto').randomBytes(32).toString('base64'))"`, store it in the provider's secret-variable panel and retain it across every restart and deployment.
45
45
 
46
+ That key is also required when Giveaways is selected. Do not rotate it while a
47
+ giveaway draw is in progress because it protects resumable selection
48
+ checkpoints.
49
+
46
50
  If a provider cannot run `npm ci`, execute `npm start`, or connect to PostgreSQL, it cannot run this Helyx starter. A future hosting-specific download may package additional provider files, but it cannot remove the PostgreSQL requirement.
47
51
 
48
52
  ## Discord setup