genbox 1.0.62 → 1.0.63

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/api.js +6 -0
  2. package/package.json +1 -1
package/dist/api.js CHANGED
@@ -57,6 +57,12 @@ async function fetchApi(endpoint, options = {}) {
57
57
  if (token) {
58
58
  headers['Authorization'] = `Bearer ${token}`;
59
59
  }
60
+ // DEBUG: Log request body for rebuild endpoints
61
+ if (process.env.GENBOX_DEBUG && endpoint.includes('/rebuild') && options.body) {
62
+ const bodyObj = JSON.parse(options.body);
63
+ console.log(chalk_1.default.dim(`[API DEBUG] POST ${endpoint}`));
64
+ console.log(chalk_1.default.dim(`[API DEBUG] repos: ${JSON.stringify(bodyObj.repos, null, 2)}`));
65
+ }
60
66
  let response;
61
67
  try {
62
68
  response = await fetch(url, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genbox",
3
- "version": "1.0.62",
3
+ "version": "1.0.63",
4
4
  "description": "Genbox CLI - AI-Powered Development Environments",
5
5
  "main": "dist/index.js",
6
6
  "bin": {