@controleonline/ui-common 1.2.114 → 1.2.117

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.
@@ -1,13 +1,13 @@
1
1
  {
2
- "version": "1.2.114",
2
+ "version": "1.2.117",
3
3
  "rc": 1,
4
- "branch": "rc/1.2.114-rc.1",
5
- "baseMaster": "3d57c0e263b3e0767f60dc597819b45f56d7b086",
4
+ "branch": "rc/1.2.117-rc.1",
5
+ "baseMaster": "f25c6fab82270c930c7887fe75c00a1454078931",
6
6
  "tasks": [
7
- 1322
7
+ 1339
8
8
  ],
9
9
  "frozen": true,
10
10
  "repositories": {
11
- "ControleOnline/ui-common": "d84e40827affc431c93354325ad721d2128aebf2"
11
+ "ControleOnline/ui-common": "fd99b408fe97b28c0f872deb6d8420a79a59d349"
12
12
  }
13
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@controleonline/ui-common",
3
- "version": "1.2.114",
3
+ "version": "1.2.117",
4
4
  "author": "ControleOnline",
5
5
  "description": "ControleOnline Common Quasar UI Component",
6
6
  "license": "MIT",
@@ -36,6 +36,7 @@ const emptyProvider = () => ({
36
36
  base_url: '',
37
37
  system_prompt: '',
38
38
  api_key: '',
39
+ workspace_id: '',
39
40
  has_key: false,
40
41
  api_key_masked: null,
41
42
  });
@@ -143,6 +144,7 @@ export default function AiProviderConfigPage({route}) {
143
144
  base_url: String(r.base_url || ''),
144
145
  system_prompt: String(r.system_prompt || ''),
145
146
  api_key: '',
147
+ workspace_id: String(r.workspace_id || ''),
146
148
  has_key: !!r.has_key,
147
149
  api_key_masked: r.api_key_masked || null,
148
150
  };
@@ -184,6 +186,7 @@ export default function AiProviderConfigPage({route}) {
184
186
  base_url: String(p.base_url || '').trim(),
185
187
  system_prompt: String(p.system_prompt || ''),
186
188
  api_key: String(p.api_key || '').trim(),
189
+ workspace_id: String(p.workspace_id || '').trim(),
187
190
  };
188
191
  });
189
192
  await api.put('/mcp/chat/config', {
@@ -281,6 +284,23 @@ export default function AiProviderConfigPage({route}) {
281
284
  editable={!saving}
282
285
  />
283
286
 
287
+ {providerKey === 'claude' ? (
288
+ <>
289
+ <Text style={styles.label}>Workspace ID (Anthropic)</Text>
290
+ <TextInput
291
+ style={styles.input}
292
+ value={provider.workspace_id}
293
+ onChangeText={v => updateField('workspace_id', v)}
294
+ placeholder="UUID do workspace (ex.: 697fe52d-...)"
295
+ autoCapitalize="none"
296
+ editable={!saving}
297
+ />
298
+ <Text style={styles.helper}>
299
+ Obrigatorio para API keys service (sk-ant-svc-...). Console Anthropic → Workspace settings.
300
+ </Text>
301
+ </>
302
+ ) : null}
303
+
284
304
  <Text style={styles.label}>Prompt inicial (system)</Text>
285
305
  <TextInput
286
306
  style={[styles.input, {minHeight: 100, textAlignVertical: 'top'}]}
@@ -414,7 +414,7 @@ export const INTEGRATION_CONFIGS = {
414
414
  placeholder: 'Codigo do conveniado (se aplicavel)',
415
415
  },
416
416
  ],
417
- },,
417
+ },
418
418
 
419
419
  'google-oauth': {
420
420
  key: 'google-oauth',