



















@@ -11,7 +11,7 @@ import {
1111import type { v2 } from "./protocol.js";
12121313describe("Codex plugin thread config", () => {
14-it("builds restrictive app config for accessible migrated plugin apps", async () => {
14+it("defaults destructive app access on for accessible migrated plugin apps", async () => {
1515const appCache = new CodexAppInventoryCache();
1616await appCache.refreshNow({
1717key: "runtime",
@@ -26,7 +26,6 @@ describe("Codex plugin thread config", () => {
2626pluginConfig: {
2727codexPlugins: {
2828enabled: true,
29-allow_destructive_actions: true,
3029plugins: {
3130"google-calendar": {
3231marketplaceName: CODEX_PLUGINS_MARKETPLACE_NAME,
@@ -254,7 +253,7 @@ describe("Codex plugin thread config", () => {
254253},
255254"google-calendar-app": {
256255enabled: true,
257-destructive_enabled: false,
256+destructive_enabled: true,
258257open_world_enabled: true,
259258default_tools_approval_mode: "auto",
260259},
@@ -264,7 +263,7 @@ describe("Codex plugin thread config", () => {
264263configKey: "google-calendar",
265264marketplaceName: CODEX_PLUGINS_MARKETPLACE_NAME,
266265pluginName: "google-calendar",
267-allowDestructiveActions: false,
266+allowDestructiveActions: true,
268267mcpServerNames: [],
269268});
270269expect(config.diagnostics).toStrictEqual([]);
@@ -328,7 +327,7 @@ describe("Codex plugin thread config", () => {
328327marketplaceName: CODEX_PLUGINS_MARKETPLACE_NAME,
329328pluginName: "google-calendar",
330329enabled: true,
331-allowDestructiveActions: false,
330+allowDestructiveActions: true,
332331},
333332message: "google-calendar-app is not accessible or enabled for google-calendar.",
334333},
@@ -403,7 +402,7 @@ describe("Codex plugin thread config", () => {
403402},
404403"google-calendar-app": {
405404enabled: true,
406-destructive_enabled: false,
405+destructive_enabled: true,
407406open_world_enabled: true,
408407default_tools_approval_mode: "auto",
409408},
@@ -412,7 +411,7 @@ describe("Codex plugin thread config", () => {
412411configKey: "google-calendar",
413412marketplaceName: CODEX_PLUGINS_MARKETPLACE_NAME,
414413pluginName: "google-calendar",
415-allowDestructiveActions: false,
414+allowDestructiveActions: true,
416415mcpServerNames: [],
417416});
418417expect(config.diagnostics).toStrictEqual([]);
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。