@docsector/docsector-reader 4.4.0 → 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.0'
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.0",
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",
@@ -340,6 +340,19 @@ watch(assistant.sources, scrollToBottom, { deep: true })
340
340
  overflow: hidden
341
341
  position: relative
342
342
 
343
+ &.d-mobile-assistant-panel
344
+ width: 100vw
345
+ max-width: 100vw
346
+ height: 100dvh
347
+ max-height: 100dvh
348
+
349
+ .d-assistant-panel__header
350
+ padding-top: env(safe-area-inset-top, 0px)
351
+ min-height: calc(54px + env(safe-area-inset-top, 0px))
352
+
353
+ .d-assistant-panel__composer
354
+ padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px))
355
+
343
356
  &__resizer
344
357
  position: absolute
345
358
  top: 0
@@ -470,12 +470,26 @@ watch(() => route.fullPath, () => {
470
470
  </div>
471
471
  </q-drawer>
472
472
 
473
- <q-dialog v-if="assistantEnabled" v-model="mobileAssistantOpen" maximized>
474
- <d-assistant-panel
475
- :context-title="currentPageTitle"
476
- :markdown-url="currentMarkdownUrl"
477
- @close="closeAssistant"
478
- />
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>
479
493
  </q-dialog>
480
494
  </q-page-container>
481
495
  </template>
@@ -518,6 +532,25 @@ watch(() => route.fullPath, () => {
518
532
  width: 40px
519
533
  height: 40px
520
534
 
535
+ .d-mobile-assistant-dialog
536
+ .q-dialog__inner
537
+ padding: 0
538
+ align-items: stretch
539
+ justify-content: stretch
540
+
541
+ &__panel-shell
542
+ width: 100vw
543
+ max-width: 100vw
544
+ height: 100dvh
545
+ max-height: 100dvh
546
+
547
+ .d-mobile-assistant-panel
548
+ width: 100vw
549
+ max-width: 100vw
550
+ height: 100dvh
551
+ max-height: 100dvh
552
+ margin: 0
553
+
521
554
  #scroll-container
522
555
  width: 100%
523
556
  max-width: 1200px
@@ -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
  }