oh-my-customcode 0.62.1 → 0.62.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/dist/cli/index.js CHANGED
@@ -9325,7 +9325,7 @@ var init_package = __esm(() => {
9325
9325
  workspaces: [
9326
9326
  "packages/*"
9327
9327
  ],
9328
- version: "0.62.1",
9328
+ version: "0.62.2",
9329
9329
  description: "Batteries-included agent harness for Claude Code",
9330
9330
  type: "module",
9331
9331
  bin: {
@@ -27532,6 +27532,8 @@ async function installEntryDocWithTracking(targetDir, options, result) {
27532
27532
  }
27533
27533
  async function updateInstallConfig(targetDir, options, installedComponents) {
27534
27534
  const config = await loadConfig(targetDir);
27535
+ const manifest = await getTemplateManifest();
27536
+ config.version = manifest.version;
27535
27537
  config.language = options.language ?? DEFAULT_LANGUAGE2;
27536
27538
  config.domain = options.domain;
27537
27539
  config.installedAt = new Date().toISOString();
@@ -27584,6 +27586,25 @@ async function install(options) {
27584
27586
  }
27585
27587
  return result;
27586
27588
  }
27589
+ async function getTemplateManifest() {
27590
+ const packageRoot = getPackageRoot();
27591
+ const layout = getProviderLayout();
27592
+ const manifestPath = join7(packageRoot, "templates", layout.manifestFile);
27593
+ if (await fileExists(manifestPath)) {
27594
+ return readJsonFile(manifestPath);
27595
+ }
27596
+ return {
27597
+ version: "0.0.0",
27598
+ lastUpdated: new Date().toISOString(),
27599
+ components: getAllComponents().map((name) => ({
27600
+ name,
27601
+ path: getComponentPath(name),
27602
+ description: `${name} component`,
27603
+ files: 0
27604
+ })),
27605
+ source: "https://github.com/baekenough/oh-my-customcode"
27606
+ };
27607
+ }
27587
27608
  function getAllComponents() {
27588
27609
  return ["rules", "agents", "skills", "guides", "hooks", "contexts", "ontology"];
27589
27610
  }
package/dist/index.js CHANGED
@@ -1416,6 +1416,8 @@ async function installEntryDocWithTracking(targetDir, options, result) {
1416
1416
  }
1417
1417
  async function updateInstallConfig(targetDir, options, installedComponents) {
1418
1418
  const config = await loadConfig(targetDir);
1419
+ const manifest = await getTemplateManifest();
1420
+ config.version = manifest.version;
1419
1421
  config.language = options.language ?? DEFAULT_LANGUAGE;
1420
1422
  config.domain = options.domain;
1421
1423
  config.installedAt = new Date().toISOString();
@@ -1672,7 +1674,7 @@ var package_default = {
1672
1674
  workspaces: [
1673
1675
  "packages/*"
1674
1676
  ],
1675
- version: "0.62.1",
1677
+ version: "0.62.2",
1676
1678
  description: "Batteries-included agent harness for Claude Code",
1677
1679
  type: "module",
1678
1680
  bin: {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "workspaces": [
4
4
  "packages/*"
5
5
  ],
6
- "version": "0.62.1",
6
+ "version": "0.62.2",
7
7
  "description": "Batteries-included agent harness for Claude Code",
8
8
  "type": "module",
9
9
  "bin": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.62.1",
2
+ "version": "0.62.2",
3
3
  "lastUpdated": "2026-03-24T00:00:00.000Z",
4
4
  "components": [
5
5
  {