@unblocklabs/unblock-codex-prompt 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/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.6.0.** The bridge supports OpenClaw/Codex 2026.10.5 and newer
4
+ **Version 0.6.1.** The bridge supports OpenClaw/Codex 2026.10.5 and newer
5
5
  stable releases with a reviewed context-assembly layout, and agents running
6
6
  through the Claude CLI backend, whose whole system prompt it replaces through
7
7
  OpenClaw's public `before_prompt_build` hook without patching OpenClaw core.
@@ -371,7 +371,7 @@ Claude CLI process. It uses a temporary state directory and changes nothing inst
371
371
  npm ci
372
372
  npm run preflight
373
373
  npm pack
374
- openclaw plugins install ./unblocklabs-unblock-codex-prompt-0.6.0.tgz --force --accept-capabilities
374
+ openclaw plugins install ./unblocklabs-unblock-codex-prompt-0.6.1.tgz --force --accept-capabilities
375
375
  ```
376
376
 
377
377
  Include the plugin in `plugins.allow` if applicable, then configure:
@@ -573,10 +573,12 @@ Codex lists every skill it finds in the managed Codex home, including skills fro
573
573
  ChatGPT remote plugins that sync in on their own. `disabledCodexSkills` names the
574
574
  ones to remove: a plugin name removes all of that plugin's skills, and an exact
575
575
  skill name (`pages:write-page`, `imagegen`) removes one. It defaults to
576
- `["pages", "work-pets"]` (ChatGPT Pages and Pets). Other skills are untouched.
576
+ `["documents:documents", "pages", "work-pets"]`. Disabling the Documents skill
577
+ lets agents use existing `gogcli` access for Google Docs instead of requiring
578
+ the OpenAI Google Drive import plugin.
577
579
 
578
580
  ```json
579
- "disabledCodexSkills": ["pages", "work-pets"]
581
+ "disabledCodexSkills": ["documents:documents", "pages", "work-pets"]
580
582
  ```
581
583
 
582
584
  The plugin scans `skills/` and `plugins/cache/` under the managed Codex home and
@@ -584,8 +586,10 @@ writes one marked block of `[[skills.config]] name = "…" enabled = false` rule
584
586
  the end of `config.toml`. It re-applies the block at Gateway startup, `sync`,
585
587
  `refresh`, and the daily refresh, so newly synced plugin skills are caught.
586
588
  Codex reads the rules when its app-server starts; running sessions keep their
587
- list until the Gateway or app-server restarts. Set `[]` to remove the block.
588
- `restore` also removes it. User-authored `[[skills.config]]` entries stay as written.
589
+ list until the Gateway or app-server restarts. An explicit list replaces the
590
+ defaults: use `["pages", "work-pets"]` to keep Documents available, or `[]`
591
+ to remove all managed skill rules. `restore` also removes the block.
592
+ User-authored `[[skills.config]]` entries stay as written.
589
593
 
590
594
  ## Restore
591
595
 
@@ -657,7 +661,7 @@ sync.
657
661
 
658
662
  ```sh
659
663
  npm run preflight
