@cat-factory/app 0.45.1 → 0.45.2

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.
@@ -18,6 +18,10 @@ const connection = computed(() =>
18
18
  source.value ? documents.connectionFor(source.value) : undefined,
19
19
  )
20
20
  const connected = computed(() => connection.value !== undefined)
21
+ // A `credentialScope: 'user'` source (e.g. Claude Design) stores a PERSONAL credential
22
+ // keyed to the signed-in user and never shared with the workspace — surface that so a
23
+ // member understands they're connecting their own account, not the team's.
24
+ const isPersonal = computed(() => descriptor.value?.credentialScope === 'user')
21
25
 
22
26
  const open = computed({
23
27
  get: () => ui.documentConnect !== null,
@@ -90,6 +94,18 @@ async function disconnect() {
90
94
  structure or attach them to tasks as agent context.
91
95
  </p>
92
96
 
97
+ <p
98
+ v-if="isPersonal"
99
+ class="flex items-start gap-1.5 text-xs text-amber-400/90"
100
+ data-testid="document-source-personal-note"
101
+ >
102
+ <UIcon name="i-lucide-user" class="mt-0.5 size-3.5 shrink-0" />
103
+ <span>
104
+ Personal connection — this credential authenticates as you and is stored only for your
105
+ account, never shared with the rest of the workspace.
106
+ </span>
107
+ </p>
108
+
93
109
  <div class="space-y-3">
94
110
  <UFormField
95
111
  v-for="field in descriptor.credentialFields"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cat-factory/app",
3
- "version": "0.45.1",
3
+ "version": "0.45.2",
4
4
  "description": "Reusable Nuxt layer for the Agent Architecture Board SPA (components, stores, composables, pages). Consume it from a thin deployment app via `extends: ['@cat-factory/app']` and point it at your backend with NUXT_PUBLIC_API_BASE. See deploy/frontend for an example.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,7 +34,7 @@
34
34
  "pinia-plugin-persistedstate": "^4.7.1",
35
35
  "vue": "^3.5.38",
36
36
  "wretch": "^3.0.9",
37
- "@cat-factory/contracts": "0.42.0"
37
+ "@cat-factory/contracts": "0.43.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@toad-contracts/testing": "0.3.1",