@aiderdesk/extensions 0.3.1 → 0.4.0

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.
@@ -0,0 +1,23 @@
1
+ // src/runtime.ts
2
+ var ToolApprovalState = /* @__PURE__ */ ((ToolApprovalState2) => {
3
+ ToolApprovalState2["Always"] = "always";
4
+ ToolApprovalState2["Never"] = "never";
5
+ ToolApprovalState2["Ask"] = "ask";
6
+ return ToolApprovalState2;
7
+ })(ToolApprovalState || {});
8
+ var InvocationMode = /* @__PURE__ */ ((InvocationMode2) => {
9
+ InvocationMode2["OnDemand"] = "on-demand";
10
+ InvocationMode2["Automatic"] = "automatic";
11
+ return InvocationMode2;
12
+ })(InvocationMode || {});
13
+ var ContextMemoryMode = /* @__PURE__ */ ((ContextMemoryMode2) => {
14
+ ContextMemoryMode2["Off"] = "off";
15
+ ContextMemoryMode2["FullContext"] = "full-context";
16
+ ContextMemoryMode2["LastMessage"] = "last-message";
17
+ return ContextMemoryMode2;
18
+ })(ContextMemoryMode || {});
19
+ export {
20
+ ContextMemoryMode,
21
+ InvocationMode,
22
+ ToolApprovalState
23
+ };
package/extensions.d.ts CHANGED
@@ -561,6 +561,10 @@ export interface MemoryConfig {
561
561
  model: string;
562
562
  maxDistance: number;
563
563
  }
564
+ export interface ExtensionsConfig {
565
+ repositories: string[];
566
+ disabled: string[];
567
+ }
564
568
  export interface SettingsData {
565
569
  onboardingFinished?: boolean;
566
570
  language: string;
@@ -617,6 +621,7 @@ export interface SettingsData {
617
621
  memory: MemoryConfig;
618
622
  taskSettings: TaskSettings;
619
623
  hotkeyConfig?: HotkeyConfig;
624
+ extensions?: ExtensionsConfig;
620
625
  }
621
626
  export interface ProviderProfile {
622
627
  id: string;
@@ -728,6 +733,7 @@ export interface CustomCommand extends Command {
728
733
  autoApprove?: boolean;
729
734
  }
730
735
  export type AgentStepResult = unknown;
736
+ export declare const AIDER_DESK_EXTENSIONS_REPO_URL = "https://github.com/hotovo/aider-desk/tree/main/packages/extensions/extensions/";
731
737
  export interface ResponseMessage {
732
738
  id: string;
733
739
  content: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiderdesk/extensions",
3
- "version": "0.3.1",
3
+ "version": "0.4.0",
4
4
  "description": "Type definitions and examples for AiderDesk extensions",
5
5
  "author": "Hotovo",
6
6
  "homepage": "https://aiderdesk.hotovo.com",
@@ -23,12 +23,17 @@
23
23
  ".": {
24
24
  "types": "./extensions.d.ts",
25
25
  "default": "./extensions.d.ts"
26
+ },
27
+ "./runtime": {
28
+ "types": "./dist/runtime.d.ts",
29
+ "default": "./dist/runtime.js"
26
30
  }
27
31
  },
28
32
  "files": [
29
33
  "extensions.d.ts",
30
34
  "README.md",
31
35
  "dist/cli.js",
36
+ "dist/runtime.js",
32
37
  "extensions.json"
33
38
  ],
34
39
  "scripts": {