Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
174 commits
Select commit Hold shift + click to select a range
33827c2
Merge pull request #994 from wso2/release-ballerina
kanushka Nov 21, 2025
704d3ea
Merge pull request #1034 from wso2/release-ballerina
kanushka Dec 1, 2025
40237c4
Fix condition for processing focus inputs in processTypeFields function
KCSAbeywickrama Dec 2, 2025
44a799b
Fix processTypeFields to correctly include isFocused and isSeq proper…
KCSAbeywickrama Dec 2, 2025
a9fbac4
Merge pull request #1040 from KCSAbeywickrama/bi-dm-arritem-fix
kanushka Dec 3, 2025
1f3bf4b
Refactor AI Data Mapper repair workflow
VellummyilumVinoth Dec 3, 2025
c69e76e
Merge branch 'main' into redesign-repair
VellummyilumVinoth Dec 3, 2025
56d7f7f
Update project explorer behavior to prevent focus on revealed items
madushajg Dec 3, 2025
c7ef67f
Fix package vulnerability
tharindulak Dec 2, 2025
bb361a0
Update changelog for version 1.5.4
KCSAbeywickrama Dec 3, 2025
99944db
Merge pull request #1046 from KCSAbeywickrama/bi-vul-fix2
kanushka Dec 3, 2025
a0bd7d5
Merge branch 'main' into redesign-repair
xlight05 Dec 4, 2025
fda97a0
Merge pull request #1045 from madushajg/main
kanushka Dec 5, 2025
1101348
Fix condition to stop focus into query header port
KCSAbeywickrama Dec 5, 2025
26f5ced
Merge pull request #1050 from KCSAbeywickrama/bi-1.5.4-imm-fix
KCSAbeywickrama Dec 5, 2025
213baf6
Fix: Await expect assertion for initial array widget output in test s…
KCSAbeywickrama Dec 5, 2025
275d661
Update changelog dates to match release date
kanushka Dec 5, 2025
51e2e2b
Fix jws vulnerability
gigara Dec 5, 2025
a11668b
Update version to ballerina-integrator-1.5.4
choreo-cicd Dec 5, 2025
5016f95
Rename DataMapperErrorBoundary to DataMapperErrorBoundaryLegacy
KCSAbeywickrama Dec 7, 2025
3ff1a93
Add react-error-boundary yo data-mapper
KCSAbeywickrama Dec 7, 2025
5890a82
Refactor error handling in DataMapper: replace ErrorBoundary with Dat…
KCSAbeywickrama Dec 8, 2025
a4d7e9c
Remove internal error boundaries in data mapper
KCSAbeywickrama Dec 8, 2025
79d4933
Wrap DataMapper component in DataMapperErrorBoundary
KCSAbeywickrama Dec 8, 2025
cf9f707
Extend Add module command
SGeesan Dec 8, 2025
f5e70de
Add ErrorScreen component with enhanced error handling and styling
KCSAbeywickrama Dec 9, 2025
d0db5f1
Add gotoSource option for error screen
KCSAbeywickrama Dec 9, 2025
83d8d5a
fixed issues in the pack command
vinukab Dec 9, 2025
b597a67
Merge branch 'wso2:main' into pack-fix
vinukab Dec 9, 2025
fbf5f49
Refactor ErrorScreen component: update styling
KCSAbeywickrama Dec 9, 2025
14beab9
Refactor ErrorScreen and DataMapperErrorBoundary: improve styling and…
KCSAbeywickrama Dec 9, 2025
c2183b0
Refactor DataMapper component: simplify goToSource and onClose handlers
KCSAbeywickrama Dec 9, 2025
ab1071c
Refactor DataMapperEditor: remove IOErrorComponent and pass diagram e…
KCSAbeywickrama Dec 9, 2025
b598983
Merge branch 'main' of github.com:wso2/vscode-extensions into bi-dm-r…
KCSAbeywickrama Dec 9, 2025
0182262
Remove legacy error boundary components
KCSAbeywickrama Dec 9, 2025
2d85cf6
Merge branch 'main' of github.com:wso2/vscode-extensions into bi-dm-r…
KCSAbeywickrama Dec 10, 2025
8b1edf4
Fix add module behaviour
SGeesan Dec 10, 2025
75b74ec
Fix add module null pointer potential
SGeesan Dec 10, 2025
9a042b6
Integrate persist LS and rpc calls
sachiniSam Dec 10, 2025
7473830
Allow creating folder path first if file is missing
sachiniSam Dec 10, 2025
f68cc95
Merge branch 'main' into pack-fix
madushajg Dec 10, 2025
80307e5
Merge branch 'main' into pack-fix
madushajg Dec 10, 2025
bd30676
Refactor ErrorScreen component and improve error handling UI
KCSAbeywickrama Dec 10, 2025
6e7c843
Add new connections views
sachiniSam Dec 10, 2025
561d5e0
Fix color variable in errorBody style
KCSAbeywickrama Dec 11, 2025
1828bf9
refactor add module
SGeesan Dec 11, 2025
23878b2
Import ThemeColors and update Data Mapper errorBody border style
KCSAbeywickrama Dec 11, 2025
d48c97f
Merge branch 'main' into bi-dm-refact-err-hnd
KCSAbeywickrama Dec 11, 2025
33c6ccb
Merge branch 'main' of github.com:wso2/vscode-extensions into bi-dm-e…
KCSAbeywickrama Dec 11, 2025
3deb95f
Remove unused data-mapper.spec.ts test file in other artifacts
KCSAbeywickrama Dec 11, 2025
027c44c
Merge pull request #1083 from KCSAbeywickrama/bi-dm-e2e-test
KCSAbeywickrama Dec 11, 2025
a53209d
Fix issues in the MI Extension
ChinthakaJ98 Dec 11, 2025
2ad61fc
Add error banner on connection fail
sachiniSam Dec 11, 2025
0821190
Add edit connection popup
sachiniSam Dec 11, 2025
9eebe0e
Integrate new UI to connection views
sachiniSam Dec 11, 2025
5e99c4b
Merge remote-tracking branch 'upstream/main' into newConnectorRevamp
sachiniSam Dec 11, 2025
388f60b
Merge branch 'main' into devant-main-sync
gigara Dec 11, 2025
d3f547a
Merge branch 'main' into mi-fixes-14
ChinthakaJ98 Dec 11, 2025
1fb3e3b
Merge pull request #1084 from ChinthakaJ98/mi-fixes-14
ChinthakaJ98 Dec 11, 2025
2536143
Merge branch 'main' into devant-main-sync
gigara Dec 12, 2025
0126bf9
Update CHANGELOG
ChinthakaJ98 Dec 12, 2025
c1713aa
Merge pull request #1088 from ChinthakaJ98/main
gigara Dec 12, 2025
477d786
Merge branch 'main' into pack-fix
madushajg Dec 12, 2025
f14414a
fix template editor behaviour
senithkay Dec 12, 2025
036c821
Merge branch 'main' of https://github.com/wso2/vscode-extensions into…
senithkay Dec 12, 2025
81c09b4
remove unused props
senithkay Dec 12, 2025
8872ed4
Merge pull request #1089 from senithkay/fix-template-editors
kanushka Dec 12, 2025
46f9eb1
Merge branch 'main' into pack-fix
madushajg Dec 12, 2025
ff4708d
Merge pull request #1064 from vinukab/pack-fix
madushajg Dec 12, 2025
3b7759d
Integrate WSDL related LS and rpc calls
sachiniSam Dec 12, 2025
ab0805a
Add spec based connector generator view
sachiniSam Dec 12, 2025
d90ee02
Fix proxy renaming issue on Windows OS
ChinthakaJ98 Dec 12, 2025
1a108e9
Merge branch 'main' into main
madushajg Dec 12, 2025
2fee326
Merge branch 'main' into proxy-renaming-issue
ChinthakaJ98 Dec 12, 2025
ac09f36
Refactor DataMapperView to streamline sub-mapping handling and improv…
KCSAbeywickrama Dec 12, 2025
096e397
Merge pull request #1092 from ChinthakaJ98/proxy-renaming-issue
ChinthakaJ98 Dec 12, 2025
354e602
Merge branch 'main' into main
madushajg Dec 12, 2025
6d39330
Enable running 'BI:Debug Integration' command for multi-package works…
madushajg Dec 12, 2025
56e7ca4
Merge branch 'main' into bi-dm-nested-submp
KCSAbeywickrama Dec 12, 2025
2e8f7de
Refactor package selection utility to handle single project workspaces
madushajg Dec 12, 2025
7d9ceab
Merge pull request #1065 from SGeesan/main
madushajg Dec 12, 2025
3f732b5
Merge remote-tracking branch 'upstream/main' into bi-multi-project-co…
madushajg Dec 12, 2025
5c3c977
Address review suggestions
madushajg Dec 12, 2025
aa62ef9
Fix form closing when toml updates
sachiniSam Dec 12, 2025
0628d1d
Fix form closing on popup issues
sachiniSam Dec 12, 2025
228caab
Merge branch 'main' into bi-dm-refact-err-hnd
madushajg Dec 12, 2025
9584514
Refactor authentication handling by removing authStore and integratin…
gigara Dec 12, 2025
33e5ac8
Merge branch 'main' into bi-dm-nested-submp
madushajg Dec 12, 2025
a502296
Merge branch 'devant-main-sync' of https://github.com/wso2/vscode-ext…
gigara Dec 12, 2025
fc1cccb
Add license header
gigara Dec 12, 2025
607be11
Enhance getAuthState method to provide default user info and region
gigara Dec 13, 2025
f3f0e8d
Apply suggestions from code review
gigara Dec 13, 2025
fa5eba3
Merge branch 'main' into redesign-repair
xlight05 Dec 13, 2025
64b1c60
Merge pull request #1036 from VellummyilumVinoth/redesign-repair
xlight05 Dec 13, 2025
c0a7d9f
Add bi api spec icon
sachiniSam Dec 13, 2025
e10c668
Fix connector searching functinality
sachiniSam Dec 13, 2025
f880b88
Merge branch 'main' into bi-dm-nested-submp
KCSAbeywickrama Dec 13, 2025
e8e449e
Update button label in ErrorScreen component for clarity
KCSAbeywickrama Dec 13, 2025
823378d
Merge pull request #1094 from KCSAbeywickrama/bi-dm-nested-submp
KCSAbeywickrama Dec 13, 2025
88e2334
Refactor goToSource function to goToSource of commonRpcClient instead…
KCSAbeywickrama Dec 13, 2025
099f1bc
Increase gap between action buttons in Error component for improved s…
KCSAbeywickrama Dec 13, 2025
2a6484e
Merge branch 'main' of github.com:wso2/vscode-extensions into bi-dm-r…
KCSAbeywickrama Dec 13, 2025
7294d0d
Remove unnecessary empty line in actionButtons of ErrorScreen component
KCSAbeywickrama Dec 13, 2025
04de66c
Fix missing semicolon in pack.ts
KCSAbeywickrama Dec 13, 2025
aa9cd03
Refactor goToSource function to simplify lineRange handling
KCSAbeywickrama Dec 13, 2025
c8e12d8
Merge pull request #1069 from KCSAbeywickrama/bi-dm-refact-err-hnd
KCSAbeywickrama Dec 13, 2025
3f1ecad
Allow having the action button in the form footer, with full width
sachiniSam Dec 13, 2025
e1bfafd
Merge branch 'main' of https://github.com/wso2/vscode-extensions into…
gigara Dec 14, 2025
9cda0ba
Merge branch 'main' into bi-multi-project-commands-debug
madushajg Dec 15, 2025
1017a84
Merge pull request #1096 from madushajg/bi-multi-project-commands-debug
madushajg Dec 15, 2025
b5a3e7e
Fix agent tool diagnostics for undefined symbol
dan-niles Dec 12, 2025
d97973a
Fix implementation info injected index in agent tool form
dan-niles Dec 15, 2025
858f6c3
Fix coderabbit suggestions
dan-niles Dec 15, 2025
fdeee53
Fix UI styling and descriptions
sachiniSam Dec 15, 2025
bf9be8a
Fix checkbox not clicking
sachiniSam Dec 15, 2025
638e51e
Merge pull request #1097 from dan-niles/fix-agent-tool-diagnostics
kanushka Dec 15, 2025
e30c062
Merge pull request #1056 from wso2/ballerina-integrator-1.5.4
kanushka Dec 15, 2025
8f10ec0
Merge remote-tracking branch 'upstream/main' into newConnectorRevamp
sachiniSam Dec 15, 2025
d4b1e68
Merge branch 'main' of https://github.com/wso2/vscode-extensions into…
kanushka Dec 15, 2025
bf54842
Always check user status from choreo cli
gigara Dec 15, 2025
1e0900f
Merge branch 'devant-main-sync' of https://github.com/gigara/wso2-vsc…
gigara Dec 15, 2025
b5b8571
Merge pull request #1099 from gigara/devant-main-sync
gigara Dec 15, 2025
ed14556
Merge branch 'main' into devant-main-sync
gigara Dec 15, 2025
0379f15
Merge pull request #1103 from wso2/sync/main-release-ballerina-176577…
kanushka Dec 15, 2025
d412bcc
Merge branch 'main' into devant-main-sync
gigara Dec 15, 2025
fb207ab
Update configurables view to readonly
sachiniSam Dec 15, 2025
58a5a88
Enhance DataMapperView to manage view state and fetch sub-mapping cod…
KCSAbeywickrama Dec 15, 2025
36df313
Fix condition to fetch sub-mapping codedata only when position has no…
KCSAbeywickrama Dec 15, 2025
6289a75
Add "Group by" option to ClauseEditor component
KCSAbeywickrama Dec 15, 2025
d9cf8f6
Merge pull request #582 from wso2/devant-main-sync
gigara Dec 15, 2025
fb2b0ac
Update popup styling
sachiniSam Dec 15, 2025
1279a10
Add tables search bar
sachiniSam Dec 15, 2025
e0a6d7d
Update configurable names listed
sachiniSam Dec 15, 2025
68a032a
Show persist connection option if experimental enabled
sachiniSam Dec 15, 2025
5a80c0b
Merge remote-tracking branch 'upstream/main' into newConnectorRevamp
sachiniSam Dec 15, 2025
ec984b2
Refactor code
sachiniSam Dec 15, 2025
0d87eb0
Move common styles to a styles file
sachiniSam Dec 15, 2025
6678452
OnSave close up all the popups
sachiniSam Dec 15, 2025
a917820
Update port type in introspect
sachiniSam Dec 15, 2025
f9c5561
Merge branch 'main' into bi-dm-submp-outfocus
madushajg Dec 15, 2025
8cf2881
Remove unnecessary error message for empty package selection in 'run'…
madushajg Dec 15, 2025
d5aab21
Fix review suggestions
sachiniSam Dec 15, 2025
badc096
Improve 'try-it' command to work with workspaces
madushajg Dec 15, 2025
054f0a3
Merge remote-tracking branch 'upstream/main' into bi-multi-project-co…
madushajg Dec 15, 2025
6cef8fc
Merge pull request #1107 from KCSAbeywickrama/bi-dm-submp-outfocus
madushajg Dec 15, 2025
a23d513
Merge branch 'main' into bi-dm-reenable-groupby
madushajg Dec 15, 2025
9bec626
Add cancel sign-in command and handle pending session creation
gigara Dec 15, 2025
c2defdb
Reorder sign-in command execution to ensure proper session handling
gigara Dec 15, 2025
023e7ca
Merge pull request #1108 from KCSAbeywickrama/bi-dm-reenable-groupby
madushajg Dec 15, 2025
6baf723
Address review suggestions
madushajg Dec 15, 2025
0ab437d
Merge branch 'main' into platform
gigara Dec 15, 2025
4236be9
Merge remote-tracking branch 'upstream/main' into bi-multi-project-co…
madushajg Dec 15, 2025
c0611ee
Merge pull request #1111 from madushajg/bi-multi-project-commands
madushajg Dec 16, 2025
ceffa9e
Merge branch 'main' into newConnectorRevamp
sachiniSam Dec 16, 2025
2644336
Merge pull request #1110 from sachiniSam/newConnectorRevamp
sachiniSam Dec 16, 2025
e47ff10
Merge branch 'main' into platform
gigara Dec 16, 2025
456c3bf
Merge pull request #1112 from gigara/platform
gigara Dec 16, 2025
6fdb17e
Update MCP tool form to allow selecting auth and included tools
dan-niles Dec 8, 2025
0667018
Update stepper styles
dan-niles Dec 9, 2025
df711ed
Add discover tools feature to Agent MCP form
dan-niles Dec 10, 2025
3087864
Update MCP form to auto generate toolkit name based on variable name
dan-niles Dec 11, 2025
fab1e6f
Show discover tools button after manual discovery in MCP form
dan-niles Dec 11, 2025
326e6e7
Refactor styles in mcp tools modal
dan-niles Dec 11, 2025
b41838c
Update variable resolution by supporting interpolation in string lite…
dan-niles Dec 11, 2025
02a1f03
Update variable resolution to use searchNodes API in MCP tools form
dan-niles Dec 11, 2025
17b3d3d
Fix tool selection in edit mode of MCP form
dan-niles Dec 11, 2025
a7e9ca6
Add a retry button for fetching MCP tools
dan-niles Dec 11, 2025
4609ab4
Fix coderabbit suggestions
dan-niles Dec 12, 2025
219a160
Change auth token input type to password in discover tools modal
dan-niles Dec 15, 2025
8dd1f00
Update OpenVSX publish condition to allow pre-releases
gigara Dec 16, 2025
41cd940
Merge pull request #1080 from dan-niles/mcp-revamp-tool-discovery
kanushka Dec 16, 2025
7e0d6ac
Merge branch 'main' into pipeline-fix
gigara Dec 16, 2025
ed3619a
Merge pull request #1122 from gigara/pipeline-fix
gigara Dec 16, 2025
56a0698
bump platform extension version
kaje94 Dec 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish-vsix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
run: vsce publish -p ${{ secrets.VSCE_TOKEN }} --packagePath ${{ steps.vsix.outputs.vsixName }} ${{ steps.vsix.outputs.releaseMode }}

