neoagent 2.3.1-beta.22 → 2.3.1-beta.24
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/docs/configuration.md +2 -3
- package/docs/integrations.md +0 -4
- package/flutter_app/lib/main.dart +11 -5
- package/flutter_app/lib/main_integrations.dart +443 -245
- package/flutter_app/lib/main_models.dart +71 -27
- package/flutter_app/pubspec.lock +14 -14
- package/lib/install_helpers.js +18 -0
- package/lib/manager.js +1 -0
- package/package.json +2 -1
- package/server/db/database.js +101 -1
- package/server/http/middleware.js +6 -5
- package/server/public/assets/NOTICES +1 -1
- package/server/public/assets/fonts/MaterialIcons-Regular.otf +0 -0
- package/server/public/flutter_bootstrap.js +1 -1
- package/server/public/main.dart.js +36961 -36762
- package/server/routes/integrations.js +22 -1
- package/server/services/desktop/screenRecorder.js +1 -1
- package/server/services/integrations/home_assistant/provider.js +44 -26
- package/server/services/integrations/manager.js +2 -0
- package/server/services/integrations/oauth_provider.js +14 -5
- package/server/services/integrations/provider_config_store.js +22 -13
- package/server/services/integrations/trello/provider.js +147 -49
package/docs/configuration.md
CHANGED
|
@@ -95,8 +95,7 @@ All OAuth callbacks default to `PUBLIC_URL + /api/integrations/oauth/callback` u
|
|
|
95
95
|
| `HOME_ASSISTANT_OAUTH_CLIENT_SECRET` | Optional fallback Home Assistant OAuth client secret. |
|
|
96
96
|
| `HOME_ASSISTANT_OAUTH_REDIRECT_URI` | Optional fallback Home Assistant OAuth callback URL. |
|
|
97
97
|
| `HOME_ASSISTANT_ALLOW_PRIVATE_BASE_URL` | Optional safety override. Set to `1` only if you intentionally allow Home Assistant base URLs on localhost/private networks. |
|
|
98
|
-
| `TRELLO_API_KEY` |
|
|
99
|
-
| `TRELLO_TOKEN` | Not used. Trello is configured per user in Official Integrations. |
|
|
98
|
+
| `TRELLO_API_KEY` | Optional Trello Power-Up API key. If set, users only need to provide their personal token in Official Integrations. |
|
|
100
99
|
| `SPOTIFY_OAUTH_CLIENT_ID` | Spotify OAuth client ID |
|
|
101
100
|
| `SPOTIFY_OAUTH_CLIENT_SECRET` | Spotify OAuth client secret |
|
|
102
101
|
| `SPOTIFY_OAUTH_REDIRECT_URI` | Optional Spotify OAuth callback URL |
|
|
@@ -104,7 +103,7 @@ All OAuth callbacks default to `PUBLIC_URL + /api/integrations/oauth/callback` u
|
|
|
104
103
|
Home Assistant and Trello no longer require server-side setup. Each user can open Official Integrations and enter their own provider-specific credentials in the Flutter UI.
|
|
105
104
|
For safety, local/private Home Assistant targets are blocked by default unless `HOME_ASSISTANT_ALLOW_PRIVATE_BASE_URL=1` is set on the server.
|
|
106
105
|
|
|
107
|
-
Trello
|
|
106
|
+
Trello integration is flexible: users can provide both API key and token in the UI, or if `TRELLO_API_KEY` is set as a server environment variable, users only need to authenticate with their personal token. Tokens are stored securely per user and are never added to server environment variables.
|
|
108
107
|
|
|
109
108
|
Weather integration uses Open-Meteo public endpoints and does not require OAuth environment variables.
|
|
110
109
|
|
package/docs/integrations.md
CHANGED
|
@@ -20,10 +20,6 @@ The built-in registry includes:
|
|
|
20
20
|
|
|
21
21
|
OAuth app credentials are configured through server environment variables for most providers. Home Assistant and Trello can also be configured per-user in the Flutter **Integrations** UI without any server-side setup. Account connections are created in the Flutter UI under **Integrations**. Connected tools are exposed to the agent as structured tools, so prefer them over browser automation when they can do the job.
|
|
22
22
|
|
|
23
|
-
Trello uses a user-supplied API key and token instead of OAuth. Those values are stored per user in the encrypted integration config store, and Trello does not need any server environment variables.
|
|
24
|
-
|
|
25
|
-
Weather note: the Weather integration uses Open-Meteo public APIs and does not require OAuth client credentials.
|
|
26
|
-
|
|
27
23
|
### Per-Account Access Mode
|
|
28
24
|
|
|
29
25
|
Each connected official integration account can be configured per connection as:
|
|
@@ -11941,11 +11941,17 @@ class _MessagingQrPanel extends StatelessWidget {
|
|
|
11941
11941
|
color: Colors.white,
|
|
11942
11942
|
borderRadius: BorderRadius.circular(8),
|
|
11943
11943
|
),
|
|
11944
|
-
child:
|
|
11945
|
-
|
|
11946
|
-
|
|
11947
|
-
|
|
11948
|
-
|
|
11944
|
+
child: QrImageView(
|
|
11945
|
+
data: qrState.qr,
|
|
11946
|
+
size: 168,
|
|
11947
|
+
eyeStyle: const QrEyeStyle(
|
|
11948
|
+
eyeShape: QrEyeShape.square,
|
|
11949
|
+
color: Colors.black,
|
|
11950
|
+
),
|
|
11951
|
+
dataModuleStyle: const QrDataModuleStyle(
|
|
11952
|
+
dataModuleShape: QrDataModuleShape.square,
|
|
11953
|
+
color: Colors.black,
|
|
11954
|
+
),
|
|
11949
11955
|
),
|
|
11950
11956
|
);
|
|
11951
11957
|
final copy = Column(
|