@messenger-agent/codex-agent 0.29.0-alpha.0 → 0.29.0-alpha.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.
@@ -1,4 +1,4 @@
1
- import{existsSync as c,readFileSync as i}from"node:fs";import{fileURLToPath as a}from"node:url";import{logger as d}from"@messenger-agent/shared/logger";const l=[a(new URL("./assets/codex-home/AGENTS.md",import.meta.url)),a(new URL("../../../assets/codex-home/AGENTS.md",import.meta.url)),"/app/assets/codex-home/AGENTS.md"],n="## Codex Managed Task Tools\n\nWhen using managed task tools in Codex, call these tool names directly: `search_managed_tasks`, `get_managed_task`, `create_managed_task`, `update_managed_task`, `apply_managed_task_patch`, and `delete_managed_task`.\n",m="## Schedule Tool\n\nUse the single `schedule` tool to prepare create/update proposals or list, inspect, pause, resume, and cancel schedules in the current trusted Matrix context. The action is selected inside `input.action`; never ask for or invent a Room ID, actor ID, source event, or service credential. A successful create/update result is a proposal awaiting one explicit Messenger confirmation, not an active schedule. Summarize it, but do not ask for a chat reply or invoke another confirmation tool.\n";function h(s,r=!1){const e=r?`
2
- ${m}`:"",t=[s??process.env.CODEX_AGENTS_TEMPLATE_PATH,...l].find(o=>!!(o&&c(o)));return t?`${i(t,"utf-8").trimEnd()}
1
+ import{existsSync as i,readFileSync as c}from"node:fs";import{fileURLToPath as a}from"node:url";import{logger as d}from"@messenger-agent/shared/logger";const m=[a(new URL("./assets/codex-home/AGENTS.md",import.meta.url)),a(new URL("../../../assets/codex-home/AGENTS.md",import.meta.url)),"/app/assets/codex-home/AGENTS.md"],o="## Codex Managed Task Tools\n\nWhen using managed task tools in Codex, call these tool names directly: `search_managed_tasks`, `get_managed_task`, `create_managed_task`, `update_managed_task`, `apply_managed_task_patch`, and `delete_managed_task`.\n",l='## Schedule Tool\n\nUse the single `schedule` tool to prepare create/update proposals or list, inspect, pause, resume, and cancel schedules in the current trusted Matrix context. The action is selected inside `input.action`; never ask for or invent a Room ID, actor ID, source event, service credential, `executor`, `target`, or `agentId` field. To wake an Agent, include its Matrix Markdown mention in `message` and its MXID in `mentionUserIds`. A minimal one-time create input is `{"action":"create","trigger":{"type":"once","at":"2026-08-11T02:30:00.000Z"},"message":"Reminder","mentionUserIds":[],"misfirePolicy":{"type":"grace_window","graceWindowSeconds":300}}`. For cron triggers, provide `expression` and an IANA `timezone`; DST policy and no end time have defaults. A successful create/update result is a proposal awaiting one explicit Messenger confirmation, not an active schedule. Summarize it, but do not ask for a chat reply or invoke another confirmation tool.\n';function _(s,r=!1){const e=r?`
2
+ ${l}`:"",t=[s??process.env.CODEX_AGENTS_TEMPLATE_PATH,...m].find(n=>!!(n&&i(n)));return t?`${c(t,"utf-8").trimEnd()}
3
3
 
4
- ${n}${e}`:(d.warn("Codex platform instructions template not found"),`${n}${e}`)}export{h as loadCodexPlatformInstructions};
4
+ ${o}${e}`:(d.warn("Codex platform instructions template not found"),`${o}${e}`)}export{_ as loadCodexPlatformInstructions};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@messenger-agent/codex-agent",
3
- "version": "0.29.0-alpha.0",
3
+ "version": "0.29.0-alpha.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -22,7 +22,7 @@
22
22
  "ws": "^8.21.0",
23
23
  "yaml": "^2.9.0",
24
24
  "zod": "^4.4.3",
25
- "@messenger-agent/shared": "0.29.0-alpha.0"
25
+ "@messenger-agent/shared": "0.29.0-alpha.1"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/ws": "^8.18.1"