You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- VS Code Extension Manager `vsce` (`npm install -g @vscode/vsce`) or run via `npx`
9
+
10
+
Install Dependencies
11
+
--------------------
12
+
```bash
13
+
cd vscode-extension/context-engine-uploader
14
+
npm install
15
+
```
16
+
17
+
Package the Extension
18
+
---------------------
19
+
```bash
20
+
cd vscode-extension/context-engine-uploader
21
+
npx vsce package
22
+
```
23
+
This emits a `.vsix` file such as `context-engine-uploader-0.1.0.vsix`.
24
+
25
+
Test Locally
26
+
------------
27
+
1. In VS Code, open the command palette and select `Developer: Install Extension from Location...`.
28
+
2. Pick the generated `.vsix`.
29
+
3. Reload the window when prompted.
30
+
31
+
Key Settings After Install
32
+
--------------------------
33
+
-`Context Engine Upload` output channel shows force-sync and watch logs.
34
+
-`Context Engine Uploader: Index Codebase` command or status bar button runs a force sync followed by watch.
35
+
- Configure `contextEngineUploader.targetPath`, `endpoint`, and other options under Settings → Extensions → Context Engine Uploader.
36
+
37
+
## Prerequisites
38
+
Python 3.8+ must be available on the host so the bundled client can run.
39
+
40
+
## Configuration
41
+
42
+
All settings live under `Context Engine Uploader` in the VS Code settings UI or `settings.json`.
43
+
44
+
| Setting | Description |
45
+
| --- | --- |
46
+
|`contextEngineUploader.runOnStartup`| Runs the force sync automatically after VS Code starts, then starts watch mode. Leave enabled to mirror the old manual workflow. |
47
+
|`contextEngineUploader.pythonPath`| Python executable to use (`python3` by default). |
48
+
|`contextEngineUploader.scriptWorkingDirectory`| Optional override for the folder that contains `standalone_upload_client.py`. Leave blank to use the extension’s own copy. |
49
+
|`contextEngineUploader.targetPath`| Absolute path that should be passed to `--path` (for example `/Users/mikah/Nadi/dumon/dumon-ai-engine-revised`). |
50
+
|`contextEngineUploader.endpoint`| Remote endpoint passed to `--endpoint`, defaulting to `http://mcp.speramus.id:8004`. |
51
+
|`contextEngineUploader.intervalSeconds`| Poll interval for watch mode. Set to `5` to match the previous command file. |
52
+
|`contextEngineUploader.extraForceArgs`| Optional string array appended to the force invocation. Leave empty for the standard workflow. |
53
+
|`contextEngineUploader.extraWatchArgs`| Optional string array appended to the watch invocation. |
54
+
55
+
## Commands and lifecycle
56
+
57
+
-`Context Engine Uploader: Start` — executes the initial `--force` followed by `--watch` using the configured settings.
-`Context Engine Uploader: Restart` — stops current processes and re-runs the startup sequence.
60
+
61
+
The extension logs all subprocess output to the **Context Engine Upload** output channel so you can confirm uploads without leaving VS Code. The watch process shuts down automatically when VS Code exits or when you run the Stop command.
0 commit comments