@kernelius/forge-cli 0.3.1 → 0.3.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.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -492,7 +492,8 @@ var REPO_TEMPLATES = {
492
492
  generic: COMPANY_TEMPLATES
493
493
  };
494
494
  function getAllTemplates() {
495
- return Object.values(REPO_TEMPLATES).flat();
495
+ const { generic, ...orgTypes } = REPO_TEMPLATES;
496
+ return Object.values(orgTypes).flat();
496
497
  }
497
498
  function getTemplatesForOrgType(orgType) {
498
499
  return REPO_TEMPLATES[orgType || "generic"] || COMPANY_TEMPLATES;
@@ -648,7 +649,7 @@ function createReposCommand() {
648
649
  const repo = await apiGet(
649
650
  `/api/repositories/${ownerIdentifier}/${name}`
650
651
  );
651
- console.log(chalk3.bold(`${repo.ownerIdentifier}/${repo.name}`));
652
+ console.log(chalk3.bold(`${repo.owner?.identifier || repo.ownerIdentifier}/${repo.name}`));
652
653
  if (repo.description) {
653
654
  console.log(chalk3.dim(repo.description));
654
655
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kernelius/forge-cli",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Command-line tool for Kernelius Forge - the agent-native Git platform",
5
5
  "type": "module",
6
6
  "bin": {