From 327286739745cddf5da4d3d952fcf21e89e94bda Mon Sep 17 00:00:00 2001 From: Sasha Denisov Date: Thu, 2 Jul 2026 19:09:21 +0200 Subject: [PATCH 1/2] =?UTF-8?q?fix(website):=20use=20plain=20code=20fences?= =?UTF-8?q?=20in=20agent.md=20=E2=80=94=20kotlin/xml/yaml=20crash=20the=20?= =?UTF-8?q?SSG=20highlighter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The merge deploy failed at 'Build Jaspr site (SSG)': syntax_highlight_lite only ships a Dart grammar, so the kotlin/xml/yaml fences in the new agent.md hit a null-check crash in Highlighter and took down the whole build (site stuck on the old version). Drop the language tags on those three blocks (plain fences, no highlighting) — every other doc uses only ```dart. Verified with a local jaspr build (14/14 routes, /docs/agent included). --- website/content/docs/agent.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/content/docs/agent.md b/website/content/docs/agent.md index df635d74..87bc2d96 100644 --- a/website/content/docs/agent.md +++ b/website/content/docs/agent.md @@ -110,7 +110,7 @@ Seven starter skills ship as package assets and cover all four mechanisms: ## SKILL.md format -```yaml +``` --- name: kebab-case-id description: One-line summary the model uses to pick the skill. @@ -153,13 +153,13 @@ Most skills need no platform setup. For the platform-specific bits: (pre-installed on Windows 11; bundle the bootstrapper for Windows 10). - **iOS** — the `create-calendar-event` intent needs a usage description in `ios/Runner/Info.plist`: - ```xml + ``` NSCalendarsUsageDescription Create calendar events from the agent. ``` - **Android** — `schedule_notification` requires core-library desugaring in `android/app/build.gradle(.kts)`: - ```kotlin + ``` android { compileOptions { isCoreLibraryDesugaringEnabled = true } } dependencies { coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.4") } ``` From b12764c520510e337bda89708c3100064adeb045 Mon Sep 17 00:00:00 2001 From: Sasha Denisov Date: Mon, 6 Jul 2026 11:23:16 +0200 Subject: [PATCH 2/2] chore(genkit): regenerate example generated_plugins.cmake (jni FFI plugin from path_provider_android) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The checked-in generated_plugins.cmake for the genkit_flutter_gemma example (linux + windows) was stale — it predated path_provider_android pulling in the jni FFI plugin transitively, so `flutter pub get` regenerates it with `jni` in FLUTTER_FFI_PLUGIN_LIST. This is a Flutter-generated file; committing the current output keeps git clean (and avoids a spurious 'modified files' warning at publish time). --- .../example/linux/flutter/generated_plugins.cmake | 1 + .../example/windows/flutter/generated_plugins.cmake | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/genkit_flutter_gemma/example/linux/flutter/generated_plugins.cmake b/packages/genkit_flutter_gemma/example/linux/flutter/generated_plugins.cmake index 28c3b56a..3b0705d0 100644 --- a/packages/genkit_flutter_gemma/example/linux/flutter/generated_plugins.cmake +++ b/packages/genkit_flutter_gemma/example/linux/flutter/generated_plugins.cmake @@ -7,6 +7,7 @@ list(APPEND FLUTTER_PLUGIN_LIST ) list(APPEND FLUTTER_FFI_PLUGIN_LIST + jni ) set(PLUGIN_BUNDLED_LIBRARIES) diff --git a/packages/genkit_flutter_gemma/example/windows/flutter/generated_plugins.cmake b/packages/genkit_flutter_gemma/example/windows/flutter/generated_plugins.cmake index 4ff4af4b..71fc21b2 100644 --- a/packages/genkit_flutter_gemma/example/windows/flutter/generated_plugins.cmake +++ b/packages/genkit_flutter_gemma/example/windows/flutter/generated_plugins.cmake @@ -7,6 +7,7 @@ list(APPEND FLUTTER_PLUGIN_LIST ) list(APPEND FLUTTER_FFI_PLUGIN_LIST + jni ) set(PLUGIN_BUNDLED_LIBRARIES)