monacopilot 0.8.12 → 0.8.13

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/dist/index.d.mts CHANGED
@@ -13,7 +13,7 @@ type CompletionSpeedType = 'little-faster' | 'normal';
13
13
  /**
14
14
  * Themes available for the Rich Monaco Editor.
15
15
  */
16
- type ThemeType = 'active4d' | 'all-hallows-eve' | 'amy' | 'birds-of-paradise' | 'blackboard' | 'brilliance-black' | 'brilliance-dull' | 'chrome-devtools' | 'clouds-midnight' | 'clouds' | 'cobalt' | 'cobalt2' | 'dawn' | 'dracula' | 'dreamweaver' | 'eiffel' | 'espresso-libre' | 'github-dark' | 'github-light' | 'github' | 'idle' | 'idlefingers' | 'iplastic' | 'katzenmilch' | 'krtheme' | 'kuroir-theme' | 'lazy' | 'magicwb-amiga' | 'merbivore-soft' | 'merbivore' | 'monoindustrial' | 'monokai-bright' | 'monokai' | 'night-owl' | 'nord' | 'oceanic-next' | 'pastels-on-dark' | 'slush-and-poppies' | 'solarized-dark' | 'solarized-light' | 'spacecadet' | 'sunburst' | 'textmate-mac-classic' | 'tomorrow-night-blue' | 'tomorrow-night-bright' | 'tomorrow-night-eighties' | 'tomorrow-night' | 'tomorrow' | 'twilight' | 'upstream-sunburst' | 'vibrant-ink' | 'xcode-default' | 'zenburnesque';
16
+ type ThemeType = 'codesandbox-dark' | 'github-dark-dimmed' | 'github-dark' | 'github-light' | 'monokai';
17
17
  interface EditorProps extends EditorProps$1 {
18
18
  /**
19
19
  * The API endpoint where you started the completion service.
@@ -39,7 +39,7 @@ interface EditorProps extends EditorProps$1 {
39
39
  completionSpeed?: CompletionSpeedType;
40
40
  }
41
41
 
42
- type CompletionModelType = 'llama3-70b-8192';
42
+ type CompletionModelType = 'llama';
43
43
  type GroqCompletion = ChatCompletion & {
44
44
  error?: string;
45
45
  };
@@ -59,9 +59,7 @@ interface CompletionMetadata {
59
59
  codeAfterCursor: string;
60
60
  codeBeforeCursor: string;
61
61
  editorState: {
62
- completionMode: 'contextual-fill' | 'continuation' | 'expansion';
63
- codeLengthBeforeCursor: number;
64
- totalCodeLength: number;
62
+ completionMode: 'fill-in' | 'line-continuation' | 'continuation';
65
63
  };
66
64
  }
67
65
 
package/dist/index.d.ts CHANGED
@@ -13,7 +13,7 @@ type CompletionSpeedType = 'little-faster' | 'normal';
13
13
  /**
14
14
  * Themes available for the Rich Monaco Editor.
15
15
  */
16
- type ThemeType = 'active4d' | 'all-hallows-eve' | 'amy' | 'birds-of-paradise' | 'blackboard' | 'brilliance-black' | 'brilliance-dull' | 'chrome-devtools' | 'clouds-midnight' | 'clouds' | 'cobalt' | 'cobalt2' | 'dawn' | 'dracula' | 'dreamweaver' | 'eiffel' | 'espresso-libre' | 'github-dark' | 'github-light' | 'github' | 'idle' | 'idlefingers' | 'iplastic' | 'katzenmilch' | 'krtheme' | 'kuroir-theme' | 'lazy' | 'magicwb-amiga' | 'merbivore-soft' | 'merbivore' | 'monoindustrial' | 'monokai-bright' | 'monokai' | 'night-owl' | 'nord' | 'oceanic-next' | 'pastels-on-dark' | 'slush-and-poppies' | 'solarized-dark' | 'solarized-light' | 'spacecadet' | 'sunburst' | 'textmate-mac-classic' | 'tomorrow-night-blue' | 'tomorrow-night-bright' | 'tomorrow-night-eighties' | 'tomorrow-night' | 'tomorrow' | 'twilight' | 'upstream-sunburst' | 'vibrant-ink' | 'xcode-default' | 'zenburnesque';
16
+ type ThemeType = 'codesandbox-dark' | 'github-dark-dimmed' | 'github-dark' | 'github-light' | 'monokai';
17
17
  interface EditorProps extends EditorProps$1 {
18
18
  /**
19
19
  * The API endpoint where you started the completion service.
@@ -39,7 +39,7 @@ interface EditorProps extends EditorProps$1 {
39
39
  completionSpeed?: CompletionSpeedType;
40
40
  }
41
41
 
42
- type CompletionModelType = 'llama3-70b-8192';
42
+ type CompletionModelType = 'llama';
43
43
  type GroqCompletion = ChatCompletion & {
44
44
  error?: string;
45
45
  };
@@ -59,9 +59,7 @@ interface CompletionMetadata {
59
59
  codeAfterCursor: string;
60
60
  codeBeforeCursor: string;
61
61
  editorState: {
62
- completionMode: 'contextual-fill' | 'continuation' | 'expansion';
63
- codeLengthBeforeCursor: number;
64
- totalCodeLength: number;
62
+ completionMode: 'fill-in' | 'line-continuation' | 'continuation';
65
63
  };
66
64
  }
67
65