@helyx/cli 0.4.2 → 0.4.5

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,35 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Add the reusable managed-resource, durable scheduling, secure checkpointed
8
+ selection and hosted/self-hosted runtime support required by the Reaction
9
+ Roles, Polls and Giveaways launch stages.
10
+ - Updated dependencies
11
+ - @helyx/database@0.4.2
12
+ - @helyx/bot@0.4.4
13
+
14
+ ## 0.4.4
15
+
16
+ ### Patch Changes
17
+
18
+ - 18b228d: Add the unified Support transport, hosted configuration, shard-safe staff
19
+ notifications and paired self-host bug-report claim flow.
20
+ - Updated dependencies [18b228d]
21
+ - Updated dependencies [18b228d]
22
+ - @helyx/config@0.4.2
23
+ - @helyx/bot@0.4.3
24
+ - @helyx/database@0.4.1
25
+
26
+ ## 0.4.3
27
+
28
+ ### Patch Changes
29
+
30
+ - Updated dependencies
31
+ - @helyx/bot@0.4.2
32
+
3
33
  ## 0.4.2
4
34
 
5
35
  ### 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.2",
3
+ "version": "0.4.5",
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.1",
56
- "@helyx/config": "0.4.1",
57
- "@helyx/database": "0.4.0",
55
+ "@helyx/bot": "0.4.4",
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": 14,
3
+ "catalogueVersion": 15,
4
4
  "core": {
5
5
  "package": "@helyx/bot",
6
- "version": "0.4.1",
6
+ "version": "0.4.2",
7
7
  "availability": "published"
8
8
  },
9
9
  "generator": {
10
10
  "package": "@helyx/cli",
11
- "version": "0.4.2",
11
+ "version": "0.4.3",
12
12
  "command": "helyx",
13
13
  "availability": "published"
14
14
  },
@@ -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",
@@ -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