@ottocode/web-sdk 0.1.310 → 0.1.312

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.
Files changed (102) hide show
  1. package/dist/assets/provider-logos.d.ts +1 -0
  2. package/dist/assets/provider-logos.d.ts.map +1 -1
  3. package/dist/components/chat/ChatInput.d.ts +4 -0
  4. package/dist/components/chat/ChatInput.d.ts.map +1 -1
  5. package/dist/components/chat/ChatInputContainer.d.ts +4 -0
  6. package/dist/components/chat/ChatInputContainer.d.ts.map +1 -1
  7. package/dist/components/chat/ConfigModal.d.ts +3 -1
  8. package/dist/components/chat/ConfigModal.d.ts.map +1 -1
  9. package/dist/components/chat/ConfigSelector.d.ts.map +1 -1
  10. package/dist/components/chat/InputApprovalBar.d.ts.map +1 -1
  11. package/dist/components/chat/InputSecureInputBar.d.ts.map +1 -1
  12. package/dist/components/chat/InputSubagentsBar.d.ts.map +1 -1
  13. package/dist/components/chat/InputTodosBar.d.ts.map +1 -1
  14. package/dist/components/chat/NewSessionLanding.d.ts +4 -0
  15. package/dist/components/chat/NewSessionLanding.d.ts.map +1 -1
  16. package/dist/components/chat/input-bar-chrome.d.ts +24 -0
  17. package/dist/components/chat/input-bar-chrome.d.ts.map +1 -0
  18. package/dist/components/common/OttoOIcon.d.ts +8 -0
  19. package/dist/components/common/OttoOIcon.d.ts.map +1 -0
  20. package/dist/components/common/ProviderLogo.d.ts.map +1 -1
  21. package/dist/components/index.d.ts +3 -2
  22. package/dist/components/index.d.ts.map +1 -1
  23. package/dist/components/index.js +4718 -3514
  24. package/dist/components/index.js.map +46 -36
  25. package/dist/components/messages/MessageThreadContainer.d.ts +6 -0
  26. package/dist/components/messages/MessageThreadContainer.d.ts.map +1 -1
  27. package/dist/components/messages/OttoKickoffNotice.d.ts +15 -0
  28. package/dist/components/messages/OttoKickoffNotice.d.ts.map +1 -0
  29. package/dist/components/messages/OttoWakeupNotice.d.ts +12 -0
  30. package/dist/components/messages/OttoWakeupNotice.d.ts.map +1 -0
  31. package/dist/components/messages/UserMessageGroup.d.ts.map +1 -1
  32. package/dist/components/messages/compactActivity.d.ts.map +1 -1
  33. package/dist/components/messages/otto-notice-parsing.d.ts +43 -0
  34. package/dist/components/messages/otto-notice-parsing.d.ts.map +1 -0
  35. package/dist/components/messages/renderers/GoalToolRenderer.d.ts.map +1 -1
  36. package/dist/components/onboarding/OnboardingModal.d.ts.map +1 -1
  37. package/dist/components/onboarding/steps/ProviderSetupStep.d.ts +10 -0
  38. package/dist/components/onboarding/steps/ProviderSetupStep.d.ts.map +1 -1
  39. package/dist/components/otto/OttoGoalBar.d.ts +18 -0
  40. package/dist/components/otto/OttoGoalBar.d.ts.map +1 -0
  41. package/dist/components/otto/OttoSessionRail.d.ts +15 -0
  42. package/dist/components/otto/OttoSessionRail.d.ts.map +1 -0
  43. package/dist/components/otto/OttoSessionView.d.ts +14 -0
  44. package/dist/components/otto/OttoSessionView.d.ts.map +1 -0
  45. package/dist/components/otto/OttoTabBar.d.ts +20 -0
  46. package/dist/components/otto/OttoTabBar.d.ts.map +1 -0
  47. package/dist/components/otto/OttoWorkspace.d.ts +20 -0
  48. package/dist/components/otto/OttoWorkspace.d.ts.map +1 -0
  49. package/dist/components/otto/index.d.ts +7 -0
  50. package/dist/components/otto/index.d.ts.map +1 -0
  51. package/dist/components/sessions/SessionListContainer.d.ts +8 -0
  52. package/dist/components/sessions/SessionListContainer.d.ts.map +1 -1
  53. package/dist/components/subagents/SubagentFloatingViewer.d.ts +3 -2
  54. package/dist/components/subagents/SubagentFloatingViewer.d.ts.map +1 -1
  55. package/dist/components/titlebar/TitleBar.d.ts +48 -0
  56. package/dist/components/titlebar/TitleBar.d.ts.map +1 -0
  57. package/dist/hooks/index.d.ts +1 -0
  58. package/dist/hooks/index.d.ts.map +1 -1
  59. package/dist/hooks/index.js +267 -70
  60. package/dist/hooks/index.js.map +13 -12
  61. package/dist/hooks/useAgents.d.ts.map +1 -1
  62. package/dist/hooks/useAuthStatus.d.ts +5 -0
  63. package/dist/hooks/useAuthStatus.d.ts.map +1 -1
  64. package/dist/hooks/useChatComposer.d.ts.map +1 -1
  65. package/dist/hooks/useEdgeHover.d.ts +26 -0
  66. package/dist/hooks/useEdgeHover.d.ts.map +1 -0
  67. package/dist/hooks/useGoals.d.ts +34 -6
  68. package/dist/hooks/useGoals.d.ts.map +1 -1
  69. package/dist/hooks/useSessionStream.d.ts.map +1 -1
  70. package/dist/hooks/useSessions.d.ts +9 -2
  71. package/dist/hooks/useSessions.d.ts.map +1 -1
  72. package/dist/index.js +4864 -3571
  73. package/dist/index.js.map +48 -38
  74. package/dist/lib/api-client/auth.d.ts +10 -0
  75. package/dist/lib/api-client/auth.d.ts.map +1 -1
  76. package/dist/lib/api-client/goals.d.ts +9 -1
  77. package/dist/lib/api-client/goals.d.ts.map +1 -1
  78. package/dist/lib/api-client/index.d.ts +18 -0
  79. package/dist/lib/api-client/index.d.ts.map +1 -1
  80. package/dist/lib/api-client/sessions.d.ts +2 -0
  81. package/dist/lib/api-client/sessions.d.ts.map +1 -1
  82. package/dist/lib/index.js +45 -3
  83. package/dist/lib/index.js.map +6 -6
  84. package/dist/stores/index.d.ts +1 -1
  85. package/dist/stores/index.d.ts.map +1 -1
  86. package/dist/stores/index.js +57 -56
  87. package/dist/stores/index.js.map +6 -6
  88. package/dist/stores/subagentViewerStore.d.ts +20 -5
  89. package/dist/stores/subagentViewerStore.d.ts.map +1 -1
  90. package/dist/stores/workspaceTabStore.d.ts +14 -0
  91. package/dist/stores/workspaceTabStore.d.ts.map +1 -0
  92. package/dist/types/api.d.ts +2 -2
  93. package/dist/types/api.d.ts.map +1 -1
  94. package/package.json +3 -3
  95. package/dist/components/goals/GoalsSidebar.d.ts +0 -6
  96. package/dist/components/goals/GoalsSidebar.d.ts.map +0 -1
  97. package/dist/components/goals/GoalsSidebarToggle.d.ts +0 -6
  98. package/dist/components/goals/GoalsSidebarToggle.d.ts.map +0 -1
  99. package/dist/components/goals/index.d.ts +0 -3
  100. package/dist/components/goals/index.d.ts.map +0 -1
  101. package/dist/stores/goalsPanelStore.d.ts +0 -9
  102. package/dist/stores/goalsPanelStore.d.ts.map +0 -1