- name: Publish to OpenVSX marketplace
if: ${{ github.event.inputs.openVSX == 'true' && github.event.inputs.isPreRelease == 'false' }}
if: ${{ github.event.inputs.openVSX == 'true' }}
run: ovsx publish -p ${{ secrets.OPENVSX_TOKEN }} --packagePath ${{ steps.vsix.outputs.vsixName }} ${{ steps.vsix.outputs.releaseMode }}

- name: Create a release in ${{ steps.repo.outputs.repo }} repo
Expand Down
8 changes: 8 additions & 0 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions workspaces/ballerina/ballerina-core/src/interfaces/bi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ export type DiagramLabel = "On Fail" | "Body";

export type NodePropertyKey =
| "agentType"
| "auth"
| "checkError"
| "client"
| "collection"
Expand Down Expand Up @@ -375,6 +376,7 @@ export type NodePropertyKey =
| "store"
| "systemPrompt"
| "targetType"
| "toolKitName"
| "tools"
| "type"
| "typeDescription"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,22 @@ export interface ToolParameterFormValues {
}

export interface ToolParameterItem {
id: number;
icon: string;
key: string;
value: string;
identifierEditable: boolean;
identifierRange?: {
fileName: string;
startLine: {
line: number;
offset: number;
};
endLine: {
line: number;
offset: number;
};
};
formValues: ToolParameterFormValues;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@
* specific language governing permissions and limitations
* under the License.
*/
import { DataMapperModelResponse } from "../../interfaces/extended-lang-client";
import { LoginMethod } from "../../state-machine-types";
import { AddToProjectRequest, GetFromFileRequest, DeleteFromProjectRequest, ProjectSource, ProjectDiagnostics, PostProcessRequest, PostProcessResponse, FetchDataRequest, FetchDataResponse, TestGenerationRequest, TestGenerationResponse, TestGenerationMentions, AIChatSummary, DeveloperDocument, RequirementSpecification, LLMDiagnostics, GetModuleDirParams, AIPanelPrompt, AIMachineSnapshot, SubmitFeedbackRequest, RelevantLibrariesAndFunctionsRequest, GenerateOpenAPIRequest, GenerateCodeRequest, TestPlanGenerationRequest, TestGeneratorIntermediaryState, RepairParams, RelevantLibrariesAndFunctionsResponse, DocGenerationRequest, AddFilesToProjectRequest, MetadataWithAttachments, DatamapperModelContext, ProcessContextTypeCreationRequest, ProcessMappingParametersRequest } from "./interfaces";
import { GetFromFileRequest, DeleteFromProjectRequest, ProjectSource, ProjectDiagnostics, PostProcessRequest, PostProcessResponse, FetchDataRequest, FetchDataResponse, TestGenerationRequest, TestGenerationResponse, TestGenerationMentions, AIChatSummary, DeveloperDocument, RequirementSpecification, LLMDiagnostics, AIPanelPrompt, AIMachineSnapshot, SubmitFeedbackRequest, RelevantLibrariesAndFunctionsRequest, GenerateOpenAPIRequest, GenerateCodeRequest, TestPlanGenerationRequest, TestGeneratorIntermediaryState, RepairParams, RelevantLibrariesAndFunctionsResponse, DocGenerationRequest, AddFilesToProjectRequest, MetadataWithAttachments, ProcessContextTypeCreationRequest, ProcessMappingParametersRequest } from "./interfaces";

export interface AIPanelAPI {
// ==================================
Expand All @@ -31,7 +30,6 @@ export interface AIPanelAPI {
getDefaultPrompt: () => Promise<AIPanelPrompt>;
getAIMachineSnapshot: () => Promise<AIMachineSnapshot>;
fetchData: (params: FetchDataRequest) => Promise<FetchDataResponse>;
addToProject: (params: AddToProjectRequest) => Promise<boolean>;
getFromFile: (params: GetFromFileRequest) => Promise<string>;
getFileExists: (params: GetFromFileRequest) => Promise<boolean>;
deleteFromProject: (params: DeleteFromProjectRequest) => void;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { FunctionDefinition } from "@wso2/syntax-tree";
import { AIMachineContext, AIMachineStateValue } from "../../state-machine-types";
import { Command, TemplateId } from "../../interfaces/ai-panel";
import { AllDataMapperSourceRequest, DataMapperSourceResponse, ExtendedDataMapperMetadata } from "../../interfaces/extended-lang-client";
import { ComponentInfo, DataMapperMetadata, Diagnostics, ImportStatements, Project } from "../..";
import { ComponentInfo, DataMapperMetadata, Diagnostics, DMModel, ImportStatements } from "../..";

// ==================================
// General Interfaces
Expand Down Expand Up @@ -90,12 +90,6 @@ export interface DiagnosticEntry {
code?: string;
}

export interface AddToProjectRequest {
filePath: string;
content: string;
isTestCode: boolean;
}

export interface AddFilesToProjectRequest {
fileChanges: FileChanges[];
}
Expand Down Expand Up @@ -225,12 +219,20 @@ export interface RepairCodeParams {
tempDir?: string;
}

export interface RepairedMapping {
output: string;
expression: string;
}

export interface repairCodeRequest {
sourceFiles: SourceFile[];
diagnostics: DiagnosticList;
dmModel: DMModel;
imports: ImportInfo[];
}

export interface RepairCodeResponse {
repairedMappings: RepairedMapping[];
}

// Test-generator related interfaces
export enum TestGenerationTarget {
Service = "service",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
*
* THIS FILE INCLUDES AUTO GENERATED CODE
*/
import { DataMapperModelResponse } from "../../interfaces/extended-lang-client";
import { LoginMethod } from "../../state-machine-types";
import { AddToProjectRequest, GetFromFileRequest, DeleteFromProjectRequest, ProjectSource, ProjectDiagnostics, PostProcessRequest, PostProcessResponse, FetchDataRequest, FetchDataResponse, TestGenerationRequest, TestGenerationResponse, TestGenerationMentions, AIChatSummary, DeveloperDocument, RequirementSpecification, LLMDiagnostics, GetModuleDirParams, AIPanelPrompt, AIMachineSnapshot, SubmitFeedbackRequest, RelevantLibrariesAndFunctionsRequest, GenerateOpenAPIRequest, GenerateCodeRequest, TestPlanGenerationRequest, TestGeneratorIntermediaryState, RepairParams, RelevantLibrariesAndFunctionsResponse, DocGenerationRequest, AddFilesToProjectRequest, MetadataWithAttachments, DatamapperModelContext, ProcessContextTypeCreationRequest, ProcessMappingParametersRequest } from "./interfaces";
import { GetFromFileRequest, DeleteFromProjectRequest, ProjectSource, ProjectDiagnostics, PostProcessRequest, PostProcessResponse, FetchDataRequest, FetchDataResponse, TestGenerationRequest, TestGenerationResponse, TestGenerationMentions, AIChatSummary, DeveloperDocument, RequirementSpecification, LLMDiagnostics, AIPanelPrompt, AIMachineSnapshot, SubmitFeedbackRequest, RelevantLibrariesAndFunctionsRequest, GenerateOpenAPIRequest, GenerateCodeRequest, TestPlanGenerationRequest, TestGeneratorIntermediaryState, RepairParams, RelevantLibrariesAndFunctionsResponse, DocGenerationRequest, AddFilesToProjectRequest, MetadataWithAttachments, ProcessContextTypeCreationRequest, ProcessMappingParametersRequest } from "./interfaces";
import { RequestType, NotificationType } from "vscode-messenger-common";

const _preFix = "ai-panel";
Expand All @@ -31,7 +30,6 @@ export const getRefreshedAccessToken: RequestType<void, string> = { method: `${_
export const getDefaultPrompt: RequestType<void, AIPanelPrompt> = { method: `${_preFix}/getDefaultPrompt` };
export const getAIMachineSnapshot: RequestType<void, AIMachineSnapshot> = { method: `${_preFix}/getAIMachineSnapshot` };
export const fetchData: RequestType<FetchDataRequest, FetchDataResponse> = { method: `${_preFix}/fetchData` };
export const addToProject: RequestType<AddToProjectRequest, boolean> = { method: `${_preFix}/addToProject` };
export const getFromFile: RequestType<GetFromFileRequest, string> = { method: `${_preFix}/getFromFile` };
export const getFileExists: RequestType<GetFromFileRequest, boolean> = { method: `${_preFix}/getFileExists` };
export const deleteFromProject: NotificationType<DeleteFromProjectRequest> = { method: `${_preFix}/deleteFromProject` };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,23 @@
* under the License.
*/

import { ConnectorRequest, ConnectorResponse, ConnectorsRequest, ConnectorsResponse } from "./interfaces";
import {
ConnectorRequest,
ConnectorResponse,
ConnectorsRequest,
ConnectorsResponse,
PersistClientGenerateRequest,
IntrospectDatabaseResponse,
PersistClientGenerateResponse,
IntrospectDatabaseRequest,
WSDLApiClientGenerationRequest,
WSDLApiClientGenerationResponse
} from "./interfaces";

export interface ConnectorWizardAPI {
getConnector: (params: ConnectorRequest) => Promise<ConnectorResponse>;
getConnectors: (params: ConnectorsRequest) => Promise<ConnectorsResponse>;
introspectDatabase: (params: IntrospectDatabaseRequest) => Promise<IntrospectDatabaseResponse>;
persistClientGenerate: (params: PersistClientGenerateRequest) => Promise<PersistClientGenerateResponse>;
generateWSDLApiClient: (params: WSDLApiClientGenerationRequest) => Promise<WSDLApiClientGenerationResponse>;
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
*/

import { BallerinaConnectorInfo, BallerinaConnectorsRequest, BallerinaConnector } from "../../interfaces/ballerina";
import { TextEdit } from "../../interfaces/extended-lang-client";

export interface ConnectorRequest {
id?: string
Expand All @@ -41,3 +42,64 @@ export interface ConnectorsResponse {
local?: BallerinaConnector[];
error?: string;
}

export interface IntrospectDatabaseRequest {
projectPath: string;
dbSystem: string;
host: string;
port: number;
database: string;
user: string;
password: string;
}

export interface IntrospectDatabaseResponse {
tables?: string[];
errorMsg?: string;
}

export interface PersistClientGenerateRequest {
projectPath: string;
name: string;
dbSystem: string;
host: string;
port: number;
user: string;
password: string;
database: string;
selectedTables: string[];
module?: string;
}

export interface PersistClientGenerateResponse {
source?: PersistSource;
errorMsg?: string;
stackTrace?: string;
}

export interface PersistSource {
isModuleExists?: boolean;
textEditsMap?: {
[key: string]: TextEdit[];
};
}

export interface WSDLApiClientGenerationRequest {
projectPath: string;
module: string;
wsdlFilePath: string;
portName?: string;
operations?: string[];
}

export interface WSDLApiClientGenerationResponse {
source?: WSDLApiClientSource;
errorMsg?: string;
stackTrace?: string;
}

export interface WSDLApiClientSource {
textEditsMap: {
[key: string]: TextEdit[];
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,23 @@
*
* THIS FILE INCLUDES AUTO GENERATED CODE
*/
import { ConnectorRequest, ConnectorResponse, ConnectorsRequest, ConnectorsResponse } from "./interfaces";
import {
ConnectorRequest,
ConnectorResponse,
ConnectorsRequest,
ConnectorsResponse,
PersistClientGenerateRequest,
IntrospectDatabaseResponse,
PersistClientGenerateResponse,
IntrospectDatabaseRequest,
WSDLApiClientGenerationRequest,
WSDLApiClientGenerationResponse
} from "./interfaces";
import { RequestType } from "vscode-messenger-common";

const _preFix = "connector-wizard";
export const getConnector: RequestType<ConnectorRequest, ConnectorResponse> = { method: `${_preFix}/getConnector` };
export const getConnectors: RequestType<ConnectorsRequest, ConnectorsResponse> = { method: `${_preFix}/getConnectors` };
export const introspectDatabase: RequestType<IntrospectDatabaseRequest, IntrospectDatabaseResponse> = { method: `${_preFix}/introspectDatabase` };
export const persistClientGenerate: RequestType<PersistClientGenerateRequest, PersistClientGenerateResponse> = { method: `${_preFix}/persistClientGenerate` };
export const generateWSDLApiClient: RequestType<WSDLApiClientGenerationRequest, WSDLApiClientGenerationResponse> = { method: `${_preFix}/generateWSDLApiClient` };
7 changes: 7 additions & 0 deletions workspaces/ballerina/ballerina-extension/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to the **Ballerina** extension will be documented in this fi

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and this project adheres to [Semantic Versioning](https://semver.org/).

## [5.6.4](https://github.com/wso2/vscode-extensions/compare/ballerina-integrator-1.5.3...ballerina-integrator-1.5.4) - 2025-12-05

### Fixed

- **Data Mapper** — Fixed the issue with focusing into inner array queries.
- **Security** — Updated dependencies to address security vulnerabilities (`CVE-2024-51999`).

## [5.6.3](https://github.com/wso2/vscode-extensions/compare/ballerina-integrator-1.5.2...ballerina-integrator-1.5.3) - 2025-12-01

### Changed
Expand Down
2 changes: 1 addition & 1 deletion workspaces/ballerina/ballerina-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ballerina",
"displayName": "Ballerina",
"description": "Ballerina Language support, debugging, graphical visualization, AI-based data-mapping and many more.",
"version": "5.6.3",
"version": "5.6.4",
"publisher": "wso2",
"icon": "resources/images/ballerina.png",
"homepage": "https://wso2.com/ballerina/vscode/docs",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,13 @@ import {
ProjectMigrationResult,
FieldPropertyRequest,
ClausePositionResponse,
ClausePositionRequest
ClausePositionRequest,
IntrospectDatabaseRequest,
IntrospectDatabaseResponse,
PersistClientGenerateRequest,
PersistClientGenerateResponse,
WSDLApiClientGenerationRequest,
WSDLApiClientGenerationResponse
} from "@wso2/ballerina-core";
import { BallerinaExtension } from "./index";
import { debug, handlePullModuleProgress } from "../utils";
Expand Down Expand Up @@ -459,6 +465,9 @@ enum EXTENDED_APIS {
OPEN_API_GENERATE_CLIENT = 'openAPIService/genClient',
OPEN_API_GENERATED_MODULES = 'openAPIService/getModules',
OPEN_API_CLIENT_DELETE = 'openAPIService/deleteModule',
PERSIST_DATABASE_INTROSPECTION = 'persistService/introspectDatabase',
PERSIST_CLIENT_GENERATE = 'persistService/generatePersistClient',
WSDL_API_CLIENT_GENERATE = 'wsdlService/genClient',
GET_PROJECT_INFO = 'designModelService/projectInfo',
GET_ARTIFACTS = 'designModelService/artifacts',
PUBLISH_ARTIFACTS = 'designModelService/publishArtifacts',
Expand Down Expand Up @@ -698,6 +707,18 @@ export class ExtendedLangClient extends LanguageClient implements ExtendedLangCl
return this.sendRequest<Connector>(EXTENDED_APIS.CONNECTOR_CONNECTOR, params);
}

async introspectDatabase(params: IntrospectDatabaseRequest): Promise<IntrospectDatabaseResponse> {
return this.sendRequest<IntrospectDatabaseResponse>(EXTENDED_APIS.PERSIST_DATABASE_INTROSPECTION, params);
}

async generatePersistClient(params: PersistClientGenerateRequest): Promise<PersistClientGenerateResponse> {
return this.sendRequest<PersistClientGenerateResponse>(EXTENDED_APIS.PERSIST_CLIENT_GENERATE, params);
}

async generateWSDLApiClient(params: WSDLApiClientGenerationRequest): Promise<WSDLApiClientGenerationResponse> {
return this.sendRequest<WSDLApiClientGenerationResponse>(EXTENDED_APIS.WSDL_API_CLIENT_GENERATE, params);
}

async getRecord(params: RecordParams): Promise<BallerinaRecord | NOT_SUPPORTED_TYPE> {
const isSupported = await this.isExtendedServiceSupported(EXTENDED_APIS.CONNECTOR_RECORD);
if (!isSupported) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ export enum NullablePrimitiveType {
BOOLEAN = "boolean?"
}

// Error type
export enum ErrorType {
ERROR = "error"
}

// Array types for primitive data types
export enum PrimitiveArrayType {
// Basic array types
Expand Down
Loading
Loading