doer-agent 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/agent.js CHANGED
@@ -221,6 +221,7 @@ async function main() {
221
221
  subscribeAll: () => {
222
222
  const codexAppServerManager = createCodexAppServerManager({
223
223
  workspaceRoot: resolveWorkspaceRoot(),
224
+ agentProjectDir: AGENT_PROJECT_DIR,
224
225
  resolveCodexHomePath: runtimeEnvHelpers.resolveCodexHomePath,
225
226
  readAgentSettingsConfig,
226
227
  onLog: writeAgentInfo,
@@ -1,4 +1,5 @@
1
1
  import { buildAgentSettingsEnvPatch, readAgentModelInstructions, resolveAgentModelInstructionsFilePath, } from "./agent-settings.js";
2
+ import { buildDaemonMcpConfigArgs } from "./agent-codex-cli.js";
2
3
  import { CodexAppServerClient } from "./codex-app-server-client.js";
3
4
  function toTomlStringLiteral(value) {
4
5
  return `"${value.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}"`;
@@ -23,6 +24,10 @@ async function buildCodexAppServerArgs(args) {
23
24
  return [
24
25
  "app-server",
25
26
  ...configArgs,
27
+ ...buildDaemonMcpConfigArgs({
28
+ agentProjectDir: args.agentProjectDir,
29
+ workspaceRoot: args.workspaceRoot,
30
+ }),
26
31
  ...buildFeatureArg(args.settings.codex.computerUseEnabled, "computer_use"),
27
32
  ...buildFeatureArg(args.settings.codex.browserUseEnabled, "browser_use"),
28
33
  "--listen",
@@ -42,7 +47,11 @@ export function createCodexAppServerManager(args) {
42
47
  let generation = 0;
43
48
  const createClient = async () => {
44
49
  const settings = await args.readAgentSettingsConfig({ workspaceRoot: args.workspaceRoot });
45
- const appServerArgs = await buildCodexAppServerArgs({ workspaceRoot: args.workspaceRoot, settings });
50
+ const appServerArgs = await buildCodexAppServerArgs({
51
+ workspaceRoot: args.workspaceRoot,
52
+ agentProjectDir: args.agentProjectDir,
53
+ settings,
54
+ });
46
55
  const env = await buildCodexAppServerEnv({
47
56
  workspaceRoot: args.workspaceRoot,
48
57
  resolveCodexHomePath: args.resolveCodexHomePath,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doer-agent",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Reverse-polling agent runtime for doer",
5
5
  "type": "module",
6
6
  "main": "dist/agent.js",