neoagent 2.3.1-beta.24 → 2.3.1-beta.25
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/.env.example +5 -0
- package/package.json +1 -1
- package/server/db/database.js +11 -12
- package/server/public/flutter_bootstrap.js +1 -1
package/.env.example
CHANGED
|
@@ -174,6 +174,11 @@ SPOTIFY_OAUTH_CLIENT_ID=your-spotify-oauth-client-id
|
|
|
174
174
|
SPOTIFY_OAUTH_CLIENT_SECRET=your-spotify-oauth-client-secret
|
|
175
175
|
SPOTIFY_OAUTH_REDIRECT_URI=
|
|
176
176
|
|
|
177
|
+
# Trello official integration API key.
|
|
178
|
+
# This is used for Trello account connections in Official Integrations.
|
|
179
|
+
# Users still connect their own Trello account token per agent in the UI.
|
|
180
|
+
TRELLO_API_KEY=your-trello-api-key
|
|
181
|
+
|
|
177
182
|
########################################
|
|
178
183
|
# Tools and media services
|
|
179
184
|
########################################
|
package/package.json
CHANGED
package/server/db/database.js
CHANGED
|
@@ -1337,18 +1337,6 @@ function migrateIntegrationProviderConfigsTable() {
|
|
|
1337
1337
|
.prepare('SELECT * FROM integration_provider_configs ORDER BY id ASC')
|
|
1338
1338
|
.all();
|
|
1339
1339
|
|
|
1340
|
-
const insert = db.prepare(`
|
|
1341
|
-
INSERT OR REPLACE INTO integration_provider_configs (
|
|
1342
|
-
id,
|
|
1343
|
-
user_id,
|
|
1344
|
-
agent_id,
|
|
1345
|
-
provider_key,
|
|
1346
|
-
config_json,
|
|
1347
|
-
created_at,
|
|
1348
|
-
updated_at
|
|
1349
|
-
) VALUES (?, ?, ?, ?, ?, ?, ?)
|
|
1350
|
-
`);
|
|
1351
|
-
|
|
1352
1340
|
db.exec('BEGIN');
|
|
1353
1341
|
try {
|
|
1354
1342
|
db.exec(`
|
|
@@ -1367,6 +1355,17 @@ function migrateIntegrationProviderConfigsTable() {
|
|
|
1367
1355
|
UNIQUE(user_id, agent_id, provider_key)
|
|
1368
1356
|
);
|
|
1369
1357
|
`);
|
|
1358
|
+
const insert = db.prepare(`
|
|
1359
|
+
INSERT OR REPLACE INTO integration_provider_configs (
|
|
1360
|
+
id,
|
|
1361
|
+
user_id,
|
|
1362
|
+
agent_id,
|
|
1363
|
+
provider_key,
|
|
1364
|
+
config_json,
|
|
1365
|
+
created_at,
|
|
1366
|
+
updated_at
|
|
1367
|
+
) VALUES (?, ?, ?, ?, ?, ?, ?)
|
|
1368
|
+
`);
|
|
1370
1369
|
|
|
1371
1370
|
for (const row of rows) {
|
|
1372
1371
|
insert.run(
|
|
@@ -37,6 +37,6 @@ _flutter.buildConfig = {"engineRevision":"59aa584fdf100e6c78c785d8a5b565d1de4b48
|
|
|
37
37
|
|
|
38
38
|
_flutter.loader.load({
|
|
39
39
|
serviceWorkerSettings: {
|
|
40
|
-
serviceWorkerVersion: "
|
|
40
|
+
serviceWorkerVersion: "1747451041" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
|
|
41
41
|
}
|
|
42
42
|
});
|