@capgo/capacitor-widget-kit 8.1.13 → 8.1.15

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.
Files changed (2) hide show
  1. package/README.md +18 -1
  2. package/package.json +5 -8
package/README.md CHANGED
@@ -8,7 +8,6 @@ Build iOS Home Screen widgets, Lock Screen Live Activities and Android widgets f
8
8
  <p><b>Capgo</b>: push fixes to your Capacitor users in minutes, build signed iOS and Android apps without a Mac, and roll back in one click.</p>
9
9
  <h2><a href="https://capgo.app/register/?ref=plugin_widget_kit">➡️ Get started for free</a></h2>
10
10
  <p>14-day unlimited free trial. No credit card required</p>
11
- <p><a href="https://capgo.app/consulting/?ref=plugin_widget_kit">Missing a feature? We'll build the plugin for you 💪</a></p>
12
11
  </div>
13
12
 
14
13
  > 🤖 **Building with an AI coding agent?** Install [Capgo skills](https://capgo.app/skills/?ref=plugin_widget_kit) so Claude Code, Codex, Cursor, Copilot, or Gemini CLI know how to install and use `@capgo/capacitor-widget-kit` in your Capacitor app: `npx skills add Cap-go/capgo-skills`. Then ask your agent: *"Add @capgo/capacitor-widget-kit to my Capacitor app and wire it up."* [Agent setup guides](https://capgo.app/agents/?ref=plugin_widget_kit) · [Hosted MCP](https://capgo.app/docs/ai/mcp/?ref=plugin_widget_kit)
@@ -87,6 +86,24 @@ Example App Group:
87
86
  <string>group.app.capgo.widgetkit.exampleapp.widgetkit</string>
88
87
  ```
89
88
 
89
+ ## Siri / App Intents scope
90
+
91
+ The plugin ships a narrow App Intents layer for in-widget and Live Activity buttons. It does not register Siri phrases, Shortcuts tiles, or searchable intent catalogs.
92
+
93
+ **Supported today**
94
+
95
+ - iOS 17+ `LiveActivityIntent` types: `CapgoTemplateActionIntent` (template hotspot buttons on Home Screen widgets and Live Activities) and `CompleteSetIntent` (workout example Live Activity control).
96
+ - Capacitor APIs `performTemplateAction()` and `listTemplateEvents()` to run template actions from the app and read the shared interaction event log.
97
+
98
+ **Not supported**
99
+
100
+ - Siri voice phrases and Shortcuts discovery
101
+ - `AppShortcutsProvider`
102
+ - App Intents entity catalogs
103
+ - Spotlight indexing for intents
104
+
105
+ See [Siri, Shortcuts, widgets, and App Intents](https://capgo.app/docs/plugins/siri-shortcuts-widgets-and-intents/) for the full integration guide.
106
+
90
107
  ## Native Widget Code
91
108
 
92
109
  The plugin ships the native pieces a widget extension or Android widget can use:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-widget-kit",
3
- "version": "8.1.13",
3
+ "version": "8.1.15",
4
4
  "private": false,
5
5
  "description": "Capacitor plugin for generic iOS Home Screen widgets, WidgetKit, and Live Activities using SVG templates, declarative actions, and shared App Group persistence.",
6
6
  "main": "dist/plugin.cjs.js",
@@ -45,7 +45,7 @@
45
45
  "test:maestro:android": "./scripts/run-maestro-native.sh android",
46
46
  "lint": "rimraf ./build/example-ios && bun run eslint && bun run prettier -- --check && bun run swiftlint -- lint",
47
47
  "fmt": "bun run eslint -- --fix && bun run prettier -- --write && bun run swiftlint -- --fix --format",
48
- "eslint": "eslint . --ext .ts",
48
+ "eslint": "eslint",
49
49
  "prettier": "prettier-pretty-check \"**/*.{css,html,ts,js,json,java,mjs}\" --plugin=prettier-plugin-java",
50
50
  "swiftlint": "node-swiftlint",
51
51
  "docgen": "docgen --api CapgoWidgetKitPlugin --output-readme README.md --output-json dist/docs.json",
@@ -65,11 +65,11 @@
65
65
  "@capacitor/core": "^8.0.0",
66
66
  "@capacitor/docgen": "^0.3.1",
67
67
  "@capacitor/ios": "^8.0.0",
68
- "@ionic/eslint-config": "^0.4.0",
68
+ "@ionic/eslint-config": "^0.5.0",
69
69
  "@ionic/prettier-config": "^4.0.0",
70
70
  "@ionic/swiftlint-config": "^2.0.0",
71
71
  "@types/node": "^24.10.1",
72
- "eslint": "^8.57.1",
72
+ "eslint": "^10.0.0",
73
73
  "eslint-plugin-import": "^2.31.0",
74
74
  "prettier": "^3.6.2",
75
75
  "prettier-plugin-java": "^2.7.7",
@@ -77,16 +77,13 @@
77
77
  "rimraf": "^6.1.0",
78
78
  "rollup": "^4.53.2",
79
79
  "swiftlint": "^2.0.0",
80
- "typescript": "^5.9.3"
80
+ "typescript": "^6.0.3"
81
81
  },
82
82
  "peerDependencies": {
83
83
  "@capacitor/core": ">=8.0.0"
84
84
  },
85
85
  "prettier": "@ionic/prettier-config",
86
86
  "swiftlint": "@ionic/swiftlint-config",
87
- "eslintConfig": {
88
- "extends": "@ionic/eslint-config/recommended"
89
- },
90
87
  "capacitor": {
91
88
  "ios": {
92
89
  "src": "ios"