@mindexec/cli 0.2.465 → 0.2.467

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.
Files changed (29) hide show
  1. package/README.md +3 -0
  2. package/codex-runtime.js +546 -39
  3. package/package.json +38 -34
  4. package/remote-fast/osx-arm64/mindexec-remote-fast.dll +0 -0
  5. package/remote-fast/osx-x64/mindexec-remote-fast.dll +0 -0
  6. package/remote-fast/win-x64/mindexec-remote-fast.dll +0 -0
  7. package/scripts/board-render-ownership-smoke.mjs +85 -0
  8. package/scripts/codex-runtime-home-smoke.mjs +58 -0
  9. package/scripts/codex-sdk-image-live-smoke.mjs +43 -0
  10. package/scripts/codex-sdk-image-runtime-smoke.mjs +122 -0
  11. package/server.js +17 -0
  12. package/wwwroot/_content/MindExecution.Shared/js/mind-map-board-render-ownership.js +81 -0
  13. package/wwwroot/_content/MindExecution.Shared/js/mind-map-core.js +85 -32
  14. package/wwwroot/_framework/MindExecution.Core.7oa1zr128r.dll +0 -0
  15. package/wwwroot/_framework/{MindExecution.Kernel.98wpeg0ntq.dll → MindExecution.Kernel.dqr12udjsr.dll} +0 -0
  16. package/wwwroot/_framework/{MindExecution.Plugins.Admin.y25y20jkiv.dll → MindExecution.Plugins.Admin.6bt51zpdq7.dll} +0 -0
  17. package/wwwroot/_framework/{MindExecution.Plugins.Business.guko3zr1rb.dll → MindExecution.Plugins.Business.e92nh6aw24.dll} +0 -0
  18. package/wwwroot/_framework/{MindExecution.Plugins.Concept.qmin06apyt.dll → MindExecution.Plugins.Concept.z5rfp7c5gn.dll} +0 -0
  19. package/wwwroot/_framework/{MindExecution.Plugins.Directory.6rw2l9utyr.dll → MindExecution.Plugins.Directory.6qmfycdkxt.dll} +0 -0
  20. package/wwwroot/_framework/{MindExecution.Plugins.PlanMaster.72ir717kho.dll → MindExecution.Plugins.PlanMaster.lbbov61zg3.dll} +0 -0
  21. package/wwwroot/_framework/{MindExecution.Plugins.YouTube.rkge49vbw6.dll → MindExecution.Plugins.YouTube.7vjisvqu3j.dll} +0 -0
  22. package/wwwroot/_framework/{MindExecution.Shared.q4dgev2e3z.dll → MindExecution.Shared.ydgyfah35e.dll} +0 -0
  23. package/wwwroot/_framework/MindExecution.Web.b68gpm21e3.dll +0 -0
  24. package/wwwroot/_framework/blazor.boot.json +21 -21
  25. package/wwwroot/index.html +2 -1
  26. package/wwwroot/service-worker-assets.js +28 -24
  27. package/wwwroot/service-worker.js +1 -1
  28. package/wwwroot/_framework/MindExecution.Core.o29fdql6j5.dll +0 -0
  29. package/wwwroot/_framework/MindExecution.Web.ckdrqv28k2.dll +0 -0
package/README.md CHANGED
@@ -267,12 +267,15 @@ Shell/Codex job ?대깽??
267
267
  - `GET /api/codex/capabilities` - TypeScript SDK / App Server scaffold / Legacy Exec provider availability
268
268
  - `POST /api/codex/thread/start` - start a local Codex thread
269
269
  - `POST /api/codex/thread/run` - run a Codex turn. Uses `@openai/codex-sdk` first and falls back to legacy `codex exec`
270
+ - `POST /api/codex/image/run` - generate or edit one image through `@openai/codex-sdk`; invalid login opens the bundled browser sign-in flow and retries once
270
271
  - `POST /api/codex/thread/resume` - resume a stored SDK thread by id
271
272
  - `POST /api/codex/thread/cancel` - cancel an active turn
272
273
  - `GET /api/codex/thread/:threadId/status` - inspect local thread status and compact run metadata
273
274
 
274
275
  The TypeScript SDK runs only inside LocalBridge. Browser/WASM clients should call these bridge endpoints and must not import or execute Codex SDK packages directly.
275
276
 
277
+ By default, LocalBridge reuses the active `CODEX_HOME` (or the standard `~/.codex` home) so SDK calls share the existing Codex login. Set `MINDEXEC_CODEX_HOME` only when a deliberately separate MindExec login is required.
278
+
276
279
  ### Port ownership
277
280
 
278
281
  On startup, LocalBridge checks `BRIDGE_PORT` and stops an existing MindExec/LocalBridge listener on that same port before binding. If the port is owned by an unrelated process, startup fails with a clear message instead of silently killing it. Set `BRIDGE_FORCE_KILL_PORT_OWNER=1` only when the launcher owns that port policy and should terminate any listener.