Commit Graph

107 Commits

Author SHA1 Message Date
Udhay Adithya
36b1d9d1da Merge branch 'foss42:main' into add-feature-in-app-terminal 2025-09-21 14:05:15 +05:30
Ankit Mahato
0fa86adca7 lint fixes 2025-09-14 02:11:33 +05:30
Udhay-Adithya
20982b93a6 feat: add global console shim for user scripts logging 2025-09-10 12:32:57 +05:30
Udhay-Adithya
9d47d0b2a5 feat: implement js runtime provider and remove old script service 2025-09-09 17:30:50 +05:30
Manas Hejmadi
9229a85547 Deduplicated tool_templates 2025-08-31 19:48:54 +05:30
Manas Hejmadi
94c38d398c REFACTOR: moved agent_utils -> apidash_agent_calls 2025-08-31 16:38:52 +05:30
Manas Hejmadi
a8444852b8 REFACTOR: All SystemPrompts & Rulesets moved to lib/system_prompt_templates 2025-08-31 16:32:45 +05:30
Manas Hejmadi
b844e7c279 REFACTOR: GenAIAgenticService -> AIAgentService 2025-08-31 16:14:23 +05:30
Manas Hejmadi
b1f340de11 REFACTOR: APIDashAIAgent -> AIAgent 2025-08-31 16:12:31 +05:30
Manas Hejmadi
d2bf0c8838 IntRepGen: prompt change to use direct_image_links 2025-08-31 03:40:43 +05:30
Manas Hejmadi
6ba0b9181c APITOOL_FUNCGEN: SystemPrompt Enhanced 2025-08-30 23:00:33 +05:30
Manas Hejmadi
2f5f243fed REFACTOR: toolgen files code splitting 2025-08-30 02:49:56 +05:30
Manas Hejmadi
6e36cd40d3 ai_ui_designer_widgets split into multiple files 2025-08-29 22:05:48 +05:30
Manas Hejmadi
79a9bed244 AIUI: PromptChanges + AIModelSelectorButton added to ToolGen 2025-08-29 02:57:45 +05:30
Manas Hejmadi
c249853fb7 GenerateUIDialog: made the dialog lightmode friendly 2025-08-29 02:55:37 +05:30
Manas Hejmadi
6248b60555 Further SystemPrompt Changes 2025-08-29 02:55:20 +05:30
Manas Hejmadi
a61ce11702 STACGEN & STACMODIFIER: SystemPrompt Complete Revamp to improve SDUI generation 2025-08-29 02:55:09 +05:30
Manas Hejmadi
c6c0391b66 AI UI-Designer & ToolGenerator: Added ErrorHandling 2025-08-29 02:53:00 +05:30
Manas Hejmadi
1057e07241 AIToolGenerator v0 Completed & AIUIDesigner added SDUI-Scrollable: 2025-08-29 02:52:51 +05:30
Manas Hejmadi
c1246b538d Consolidator & Tool Templates Done 2025-08-29 02:51:19 +05:30
Manas Hejmadi
4d696ccaa9 Implemented STAC_MODIFIER to enabled UI Modifications 2025-08-29 02:49:34 +05:30
Manas Hejmadi
06a71ea232 Agentic Calls corrected to comply with new Architecture 2025-08-29 02:49:08 +05:30
Manas Hejmadi
5db1a11e2e ADDED: AgenticServices & AI_UI_DESIGNER Agents 2025-08-29 02:46:58 +05:30
Manas Hejmadi
fc3009f8fb Basic Agentic Infrastructure created 2025-08-29 02:37:42 +05:30
Udhay-Adithya
1dab4fe007 feat: add pre_post_script_utils test 2025-07-02 00:09:30 +05:30
Ankit Mahato
053d2ea309 Update flutter_js_service.dart 2025-06-29 01:23:20 +05:30
Ankit Mahato
6b11ec5d84 Merge branch 'main' into add-feature-scripts 2025-06-28 17:59:12 +05:30
Ashita Prasad
702b0d119c sharedprefs to hive 2025-06-23 03:04:24 +05:30
Ashita Prasad
9e686a8145 export flutter_js_services 2025-06-22 21:28:09 +05:30
Ashita Prasad
53fff89056 Update flutter_js_service.dart 2025-06-22 21:24:03 +05:30
Udhay-Adithya
12aa846792 feat: update scripts code pane to use ad dropdown button 2025-06-22 20:09:50 +05:30
Ashita Prasad
ede412f11b Update hive_services.dart 2025-05-17 23:42:10 +05:30
Udhay-Adithya
14ff728870 fix: JS bridge message handling and script execution checks
Refines JS bridge handlers to process messages directly as typed arguments, removing unnecessary JSON decoding and clarifying error logs.
Updates logic to only execute post-response scripts when present and corrects a warning message.
2025-05-16 14:30:58 +05:30
Udhay-Adithya
c2c67a7fca feat: implement post-response script handling and update environment variables 2025-05-02 01:26:52 +05:30
Udhay-Adithya
36061f660a feat add pre-request script execution
Initializes JavaScript runtime during application startup.
Executes user-defined pre-request scripts before sending API requests, allowing modification of request details like URL, headers, and body.
Updates script execution environment for better scoping and uses synchronous evaluation.
2025-05-01 16:48:50 +05:30
Udhay-Adithya
fadf49372f feat: add support for pre-request scripts
Introduces `preRequestScript` and `postRequestScript` fields to the request model to store user-defined scripts.

