diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a3f491..149d081 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # PDDL support - What's new? +## 2.27.1 + +Fixed parsing of the planning-as-a-service (and planutils) planner manifests. + ## 2.27.0 ### Secured communication with planning.domains server diff --git a/package-lock.json b/package-lock.json index 7307100..6e47d3c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pddl", - "version": "2.27.0", + "version": "2.27.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "pddl", - "version": "2.27.0", + "version": "2.27.1", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 9a66df4..edd0e62 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Planning Domain Description Language support", "author": "Jan Dolejsi", "license": "MIT", - "version": "2.27.0", + "version": "2.27.1", "publisher": "jan-dolejsi", "engines": { "vscode": "^1.69.0", diff --git a/src/planning/PackagedPlannerSelector.ts b/src/planning/PackagedPlannerSelector.ts index 52b7d24..209ee5a 100644 --- a/src/planning/PackagedPlannerSelector.ts +++ b/src/planning/PackagedPlannerSelector.ts @@ -25,9 +25,13 @@ export class PackagedPlannerSelector extends PackagedPlanners { async select(): Promise { const manifests = await this.getManifests(); const plannerItems: PackageQuickPickItem[] = []; - for (const manifest of manifests) { - const item = this.toManifestQuickPickItem(manifest); - plannerItems.push(item); + for (const key in manifests) { + if (Object.prototype.hasOwnProperty.call(manifests, key)) { + const manifest = manifests[key]; + manifest.package_name = key; + const item = this.toManifestQuickPickItem(manifest); + plannerItems.push(item); + } } const selectedOption = await window.showQuickPick(plannerItems, { matchOnDescription: true, matchOnDetail: true, placeHolder: 'Select a planner...'