@crewhaus/spec 0.1.3 → 0.1.4
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/package.json +2 -2
- package/src/index.ts +10 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewhaus/spec",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "User-facing spec schema (Zod) + YAML parser",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"test": "bun test src"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@crewhaus/errors": "0.1.
|
|
15
|
+
"@crewhaus/errors": "0.1.4",
|
|
16
16
|
"yaml": "^2.6.0",
|
|
17
17
|
"zod": "^3.23.8"
|
|
18
18
|
},
|
package/src/index.ts
CHANGED
|
@@ -500,7 +500,16 @@ const slackChannelSchema = z
|
|
|
500
500
|
.object({
|
|
501
501
|
botToken: z.string().min(1),
|
|
502
502
|
signingSecret: z.string().min(1),
|
|
503
|
-
|
|
503
|
+
// Reserved for a future Socket Mode listener. The v0 webhook daemon parses
|
|
504
|
+
// and carries this field but does not use it, so it is documented as
|
|
505
|
+
// reserved rather than implying an unimplemented requirement.
|
|
506
|
+
appToken: z
|
|
507
|
+
.string()
|
|
508
|
+
.min(1)
|
|
509
|
+
.optional()
|
|
510
|
+
.describe(
|
|
511
|
+
"reserved for a future Socket Mode path; parsed but unused by the v0 webhook daemon",
|
|
512
|
+
),
|
|
504
513
|
})
|
|
505
514
|
.strict();
|
|
506
515
|
|