@aiderdesk/extensions 0.21.0 → 0.22.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.
package/README.md CHANGED
@@ -1,8 +1,40 @@
1
1
  # @aiderdesk/extensions
2
2
 
3
- TypeScript type definitions and examples for building [AiderDesk](https://aiderdesk.hotovo.com) extensions.
3
+ TypeScript type definitions, runtime utilities, and a CLI installer for [AiderDesk](https://aiderdesk.hotovo.com) extensions.
4
4
 
5
- ## Installation
5
+ ---
6
+
7
+ ## Installing Extensions
8
+
9
+ The easiest way to browse and install extensions is using the CLI:
10
+
11
+ ```bash
12
+ # Interactive selection — choose from all available extensions
13
+ npx @aiderdesk/extensions install
14
+
15
+ # Install a specific extension by ID
16
+ npx @aiderdesk/extensions install sound-notification
17
+
18
+ # Install to global extensions (available to all projects)
19
+ npx @aiderdesk/extensions install sound-notification --global
20
+
21
+ # Install from a URL (e.g., your own repository)
22
+ npx @aiderdesk/extensions install https://raw.githubusercontent.com/username/my-extension/main/my-extension.ts
23
+ ```
24
+
25
+ By default, extensions are installed to the current project (`.aider-desk/extensions/`). Use `--global` to install them for all projects (`~/.aider-desk/extensions/`).
26
+
27
+ Browse the full list of available extensions in the [Extensions Gallery](https://aiderdesk.hotovo.com/docs/extensions/extensions-gallery).
28
+
29
+ ### Hot Reload
30
+
31
+ Extensions are automatically reloaded when files change — no restart needed!
32
+
33
+ ---
34
+
35
+ ## Building Extensions
36
+
37
+ If you're developing your own extension, install this package as a dependency to get type definitions and runtime utilities:
6
38
 
7
39
  ```bash
8
40
  npm install @aiderdesk/extensions
@@ -12,8 +44,6 @@ yarn add @aiderdesk/extensions
12
44
  pnpm add @aiderdesk/extensions
13
45
  ```
14
46
 
15
- ## Usage
16
-
17
47
  Import both types and runtime values from a single entry point:
18
48
 
19
49
  ```typescript
@@ -24,7 +54,7 @@ import { z } from 'zod';
24
54
  export default class MyExtension implements Extension {
25
55
  async onLoad(context: ExtensionContext) {
26
56
  context.log('Extension loaded!', 'info');
27
-
57
+
28
58
  // Runtime values are available too
29
59
  const approval = ToolApprovalState.Always;
30
60
  }
@@ -33,9 +63,7 @@ export default class MyExtension implements Extension {
33
63
 
34
64
  **Note**: The package provides both TypeScript type definitions and runtime JavaScript values (like enum values) from the same entry point. You can use `import type` for type-only imports, or regular imports for runtime values.
35
65
 
36
- ## Example Extensions
37
-
38
- This directory contains example extensions demonstrating various capabilities of the AiderDesk extension system.
66
+ ---
39
67
 
40
68
  ## Documentation
41
69
 
@@ -46,68 +74,4 @@ For comprehensive documentation on creating and using extensions, see the [Exten
46
74
  - [Installation Guide](https://aiderdesk.hotovo.com/docs/extensions/installation) - Install extensions globally or per-project
47
75
  - [API Reference](https://aiderdesk.hotovo.com/docs/extensions/api-reference) - Complete API documentation
48
76
  - [Events Reference](https://aiderdesk.hotovo.com/docs/extensions/events) - All available events
49
- - [Examples Gallery](https://aiderdesk.hotovo.com/docs/extensions/examples) - Browse all examples
50
-
51
- ## Example Extensions
52
-
53
- | Extension | Description | Capabilities |
54
- |-----------|-------------|--------------|
55
- | **[chunkhound-on-semantic-search-tool/](./extensions/chunkhound-on-semantic-search-tool/)** | Overrides `power---semantic_search` to use ChunkHound for better semantic understanding | `search` |
56
- | **[chunkhound-search/](./extensions/chunkhound-search/)** | Provides `chunkhound-search` tool using ChunkHound for semantic code search | `search`, `tools` |
57
- | **[context-autocompletion-words/](./extensions/context-autocompletion-words/)** | Automatically extracts symbols from context files and adds them to autocompletion | `context` |
58
- | **[external-rules.ts](./extensions/external-rules.ts)** | Includes rule files from Cursor, Claude Code, and Roo Code configurations | `context` |
59
- | **[generate-tests.ts](./extensions/generate-tests.ts)** | Adds `/generate-tests` command to generate unit tests for files | `commands` |
60
- | **[lsp/](./extensions/lsp/)** | LSP integration for automatic error detection after file edits and code intelligence tools (find references) | `tools`, `code-intelligence` |
61
- | **[permission-gate.ts](./extensions/permission-gate.ts)** | Prompts for confirmation before running dangerous bash commands (`rm -rf`, `sudo`, `chmod/chown 777`) | `security` |
62
- | **[pirate.ts](./extensions/pirate.ts)** | Adds a Pirate agent that speaks like a swashbuckling sea dog | `agents`, `example` |
63
- | **[plan-mode.ts](./extensions/plan-mode.ts)** | Adds a Plan mode that enforces planning before coding | `modes` |
64
- | **[plannotator/](./extensions/plannotator/)** | Plan-based development workflow with planning mode and plan review utilizing plannotator.ai | `modes`, `tools`, `commands`, `workflow` |
65
- | **[programmatic-tool-calls/](./extensions/programmatic-tool-calls/)** | Execute JavaScript code in a sandbox with access to all tools as async functions | `tools` |
66
- | **[protected-paths.ts](./extensions/protected-paths.ts)** | Blocks file operations on protected paths (`.env`, `.git/`, `node_modules/`) | `security` |
67
- | **[providers-quota-extension/](./extensions/providers-quota-extension/)** | Displays API quota information for Synthetic and Z.AI providers in the task status bar | `ui` |
68
- | **[redact-secrets/](./extensions/redact-secrets/)** | Redacts secret values from `.env*` files in file read results | `security` |
69
- | **[rtk/](./extensions/rtk/)** | Transparently rewrites shell commands to RTK equivalents, reducing LLM token consumption by 60-90% | `optimization`, `commands` |
70
- | **[seek/](./extensions/seek/)** | Fast ranked code search using seek (zoekt) — replaces the internal grep tool | `tools`, `search` |
71
- | **[sandbox/](./extensions/sandbox/)** | OS-level sandboxing for bash commands using `@anthropic-ai/sandbox-runtime` | `security` |
72
- | **[sound-notification.ts](./extensions/sound-notification.ts)** | Plays a "Jobs Done" sound when a prompt finishes | `notifications` |
73
- | **[theme.ts](./extensions/theme.ts)** | Adds `/theme` command to switch AiderDesk themes | `commands` |
74
- | **[tree-sitter-repo-map/](./extensions/tree-sitter-repo-map/)** | Enhanced repository map using tree-sitter parsing with PageRank-based symbol ranking | `context`, `commands` |
75
- | **[tps-counter/](./extensions/tps-counter/)** | Displays tokens per second for agent responses with UI components in usage info and message bar | `metrics`, `ui` |
76
- | **[ultrathink.ts](./extensions/ultrathink.ts)** | Detects prompts like "ultrathink" / "think hard" and increases OpenAI/OpenAI-compatible reasoning effort (`xhigh` for `-max` models, otherwise `high`) | `optimization` |
77
- | **[wakatime.ts](./extensions/wakatime.ts)** | Tracks coding activity by sending heartbeats to WakaTime via wakatime-cli | `tracking` |
78
- | **[ui-placement-demo.ts](./extensions/ui-placement-demo.ts)** | Demonstrates all available UI component placement locations for extension development | `ui`, `example` |
79
- | **[multi-model-run/](./extensions/multi-model-run/)** | Run the same prompt across multiple models simultaneously with a UI selector | `ui` |
80
-
81
- ## Quick Start
82
-
83
- ### 1. Install an Extension
84
-
85
- The easiest way to install extensions is using the CLI:
86
-
87
- ```bash
88
- # Interactive selection - choose from all available extensions
89
- npx @aiderdesk/extensions install
90
-
91
- # Install a specific extension by ID
92
- npx @aiderdesk/extensions install sound-notification
93
-
94
- # Install to global extensions (available to all projects)
95
- npx @aiderdesk/extensions install sound-notification --global
96
-
97
- # Install from a URL (e.g., your own repository)
98
- npx @aiderdesk/extensions install https://raw.githubusercontent.com/username/my-extension/main/my-extension.ts
99
- ```
100
-
101
- Alternatively, manually copy extension files:
102
-
103
- ```bash
104
- # Global extensions (available to all projects)
105
- cp extensions/sound-notification.ts ~/.aider-desk/extensions/
106
-
107
- # Project-specific extensions
108
- cp extensions/sound-notification.ts .aider-desk/extensions/
109
- ```
110
-
111
- ### 2. Hot Reload
112
-
113
- Extensions are automatically reloaded when files change. No restart needed!
77
+ - [Extensions Gallery](https://aiderdesk.hotovo.com/docs/extensions/extensions-gallery) - Browse all available extensions
package/dist/index.d.ts CHANGED
@@ -772,6 +772,7 @@ export interface CreateTaskParams {
772
772
  sendEvent?: boolean;
773
773
  provider?: string;
774
774
  model?: string;
775
+ agentProfileId?: string;
775
776
  mode?: Mode;
776
777
  workingMode?: WorkingMode;
777
778
  addInitialContextFiles?: boolean;
package/extensions.d.ts CHANGED
@@ -772,6 +772,7 @@ export interface CreateTaskParams {
772
772
  sendEvent?: boolean;
773
773
  provider?: string;
774
774
  model?: string;
775
+ agentProfileId?: string;
775
776
  mode?: Mode;
776
777
  workingMode?: WorkingMode;
777
778
  addInitialContextFiles?: boolean;
package/extensions.json CHANGED
@@ -77,8 +77,9 @@
77
77
  "id": "external-rules",
78
78
  "name": "External Rules",
79
79
  "description": "Includes rule files from Cursor, Claude Code, and Roo Code",
80
- "file": "external-rules.ts",
81
- "type": "single",
80
+ "folder": "external-rules",
81
+ "type": "folder",
82
+ "hasDependencies": false,
82
83
  "capabilities": ["context"]
83
84
  },
84
85
  {
@@ -300,6 +301,15 @@
300
301
  "hasDependencies": true,
301
302
  "capabilities": ["providers", "agent-loop"]
302
303
  },
304
+ {
305
+ "id": "github-copilot",
306
+ "name": "GitHub Copilot",
307
+ "description": "Integrates GitHub Copilot as an LLM provider using the official Copilot SDK (Copilot CLI). Agent mode only",
308
+ "folder": "github-copilot",
309
+ "type": "folder",
310
+ "hasDependencies": true,
311
+ "capabilities": ["providers", "agent-loop"]
312
+ },
303
313
  {
304
314
  "id": "checkpoints",
305
315
  "name": "Checkpoints",
@@ -317,6 +327,15 @@
317
327
  "type": "folder",
318
328
  "hasDependencies": true,
319
329
  "capabilities": ["tools", "search"]
330
+ },
331
+ {
332
+ "id": "kanban",
333
+ "name": "Kanban Board",
334
+ "description": "Kanban board for project tasks, grouped by state with auto-updating columns",
335
+ "folder": "kanban",
336
+ "type": "folder",
337
+ "hasDependencies": false,
338
+ "capabilities": ["ui"]
320
339
  }
321
340
  ]
322
341
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiderdesk/extensions",
3
- "version": "0.21.0",
3
+ "version": "0.22.0",
4
4
  "description": "Type definitions and examples for AiderDesk extensions",
5
5
  "author": "Hotovo",
6
6
  "homepage": "https://aiderdesk.hotovo.com",