explorbot 0.1.30 → 0.1.32-beta.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.
Files changed (179) hide show
  1. package/dist/boat/api-tester/example/apibot.config.js +30 -0
  2. package/dist/package.json +11 -26
  3. package/dist/src/action-result.d.ts +133 -0
  4. package/dist/src/action-result.js +22 -7
  5. package/dist/src/action.d.ts +50 -0
  6. package/dist/src/action.js +10 -5
  7. package/dist/src/activity.d.ts +26 -0
  8. package/dist/src/ai/agent.d.ts +3 -0
  9. package/dist/src/ai/captain/file-tools.d.ts +28 -0
  10. package/dist/src/ai/captain/idle-mode.d.ts +11 -0
  11. package/dist/src/ai/captain/mixin.d.ts +10 -0
  12. package/dist/src/ai/captain/test-mode.d.ts +13 -0
  13. package/dist/src/ai/captain/web-mode.d.ts +13 -0
  14. package/dist/src/ai/captain.d.ts +143 -0
  15. package/dist/src/ai/conversation.d.ts +31 -0
  16. package/dist/src/ai/conversation.js +1 -1
  17. package/dist/src/ai/driller.d.ts +161 -0
  18. package/dist/src/ai/experience-compactor.d.ts +53 -0
  19. package/dist/src/ai/fisherman-tools.d.ts +90 -0
  20. package/dist/src/ai/fisherman.d.ts +30 -0
  21. package/dist/src/ai/historian/codeceptjs.d.ts +15 -0
  22. package/dist/src/ai/historian/experience.d.ts +40 -0
  23. package/dist/src/ai/historian/mixin.d.ts +2 -0
  24. package/dist/src/ai/historian/playwright.d.ts +20 -0
  25. package/dist/src/ai/historian/screencast.d.ts +32 -0
  26. package/dist/src/ai/historian/utils.d.ts +4 -0
  27. package/dist/src/ai/historian.d.ts +108 -0
  28. package/dist/src/ai/navigator.d.ts +56 -0
  29. package/dist/src/ai/pilot.d.ts +83 -0
  30. package/dist/src/ai/planner/session-dedup.d.ts +12 -0
  31. package/dist/src/ai/planner/styles.d.ts +6 -0
  32. package/dist/src/ai/planner/subpages.d.ts +35 -0
  33. package/dist/src/ai/planner.d.ts +79 -0
  34. package/dist/src/ai/provider.d.ts +50 -0
  35. package/dist/src/ai/provider.js +13 -5
  36. package/dist/src/ai/quartermaster.d.ts +57 -0
  37. package/dist/src/ai/rerunner.d.ts +49 -0
  38. package/dist/src/ai/researcher/cache.d.ts +6 -0
  39. package/dist/src/ai/researcher/coordinates.d.ts +56 -0
  40. package/dist/src/ai/researcher/deep-analysis.d.ts +74 -0
  41. package/dist/src/ai/researcher/fingerprint-worker.d.ts +1 -0
  42. package/dist/src/ai/researcher/focus.d.ts +8 -0
  43. package/dist/src/ai/researcher/locators.d.ts +36 -0
  44. package/dist/src/ai/researcher/mixin.d.ts +2 -0
  45. package/dist/src/ai/researcher/parser.d.ts +35 -0
  46. package/dist/src/ai/researcher/research-result.d.ts +16 -0
  47. package/dist/src/ai/researcher/sections.d.ts +19 -0
  48. package/dist/src/ai/rules.d.ts +15 -0
  49. package/dist/src/ai/session-analyst.d.ts +11 -0
  50. package/dist/src/ai/task-agent.d.ts +28 -0
  51. package/dist/src/ai/tester.d.ts +103 -0
  52. package/dist/src/ai/tools.d.ts +41 -0
  53. package/dist/src/api/api-client.d.ts +17 -0
  54. package/dist/src/api/request-result.d.ts +44 -0
  55. package/dist/src/api/request-store.d.ts +29 -0
  56. package/dist/src/api/spec-reader.d.ts +5 -0
  57. package/dist/src/api/xhr-capture.d.ts +10 -0
  58. package/dist/src/browser-server.d.ts +10 -0
  59. package/dist/src/command-handler.d.ts +68 -0
  60. package/dist/src/commands/add-rule-command.d.ts +11 -0
  61. package/dist/src/commands/base-command.d.ts +26 -0
  62. package/dist/src/commands/clean-command.d.ts +12 -0
  63. package/dist/src/commands/compact-command.d.ts +20 -0
  64. package/dist/src/commands/context-aria-command.d.ts +6 -0
  65. package/dist/src/commands/context-command.d.ts +11 -0
  66. package/dist/src/commands/context-data-command.d.ts +6 -0
  67. package/dist/src/commands/context-experience-command.d.ts +6 -0
  68. package/dist/src/commands/context-html-command.d.ts +6 -0
  69. package/dist/src/commands/context-knowledge-command.d.ts +6 -0
  70. package/dist/src/commands/debug-command.d.ts +6 -0
  71. package/dist/src/commands/drill-command.d.ts +10 -0
  72. package/dist/src/commands/exit-command.d.ts +7 -0
  73. package/dist/src/commands/experience-command.d.ts +15 -0
  74. package/dist/src/commands/explore-command.d.ts +51 -0
  75. package/dist/src/commands/freesail-command.d.ts +12 -0
  76. package/dist/src/commands/help-command.d.ts +6 -0
  77. package/dist/src/commands/index.d.ts +4 -0
  78. package/dist/src/commands/init-command.d.ts +7 -0
  79. package/dist/src/commands/knows-command.d.ts +10 -0
  80. package/dist/src/commands/learn-command.d.ts +7 -0
  81. package/dist/src/commands/navigate-command.d.ts +7 -0
  82. package/dist/src/commands/path-command.d.ts +10 -0
  83. package/dist/src/commands/plan-clear-command.d.ts +7 -0
  84. package/dist/src/commands/plan-command.d.ts +14 -0
  85. package/dist/src/commands/plan-edit-command.d.ts +7 -0
  86. package/dist/src/commands/plan-load-command.d.ts +7 -0
  87. package/dist/src/commands/plan-reload-command.d.ts +7 -0
  88. package/dist/src/commands/plan-save-command.d.ts +7 -0
  89. package/dist/src/commands/plans-command.d.ts +21 -0
  90. package/dist/src/commands/rerun-command.d.ts +7 -0
  91. package/dist/src/commands/research-command.d.ts +11 -0
  92. package/dist/src/commands/runs-command.d.ts +7 -0
  93. package/dist/src/commands/start-command.d.ts +7 -0
  94. package/dist/src/commands/status-command.d.ts +6 -0
  95. package/dist/src/commands/test-command.d.ts +11 -0
  96. package/dist/src/components/ActivityPane.d.ts +6 -0
  97. package/dist/src/components/AddKnowledge.d.ts +8 -0
  98. package/dist/src/components/AddRule.d.ts +9 -0
  99. package/dist/src/components/App.d.ts +9 -0
  100. package/dist/src/components/Autocomplete.d.ts +3 -0
  101. package/dist/src/components/InputPane.d.ts +13 -0
  102. package/dist/src/components/InputReadline.d.ts +17 -0
  103. package/dist/src/components/LogPane.d.ts +6 -0
  104. package/dist/src/components/PlanEditor.d.ts +9 -0
  105. package/dist/src/components/PlanPane.d.ts +13 -0
  106. package/dist/src/components/SessionTimer.d.ts +6 -0
  107. package/dist/src/components/StateTransitionPane.d.ts +8 -0
  108. package/dist/src/components/StatusPane.d.ts +4 -0
  109. package/dist/src/components/TaskPane.d.ts +9 -0
  110. package/dist/src/components/Welcome.d.ts +3 -0
  111. package/dist/src/components/WelcomeChecklist.d.ts +9 -0
  112. package/dist/src/components/WelcomeCommands.d.ts +6 -0
  113. package/dist/src/components/autocomplete-store.d.ts +10 -0
  114. package/dist/src/components/parse-keypress.d.ts +12 -0
  115. package/dist/src/config.d.ts +251 -0
  116. package/dist/src/execution-controller.d.ts +25 -0
  117. package/dist/src/experience-tracker.d.ts +107 -0
  118. package/dist/src/experience-tracker.js +2 -1
  119. package/dist/src/explorbot.d.ts +107 -0
  120. package/dist/src/explorer.d.ts +140 -0
  121. package/dist/src/explorer.js +13 -9
  122. package/dist/src/index.d.ts +6 -0
  123. package/dist/src/index.js +2 -55
  124. package/dist/src/knowledge-tracker.d.ts +33 -0
  125. package/dist/src/knowledge-tracker.js +9 -2
  126. package/dist/src/observability.d.ts +13 -0
  127. package/dist/src/observability.js +2 -1
  128. package/dist/src/playwright-recorder.d.ts +31 -0
  129. package/dist/src/reporter.d.ts +34 -0
  130. package/dist/src/state-manager.d.ts +185 -0
  131. package/dist/src/state-manager.js +0 -7
  132. package/dist/src/stats.d.ts +24 -0
  133. package/dist/src/suite.d.ts +24 -0
  134. package/dist/src/test-plan.d.ts +166 -0
  135. package/dist/src/utils/aria.d.ts +20 -0
  136. package/dist/src/utils/browser-errors.d.ts +8 -0
  137. package/dist/src/utils/cli-name.d.ts +1 -0
  138. package/dist/src/utils/code-extractor.d.ts +1 -0
  139. package/dist/src/utils/context-formatter.d.ts +25 -0
  140. package/dist/src/utils/error-page.d.ts +12 -0
  141. package/dist/src/utils/expandable.d.ts +4 -0
  142. package/dist/src/utils/hooks-runner.d.ts +15 -0
  143. package/dist/src/utils/html-diff.d.ts +19 -0
  144. package/dist/src/utils/html.d.ts +124 -0
  145. package/dist/src/utils/log-filters.d.ts +6 -0
  146. package/dist/src/utils/logger.d.ts +35 -0
  147. package/dist/src/utils/loop.d.ts +35 -0
  148. package/dist/src/utils/markdown-parser.d.ts +17 -0
  149. package/dist/src/utils/markdown-query.d.ts +40 -0
  150. package/dist/src/utils/markdown-terminal.d.ts +1 -0
  151. package/dist/src/utils/next-steps.d.ts +11 -0
  152. package/dist/src/utils/page-readiness.d.ts +6 -0
  153. package/dist/src/utils/research-parser.d.ts +1 -0
  154. package/dist/src/utils/retry.d.ts +8 -0
  155. package/dist/src/utils/rules-loader.d.ts +12 -0
  156. package/dist/src/utils/secrets.d.ts +4 -0
  157. package/dist/src/utils/secrets.js +28 -0
  158. package/dist/src/utils/step-analyzer.d.ts +11 -0
  159. package/dist/src/utils/strings.d.ts +3 -0
  160. package/dist/src/utils/test-files.d.ts +3 -0
  161. package/dist/src/utils/test-plan-markdown.d.ts +9 -0
  162. package/dist/src/utils/throttle.d.ts +2 -0
  163. package/dist/src/utils/unique-names.d.ts +2 -0
  164. package/dist/src/utils/url-matcher.d.ts +6 -0
  165. package/dist/src/utils/web-element.d.ts +44 -0
  166. package/dist/src/utils/xpath.d.ts +17 -0
  167. package/package.json +11 -26
  168. package/src/action-result.ts +22 -7
  169. package/src/action.ts +12 -5
  170. package/src/ai/conversation.ts +1 -1
  171. package/src/ai/provider.ts +13 -5
  172. package/src/experience-tracker.ts +2 -1
  173. package/src/explorer.ts +14 -9
  174. package/src/index.ts +9 -0
  175. package/src/knowledge-tracker.ts +7 -1
  176. package/src/observability.ts +2 -1
  177. package/src/state-manager.ts +0 -8
  178. package/src/utils/secrets.ts +29 -0
  179. package/src/index.tsx +0 -62
