oh-my-customcode 0.16.3 → 0.16.4

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 (2) hide show
  1. package/dist/cli/index.js +23 -2
  2. package/package.json +6 -2
package/dist/cli/index.js CHANGED
@@ -5,15 +5,29 @@ var __getProtoOf = Object.getPrototypeOf;
5
5
  var __defProp = Object.defineProperty;
6
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ function __accessProp(key) {
9
+ return this[key];
10
+ }
11
+ var __toESMCache_node;
12
+ var __toESMCache_esm;
8
13
  var __toESM = (mod, isNodeMode, target) => {
14
+ var canCache = mod != null && typeof mod === "object";
15
+ if (canCache) {
16
+ var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
17
+ var cached = cache.get(mod);
18
+ if (cached)
19
+ return cached;
20
+ }
9
21
  target = mod != null ? __create(__getProtoOf(mod)) : {};
10
22
  const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
11
23
  for (let key of __getOwnPropNames(mod))
12
24
  if (!__hasOwnProp.call(to, key))
13
25
  __defProp(to, key, {
14
- get: () => mod[key],
26
+ get: __accessProp.bind(mod, key),
15
27
  enumerable: true
16
28
  });
29
+ if (canCache)
30
+ cache.set(mod, to);
17
31
  return to;
18
32
  };
19
33
  var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
@@ -14174,7 +14188,14 @@ async function checkExistingInstallation(targetDir) {
14174
14188
  const rootDir = join6(targetDir, layout.rootDir);
14175
14189
  return fileExists(rootDir);
14176
14190
  }
14177
- var PROVIDER_SUBDIR_COMPONENTS = new Set(["rules", "hooks", "contexts", "agents", "skills"]);
14191
+ var PROVIDER_SUBDIR_COMPONENTS = new Set([
14192
+ "rules",
14193
+ "hooks",
14194
+ "contexts",
14195
+ "agents",
14196
+ "skills",
14197
+ "ontology"
14198
+ ]);
14178
14199
  function componentToPath(targetDir, component) {
14179
14200
  if (component === "entry-md") {
14180
14201
  const layout = getProviderLayout();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-my-customcode",
3
- "version": "0.16.3",
3
+ "version": "0.16.4",
4
4
  "description": "Batteries-included agent harness for Claude Code",
5
5
  "type": "module",
6
6
  "bin": {
@@ -46,7 +46,7 @@
46
46
  "yaml": "^2.8.2"
47
47
  },
48
48
  "devDependencies": {
49
- "@anthropic-ai/sdk": "^0.74.0",
49
+ "@anthropic-ai/sdk": "^0.78.0",
50
50
  "@biomejs/biome": "^2.3.12",
51
51
  "@types/bun": "^1.3.6",
52
52
  "@types/js-yaml": "^4.0.9",
@@ -76,5 +76,9 @@
76
76
  "homepage": "https://github.com/baekenough/oh-my-customcode#readme",
77
77
  "engines": {
78
78
  "node": ">=18.0.0"
79
+ },
80
+ "overrides": {
81
+ "rollup": "^4.59.0",
82
+ "esbuild": "^0.25.0"
79
83
  }
80
84
  }