diff --git a/CLAUDE.md b/CLAUDE.md index f11790d4..85b202f2 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -121,7 +121,7 @@ This is intentional — the `application`-as-library packaging trips those check ### Asset downloads (rare) -Some plugins (`ndk-installer-plugin`, `ai-literacy-course`) register a `downloadAssets` task that fetches large files at build time with pinned-MD5 verification. These assets are **not committed to git** (e.g. `ai-literacy-course` pulls a ~110 MB course ZIP plus `pdfjs.zip`). `scripts/update-libs.sh` runs `downloadAssets` automatically before `assemblePlugin` when the build file references it. +Some plugins (`ndk-installer`, `ai-literacy-course`) register a `downloadAssets` task that fetches large files at build time with pinned-MD5 verification. These assets are **not committed to git** (e.g. `ai-literacy-course` pulls a ~110 MB course ZIP plus `pdfjs.zip`). `scripts/update-libs.sh` runs `downloadAssets` automatically before `assemblePlugin` when the build file references it. **Gotcha: a bare `./gradlew assemblePlugin` does NOT run `downloadAssets` and does not warn when the assets are missing** — it silently packages a broken `.cgp` (e.g. a course with no PDF viewer). When building such a plugin by hand, run `./gradlew downloadAssets assemblePlugin` (or the script), and confirm the expected files exist under `src/main/assets/` (or `unzip -l` the `.cgp`) before trusting it. diff --git a/ai-agent-gemini/README.md b/ai-agent-gemini/README.md index e5b5251d..e59e8f2b 100644 --- a/ai-agent-gemini/README.md +++ b/ai-agent-gemini/README.md @@ -2,8 +2,8 @@ Google Gemini API inference for CodeOnTheGo's AI plugins. Registers itself as the `gemini` backend with [`ai-core`](../ai-core/)'s `LlmInferenceService`, which is -what `ai-core`'s Agent chat, `code-suggestions-plugin`, `speech-to-text-plugin` and -`vector-search-plugin` actually talk to. +what `ai-core`'s Agent chat, `Code-Suggestions`, `Speech-to-Text` and +`Vector-Search` actually talk to. Calls the Generative Language REST API directly over `HttpURLConnection` rather than the google-genai SDK: the SDK bundles OkHttp 4.x, but plugins run in the diff --git a/ai-agent-local/README.md b/ai-agent-local/README.md index 25334e06..ae84920f 100644 --- a/ai-agent-local/README.md +++ b/ai-agent-local/README.md @@ -2,8 +2,8 @@ On-device GGUF inference for CodeOnTheGo's AI plugins. Registers itself as the `local` backend with [`ai-core`](../ai-core/)'s `LlmInferenceService`, which is -what `ai-core`'s Agent chat, `code-suggestions-plugin`, `speech-to-text-plugin` and -`vector-search-plugin` actually talk to. +what `ai-core`'s Agent chat, `Code-Suggestions`, `Speech-to-Text` and +`Vector-Search` actually talk to. Runs `.gguf` models through a bundled, prebuilt **llama.cpp** AAR. Declares no INTERNET permission — prompts and code never leave the device. Requires a 64-bit diff --git a/ai-agent-openai/README.md b/ai-agent-openai/README.md index d79bb0f5..b66a0381 100644 --- a/ai-agent-openai/README.md +++ b/ai-agent-openai/README.md @@ -2,8 +2,8 @@ OpenAI-compatible inference for CodeOnTheGo's AI plugins. Registers itself as the `openai` backend with [`ai-core`](../ai-core/)'s `LlmInferenceService`, which is -what `ai-core`'s Agent chat, `code-suggestions-plugin`, `speech-to-text-plugin` -and `vector-search-plugin` actually talk to. +what `ai-core`'s Agent chat, `Code-Suggestions`, `Speech-to-Text` +and `Vector-Search` actually talk to. **One backend, many servers.** It speaks `POST {baseUrl}/chat/completions`, and the base URL is a setting. Across OpenAI, Ollama, LM Studio, OpenRouter and diff --git a/ai-core/README.md b/ai-core/README.md index 4f0442ba..8ac40b4a 100644 --- a/ai-core/README.md +++ b/ai-core/README.md @@ -6,9 +6,9 @@ Two things in one plugin, and **mandatory for every AI feature**: the open project behind an approval gate, contributed as an editor tab plus a settings screen. 2. The **LLM inference router** — publishes `LlmInferenceService` through - `SharedServices`, which [`code-suggestions-plugin`](../code-suggestions-plugin/), - [`speech-to-text-plugin`](../speech-to-text-plugin/) and - [`vector-search-plugin`](../vector-search-plugin/) consume at runtime. + `SharedServices`, which [`Code-Suggestions`](../plugins/Code-Suggestions/), + [`Speech-to-Text`](../plugins/Speech-to-Text/) and + [`Vector-Search`](../plugins/Vector-Search/) consume at runtime. The Agent and the router shipped as separate `ai-assistant` and `ai-core` plugins until they were merged here; an existing install's settings and chat history are diff --git a/ai-literacy-course/build.gradle.kts b/ai-literacy-course/build.gradle.kts index 06342e17..6c97c479 100644 --- a/ai-literacy-course/build.gradle.kts +++ b/ai-literacy-course/build.gradle.kts @@ -85,7 +85,7 @@ tasks.matching { enabled = false } -// --- Build-time asset downloads (mirrors ndk-installer-plugin) --------------- +// --- Build-time asset downloads (mirrors ndk-installer) --------------- // // Neither the 110 MB course ZIP nor the PDF.js viewer is committed to git. This // task pulls each from its source and verifies a pinned MD5. scripts/update-libs.sh diff --git a/plugins/Code-Suggestions/README.md b/plugins/Code-Suggestions/README.md index 4a91a411..54be6251 100644 --- a/plugins/Code-Suggestions/README.md +++ b/plugins/Code-Suggestions/README.md @@ -47,8 +47,8 @@ Prerequisites: Android SDK (API 33+), JDK 17. Create `local.properties` with `sdk.dir=...`. No NDK or native toolchain. ```bash -cd code-suggestions-plugin -../gradlew assemblePlugin # release -> build/plugin/code-suggestions-plugin.cgp +cd Code-Suggestions +../gradlew assemblePlugin # release -> build/plugin/code-suggestions.cgp ../gradlew assemblePluginDebug # debug variant ``` @@ -57,7 +57,7 @@ The build resolves `plugin-api.jar` from the repo-root `../libs/`. ## Installation 1. Build and install **`ai-core` first** (see [`../ai-core/README.md`](../ai-core/README.md)). -2. Build this plugin, install `build/plugin/code-suggestions-plugin.cgp` via +2. Build this plugin, install `build/plugin/code-suggestions.cgp` via CodeOnTheGo's Plugin Manager, and restart the IDE. 3. Configure a model in **AI Assistant → AI Settings**. diff --git a/plugins/Code-Suggestions/settings.gradle.kts b/plugins/Code-Suggestions/settings.gradle.kts index bea1c17d..e76dc209 100644 --- a/plugins/Code-Suggestions/settings.gradle.kts +++ b/plugins/Code-Suggestions/settings.gradle.kts @@ -17,4 +17,4 @@ dependencyResolutionManagement { repositories { google(); mavenCentral() } } -rootProject.name = "code-suggestions-plugin" +rootProject.name = "code-suggestions" diff --git a/plugins/Flutter-Templates/README.md b/plugins/Flutter-Templates/README.md index 61c83ff0..7ab5189d 100644 --- a/plugins/Flutter-Templates/README.md +++ b/plugins/Flutter-Templates/README.md @@ -35,7 +35,7 @@ cd flutter-template ../gradlew clean assemblePlugin ``` -The `.cgp` lands in `build/plugin/fluttertemplate.cgp`. Install it from inside Code on the Go via +The `.cgp` lands in `build/plugin/flutter-templates.cgp`. Install it from inside Code on the Go via the Plugin Manager, then open **New Project** to see the Flutter templates. ## Note on the Flutter SDK diff --git a/plugins/Flutter-Templates/flutter-templates.html b/plugins/Flutter-Templates/flutter-templates.html index e10c2817..342a57e7 100644 --- a/plugins/Flutter-Templates/flutter-templates.html +++ b/plugins/Flutter-Templates/flutter-templates.html @@ -294,7 +294,7 @@