@things-factory/ai-assistant 10.1.33 → 10.1.34

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": "@things-factory/ai-assistant",
3
- "version": "10.1.33",
3
+ "version": "10.1.34",
4
4
  "main": "dist-server/index.js",
5
5
  "things-factory": true,
6
6
  "author": "heartyoh",
@@ -30,9 +30,9 @@
30
30
  "@operato/i18n": "^10.0.0",
31
31
  "@operato/styles": "^10.0.0",
32
32
  "@things-factory/ai-client-base": "^10.1.31",
33
- "@things-factory/auth-base": "^10.1.33",
33
+ "@things-factory/auth-base": "^10.1.34",
34
34
  "@things-factory/env": "^10.1.20",
35
- "@things-factory/shell": "^10.1.33",
35
+ "@things-factory/shell": "^10.1.34",
36
36
  "dompurify": "^3.0.0",
37
37
  "graphql-scalars": "^1.22.0",
38
38
  "graphql-tag": "^2.12.6",
@@ -44,5 +44,5 @@
44
44
  "copyfiles": "^2.4.1",
45
45
  "rimraf": "^5.0.0"
46
46
  },
47
- "gitHead": "7fb7b6587846b5ff6ee7a4983652d9561b4d6b2c"
47
+ "gitHead": "5e16fd9f0cbb71c8d395b58a95bd9e99c93975c7"
48
48
  }
@@ -66,6 +66,16 @@ it('★ no hand-written document sends the moved fields to assistantChat', () =>
66
66
  */
67
67
  const ELEMENT_PROPERTIES = ['systemPrompt', 'toolCategories', 'requireGroundingTools']
68
68
 
69
+ it('★ 긴 제안 상태 문구가 좁은 도크의 제목 폭을 0으로 밀어내지 않는다', () => {
70
+ const source = readFileSync(path.resolve(__dirname, '../client/components/assistant-chat.ts'), 'utf-8')
71
+ const proposalCss = source.slice(source.indexOf(' .proposal {'), source.indexOf(' .proposal-choices {'))
72
+
73
+ expect(proposalCss).toContain('flex-wrap: wrap')
74
+ expect(proposalCss).toContain('flex: 1 1 132px')
75
+ expect(proposalCss).toContain('max-width: 100%')
76
+ expect(proposalCss).toContain('overflow-wrap: anywhere')
77
+ })
78
+
69
79
  it('★ no surface in this repo declares a conversation the server should own', () => {
70
80
  const offenders: string[] = []
71
81
  for (const { file, text } of files) {