@cat-factory/app 0.87.2 → 0.87.3
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.
|
@@ -21,6 +21,7 @@ import type {
|
|
|
21
21
|
|
|
22
22
|
const board = useBoardStore()
|
|
23
23
|
const clarity = useClarityStore()
|
|
24
|
+
const models = useModelsStore()
|
|
24
25
|
const toast = useToast()
|
|
25
26
|
const { t } = useI18n()
|
|
26
27
|
|
|
@@ -493,7 +494,9 @@ async function resolveExceeded(choice: 'extra-round' | 'proceed' | 'stop-reset')
|
|
|
493
494
|
</div>
|
|
494
495
|
<div v-if="review.model" class="flex items-center justify-between">
|
|
495
496
|
<span>{{ t('clarity.rail.model') }}</span>
|
|
496
|
-
<span class="truncate ps-2 text-slate-500">{{
|
|
497
|
+
<span class="truncate ps-2 text-slate-500">{{
|
|
498
|
+
models.labelForRef(review.model) ?? review.model
|
|
499
|
+
}}</span>
|
|
497
500
|
</div>
|
|
498
501
|
</div>
|
|
499
502
|
|
|
@@ -9,11 +9,13 @@
|
|
|
9
9
|
import { computed } from 'vue'
|
|
10
10
|
import type { ConsensusContribution, ConsensusSession } from '~/types/consensus'
|
|
11
11
|
import CopyButton from '~/components/common/CopyButton.vue'
|
|
12
|
+
import { agentKindMeta } from '~/utils/catalog'
|
|
12
13
|
|
|
13
14
|
const { t, n } = useI18n()
|
|
14
15
|
|
|
15
16
|
const board = useBoardStore()
|
|
16
17
|
const consensus = useConsensusStore()
|
|
18
|
+
const models = useModelsStore()
|
|
17
19
|
|
|
18
20
|
const { open, blockId, close } = useResultView('consensus-session', {
|
|
19
21
|
onOpen: (id) => {
|
|
@@ -114,7 +116,7 @@ function topScore(c: ConsensusContribution): { label: string; value: number } |
|
|
|
114
116
|
<span v-if="block" class="font-normal text-slate-400">— {{ block.title }}</span>
|
|
115
117
|
</h2>
|
|
116
118
|
<p v-if="session" class="text-xs text-slate-500">
|
|
117
|
-
{{ session.agentKind }} ·
|
|
119
|
+
{{ agentKindMeta(session.agentKind).label }} ·
|
|
118
120
|
{{
|
|
119
121
|
t(
|
|
120
122
|
'consensus.participantCount',
|
|
@@ -201,7 +203,9 @@ function topScore(c: ConsensusContribution): { label: string; value: number } |
|
|
|
201
203
|
t('consensus.expert', { letter: String.fromCharCode(65 + i) })
|
|
202
204
|
}}</span>
|
|
203
205
|
<span class="text-slate-400"> · {{ p.role }}</span>
|
|
204
|
-
<span v-if="p.modelId" class="ms-1 text-slate-500"
|
|
206
|
+
<span v-if="p.modelId" class="ms-1 text-slate-500"
|
|
207
|
+
>({{ models.labelForRef(p.modelId) ?? p.modelId }})</span
|
|
208
|
+
>
|
|
205
209
|
</div>
|
|
206
210
|
</div>
|
|
207
211
|
</section>
|
|
@@ -21,6 +21,7 @@ import type {
|
|
|
21
21
|
|
|
22
22
|
const board = useBoardStore()
|
|
23
23
|
const requirements = useRequirementsStore()
|
|
24
|
+
const models = useModelsStore()
|
|
24
25
|
const toast = useToast()
|
|
25
26
|
const { t } = useI18n()
|
|
26
27
|
|
|
@@ -881,7 +882,9 @@ async function resolveExceeded(choice: 'extra-round' | 'proceed' | 'stop-reset')
|
|
|
881
882
|
</template>
|
|
882
883
|
<div v-if="review.model" class="flex items-center justify-between">
|
|
883
884
|
<span>{{ t('requirements.stats.model') }}</span>
|
|
884
|
-
<span class="truncate ps-2 text-slate-500">{{
|
|
885
|
+
<span class="truncate ps-2 text-slate-500">{{
|
|
886
|
+
models.labelForRef(review.model) ?? review.model
|
|
887
|
+
}}</span>
|
|
885
888
|
</div>
|
|
886
889
|
</div>
|
|
887
890
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cat-factory/app",
|
|
3
|
-
"version": "0.87.
|
|
3
|
+
"version": "0.87.3",
|
|
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",
|