diff --git a/packages/fx-core/tests/v4/scenarios/createApiPluginFromExistingApi.test.ts b/packages/fx-core/tests/v4/scenarios/createApiPluginFromExistingApi.test.ts index 9e96f4637e..6017fd66fb 100644 --- a/packages/fx-core/tests/v4/scenarios/createApiPluginFromExistingApi.test.ts +++ b/packages/fx-core/tests/v4/scenarios/createApiPluginFromExistingApi.test.ts @@ -104,7 +104,7 @@ describe("SCN-DA-CREATE-API-PLUGIN-FROM-EXISTING-API (v4, T3 InMemoryRuntime)", const manifest = readJsonObject(files, "appPackage/manifest.json"); const copilotAgents = recordProperty(manifest, "copilotAgents"); const agents = recordArrayProperty(copilotAgents, "declarativeAgents"); - assert.strictEqual(manifest.manifestVersion, "1.28"); + assert.strictEqual(manifest.manifestVersion, "1.29"); assert.strictEqual(manifest.id, "${{TEAMS_APP_ID}}"); assert.deepStrictEqual(agents[0], { id: "declarativeAgent", diff --git a/packages/fx-core/tests/v4/scenarios/createApiPluginFromScratch.test.ts b/packages/fx-core/tests/v4/scenarios/createApiPluginFromScratch.test.ts index 784462c746..ee3151e47d 100644 --- a/packages/fx-core/tests/v4/scenarios/createApiPluginFromScratch.test.ts +++ b/packages/fx-core/tests/v4/scenarios/createApiPluginFromScratch.test.ts @@ -129,7 +129,7 @@ describe("SCN-DA-CREATE-API-PLUGIN-FROM-SCRATCH (v4, T3 InMemoryRuntime)", () => const name = recordProperty(manifest, "name"); const copilotAgents = recordProperty(manifest, "copilotAgents"); const agents = recordArrayProperty(copilotAgents, "declarativeAgents"); - assert.strictEqual(manifest.manifestVersion, "1.28"); + assert.strictEqual(manifest.manifestVersion, "1.29"); // the env-var refs survive render verbatim (provision resolves them later). assert.strictEqual(manifest.id, "${{TEAMS_APP_ID}}"); assert.strictEqual(name.short, "MyAgent${{APP_NAME_SUFFIX}}"); diff --git a/packages/fx-core/tests/v4/scenarios/createApiPluginFromScratchBearer.test.ts b/packages/fx-core/tests/v4/scenarios/createApiPluginFromScratchBearer.test.ts index 9b8185a96a..7959df76cb 100644 --- a/packages/fx-core/tests/v4/scenarios/createApiPluginFromScratchBearer.test.ts +++ b/packages/fx-core/tests/v4/scenarios/createApiPluginFromScratchBearer.test.ts @@ -132,7 +132,7 @@ describe("SCN-DA-CREATE-API-PLUGIN-FROM-SCRATCH-BEARER (v4, T3 InMemoryRuntime)" const name = recordProperty(manifest, "name"); const copilotAgents = recordProperty(manifest, "copilotAgents"); const agents = recordArrayProperty(copilotAgents, "declarativeAgents"); - assert.strictEqual(manifest.manifestVersion, "1.28"); + assert.strictEqual(manifest.manifestVersion, "1.29"); assert.strictEqual(manifest.id, "${{TEAMS_APP_ID}}"); assert.strictEqual(name.short, "MyAgent${{APP_NAME_SUFFIX}}"); assert.lengthOf(agents, 1); diff --git a/packages/fx-core/tests/v4/scenarios/createApiPluginFromScratchOauth.test.ts b/packages/fx-core/tests/v4/scenarios/createApiPluginFromScratchOauth.test.ts index 4cb687e5c5..be634f5912 100644 --- a/packages/fx-core/tests/v4/scenarios/createApiPluginFromScratchOauth.test.ts +++ b/packages/fx-core/tests/v4/scenarios/createApiPluginFromScratchOauth.test.ts @@ -174,7 +174,7 @@ describe("SCN-DA-CREATE-API-PLUGIN-FROM-SCRATCH-OAUTH (v4, T3 InMemoryRuntime)", const name = recordProperty(manifest, "name"); const copilotAgents = recordProperty(manifest, "copilotAgents"); const agents = recordArrayProperty(copilotAgents, "declarativeAgents"); - assert.strictEqual(manifest.manifestVersion, "1.28"); + assert.strictEqual(manifest.manifestVersion, "1.29"); assert.strictEqual(manifest.id, "${{TEAMS_APP_ID}}"); assert.strictEqual(name.short, "MyAgent${{APP_NAME_SUFFIX}}"); assert.lengthOf(agents, 1); diff --git a/packages/fx-core/tests/v4/scenarios/createNoAction.test.ts b/packages/fx-core/tests/v4/scenarios/createNoAction.test.ts index 523dcf8557..0a2aa2d6bc 100644 --- a/packages/fx-core/tests/v4/scenarios/createNoAction.test.ts +++ b/packages/fx-core/tests/v4/scenarios/createNoAction.test.ts @@ -89,7 +89,7 @@ describe("SCN-DA-CREATE-NO-ACTION (v4, T3 InMemoryRuntime)", () => { const name = recordProperty(manifest, "name"); const copilotAgents = recordProperty(manifest, "copilotAgents"); const agents = copilotAgents.declarativeAgents; - assert.strictEqual(manifest.manifestVersion, "1.28"); + assert.strictEqual(manifest.manifestVersion, "1.29"); // the env-var refs survive render verbatim (provision resolves them later). assert.strictEqual(manifest.id, "${{TEAMS_APP_ID}}"); assert.strictEqual(name.short, "MyAgent${{APP_NAME_SUFFIX}}"); diff --git a/templates/v4/create/da/api-plugin-from-scratch-bearer/content/typescript/package.json.tpl b/templates/v4/create/da/api-plugin-from-scratch-bearer/content/typescript/package.json.tpl index 16fabe2c55..4979b28fd3 100644 --- a/templates/v4/create/da/api-plugin-from-scratch-bearer/content/typescript/package.json.tpl +++ b/templates/v4/create/da/api-plugin-from-scratch-bearer/content/typescript/package.json.tpl @@ -22,7 +22,7 @@ "env-cmd": "^10.1.0", "ts-node": "^10.4.0", "@types/node": "^22.0.0", - "typescript": "^4.1.6" + "typescript": "~5.8.3" }, "main": "dist/src/functions/*.js" } diff --git a/templates/v4/create/da/api-plugin-from-scratch-oauth/content/typescript/package.json.tpl b/templates/v4/create/da/api-plugin-from-scratch-oauth/content/typescript/package.json.tpl index d1b01d4451..494ae085f6 100644 --- a/templates/v4/create/da/api-plugin-from-scratch-oauth/content/typescript/package.json.tpl +++ b/templates/v4/create/da/api-plugin-from-scratch-oauth/content/typescript/package.json.tpl @@ -25,7 +25,7 @@ "@types/node": "^22.0.0", "env-cmd": "^10.1.0", "rimraf": "^5.0.7", - "typescript": "^4.1.6" + "typescript": "~5.8.3" }, "main": "dist/src/functions/*.js" } diff --git a/templates/v4/create/da/api-plugin-from-scratch/content/typescript/package.json.tpl b/templates/v4/create/da/api-plugin-from-scratch/content/typescript/package.json.tpl index d5f87e0985..e7709cbae6 100644 --- a/templates/v4/create/da/api-plugin-from-scratch/content/typescript/package.json.tpl +++ b/templates/v4/create/da/api-plugin-from-scratch/content/typescript/package.json.tpl @@ -20,7 +20,7 @@ "devDependencies": { "env-cmd": "^10.1.0", "@types/node": "^22.0.0", - "typescript": "^4.1.6" + "typescript": "~5.8.3" }, "main": "dist/src/functions/*.js" } diff --git a/templates/vsc/ts/declarative-agent-with-action-from-scratch-bearer/package.json.tpl b/templates/vsc/ts/declarative-agent-with-action-from-scratch-bearer/package.json.tpl index 16fabe2c55..4979b28fd3 100644 --- a/templates/vsc/ts/declarative-agent-with-action-from-scratch-bearer/package.json.tpl +++ b/templates/vsc/ts/declarative-agent-with-action-from-scratch-bearer/package.json.tpl @@ -22,7 +22,7 @@ "env-cmd": "^10.1.0", "ts-node": "^10.4.0", "@types/node": "^22.0.0", - "typescript": "^4.1.6" + "typescript": "~5.8.3" }, "main": "dist/src/functions/*.js" } diff --git a/templates/vsc/ts/declarative-agent-with-action-from-scratch-oauth/package.json.tpl b/templates/vsc/ts/declarative-agent-with-action-from-scratch-oauth/package.json.tpl index d1b01d4451..494ae085f6 100644 --- a/templates/vsc/ts/declarative-agent-with-action-from-scratch-oauth/package.json.tpl +++ b/templates/vsc/ts/declarative-agent-with-action-from-scratch-oauth/package.json.tpl @@ -25,7 +25,7 @@ "@types/node": "^22.0.0", "env-cmd": "^10.1.0", "rimraf": "^5.0.7", - "typescript": "^4.1.6" + "typescript": "~5.8.3" }, "main": "dist/src/functions/*.js" } diff --git a/templates/vsc/ts/declarative-agent-with-action-from-scratch/package.json.tpl b/templates/vsc/ts/declarative-agent-with-action-from-scratch/package.json.tpl index d5f87e0985..e7709cbae6 100644 --- a/templates/vsc/ts/declarative-agent-with-action-from-scratch/package.json.tpl +++ b/templates/vsc/ts/declarative-agent-with-action-from-scratch/package.json.tpl @@ -20,7 +20,7 @@ "devDependencies": { "env-cmd": "^10.1.0", "@types/node": "^22.0.0", - "typescript": "^4.1.6" + "typescript": "~5.8.3" }, "main": "dist/src/functions/*.js" }