neoagent 2.3.1-beta.62 → 2.3.1-beta.64

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 (45) hide show
  1. package/.env.example +9 -0
  2. package/docs/configuration.md +11 -0
  3. package/flutter_app/lib/main.dart +2 -0
  4. package/flutter_app/lib/main_account_settings.dart +50 -22
  5. package/flutter_app/lib/main_admin.dart +24 -10
  6. package/flutter_app/lib/main_app_shell.dart +10 -9
  7. package/flutter_app/lib/main_chat.dart +433 -309
  8. package/flutter_app/lib/main_controller.dart +164 -6
  9. package/flutter_app/lib/main_integrations.dart +15 -7
  10. package/flutter_app/lib/main_models.dart +116 -7
  11. package/flutter_app/lib/main_navigation.dart +27 -18
  12. package/flutter_app/lib/main_operations.dart +162 -91
  13. package/flutter_app/lib/main_runtime.dart +22 -0
  14. package/flutter_app/lib/main_settings.dart +287 -75
  15. package/flutter_app/lib/main_shared.dart +165 -6
  16. package/flutter_app/lib/main_unified.dart +388 -0
  17. package/flutter_app/lib/src/analytics_service.dart +294 -0
  18. package/flutter_app/lib/src/backend_client.dart +4 -0
  19. package/flutter_app/macos/Flutter/GeneratedPluginRegistrant.swift +2 -0
  20. package/flutter_app/pubspec.lock +8 -0
  21. package/flutter_app/pubspec.yaml +1 -0
  22. package/flutter_app/web/index.html +1 -0
  23. package/package.json +1 -1
  24. package/server/config/analytics.js +30 -0
  25. package/server/db/database.js +52 -0
  26. package/server/http/routes.js +1 -0
  27. package/server/public/.last_build_id +1 -1
  28. package/server/public/assets/AssetManifest.bin +1 -1
  29. package/server/public/assets/AssetManifest.bin.json +1 -1
  30. package/server/public/assets/NOTICES +183 -0
  31. package/server/public/assets/fonts/MaterialIcons-Regular.otf +0 -0
  32. package/server/public/assets/packages/mixpanel_flutter/assets/mixpanel.js +3 -0
  33. package/server/public/flutter_bootstrap.js +1 -1
  34. package/server/public/index.html +1 -0
  35. package/server/public/main.dart.js +83685 -82046
  36. package/server/routes/agents.js +2 -1
  37. package/server/routes/memory.js +75 -3
  38. package/server/routes/runtime.js +14 -0
  39. package/server/routes/widgets.js +4 -4
  40. package/server/services/ai/engine.js +86 -0
  41. package/server/services/ai/runEvents.js +100 -0
  42. package/server/services/memory/manager.js +242 -26
  43. package/server/services/websocket.js +3 -1
  44. package/server/services/widgets/focus_widget.js +126 -0
  45. package/server/services/widgets/service.js +130 -2
@@ -574,6 +574,14 @@ packages:
574
574
  url: "https://pub.dev"
575
575
  source: hosted
576
576
  version: "1.17.0"
577
+ mixpanel_flutter:
578
+ dependency: "direct main"
579
+ description:
580
+ name: mixpanel_flutter
581
+ sha256: "6962b8ce61eb6202d6545bee648e21a7bc9f7e804fa293912e9673329f499ece"
582
+ url: "https://pub.dev"
583
+ source: hosted
584
+ version: "2.7.0"
577
585
  mobile_scanner:
578
586
  dependency: "direct main"
579
587
  description:
@@ -14,6 +14,7 @@ dependencies:
14
14
  google_fonts: ^6.3.1
15
15
  image: ^4.5.4
16
16
  http: ^1.5.0
17
+ mixpanel_flutter: ^2.6.1
17
18
  connectivity_plus: 6.1.5
18
19
  shared_preferences: ^2.5.3
19
20
  flutter_secure_storage: ^9.2.2
@@ -32,6 +32,7 @@
32
32
 
33
33
  <title>NeoAgent</title>
34
34
  <link rel="manifest" href="manifest.json">
35
+ <script src="https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js"></script>
35
36
  </head>
36
37
  <body>
37
38
  <script src="flutter_bootstrap.js" async></script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neoagent",
