holycodex 0.3.2 → 0.3.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.3.2",
3
+ "version": "0.3.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.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Lean Codex-only agents, skills, hooks, and MCP defaults.",
5
5
  "author": {
6
6
  "name": "David Basile Filho",
@@ -1,4 +1,4 @@
1
- import { t as CORE_INSTRUCTIONS } from "./core-instructions-CKS8xwZK.js";
1
+ import { t as CORE_INSTRUCTIONS } from "./core-instructions-C3FKctng.js";
2
2
  import { access } from "node:fs/promises";
3
3
  import { join } from "node:path";
4
4
  //#region src/bootstrap.ts
@@ -120,7 +120,7 @@ function paths(home = process.env.CODEX_HOME ?? join(homedir(), ".codex")) {
120
120
  home,
121
121
  config: join(home, "config.toml"),
122
122
  cacheRoot,
123
- cache: join(cacheRoot, "0.3.2"),
123
+ cache: join(cacheRoot, "0.3.3"),
124
124
  agents: join(home, "holycodex", "agents"),
125
125
  legacy: [
126
126
  join(home, "plugins", "cache", "sisyphuslabs", "omo"),
@@ -208,7 +208,7 @@ async function cleanup(_options) {
208
208
  }
209
209
  //#endregion
210
210
  //#region src/cli.ts
211
- var VERSION = "0.3.2";
211
+ var VERSION = "0.3.3";
212
212
  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`;
213
213
  async function main() {
214
214
  const args = process$1.argv.slice(2);
@@ -0,0 +1,4 @@
1
+ //#region src/core-instructions.ts
2
+ var CORE_INSTRUCTIONS = "HolyCodex: Start first user-facing update: \"I detect [fix/implementation/investigation/pure question] intent — [reason]. [action].\" Act. Shell: git_bash MCP; exec_command only if unavailable or nonshell. Prompt/skill/instruction edit: load caveman; keep constraints. Primary owns decisions, integration, verification. Delegate only bounded independent work that saves cost/time: explorer=repo facts; librarian=current external facts; worker=isolated implementation. Never delegate responsibility, trivial, or tightly coupled work. Subagents cut cost, not form organization. Match reasoning effort to complexity.";
3
+ //#endregion
4
+ export { CORE_INSTRUCTIONS as t };
@@ -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.3.2"
169
+ version: "0.3.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.3.2";
3075
+ var SERVER_VERSION = "0.3.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"]);
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as CORE_INSTRUCTIONS } from "./core-instructions-CKS8xwZK.js";
2
+ import { t as CORE_INSTRUCTIONS } from "./core-instructions-C3FKctng.js";
3
3
  import { mkdir, readFile, readdir, rm, writeFile } from "node:fs/promises";
4
4
  import { dirname, isAbsolute, join, relative, resolve } from "node:path";
5
5
  import { stdin, stdout } from "node:process";
@@ -1,4 +0,0 @@
1
- //#region src/core-instructions.ts
2
- var CORE_INSTRUCTIONS = "HolyCodex core: Start first user-facing update: \"I detect [fix/implementation/investigation/pure question] intent — [reason]. [action].\" Then act. Use git_bash MCP for every shell command. Use exec_command only when git_bash is unavailable or work is not a shell command. Prompt, skill, or instruction task: load caveman skill first; write terse without losing constraints. Primary agent keeps control. Subagents reduce cost, never simulate an organization. Delegate bounded labor, never responsibility. Spend intelligence only where complexity requires it.";
3
- //#endregion
4
- export { CORE_INSTRUCTIONS as t };