monacopilot 0.12.4 → 0.12.6

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 (2) hide show
  1. package/README.md +2 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -17,7 +17,7 @@
17
17
  - [API Handler](#api-handler)
18
18
  - [Register Completion with the Monaco Editor](#register-completion-with-the-monaco-editor)
19
19
  - [Register Completion Options](#register-completion-options)
20
- - [Get Completions in Real-Time](#get-completions-in-real-time)
20
+ - [Trigger Mode](#trigger-mode)
21
21
  - [Manually Trigger Completions](#manually-trigger-completions)
22
22
  - [Trigger Completions with a Keyboard Shortcut](#trigger-completions-with-a-keyboard-shortcut)
23
23
  - [Trigger Completions with an Editor Action](#trigger-completions-with-an-editor-action)
@@ -147,7 +147,7 @@ registerCompletion(monaco, editor, {
147
147
 
148
148
  ## Register Completion Options
149
149
 
150
- ### Get Completions in Real-Time
150
+ ### Trigger Mode
151
151
 
152
152
  The `trigger` option determines when the completion service provides code completions. You can choose between receiving suggestions/completions in real-time as you type or after a brief pause.
153
153
 
@@ -171,8 +171,6 @@ registerCompletion(monaco, editor, {
171
171
 
172
172
  If you prefer not to trigger completions automatically (e.g., on typing or on idle), you can trigger completions manually. This is useful in scenarios where you want to control when completions are provided, such as through a button click or a keyboard shortcut.
173
173
 
174
- #### Usage
175
-
176
174
  ```javascript
177
175
  const completion = registerCompletion(monaco, editor, {
178
176
  trigger: 'onDemand',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monacopilot",
3
- "version": "0.12.4",
3
+ "version": "0.12.6",
4
4
  "description": "AI auto-completion plugin for Monaco Editor",
5
5
  "main": "./build/index.js",
6
6
  "module": "./build/index.mjs",