holycodex 0.4.2 → 0.4.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "holycodex",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Lean Codex-only agent toolkit for ChatGPT Plus",
5
5
  "keywords": [
6
6
  "agents",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "holycodex",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Lean Codex-only agents, skills, hooks, and MCP defaults.",
5
5
  "author": {
6
6
  "name": "David Basile Filho",
@@ -18,8 +18,14 @@ async function readinessContext(pluginRoot) {
18
18
  if (missing.length === 0) return CORE_INSTRUCTIONS;
19
19
  return `${CORE_INSTRUCTIONS}\n\nHolyCodex incomplete: missing runtime/${missing.join(", runtime/")}. Reinstall HolyCodex before using its local MCPs or hooks.`;
20
20
  }
21
+ async function readinessOutput(pluginRoot) {
22
+ const additionalContext = await readinessContext(pluginRoot);
23
+ return `${JSON.stringify({ hookSpecificOutput: {
24
+ hookEventName: "SessionStart",
25
+ additionalContext
26
+ } })}\n`;
27
+ }
21
28
  //#endregion
22
29
  //#region src/bootstrap-cli.ts
23
- var context = await readinessContext(process.env.PLUGIN_ROOT ?? process.cwd());
24
- if (context.length > 0) process.stdout.write(`${JSON.stringify({ additionalContext: context })}\n`);
30
+ process.stdout.write(await readinessOutput(process.env.PLUGIN_ROOT ?? process.cwd()));
25
31
  //#endregion
@@ -122,7 +122,7 @@ function paths(home = process.env.CODEX_HOME ?? join(homedir(), ".codex")) {
122
122
  config: join(home, "config.toml"),
123
123
  marketplaceCache,
124
124
  cacheRoot,
125
- cache: join(cacheRoot, "0.4.2"),
125
+ cache: join(cacheRoot, "0.4.3"),
126
126
  agents: join(home, "holycodex", "agents"),
127
127
  legacy: [
128
128
  join(home, "plugins", "cache", "sisyphuslabs", "omo"),
@@ -210,7 +210,7 @@ async function cleanup(_options) {
210
210
  }
211
211
  //#endregion
212
212
  //#region src/cli.ts
213
- var VERSION = "0.4.2";
213
+ var VERSION = "0.4.3";
214
214
  var HELP = `HolyCodex ${VERSION}\n\nUsage: holycodex <install|cleanup> [options]\n\nOptions:\n --help Show help\n --version Show version\n --no-tui Accepted; commands are noninteractive\n --codex-autonomous Set autonomous Codex permissions\n --json Print machine-readable result\n`;
215
215
  async function main() {
216
216
  const args = process$1.argv.slice(2);
@@ -166,7 +166,7 @@ async function handleGitBashMcpRequest(input, options = {}) {
166
166
  capabilities: { tools: { listChanged: false } },
167
167
  serverInfo: {
168
168
  name: "git_bash",
169
- version: "0.4.2"
169
+ version: "0.4.3"
170
170
  },
171
171
  protocolVersion: protocolVersionFromInput(input) ?? "2024-11-05"
172
172
  });
@@ -3072,7 +3072,7 @@ function coerceToolArguments(value) {
3072
3072
  //#endregion
3073
3073
  //#region packages/lsp-core/src/mcp.ts
3074
3074
  var SERVER_NAME = "lsp";
3075
- var SERVER_VERSION = "0.4.2";
3075
+ var SERVER_VERSION = "0.4.3";
3076
3076
  async function handleLspMcpRequest(input) {
3077
3077
  if (!isPlainRecord(input)) return errorResponse(null, -32600, "Invalid Request");
3078
3078
  const id = jsonRpcId(input["id"]);