@elevasis/core 0.50.0 → 0.51.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevasis/core",
3
- "version": "0.50.0",
3
+ "version": "0.51.0",
4
4
  "license": "MIT",
5
5
  "description": "Minimal shared constants across Elevasis monorepo",
6
6
  "sideEffects": false,
@@ -45,8 +45,8 @@
45
45
  "rollup-plugin-dts": "^6.3.0",
46
46
  "tsup": "^8.0.0",
47
47
  "typescript": "5.9.2",
48
- "@repo/eslint-config": "0.0.0",
49
- "@repo/typescript-config": "0.0.0"
48
+ "@repo/typescript-config": "0.0.0",
49
+ "@repo/eslint-config": "0.0.0"
50
50
  },
51
51
  "dependencies": {
52
52
  "@anthropic-ai/sdk": "^0.62.0",
@@ -19,6 +19,7 @@ describe('PublicAgentChatBrandingSchema', () => {
19
19
  agentName: 'byron-voice-capture-agent',
20
20
  name: 'Byron',
21
21
  description: 'A short, guided interview',
22
+ headline: 'Welcome!',
22
23
  intro: 'This is a short, guided interview.',
23
24
  instructions: ['Answer the way you would really say it', 'It takes about 15 minutes'],
24
25
  ctaLabel: 'Start the interview',
@@ -34,6 +35,10 @@ describe('PublicAgentChatBrandingSchema', () => {
34
35
  expect(PublicAgentChatBrandingSchema.safeParse({ instructions: ['one', 'two'] }).success).toBe(true)
35
36
  })
36
37
 
38
+ it('accepts a partial payload carrying only headline', () => {
39
+ expect(PublicAgentChatBrandingSchema.safeParse({ headline: 'Get Started' }).success).toBe(true)
40
+ })
41
+
37
42
  it('rejects unknown keys (.strict — mass-assignment guard)', () => {
38
43
  expect(PublicAgentChatBrandingSchema.safeParse({ intro: 'hi', unexpected: 'nope' }).success).toBe(false)
39
44
  })
@@ -45,6 +45,7 @@ export const PublicAgentChatBrandingSchema = z
45
45
  agentName: z.string().optional(),
46
46
  name: z.string().optional(),
47
47
  description: z.string().optional(),
48
+ headline: z.string().optional(),
48
49
  intro: z.string().optional(),
49
50
  instructions: z.array(z.string()).optional(),
50
51
  ctaLabel: z.string().optional(),
@@ -1,3 +1,3 @@
1
1
  export const VERSION = {
2
- CURRENT: '1.13.10'
2
+ CURRENT: '1.13.11'
3
3
  }