Implements a service using `flutter_js` to execute JavaScript pre-request scripts before a request is sent.
The script can access and modify request data (like headers, body, URL) and environment variables.

Adds bridging to forward JavaScript `console.log`, `console.warn`, and `console.error` calls to the Dart console for easier debugging
2025-04-25 23:26:31 +05:30
Udhay-Adithya
839d8b5c00 feat: add JavaScript scripting foundation
Introduces a JavaScript setup script that defines the `ad` helper object.
This `ad` object exposes APIs for manipulating request data, accessing response details, and managing environment variables within scripts.

Adds an `evaluate` function to execute JS code using the `flutter_js` runtime and log results or errors.
This establishes the core infrastructure for pre-request and post-response scripting.
2025-04-25 22:34:02 +05:30
Udhay-Adithya
f97b39a103 feat: add flutter_js dependency and implement JS runtime service 2025-04-22 14:39:06 +05:30
Ankit Mahato
f286eb98ff Update shared_preferences_services.dart 2025-04-01 06:55:51 +05:30
Ankit Mahato
279e001a7f Update shared_preferences_services.dart 2025-04-01 06:53:56 +05:30
Udhay-Adithya
9de706d6b9 feat: change onboarding flow and remove theme switch button 2025-03-17 18:11:13 +05:30
Udhay-Adithya
b64d453886 feat: add onboarding functionality and theme switch button 2025-03-17 17:30:48 +05:30
Ashita Prasad
bd5c7597c9 Add clear history 2025-01-12 17:30:17 +05:30
Ashita Prasad
a3536b021b refactor 2024-10-22 07:06:06 +05:30
Ashita Prasad
2f0c97b51e Update hive_services.dart 2024-09-17 22:45:18 +05:30
Ashita Prasad
edf8c523c8 Update hive_services.dart 2024-09-16 15:55:22 +05:30
Ashita Prasad
a0d93082f4 hive updates 2024-09-16 03:03:26 +05:30
Ashita Prasad
a87e7bf6b0 Update hive_services.dart 2024-09-16 00:14:23 +05:30
Ashita Prasad
8820d26885 Add clearSharedPrefs() 2024-09-09 05:13:42 +05:30
Ashita Prasad
83cdc130e5 Update integration test 2024-09-09 04:46:46 +05:30