660
- npm run release:check -- v0.6.0
664
+ npm run release:check -- v0.6.1
661
665
  ```
662
666
 
663
667
  Tests cover compilation, explicit refresh, native/private-body exclusion,
@@ -667,7 +671,7 @@ proof and limits.
667
671
 
668
672
  Install with
669
673
  the packed archive above for an unreleased candidate. After publication, use
670
- `openclaw plugins install npm:@unblocklabs/unblock-codex-prompt@0.6.0 --accept-capabilities`.
674
+ `openclaw plugins install npm:@unblocklabs/unblock-codex-prompt@0.6.1 --accept-capabilities`.
671
675
  The existing [GitHub Release workflow](RELEASING.md) publishes npm only when a
672
676
  GitHub Release is published. Normal pushes do not release the package.
673
677
 
package/dist/config.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export const PLUGIN_ID = "unblock-codex-prompt";
2
- // ChatGPT Pages and Pets skills reach Codex through remote plugins and do not apply to OpenClaw agents.
3
- export const DEFAULT_DISABLED_CODEX_SKILLS = ["pages", "work-pets"];
2
+ // Keep the Documents skill from routing Google Docs away from the fleet's existing gogcli access.
3
+ export const DEFAULT_DISABLED_CODEX_SKILLS = ["documents:documents", "pages", "work-pets"];
4
4
  export function parseConfig(raw) {
5
5
  const value = raw ?? {};
6
6
  if (typeof value !== "object" || Array.isArray(value))
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "unblock-codex-prompt",
3
3
  "name": "Unblock Codex Prompt",
4
- "version": "0.6.0",
4
+ "version": "0.6.1",
5
5
  "description": "Maintain an agent-scoped fleet prompt for Codex (model_instructions_file) and Claude CLI (before_prompt_build hook).",
6
6
  "activation": { "onStartup": true },
7
7
  "configSchema": {
@@ -14,7 +14,7 @@
14
14
  "frozenContext": { "type": "boolean", "const": true },
15
15
  "promptUrl": { "type": "string", "format": "uri", "pattern": "^https://" },
16
16
  "suppressExplicitDelegationPrompt": { "type": "boolean", "default": false },
17
- "disabledCodexSkills": { "type": "array", "default": ["pages", "work-pets"], "maxItems": 64, "uniqueItems": true, "items": { "type": "string", "pattern": "^[\\w.@:-]{1,128}$" } }
17
+ "disabledCodexSkills": { "type": "array", "default": ["documents:documents", "pages", "work-pets"], "maxItems": 64, "uniqueItems": true, "items": { "type": "string", "pattern": "^[\\w.@:-]{1,128}$" } }
18
18
  }
19
19
  },
20
20
  "uiHints": {
@@ -23,6 +23,6 @@
23
23
  "frozenContext": { "label": "Managed prompt bridge", "help": "Required: true. Codex: replaces base instructions and OpenClaw generic policy on reviewed OpenClaw/Codex >=2026.10.5 layouts. Claude CLI: replaces OpenClaw's entire system prompt through the public before_prompt_build hook (policy, memory reference, local media context and the workspace AGENTS, SOUL, IDENTITY, USER and BOOTSTRAP files, read every turn); no OpenClaw core patch. Needs hooks.allowConversationAccess: true and allowPromptInjection not false. Runtimes come from the agent's configured model policy at explicit sync. SOUL, IDENTITY, USER and AGENTS stay live." },
24
24
  "promptUrl": { "label": "Fleet prompt endpoint", "help": "Required public HTTPS plain-text endpoint with X-Prompt-Revision SHA-256. The only shared-policy source. After initial sync, refreshed daily and when overdue on startup without refreshing agent context. No bundled prompt fallback." },
25
25
  "suppressExplicitDelegationPrompt": { "label": "Compact managed Codex instructions", "help": "Manage a model_catalog_json override: suppress explicit-only delegation and Default-mode prose, trim role introductions and compact full-access/never-approval text. Runtime mechanics and permissions are unchanged. Refreshed daily from the configured provider. Requires frozenContext and an available provider env_key. Generated-file edits are replaced on refresh." },
26
- "disabledCodexSkills": { "label": "Codex skills to remove", "help": "Plugin names (all of their skills) or exact skill names to disable in Codex's native skills list. Defaults to ChatGPT Pages and Pets. Applied through a managed [[skills.config]] block at startup, sync and daily refresh; other skills are untouched. Set [] to stop managing Codex skills." }
26
+ "disabledCodexSkills": { "label": "Codex skills to remove", "help": "Plugin names (all of their skills) or exact skill names to disable in Codex's native skills list. Defaults to documents:documents, pages, and work-pets. An explicit list replaces the defaults; set [] to remove all managed rules. Applied at startup, sync and refresh." }
27
27
  }
28
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unblocklabs/unblock-codex-prompt",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Manage a shared fleet prompt for an OpenClaw agent on Codex and Claude CLI.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",