3
- "version": "2.3.1-beta.62",
3
+ "version": "2.3.1-beta.64",
4
4
  "description": "Proactive personal AI agent with no limits",
5
5
  "license": "MIT",
6
6
  "main": "server/index.js",
@@ -0,0 +1,30 @@
1
+ 'use strict';
2
+
3
+ const DEFAULT_MIXPANEL_TOKEN = '4a47ae6a05cf39a8faf0438a1200dde6';
4
+
5
+ function normalizeToken(value) {
6
+ return String(value || '').trim();
7
+ }
8
+
9
+ function resolveMixpanelToken() {
10
+ if (Object.prototype.hasOwnProperty.call(process.env, 'NEOAGENT_MIXPANEL_TOKEN')) {
11
+ return normalizeToken(process.env.NEOAGENT_MIXPANEL_TOKEN);
12
+ }
13
+ return normalizeToken(DEFAULT_MIXPANEL_TOKEN);
14
+ }
15
+
16
+ function getAnalyticsConfig() {
17
+ const mixpanelToken = resolveMixpanelToken();
18
+ return {
19
+ mixpanel: {
20
+ enabled: mixpanelToken.length > 0,
21
+ token: mixpanelToken || null,
22
+ },
23
+ };
24
+ }
25
+
26
+ module.exports = {
27
+ DEFAULT_MIXPANEL_TOKEN,
28
+ getAnalyticsConfig,
29
+ resolveMixpanelToken,
30
+ };
@@ -442,6 +442,9 @@ db.exec(`
442
442
  user_id INTEGER NOT NULL,
443
443
  agent_id TEXT,
444
444
  name TEXT NOT NULL,
445
+ widget_kind TEXT DEFAULT 'custom',
446
+ system_key TEXT,
447
+ is_system INTEGER DEFAULT 0,
445
448
  template TEXT NOT NULL,
446
449
  layout_variant TEXT NOT NULL,
447
450
  definition_json TEXT DEFAULT '{}',
@@ -493,6 +496,13 @@ db.exec(`
493
496
  user_id INTEGER NOT NULL,
494
497
  agent_id TEXT,
495
498
  category TEXT DEFAULT 'episodic',
499
+ scope_type TEXT DEFAULT 'agent',
500
+ scope_id TEXT,
501
+ source_type TEXT,
502
+ source_id TEXT,
503
+ source_label TEXT,
504
+ stale_after_days INTEGER,
505
+ metadata_json TEXT DEFAULT '{}',
496
506
  content TEXT NOT NULL,
497
507
  importance INTEGER DEFAULT 5,
498
508
  embedding TEXT,
@@ -517,6 +527,36 @@ db.exec(`
517
527
  CREATE INDEX IF NOT EXISTS idx_memories_user ON memories(user_id, archived, updated_at DESC);
518
528
  CREATE INDEX IF NOT EXISTS idx_memories_category ON memories(user_id, category, archived);
519
529
 
530
+ CREATE TABLE IF NOT EXISTS assistant_self_state (
531
+ user_id INTEGER NOT NULL,
532
+ agent_id TEXT NOT NULL,
533
+ identity_json TEXT DEFAULT '{}',
534
+ focus_json TEXT DEFAULT '{}',
535
+ updated_at TEXT DEFAULT (datetime('now')),
536
+ PRIMARY KEY (user_id, agent_id),
537
+ FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE,
538
+ FOREIGN KEY (agent_id) REFERENCES agents(id) ON DELETE CASCADE
539
+ );
540
+
541
+ CREATE TABLE IF NOT EXISTS agent_run_events (
542
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
543
+ run_id TEXT NOT NULL,
544
+ user_id INTEGER NOT NULL,
545
+ agent_id TEXT,
546
+ event_type TEXT NOT NULL,
547
+ request_id TEXT,
548
+ step_id TEXT,
549
+ sequence_index INTEGER DEFAULT 0,
550
+ payload_json TEXT DEFAULT '{}',
551
+ created_at TEXT DEFAULT (datetime('now')),
552
+ FOREIGN KEY (run_id) REFERENCES agent_runs(id) ON DELETE CASCADE,
553
+ FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE,
554
+ FOREIGN KEY (agent_id) REFERENCES agents(id) ON DELETE SET NULL
555
+ );
556
+
557
+ CREATE INDEX IF NOT EXISTS idx_agent_run_events_run ON agent_run_events(run_id, sequence_index, id);
558
+ CREATE INDEX IF NOT EXISTS idx_agent_run_events_user ON agent_run_events(user_id, created_at DESC);
559
+
520
560
  CREATE TABLE IF NOT EXISTS agent_settings (
521
561
  id INTEGER PRIMARY KEY AUTOINCREMENT,
522
562
  user_id INTEGER NOT NULL,
@@ -837,6 +877,16 @@ for (const col of [
837
877
  "ALTER TABLE conversation_history ADD COLUMN agent_id TEXT",
838
878
  "ALTER TABLE memories ADD COLUMN agent_id TEXT",
839
879
  "ALTER TABLE core_memory ADD COLUMN agent_id TEXT",
880
+ "ALTER TABLE ai_widgets ADD COLUMN widget_kind TEXT DEFAULT 'custom'",
881
+ "ALTER TABLE ai_widgets ADD COLUMN system_key TEXT",
882
+ "ALTER TABLE ai_widgets ADD COLUMN is_system INTEGER DEFAULT 0",
883
+ "ALTER TABLE memories ADD COLUMN scope_type TEXT DEFAULT 'agent'",
884
+ "ALTER TABLE memories ADD COLUMN scope_id TEXT",
885
+ "ALTER TABLE memories ADD COLUMN source_type TEXT",
886
+ "ALTER TABLE memories ADD COLUMN source_id TEXT",
887
+ "ALTER TABLE memories ADD COLUMN source_label TEXT",
888
+ "ALTER TABLE memories ADD COLUMN stale_after_days INTEGER",
889
+ "ALTER TABLE memories ADD COLUMN metadata_json TEXT DEFAULT '{}'",
840
890
  "ALTER TABLE scheduled_tasks ADD COLUMN run_at TEXT",
841
891
  "ALTER TABLE scheduled_tasks ADD COLUMN one_time INTEGER DEFAULT 0",
842
892
  "ALTER TABLE scheduled_tasks ADD COLUMN execution_mode TEXT DEFAULT 'prompt'",
@@ -895,7 +945,9 @@ function createAgentScopedIndexes() {
895
945
  ['scheduled_tasks', 'CREATE INDEX IF NOT EXISTS idx_scheduled_tasks_agent ON scheduled_tasks(user_id, agent_id)'],
896
946
  ['conversation_history', 'CREATE INDEX IF NOT EXISTS idx_conv_history_agent ON conversation_history(user_id, agent_id, created_at DESC)'],
897
947
  ['memories', 'CREATE INDEX IF NOT EXISTS idx_memories_agent ON memories(user_id, agent_id, archived, updated_at DESC)'],
948
+ ['memories', 'CREATE INDEX IF NOT EXISTS idx_memories_scope ON memories(user_id, agent_id, scope_type, scope_id, archived, updated_at DESC)'],
898
949
  ['core_memory', 'CREATE INDEX IF NOT EXISTS idx_core_memory_agent ON core_memory(user_id, agent_id, key)'],
950
+ ['ai_widgets', 'CREATE UNIQUE INDEX IF NOT EXISTS idx_ai_widgets_system_key ON ai_widgets(user_id, agent_id, system_key) WHERE system_key IS NOT NULL'],
899
951
  ];
900
952
  for (const [table, statement] of statements) {
901
953
  if (!tableHasColumn(table, 'agent_id')) continue;
@@ -6,6 +6,7 @@ const { getVersionInfo } = require('../utils/version');
6
6
  const { getRuntimeValidation } = require('../services/runtime/validation');
7
7
 
8
8
  const routeRegistry = [
9
+ { basePath: '/api/runtime', modulePath: '../routes/runtime' },
9
10
  { basePath: null, modulePath: '../routes/auth' },
10
11
  { basePath: '/api/account', modulePath: '../routes/account' },
11
12
  { basePath: '/api/settings', modulePath: '../routes/settings' },
@@ -1 +1 @@
1
- 9d29bc71178d488830002fc181bd7371
1
+ 041b637a102d15b05aa2cd1af9c6e61e
@@ -1 +1 @@
1
-
1
+
@@ -1 +1 @@
1
- "DQcHIGFzc2V0cy9icmFuZGluZy9hcHBfaWNvbl8yNTYucG5nDAENAQcFYXNzZXQHIGFzc2V0cy9icmFuZGluZy9hcHBfaWNvbl8yNTYucG5nByRhc3NldHMvYnJhbmRpbmcvb25ib2FyZGluZ19pbnRyby5tcDQMAQ0BBwVhc3NldAckYXNzZXRzL2JyYW5kaW5nL29uYm9hcmRpbmdfaW50cm8ubXA0ByZhc3NldHMvYnJhbmRpbmcvdHJheV9pY29uX3RlbXBsYXRlLnBuZwwBDQEHBWFzc2V0ByZhc3NldHMvYnJhbmRpbmcvdHJheV9pY29uX3RlbXBsYXRlLnBuZwcycGFja2FnZXMvY3VwZXJ0aW5vX2ljb25zL2Fzc2V0cy9DdXBlcnRpbm9JY29ucy50dGYMAQ0BBwVhc3NldAcycGFja2FnZXMvY3VwZXJ0aW5vX2ljb25zL2Fzc2V0cy9DdXBlcnRpbm9JY29ucy50dGYHN3BhY2thZ2VzL3JlY29yZF93ZWIvYXNzZXRzL2pzL3JlY29yZC5maXh3ZWJtZHVyYXRpb24uanMMAQ0BBwVhc3NldAc3cGFja2FnZXMvcmVjb3JkX3dlYi9hc3NldHMvanMvcmVjb3JkLmZpeHdlYm1kdXJhdGlvbi5qcwcvcGFja2FnZXMvcmVjb3JkX3dlYi9hc3NldHMvanMvcmVjb3JkLndvcmtsZXQuanMMAQ0BBwVhc3NldAcvcGFja2FnZXMvcmVjb3JkX3dlYi9hc3NldHMvanMvcmVjb3JkLndvcmtsZXQuanMHFndlYi9pY29ucy9JY29uLTE5Mi5wbmcMAQ0BBwVhc3NldAcWd2ViL2ljb25zL0ljb24tMTkyLnBuZw=="
1
+ "DQgHIGFzc2V0cy9icmFuZGluZy9hcHBfaWNvbl8yNTYucG5nDAENAQcFYXNzZXQHIGFzc2V0cy9icmFuZGluZy9hcHBfaWNvbl8yNTYucG5nByRhc3NldHMvYnJhbmRpbmcvb25ib2FyZGluZ19pbnRyby5tcDQMAQ0BBwVhc3NldAckYXNzZXRzL2JyYW5kaW5nL29uYm9hcmRpbmdfaW50cm8ubXA0ByZhc3NldHMvYnJhbmRpbmcvdHJheV9pY29uX3RlbXBsYXRlLnBuZwwBDQEHBWFzc2V0ByZhc3NldHMvYnJhbmRpbmcvdHJheV9pY29uX3RlbXBsYXRlLnBuZwcycGFja2FnZXMvY3VwZXJ0aW5vX2ljb25zL2Fzc2V0cy9DdXBlcnRpbm9JY29ucy50dGYMAQ0BBwVhc3NldAcycGFja2FnZXMvY3VwZXJ0aW5vX2ljb25zL2Fzc2V0cy9DdXBlcnRpbm9JY29ucy50dGYHLHBhY2thZ2VzL21peHBhbmVsX2ZsdXR0ZXIvYXNzZXRzL21peHBhbmVsLmpzDAENAQcFYXNzZXQHLHBhY2thZ2VzL21peHBhbmVsX2ZsdXR0ZXIvYXNzZXRzL21peHBhbmVsLmpzBzdwYWNrYWdlcy9yZWNvcmRfd2ViL2Fzc2V0cy9qcy9yZWNvcmQuZml4d2VibWR1cmF0aW9uLmpzDAENAQcFYXNzZXQHN3BhY2thZ2VzL3JlY29yZF93ZWIvYXNzZXRzL2pzL3JlY29yZC5maXh3ZWJtZHVyYXRpb24uanMHL3BhY2thZ2VzL3JlY29yZF93ZWIvYXNzZXRzL2pzL3JlY29yZC53b3JrbGV0LmpzDAENAQcFYXNzZXQHL3BhY2thZ2VzL3JlY29yZF93ZWIvYXNzZXRzL2pzL3JlY29yZC53b3JrbGV0LmpzBxZ3ZWIvaWNvbnMvSWNvbi0xOTIucG5nDAENAQcFYXNzZXQHFndlYi9pY29ucy9JY29uLTE5Mi5wbmc="
@@ -24829,6 +24829,189 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24829
24829
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24830
24830
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24831
24831
  SOFTWARE.
24832
+ --------------------------------------------------------------------------------
24833
+ mixpanel_flutter
24834
+
24835
+ Copyright 2022 Mixpanel, Inc.
24836
+
24837
+
24838
+ Apache License
24839
+ Version 2.0, January 2004
24840
+ http://www.apache.org/licenses/
24841
+
24842
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
24843
+
24844
+ 1. Definitions.
24845
+
24846
+ "License" shall mean the terms and conditions for use, reproduction,
24847
+ and distribution as defined by Sections 1 through 9 of this document.
24848
+
24849
+ "Licensor" shall mean the copyright owner or entity authorized by
24850
+ the copyright owner that is granting the License.
24851
+
24852
+ "Legal Entity" shall mean the union of the acting entity and all
24853
+ other entities that control, are controlled by, or are under common
24854
+ control with that entity. For the purposes of this definition,
24855
+ "control" means (i) the power, direct or indirect, to cause the
24856
+ direction or management of such entity, whether by contract or
24857
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
24858
+ outstanding shares, or (iii) beneficial ownership of such entity.
24859
+
24860
+ "You" (or "Your") shall mean an individual or Legal Entity
24861
+ exercising permissions granted by this License.
24862
+
24863
+ "Source" form shall mean the preferred form for making modifications,
24864
+ including but not limited to software source code, documentation
24865
+ source, and configuration files.
24866
+
24867
+ "Object" form shall mean any form resulting from mechanical
24868
+ transformation or translation of a Source form, including but
24869
+ not limited to compiled object code, generated documentation,
24870
+ and conversions to other media types.
24871
+
24872
+ "Work" shall mean the work of authorship, whether in Source or
24873
+ Object form, made available under the License, as indicated by a
24874
+ copyright notice that is included in or attached to the work
24875
+ (an example is provided in the Appendix below).
24876
+
24877
+ "Derivative Works" shall mean any work, whether in Source or Object
24878
+ form, that is based on (or derived from) the Work and for which the
24879
+ editorial revisions, annotations, elaborations, or other modifications
24880
+ represent, as a whole, an original work of authorship. For the purposes
24881
+ of this License, Derivative Works shall not include works that remain
24882
+ separable from, or merely link (or bind by name) to the interfaces of,
24883
+ the Work and Derivative Works thereof.
24884
+
24885
+ "Contribution" shall mean any work of authorship, including
24886
+ the original version of the Work and any modifications or additions
24887
+ to that Work or Derivative Works thereof, that is intentionally
24888
+ submitted to Licensor for inclusion in the Work by the copyright owner
24889
+ or by an individual or Legal Entity authorized to submit on behalf of
24890
+ the copyright owner. For the purposes of this definition, "submitted"
24891
+ means any form of electronic, verbal, or written communication sent
24892
+ to the Licensor or its representatives, including but not limited to
24893
+ communication on electronic mailing lists, source code control systems,
24894
+ and issue tracking systems that are managed by, or on behalf of, the
24895
+ Licensor for the purpose of discussing and improving the Work, but
24896
+ excluding communication that is conspicuously marked or otherwise
24897
+ designated in writing by the copyright owner as "Not a Contribution."
24898
+
24899
+ "Contributor" shall mean Licensor and any individual or Legal Entity
24900
+ on behalf of whom a Contribution has been received by Licensor and
24901
+ subsequently incorporated within the Work.
24902
+
24903
+ 2. Grant of Copyright License. Subject to the terms and conditions of
24904
+ this License, each Contributor hereby grants to You a perpetual,
24905
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
24906
+ copyright license to reproduce, prepare Derivative Works of,
24907
+ publicly display, publicly perform, sublicense, and distribute the
24908
+ Work and such Derivative Works in Source or Object form.
24909
+
24910
+ 3. Grant of Patent License. Subject to the terms and conditions of
24911
+ this License, each Contributor hereby grants to You a perpetual,
24912
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
24913
+ (except as stated in this section) patent license to make, have made,
24914
+ use, offer to sell, sell, import, and otherwise transfer the Work,
24915
+ where such license applies only to those patent claims licensable
24916
+ by such Contributor that are necessarily infringed by their
24917
+ Contribution(s) alone or by combination of their Contribution(s)
24918
+ with the Work to which such Contribution(s) was submitted. If You
24919
+ institute patent litigation against any entity (including a
24920
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
24921
+ or a Contribution incorporated within the Work constitutes direct
24922
+ or contributory patent infringement, then any patent licenses
24923
+ granted to You under this License for that Work shall terminate
24924
+ as of the date such litigation is filed.
24925
+
24926
+ 4. Redistribution. You may reproduce and distribute copies of the
24927
+ Work or Derivative Works thereof in any medium, with or without
24928
+ modifications, and in Source or Object form, provided that You
24929
+ meet the following conditions:
24930
+
24931
+ (a) You must give any other recipients of the Work or
24932
+ Derivative Works a copy of this License; and
24933
+
24934
+ (b) You must cause any modified files to carry prominent notices
24935
+ stating that You changed the files; and
24936
+
24937
+ (c) You must retain, in the Source form of any Derivative Works
24938
+ that You distribute, all copyright, patent, trademark, and
24939
+ attribution notices from the Source form of the Work,
24940
+ excluding those notices that do not pertain to any part of
24941
+ the Derivative Works; and
24942
+
24943
+ (d) If the Work includes a "NOTICE" text file as part of its
24944
+ distribution, then any Derivative Works that You distribute must
24945
+ include a readable copy of the attribution notices contained
24946
+ within such NOTICE file, excluding those notices that do not
24947
+ pertain to any part of the Derivative Works, in at least one
24948
+ of the following places: within a NOTICE text file distributed
24949
+ as part of the Derivative Works; within the Source form or
24950
+ documentation, if provided along with the Derivative Works; or,
24951
+ within a display generated by the Derivative Works, if and
24952
+ wherever such third-party notices normally appear. The contents
24953
+ of the NOTICE file are for informational purposes only and
24954
+ do not modify the License. You may add Your own attribution
24955
+ notices within Derivative Works that You distribute, alongside
24956
+ or as an addendum to the NOTICE text from the Work, provided
24957
+ that such additional attribution notices cannot be construed
24958
+ as modifying the License.
24959
+
24960
+ You may add Your own copyright statement to Your modifications and
24961
+ may provide additional or different license terms and conditions
24962
+ for use, reproduction, or distribution of Your modifications, or
24963
+ for any such Derivative Works as a whole, provided Your use,
24964
+ reproduction, and distribution of the Work otherwise complies with
24965
+ the conditions stated in this License.
24966
+
24967
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
24968
+ any Contribution intentionally submitted for inclusion in the Work
24969
+ by You to the Licensor shall be under the terms and conditions of
24970
+ this License, without any additional terms or conditions.
24971
+ Notwithstanding the above, nothing herein shall supersede or modify
24972
+ the terms of any separate license agreement you may have executed
24973
+ with Licensor regarding such Contributions.
24974
+
24975
+ 6. Trademarks. This License does not grant permission to use the trade
24976
+ names, trademarks, service marks, or product names of the Licensor,
24977
+ except as required for reasonable and customary use in describing the
24978
+ origin of the Work and reproducing the content of the NOTICE file.
24979
+
24980
+ 7. Disclaimer of Warranty. Unless required by applicable law or
24981
+ agreed to in writing, Licensor provides the Work (and each
24982
+ Contributor provides its Contributions) on an "AS IS" BASIS,
24983
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
24984
+ implied, including, without limitation, any warranties or conditions
24985
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
24986
+ PARTICULAR PURPOSE. You are solely responsible for determining the
24987
+ appropriateness of using or redistributing the Work and assume any
24988
+ risks associated with Your exercise of permissions under this License.
24989
+
24990
+ 8. Limitation of Liability. In no event and under no legal theory,
24991
+ whether in tort (including negligence), contract, or otherwise,
24992
+ unless required by applicable law (such as deliberate and grossly
24993
+ negligent acts) or agreed to in writing, shall any Contributor be
24994
+ liable to You for damages, including any direct, indirect, special,
24995
+ incidental, or consequential damages of any character arising as a
24996
+ result of this License or out of the use or inability to use the
24997
+ Work (including but not limited to damages for loss of goodwill,
24998
+ work stoppage, computer failure or malfunction, or any and all
24999
+ other commercial damages or losses), even if such Contributor
25000
+ has been advised of the possibility of such damages.
25001
+
25002
+ 9. Accepting Warranty or Additional Liability. While redistributing
25003
+ the Work or Derivative Works thereof, You may choose to offer,
25004
+ and charge a fee for, acceptance of support, warranty, indemnity,
25005
+ or other liability obligations and/or rights consistent with this
25006
+ License. However, in accepting such obligations, You may act only
25007
+ on Your own behalf and on Your sole responsibility, not on behalf
25008
+ of any other Contributor, and only if You agree to indemnify,
25009
+ defend, and hold each Contributor harmless for any liability
25010
+ incurred by, or claims asserted against, such Contributor by reason
25011
+ of your accepting any such warranty or additional liability.
25012
+
25013
+ END OF TERMS AND CONDITIONS
25014
+
24832
25015
  --------------------------------------------------------------------------------
24833
25016
  mobile_scanner
24834
25017
 
@@ -0,0 +1,3 @@
1
+ (function(f,b){if(!b.__SV){var e,g,i,h;window.mixpanel=b;b._i=[];b.init=function(e,f,c){function g(a,d){var b=d.split(".");2==b.length&&(a=a[b[0]],d=b[1]);a[d]=function(){a.push([d].concat(Array.prototype.slice.call(arguments,0)))}}var a=b;"undefined"!==typeof c?a=b[c]=[]:c="mixpanel";a.people=a.people||[];a.toString=function(a){var d="mixpanel";"mixpanel"!==c&&(d+="."+c);a||(d+=" (stub)");return d};a.people.toString=function(){return a.toString(1)+".people (stub)"};i="disable time_event track track_pageview track_links track_forms track_with_groups add_group set_group remove_group register register_once alias unregister identify name_tag set_config reset opt_in_tracking opt_out_tracking has_opted_in_tracking has_opted_out_tracking clear_opt_in_out_tracking start_batch_senders people.set people.set_once people.unset people.increment people.append people.union people.track_charge people.clear_charges people.delete_user people.remove".split(" ");
2
+ for(h=0;h<i.length;h++)g(a,i[h]);var j="set set_once union unset remove delete".split(" ");a.get_group=function(){function b(c){d[c]=function(){call2_args=arguments;call2=[c].concat(Array.prototype.slice.call(call2_args,0));a.push([e,call2])}}for(var d={},e=["get_group"].concat(Array.prototype.slice.call(arguments,0)),c=0;c<j.length;c++)b(j[c]);return d};b._i.push([e,f,c])};b.__SV=1.2;e=f.createElement("script");e.type="text/javascript";e.async=!0;e.crossOrigin="anonymous";e.src="undefined"!==typeof MIXPANEL_CUSTOM_LIB_URL?
3
+ MIXPANEL_CUSTOM_LIB_URL:"file:"===f.location.protocol&&"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js".match(/^\/\//)?"https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js":"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js";g=f.getElementsByTagName("script")[0];g.parentNode.insertBefore(e,g)}})(document,window.mixpanel||[]);
@@ -37,6 +37,6 @@ _flutter.buildConfig = {"engineRevision":"42d3d75a56efe1a2e9902f52dc8006099c45d9
37
37
 
38
38
  _flutter.loader.load({
39
39
  serviceWorkerSettings: {
40
- serviceWorkerVersion: "366687658" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
40
+ serviceWorkerVersion: "4064509463" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
41
41
  }
42
42
  });
@@ -32,6 +32,7 @@
32
32
 
33
33
  <title>NeoAgent</title>
34
34
  <link rel="manifest" href="manifest.json">
35
+ <script src="https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js"></script>
35
36
  </head>
36
37
  <body>
37
38
  <script src="flutter_bootstrap.js" async></script>