stk-codegen 1.0.7 → 1.0.8

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 CHANGED
Binary file
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
- declare const BootstrapStatus: () => React.JSX.Element;
2
+ interface BootstrapStatusProps {
3
+ status: 'connecting' | 'connected' | 'disconnected';
4
+ isBootstrapping: boolean;
5
+ }
6
+ declare const BootstrapStatus: React.FC<BootstrapStatusProps>;
3
7
  export default BootstrapStatus;
package/dist/config.d.ts CHANGED
@@ -2,6 +2,7 @@ declare class Config {
2
2
  readonly WORKSPACE_DIR: string;
3
3
  readonly BACKEND_URL: string;
4
4
  readonly CURRENT_VERSION: string;
5
+ readonly DISABLE_RIPGREP: boolean;
5
6
  constructor();
6
7
  }
7
8
  export declare const config: Config;
@@ -63,4 +63,7 @@ export type CoreEvent = {
63
63
  type: 'BOOTSTRAP_STARTED';
64
64
  } | {
65
65
  type: 'BOOTSTRAP_FINISHED';
66
+ } | {
67
+ type: 'CONNECTION_STATUS_CHANGED';
68
+ status: 'connecting' | 'connected' | 'disconnected';
66
69
  };
@@ -51,4 +51,5 @@ export interface CoreState {
51
51
  stream: CoreStreamState;
52
52
  isBootstrapping: boolean;
53
53
  bootstrapFinished: boolean;
54
+ connectionStatus: 'connecting' | 'connected' | 'disconnected';
54
55
  }
@@ -17,7 +17,7 @@ export declare const useAgent: ({ autonomous }: {
17
17
  base64: string;
18
18
  mimeType: string;
19
19
  }[];
20
- }) => void;
20
+ }) => Promise<void>;
21
21
  navigateHistoryUp: () => string | undefined;
22
22
  navigateHistoryDown: () => string | undefined;
23
23
  searchFiles: (pattern: string, options?: {