@@ -0,0 +1,51 @@
1
+ import { type Plan, type Test } from '../test-plan.js';
2
+ import { BaseCommand, type Suggestion } from './base-command.js';
3
+ export declare class ExploreCommand extends BaseCommand {
4
+ name: string;
5
+ description: string;
6
+ options: {
7
+ flags: string;
8
+ description: string;
9
+ }[];
10
+ suggestions: Suggestion[];
11
+ maxTests?: number;
12
+ dryRun: boolean;
13
+ testsRun: number;
14
+ completedPlans: Plan[];
15
+ failedSubPages: Set<string>;
16
+ oldTestRefs: Set<Test>;
17
+ priorityFilter?: Set<string>;
18
+ getCurrentPageUrl(): string | undefined;
19
+ execute(args: string): Promise<void>;
20
+ originLabel(test: Test): string;
21
+ printPreview(label: string, tests: Test[]): void;
22
+ runFreshMode(mainUrl: string | undefined, feature: string | undefined, styles?: string[]): Promise<void>;
23
+ runReuseMode(mainUrl: string | undefined, feature: string | undefined, cfg: ConfigureSpec): Promise<void>;
24
+ discoverNewSubPages(mainPlan: Plan, mainUrl: string | undefined, styles: string[] | undefined, knownUrls: Set<string>): Promise<void>;
25
+ replanAndRun(pageUrl: string | undefined, feature: string | undefined, existingPlan: Plan, styles?: string[]): Promise<void>;
26
+ runAllStyles(pageUrl?: string, feature?: string, parentPlan?: Plan, completedPlans?: Plan[], styles?: string[]): Promise<void>;
27
+ rememberCurrentPlan(): void;
28
+ planWithRetry(feature: string | undefined, opts: {
29
+ fresh: boolean;
30
+ style: string;
31
+ extend?: Plan;
32
+ completedPlans?: Plan[];
33
+ noSave?: boolean;
34
+ }, pageUrl?: string): Promise<void>;
35
+ parseConfigure(raw: string | undefined): ConfigureSpec;
36
+ printResults(): void;
37
+ printNextSteps(savedPlanPath?: string | null): void;
38
+ isLimitReached(): boolean;
39
+ runPendingTests(): Promise<void>;
40
+ runOneTest(test: Test): Promise<void>;
41
+ }
42
+ interface ConfigureSpec {
43
+ enabled: boolean;
44
+ newRatio: number;
45
+ fromPath?: string;
46
+ styles?: string[];
47
+ subpages?: 'none' | 'same' | 'new' | 'both';
48
+ pickBy?: 'priority' | 'random' | 'index';
49
+ priorities?: string[];
50
+ }
51
+ export {};
@@ -0,0 +1,12 @@
1
+ import { BaseCommand } from './base-command.js';
2
+ export declare class FreesailCommand extends BaseCommand {
3
+ name: string;
4
+ description: string;
5
+ aliases: string[];
6
+ tuiEnabled: boolean;
7
+ options: {
8
+ flags: string;
9
+ description: string;
10
+ }[];
11
+ execute(args: string): Promise<void>;
12
+ }
@@ -0,0 +1,6 @@
1
+ import { BaseCommand } from './base-command.js';
2
+ export declare class HelpCommand extends BaseCommand {
3
+ name: string;
4
+ description: string;
5
+ execute(_args: string): Promise<void>;
6
+ }
@@ -0,0 +1,4 @@
1
+ import type { ExplorBot } from '../explorbot.js';
2
+ import type { BaseCommand } from './base-command.js';
3
+ export { BaseCommand } from './base-command.js';
4
+ export declare function createCommands(explorBot: ExplorBot): BaseCommand[];
@@ -0,0 +1,7 @@
1
+ export declare function runInitCommand(options: InitCommandOptions): void;
2
+ type InitCommandOptions = {
3
+ configPath?: string;
4
+ force?: boolean;
5
+ path?: string;
6
+ };
7
+ export {};
@@ -0,0 +1,10 @@
1
+ import { BaseCommand } from './base-command.js';
2
+ export declare function formatKnowledgeList(knowledge: Array<{
3
+ url: string;
4
+ firstLine: string;
5
+ }>, limit?: number): string;
6
+ export declare class KnowsCommand extends BaseCommand {
7
+ name: string;
8
+ description: string;
9
+ execute(args: string, limit?: number): Promise<void>;
10
+ }
@@ -0,0 +1,7 @@
1
+ import { BaseCommand, type Suggestion } from './base-command.js';
2
+ export declare class LearnCommand extends BaseCommand {
3
+ name: string;
4
+ description: string;
5
+ suggestions: Suggestion[];
6
+ execute(args: string): Promise<void>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { BaseCommand, type Suggestion } from './base-command.js';
2
+ export declare class NavigateCommand extends BaseCommand {
3
+ name: string;
4
+ description: string;
5
+ suggestions: Suggestion[];
6
+ execute(args: string): Promise<void>;
7
+ }
@@ -0,0 +1,10 @@
1
+ import { BaseCommand } from './base-command.js';
2
+ export declare class PathCommand extends BaseCommand {
3
+ name: string;
4
+ description: string;
5
+ options: {
6
+ flags: string;
7
+ description: string;
8
+ }[];
9
+ execute(args: string): Promise<void>;
10
+ }
@@ -0,0 +1,7 @@
1
+ import { BaseCommand, type Suggestion } from './base-command.js';
2
+ export declare class PlanClearCommand extends BaseCommand {
3
+ name: string;
4
+ description: string;
5
+ suggestions: Suggestion[];
6
+ execute(args: string): Promise<void>;
7
+ }
@@ -0,0 +1,14 @@
1
+ import { BaseCommand, type Suggestion } from './base-command.js';
2
+ export declare class PlanCommand extends BaseCommand {
3
+ name: string;
4
+ description: string;
5
+ suggestions: Suggestion[];
6
+ options: {
7
+ flags: string;
8
+ description: string;
9
+ }[];
10
+ execute(args: string): Promise<void>;
11
+ printNextSteps(): void;
12
+ printPlanSummary(): void;
13
+ updateSuggestions(): void;
14
+ }
@@ -0,0 +1,7 @@
1
+ import { BaseCommand, type Suggestion } from './base-command.js';
2
+ export declare class PlanEditCommand extends BaseCommand {
3
+ name: string;
4
+ description: string;
5
+ suggestions: Suggestion[];
6
+ execute(_args: string): Promise<void>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { BaseCommand, type Suggestion } from './base-command.js';
2
+ export declare class PlanLoadCommand extends BaseCommand {
3
+ name: string;
4
+ description: string;
5
+ suggestions: Suggestion[];
6
+ execute(args: string): Promise<void>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { BaseCommand, type Suggestion } from './base-command.js';
2
+ export declare class PlanReloadCommand extends BaseCommand {
3
+ name: string;
4
+ description: string;
5
+ suggestions: Suggestion[];
6
+ execute(args: string): Promise<void>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { BaseCommand, type Suggestion } from './base-command.js';
2
+ export declare class PlanSaveCommand extends BaseCommand {
3
+ name: string;
4
+ description: string;
5
+ suggestions: Suggestion[];
6
+ execute(args: string): Promise<void>;
7
+ }
@@ -0,0 +1,21 @@
1
+ import { Plan } from '../test-plan.js';
2
+ import { BaseCommand } from './base-command.js';
3
+ export declare class PlansCommand extends BaseCommand {
4
+ name: string;
5
+ description: string;
6
+ options: {
7
+ flags: string;
8
+ description: string;
9
+ }[];
10
+ execute(args: string): Promise<void>;
11
+ getPlanFiles(): PlanFile[];
12
+ printPlans(files: PlanFile[]): void;
13
+ printPlanDetails(plan: Plan, file: PlanFile): void;
14
+ resolvePlanFile(target: string, files: PlanFile[]): PlanFile;
15
+ }
16
+ interface PlanFile {
17
+ name: string;
18
+ path: string;
19
+ modifiedAt: number;
20
+ }
21
+ export {};
@@ -0,0 +1,7 @@
1
+ import { BaseCommand } from './base-command.js';
2
+ export declare class RerunCommand extends BaseCommand {
3
+ name: string;
4
+ description: string;
5
+ tuiEnabled: boolean;
6
+ execute(args: string): Promise<void>;
7
+ }
@@ -0,0 +1,11 @@
1
+ import { BaseCommand, type Suggestion } from './base-command.js';
2
+ export declare class ResearchCommand extends BaseCommand {
3
+ name: string;
4
+ description: string;
5
+ suggestions: Suggestion[];
6
+ options: {
7
+ flags: string;
8
+ description: string;
9
+ }[];
10
+ execute(args: string): Promise<void>;
11
+ }
@@ -0,0 +1,7 @@
1
+ import { BaseCommand } from './base-command.js';
2
+ export declare class RunsCommand extends BaseCommand {
3
+ name: string;
4
+ description: string;
5
+ tuiEnabled: boolean;
6
+ execute(args: string): Promise<void>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { BaseCommand, type Suggestion } from './base-command.js';
2
+ export declare class StartCommand extends BaseCommand {
3
+ name: string;
4
+ description: string;
5
+ suggestions: Suggestion[];
6
+ execute(args: string): Promise<void>;
7
+ }
@@ -0,0 +1,6 @@
1
+ import { BaseCommand } from './base-command.js';
2
+ export declare class StatusCommand extends BaseCommand {
3
+ name: string;
4
+ description: string;
5
+ execute(_args: string): Promise<void>;
6
+ }
@@ -0,0 +1,11 @@
1
+ import { BaseCommand, type Suggestion } from './base-command.js';
2
+ export declare class TestCommand extends BaseCommand {
3
+ name: string;
4
+ description: string;
5
+ options: {
6
+ flags: string;
7
+ description: string;
8
+ }[];
9
+ suggestions: Suggestion[];
10
+ execute(args: string): Promise<void>;
11
+ }
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface ActivityPaneProps {
3
+ isInputVisible?: boolean;
4
+ }
5
+ declare const ActivityPane: React.FC<ActivityPaneProps>;
6
+ export default ActivityPane;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface AddKnowledgeProps {
3
+ initialUrl?: string;
4
+ onComplete?: () => void;
5
+ onCancel?: () => void;
6
+ }
7
+ declare const AddKnowledge: React.FC<AddKnowledgeProps>;
8
+ export default AddKnowledge;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface AddRuleProps {
3
+ initialAgent?: string;
4
+ initialName?: string;
5
+ onComplete?: () => void;
6
+ onCancel?: () => void;
7
+ }
8
+ declare const AddRule: React.FC<AddRuleProps>;
9
+ export default AddRule;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { ExplorBot } from '../explorbot.js';
3
+ interface AppProps {
4
+ explorBot: ExplorBot;
5
+ initialShowInput?: boolean;
6
+ exitOnEmptyInput?: boolean;
7
+ }
8
+ export declare function App({ explorBot, initialShowInput, exitOnEmptyInput }: AppProps): React.JSX.Element;
9
+ export {};
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const Autocomplete: React.FC;
3
+ export default Autocomplete;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import type { CommandHandler } from '../command-handler.js';
3
+ interface InputPaneProps {
4
+ commandHandler: CommandHandler;
5
+ exitOnEmptyInput?: boolean;
6
+ onSubmit?: (value: string) => Promise<void>;
7
+ onCommandStart?: () => void;
8
+ onCommandComplete?: () => void;
9
+ isActive?: boolean;
10
+ visible?: boolean;
11
+ }
12
+ declare const InputPane: React.FC<InputPaneProps>;
13
+ export default InputPane;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import type { CommandHandler } from '../command-handler.js';
3
+ interface InputReadlineProps {
4
+ commandHandler?: CommandHandler;
5
+ exitOnEmptyInput?: boolean;
6
+ onSubmit?: (value: string) => void | Promise<void>;
7
+ onChange?: (value: string) => void;
8
+ onCommandStart?: () => void;
9
+ onCommandComplete?: () => void;
10
+ isActive?: boolean;
11
+ visible?: boolean;
12
+ value?: string;
13
+ placeholder?: string;
14
+ showPrompt?: boolean;
15
+ }
16
+ declare const InputReadline: React.FC<InputReadlineProps>;
17
+ export default InputReadline;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface LogPaneProps {
3
+ verboseMode: boolean;
4
+ }
5
+ declare const LogPane: React.FC<LogPaneProps>;
6
+ export default LogPane;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { Test } from '../test-plan.js';
3
+ interface PlanEditorProps {
4
+ tasks: Test[];
5
+ onClose: () => void;
6
+ isActive: boolean;
7
+ }
8
+ declare const PlanEditor: React.FC<PlanEditorProps>;
9
+ export default PlanEditor;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ interface PlanPaneProps {
3
+ completedPlans: PlanSummary[];
4
+ activePlan: PlanSummary | null;
5
+ }
6
+ declare const PlanPane: React.FC<PlanPaneProps>;
7
+ export default PlanPane;
8
+ export interface PlanSummary {
9
+ title: string;
10
+ testCount: number;
11
+ passed: number;
12
+ failed: number;
13
+ }
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ type SessionTimerProps = {
3
+ startedAt: number;
4
+ };
5
+ declare const SessionTimer: React.FC<SessionTimerProps>;
6
+ export default SessionTimer;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import type { StateTransition, WebPageState } from '../state-manager.js';
3
+ interface StateTransitionPaneProps {
4
+ transition?: StateTransition;
5
+ currentState?: WebPageState;
6
+ }
7
+ declare const StateTransitionPane: React.FC<StateTransitionPaneProps>;
8
+ export default StateTransitionPane;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const StatusPane: React.FC<{
3
+ onComplete?: () => void;
4
+ }>;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { Test } from '../test-plan.js';
3
+ export declare const WINDOW_SIZE = 7;
4
+ interface TaskPaneProps {
5
+ tasks: Test[];
6
+ scrollOffset?: number;
7
+ }
8
+ declare const TaskPane: React.FC<TaskPaneProps>;
9
+ export default TaskPane;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const Welcome: React.FC;
3
+ export default Welcome;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { ExplorbotConfig } from '../config.js';
3
+ import type { KnowledgeTracker } from '../knowledge-tracker.js';
4
+ interface WelcomeChecklistProps {
5
+ config: ExplorbotConfig;
6
+ knowledgeTracker: KnowledgeTracker;
7
+ }
8
+ declare const WelcomeChecklist: React.FC<WelcomeChecklistProps>;
9
+ export default WelcomeChecklist;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface WelcomeCommandsProps {
3
+ hasKnowledge: boolean;
4
+ }
5
+ declare const WelcomeCommands: React.FC<WelcomeCommandsProps>;
6
+ export default WelcomeCommands;
@@ -0,0 +1,10 @@
1
+ import type { CommandAutocompleteSuggestion } from '../command-handler.js';
2
+ interface AutocompleteState {
3
+ suggestions: CommandAutocompleteSuggestion[];
4
+ argumentHint?: string;
5
+ selectedIndex: number;
6
+ visible: boolean;
7
+ }
8
+ export declare const setAutocompleteState: (next: AutocompleteState) => void;
9
+ export declare const useAutocompleteState: () => AutocompleteState;
10
+ export {};
@@ -0,0 +1,12 @@
1
+ import { Buffer } from 'node:buffer';
2
+ export declare const nonAlphanumericKeys: string[];
3
+ export default function parseKeypress(value?: string | Buffer): {
4
+ name: string;
5
+ ctrl: boolean;
6
+ meta: boolean;
7
+ shift: boolean;
8
+ option: boolean;
9
+ sequence: string;
10
+ raw: string | undefined;
11
+ code: string | undefined;
12
+ };