oh-my-customcode 0.62.0 → 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.
|
|
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.
|
|
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
|
@@ -24,6 +24,20 @@ Update the relevant rule rather than just acknowledging the violation.
|
|
|
24
24
|
| Self-detected violation | Fix immediately, consider rule update |
|
|
25
25
|
| Ambiguous situation | Ask user, then update if needed |
|
|
26
26
|
|
|
27
|
+
## Defect Response Matrix
|
|
28
|
+
|
|
29
|
+
| Defect Type | Rule Update | Memory | Issue |
|
|
30
|
+
|-------------|:-----------:|:------:|:-----:|
|
|
31
|
+
| Rule violation (agent behavior) | ✅ | — | — |
|
|
32
|
+
| CI/infra defect | — | ✅ | ✅ |
|
|
33
|
+
| Process gap (workflow hole) | ✅ | ✅ | ✅ |
|
|
34
|
+
| Repeatable system bug | — | ✅ | ✅ |
|
|
35
|
+
|
|
36
|
+
When CI failure, process gap, or repeatable system defect is found:
|
|
37
|
+
1. Record feedback memory (defend current session)
|
|
38
|
+
2. Register GitHub issue (trackable improvement item)
|
|
39
|
+
3. Both required — memory alone is NOT sufficient for system-level defects
|
|
40
|
+
|
|
27
41
|
## Anti-Patterns
|
|
28
42
|
|
|
29
43
|
| Anti-Pattern | Why It's Wrong | Correct Action |
|
package/templates/manifest.json
CHANGED