@vsc-neuropilot/api-types 1.0.0-pre.2 → 1.0.0-pre.3
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 +85 -34
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +51 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Action, ActionData, ActionForcePriorityEnum, ActionForcePriorityEnum as ActionForcePriorityEnum$1 } from "neuro-game-sdk";
|
|
2
2
|
import { JSONSchema7Object } from "json-schema";
|
|
3
|
-
import * as vscode
|
|
4
|
-
import { Disposable, Event, Position, Progress, Range, TextEditorDecorationType } from "vscode";
|
|
3
|
+
import * as vscode from "vscode";
|
|
4
|
+
import { Disposable, Event, Position, Progress, Range, TextEditorDecorationType, Uri } from "vscode";
|
|
5
5
|
|
|
6
6
|
//#region src/actions/enums.d.ts
|
|
7
7
|
/** Permission level enums */
|
|
@@ -16,6 +16,55 @@ declare const enum DiffRangeType {
|
|
|
16
16
|
Modified = 1,
|
|
17
17
|
Removed = 2
|
|
18
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* The setting IDs of NeuroPilot's settings.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* const nameOfAPI = vscode.workspace.getConfiguration('neuropilot').get<string>(NeuroPilotSetting.NameOfAPI);
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
declare const enum NeuroPilotSetting {
|
|
28
|
+
/** The number of lines before the cursor position to include as context when editing a file or sending a completion request. */
|
|
29
|
+
BeforeContext = "beforeContext",
|
|
30
|
+
/** The number of lines after the cursor position to include as context when editing a file or sending a completion request. */
|
|
31
|
+
AfterContext = "afterContext",
|
|
32
|
+
/** Whether the real cursor follows Neuro's cursor. */
|
|
33
|
+
CursorFollowsNeuro = "cursorFollowsNeuro",
|
|
34
|
+
/**
|
|
35
|
+
* Whether to send contents of a file to Neuro when the user switches to it.
|
|
36
|
+
* If false, Neuro will still know what file was switched to, but won't get the contents.
|
|
37
|
+
* Neuro will never get the contents or the name of files that aren't Neuro-safe.
|
|
38
|
+
*/
|
|
39
|
+
SendContentsOnFileChange = "sendContentsOnFileChange",
|
|
40
|
+
/**
|
|
41
|
+
* The style to use for specifying the cursor position in context messages.
|
|
42
|
+
* Possible values are:
|
|
43
|
+
* - `"off"`: Cursor position should not be mentioned to Neuro.
|
|
44
|
+
* - `"inline"`: Cursor position should be denoted by `<<<|>>>`
|
|
45
|
+
* - `"lineAndColumn"`: Cursor position should be reported in <line>:<column> format (one-based).
|
|
46
|
+
* - `"both"`: Combination of `"inline"` and `"lineAndColumn"`.
|
|
47
|
+
*/
|
|
48
|
+
CursorPositionContextStyle = "cursorPositionContextStyle",
|
|
49
|
+
/**
|
|
50
|
+
* The format to use for line numbers in context messages.
|
|
51
|
+
* This format should be prepended to every line.
|
|
52
|
+
* `{n}` is used for the line number. Examples:
|
|
53
|
+
* - `""`
|
|
54
|
+
* - `"{n} "`
|
|
55
|
+
* - `"{n}|"`
|
|
56
|
+
* - `"{n}: "`
|
|
57
|
+
*/
|
|
58
|
+
LineNumberContextFormat = "lineNumberContextFormat",
|
|
59
|
+
/** The URL to connect to the Neuro API. */
|
|
60
|
+
WebsocketUrl = "connection.websocketUrl",
|
|
61
|
+
/** The game name NeuroPilot reports to the API. */
|
|
62
|
+
GameName = "connection.gameName",
|
|
63
|
+
/** The name to indicate who is controlling this VS Code instance alongside the API server. This replaces the default name `Vedal`. */
|
|
64
|
+
UserName = "connection.userName",
|
|
65
|
+
/** The name of the entity currently acting as the API server. You can add custom characters using `settings.json` if you ignore the lint error from VS Code. */
|
|
66
|
+
NameOfAPI = "connection.nameOfAPI"
|
|
67
|
+
}
|
|
19
68
|
//#endregion
|
|
20
69
|
//#region src/actions/classes.d.ts
|
|
21
70
|
//#region RCE context
|
|
@@ -472,34 +521,8 @@ declare class CompanionAPI extends Disposable {
|
|
|
472
521
|
* These are separated due to them returning Disposables that need to be handled better.
|
|
473
522
|
*/
|
|
474
523
|
actionUtils: {
|
|
475
|
-
files:
|
|
476
|
-
|
|
477
|
-
* Mark certain files with a preview effect.
|
|
478
|
-
* @param uris An array of files to mark. Direct inputs here are automatically assumed to be Neuro-safe, you must perform your own Neuro-safe checks at call time.
|
|
479
|
-
* @param promptString A string that describes what Neuro is about to do. Should match the scheme "Neuro wants to (do something)"
|
|
480
|
-
* @param absolutelyAllFiles For folders, bypass checking children for Neuro-safe path validation and highlights them anyways. Has no effect on files.
|
|
481
|
-
* @param noChildren For folders, does not mark its children in the preview effect. Has no effect on files.
|
|
482
|
-
* @returns A Disposable that, when its dispose method is called, unmarks the marked files.
|
|
483
|
-
*/
|
|
484
|
-
markPreviewFiles(uris: vscode.Uri[], promptString: string, absolutelyAllFiles = false, noChildren = false): Disposable;
|
|
485
|
-
};
|
|
486
|
-
edits: {
|
|
487
|
-
/**
|
|
488
|
-
* Set a preview cursor that matches the normal colour scheme for NeuroPilot's preview cursor.
|
|
489
|
-
* @param location A {@link Position} object where the cursor will be placed.
|
|
490
|
-
* @param prompt The prompt suffix that displays when hovering over the cursor. Must match the scheme "Neuro wants to (x)"
|
|
491
|
-
* @returns The {@link TextEditorDecorationType} that was used to create the highlight.
|
|
492
|
-
*/
|
|
493
|
-
setPreviewCursor(location: Position, prompt: string): TextEditorDecorationType;
|
|
494
|
-
/**
|
|
495
|
-
* Set a preview highlight that matches the normal colour scheme for NeuroPilot's preview highlights.
|
|
496
|
-
* @param startPosition A {@link Position} object that marks the start of the highlight.
|
|
497
|
-
* @param endPosition A {@link Position} object that marks the end of the highlight.
|
|
498
|
-
* @param prompt The prompt suffix that displays when hovering over the cursor. Must match the scheme "Neuro wants to (x)"
|
|
499
|
-
* @returns The {@link TextEditorDecorationType} that was used to create the highlight.
|
|
500
|
-
*/
|
|
501
|
-
setPreviewHighlight(startPosition: Position, endPosition: Position, prompt: string): TextEditorDecorationType;
|
|
502
|
-
};
|
|
524
|
+
files: FileActionUtils;
|
|
525
|
+
edits: EditActionUtils;
|
|
503
526
|
/**
|
|
504
527
|
* Creates a new cancel event for RCE.
|
|
505
528
|
* Make sure to properly dispose of them when you no longer need the cancel events.
|
|
@@ -639,6 +662,34 @@ interface CompanionMeta {
|
|
|
639
662
|
*/
|
|
640
663
|
contributes: Contributions[];
|
|
641
664
|
}
|
|
665
|
+
interface FileActionUtils {
|
|
666
|
+
/**
|
|
667
|
+
* Mark certain files with a preview effect.
|
|
668
|
+
* @param uris An array of files to mark. Direct inputs here are automatically assumed to be Neuro-safe, you must perform your own Neuro-safe checks at call time.
|
|
669
|
+
* @param promptString A string that describes what Neuro is about to do. Should match the scheme "Neuro wants to (do something)"
|
|
670
|
+
* @param absolutelyAllFiles For folders, bypass checking children for Neuro-safe path validation and highlights them anyways. Has no effect on files.
|
|
671
|
+
* @param noChildren For folders, does not mark its children in the preview effect. Has no effect on files.
|
|
672
|
+
* @returns A Disposable that, when its dispose method is called, unmarks the marked files.
|
|
673
|
+
*/
|
|
674
|
+
markPreviewFiles(uris: Uri[], promptString: string, absolutelyAllFiles?: boolean, noChildren?: boolean): Disposable;
|
|
675
|
+
}
|
|
676
|
+
interface EditActionUtils {
|
|
677
|
+
/**
|
|
678
|
+
* Set a preview cursor that matches the normal colour scheme for NeuroPilot's preview cursor.
|
|
679
|
+
* @param location A {@link Position} object where the cursor will be placed.
|
|
680
|
+
* @param prompt The prompt suffix that displays when hovering over the cursor. Must match the scheme "Neuro wants to (x)"
|
|
681
|
+
* @returns The {@link TextEditorDecorationType} that was used to create the highlight.
|
|
682
|
+
*/
|
|
683
|
+
setPreviewCursor(location: Position, prompt: string): TextEditorDecorationType;
|
|
684
|
+
/**
|
|
685
|
+
* Set a preview highlight that matches the normal colour scheme for NeuroPilot's preview highlights.
|
|
686
|
+
* @param startPosition A {@link Position} object that marks the start of the highlight.
|
|
687
|
+
* @param endPosition A {@link Position} object that marks the end of the highlight.
|
|
688
|
+
* @param prompt The prompt suffix that displays when hovering over the cursor. Must match the scheme "Neuro wants to (x)"
|
|
689
|
+
* @returns The {@link TextEditorDecorationType} that was used to create the highlight.
|
|
690
|
+
*/
|
|
691
|
+
setPreviewHighlight(startPosition: Position, endPosition: Position, prompt: string): TextEditorDecorationType;
|
|
692
|
+
}
|
|
642
693
|
//#endregion
|
|
643
694
|
//#region src/companions/errors.d.ts
|
|
644
695
|
/**
|
|
@@ -778,7 +829,7 @@ interface DiffUtils {
|
|
|
778
829
|
* - Word diff: `/\w+|\r?\n|\s+|./g`
|
|
779
830
|
* - Character diff: `/.|\r?\n/g`
|
|
780
831
|
*/
|
|
781
|
-
calculateDiffRanges(startPosition: vscode
|
|
832
|
+
calculateDiffRanges(startPosition: vscode.Position, oldText: string, newText: string, tokenRegExp?: RegExp): DiffRange[];
|
|
782
833
|
/**
|
|
783
834
|
* Apply diff highlighting to a text editor based on the provided diff ranges.
|
|
784
835
|
* If you use {@link DiffUtils.calculateDiffRanges calculateDiffRanges} to calculate the
|
|
@@ -788,7 +839,7 @@ interface DiffUtils {
|
|
|
788
839
|
* If you use {@link DiffUtils.calculateDiffRanges calculateDiffRanges} to calculate these,
|
|
789
840
|
* the current text in the editor should be provided as the `newText` parameter.
|
|
790
841
|
*/
|
|
791
|
-
applyDiffHighlighting(editor: vscode
|
|
842
|
+
applyDiffHighlighting(editor: vscode.TextEditor, diffRanges: DiffRange[]): void;
|
|
792
843
|
}
|
|
793
844
|
interface FilePathUtils {
|
|
794
845
|
/**
|
|
@@ -814,7 +865,7 @@ interface WorkspaceUtils {
|
|
|
814
865
|
* Gets the full workspace uri that is normally targeted for operations.
|
|
815
866
|
* In multi-root workspaces this is the first open workspace.
|
|
816
867
|
*/
|
|
817
|
-
getWorkspaceUri(): vscode
|
|
868
|
+
getWorkspaceUri(): vscode.Uri | undefined;
|
|
818
869
|
/**
|
|
819
870
|
* Gets the full workspace path that is normally targeted for operations.
|
|
820
871
|
* (Same as calling {@link WorkspaceUtils.getWorkspaceUri getWorkspaceUri}.fsPath)
|
|
@@ -860,5 +911,5 @@ interface NeuroPilotAPI {
|
|
|
860
911
|
}
|
|
861
912
|
type ItselfOrArray<T> = T | T[];
|
|
862
913
|
//#endregion
|
|
863
|
-
export { ActionForceParams, ActionForcePriorityEnum, ActionHandlerResult, ActionStatus, ActionValidationResult, ActionsEventData, BaseCompanionError, CompanionAPI, CompanionMeta, CompanionRegistryError, Contributions, Diff, DiffLine, DiffPlus, DiffPlusLine, DiffRange, DiffRangeType, InjectionBaseData, NeuroPilotAPI, PermissionError, PermissionLevel, PromptGenerator, RCEAction, RCECancelEvent, RCECancelEventInitializer, RCEContext, RCEHandlerReturns, RCELifecycleMetadata, RCERequestState, RCEStorage, ReasonGenerator, SimplifiedStatusUpdateHandler };
|
|
914
|
+
export { ActionForceParams, ActionForcePriorityEnum, ActionHandlerResult, ActionStatus, ActionValidationResult, ActionsEventData, BaseCompanionError, CompanionAPI, CompanionMeta, CompanionRegistryError, Contributions, Diff, DiffLine, DiffPlus, DiffPlusLine, DiffRange, DiffRangeType, InjectionBaseData, NeuroPilotAPI, NeuroPilotSetting, PermissionError, PermissionLevel, PromptGenerator, RCEAction, RCECancelEvent, RCECancelEventInitializer, RCEContext, RCEHandlerReturns, RCELifecycleMetadata, RCERequestState, RCEStorage, ReasonGenerator, SimplifiedStatusUpdateHandler };
|
|
864
915
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":["JSONSchema7Object","Disposable","Progress","Event","ActionValidationResult","RCEAction","ActionData","RCEStorage","Record","ActionStatus","RCELifecycleMetadata","events","preview","dispose","validatorResults","sync","async","setupHooks","SimplifiedStatusUpdateHandler","status","message","RCERequestState","Promise","NodeJS","Timeout","prompt","notificationVisible","attachNotification","increment","progress","resolve","resolved","interval","timeout","RCEContext","T","K","name","createdAt","data","action","forced","lifecycle","request","storage","updateStatus","done","success","clearPreHandlerResources","ReasonGenerator","context","RCECancelEventInitializer","reason","logReason","RCECancelEvent","event","disposable","fire","constructor","init","JSONSchema7Object","ActionForcePriorityEnum","Action","NeuroClient","Range","PermissionLevel","DiffRangeType","RCECancelEvent","RCEContext","ActionStatus","CompanionAPI","ActionForceParams","COPILOT","AUTOPILOT","Record","state","query","ephemeral_context","actionNames","priority","overridePermissions","RCEAction","T","E","ActionValidationResult","Promise","RCEHandler","PromptGenerator","Thenable","displayName","validators","sync","context","async","cancelEvents","preview","dispose","handler","promptGenerator","defaultPermission","category","autoRegister","hidden","registerCondition","contextSetupHook","RCEHandlerReturns","ActionHandlerResult","success","message","retry","historyNote","ActionHandlerSuccess","InjectionBaseData","Omit","ActionsEventData","action","status","executionId","DiffLine","text","oldIndex","newIndex","DiffPlusLine","moved","Diff","lines","lineCountDeleted","lineCountInserted","DiffPlus","lineCountMoved","DiffRange","range","type","removedText","Disposable","Event","Position","ExtensionContext","Extension","Uri","TextEditorDecorationType","ActionForceParams","ActionsEventData","InjectionBaseData","RCEAction","Contributions","RCECancelEvent","CompanionAPI","CompanionMeta","vscode","Partial","constructor","data","actionUtils","files","markPreviewFiles","uris","promptString","absolutelyAllFiles","noChildren","edits","setPreviewCursor","location","prompt","setPreviewHighlight","startPosition","endPosition","CancelEvent","addActions","actions","register","removeActions","registerAction","action","unregisterAction","reregisterAllActions","conservative","tryForceActions","params","strict","injectIntoAction","name","injection","force","onActionStatusChanged","sendContext","message","silent","addChangelog","version","changelog","getCursor","setCursor","onDidMoveCursor","extensionId","author","docs","contributes"],"sources":["../src/actions/enums.ts","../src/actions/classes.d.ts","../src/actions/types.d.ts","../src/companions/enum.ts","../src/companions/register.d.ts","../src/companions/errors.ts","../src/index.ts"],"mappings":";;;;;;;mBACkB,eAAA;EACd,GAAA;EACA,OAAA;EACA,SAAA;AAAA;AAHJ;AAAA,mBAOkB,aAAA;EACd,KAAA;EACA,QAAA;EACA,OAAA;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B;;EKwCI,SAAA,SAAkB,YAAA;;;;EAIlB,KAAA,EAAO,KAAA;AAAA;AAAA,KAGN,aAAA,MAAmB,CAAA,GAAI,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":["JSONSchema7Object","Disposable","Progress","Event","ActionValidationResult","RCEAction","ActionData","RCEStorage","Record","ActionStatus","RCELifecycleMetadata","events","preview","dispose","validatorResults","sync","async","setupHooks","SimplifiedStatusUpdateHandler","status","message","RCERequestState","Promise","NodeJS","Timeout","prompt","notificationVisible","attachNotification","increment","progress","resolve","resolved","interval","timeout","RCEContext","T","K","name","createdAt","data","action","forced","lifecycle","request","storage","updateStatus","done","success","clearPreHandlerResources","ReasonGenerator","context","RCECancelEventInitializer","reason","logReason","RCECancelEvent","event","disposable","fire","constructor","init","JSONSchema7Object","ActionForcePriorityEnum","Action","NeuroClient","Range","PermissionLevel","DiffRangeType","RCECancelEvent","RCEContext","ActionStatus","CompanionAPI","ActionForceParams","COPILOT","AUTOPILOT","Record","state","query","ephemeral_context","actionNames","priority","overridePermissions","RCEAction","T","E","ActionValidationResult","Promise","RCEHandler","PromptGenerator","Thenable","displayName","validators","sync","context","async","cancelEvents","preview","dispose","handler","promptGenerator","defaultPermission","category","autoRegister","hidden","registerCondition","contextSetupHook","RCEHandlerReturns","ActionHandlerResult","success","message","retry","historyNote","ActionHandlerSuccess","InjectionBaseData","Omit","ActionsEventData","action","status","executionId","DiffLine","text","oldIndex","newIndex","DiffPlusLine","moved","Diff","lines","lineCountDeleted","lineCountInserted","DiffPlus","lineCountMoved","DiffRange","range","type","removedText","Disposable","Event","Position","ExtensionContext","Extension","Uri","TextEditorDecorationType","ActionForceParams","ActionsEventData","InjectionBaseData","RCEAction","Contributions","RCECancelEvent","CompanionAPI","CompanionMeta","FileActionUtils","EditActionUtils","Partial","constructor","data","actionUtils","files","edits","CancelEvent","addActions","actions","register","removeActions","registerAction","action","unregisterAction","reregisterAllActions","conservative","tryForceActions","params","strict","injectIntoAction","name","injection","force","onActionStatusChanged","sendContext","message","silent","addChangelog","version","changelog","getCursor","setCursor","location","onDidMoveCursor","extensionId","author","docs","contributes","markPreviewFiles","uris","promptString","absolutelyAllFiles","noChildren","setPreviewCursor","prompt","setPreviewHighlight","startPosition","endPosition"],"sources":["../src/actions/enums.ts","../src/actions/classes.d.ts","../src/actions/types.d.ts","../src/companions/enum.ts","../src/companions/register.d.ts","../src/companions/errors.ts","../src/index.ts"],"mappings":";;;;;;;mBACkB,eAAA;EACd,GAAA;EACA,OAAA;EACA,SAAA;AAAA;AAHJ;AAAA,mBAOkB,aAAA;EACd,KAAA;EACA,QAAA;EACA,OAAA;AAAA;;;;AAHJ;;;;;mBAckB,iBAAA;;EAEd,aAAA;EAbA;EAeA,YAAA;EAJc;EAMd,kBAAA;EANc;;;;;EAYd,wBAAA;;;;;;;;;EASA,0BAAA;;ACnCJ;;;;;AAEA;;;ED2CI,uBAAA;EC3CoB;ED6CpB,YAAA;EC3CiC;ED6CjC,QAAA;;EAEA,QAAA;;EAEA,SAAA;AAAA;;;;KCrDQO,UAAAA,GAAaC,MAAAA;AAAAA,KAEbC,YAAAA;AAAAA,UAEKC,oBAAAA;EACbC,MAAAA,GAASV,UAAAA;EACTW,OAAAA;IAAYC,OAAAA;EAAAA;EACZC,gBAAAA;IACIC,IAAAA,GAAOX,sBAAAA;IACPY,KAAAA,GAAQZ,sBAAAA;EAAAA;EAEZa,UAAAA;AAAAA;AAAAA,KAGQC,6BAAAA,IAAiCC,MAAAA,EAAQV,YAAAA,EAAcW,OAAAA;AAAAA,UAElDC,eAAAA;EDFC;;;ECMdI,MAAAA;EDFA;;;ECMAC,mBAAAA;EDqBA;;;;;;ECdAC,kBAAAA,GAAqBE,QAAAA,EAAU3B,QAAAA;IAAWkB,OAAAA;IAAkBQ,SAAAA;EAAAA,OAA0BN,OAAAA;;;;AA/B1F;EAoCIQ,OAAAA;;;;EAIAC,QAAAA;EAtCoB;;;EA0CpBC,QAAAA,GAAWT,MAAAA,CA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QAAA,EAAU,OAAA,UAAiB,OAAA,UAAiB,WAAA,GAAc,MAAA,GAAS,SAAA;;;;;;ALtCjH;;;;EKgDI,qBAAA,CAAsB,MAAA,EAAQ,MAAA,CAAO,UAAA,EAAY,UAAA,EAAY,SAAA;AAAA;AAAA,UAGvD,aAAA;;;;;EAKN,cAAA,CAAe,QAAA;;;;;EAKf,aAAA,CAAc,IAAA;;;;;;;EAOd,eAAA,CAAgB,IAAA;AAAA;AAAA,UAGV,cAAA;;;;;EAKN,eAAA,IAAmB,MAAA,CAAO,GAAA;;;;;EAK1B,gBAAA;AAAA;AAAA,UAGM,KAAA;;;;EAIN,gBAAA,EAAkB,qBAAA;EL9BM;AAO5B;;EK2BI,aAAA,EAAe,kBAAA;EL3B2D;;;EK+B1E,cAAA,EAAgB,mBAAA;;;;EAIhB,KAAA,EAAO,SAAA;ELjCX;;;EKqCI,SAAA,EAAW,aAAA;;;;EAIX,SAAA,EAAW,cAAA;AAAA;AAAA,UAGE,aAAA;;;;;EAKb,SAAA,SAAkB,YAAA;;;;EAIlB,KAAA,EAAO,KAAA;AAAA;AAAA,KAGN,aAAA,MAAmB,CAAA,GAAI,CAAA"}
|
package/dist/index.mjs
CHANGED
|
@@ -14,6 +14,56 @@ let DiffRangeType = /* @__PURE__ */ function(DiffRangeType) {
|
|
|
14
14
|
DiffRangeType[DiffRangeType["Removed"] = 2] = "Removed";
|
|
15
15
|
return DiffRangeType;
|
|
16
16
|
}({});
|
|
17
|
+
/**
|
|
18
|
+
* The setting IDs of NeuroPilot's settings.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* const nameOfAPI = vscode.workspace.getConfiguration('neuropilot').get<string>(NeuroPilotSetting.NameOfAPI);
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
let NeuroPilotSetting = /* @__PURE__ */ function(NeuroPilotSetting) {
|
|
26
|
+
/** The number of lines before the cursor position to include as context when editing a file or sending a completion request. */
|
|
27
|
+
NeuroPilotSetting["BeforeContext"] = "beforeContext";
|
|
28
|
+
/** The number of lines after the cursor position to include as context when editing a file or sending a completion request. */
|
|
29
|
+
NeuroPilotSetting["AfterContext"] = "afterContext";
|
|
30
|
+
/** Whether the real cursor follows Neuro's cursor. */
|
|
31
|
+
NeuroPilotSetting["CursorFollowsNeuro"] = "cursorFollowsNeuro";
|
|
32
|
+
/**
|
|
33
|
+
* Whether to send contents of a file to Neuro when the user switches to it.
|
|
34
|
+
* If false, Neuro will still know what file was switched to, but won't get the contents.
|
|
35
|
+
* Neuro will never get the contents or the name of files that aren't Neuro-safe.
|
|
36
|
+
*/
|
|
37
|
+
NeuroPilotSetting["SendContentsOnFileChange"] = "sendContentsOnFileChange";
|
|
38
|
+
/**
|
|
39
|
+
* The style to use for specifying the cursor position in context messages.
|
|
40
|
+
* Possible values are:
|
|
41
|
+
* - `"off"`: Cursor position should not be mentioned to Neuro.
|
|
42
|
+
* - `"inline"`: Cursor position should be denoted by `<<<|>>>`
|
|
43
|
+
* - `"lineAndColumn"`: Cursor position should be reported in <line>:<column> format (one-based).
|
|
44
|
+
* - `"both"`: Combination of `"inline"` and `"lineAndColumn"`.
|
|
45
|
+
*/
|
|
46
|
+
NeuroPilotSetting["CursorPositionContextStyle"] = "cursorPositionContextStyle";
|
|
47
|
+
/**
|
|
48
|
+
* The format to use for line numbers in context messages.
|
|
49
|
+
* This format should be prepended to every line.
|
|
50
|
+
* `{n}` is used for the line number. Examples:
|
|
51
|
+
* - `""`
|
|
52
|
+
* - `"{n} "`
|
|
53
|
+
* - `"{n}|"`
|
|
54
|
+
* - `"{n}: "`
|
|
55
|
+
*/
|
|
56
|
+
NeuroPilotSetting["LineNumberContextFormat"] = "lineNumberContextFormat";
|
|
57
|
+
/** The URL to connect to the Neuro API. */
|
|
58
|
+
NeuroPilotSetting["WebsocketUrl"] = "connection.websocketUrl";
|
|
59
|
+
/** The game name NeuroPilot reports to the API. */
|
|
60
|
+
NeuroPilotSetting["GameName"] = "connection.gameName";
|
|
61
|
+
/** The name to indicate who is controlling this VS Code instance alongside the API server. This replaces the default name `Vedal`. */
|
|
62
|
+
NeuroPilotSetting["UserName"] = "connection.userName";
|
|
63
|
+
/** The name of the entity currently acting as the API server. You can add custom characters using `settings.json` if you ignore the lint error from VS Code. */
|
|
64
|
+
NeuroPilotSetting["NameOfAPI"] = "connection.nameOfAPI";
|
|
65
|
+
return NeuroPilotSetting;
|
|
66
|
+
}({});
|
|
17
67
|
//#endregion
|
|
18
68
|
//#region src/companions/errors.ts
|
|
19
69
|
/**
|
|
@@ -115,6 +165,6 @@ let Contributions = /* @__PURE__ */ function(Contributions) {
|
|
|
115
165
|
return Contributions;
|
|
116
166
|
}({});
|
|
117
167
|
//#endregion
|
|
118
|
-
export { ActionForcePriorityEnum, BaseCompanionError, CompanionRegistryError, Contributions, DiffRangeType, PermissionError, PermissionLevel };
|
|
168
|
+
export { ActionForcePriorityEnum, BaseCompanionError, CompanionRegistryError, Contributions, DiffRangeType, NeuroPilotSetting, PermissionError, PermissionLevel };
|
|
119
169
|
|
|
120
170
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../src/actions/enums.ts","../src/companions/errors.ts","../src/companions/enum.ts"],"sourcesContent":["/** Permission level enums */\nexport const enum PermissionLevel {\n OFF = 0,\n COPILOT = 1,\n AUTOPILOT = 2,\n}\n\n/** Type of diff range */\nexport const enum DiffRangeType {\n Added,\n Modified,\n Removed,\n}\n","import { Contributions } from './enum';\n\n/**\n * The base class for all errors caused by companions.\n * Usually this class is extended by other classes that are thrown by NeuroPilot,\n * but there may also be cases where this class is used directly.\n * \n * If you're wanting to ensure that errors are coming from NeuroPilot, simply check if the error is an instance of this class.\n */\nexport class BaseCompanionError extends Error {\n /**\n * An explanation of the cause that led to the error.\n */\n readonly causedBy: string;\n /**\n * The companion that caused the error.\n */\n readonly companion?: string;\n /**\n * The feature that caused the error.\n */\n readonly feature: string;\n constructor(feature: string, error?: string, cause = 'Unknown cause.', companion?: string) {\n super(error);\n this.feature = feature;\n this.causedBy = cause;\n this.companion = companion;\n };\n};\n\n/**\n * This class being thrown means that there was an error with the companion registry.\n */\nexport class CompanionRegistryError extends BaseCompanionError {\n constructor(error?: string, cause = 'Unknown cause.') {\n super('Companion registry', error, cause);\n };\n}\n\nexport class PermissionError extends BaseCompanionError {\n /**\n * The list of contribution points that allow performing this action.\n */\n readonly contributions: string[];\n constructor(feature: string, contributions: Contributions[], error?: string) {\n super(feature, error, `${feature} without declaring any of these contributions: \"${contributions.join('\", \"')}\"`);\n this.contributions = contributions;\n }\n}\n","/**\n * Const enum for companion contributions \n */\nexport const enum Contributions {\n /**\n * Allows you to add and remove your own actions from the actions registry.\n * Also allows you to register and unregister them on-demand.\n */\n ACTIONS_MANAGE = 'actions:manage',\n /**\n * Allows you to register and unregister other companions' actions.\n * Does NOT allow you to add or remove them from the registry.\n */\n ACTIONS_MANAGE_OTHERS = 'actions:manage_others',\n /**\n * Allows injecting into other companions' actions.\n * This allows you to change all properties on that action (except for `name` and `source`).\n */\n ACTIONS_INJECT = 'actions:inject',\n /**\n * Allows subscribing to when an action status is changed.\n */\n ACTIONS_PROCESS = 'actions:process',\n /**\n * Allows forcing actions from Neuro.\n * You do not need either {@link Contributions.ACTIONS_MANAGE actions:manage} or {@link Contributions.ACTIONS_MANAGE_OTHERS actions:manage_others} to force actions.\n */\n ACTIONS_FORCE = 'actions:force',\n /**\n * Allows adding changelogs to the `read_changelog` command, so Neuro can query it on-demand.\n */\n CHANGELOG = 'changelog',\n /**\n * Allows sending context to Neuro at any time.\n */\n CONTEXT = 'context',\n /**\n * Allows you to get the virtual cursor position & subscribe to when it gets changed.\n */\n CURSOR_GET = 'cursor:get',\n /**\n * Allows you to set the position of the virtual cursor.\n * This does NOT implicitly grant {@link Contributions.CURSOR_GET cursor:get} and will not let you view the cursor position.\n */\n CURSOR_SET = 'cursor:set',\n /**\n * Currently unused.\n */\n IMAGES = 'images',\n};\n"],"mappings":";;;AACA,IAAkB,kBAAX,yBAAA,iBAAA;AACH,iBAAA,gBAAA,SAAA,KAAA;AACA,iBAAA,gBAAA,aAAA,KAAA;AACA,iBAAA,gBAAA,eAAA,KAAA;;KACH;;AAGD,IAAkB,gBAAX,yBAAA,eAAA;AACH,eAAA,cAAA,WAAA,KAAA;AACA,eAAA,cAAA,cAAA,KAAA;AACA,eAAA,cAAA,aAAA,KAAA;;KACH;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../src/actions/enums.ts","../src/companions/errors.ts","../src/companions/enum.ts"],"sourcesContent":["/** Permission level enums */\nexport const enum PermissionLevel {\n OFF = 0,\n COPILOT = 1,\n AUTOPILOT = 2,\n}\n\n/** Type of diff range */\nexport const enum DiffRangeType {\n Added,\n Modified,\n Removed,\n}\n\n/**\n * The setting IDs of NeuroPilot's settings.\n * \n * @example\n * ```ts\n * const nameOfAPI = vscode.workspace.getConfiguration('neuropilot').get<string>(NeuroPilotSetting.NameOfAPI);\n * ```\n */\nexport const enum NeuroPilotSetting {\n /** The number of lines before the cursor position to include as context when editing a file or sending a completion request. */\n BeforeContext = 'beforeContext',\n /** The number of lines after the cursor position to include as context when editing a file or sending a completion request. */\n AfterContext = 'afterContext',\n /** Whether the real cursor follows Neuro's cursor. */\n CursorFollowsNeuro = 'cursorFollowsNeuro',\n /**\n * Whether to send contents of a file to Neuro when the user switches to it.\n * If false, Neuro will still know what file was switched to, but won't get the contents.\n * Neuro will never get the contents or the name of files that aren't Neuro-safe.\n */\n SendContentsOnFileChange = 'sendContentsOnFileChange',\n /**\n * The style to use for specifying the cursor position in context messages.\n * Possible values are:\n * - `\"off\"`: Cursor position should not be mentioned to Neuro.\n * - `\"inline\"`: Cursor position should be denoted by `<<<|>>>`\n * - `\"lineAndColumn\"`: Cursor position should be reported in <line>:<column> format (one-based).\n * - `\"both\"`: Combination of `\"inline\"` and `\"lineAndColumn\"`.\n */\n CursorPositionContextStyle = 'cursorPositionContextStyle',\n /**\n * The format to use for line numbers in context messages.\n * This format should be prepended to every line.\n * `{n}` is used for the line number. Examples:\n * - `\"\"`\n * - `\"{n} \"`\n * - `\"{n}|\"`\n * - `\"{n}: \"`\n */\n LineNumberContextFormat = 'lineNumberContextFormat',\n /** The URL to connect to the Neuro API. */\n WebsocketUrl = 'connection.websocketUrl',\n /** The game name NeuroPilot reports to the API. */\n GameName = 'connection.gameName',\n /** The name to indicate who is controlling this VS Code instance alongside the API server. This replaces the default name `Vedal`. */\n UserName = 'connection.userName',\n /** The name of the entity currently acting as the API server. You can add custom characters using `settings.json` if you ignore the lint error from VS Code. */\n NameOfAPI = 'connection.nameOfAPI',\n\n // Commented access.* out for now because companions should use isPathNeuroSafe instead.\n // If we find a use case that is not covered by isPathNeuroSafe then we can add them back.\n\n // /** Whether to allow Neuro to access files and folders beginning with a dot. */\n // DotFiles = 'access.dotFiles',\n // /** Whether to allow Neuro to access files and folders outside the current workspace. */\n // ExternalFiles = 'access.externalFiles',\n // /**\n // * Whether to allow Neuro to use environment variables in paths.\n // * Resolving environent variables isn't implemented in NeuroPilot, so you won't have to implement it in your companion either.\n // * However, you should still check for it.\n // */\n // EnvironmentVariables = 'access.environmentVariables',\n // /**\n // * A case-sensitive list of glob patterns for files Neuro is allowed to open, i.e. she should be unable to open files that don't match this pattern.\n // * Should be applied before {@link ExcludePattern}.\n // * \n // * Patterns without a slash should match any file or folder with that name.\n // */\n // IncludePattern = 'access.includePattern',\n // /**\n // * A case-sensitive glob pattern for files Neuro is not allowed to open.\n // * Should be applied after {@link IncludePattern}.\n // * \n // * Patterns without a slash should match any file or folder with that name.\n // */\n // ExcludePattern = 'access.excludePattern',\n // /** Allow NeuroPilot to read ignore patterns from an ignore file (e.g. .gitignore). */\n // InheritFromIgnoreFiles = 'access.inheritFromIgnoreFiles',\n // /**\n // * A list of ignore-style files to inherit Neuro-safe glob paths from.\n // * Should support the full range of git's ignore pattern globs and ignore comments (lines starting with #).\n // * The further down a file is on the list, the more priority it should get.\n // * \n // * This setting should not override any of the other access settings.\n // * \n // * Example: `[ \".gitignore\", \".npmignore\", \".prettierignore\" ]`\n // */\n // IgnoreFiles = 'access.ignoreFiles',\n}\n","import { Contributions } from './enum';\n\n/**\n * The base class for all errors caused by companions.\n * Usually this class is extended by other classes that are thrown by NeuroPilot,\n * but there may also be cases where this class is used directly.\n * \n * If you're wanting to ensure that errors are coming from NeuroPilot, simply check if the error is an instance of this class.\n */\nexport class BaseCompanionError extends Error {\n /**\n * An explanation of the cause that led to the error.\n */\n readonly causedBy: string;\n /**\n * The companion that caused the error.\n */\n readonly companion?: string;\n /**\n * The feature that caused the error.\n */\n readonly feature: string;\n constructor(feature: string, error?: string, cause = 'Unknown cause.', companion?: string) {\n super(error);\n this.feature = feature;\n this.causedBy = cause;\n this.companion = companion;\n };\n};\n\n/**\n * This class being thrown means that there was an error with the companion registry.\n */\nexport class CompanionRegistryError extends BaseCompanionError {\n constructor(error?: string, cause = 'Unknown cause.') {\n super('Companion registry', error, cause);\n };\n}\n\nexport class PermissionError extends BaseCompanionError {\n /**\n * The list of contribution points that allow performing this action.\n */\n readonly contributions: string[];\n constructor(feature: string, contributions: Contributions[], error?: string) {\n super(feature, error, `${feature} without declaring any of these contributions: \"${contributions.join('\", \"')}\"`);\n this.contributions = contributions;\n }\n}\n","/**\n * Const enum for companion contributions \n */\nexport const enum Contributions {\n /**\n * Allows you to add and remove your own actions from the actions registry.\n * Also allows you to register and unregister them on-demand.\n */\n ACTIONS_MANAGE = 'actions:manage',\n /**\n * Allows you to register and unregister other companions' actions.\n * Does NOT allow you to add or remove them from the registry.\n */\n ACTIONS_MANAGE_OTHERS = 'actions:manage_others',\n /**\n * Allows injecting into other companions' actions.\n * This allows you to change all properties on that action (except for `name` and `source`).\n */\n ACTIONS_INJECT = 'actions:inject',\n /**\n * Allows subscribing to when an action status is changed.\n */\n ACTIONS_PROCESS = 'actions:process',\n /**\n * Allows forcing actions from Neuro.\n * You do not need either {@link Contributions.ACTIONS_MANAGE actions:manage} or {@link Contributions.ACTIONS_MANAGE_OTHERS actions:manage_others} to force actions.\n */\n ACTIONS_FORCE = 'actions:force',\n /**\n * Allows adding changelogs to the `read_changelog` command, so Neuro can query it on-demand.\n */\n CHANGELOG = 'changelog',\n /**\n * Allows sending context to Neuro at any time.\n */\n CONTEXT = 'context',\n /**\n * Allows you to get the virtual cursor position & subscribe to when it gets changed.\n */\n CURSOR_GET = 'cursor:get',\n /**\n * Allows you to set the position of the virtual cursor.\n * This does NOT implicitly grant {@link Contributions.CURSOR_GET cursor:get} and will not let you view the cursor position.\n */\n CURSOR_SET = 'cursor:set',\n /**\n * Currently unused.\n */\n IMAGES = 'images',\n};\n"],"mappings":";;;AACA,IAAkB,kBAAX,yBAAA,iBAAA;AACH,iBAAA,gBAAA,SAAA,KAAA;AACA,iBAAA,gBAAA,aAAA,KAAA;AACA,iBAAA,gBAAA,eAAA,KAAA;;KACH;;AAGD,IAAkB,gBAAX,yBAAA,eAAA;AACH,eAAA,cAAA,WAAA,KAAA;AACA,eAAA,cAAA,cAAA,KAAA;AACA,eAAA,cAAA,aAAA,KAAA;;KACH;;;;;;;;;AAUD,IAAkB,oBAAX,yBAAA,mBAAA;;AAEH,mBAAA,mBAAA;;AAEA,mBAAA,kBAAA;;AAEA,mBAAA,wBAAA;;;;;;AAMA,mBAAA,8BAAA;;;;;;;;;AASA,mBAAA,gCAAA;;;;;;;;;;AAUA,mBAAA,6BAAA;;AAEA,mBAAA,kBAAA;;AAEA,mBAAA,cAAA;;AAEA,mBAAA,cAAA;;AAEA,mBAAA,eAAA;;KAyCH;;;;;;;;;;AC7FD,IAAa,qBAAb,cAAwC,MAAM;;;;CAI1C;;;;CAIA;;;;CAIA;CACA,YAAY,SAAiB,OAAgB,QAAQ,kBAAkB,WAAoB;AACvF,QAAM,MAAM;AACZ,OAAK,UAAU;AACf,OAAK,WAAW;AAChB,OAAK,YAA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