@decido/shell 4.0.1 → 4.0.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/package.json +24 -18
- package/src/index.ts +0 -97
package/package.json
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decido/shell",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"description": "Decido OS Shell — Main facade: UI composition, morphology, auth, overlays, adapters",
|
|
5
|
-
"main": "./
|
|
6
|
-
"types": "
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
7
|
"exports": {
|
|
8
|
-
".":
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"import": "./dist/index.mjs",
|
|
11
|
+
"require": "./dist/index.js",
|
|
12
|
+
"default": "./dist/index.mjs"
|
|
13
|
+
}
|
|
9
14
|
},
|
|
10
15
|
"dependencies": {
|
|
11
16
|
"@noble/curves": "^2.0.1",
|
|
@@ -28,19 +33,19 @@
|
|
|
28
33
|
"y-websocket": "^1.5.4",
|
|
29
34
|
"yjs": "^13.6.29",
|
|
30
35
|
"zustand": "^4.5.2",
|
|
31
|
-
"@decido/
|
|
32
|
-
"@decido/
|
|
33
|
-
"@decido/
|
|
34
|
-
"@decido/
|
|
35
|
-
"@decido/
|
|
36
|
-
"@decido/
|
|
37
|
-
"@decido/
|
|
38
|
-
"@decido/shell-
|
|
39
|
-
"@decido/
|
|
40
|
-
"@decido/sdk": "4.0.
|
|
41
|
-
"@decido/
|
|
42
|
-
"@decido/
|
|
43
|
-
"@decido/
|
|
36
|
+
"@decido/core": "4.0.2",
|
|
37
|
+
"@decido/commands": "4.0.2",
|
|
38
|
+
"@decido/kernel-bridge": "4.0.2",
|
|
39
|
+
"@decido/logger": "^4.0.2",
|
|
40
|
+
"@decido/sentinel-browser": "4.0.2",
|
|
41
|
+
"@decido/canvas-core": "4.0.2",
|
|
42
|
+
"@decido/shell-auth": "4.0.2",
|
|
43
|
+
"@decido/shell-telemetry": "4.0.2",
|
|
44
|
+
"@decido/plugin-engine": "4.0.2",
|
|
45
|
+
"@decido/sdk": "4.0.2",
|
|
46
|
+
"@decido/chat": "4.0.2",
|
|
47
|
+
"@decido/engine": "4.0.2",
|
|
48
|
+
"@decido/macia-core": "4.0.2"
|
|
44
49
|
},
|
|
45
50
|
"devDependencies": {
|
|
46
51
|
"@types/react": "^18.2.0",
|
|
@@ -61,8 +66,9 @@
|
|
|
61
66
|
"files": [
|
|
62
67
|
"dist"
|
|
63
68
|
],
|
|
69
|
+
"module": "./dist/index.mjs",
|
|
64
70
|
"scripts": {
|
|
65
71
|
"lint": "eslint \"src/**/*.ts*\"",
|
|
66
|
-
"build": "tsup src/index.ts --format esm
|
|
72
|
+
"build": "tsup src/index.ts --format esm,cjs"
|
|
67
73
|
}
|
|
68
74
|
}
|
package/src/index.ts
DELETED
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ═══════════════════════════════════════════════════════════════
|
|
3
|
-
* @decido/shell — Decido OS Shell
|
|
4
|
-
* ─────────────────────────────────────────────────────────────
|
|
5
|
-
* Architecture:
|
|
6
|
-
* @decido/sdk → contracts (IShellAdapter, WidgetRegistry)
|
|
7
|
-
* @decido/engine → runtime (blueprints, AI director, router)
|
|
8
|
-
* @decido/shell → THIS PACKAGE: OS-level composition layer
|
|
9
|
-
*
|
|
10
|
-
* Exports are split into two categories:
|
|
11
|
-
* 1. CORE — infrastructure that EVERY host must consume
|
|
12
|
-
* 2. PLUGINS — feature UI that hosts MAY opt-in to
|
|
13
|
-
* ═══════════════════════════════════════════════════════════════
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
// ── 1. CORE: Stores & Contexts ─────────────────────────────────────────
|
|
17
|
-
export * from './contexts/NetworkProvider'; // from migrated studio/lib
|
|
18
|
-
export * from './store/engine'; // useShellStore (layout, plugins, workspaces)
|
|
19
|
-
export * from "@decido/shell-auth"; // useAuthStore
|
|
20
|
-
export * from '@decido/plugin-engine'; // usePluginStore
|
|
21
|
-
export * from './store/McpStore'; // useMcpStore
|
|
22
|
-
export * from './store/UpdaterStore';
|
|
23
|
-
|
|
24
|
-
// ── 2. CORE: Runtime ─────────────────────────────────────────
|
|
25
|
-
export * from './core/PluginContext';
|
|
26
|
-
export * from './core/EventBus';
|
|
27
|
-
export * from './core/AIDirector';
|
|
28
|
-
|
|
29
|
-
// ── 4. CORE: Layout Primitives ───────────────────────────────
|
|
30
|
-
export * from './components/PanelSplitter';
|
|
31
|
-
export * from './components/TransientLayer';
|
|
32
|
-
export * from './components/SafeLiquidUI';
|
|
33
|
-
export * from './components/PluginErrorBoundary';
|
|
34
|
-
|
|
35
|
-
// ── 5. CORE: Hooks ───────────────────────────────────────────
|
|
36
|
-
export * from './hooks/useKeyboardShortcuts';
|
|
37
|
-
export * from './hooks/usePluginEngine';
|
|
38
|
-
export * from './hooks/useSystemBoot';
|
|
39
|
-
export * from './hooks/useAutoUpdater';
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
// ── 6. CORE: Bridge ──────────────────────────────────────────
|
|
43
|
-
export { initBridgeAgent, registerStore } from './bridge/BridgeAgent';
|
|
44
|
-
|
|
45
|
-
// ── 7. PLUGINS: Feature UI (Extraídos a @decido/shell-features) ─────────
|
|
46
|
-
// Estos componentes ahora viven en @decido/shell-features
|
|
47
|
-
// y son importados y montados por HostOverlays (desktop-host).
|
|
48
|
-
export * from './components/widgets/MarketplaceWidget';
|
|
49
|
-
export * from './components/widgets/OpsDashboard';
|
|
50
|
-
export * from './components/widgets/McpToolsWidget';
|
|
51
|
-
|
|
52
|
-
// ── 8. PLUGINS: Session Recorder (moved to @decido/shell-telemetry) ─────────
|
|
53
|
-
|
|
54
|
-
// ── Re-exports from @decido/ui-kit for backward compat ──────
|
|
55
|
-
// DecidoIcon and JsonTreeEditor moved to @decido/ui-kit
|
|
56
|
-
|
|
57
|
-
// ── 9. MIGRATED FROM STUDIO ─────────────────────────────────
|
|
58
|
-
export { default as DecidoShell } from './components/shells/DecidoShell';
|
|
59
|
-
export { default as DecidoPlayer } from './DecidoPlayer';
|
|
60
|
-
export { default as AgentPlayer } from './AgentPlayer';
|
|
61
|
-
|
|
62
|
-
// Streaming Hook
|
|
63
|
-
export { useGeminiStream } from './hooks/useGeminiStream';
|
|
64
|
-
|
|
65
|
-
// Store & Config
|
|
66
|
-
export * from './store/useMorphologyStore';
|
|
67
|
-
export * from './store/usePlaygroundStore';
|
|
68
|
-
export {
|
|
69
|
-
type BuiltInShellType, type ShellType, type ShellProps, type MorphArtifact, type ShellMeta,
|
|
70
|
-
registerShell, resolveShell, isShellRegistered, getRegisteredShellTypes, getShellMeta,
|
|
71
|
-
registerMorphComponentCompat, getMorphComponentCompat
|
|
72
|
-
} from './store/useShellRegistry';
|
|
73
|
-
export * from './store/useMorphInstanceStore';
|
|
74
|
-
export * from './store/useUIComponentStore';
|
|
75
|
-
export * from './store/useLayoutStore';
|
|
76
|
-
export * from './store/useDebugPanelStore';
|
|
77
|
-
export * from './store/useThemeStore';
|
|
78
|
-
export { resolveIcon, resolveColor, resolveColorClasses } from './config/IconRegistry';
|
|
79
|
-
|
|
80
|
-
// Hooks
|
|
81
|
-
export { bridgeToMorph, detectShellType } from './hooks/morphBridge';
|
|
82
|
-
export { useShellKeyboard } from './hooks/useShellKeyboard';
|
|
83
|
-
export { useIntentLens } from './hooks/useIntentLens';
|
|
84
|
-
export type { IntentType, IntentToken, DetectedIntent } from './hooks/useIntentLens';
|
|
85
|
-
|
|
86
|
-
// UI Components
|
|
87
|
-
export { AppShell } from './components/shell/AppShell';
|
|
88
|
-
export { MorphShell } from './components/shell/MorphShell';
|
|
89
|
-
export { LayoutGrid } from './components/shell/LayoutGrid';
|
|
90
|
-
export { AppHeader } from './components/shell/AppHeader';
|
|
91
|
-
export { TabBar } from './components/shell/TabBar';
|
|
92
|
-
export { GlobalOverlays } from './components/shell/GlobalOverlays';
|
|
93
|
-
export { LayoutConfigurator } from './components/shell/LayoutConfigurator';
|
|
94
|
-
export { SlotRenderer, registerSlotComponent, getAvailableSlotComponents } from './components/shell/SlotRenderer';
|
|
95
|
-
export { ArtifactBar } from './components/shell/ArtifactBar';
|
|
96
|
-
export { DebugPanel } from './components/playground/DebugPanel';
|
|
97
|
-
export * from './types/DecidoStoryDefinition';
|