@tano.page/workbench 0.15.0 → 0.16.0
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 +35 -14
- package/src/App.vue +68 -797
- package/src/assistant/agent-identities.ts +1 -97
- package/src/assistant/agent-task-context.ts +1 -54
- package/src/assistant/attachments.ts +1 -1
- package/src/assistant/completion.ts +1 -61
- package/src/assistant/components/AssistantPanel.vue +1 -1
- package/src/assistant/connection-actions.ts +237 -0
- package/src/assistant/document-mentions.ts +1 -33
- package/src/assistant/engine.ts +1 -585
- package/src/assistant/execution.ts +6 -33
- package/src/assistant/hash.ts +1 -4
- package/src/assistant/language.ts +10 -37
- package/src/assistant/plugin-bridge-builder.ts +146 -0
- package/src/assistant/prompts.ts +1 -65
- package/src/assistant/proposal-actions.ts +336 -0
- package/src/assistant/store.ts +87 -554
- package/src/assistant/structures.ts +1 -157
- package/src/assistant/tasks.ts +8 -94
- package/src/assistant/tool-rules.ts +1 -7
- package/src/composables/use-workbench-help.ts +177 -0
- package/src/composables/use-workbench-lifecycle.ts +249 -0
- package/src/composables/use-workbench-settings.ts +185 -0
- package/src/composables/use-workbench-shortcuts.ts +37 -1022
- package/src/composables/use-workbench-views.ts +325 -0
- package/src/documents/components/DocumentActionMenu.vue +279 -0
- package/src/documents/components/DocumentInspector.vue +168 -0
- package/src/documents/components/DocumentPane.vue +482 -0
- package/src/documents/description-merge.ts +1 -9
- package/src/files/components/FileMetadataPanel.vue +49 -15
- package/src/i18n/locale-catalogs.ts +7 -6
- package/src/i18n/locale-registry.ts +8 -6
- package/src/i18n/locales/de-DE.json +23 -1
- package/src/i18n/locales/en-US.json +23 -1
- package/src/i18n/locales/es-ES.json +23 -1
- package/src/i18n/locales/ja-JP.json +23 -1
- package/src/i18n/locales/zh-TW.json +23 -1
- package/src/mail/components/MailAccountDialog.vue +1 -0
- package/src/mail/components/MailComposerDialog.vue +1 -0
- package/src/mail/components/MailWorkspaceView.vue +1 -0
- package/src/mail/components/SidebarMail.vue +1 -0
- package/src/objects/content-references.ts +6 -56
- package/src/objects/wiki-links.ts +1 -48
- package/src/objects/workspace-objects.ts +2 -3
- package/src/plans/calendar.ts +2 -2
- package/src/plans/components/CalendarAgendaView.vue +165 -0
- package/src/plans/components/CalendarFilterBar.vue +128 -0
- package/src/plans/components/CalendarMonthView.vue +224 -0
- package/src/plans/components/CalendarQuickCreateDialog.vue +269 -0
- package/src/plans/components/CalendarTimelineView.vue +517 -0
- package/src/plans/components/CalendarTopbarControls.vue +101 -0
- package/src/plans/components/CalendarView.vue +162 -2106
- package/src/plans/components/CalendarYearView.vue +138 -0
- package/src/plans/components/PlanConnectionsDialog.vue +1 -1
- package/src/plans/components/calendar-shared.css +192 -0
- package/src/plans/composables/use-calendar-interactions.ts +396 -0
- package/src/plans/composables/use-calendar-scroll.ts +420 -0
- package/src/plugins/components/PluginDetailPage.vue +10 -6
- package/src/plugins/components/PluginDeveloperArea.vue +192 -0
- package/src/plugins/components/PluginExplorer.vue +6 -4
- package/src/plugins/components/PluginImportDialog.vue +1 -1
- package/src/plugins/components/PluginInstaller.vue +269 -178
- package/src/plugins/components/PluginMaintenance.vue +37 -49
- package/src/plugins/components/PluginRepositoryStorage.vue +4 -2
- package/src/plugins/components/PluginSettingsForm.vue +2 -1
- package/src/plugins/components/PluginsTabPage.vue +61 -0
- package/src/plugins/components/plugin-center.css +5 -0
- package/src/plugins/data.ts +9 -86
- package/src/plugins/editor-plugin-adapters.ts +169 -0
- package/src/plugins/plugin-data.ts +2 -3
- package/src/plugins/plugin-rpc-router.ts +558 -0
- package/src/plugins/plugin-sdk.ts +1 -260
- package/src/plugins/plugin-ui-dialogs.ts +167 -0
- package/src/plugins/queries.ts +1 -75
- package/src/plugins/view-header.ts +2 -7
- package/src/runtime.ts +3 -2
- package/src/settings/components/SettingsPanel.vue +8 -3
- package/src/settings/components/WorkbenchSettings.vue +20 -7
- package/src/settings/components/settings-context.ts +1 -1
- package/src/settings/settings-tab.ts +1 -0
- package/src/shell/command-palette.ts +3 -3
- package/src/shell/components/EditorToolbar.vue +8 -9
- package/src/shell/components/EditorTools.vue +1 -5
- package/src/shell/components/PaneTopbar.vue +393 -0
- package/src/shell/components/SelectionToolbar.vue +0 -2
- package/src/shell/components/WorkbenchContextMenus.vue +37 -26
- package/src/shell/components/WorkbenchModals.vue +22 -18
- package/src/shell/components/WorkbenchPanes.vue +358 -1512
- package/src/shell/components/WorkbenchSidebar.vue +486 -0
- package/src/shell/pane-registry.ts +69 -0
- package/src/shell/use-surface-dismissal.ts +219 -0
- package/src/shell/use-workbench-commands.ts +599 -0
- package/src/shell/use-workbench-keybindings.ts +337 -0
- package/src/shell/use-workbench.ts +488 -1081
- package/src/shell/workbench-context.ts +30 -3
- package/src/stores/workspace-document-io.ts +807 -0
- package/src/stores/workspace-file-ops.ts +1 -1
- package/src/stores/workspace-knowledge.ts +1 -1
- package/src/stores/workspace-lifecycle.ts +459 -0
- package/src/stores/workspace-plugins-state.ts +71 -599
- package/src/stores/workspace-session.ts +287 -0
- package/src/stores/workspace-tabs-layout.ts +1 -1
- package/src/stores/workspace-types.ts +50 -0
- package/src/stores/workspace.ts +163 -1345
- package/src/styles.css +0 -1
- package/src/tabs/components/DesktopTabs.vue +19 -11
- package/src/windows/AuxiliaryWindows.vue +2 -2
- package/src/windows/use-window-event-bridge.ts +152 -0
- package/src/workspace/components/TemplateLibrary.vue +1 -1
- package/src/workspace/components/WorkspaceIconPicker.vue +5 -4
- package/src/workspace/components/WorkspacePickerMenu.vue +317 -0
- package/src/assistant/locales/de-DE.json +0 -129
- package/src/assistant/locales/en-US.json +0 -129
- package/src/assistant/locales/es-ES.json +0 -129
- package/src/assistant/locales/ja-JP.json +0 -129
- package/src/assistant/locales/zh-CN.json +0 -129
- package/src/assistant/locales/zh-TW.json +0 -129
- package/src/assistant/task-prompts.json +0 -39
|
@@ -14,51 +14,55 @@ import {
|
|
|
14
14
|
PlanDetailPanel,
|
|
15
15
|
SelectionTodoDialog,
|
|
16
16
|
} from '../workbench-async-components';
|
|
17
|
-
import {
|
|
17
|
+
import { t } from '../../i18n/i18n';
|
|
18
|
+
import { mobile } from '../../platform/platform';
|
|
19
|
+
import { workbenchModalsKey, workbenchShellKey } from '../workbench-context';
|
|
18
20
|
import CommandPalette from './CommandPalette.vue';
|
|
19
21
|
import NewTabPicker from '../../tabs/components/NewTabPicker.vue';
|
|
20
22
|
import PluginUiDialog from '../../plugins/components/PluginUiDialog.vue';
|
|
21
23
|
import WorkbenchSettings from '../../settings/components/WorkbenchSettings.vue';
|
|
22
24
|
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
+
const shell = inject(workbenchShellKey);
|
|
26
|
+
const modals = inject(workbenchModalsKey);
|
|
27
|
+
if (!shell || !modals) throw new Error('Workbench context is required');
|
|
28
|
+
|
|
25
29
|
const {
|
|
26
30
|
activeWindow,
|
|
27
31
|
workspace,
|
|
28
|
-
mobile,
|
|
29
|
-
t,
|
|
30
32
|
store,
|
|
31
|
-
importPanel,
|
|
32
33
|
attachments,
|
|
33
|
-
importRecords,
|
|
34
34
|
extensions,
|
|
35
35
|
extensionActions,
|
|
36
|
+
active,
|
|
37
|
+
activities,
|
|
38
|
+
calendarScope,
|
|
39
|
+
createNewDocument,
|
|
40
|
+
createNewEntry,
|
|
41
|
+
showPlanEvent,
|
|
42
|
+
extensionViews,
|
|
43
|
+
viewActions,
|
|
44
|
+
workbenchCommands,
|
|
45
|
+
updateLock,
|
|
46
|
+
} = toRefs(shell);
|
|
47
|
+
const {
|
|
48
|
+
importPanel,
|
|
49
|
+
importRecords,
|
|
36
50
|
recyclePanel,
|
|
37
51
|
agentPanel,
|
|
38
52
|
selectedDiff,
|
|
39
53
|
historyPanel,
|
|
40
|
-
active,
|
|
41
|
-
activities,
|
|
42
54
|
historyPage,
|
|
43
55
|
objectDetail,
|
|
44
56
|
planArchiveOpen,
|
|
45
|
-
calendarScope,
|
|
46
57
|
openObjectReference,
|
|
47
|
-
createNewDocument,
|
|
48
|
-
createNewEntry,
|
|
49
58
|
planDetail,
|
|
50
59
|
openPlanReference,
|
|
51
60
|
selectionTodo,
|
|
52
|
-
showPlanEvent,
|
|
53
|
-
extensionViews,
|
|
54
|
-
viewActions,
|
|
55
61
|
commandPaletteOpened,
|
|
56
|
-
workbenchCommands,
|
|
57
62
|
settingsPanel,
|
|
58
63
|
fatal,
|
|
59
64
|
modal,
|
|
60
65
|
modalBusy,
|
|
61
|
-
updateLock,
|
|
62
66
|
modalTitle,
|
|
63
67
|
input,
|
|
64
68
|
searchResults,
|
|
@@ -72,7 +76,7 @@ const {
|
|
|
72
76
|
modalTarget,
|
|
73
77
|
modalError,
|
|
74
78
|
setModalInputElement,
|
|
75
|
-
} = toRefs(
|
|
79
|
+
} = toRefs(modals);
|
|
76
80
|
</script>
|
|
77
81
|
|
|
78
82
|
<template>
|