@@ -2,6 +2,12 @@ interface MessageThreadContainerProps {
2
2
  sessionId: string;
3
3
  onSelectSession?: (sessionId: string) => void;
4
4
  footerBottomPaddingClass?: string;
5
+ /**
6
+ * Force the compact thread renderer regardless of user preference. Used by
7
+ * otto orchestrator threads so otto's verify/complete/dispatch tool calls
8
+ * collapse into compact activity events instead of message bubbles.
9
+ */
10
+ forceCompact?: boolean;
5
11
  }
6
12
  export declare const MessageThreadContainer: import("react").NamedExoticComponent<MessageThreadContainerProps>;
7
13
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"MessageThreadContainer.d.ts","sourceRoot":"","sources":["../../../src/components/messages/MessageThreadContainer.tsx"],"names":[],"mappings":"AAUA,UAAU,2BAA2B;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,wBAAwB,CAAC,EAAE,MAAM,CAAC;CAClC;AAED,eAAO,MAAM,sBAAsB,mEAiBjC,CAAC"}
1
+ {"version":3,"file":"MessageThreadContainer.d.ts","sourceRoot":"","sources":["../../../src/components/messages/MessageThreadContainer.tsx"],"names":[],"mappings":"AAUA,UAAU,2BAA2B;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,sBAAsB,mEAmBjC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { type OttoNoticeTask } from './otto-notice-parsing';
2
+ export { isOttoKickoffMessage } from './otto-notice-parsing';
3
+ export declare const OttoTaskRow: import("react").NamedExoticComponent<{
4
+ task: OttoNoticeTask;
5
+ }>;
6
+ interface OttoKickoffNoticeProps {
7
+ content: string;
8
+ }
9
+ /**
10
+ * Compact rendering for the automated `<otto_kickoff>` message dispatched
11
+ * when a goal is started, instead of the raw tagged payload. Collapsible
12
+ * task list; model-facing instructions stay hidden.
13
+ */
14
+ export declare const OttoKickoffNotice: import("react").NamedExoticComponent<OttoKickoffNoticeProps>;
15
+ //# sourceMappingURL=OttoKickoffNotice.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OttoKickoffNotice.d.ts","sourceRoot":"","sources":["../../../src/components/messages/OttoKickoffNotice.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAoB,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAiB7D,eAAO,MAAM,WAAW;UAGjB,cAAc;EA2BnB,CAAC;AAEH,UAAU,sBAAsB;IAC/B,OAAO,EAAE,MAAM,CAAC;CAChB;AAED;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,8DA8D5B,CAAC"}
@@ -0,0 +1,12 @@
1
+ export { isOttoWakeupMessage } from './otto-notice-parsing';
2
+ interface OttoWakeupNoticeProps {
3
+ content: string;
4
+ }
5
+ /**
6
+ * Compact rendering for the automated `<otto_wakeup>` check-in message
7
+ * dispatched into otto when a worker run finishes, instead of the raw tagged
8
+ * payload. Header summarizes the worker run + goal progress; transcript and
9
+ * sub-agent details are expandable. Errored runs get error styling.
10
+ */
11
+ export declare const OttoWakeupNotice: import("react").NamedExoticComponent<OttoWakeupNoticeProps>;
12
+ //# sourceMappingURL=OttoWakeupNotice.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OttoWakeupNotice.d.ts","sourceRoot":"","sources":["../../../src/components/messages/OttoWakeupNotice.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAQ5D,UAAU,qBAAqB;IAC9B,OAAO,EAAE,MAAM,CAAC;CAChB;AAED;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,6DA+I3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UserMessageGroup.d.ts","sourceRoot":"","sources":["../../../src/components/messages/UserMessageGroup.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAiB/C,UAAU,qBAAqB;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,sBAAsB,CAAC,EAAE,MAAM,CAAC;CAChC;AAkBD,eAAO,MAAM,gBAAgB,6DA+Y5B,CAAC"}
1
+ {"version":3,"file":"UserMessageGroup.d.ts","sourceRoot":"","sources":["../../../src/components/messages/UserMessageGroup.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAmB/C,UAAU,qBAAqB;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,sBAAsB,CAAC,EAAE,MAAM,CAAC;CAChC;AAkBD,eAAO,MAAM,gBAAgB,6DAqZ5B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"compactActivity.d.ts","sourceRoot":"","sources":["../../../src/components/messages/compactActivity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAuBnD,UAAU,oBAAoB;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,UAAU,sBAAsB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,EAAE,CAAC;CAClB;AAoFD;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAUhE;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACtC,IAAI,EAAE,WAAW,GACf,oBAAoB,GAAG,IAAI,CAyP7B;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAC1C,KAAK,EAAE,WAAW,EAAE,GAClB,oBAAoB,EAAE,CA2BxB;AA2CD;;GAEG;AACH,wBAAgB,0BAA0B,CACzC,OAAO,EAAE,oBAAoB,EAAE,GAC7B,sBAAsB,CAiIxB;AAED,YAAY,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,CAAC"}
1
+ {"version":3,"file":"compactActivity.d.ts","sourceRoot":"","sources":["../../../src/components/messages/compactActivity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAuBnD,UAAU,oBAAoB;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,UAAU,sBAAsB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,EAAE,CAAC;CAClB;AAmKD;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAUhE;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACtC,IAAI,EAAE,WAAW,GACf,oBAAoB,GAAG,IAAI,CAiP7B;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAC1C,KAAK,EAAE,WAAW,EAAE,GAClB,oBAAoB,EAAE,CA2BxB;AA2CD;;GAEG;AACH,wBAAgB,0BAA0B,CACzC,OAAO,EAAE,oBAAoB,EAAE,GAC7B,sBAAsB,CAiIxB;AAED,YAAY,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,CAAC"}
@@ -0,0 +1,43 @@
1
+ export declare const OTTO_KICKOFF_TAG = "<otto_kickoff";
2
+ export declare const OTTO_WAKEUP_TAG = "<otto_wakeup";
3
+ /** True when a message is the automated otto goal-kickoff payload. */
4
+ export declare function isOttoKickoffMessage(content: string): boolean;
5
+ /** True when a message is the automated otto wakeup/check-in payload. */
6
+ export declare function isOttoWakeupMessage(content: string): boolean;
7
+ export interface OttoNoticeTask {
8
+ id: string;
9
+ status: string;
10
+ position: number;
11
+ content: string;
12
+ note?: string;
13
+ workerSessionId?: string;
14
+ }
15
+ export interface OttoKickoffData {
16
+ goalId: string;
17
+ title: string;
18
+ tasks: OttoNoticeTask[];
19
+ instructions: string;
20
+ }
21
+ export interface OttoWakeupSubagent {
22
+ agent: string;
23
+ status: string;
24
+ delivered?: boolean;
25
+ note?: string;
26
+ }
27
+ export interface OttoWakeupData {
28
+ workerSessionId: string;
29
+ workerAgent: string;
30
+ errored: boolean;
31
+ errorReason?: string;
32
+ goalId?: string;
33
+ goalTitle?: string;
34
+ tasks: OttoNoticeTask[];
35
+ transcript: string[];
36
+ subagents: OttoWakeupSubagent[];
37
+ instructions: string;
38
+ }
39
+ /** Parses the `<otto_kickoff>` payload into structured data. */
40
+ export declare function parseOttoKickoff(content: string): OttoKickoffData;
41
+ /** Parses the `<otto_wakeup>` payload into structured data. */
42
+ export declare function parseOttoWakeup(content: string): OttoWakeupData;
43
+ //# sourceMappingURL=otto-notice-parsing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"otto-notice-parsing.d.ts","sourceRoot":"","sources":["../../../src/components/messages/otto-notice-parsing.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,kBAAkB,CAAC;AAChD,eAAO,MAAM,eAAe,iBAAiB,CAAC;AAE9C,sEAAsE;AACtE,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAE7D;AAED,yEAAyE;AACzE,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAE5D;AAED,MAAM,WAAW,cAAc;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,eAAe;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,kBAAkB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,cAAc;IAC9B,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,SAAS,EAAE,kBAAkB,EAAE,CAAC;IAChC,YAAY,EAAE,MAAM,CAAC;CACrB;AAwCD,gEAAgE;AAChE,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,eAAe,CAMjE;AAED,+DAA+D;AAC/D,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,cAAc,CAgD/D"}
@@ -1 +1 @@
1
- {"version":3,"file":"GoalToolRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/messages/renderers/GoalToolRenderer.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AA0CpD,wBAAgB,gBAAgB,CAAC,EAChC,WAAW,EACX,cAAc,EACd,UAAU,EACV,QAAQ,EACR,OAAO,EACP,QAAQ,GACR,EAAE,oBAAoB,2CA8FtB"}
1
+ {"version":3,"file":"GoalToolRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/messages/renderers/GoalToolRenderer.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAwCpD,wBAAgB,gBAAgB,CAAC,EAChC,WAAW,EACX,cAAc,EACd,UAAU,EACV,QAAQ,EACR,OAAO,EACP,QAAQ,GACR,EAAE,oBAAoB,2CA8FtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"OnboardingModal.d.ts","sourceRoot":"","sources":["../../../src/components/onboarding/OnboardingModal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAQ5D,UAAU,oBAAoB;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,aAAa,CAAC;CACtB;AAED,eAAO,MAAM,eAAe,4DAmH1B,CAAC"}
1
+ {"version":3,"file":"OnboardingModal.d.ts","sourceRoot":"","sources":["../../../src/components/onboarding/OnboardingModal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAQ5D,UAAU,oBAAoB;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,aAAa,CAAC;CACtB;AAED,eAAO,MAAM,eAAe,4DAuH1B,CAAC"}
@@ -46,6 +46,16 @@ interface ProviderSetupStepProps {
46
46
  status: 'complete' | 'pending' | 'error';
47
47
  error?: string;
48
48
  }>;
49
+ onStartKimiDeviceFlow?: () => Promise<{
50
+ sessionId: string;
51
+ userCode: string;
52
+ verificationUri: string;
53
+ interval: number;
54
+ }>;
55
+ onPollKimiDeviceFlow?: (sessionId: string) => Promise<{
56
+ status: 'complete' | 'pending' | 'error';
57
+ error?: string;
58
+ }>;
49
59
  onGetCopilotAuthMethods?: () => Promise<{
50
60
  oauth: boolean;
51
61
  token: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"ProviderSetupStep.d.ts","sourceRoot":"","sources":["../../../../src/components/onboarding/steps/ProviderSetupStep.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAOlE,KAAK,2BAA2B,GAC7B,mBAAmB,GACnB,QAAQ,GACR,WAAW,GACX,QAAQ,GACR,YAAY,GACZ,QAAQ,CAAC;AAoBZ,UAAU,sBAAsB;IAC/B,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IACtC,cAAc,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IACzD,aAAa,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IACtE,mBAAmB,EAAE,CAAC,IAAI,EAAE;QAC3B,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,CAA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AE,MAAM,OAAO,CAAC;QAC1C,OAAO,EAAE,OAAO,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,IAAI,CAAC;QACb,UAAU,EAAE,MAAM,CAAC;QACnB,aAAa,EAAE,OAAO,CAAC;QACvB,YAAY,EAAE,MAAM,EAAE,CAAC;KACvB,CAAC,CAAC;IACH,uBAAuB,CAAC,EAAE,MAAM,OAAO,CAAC;QACvC,YAAY,EAAE,KAAK,CAAC;YACnB,MAAM,EAAE,KAAK,GAAG,QAAQ,CAAC;YACzB,UAAU,EAAE,OAAO,CAAC;YACpB,UAAU,CAAC,EAAE,MAAM,CAAC;YACpB,aAAa,CAAC,EAAE,OAAO,CAAC;YACxB,qBAAqB,CAAC,EAAE,OAAO,CAAC;YAChC,aAAa,CAAC,EAAE,MAAM,CAAC;YACvB,KAAK,CAAC,EAAE,MAAM,CAAC;SACf,CAAC,CAAC;QACH,OAAO,EAAE;YACR,KAAK,EAAE,OAAO,CAAC;YACf,KAAK,EAAE,OAAO,CAAC;YACf,QAAQ,EAAE;gBAAE,SAAS,EAAE,OAAO,CAAC;gBAAC,aAAa,EAAE,OAAO,CAAC;gBAAC,MAAM,CAAC,EAAE,MAAM,CAAA;aAAE,CAAC;SAC1E,CAAC;KACF,CAAC,CAAC;CACH;AAED,eAAO,MAAM,iBAAiB,8DA0gE5B,CAAC"}
@@ -0,0 +1,18 @@
1
+ interface OttoGoalBarProps {
2
+ sessionId: string;
3
+ }
4
+ /**
5
+ * Collapsible goals bar attached above the chat input of otto sessions, in
6
+ * the exact InputTodosBar interaction pattern. Collapsed: compact summary
7
+ * ("Goal | <current task> — n/m done"). Expanded: full task queue with
8
+ * add/remove affordances and worker transcript links. Resolves the goal
9
+ * attached to this session (goal.ottoSessionId === sessionId; when several
10
+ * match, the most recently created active goal wins) and hides itself with
11
+ * the grid-rows animation when no goal exists yet or while goals are still
12
+ * loading. A failed goals fetch shows a subtle inline notice instead of
13
+ * silently hiding. Only mount this for otto sessions — it owns the project
14
+ * goals query.
15
+ */
16
+ export declare const OttoGoalBar: import("react").NamedExoticComponent<OttoGoalBarProps>;
17
+ export {};
18
+ //# sourceMappingURL=OttoGoalBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OttoGoalBar.d.ts","sourceRoot":"","sources":["../../../src/components/otto/OttoGoalBar.tsx"],"names":[],"mappings":"AA8aA,UAAU,gBAAgB;IACzB,SAAS,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,WAAW,wDAiCtB,CAAC"}
@@ -0,0 +1,15 @@
1
+ interface OttoSessionRailProps {
2
+ activeSessionId?: string;
3
+ onSelectSession: (sessionId: string) => void;
4
+ /** See SessionListContainer: host floats an h-12 header over the list. */
5
+ hasOverlayHeader?: boolean;
6
+ }
7
+ /**
8
+ * Left rail for the Otto tab: lists otto sessions using the same
9
+ * session-list primitive as the Agents tab. Selection is route state owned
10
+ * by the host app (e.g. navigating to /otto/$sessionId). Renders nothing
11
+ * when otto is disabled on the server (`useOttoEnabled()`).
12
+ */
13
+ export declare const OttoSessionRail: import("react").NamedExoticComponent<OttoSessionRailProps>;
14
+ export {};
15
+ //# sourceMappingURL=OttoSessionRail.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OttoSessionRail.d.ts","sourceRoot":"","sources":["../../../src/components/otto/OttoSessionRail.tsx"],"names":[],"mappings":"AAIA,UAAU,oBAAoB;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,0EAA0E;IAC1E,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED;;;;;GAKG;AACH,eAAO,MAAM,eAAe,4DAgB1B,CAAC"}
@@ -0,0 +1,14 @@
1
+ interface OttoSessionViewProps {
2
+ sessionId: string;
3
+ onNewSession?: () => void;
4
+ onDeleteSession?: () => void;
5
+ }
6
+ /**
7
+ * An otto session rendered with the standard session experience: the normal
8
+ * message thread (SessionHeader/LeanHeader included) and the full chat input
9
+ * (provider/model editable; agent locked to otto). The goals bar attaches to
10
+ * the chat input alongside InputTodosBar — the session header stays clean.
11
+ */
12
+ export declare const OttoSessionView: import("react").NamedExoticComponent<OttoSessionViewProps>;
13
+ export {};
14
+ //# sourceMappingURL=OttoSessionView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OttoSessionView.d.ts","sourceRoot":"","sources":["../../../src/components/otto/OttoSessionView.tsx"],"names":[],"mappings":"AAKA,UAAU,oBAAoB;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED;;;;;GAKG;AACH,eAAO,MAAM,eAAe,4DAkB1B,CAAC"}
@@ -0,0 +1,20 @@
1
+ export type WorkspaceTab = 'agents' | 'otto';
2
+ interface OttoTabBarProps {
3
+ activeTab: WorkspaceTab;
4
+ onTabChange: (tab: WorkspaceTab) => void;
5
+ /**
6
+ * 'sidebar' (default): full-width tab row for the left sidebar.
7
+ * 'titlebar': compact segmented control for the top title bar.
8
+ */
9
+ variant?: 'sidebar' | 'titlebar';
10
+ }
11
+ /**
12
+ * Top-level workspace tab switcher: Chats (direct sessions) vs Otto (goal
13
+ * orchestrator). Controlled by the host app — typically backed by routes
14
+ * (/sessions vs /otto) so refreshes land on the same tab. Renders nothing
15
+ * when otto is disabled on the server (`useOttoEnabled()`); hosts should
16
+ * treat the active tab as 'agents' in that case.
17
+ */
18
+ export declare const OttoTabBar: import("react").NamedExoticComponent<OttoTabBarProps>;
19
+ export {};
20
+ //# sourceMappingURL=OttoTabBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OttoTabBar.d.ts","sourceRoot":"","sources":["../../../src/components/otto/OttoTabBar.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,MAAM,CAAC;AAO7C,UAAU,eAAe;IACxB,SAAS,EAAE,YAAY,CAAC;IACxB,WAAW,EAAE,CAAC,GAAG,EAAE,YAAY,KAAK,IAAI,CAAC;IACzC;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;CACjC;AAED;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,uDA+DrB,CAAC"}
@@ -0,0 +1,20 @@
1
+ interface OttoWorkspaceProps {
2
+ /** Otto session to show; undefined renders the new-session landing. */
3
+ sessionId?: string;
4
+ /** Called with the new session id after the landing creates one. */
5
+ onSessionCreated: (sessionId: string) => void;
6
+ onNewSession?: () => void;
7
+ onDeleteSession?: () => void;
8
+ }
9
+ /**
10
+ * Main area of the Otto tab — mirrors the Agents tab exactly: a new-session
11
+ * landing when no session is selected (chatting there creates the otto
12
+ * session; the goal is created through that conversation) and the normal
13
+ * session view once a session is selected. Selection is route state owned by
14
+ * the host app (e.g. /otto/$sessionId). When otto is disabled on the server
15
+ * (`useOttoEnabled()`), shows a disabled notice instead — hosts should
16
+ * ideally not route here at all in that case.
17
+ */
18
+ export declare const OttoWorkspace: import("react").NamedExoticComponent<OttoWorkspaceProps>;
19
+ export {};
20
+ //# sourceMappingURL=OttoWorkspace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OttoWorkspace.d.ts","sourceRoot":"","sources":["../../../src/components/otto/OttoWorkspace.tsx"],"names":[],"mappings":"AAMA,UAAU,kBAAkB;IAC3B,uEAAuE;IACvE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oEAAoE;IACpE,gBAAgB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa,0DAwCxB,CAAC"}
@@ -0,0 +1,7 @@
1
+ export { OttoTabBar, type WorkspaceTab } from './OttoTabBar';
2
+ export { OttoSessionRail } from './OttoSessionRail';
3
+ export { OttoWorkspace } from './OttoWorkspace';
4
+ export { OttoSessionView } from './OttoSessionView';
5
+ export { OttoGoalBar } from './OttoGoalBar';
6
+ export { useOttoEnabled } from '../../hooks/useGoals';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/otto/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC"}
@@ -1,6 +1,14 @@
1
+ import { type SessionListFilter } from '../../hooks/useSessions';
1
2
  interface SessionListContainerProps {
2
3
  activeSessionId?: string;
3
4
  onSelectSession: (sessionId: string) => void;
5
+ sessionType?: SessionListFilter;
6
+ emptyMessage?: string;
7
+ /**
8
+ * Set when the host floats an absolutely-positioned h-12 header over the
9
+ * list: adds a matching top spacer and offsets sticky group headers.
10
+ */
11
+ hasOverlayHeader?: boolean;
4
12
  }
5
13
  export declare const SessionListContainer: import("react").NamedExoticComponent<SessionListContainerProps>;
6
14
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"SessionListContainer.d.ts","sourceRoot":"","sources":["../../../src/components/sessions/SessionListContainer.tsx"],"names":[],"mappings":"AAeA,UAAU,yBAAyB;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7C;AAmGD,eAAO,MAAM,oBAAoB,iEA0U/B,CAAC"}
1
+ {"version":3,"file":"SessionListContainer.d.ts","sourceRoot":"","sources":["../../../src/components/sessions/SessionListContainer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAIN,KAAK,iBAAiB,EACtB,MAAM,yBAAyB,CAAC;AASjC,UAAU,yBAAyB;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC3B;AAmGD,eAAO,MAAM,oBAAoB,iEAmV/B,CAAC"}
@@ -1,6 +1,7 @@
1
1
  /**
2
- * Floating read-only viewer for a running/finished sub-agent session,
3
- * styled like the BTW floating chat. Streams the child session live.
2
+ * Floating read-only viewers for running/finished sub-agent sessions.
3
+ * Supports multiple boxes at once; each is draggable via its header and
4
+ * keeps its position (per child session) while the app is open.
4
5
  */
5
6
  export declare const SubagentFloatingViewer: import("react").NamedExoticComponent<object>;
6
7
  //# sourceMappingURL=SubagentFloatingViewer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SubagentFloatingViewer.d.ts","sourceRoot":"","sources":["../../../src/components/subagents/SubagentFloatingViewer.tsx"],"names":[],"mappings":"AAUA;;;GAGG;AACH,eAAO,MAAM,sBAAsB,8CA+DjC,CAAC"}
1
+ {"version":3,"file":"SubagentFloatingViewer.d.ts","sourceRoot":"","sources":["../../../src/components/subagents/SubagentFloatingViewer.tsx"],"names":[],"mappings":"AA+KA;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,8CAuCjC,CAAC"}
@@ -0,0 +1,48 @@
1
+ import type { MouseEvent, ReactNode } from 'react';
2
+ import type { Theme } from '../../hooks/useTheme';
3
+ interface TitleBarButtonProps {
4
+ onClick: () => void;
5
+ title?: string;
6
+ ariaLabel?: string;
7
+ ariaPressed?: boolean;
8
+ children: ReactNode;
9
+ }
10
+ /** Standard 32x32 icon button used inside the {@link TitleBar}. */
11
+ export declare function TitleBarButton({ onClick, title, ariaLabel, ariaPressed, children, }: TitleBarButtonProps): import("react/jsx-runtime").JSX.Element;
12
+ /** Toggles the left sessions sidebar (backed by `useSidebarStore`). */
13
+ export declare const TitleBarSidebarToggle: import("react").NamedExoticComponent<object>;
14
+ /** Toggles the right rail pin state (backed by `useRightRailStore`). */
15
+ export declare const TitleBarRightRailToggle: import("react").NamedExoticComponent<object>;
16
+ interface TitleBarThemeToggleProps {
17
+ theme: Theme;
18
+ onToggleTheme: () => void;
19
+ }
20
+ /** Light/dark theme toggle button for the {@link TitleBar}. */
21
+ export declare const TitleBarThemeToggle: import("react").NamedExoticComponent<TitleBarThemeToggleProps>;
22
+ export interface TitleBarProps {
23
+ /** Centered title text (absolutely positioned, never shifts layout). */
24
+ title?: ReactNode;
25
+ /** Renders a back arrow button at the very start. */
26
+ onBack?: () => void;
27
+ /** Show the left-sidebar toggle (default true). */
28
+ showSidebarToggle?: boolean;
29
+ /** Extra content after the leading toggles (e.g. workspace tabs). */
30
+ leading?: ReactNode;
31
+ /** Content on the right side (status, theme toggle, window controls…). */
32
+ trailing?: ReactNode;
33
+ /** Inset leading content for macOS traffic lights. */
34
+ leadingInset?: boolean;
35
+ /** Mark the bar as a native drag region (Tauri). */
36
+ dragRegion?: boolean;
37
+ /** Mouse-down handler (e.g. to start native window dragging). */
38
+ onMouseDown?: (e: MouseEvent<HTMLDivElement>) => void;
39
+ className?: string;
40
+ }
41
+ /**
42
+ * Shared application title bar: back button, sidebar toggle, optional
43
+ * centered title, and host-provided leading/trailing content. Used by the
44
+ * desktop app (with native drag + window controls) and the web app.
45
+ */
46
+ export declare const TitleBar: import("react").NamedExoticComponent<TitleBarProps>;
47
+ export {};
48
+ //# sourceMappingURL=TitleBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TitleBar.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,CAAC,KAAK,IAAI,CAAC;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;GAIG;AACH,eAAO,MAAM,QAAQ,qDA4CnB,CAAC"}
@@ -31,6 +31,7 @@ export * from './useAgents';
31
31
  export * from './useChatComposer';
32
32
  export * from './useConfigModalControls';
33
33
  export * from './useContainerWidth';
34
+ export * from './useEdgeHover';
34
35
  export * from './useVoiceInput';
35
36
  export * from './useDictationModels';
36
37
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AACA,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,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