@unblocklabs/unblock-codex-prompt 0.2.1 → 0.2.2

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/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Unblock Codex Prompt
2
2
 
3
3
  A small, explicit prompt-management bridge for dedicated OpenClaw Mac agents.
4
- **Version 0.2.1.** The frozen bridge supports OpenClaw/Codex 2026.9.2 and newer
4
+ **Version 0.2.2.** The frozen bridge supports OpenClaw/Codex 2026.9.2 and newer
5
5
  stable releases with a compatible context-assembly layout.
6
6
 
7
7
  ## What you control
@@ -33,7 +33,10 @@ files use private permissions. Missing identity documents are recorded as absent
33
33
  `dist/.setup/` bundles. Bundle names
34
34
  may change; fingerprints of the context-assembly functions must still match.
35
35
  Changed assembly is refused pending review, rather than patched blindly.
36
- - Managed local stdio Codex, agent-scoped home, no custom command/arguments.
36
+ - Local stdio Codex with an OpenClaw agent-scoped home. Operator-selected
37
+ `appServer.command` and `appServer.args` are supported and left unchanged.
38
+ The launcher must honor OpenClaw's `CODEX_HOME` and must not override the
39
+ managed `model_instructions_file`; status cannot attest to launcher behavior.
37
40
  - One target agent per installation. Other agents use upstream behavior. Native
38
41
  children may inherit the parent's frozen context.
39
42
 
@@ -54,7 +57,7 @@ Remote-node-only skills are not added; this is for dedicated local Mac agents.
54
57
  npm ci
55
58
  npm run preflight
56
59
  npm pack
57
- openclaw plugins install ./unblocklabs-unblock-codex-prompt-0.2.1.tgz --force --accept-capabilities
60
+ openclaw plugins install ./unblocklabs-unblock-codex-prompt-0.2.2.tgz --force --accept-capabilities
58
61
  ```
59
62
 
60
63
  Include the plugin in `plugins.allow` if applicable, then configure:
package/dist/index.js CHANGED
@@ -54,13 +54,11 @@ async function resolveTarget(config) {
54
54
  if (!appServer || typeof appServer !== "object" || Array.isArray(appServer))
55
55
  throw new Error("Invalid Codex appServer config");
56
56
  if (("transport" in appServer && appServer.transport !== "stdio") ||
57
- ("homeScope" in appServer && appServer.homeScope !== "agent") ||
58
- ("command" in appServer && appServer.command !== undefined)) {
59
- throw new Error("Only OpenClaw-managed, agent-scoped local stdio Codex is supported");
60
- }
61
- if ("args" in appServer && appServer.args !== undefined) {
62
- throw new Error("Custom Codex appServer.args may override the prompt; remove them or manage the prompt outside this plugin");
57
+ ("homeScope" in appServer && appServer.homeScope !== "agent")) {
58
+ throw new Error("Only agent-scoped local stdio Codex is supported");
63
59
  }
60
+ // OpenClaw owns launching Codex, including operator-selected binaries/args.
61
+ // We own this agent's prompt files, not its executable selection.
64
62
  }
65
63
  return { agentDir: resolveAgentDir(config, settings.agentId), settings, workspaceDir: resolveAgentWorkspaceDir(config, settings.agentId) };
66
64
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "unblock-codex-prompt",
3
3
  "name": "Unblock Codex Prompt",
4
- "version": "0.2.1",
4
+ "version": "0.2.2",
5
5
  "description": "Maintain an agent-scoped Codex base prompt and its model_instructions_file pointer.",
6
6
  "activation": { "onStartup": true },
7
7
  "configSchema": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unblocklabs/unblock-codex-prompt",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Manage a shared Codex base prompt for an OpenClaw agent.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",