@jskit-ai/assistant-runtime 0.1.195 → 0.1.196

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": "@jskit-ai/assistant-runtime",
3
- "version": "0.1.195",
3
+ "version": "0.1.196",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "test": "node --test"
@@ -12,19 +12,19 @@
12
12
  "./server": "./src/server/index.js"
13
13
  },
14
14
  "dependencies": {
15
- "@jskit-ai/assistant-core": "0.1.202",
15
+ "@jskit-ai/assistant-core": "0.1.203",
16
16
  "json-rest-schema": "^1.0.17"
17
17
  },
18
18
  "peerDependencies": {
19
- "@jskit-ai/http-runtime": "0.1.222",
20
- "@jskit-ai/http-web": "0.1.69",
21
- "@jskit-ai/kernel": "0.1.224",
22
- "@jskit-ai/realtime": "0.1.221",
23
- "@jskit-ai/shell-web": "0.1.228",
19
+ "@jskit-ai/http-runtime": "0.1.223",
20
+ "@jskit-ai/http-web": "0.1.70",
21
+ "@jskit-ai/kernel": "0.1.225",
22
+ "@jskit-ai/realtime": "0.1.222",
23
+ "@jskit-ai/shell-web": "0.1.229",
24
24
  "@tanstack/vue-query": "^5.90.5",
25
25
  "vue": "^3.5.13",
26
26
  "vuetify": "^4.0.0",
27
- "@jskit-ai/database-runtime": "0.1.224"
27
+ "@jskit-ai/database-runtime": "0.1.225"
28
28
  },
29
29
  "description": "Capability-based assistant runtime with per-surface chat, transcripts, settings, and action tools.",
30
30
  "jskit": {
@@ -22,8 +22,10 @@ const props = defineProps({
22
22
  suggestions: { type: Object, default: null },
23
23
  models: { type: Object, default: null },
24
24
  questions: { type: [Boolean, Object], default: null },
25
- goal: { type: [Boolean, Object], default: null }
25
+ goal: { type: [Boolean, Object], default: null },
26
+ avatarSize: { type: String, default: "compact", validator: (value) => ["hidden", "compact", "standard", "large"].includes(value) }
26
27
  });
28
+ const emit = defineEmits(["update:avatarSize"]);
27
29
  const binding = useAssistantConversation({
28
30
  conversationId: toRef(props, "conversationId"), endpoint: toRef(props, "endpoint"),
29
31
  surfaceId: toRef(props, "surfaceId"), hostSurfaceId: toRef(props, "hostSurfaceId"),
@@ -40,7 +42,10 @@ defineExpose({ focus: () => conversation.value?.focus(), runtime: binding.runtim
40
42
  </script>
41
43
 
42
44
  <template>
43
- <AssistantConversationElement ref="conversation" :adapter="binding.adapter.value" :label="assistantLabel" class="assistant-client-conversation">
45
+ <AssistantConversationElement
46
+ ref="conversation" :adapter="binding.adapter.value" :label="assistantLabel" :avatar-size="avatarSize"
47
+ class="assistant-client-conversation" @update:avatar-size="emit('update:avatarSize', $event)"
48
+ >
44
49
  <template v-for="name in Object.keys($slots).filter(name => name !== 'composer-feedback')" #[name]="scope">
45
50
  <slot :name="name" v-bind="scope" :runtime="binding.runtime.value" />
46
51
  </template>