@rtc-agent/component 0.2.7-rc.4 → 0.2.8-rc.1
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/README.md +109 -13
- package/dist/.generated/locales/en-US.d.ts +55 -7
- package/dist/.generated/locales/en-US.d.ts.map +1 -1
- package/dist/assets/{shared-worker-BQv441O7.js → shared-worker-CXyjL7E6.js} +210 -210
- package/dist/components/activity-bar/rtc-activity-bar.d.ts +23 -21
- package/dist/components/activity-bar/rtc-activity-bar.d.ts.map +1 -1
- package/dist/components/activity-bar/rtc-activity-bar.styles.d.ts +2 -2
- package/dist/components/chat-layout/rtc-chat-layout.d.ts +87 -80
- package/dist/components/chat-layout/rtc-chat-layout.d.ts.map +1 -1
- package/dist/components/chat-layout/rtc-chat-layout.styles.d.ts +5 -5
- package/dist/components/content-area/rtc-error-message.d.ts +1 -1
- package/dist/components/content-area/rtc-message-more-menu.d.ts +4 -4
- package/dist/components/content-area/rtc-message-more-menu.d.ts.map +1 -1
- package/dist/components/content-area/rtc-message.d.ts +82 -76
- package/dist/components/content-area/rtc-message.d.ts.map +1 -1
- package/dist/components/content-area/rtc-message.styles.d.ts.map +1 -1
- package/dist/components/content-area/rtc-toolcall-card.d.ts +10 -5
- package/dist/components/content-area/rtc-toolcall-card.d.ts.map +1 -1
- package/dist/components/content-area/rtc-toolcall-card.styles.d.ts.map +1 -1
- package/dist/components/content-area/rtc-toolcall-reply.d.ts +12 -0
- package/dist/components/content-area/rtc-toolcall-reply.d.ts.map +1 -1
- package/dist/components/content-area/rtc-toolcall-reply.styles.d.ts.map +1 -1
- package/dist/components/content-area/rtc-user-message.d.ts +10 -10
- package/dist/components/drawer/rtc-drawer.d.ts +29 -27
- package/dist/components/drawer/rtc-drawer.d.ts.map +1 -1
- package/dist/components/drawer/rtc-drawer.styles.d.ts +9 -9
- package/dist/components/editor-area/rtc-editor-area.d.ts +29 -29
- package/dist/components/editor-area/rtc-editor-area.d.ts.map +1 -1
- package/dist/components/editor-area/rtc-editor-area.styles.d.ts +3 -3
- package/dist/components/editor-area/rtc-editor-tab.d.ts +27 -27
- package/dist/components/editor-area/rtc-editor-tab.d.ts.map +1 -1
- package/dist/components/editor-area/rtc-editor-tab.styles.d.ts +3 -3
- package/dist/components/editor-area/rtc-editor-toolbar.d.ts +19 -19
- package/dist/components/editor-area/rtc-editor-toolbar.d.ts.map +1 -1
- package/dist/components/editor-area/rtc-editor-toolbar.styles.d.ts +3 -3
- package/dist/components/file-explorer/rtc-file-explorer.d.ts +28 -28
- package/dist/components/file-explorer/rtc-file-explorer.d.ts.map +1 -1
- package/dist/components/file-explorer/rtc-file-explorer.styles.d.ts +3 -3
- package/dist/components/file-explorer/rtc-file-tree-item.d.ts +19 -19
- package/dist/components/file-explorer/rtc-file-tree-item.d.ts.map +1 -1
- package/dist/components/file-explorer/rtc-file-tree-item.styles.d.ts +3 -3
- package/dist/components/function-console/rtc-function-console.d.ts +32 -0
- package/dist/components/function-console/rtc-function-console.d.ts.map +1 -0
- package/dist/components/function-console/rtc-function-console.styles.d.ts +8 -0
- package/dist/components/function-console/rtc-function-console.styles.d.ts.map +1 -0
- package/dist/components/function-debugger/rtc-function-debugger.d.ts +39 -0
- package/dist/components/function-debugger/rtc-function-debugger.d.ts.map +1 -0
- package/dist/components/function-debugger/rtc-function-debugger.styles.d.ts +8 -0
- package/dist/components/function-debugger/rtc-function-debugger.styles.d.ts.map +1 -0
- package/dist/components/function-history/rtc-function-history.d.ts +49 -0
- package/dist/components/function-history/rtc-function-history.d.ts.map +1 -0
- package/dist/components/function-history/rtc-function-history.styles.d.ts +8 -0
- package/dist/components/function-history/rtc-function-history.styles.d.ts.map +1 -0
- package/dist/components/function-params/rtc-function-params.d.ts +29 -0
- package/dist/components/function-params/rtc-function-params.d.ts.map +1 -0
- package/dist/components/function-params/rtc-function-params.styles.d.ts +8 -0
- package/dist/components/function-params/rtc-function-params.styles.d.ts.map +1 -0
- package/dist/components/function-tree/rtc-function-tree.d.ts +59 -0
- package/dist/components/function-tree/rtc-function-tree.d.ts.map +1 -0
- package/dist/components/function-tree/rtc-function-tree.styles.d.ts +2 -0
- package/dist/components/function-tree/rtc-function-tree.styles.d.ts.map +1 -0
- package/dist/components/functions-layout/rtc-functions-layout.d.ts +45 -0
- package/dist/components/functions-layout/rtc-functions-layout.d.ts.map +1 -0
- package/dist/components/functions-layout/rtc-functions-layout.styles.d.ts +8 -0
- package/dist/components/functions-layout/rtc-functions-layout.styles.d.ts.map +1 -0
- package/dist/components/input-area/rtc-input-area.d.ts +15 -15
- package/dist/components/input-area/rtc-input-area.d.ts.map +1 -1
- package/dist/components/login/rtc-login-page.d.ts +8 -8
- package/dist/components/markdown-editor/rtc-markdown-editor.d.ts +23 -19
- package/dist/components/markdown-editor/rtc-markdown-editor.d.ts.map +1 -1
- package/dist/components/overlay/rtc-command-panel.d.ts.map +1 -1
- package/dist/components/overlay/rtc-export-dialog.d.ts +59 -0
- package/dist/components/overlay/rtc-export-dialog.d.ts.map +1 -0
- package/dist/components/overlay/rtc-export-dialog.styles.d.ts +11 -0
- package/dist/components/overlay/rtc-export-dialog.styles.d.ts.map +1 -0
- package/dist/components/overlay/rtc-scenario-panel.d.ts +1 -1
- package/dist/components/overlay/rtc-scenario-panel.d.ts.map +1 -1
- package/dist/components/overlay/rtc-session-panel.d.ts +1 -1
- package/dist/components/overlay/rtc-session-panel.d.ts.map +1 -1
- package/dist/components/overlay/rtc-toast.d.ts +8 -8
- package/dist/components/rtc-agent/helpers/bus-handler.d.ts +32 -1
- package/dist/components/rtc-agent/helpers/bus-handler.d.ts.map +1 -1
- package/dist/components/rtc-agent/helpers/command-handler.d.ts +8 -0
- package/dist/components/rtc-agent/helpers/command-handler.d.ts.map +1 -1
- package/dist/components/rtc-agent/helpers/connection-setup.d.ts +5 -8
- package/dist/components/rtc-agent/helpers/connection-setup.d.ts.map +1 -1
- package/dist/components/rtc-agent/helpers/dialog-helpers.d.ts +12 -0
- package/dist/components/rtc-agent/helpers/dialog-helpers.d.ts.map +1 -1
- package/dist/components/rtc-agent/helpers/session-loader.d.ts +2 -0
- package/dist/components/rtc-agent/helpers/session-loader.d.ts.map +1 -1
- package/dist/components/rtc-agent/helpers/vfs-operations.d.ts +22 -3
- package/dist/components/rtc-agent/helpers/vfs-operations.d.ts.map +1 -1
- package/dist/components/rtc-agent/rtc-agent.d.ts +22 -47
- package/dist/components/rtc-agent/rtc-agent.d.ts.map +1 -1
- package/dist/components/session-tree/rtc-session-tab-bar.d.ts +8 -8
- package/dist/components/session-tree/rtc-session-tab-bar.d.ts.map +1 -1
- package/dist/components/session-tree/rtc-session-tab-bar.styles.d.ts +5 -5
- package/dist/components/session-tree/rtc-session-tab.d.ts +6 -6
- package/dist/components/session-tree/rtc-session-tab.d.ts.map +1 -1
- package/dist/components/session-tree/rtc-session-tab.styles.d.ts +6 -6
- package/dist/components/session-tree/rtc-session-tree-item.d.ts +10 -10
- package/dist/components/session-tree/rtc-session-tree-item.d.ts.map +1 -1
- package/dist/components/session-tree/rtc-session-tree-item.styles.d.ts +6 -6
- package/dist/components/session-tree/rtc-session-tree.d.ts +15 -15
- package/dist/components/session-tree/rtc-session-tree.d.ts.map +1 -1
- package/dist/components/session-tree/rtc-session-tree.styles.d.ts +5 -5
- package/dist/components/settings-layout/rtc-settings-layout.d.ts +23 -23
- package/dist/components/settings-layout/rtc-settings-layout.d.ts.map +1 -1
- package/dist/components/settings-layout/rtc-settings-layout.styles.d.ts +3 -3
- package/dist/components/settings-layout/rtc-settings-nav.d.ts +17 -17
- package/dist/components/settings-layout/rtc-settings-nav.d.ts.map +1 -1
- package/dist/components/settings-layout/rtc-settings-nav.styles.d.ts +2 -2
- package/dist/components/status-bar/rtc-status-bar.d.ts +10 -10
- package/dist/components/status-bar/rtc-status-bar.d.ts.map +1 -1
- package/dist/components/status-bar/rtc-status-bar.styles.d.ts +5 -5
- package/dist/components/title-bar/rtc-title-bar.d.ts +4 -4
- package/dist/components/title-bar/rtc-title-bar.d.ts.map +1 -1
- package/dist/components/token-usage/rtc-token-usage.d.ts +21 -21
- package/dist/components/token-usage/rtc-token-usage.d.ts.map +1 -1
- package/dist/config/auth.d.ts +12 -6
- package/dist/config/auth.d.ts.map +1 -1
- package/dist/contexts/activity.d.ts +13 -13
- package/dist/contexts/activity.d.ts.map +1 -1
- package/dist/contexts/auth.d.ts +5 -4
- package/dist/contexts/auth.d.ts.map +1 -1
- package/dist/contexts/editor.d.ts +13 -13
- package/dist/contexts/editor.d.ts.map +1 -1
- package/dist/contexts/file-explorer.d.ts +15 -15
- package/dist/contexts/file-explorer.d.ts.map +1 -1
- package/dist/contexts/function-debug.d.ts +52 -0
- package/dist/contexts/function-debug.d.ts.map +1 -0
- package/dist/contexts/functions.d.ts +43 -0
- package/dist/contexts/functions.d.ts.map +1 -0
- package/dist/contexts/message.d.ts +3 -3
- package/dist/contexts/notification.d.ts +4 -4
- package/dist/contexts/notification.d.ts.map +1 -1
- package/dist/contexts/settings.d.ts +2 -2
- package/dist/contexts/skill.d.ts +5 -5
- package/dist/contexts/skill.d.ts.map +1 -1
- package/dist/contexts/turn-count.d.ts +7 -7
- package/dist/controllers/activity.controller.d.ts +11 -11
- package/dist/controllers/activity.controller.d.ts.map +1 -1
- package/dist/controllers/auth.controller.d.ts +5 -0
- package/dist/controllers/auth.controller.d.ts.map +1 -1
- package/dist/controllers/editor-area.controller.d.ts +42 -41
- package/dist/controllers/editor-area.controller.d.ts.map +1 -1
- package/dist/controllers/editor.controller.d.ts +3 -3
- package/dist/controllers/event-binding.controller.d.ts +204 -0
- package/dist/controllers/event-binding.controller.d.ts.map +1 -0
- package/dist/controllers/file-explorer.controller.d.ts +6 -6
- package/dist/controllers/function-debug.controller.d.ts +67 -0
- package/dist/controllers/function-debug.controller.d.ts.map +1 -0
- package/dist/controllers/functions.controller.d.ts +31 -0
- package/dist/controllers/functions.controller.d.ts.map +1 -0
- package/dist/controllers/message.controller.d.ts +11 -1
- package/dist/controllers/message.controller.d.ts.map +1 -1
- package/dist/controllers/notification.controller.d.ts +34 -30
- package/dist/controllers/notification.controller.d.ts.map +1 -1
- package/dist/controllers/persistence.controller.d.ts +31 -14
- package/dist/controllers/persistence.controller.d.ts.map +1 -1
- package/dist/controllers/session-tab.controller.d.ts +32 -29
- package/dist/controllers/session-tab.controller.d.ts.map +1 -1
- package/dist/controllers/session-tree.controller.d.ts +10 -10
- package/dist/controllers/session-tree.controller.d.ts.map +1 -1
- package/dist/controllers/session.controller.d.ts +6 -6
- package/dist/controllers/settings.controller.d.ts +1 -1
- package/dist/controllers/skill.controller.d.ts +21 -21
- package/dist/controllers/skill.controller.d.ts.map +1 -1
- package/dist/controllers/status-bar.controller.d.ts +11 -11
- package/dist/controllers/toast.controller.d.ts.map +1 -1
- package/dist/controllers/tool-call.controller.d.ts +4 -4
- package/dist/controllers/window-interaction.controller.d.ts +14 -12
- package/dist/controllers/window-interaction.controller.d.ts.map +1 -1
- package/dist/controllers/window-state.controller.d.ts +5 -5
- package/dist/controllers/window-state.controller.d.ts.map +1 -1
- package/dist/core/builtin-system-group.d.ts +26 -19
- package/dist/core/builtin-system-group.d.ts.map +1 -1
- package/dist/core/event-bus.d.ts +31 -31
- package/dist/core/function-registry.d.ts +82 -71
- package/dist/core/function-registry.d.ts.map +1 -1
- package/dist/core/i18n.d.ts +2 -2
- package/dist/core/locale-controller.d.ts +2 -2
- package/dist/core/markdown-generator.d.ts +20 -10
- package/dist/core/markdown-generator.d.ts.map +1 -1
- package/dist/core/ready.d.ts +9 -9
- package/dist/core/scenario-loader.d.ts +29 -25
- package/dist/core/scenario-loader.d.ts.map +1 -1
- package/dist/elements.d.ts +6 -6
- package/dist/{en-US-BK61Z8gy.js → en-US-9e1nrE9Q.js} +56 -8
- package/dist/factory.d.ts.map +1 -1
- package/dist/{highlight-languages-8EK0uwTA.js → highlight-languages-BcRFTMSx.js} +1 -1
- package/dist/icons/logo.d.ts +5 -5
- package/dist/{index-Bd4j91y1.js → index-CEn11pPK.js} +26829 -22588
- package/dist/index.d.ts +17 -15
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +39 -36
- package/dist/index.umd.js +3303 -1120
- package/dist/master-lock.d.ts +27 -27
- package/dist/master-lock.d.ts.map +1 -1
- package/dist/stats.html +1 -1
- package/dist/types/activity-bar-config.d.ts +14 -14
- package/dist/types/activity-bar-config.d.ts.map +1 -1
- package/dist/types/agent-config.d.ts +18 -18
- package/dist/types/agent-config.d.ts.map +1 -1
- package/dist/types/events.d.ts +75 -19
- package/dist/types/events.d.ts.map +1 -1
- package/dist/types/factory.d.ts +13 -5
- package/dist/types/factory.d.ts.map +1 -1
- package/dist/types/functions-debug.d.ts +48 -0
- package/dist/types/functions-debug.d.ts.map +1 -0
- package/dist/types/index.d.ts +97 -102
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/skill.d.ts +95 -83
- package/dist/types/skill.d.ts.map +1 -1
- package/dist/types/window-config.d.ts +37 -37
- package/dist/types/window-config.d.ts.map +1 -1
- package/dist/utils/clipboard.d.ts +6 -6
- package/dist/utils/command-parser.d.ts +9 -9
- package/dist/utils/command-parser.d.ts.map +1 -1
- package/dist/utils/highlight-languages.d.ts +3 -3
- package/dist/utils/relative-time.d.ts +7 -7
- package/dist/utils/session-exporter.d.ts +65 -0
- package/dist/utils/session-exporter.d.ts.map +1 -0
- package/dist/utils/skeleton-tracker.d.ts +56 -56
- package/dist/utils/skeleton-tracker.d.ts.map +1 -1
- package/dist/utils/visibility-manager.d.ts +42 -42
- package/dist/utils/visibility-manager.d.ts.map +1 -1
- package/dist/validation/index.d.ts +16 -16
- package/dist/validation/index.d.ts.map +1 -1
- package/dist/validation/openapi-to-zod.d.ts +5 -5
- package/dist/validation/zod-to-openapi.d.ts +24 -14
- package/dist/validation/zod-to-openapi.d.ts.map +1 -1
- package/dist/worker-bridge.d.ts +11 -0
- package/dist/worker-bridge.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rtc-session-tree.d.ts","sourceRoot":"","sources":["../../../src/components/session-tree/rtc-session-tree.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EAAC,UAAU,EAAO,MAAM,KAAK,CAAC;AAcrC,OAAO,4BAA4B,CAAC;AAMpC,qBAEa,cAAe,SAAQ,UAAU;IAC1C,MAAM,CAAC,MAAM,4BAAuD;IAIpE,OAAO,CAAC,UAAU,CAMhB;IAIF,
|
|
1
|
+
{"version":3,"file":"rtc-session-tree.d.ts","sourceRoot":"","sources":["../../../src/components/session-tree/rtc-session-tree.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EAAC,UAAU,EAAO,MAAM,KAAK,CAAC;AAcrC,OAAO,4BAA4B,CAAC;AAMpC,qBAEa,cAAe,SAAQ,UAAU;IAC1C,MAAM,CAAC,MAAM,4BAAuD;IAIpE,OAAO,CAAC,UAAU,CAMhB;IAIF,oCAAoC;IAEpC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAY;IAM9C,OAAO,CAAC,QAAQ,CAQd;IAEF,mCAAmC;IAEnC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAQ;IAExC,yEAAyE;IAEzE,OAAO,CAAC,iBAAiB,CAAuB;IAIhD,OAAO,CAAC,aAAa;IAYrB,OAAO,CAAC,aAAa;IAarB,OAAO,CAAC,iBAAiB;IASzB,OAAO,CAAC,cAAc;IAetB,OAAO,CAAC,iBAAiB;IAYzB,OAAO,CAAC,iBAAiB;IAkBzB;;;OAGG;IACH,OAAO,CAAC,oBAAoB;IAqB5B,OAAO,CAAC,oBAAoB;IAuB5B,OAAO,CAAC,wBAAwB;IAOhC,OAAO,CAAC,mBAAmB;IAe3B,OAAO,CAAC,cAAc;IA2EtB,OAAO,CAAC,iBAAiB;IASzB,OAAO,CAAC,WAAW;IAyBnB,MAAM;IA+BN,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;CAMxC;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,kBAAkB,EAAE,cAAc,CAAC;KACtC;IAED,UAAU,mBAAmB;QACzB,yBAAyB,EAAE,WAAW,CAAC;YAAC,SAAS,EAAE,MAAM,CAAA;SAAC,CAAC,CAAC;QAC5D,yBAAyB,EAAE,WAAW,CAAC;YAAC,SAAS,EAAE,MAAM,CAAA;SAAC,CAAC,CAAC;QAC5D,sBAAsB,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;QAC1C,8BAA8B,EAAE,WAAW,CAAC;YAAC,SAAS,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAC,CAAC,CAAC;QAChF,8BAA8B,EAAE,WAAW,CAAC;YAAC,SAAS,EAAE,MAAM,CAAA;SAAC,CAAC,CAAC;KACpE;CACJ"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Session Tree
|
|
2
|
+
* Session Tree container styles
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* - Header
|
|
6
|
-
* -
|
|
7
|
-
* -
|
|
4
|
+
* Follows rtc-file-explorer.styles.ts:
|
|
5
|
+
* - Header (36px) + Content (flex: 1, overflow-y: auto)
|
|
6
|
+
* - Colors use project Tokens to ensure dual-theme adaptation
|
|
7
|
+
* - Scrollbar styles consistent with file-explorer
|
|
8
8
|
*/
|
|
9
9
|
export declare const styles: import("lit").CSSResult;
|
|
10
10
|
//# sourceMappingURL=rtc-session-tree.styles.d.ts.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* RTC Settings Layout Component
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Two-column layout: left column for category navigation + right column for settings content.
|
|
5
|
+
* Consumes SettingsContext to get/modify settings state.
|
|
6
6
|
*
|
|
7
7
|
* @element rtc-settings-layout
|
|
8
8
|
*
|
|
9
9
|
* @attr {string} [theme=system] - Theme: 'light' | 'dark' | 'system'
|
|
10
10
|
*
|
|
11
|
-
* ##
|
|
12
|
-
*
|
|
11
|
+
* ## Styles
|
|
12
|
+
* Uses project design tokens (--rtc-color-*), supports light/dark themes.
|
|
13
13
|
*/
|
|
14
14
|
import { LitElement } from 'lit';
|
|
15
15
|
import '../logo/rtc-logo.js';
|
|
@@ -17,7 +17,7 @@ import './rtc-settings-nav.js';
|
|
|
17
17
|
import '../drawer/rtc-drawer.js';
|
|
18
18
|
export declare class RtcSettingsLayout extends LitElement {
|
|
19
19
|
static styles: import("lit").CSSResult[];
|
|
20
|
-
/** delegatesFocus: true —
|
|
20
|
+
/** delegatesFocus: true — supports keyboard focus delegation */
|
|
21
21
|
static shadowRootOptions: {
|
|
22
22
|
delegatesFocus: boolean;
|
|
23
23
|
clonable?: boolean;
|
|
@@ -26,43 +26,43 @@ export declare class RtcSettingsLayout extends LitElement {
|
|
|
26
26
|
serializable?: boolean;
|
|
27
27
|
slotAssignment?: SlotAssignmentMode;
|
|
28
28
|
};
|
|
29
|
-
/**
|
|
29
|
+
/** Theme property */
|
|
30
30
|
theme: 'light' | 'dark' | 'system';
|
|
31
|
-
/**
|
|
31
|
+
/** Version number (passed from parent) */
|
|
32
32
|
version: string;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Whether the settings navigation drawer is visible
|
|
35
35
|
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
36
|
+
* Passed through from parent rtc-agent based on ActivityController.sidebarVisible.
|
|
37
|
+
* Uses <rtc-drawer> overlay drawer mode, does not push the main content area.
|
|
38
38
|
*/
|
|
39
39
|
sidebarVisible: boolean;
|
|
40
|
-
/**
|
|
40
|
+
/** Consumes SettingsContext */
|
|
41
41
|
private _settingsCtx;
|
|
42
|
-
/**
|
|
42
|
+
/** Consumes AuthContext (used by account panel) */
|
|
43
43
|
private _authCtx;
|
|
44
44
|
private _localeCtx;
|
|
45
|
-
/**
|
|
45
|
+
/** Currently selected category */
|
|
46
46
|
private _activeCategory;
|
|
47
|
-
/** aria-live
|
|
47
|
+
/** aria-live message (screen reader feedback) */
|
|
48
48
|
private _liveMessage;
|
|
49
|
-
/**
|
|
49
|
+
/** Handle category switch */
|
|
50
50
|
private _handleCategoryChange;
|
|
51
|
-
/**
|
|
51
|
+
/** Update settings and send aria-live feedback */
|
|
52
52
|
private _updateSetting;
|
|
53
|
-
/**
|
|
53
|
+
/** Render appearance settings */
|
|
54
54
|
private _renderAppearance;
|
|
55
|
-
/**
|
|
55
|
+
/** Render chat settings */
|
|
56
56
|
private _renderChat;
|
|
57
|
-
/**
|
|
57
|
+
/** Render file settings */
|
|
58
58
|
private _renderFiles;
|
|
59
|
-
/**
|
|
59
|
+
/** Render notification settings */
|
|
60
60
|
private _renderNotifications;
|
|
61
|
-
/**
|
|
61
|
+
/** Render account panel */
|
|
62
62
|
private _renderAccount;
|
|
63
|
-
/**
|
|
63
|
+
/** Render about page */
|
|
64
64
|
private _renderAbout;
|
|
65
|
-
/**
|
|
65
|
+
/** Render the corresponding panel based on current category */
|
|
66
66
|
private _renderPanel;
|
|
67
67
|
render(): import("lit").TemplateResult<1>;
|
|
68
68
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rtc-settings-layout.d.ts","sourceRoot":"","sources":["../../../src/components/settings-layout/rtc-settings-layout.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAC,UAAU,EAAgB,MAAM,KAAK,CAAC;AAc9C,OAAO,qBAAqB,CAAC;AAE7B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,yBAAyB,CAAC;AA0BjC,qBAEa,iBAAkB,SAAQ,UAAU;IAC7C,MAAM,CAAC,MAAM,4BAAuD;IAEpE,
|
|
1
|
+
{"version":3,"file":"rtc-settings-layout.d.ts","sourceRoot":"","sources":["../../../src/components/settings-layout/rtc-settings-layout.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAC,UAAU,EAAgB,MAAM,KAAK,CAAC;AAc9C,OAAO,qBAAqB,CAAC;AAE7B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,yBAAyB,CAAC;AA0BjC,qBAEa,iBAAkB,SAAQ,UAAU;IAC7C,MAAM,CAAC,MAAM,4BAAuD;IAEpE,gEAAgE;IAChE,MAAM,CAAC,iBAAiB;;;;;;;MAGtB;IAEF,qBAAqB;IAErB,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAY;IAE9C,0CAA0C;IAE1C,OAAO,SAAW;IAElB;;;;;OAKG;IAEH,cAAc,UAAS;IAEvB,+BAA+B;IAG/B,OAAO,CAAC,YAAY,CAAmC;IAEvD,mDAAmD;IAGnD,OAAO,CAAC,QAAQ,CAA+B;IAI/C,OAAO,CAAC,UAAU,CAMhB;IAEF,kCAAkC;IAElC,OAAO,CAAC,eAAe,CAAkC;IAEzD,iDAAiD;IAEjD,OAAO,CAAC,YAAY,CAAM;IAE1B,6BAA6B;IAC7B,OAAO,CAAC,qBAAqB;IAI7B,kDAAkD;IAClD,OAAO,CAAC,cAAc;IAwBtB,iCAAiC;IACjC,OAAO,CAAC,iBAAiB;IA+EzB,2BAA2B;IAC3B,OAAO,CAAC,WAAW;IAmDnB,2BAA2B;IAC3B,OAAO,CAAC,YAAY;IAsDpB,mCAAmC;IACnC,OAAO,CAAC,oBAAoB;IAuD5B,2BAA2B;IAC3B,OAAO,CAAC,cAAc;IAgCtB,wBAAwB;IACxB,OAAO,CAAC,YAAY;IA4BpB,+DAA+D;IAC/D,OAAO,CAAC,YAAY;IAmBpB,MAAM;CAuBT;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,qBAAqB,EAAE,iBAAiB,CAAC;KAC5C;CACJ"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Settings Layout
|
|
2
|
+
* Settings Layout styles
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Two-column layout: left nav + right settings content.
|
|
5
|
+
* Uses project design tokens for multi-theme support.
|
|
6
6
|
*/
|
|
7
7
|
export declare const styles: import("lit").CSSResult;
|
|
8
8
|
//# sourceMappingURL=rtc-settings-layout.styles.d.ts.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* RTC Settings Nav Component
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Left-column category navigation, supports keyboard navigation (Arrow Up/Down, Home/End, Enter/Space).
|
|
5
|
+
* Uses roving tabindex pattern.
|
|
6
6
|
*
|
|
7
7
|
* @element rtc-settings-nav
|
|
8
|
-
* @fires settings-nav-change -
|
|
8
|
+
* @fires settings-nav-change - Fired when category changes (detail: { category })
|
|
9
9
|
*/
|
|
10
10
|
import { LitElement } from 'lit';
|
|
11
11
|
import type { TemplateResult } from 'lit';
|
|
12
|
-
/**
|
|
12
|
+
/** Settings category */
|
|
13
13
|
export type SettingsCategory = 'appearance' | 'chat' | 'files' | 'notifications' | 'account' | 'about';
|
|
14
14
|
export declare class RtcSettingsNav extends LitElement {
|
|
15
15
|
static styles: import("lit").CSSResult;
|
|
16
|
-
/** delegatesFocus: true —
|
|
16
|
+
/** delegatesFocus: true — Supports keyboard focus delegation */
|
|
17
17
|
static shadowRootOptions: {
|
|
18
18
|
delegatesFocus: boolean;
|
|
19
19
|
clonable?: boolean;
|
|
@@ -22,29 +22,29 @@ export declare class RtcSettingsNav extends LitElement {
|
|
|
22
22
|
serializable?: boolean;
|
|
23
23
|
slotAssignment?: SlotAssignmentMode;
|
|
24
24
|
};
|
|
25
|
-
/**
|
|
25
|
+
/** Currently selected category */
|
|
26
26
|
active: SettingsCategory;
|
|
27
27
|
private _localeCtx;
|
|
28
|
-
/**
|
|
28
|
+
/** Handle category click */
|
|
29
29
|
private _handleClick;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Keyboard event handler
|
|
32
32
|
*
|
|
33
|
-
* -
|
|
34
|
-
* - Home/End
|
|
35
|
-
* - Enter/Space
|
|
33
|
+
* - Arrow Up/Down: move focus between categories (roving tabindex)
|
|
34
|
+
* - Home/End: jump to first/last item
|
|
35
|
+
* - Enter/Space: activate current category
|
|
36
36
|
*/
|
|
37
37
|
private _handleKeydown;
|
|
38
|
-
/**
|
|
38
|
+
/** Move focus to specified category */
|
|
39
39
|
private _focusCategory;
|
|
40
|
-
/**
|
|
40
|
+
/** Calculate roving tabindex */
|
|
41
41
|
private _tabIndex;
|
|
42
42
|
/**
|
|
43
|
-
* Lit lifecycle:
|
|
43
|
+
* Lit lifecycle: called after properties are updated.
|
|
44
44
|
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
45
|
+
* When `active` is modified externally (e.g., dev tools, parent component setting property),
|
|
46
|
+
* proactively dispatches event to notify parent component to sync state, ensuring the
|
|
47
|
+
* tabpanel's aria-labelledby always points to the correct panel title.
|
|
48
48
|
*/
|
|
49
49
|
updated(changedProperties: Map<string, unknown>): void;
|
|
50
50
|
render(): TemplateResult<1>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rtc-settings-nav.d.ts","sourceRoot":"","sources":["../../../src/components/settings-layout/rtc-settings-nav.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAC,UAAU,EAAO,MAAM,KAAK,CAAC;AAErC,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,KAAK,CAAC;AAgBxC,
|
|
1
|
+
{"version":3,"file":"rtc-settings-nav.d.ts","sourceRoot":"","sources":["../../../src/components/settings-layout/rtc-settings-nav.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAC,UAAU,EAAO,MAAM,KAAK,CAAC;AAErC,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,KAAK,CAAC;AAgBxC,wBAAwB;AACxB,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,MAAM,GAAG,OAAO,GAAG,eAAe,GAAG,SAAS,GAAG,OAAO,CAAC;AAuBvG,qBAEa,cAAe,SAAQ,UAAU;IAC1C,MAAM,CAAC,MAAM,0BAAU;IAEvB,gEAAgE;IAChE,MAAM,CAAC,iBAAiB;;;;;;;MAGtB;IAEF,kCAAkC;IAElC,MAAM,EAAE,gBAAgB,CAAgB;IAIxC,OAAO,CAAC,UAAU,CAMhB;IAEF,4BAA4B;IAC5B,OAAO,CAAC,YAAY;IAWpB;;;;;;OAMG;IACH,OAAO,CAAC,cAAc;IAsCtB,uCAAuC;IACvC,OAAO,CAAC,cAAc;IAOtB,gCAAgC;IAChC,OAAO,CAAC,SAAS;IAIjB;;;;;;OAMG;IACH,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAY/C,MAAM;CAuBT;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,kBAAkB,EAAE,cAAc,CAAC;KACtC;IAED,UAAU,mBAAmB;QACzB,qBAAqB,EAAE,WAAW,CAAC;YAAC,QAAQ,EAAE,gBAAgB,CAAA;SAAC,CAAC,CAAC;KACpE;CACJ"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Settings Nav
|
|
2
|
+
* Settings Nav styles
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* Left column category navigation, uses project design tokens for multi-theme support.
|
|
5
5
|
*/
|
|
6
6
|
export declare const styles: import("lit").CSSResult;
|
|
7
7
|
//# sourceMappingURL=rtc-settings-nav.styles.d.ts.map
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Status Bar Component
|
|
3
3
|
*
|
|
4
|
-
* VS Code
|
|
4
|
+
* VS Code-style bottom status bar displaying current editor file status information.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
6
|
+
* Layout:
|
|
7
7
|
* ┌──────────────────────────────────────────┐
|
|
8
|
-
* │ Markdown │ UTF-8 │
|
|
8
|
+
* │ Markdown │ UTF-8 │ Ln 8, Col 12 │ Saved │
|
|
9
9
|
* └──────────────────────────────────────────┘
|
|
10
10
|
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
11
|
+
* Pure UI component: only receives StatusBarInfo for rendering, does not operate VFS.
|
|
12
|
+
* State is driven by StatusBarController (or Debug HTML for manual driving).
|
|
13
13
|
*
|
|
14
14
|
* @element rtc-status-bar
|
|
15
15
|
*
|
|
16
|
-
* ##
|
|
17
|
-
*
|
|
18
|
-
* VS Code
|
|
16
|
+
* ## Styles
|
|
17
|
+
* Uses project design tokens (--rtc-color-*), supports light/dark themes.
|
|
18
|
+
* VS Code style: blue background with white text, same colors in both themes.
|
|
19
19
|
*/
|
|
20
20
|
import { LitElement } from 'lit';
|
|
21
21
|
import type { StatusBarInfo } from '../../types/index.js';
|
|
22
22
|
export declare class RtcStatusBar extends LitElement {
|
|
23
23
|
static styles: import("lit").CSSResult[];
|
|
24
|
-
/**
|
|
24
|
+
/** Status bar data */
|
|
25
25
|
fileInfo: StatusBarInfo;
|
|
26
|
-
/**
|
|
26
|
+
/** Theme */
|
|
27
27
|
theme: 'light' | 'dark' | 'system';
|
|
28
28
|
private _localeCtx;
|
|
29
29
|
render(): import("lit").TemplateResult<1>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rtc-status-bar.d.ts","sourceRoot":"","sources":["../../../src/components/status-bar/rtc-status-bar.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAC,UAAU,EAAO,MAAM,KAAK,CAAC;AAKrC,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,sBAAsB,CAAC;AAUxD,qBAEa,YAAa,SAAQ,UAAU;IACxC,MAAM,CAAC,MAAM,4BAAuD;IAIpE,
|
|
1
|
+
{"version":3,"file":"rtc-status-bar.d.ts","sourceRoot":"","sources":["../../../src/components/status-bar/rtc-status-bar.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAC,UAAU,EAAO,MAAM,KAAK,CAAC;AAKrC,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,sBAAsB,CAAC;AAUxD,qBAEa,YAAa,SAAQ,UAAU;IACxC,MAAM,CAAC,MAAM,4BAAuD;IAIpE,sBAAsB;IAEtB,QAAQ,EAAE,aAAa,CAKrB;IAEF,YAAY;IAEZ,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAY;IAI9C,OAAO,CAAC,UAAU,CAMhB;IAIF,MAAM;IAWN,OAAO,CAAC,YAAY;IAIpB,OAAO,CAAC,YAAY;IAmBpB,OAAO,CAAC,iBAAiB;CAU5B;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,gBAAgB,EAAE,YAAY,CAAC;KAClC;CACJ"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Status Bar
|
|
2
|
+
* Status Bar styles
|
|
3
3
|
*
|
|
4
|
-
* VS Code
|
|
5
|
-
*
|
|
4
|
+
* VS Code-style bottom status bar.
|
|
5
|
+
* Colors use project Tokens to ensure dual-theme adaptation.
|
|
6
6
|
*
|
|
7
|
-
* VS Code
|
|
8
|
-
*
|
|
7
|
+
* In VS Code the Status Bar has the same color in both themes (blue background, white text),
|
|
8
|
+
* here we use --rtc-color-accent as the background color.
|
|
9
9
|
*/
|
|
10
10
|
export declare const styles: import("lit").CSSResult;
|
|
11
11
|
//# sourceMappingURL=rtc-status-bar.styles.d.ts.map
|
|
@@ -23,13 +23,13 @@ export declare class RtcTitleBar extends LitElement {
|
|
|
23
23
|
appLabel: string;
|
|
24
24
|
windowMode: WindowMode;
|
|
25
25
|
connectionState: ConnectionState;
|
|
26
|
-
/**
|
|
26
|
+
/** Whether to show the minimize button */
|
|
27
27
|
showMinimize: boolean;
|
|
28
|
-
/**
|
|
28
|
+
/** Whether to show the maximize button */
|
|
29
29
|
showMaximize: boolean;
|
|
30
|
-
/**
|
|
30
|
+
/** Whether connection has failed (shows retry button) */
|
|
31
31
|
connectionFailed: boolean;
|
|
32
|
-
/**
|
|
32
|
+
/** Error message when connection failed (used for tooltip) */
|
|
33
33
|
connectionError: string;
|
|
34
34
|
private _localeCtx;
|
|
35
35
|
private _getStatusText;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rtc-title-bar.d.ts","sourceRoot":"","sources":["../../../src/components/title-bar/rtc-title-bar.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EAAC,UAAU,EAAgB,MAAM,KAAK,CAAC;AAK9C,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAOvD,qBAEa,WAAY,SAAQ,UAAU;IACvC,MAAM,CAAC,MAAM,0BAAU;IAGvB,QAAQ,SAAe;IAGvB,UAAU,EAAE,UAAU,CAAY;IAGlC,eAAe,EAAE,eAAe,CAAkB;IAElD,
|
|
1
|
+
{"version":3,"file":"rtc-title-bar.d.ts","sourceRoot":"","sources":["../../../src/components/title-bar/rtc-title-bar.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EAAC,UAAU,EAAgB,MAAM,KAAK,CAAC;AAK9C,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAOvD,qBAEa,WAAY,SAAQ,UAAU;IACvC,MAAM,CAAC,MAAM,0BAAU;IAGvB,QAAQ,SAAe;IAGvB,UAAU,EAAE,UAAU,CAAY;IAGlC,eAAe,EAAE,eAAe,CAAkB;IAElD,0CAA0C;IAE1C,YAAY,UAAQ;IAEpB,0CAA0C;IAE1C,YAAY,UAAQ;IAEpB,yDAAyD;IAEzD,gBAAgB,UAAS;IAEzB,8DAA8D;IAE9D,eAAe,SAAM;IAIrB,OAAO,CAAC,UAAU,CAMhB;IAEF,OAAO,CAAC,cAAc;IAUtB,OAAO,CAAC,eAAe;IAMvB,OAAO,CAAC,qBAAqB;IAY7B,OAAO,CAAC,YAAY;IAMpB,MAAM;CAmDT;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,eAAe,EAAE,WAAW,CAAC;KAChC;CACJ"}
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Token Usage Component
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Circular progress bar showing session token usage.
|
|
5
|
+
* Embedded in rtc-input-area's toolbar.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
* - estimatedNext
|
|
9
|
-
* - totalTokens
|
|
10
|
-
* - details
|
|
7
|
+
* Data sources:
|
|
8
|
+
* - estimatedNext: estimated next turn token count (real-time from backend)
|
|
9
|
+
* - totalTokens: cumulative total token count
|
|
10
|
+
* - details: per-item token data
|
|
11
11
|
*
|
|
12
12
|
* @element rtc-token-usage
|
|
13
13
|
*
|
|
14
|
-
* ##
|
|
15
|
-
* -
|
|
16
|
-
* -
|
|
17
|
-
* - Hover
|
|
14
|
+
* ## Styling
|
|
15
|
+
* - Circular progress: SVG circle + stroke-dasharray
|
|
16
|
+
* - Color thresholds: 50% yellow, 70% red
|
|
17
|
+
* - Hover shows detail panel
|
|
18
18
|
*/
|
|
19
19
|
import { LitElement } from 'lit';
|
|
20
20
|
export declare class RtcTokenUsage extends LitElement {
|
|
21
21
|
static styles: import("lit").CSSResult[];
|
|
22
22
|
/** Theme mode */
|
|
23
23
|
theme: 'light' | 'dark' | 'system';
|
|
24
|
-
/**
|
|
24
|
+
/** Estimated next turn token count */
|
|
25
25
|
estimatedNext: number;
|
|
26
|
-
/**
|
|
26
|
+
/** Cumulative total token count */
|
|
27
27
|
totalTokens: number;
|
|
28
|
-
/**
|
|
28
|
+
/** Cumulative cost in USD */
|
|
29
29
|
totalCostUsd: number;
|
|
30
|
-
/**
|
|
30
|
+
/** Compression trigger threshold (pushed from backend, used as circular progress denominator) */
|
|
31
31
|
compressionThreshold: number;
|
|
32
|
-
/**
|
|
32
|
+
/** Compression progress (0-100) */
|
|
33
33
|
compressionProgress: number;
|
|
34
|
-
/**
|
|
34
|
+
/** Rounds until compression (-1 = threshold already exceeded) */
|
|
35
35
|
roundsUntilCompression: number;
|
|
36
|
-
/**
|
|
36
|
+
/** Per-item token data */
|
|
37
37
|
details?: {
|
|
38
38
|
input?: number;
|
|
39
39
|
output?: number;
|
|
@@ -41,13 +41,13 @@ export declare class RtcTokenUsage extends LitElement {
|
|
|
41
41
|
cachedWrite?: number;
|
|
42
42
|
reasoning?: number;
|
|
43
43
|
};
|
|
44
|
-
/**
|
|
44
|
+
/** Calculate progress percentage: estimatedNext / compressionThreshold */
|
|
45
45
|
private get _percentage();
|
|
46
|
-
/**
|
|
46
|
+
/** Calculate color class name */
|
|
47
47
|
private get _progressClass();
|
|
48
|
-
/**
|
|
48
|
+
/** Calculate cache hit rate: cachedRead / (cachedRead + input), capped at 99% */
|
|
49
49
|
private get _cacheHitRate();
|
|
50
|
-
/** SVG circle
|
|
50
|
+
/** SVG circle parameters */
|
|
51
51
|
private get _circleParams();
|
|
52
52
|
render(): import("lit").TemplateResult<1>;
|
|
53
53
|
private _formatNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rtc-token-usage.d.ts","sourceRoot":"","sources":["../../../src/components/token-usage/rtc-token-usage.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAU5C,qBACa,aAAc,SAAQ,UAAU;IACzC,MAAM,CAAC,MAAM,4BAuHX;IAIF,iBAAiB;IAEjB,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAY;IAE9C,
|
|
1
|
+
{"version":3,"file":"rtc-token-usage.d.ts","sourceRoot":"","sources":["../../../src/components/token-usage/rtc-token-usage.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAU5C,qBACa,aAAc,SAAQ,UAAU;IACzC,MAAM,CAAC,MAAM,4BAuHX;IAIF,iBAAiB;IAEjB,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAY;IAE9C,sCAAsC;IAEtC,aAAa,SAAK;IAElB,mCAAmC;IAEnC,WAAW,SAAK;IAEhB,6BAA6B;IAE7B,YAAY,SAAK;IAEjB,iGAAiG;IAEjG,oBAAoB,SAAK;IAEzB,mCAAmC;IAEnC,mBAAmB,SAAK;IAExB,iEAAiE;IAEjE,sBAAsB,SAAM;IAE5B,0BAA0B;IAE1B,OAAO,CAAC,EAAE;QACN,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,SAAS,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;IAIF,0EAA0E;IAC1E,OAAO,KAAK,WAAW,GAGtB;IAED,iCAAiC;IACjC,OAAO,KAAK,cAAc,GAIzB;IAED,iFAAiF;IACjF,OAAO,KAAK,aAAa,GAOxB;IAED,4BAA4B;IAC5B,OAAO,KAAK,aAAa,GAKxB;IAID,MAAM;IA2GN,OAAO,CAAC,aAAa;CASxB;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,iBAAiB,EAAE,aAAa,CAAC;KACpC;CACJ"}
|
package/dist/config/auth.d.ts
CHANGED
|
@@ -36,17 +36,23 @@ export declare const STORAGE_KEYS: {
|
|
|
36
36
|
readonly deviceName: "rtc_device_name";
|
|
37
37
|
readonly oauthState: "rtc_oauth_state";
|
|
38
38
|
readonly mode: "rtc_mode";
|
|
39
|
-
/**
|
|
39
|
+
/** Window state: mode, position, size */
|
|
40
40
|
readonly windowState: "rtc_window_state";
|
|
41
|
-
/**
|
|
41
|
+
/** Session tree expand state: sessionId → isExpanded */
|
|
42
42
|
readonly sessionTreeExpanded: "rtc_session_tree_expanded";
|
|
43
|
-
/** Activity Bar
|
|
43
|
+
/** Activity Bar state: active activity + sidebarVisible */
|
|
44
44
|
readonly activityBar: "rtc_activity_bar";
|
|
45
|
-
/** Editor Area
|
|
45
|
+
/** Editor Area state: open tabs + activeFilePath */
|
|
46
46
|
readonly editorArea: "rtc_editor_area";
|
|
47
|
-
/**
|
|
47
|
+
/** Global settings state */
|
|
48
48
|
readonly settings: "rtc_settings";
|
|
49
|
-
/** Input Area
|
|
49
|
+
/** Input Area height (resize handle position) */
|
|
50
50
|
readonly inputAreaHeight: "rtc_input_area_height";
|
|
51
|
+
/** Function debug history */
|
|
52
|
+
readonly functionDebugHistory: "rtc_function_debug_history";
|
|
53
|
+
/** Function tree expand state: nodeId → isExpanded */
|
|
54
|
+
readonly functionTreeExpanded: "rtc_function_tree_expanded";
|
|
55
|
+
/** Function tree active (selected) function name */
|
|
56
|
+
readonly functionTreeActive: "rtc_function_tree_active";
|
|
51
57
|
};
|
|
52
58
|
//# sourceMappingURL=auth.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/config/auth.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAsBH;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAErD;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAWvD;AAgBD,iCAAiC;AACjC,eAAO,MAAM,WAAW;IACpB,yBAAyB;wBACR,MAAM;IAIvB,8DAA8D;yBAC5C,MAAM;IAMxB,kFAAkF;0BAC/D,MAAM;IAKzB,0DAA0D;;CAEpD,CAAC;AAEX,wBAAwB;AACxB,eAAO,MAAM,YAAY;;;;;;IAMrB,
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/config/auth.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAsBH;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAErD;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAWvD;AAgBD,iCAAiC;AACjC,eAAO,MAAM,WAAW;IACpB,yBAAyB;wBACR,MAAM;IAIvB,8DAA8D;yBAC5C,MAAM;IAMxB,kFAAkF;0BAC/D,MAAM;IAKzB,0DAA0D;;CAEpD,CAAC;AAEX,wBAAwB;AACxB,eAAO,MAAM,YAAY;;;;;;IAMrB,yCAAyC;;IAEzC,wDAAwD;;IAExD,2DAA2D;;IAE3D,oDAAoD;;IAEpD,4BAA4B;;IAE5B,iDAAiD;;IAEjD,6BAA6B;;IAE7B,sDAAsD;;IAEtD,oDAAoD;;CAE9C,CAAC"}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import type { Activity } from '../types/index.js';
|
|
2
2
|
/**
|
|
3
|
-
* Activity Context —
|
|
3
|
+
* Activity Context — current activity state and sidebar visibility.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
5
|
+
* Manages activity switching (Explorer/Chat/Settings) in a VS Code-style layout.
|
|
6
6
|
*
|
|
7
7
|
* Provided by: <rtc-agent> (root)
|
|
8
|
-
* Consumed by: <rtc-activity-bar>, <rtc-agent> (
|
|
8
|
+
* Consumed by: <rtc-activity-bar>, <rtc-agent> (layout conditional rendering)
|
|
9
9
|
*/
|
|
10
10
|
export interface ActivityState {
|
|
11
|
-
/**
|
|
11
|
+
/** Current activity */
|
|
12
12
|
active: Activity;
|
|
13
|
-
/**
|
|
13
|
+
/** Whether the sidebar is visible */
|
|
14
14
|
sidebarVisible: boolean;
|
|
15
15
|
}
|
|
16
16
|
export interface ActivityActions {
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Set activity (called when an activity icon is clicked)
|
|
19
19
|
*
|
|
20
|
-
*
|
|
21
|
-
* -
|
|
22
|
-
* -
|
|
20
|
+
* Logic:
|
|
21
|
+
* - If clicking the current activity → toggle sidebar
|
|
22
|
+
* - If clicking a different activity → switch activity and show sidebar
|
|
23
23
|
*/
|
|
24
24
|
setActivity(activity: Activity): void;
|
|
25
|
-
/**
|
|
25
|
+
/** Force show the sidebar */
|
|
26
26
|
showSidebar(): void;
|
|
27
|
-
/**
|
|
27
|
+
/** Force hide the sidebar */
|
|
28
28
|
hideSidebar(): void;
|
|
29
|
-
/** Toggle
|
|
29
|
+
/** Toggle the sidebar */
|
|
30
30
|
toggleSidebar(): void;
|
|
31
|
-
/**
|
|
31
|
+
/** Reset to default state */
|
|
32
32
|
reset(): void;
|
|
33
33
|
}
|
|
34
34
|
export interface ActivityContextValue {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activity.d.ts","sourceRoot":"","sources":["../../src/contexts/activity.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAEhD;;;;;;;GAOG;AACH,MAAM,WAAW,aAAa;IAC1B,
|
|
1
|
+
{"version":3,"file":"activity.d.ts","sourceRoot":"","sources":["../../src/contexts/activity.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAEhD;;;;;;;GAOG;AACH,MAAM,WAAW,aAAa;IAC1B,uBAAuB;IACvB,MAAM,EAAE,QAAQ,CAAC;IACjB,qCAAqC;IACrC,cAAc,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,eAAe;IAC5B;;;;;;OAMG;IACH,WAAW,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IACtC,6BAA6B;IAC7B,WAAW,IAAI,IAAI,CAAC;IACpB,6BAA6B;IAC7B,WAAW,IAAI,IAAI,CAAC;IACpB,yBAAyB;IACzB,aAAa,IAAI,IAAI,CAAC;IACtB,6BAA6B;IAC7B,KAAK,IAAI,IAAI,CAAC;CACjB;AAED,MAAM,WAAW,oBAAoB;IACjC,KAAK,EAAE,aAAa,CAAC;IACrB,OAAO,EAAE,eAAe,CAAC;CAC5B;AAED,eAAO,MAAM,eAAe;;CAE3B,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,aAGpC,CAAC"}
|
package/dist/contexts/auth.d.ts
CHANGED
|
@@ -8,10 +8,11 @@ import type { AuthState } from '../types/index.js';
|
|
|
8
8
|
* Note: Token persistence and OAuth2 flows are managed by AuthController.
|
|
9
9
|
* setTokens() is a root-level coordination method, NOT exposed on this context.
|
|
10
10
|
*
|
|
11
|
-
*
|
|
12
|
-
* AuthContext
|
|
13
|
-
*
|
|
14
|
-
*
|
|
11
|
+
* **Design exception**: Unlike other contexts that follow the `{state, actions}` pattern,
|
|
12
|
+
* AuthContext places `login`/`logout` directly at the top level (alongside `state`).
|
|
13
|
+
* Rationale: Auth has only two actions, so wrapping them in an `actions` sub-object
|
|
14
|
+
* would add unnecessary redundancy, and `el.login()` is more semantically intuitive
|
|
15
|
+
* than `el.actions.login()`.
|
|
15
16
|
*/
|
|
16
17
|
export interface AuthContextValue {
|
|
17
18
|
state: AuthState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/contexts/auth.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAEjD
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/contexts/auth.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAEjD;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,gBAAgB;IAC7B,KAAK,EAAE,SAAS,CAAC;IAEjB,qEAAqE;IACrE,KAAK,IAAI,IAAI,CAAC;IAEd,iDAAiD;IACjD,MAAM,IAAI,IAAI,CAAC;CAClB;AAED,eAAO,MAAM,WAAW;;CAEvB,CAAC;AAEF,0CAA0C;AAC1C,eAAO,MAAM,kBAAkB,EAAE,SAEhC,CAAC"}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import type { EditorViewMode } from '../types/index.js';
|
|
2
2
|
/**
|
|
3
|
-
* Editor Context —
|
|
3
|
+
* Editor Context — Editor state management.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* Manages editor state in a VS Code-style layout: toolbar availability, view mode,
|
|
6
|
+
* open tabs, and current active file.
|
|
7
7
|
*
|
|
8
|
-
* Phase 2.5
|
|
8
|
+
* Phase 2.5 implements only toolbar-related state; tab management is deferred to Phase 2.7.
|
|
9
9
|
*
|
|
10
10
|
* Provided by: <rtc-agent> (root)
|
|
11
11
|
* Consumed by: <rtc-editor-toolbar>, <rtc-editor-area>
|
|
12
12
|
*/
|
|
13
13
|
export interface EditorState {
|
|
14
|
-
/**
|
|
14
|
+
/** Current view mode */
|
|
15
15
|
viewMode: EditorViewMode;
|
|
16
|
-
/**
|
|
16
|
+
/** Whether the save button is enabled */
|
|
17
17
|
canSave: boolean;
|
|
18
|
-
/**
|
|
18
|
+
/** Whether the undo button is enabled */
|
|
19
19
|
canUndo: boolean;
|
|
20
|
-
/**
|
|
20
|
+
/** Whether the redo button is enabled */
|
|
21
21
|
canRedo: boolean;
|
|
22
22
|
}
|
|
23
23
|
export interface EditorActions {
|
|
24
|
-
/**
|
|
24
|
+
/** Set the view mode */
|
|
25
25
|
setViewMode(mode: EditorViewMode): void;
|
|
26
|
-
/**
|
|
26
|
+
/** Set save availability */
|
|
27
27
|
setCanSave(value: boolean): void;
|
|
28
|
-
/**
|
|
28
|
+
/** Set undo availability */
|
|
29
29
|
setCanUndo(value: boolean): void;
|
|
30
|
-
/**
|
|
30
|
+
/** Set redo availability */
|
|
31
31
|
setCanRedo(value: boolean): void;
|
|
32
|
-
/**
|
|
32
|
+
/** Reset state */
|
|
33
33
|
reset(): void;
|
|
34
34
|
}
|
|
35
35
|
export interface EditorContextValue {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../src/contexts/editor.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,mBAAmB,CAAC;AAEtD;;;;;;;;;;GAUG;AACH,MAAM,WAAW,WAAW;IACxB,
|
|
1
|
+
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../src/contexts/editor.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,mBAAmB,CAAC;AAEtD;;;;;;;;;;GAUG;AACH,MAAM,WAAW,WAAW;IACxB,wBAAwB;IACxB,QAAQ,EAAE,cAAc,CAAC;IACzB,yCAAyC;IACzC,OAAO,EAAE,OAAO,CAAC;IACjB,yCAAyC;IACzC,OAAO,EAAE,OAAO,CAAC;IACjB,yCAAyC;IACzC,OAAO,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,aAAa;IAC1B,wBAAwB;IACxB,WAAW,CAAC,IAAI,EAAE,cAAc,GAAG,IAAI,CAAC;IACxC,4BAA4B;IAC5B,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;IACjC,4BAA4B;IAC5B,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;IACjC,4BAA4B;IAC5B,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;IACjC,kBAAkB;IAClB,KAAK,IAAI,IAAI,CAAC;CACjB;AAED,MAAM,WAAW,kBAAkB;IAC/B,KAAK,EAAE,WAAW,CAAC;IACnB,OAAO,EAAE,aAAa,CAAC;CAC1B;AAED,eAAO,MAAM,aAAa;;CAEzB,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,WAKlC,CAAC"}
|