@docsector/docsector-reader 4.4.1 → 4.4.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.
package/bin/docsector.js CHANGED
@@ -24,7 +24,7 @@ const packageRoot = resolve(__dirname, '..')
24
24
  const args = process.argv.slice(2)
25
25
  const command = args[0]
26
26
 
27
- const VERSION = '4.4.1'
27
+ const VERSION = '4.4.2'
28
28
  const AUTHORING_SKILL_NAME = 'docsector-documentation-authoring'
29
29
  const AUTHORING_SKILL_DESCRIPTION = 'Author Docsector documentation with Markdown, custom blocks, MCP, and WebMCP.'
30
30
  const AUTHORING_SKILL_PUBLIC_PATH = `/.well-known/agent-skills/${AUTHORING_SKILL_NAME}/SKILL.md`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docsector/docsector-reader",
3
- "version": "4.4.1",
3
+ "version": "4.4.2",
4
4
  "description": "A documentation rendering engine built with Vue 3, Quasar v2 and Vite. Transform Markdown into beautiful, navigable documentation sites.",
5
5
  "productName": "Docsector Reader",
6
6
  "author": "Rodrigo de Araujo Vieira",
@@ -470,13 +470,26 @@ watch(() => route.fullPath, () => {
470
470
  </div>
471
471
  </q-drawer>
472
472
 
473
- <q-dialog v-if="assistantEnabled" v-model="mobileAssistantOpen" maximized class="d-mobile-assistant-dialog">
474
- <d-assistant-panel
475
- class="d-mobile-assistant-panel"
476
- :context-title="currentPageTitle"
477
- :markdown-url="currentMarkdownUrl"
478
- @close="closeAssistant"
479
- />
473
+ <q-dialog
474
+ v-if="assistantEnabled"
475
+ v-model="mobileAssistantOpen"
476
+ maximized
477
+ no-backdrop-dismiss
478
+ class="d-mobile-assistant-dialog"
479
+ >
480
+ <div
481
+ class="d-mobile-assistant-dialog__panel-shell"
482
+ @click.stop
483
+ @mousedown.stop
484
+ @touchstart.stop
485
+ >
486
+ <d-assistant-panel
487
+ class="d-mobile-assistant-panel"
488
+ :context-title="currentPageTitle"
489
+ :markdown-url="currentMarkdownUrl"
490
+ @close="closeAssistant"
491
+ />
492
+ </div>
480
493
  </q-dialog>
481
494
  </q-page-container>
482
495
  </template>
@@ -525,6 +538,12 @@ watch(() => route.fullPath, () => {
525
538
  align-items: stretch
526
539
  justify-content: stretch
527
540
 
541
+ &__panel-shell
542
+ width: 100vw
543
+ max-width: 100vw
544
+ height: 100dvh
545
+ max-height: 100dvh
546
+
528
547
  .d-mobile-assistant-panel
529
548
  width: 100vw
530
549
  max-width: 100vw
@@ -70,6 +70,26 @@ const engineDefaults = {
70
70
  deprecated: 'deprecated'
71
71
  }
72
72
  }
73
+ },
74
+ assistant: {
75
+ title: 'Docsector Assistant',
76
+ subtitle: "I'm here to help you with the docs.",
77
+ open: 'Open assistant',
78
+ close: 'Close assistant',
79
+ clear: 'Clear conversation',
80
+ placeholder: 'Ask, search, or explain...',
81
+ send: 'Send',
82
+ stop: 'Stop',
83
+ context: 'Based on your context',
84
+ sources: 'Sources',
85
+ sourcesCount: '{count} sources',
86
+ thinking: 'Searching the docs…',
87
+ resize: 'Resize assistant',
88
+ greeting: {
89
+ morning: 'Good morning',
90
+ afternoon: 'Good afternoon',
91
+ evening: 'Good evening'
92
+ }
73
93
  }
74
94
  },
75
95
  'pt-BR': {
@@ -120,6 +140,26 @@ const engineDefaults = {
120
140
  deprecated: 'obsoleta'
121
141
  }
122
142
  }
143
+ },
144
+ assistant: {
145
+ title: 'Assistente Docsector',
146
+ subtitle: 'Estou aqui para ajudar com a documentação.',
147
+ open: 'Abrir assistente',
148
+ close: 'Fechar assistente',
149
+ clear: 'Limpar conversa',
150
+ placeholder: 'Pergunte, pesquise ou explique...',
151
+ send: 'Enviar',
152
+ stop: 'Parar',
153
+ context: 'Com base no seu contexto',
154
+ sources: 'Fontes',
155
+ sourcesCount: '{count} fontes',
156
+ thinking: 'Consultando a documentação…',
157
+ resize: 'Redimensionar assistente',
158
+ greeting: {
159
+ morning: 'Bom dia',
160
+ afternoon: 'Boa tarde',
161
+ evening: 'Boa noite'
162
+ }
123
163
  }
124
164
  }
125
165
  }