fix(codex): keep app-server inside extension src

This commit is contained in:
Peter Steinberger
2026-04-10 18:48:23 +01:00
parent dbca237c77
commit d5698038d7
19 changed files with 16 additions and 8 deletions

View File

@@ -1,13 +1,13 @@
import type { AgentHarness } from "openclaw/plugin-sdk/agent-harness";
import { listCodexAppServerModels } from "./app-server/client.js";
import { listCodexAppServerModels } from "./src/app-server/client.js";
import type {
CodexAppServerListModelsOptions,
CodexAppServerModel,
CodexAppServerModelListResult,
} from "./app-server/client.js";
import { maybeCompactCodexAppServerSession } from "./app-server/compact.js";
import { runCodexAppServerAttempt } from "./app-server/run-attempt.js";
import { clearCodexAppServerBinding } from "./app-server/session-binding.js";
} from "./src/app-server/client.js";
import { maybeCompactCodexAppServerSession } from "./src/app-server/compact.js";
import { runCodexAppServerAttempt } from "./src/app-server/run-attempt.js";
import { clearCodexAppServerBinding } from "./src/app-server/session-binding.js";
const DEFAULT_CODEX_HARNESS_PROVIDER_IDS = new Set(["codex", "openai-codex"]);

View File

@@ -38,7 +38,7 @@ describe("Codex app-server approval bridge", () => {
threadId: "thread-1",
turnId: "turn-1",
itemId: "cmd-1",
command: "pnpm test extensions/codex/app-server",
command: "pnpm test extensions/codex/src/app-server",
},
paramsForRun: params,
threadId: "thread-1",

View File

@@ -3,6 +3,14 @@
"compilerOptions": {
"rootDir": "."
},
"include": ["./*.ts", "./app-server/*.ts"],
"exclude": ["./**/*.test.ts", "./dist/**", "./node_modules/**"]
"include": ["./*.ts", "./src/**/*.ts"],
"exclude": [
"./**/*.test.ts",
"./dist/**",
"./node_modules/**",
"./src/test-support/**",
"./src/**/*test-helpers.ts",
"./src/**/*test-harness.ts",
"./src/**/*test-support.ts"
]
}