@cat-factory/app 0.47.3 → 0.47.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.
|
@@ -39,18 +39,6 @@ async function loadRepos() {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
// On open: ensure we know the connection + which repos the App can access, and
|
|
43
|
-
// the workspace's already-tracked repos (to flag ones already on the board).
|
|
44
|
-
watch(
|
|
45
|
-
open,
|
|
46
|
-
(isOpen) => {
|
|
47
|
-
if (!isOpen) return
|
|
48
|
-
resetSelection()
|
|
49
|
-
void loadRepos()
|
|
50
|
-
},
|
|
51
|
-
{ immediate: true },
|
|
52
|
-
)
|
|
53
|
-
|
|
54
42
|
// If the user connects from inside the modal (the not-connected prompt), pull the
|
|
55
43
|
// repo list as soon as the connection is bound.
|
|
56
44
|
watch(
|
|
@@ -152,6 +140,20 @@ const configuredBlock = computed(() =>
|
|
|
152
140
|
configuredBlockId.value ? board.getBlock(configuredBlockId.value) : undefined,
|
|
153
141
|
)
|
|
154
142
|
|
|
143
|
+
// On open: ensure we know the connection + which repos the App can access, and
|
|
144
|
+
// the workspace's already-tracked repos (to flag ones already on the board).
|
|
145
|
+
// Declared after every ref resetSelection() touches so the `immediate` run
|
|
146
|
+
// doesn't access them inside their temporal dead zone.
|
|
147
|
+
watch(
|
|
148
|
+
open,
|
|
149
|
+
(isOpen) => {
|
|
150
|
+
if (!isOpen) return
|
|
151
|
+
resetSelection()
|
|
152
|
+
void loadRepos()
|
|
153
|
+
},
|
|
154
|
+
{ immediate: true },
|
|
155
|
+
)
|
|
156
|
+
|
|
155
157
|
// A monorepo service needs a chosen directory; a whole-repo service can be added once.
|
|
156
158
|
const canAdd = computed(
|
|
157
159
|
() =>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cat-factory/app",
|
|
3
|
-
"version": "0.47.
|
|
3
|
+
"version": "0.47.4",
|
|
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",
|