@ramme-io/kernel 5.0.0 → 6.0.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.
@@ -1,4 +1,10 @@
1
1
  import { default as React } from 'react';
2
2
 
3
- export declare const RammeInspector: React.FC;
3
+ export interface RammeInspectorProps {
4
+ /** Which settings tab opens first. See SettingsContainer. */
5
+ defaultTab?: 'general' | 'ai-gateway' | 'theme-lab' | 'about';
6
+ /** Heading above the tabs; `null` when the host already provides one. */
7
+ title?: React.ReactNode;
8
+ }
9
+ export declare const RammeInspector: React.FC<RammeInspectorProps>;
4
10
  //# sourceMappingURL=RammeInspector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RammeInspector.d.ts","sourceRoot":"","sources":["../../../../src/components/RammeInspector.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA2C,MAAM,OAAO,CAAC;AA6BhE,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAuJlC,CAAC"}
1
+ {"version":3,"file":"RammeInspector.d.ts","sourceRoot":"","sources":["../../../../src/components/RammeInspector.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA2C,MAAM,OAAO,CAAC;AA8BhE,MAAM,WAAW,mBAAmB;IAClC,6DAA6D;IAC7D,UAAU,CAAC,EAAE,SAAS,GAAG,YAAY,GAAG,WAAW,GAAG,OAAO,CAAC;IAC9D,yEAAyE;IACzE,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA4JxD,CAAC"}
@@ -0,0 +1,116 @@
1
+ import { default as React } from 'react';
2
+
3
+ /**
4
+ * ThemeStudio — the theme creator as a self-contained drawer.
5
+ *
6
+ * WHY THIS EXISTS
7
+ *
8
+ * The studio itself (ThemeLab: aesthetic profiles, AI synthesis, live palette
9
+ * editing, fine-tuning, save/revert) was never missing. What was missing was a
10
+ * way to open it that did not run through the host application's architecture.
11
+ * Reaching it previously meant:
12
+ *
13
+ * - threading four props through `AppShell` (`inspectorSlot`,
14
+ * `isInspectorOpen`, `setInspectorOpen`, `inspectorWidth`), and
15
+ * - routing `SettingsLayout` + `settings.sitemap.ts`, which three of the four
16
+ * products in this repo never did, and
17
+ * - discovering either an undocumented keyboard shortcut or an easter egg
18
+ * that wanted five clicks on the logo — which is also a link to `/`, so the
19
+ * clicks navigate instead of counting.
20
+ *
21
+ * All of that is layout and routing that a new build has to reproduce before it
22
+ * can theme itself. This component removes the dependency: mount it anywhere
23
+ * inside the providers and the studio is available. Nothing is added to the
24
+ * app's route table, sitemap, or shell.
25
+ *
26
+ * @example Drop-in — no chrome of its own; Ctrl+Alt+S / Cmd+Shift+I opens it
27
+ * ```tsx
28
+ * <ThemeStudio />
29
+ * ```
30
+ *
31
+ * @example Triggered from the host's own account menu — the intended integration
32
+ * ```tsx
33
+ * const { open } = useThemeStudio();
34
+ * <ButtonItem icon="palette" label="Theme Studio" onClick={open} />
35
+ * // ...and once, anywhere inside the providers:
36
+ * <ThemeStudio showTrigger={false} />
37
+ * ```
38
+ *
39
+ * @example Fully controlled, when the host owns the state
40
+ * ```tsx
41
+ * <ThemeStudio open={open} onOpenChange={setOpen} showTrigger={false} />
42
+ * ```
43
+ *
44
+ * Composed, not built: `Drawer` from @ramme-io/ui already portals out of the
45
+ * layout, dismisses on Escape and overlay click, and locks background scroll
46
+ * without losing the reader's position (see `useBodyScrollLock`). `Drawer`
47
+ * rather than `DetailDrawer` on purpose — the studio should float above the app
48
+ * it is restyling, not push its layout around and change the very measurements
49
+ * you are trying to judge.
50
+ */
51
+ export interface ThemeStudioProps {
52
+ /**
53
+ * Open state. Omit to let the component manage it through the settings store,
54
+ * which is also what the Ctrl+Alt+S / Cmd+Shift+I shortcut drives.
55
+ */
56
+ open?: boolean;
57
+ /** Called with the next open state. Required only when `open` is passed. */
58
+ onOpenChange?: (open: boolean) => void;
59
+ /**
60
+ * Render the built-in floating trigger. **Off by default: the bottom-right
61
+ * corner is already spoken for.** Every product parks the AI assistant's FAB
62
+ * at `bottom-6 right-6`, its chat panel opens at `bottom-24 right-6`, and
63
+ * ToastProvider stacks at `bottom-4 right-4`. A component that plants a
64
+ * button there is fighting three things it cannot see.
65
+ *
66
+ * Prefer `useThemeStudio()` from wherever the host keeps admin controls. The
67
+ * keyboard shortcut works with no wiring at all, so a bare `<ThemeStudio />`
68
+ * is already usable before an app has any chrome.
69
+ */
70
+ showTrigger?: boolean;
71
+ /**
72
+ * Where the trigger sits when `showTrigger` is on. Defaults to the bottom
73
+ * *left* — the only free corner — rather than stacking above the assistant,
74
+ * because `bottom-24` is where its chat panel opens.
75
+ */
76
+ triggerClassName?: string;
77
+ /** Drawer width. Defaults to `xl` (80vw) — the palette canvas needs room. */
78
+ size?: 'sm' | 'md' | 'lg' | 'xl' | 'full' | string;
79
+ /** Bind the keyboard shortcut. On by default. */
80
+ enableShortcut?: boolean;
81
+ }
82
+ /**
83
+ * Open the studio from anywhere in the host's own chrome.
84
+ *
85
+ * Exists so a trigger does not have to reach into the settings store and know
86
+ * that the flag is called `isInspectorOpen`. Pair it with
87
+ * `<ThemeStudio showTrigger={false} />` mounted once.
88
+ */
89
+ export declare function useThemeStudio(): {
90
+ isOpen: boolean;
91
+ open: () => void;
92
+ close: () => void;
93
+ toggle: () => void;
94
+ };
95
+ /**
96
+ * Put the app back to the theme its creator shipped.
97
+ *
98
+ * Two systems paint the theme and neither knows about the other:
99
+ * `useSettingsStore` injects six CSS variables from ThemeLab's swatches, and
100
+ * `ThemeContext` injects roughly twenty-five from the theme mode and any
101
+ * `defaultCustomTheme` the app passed to `<ThemeProvider>`. Resetting one alone
102
+ * leaves the other winning, so the page ends up half-reset.
103
+ *
104
+ * Order matters: strip the store's overrides off the element first, then let
105
+ * ThemeContext re-apply the app's own theme over clean ground.
106
+ *
107
+ * This is the only layer that can do it. @ramme-io/ui holds the context and
108
+ * @ramme-io/kernel holds the store, and the dependency runs kernel → ui, so ui
109
+ * cannot reach back for the store.
110
+ *
111
+ * Scope: this is per-browser localStorage. It restores what the creator shipped
112
+ * *for this visitor*, and changes nothing about the deployed app.
113
+ */
114
+ export declare function useResetTheme(): () => void;
115
+ export declare const ThemeStudio: React.FC<ThemeStudioProps>;
116
+ //# sourceMappingURL=ThemeStudio.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeStudio.d.ts","sourceRoot":"","sources":["../../../../src/components/ThemeStudio.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAKtD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,4EAA4E;IAC5E,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC;;;;;;;;;;OAUG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,6EAA6E;IAC7E,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;IACnD,iDAAiD;IACjD,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,IAAI;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB,CASA;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,aAAa,IAAI,MAAM,IAAI,CAO1C;AAyCD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAmElD,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { EntityEvent, EntityEventDensity, EntityEventFacets, EntityPriceSeries, EventBucketSize } from '../../../shared/index.ts';
2
+
3
+ export interface MockEventOptions {
4
+ /** Horizon in quarters. Defaults to the 5-quarter launch target. */
5
+ quarters?: number;
6
+ /** End of the window; defaults to today. */
7
+ endDate?: Date;
8
+ }
9
+ /**
10
+ * Full synthetic event history for a ticker, newest first — the same ordering
11
+ * the real endpoint returns.
12
+ */
13
+ export declare function generateMockEvents(ticker: string, options?: MockEventOptions): EntityEvent[];
14
+ /**
15
+ * Daily OHLCV over the same window. The walk is nudged by same-day news
16
+ * sentiment so the correlation view has something real to find — but the nudge
17
+ * is deliberately small against the noise, because a mock where sentiment
18
+ * cleanly predicts price would make every correlation visual look brilliant
19
+ * and tell us nothing.
20
+ */
21
+ export declare function generateMockPriceSeries(ticker: string, events: EntityEvent[], options?: MockEventOptions): EntityPriceSeries;
22
+ /**
23
+ * Bucketed counts and mean sentiment — the shape the density strip and the
24
+ * heatmap band both consume. Returned sparse: empty buckets are omitted.
25
+ */
26
+ export declare function buildMockDensity(ticker: string, events: EntityEvent[], bucket?: EventBucketSize): EntityEventDensity;
27
+ export declare function buildMockFacets(ticker: string, events: EntityEvent[]): EntityEventFacets;
28
+ //# sourceMappingURL=mockEventSource.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mockEventSource.d.ts","sourceRoot":"","sources":["../../../../src/events/mockEventSource.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAGH,OAAO,KAAK,EAEV,WAAW,EACX,kBAAkB,EAElB,iBAAiB,EAEjB,iBAAiB,EACjB,eAAe,EAChB,MAAM,kBAAkB,CAAC;AA2G1B,MAAM,WAAW,gBAAgB;IAC/B,oEAAoE;IACpE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,4CAA4C;IAC5C,OAAO,CAAC,EAAE,IAAI,CAAC;CAChB;AASD;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,gBAAgB,GAAG,WAAW,EAAE,CAmG5F;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,WAAW,EAAE,EACrB,OAAO,CAAC,EAAE,gBAAgB,GACzB,iBAAiB,CA2CnB;AAUD;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,WAAW,EAAE,EACrB,MAAM,GAAE,eAAwB,GAC/B,kBAAkB,CAmCpB;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,iBAAiB,CAkBxF"}
@@ -25,6 +25,7 @@ export * from './components/settings/AiSettingsPanel';
25
25
  export { generateThemeWithAI } from './services/ai/generateThemeWithAI';
26
26
  export * from './components/ThemeLabPage';
27
27
  export * from './components/RammeInspector';
28
+ export * from './components/ThemeStudio';
28
29
  export * from './components/AIChatPanel';
29
30
  export * from './services/ai/models';
30
31
  export { generateToolSystemPrompt } from './services/ai/toolPromptGenerator';
@@ -50,4 +51,5 @@ export * from './engine/renderers/route-generator';
50
51
  export * from './components/SmartTable';
51
52
  export * from './components/AutoForm';
52
53
  export * from './components/settings/SettingsModal';
54
+ export * from './events/mockEventSource';
53
55
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAOA,cAAc,iBAAiB,CAAC;AAOhC,cAAc,wBAAwB,CAAC;AAKvC,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sCAAsC,CAAC;AACrD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC;AACrD,cAAc,gCAA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,CAAC;AAEzC,cAAc,sBAAsB,CAAC;AAGrC,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAM7E,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAG5D,cAAc,eAAe,CAAC;AAC9B,cAAc,8BAA8B,CAAC;AAG7C,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,aAAa,EAAE,QAAQ,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAClI,OAAO,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AAMrF,cAAc,4BAA4B,CAAC;AAE3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAK7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAK7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AAKpC,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AAKnD,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qCAAqC,CAAC;AAKpD,cAAc,0BAA0B,CAAC"}
@@ -11,6 +11,12 @@ interface SettingsState {
11
11
  setTheme: (tokens: ThemeTokens) => void;
12
12
  saveTheme: () => void;
13
13
  revertTheme: () => void;
14
+ /**
15
+ * Drop the user's theme layer entirely — both snapshots and the CSS variables
16
+ * this store injected — so whatever the app itself defines shows through
17
+ * again. Distinct from `revertTheme`, which only returns to the last save.
18
+ */
19
+ clearThemeOverrides: () => void;
14
20
  setThemeMode: (mode: 'light' | 'dark' | 'system') => void;
15
21
  geminiApiKey: string | null;
16
22
  setGeminiApiKey: (key: string) => void;
@@ -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K,IAAI,CAAC;IAG3C,eAAe,EAAE,OAAO,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,CAAC,IAAI,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1C,gBAAgB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1C,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C;AAED,eAAO,MAAM,gBAAgB;;;;;;;;;;;;EA8R5B,CAAC"}
package/dist/server.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { o, a as i, p as l } from "./AiGateway-DflFS1JW.js";
2
- import { f as _, l as v, A as I, d as O, c as R, g as T, n as g, B as w, j as K, E as k, k as f, G as L, i as P, I as N, O as D, h as b, m as x, P as M, R as j, S as F, T as B, W as H, e as U, b as V } from "./AiGateway-DflFS1JW.js";
1
+ import { p as o, a as i, q as l } from "./AiGateway-DLGiTtyR.js";
2
+ import { g as _, m as v, A as I, e as O, c as R, h as T, o as g, B as w, k as K, E as k, l as f, G as L, j as P, I as N, O as D, i as b, n as x, P as M, R as j, S as F, T as q, W as B, f as H, b as U } from "./AiGateway-DLGiTtyR.js";
3
3
  import { streamText as A, generateObject as y } from "ai";
4
4
  import { createGoogleGenerativeAI as c } from "@ai-sdk/google";
5
5
  function n(e) {
@@ -77,8 +77,8 @@ export {
77
77
  M as PageSectionSchema,
78
78
  j as ResourceSchema,
79
79
  F as SignalSchema,
80
- B as TriggerSchema,
81
- H as WorkflowSchema,
82
- U as aiGateway,
83
- V as aiGatewayService
80
+ q as TriggerSchema,
81
+ B as WorkflowSchema,
82
+ H as aiGateway,
83
+ U as aiGatewayService
84
84
  };
package/package.json CHANGED
@@ -1,10 +1,13 @@
1
1
  {
2
2
  "name": "@ramme-io/kernel",
3
- "version": "5.0.0",
3
+ "version": "6.0.0",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "main": "./dist/index.es.js",
8
+ "sideEffects": [
9
+ "**/*.css"
10
+ ],
8
11
  "module": "./dist/index.es.js",
9
12
  "types": "./dist/index.d.ts",
10
13
  "exports": {
@@ -23,12 +26,9 @@
23
26
  "publishConfig": {
24
27
  "access": "public"
25
28
  },
26
- "scripts": {
27
- "build": "vite build"
28
- },
29
29
  "peerDependencies": {
30
30
  "@ai-sdk/google": ">=0.0.1",
31
- "@ramme-io/ui": ">=4.0.0",
31
+ "@ramme-io/ui": ">=4.1.0",
32
32
  "ai": ">=4.0.0",
33
33
  "react": ">=18.2.0",
34
34
  "react-dom": ">=18.2.0",
@@ -37,7 +37,6 @@
37
37
  },
38
38
  "devDependencies": {
39
39
  "@ai-sdk/google": "^3.0.1",
40
- "@ramme-io/ui": "workspace:*",
41
40
  "@types/react": "^18.3.3",
42
41
  "@types/react-dom": "^18.3.0",
43
42
  "ai": "^6.0.3",
@@ -46,10 +45,10 @@
46
45
  "react-router-dom": "^6.28.0",
47
46
  "vite": "^5.3.1",
48
47
  "vite-plugin-dts": "^3.9.1",
49
- "zod": "^3.23.8"
48
+ "zod": "^3.23.8",
49
+ "@ramme-io/ui": "4.1.0"
50
50
  },
51
51
  "dependencies": {
52
- "@ramme-io/shared": "workspace:*",
53
52
  "@types/react-syntax-highlighter": "^15.5.13",
54
53
  "lucide-react": "^0.537.0",
55
54
  "mqtt": "^5.14.1",
@@ -57,6 +56,10 @@
57
56
  "react-syntax-highlighter": "^16.1.1",
58
57
  "remark-gfm": "^4.0.1",
59
58
  "zod-to-json-schema": "^3.23.0",
60
- "zustand": "^5.0.0"
59
+ "zustand": "^5.0.0",
60
+ "@ramme-io/shared": "3.1.2"
61
+ },
62
+ "scripts": {
63
+ "build": "vite build"
61
64
  }
62
- }
65
+ }