@ooneex/cli 1.40.0 → 1.40.1

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/index.js CHANGED
@@ -10762,6 +10762,10 @@ chore(common): Update bun.lock dependencies
10762
10762
 
10763
10763
  Use the \`/commit\` skill to automate this workflow.
10764
10764
 
10765
+ ### Commit Trailers
10766
+
10767
+ Do not add any \`Co-Authored-By\` trailer to commits.
10768
+
10765
10769
  ## Naming Conventions
10766
10770
 
10767
10771
  **Strictly enforced** by DI decorators \u2014 violations throw at startup:
@@ -10872,6 +10876,10 @@ git commit -m "chore(common): Update dependencies and cache package"
10872
10876
  - **Deleted files only**: use \`refactor\` (e.g., \`refactor(user): Remove deprecated UserAdapter\`)
10873
10877
  - **Renamed/moved files**: use \`refactor\` (e.g., \`refactor(product): Reorganize service file structure\`)
10874
10878
 
10879
+ ## Commit Trailers
10880
+
10881
+ Do not add any \`Co-Authored-By\` trailer to commits.
10882
+
10875
10883
  ## Coding Conventions
10876
10884
 
10877
10885
  Apply all coding conventions from the \`optimize\` skill.
@@ -10989,7 +10997,7 @@ Only if \`resources.repository\` is present.
10989
10997
  /make:repository --name=<resources.repository> --module=<module>
10990
10998
  \`\`\`
10991
10999
 
10992
- Retain only the CRUD methods that are needed by this issue (e.g. \`.create\` needs \`save\`; \`.read\` needs \`findById\`; \`.list\` needs \`find\`; \`.delete\` needs \`delete\`).
11000
+ Retain only the CRUD methods that are needed by this issue (e.g. \`.create\` needs \`save\`; \`.read\` needs \`findById\`; \`.list\` needs \`find\`; \`.delete\` needs \`delete\`). For each repository, remove any methods that are not called by a service or other consumer \u2014 do not keep unused methods.
10993
11001
 
10994
11002
  ### 6. Create or update the service
10995
11003
 
@@ -14407,13 +14415,12 @@ class ClaudeSkillCreateCommand {
14407
14415
  }
14408
14416
  async run() {
14409
14417
  const claudeLocalDir = ".claude";
14410
- const claudeDir = join4(process.cwd(), claudeLocalDir);
14411
14418
  const skillsLocalDir = join4(claudeLocalDir, "skills");
14412
14419
  const skillsDir = join4(process.cwd(), skillsLocalDir);
14413
14420
  const logger = new TerminalLogger3;
14414
- const claudeMdPath = join4(claudeDir, "CLAUDE.md");
14421
+ const claudeMdPath = join4(process.cwd(), "CLAUDE.md");
14415
14422
  await Bun.write(claudeMdPath, CLAUDE_md_default);
14416
- logger.success(`${join4(claudeLocalDir, "CLAUDE.md")} created successfully`, undefined, {
14423
+ logger.success("CLAUDE.md created successfully", undefined, {
14417
14424
  showTimestamp: false,
14418
14425
  showArrow: false,
14419
14426
  useSymbol: true
@@ -14886,7 +14893,7 @@ class CommandRunCommand {
14886
14893
  const proc = Bun.spawn(["bun", "run", commandRunPath, commandName, ...extraArgs], {
14887
14894
  cwd: process.cwd(),
14888
14895
  stdout: "inherit",
14889
- stderr: "inherit"
14896
+ stderr: "pipe"
14890
14897
  });
14891
14898
  const exitCode = await proc.exited;
14892
14899
  if (exitCode === 0) {
@@ -14897,7 +14904,9 @@ class CommandRunCommand {
14897
14904
  });
14898
14905
  return;
14899
14906
  }
14900
- logger.warn(`Command "${commandName}" not found in ${name}`, undefined, {
14907
+ const errorOutput = await new Response(proc.stderr).text();
14908
+ const trimmed = errorOutput.trim();
14909
+ logger.warn(`Command "${commandName}" not found in ${name}`, trimmed ? { message: trimmed } : undefined, {
14901
14910
  showTimestamp: false,
14902
14911
  showArrow: false,
14903
14912
  useSymbol: false
@@ -99216,7 +99225,7 @@ class MigrationUpCommand {
99216
99225
  const proc = Bun.spawn(args, {
99217
99226
  cwd: dir,
99218
99227
  stdout: "inherit",
99219
- stderr: "inherit"
99228
+ stderr: "pipe"
99220
99229
  });
99221
99230
  const exitCode = await proc.exited;
99222
99231
  if (exitCode === 0) {
@@ -99226,7 +99235,9 @@ class MigrationUpCommand {
99226
99235
  useSymbol: true
99227
99236
  });
99228
99237
  } else {
99229
- logger.error(`Migrations failed for ${name} (exit code: ${exitCode})`, undefined, {
99238
+ const errorOutput = await new Response(proc.stderr).text();
99239
+ const trimmed = errorOutput.trim();
99240
+ logger.error(`Migrations failed for ${name} (exit code: ${exitCode})`, trimmed ? { message: trimmed } : undefined, {
99230
99241
  showTimestamp: false,
99231
99242
  showArrow: false,
99232
99243
  useSymbol: true
@@ -99631,7 +99642,7 @@ class SeedRunCommand {
99631
99642
  const proc = Bun.spawn(args, {
99632
99643
  cwd: dir,
99633
99644
  stdout: "inherit",
99634
- stderr: "inherit",
99645
+ stderr: "pipe",
99635
99646
  env
99636
99647
  });
99637
99648
  const exitCode = await proc.exited;
@@ -99642,7 +99653,9 @@ class SeedRunCommand {
99642
99653
  useSymbol: true
99643
99654
  });
99644
99655
  } else {
99645
- logger.error(`Seeds failed for ${name} (exit code: ${exitCode})`, undefined, {
99656
+ const errorOutput = await new Response(proc.stderr).text();
99657
+ const trimmed = errorOutput.trim();
99658
+ logger.error(`Seeds failed for ${name} (exit code: ${exitCode})`, trimmed ? { message: trimmed } : undefined, {
99646
99659
  showTimestamp: false,
99647
99660
  showArrow: false,
99648
99661
  useSymbol: true
@@ -99657,4 +99670,4 @@ SeedRunCommand = __legacyDecorateClassTS([
99657
99670
  // src/index.ts
99658
99671
  await run();
99659
99672
 
99660
- //# debugId=3C100A421DA692FB64756E2164756E21
99673
+ //# debugId=61AFC67C24C1FDDE64756E2164756E21