@wix/ditto-codegen-public 1.0.402 → 1.0.403

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/out.js +10 -3
  2. package/package.json +2 -2
package/dist/out.js CHANGED
@@ -11588,9 +11588,10 @@ object. Work in a bounded number of fix cycles \u2014 if the build isn't converg
11588
11588
  after a few attempts, STOP and return the remaining errors verbatim rather than
11589
11589
  looping; never silence them.
11590
11590
 
11591
- When done, summarize each error: message, file, root cause, fix. No diffs.
11592
- If you fixed 2+ errors or any remain unfixed, add exactly: NEEDS_INVESTIGATION
11593
- (This triggers a team alert to improve codegen for future runs.)`;
11591
+ When done, if you fixed any errors or any remain unfixed, write NEEDS_INVESTIGATION
11592
+ as the very first line of your response (before the summary).
11593
+ Then summarize each error: message, file, root cause, fix. No diffs.
11594
+ (NEEDS_INVESTIGATION triggers a team alert to improve codegen for future runs.)`;
11594
11595
  var WIX_DOCS_DESCRIPTION = `Use ONLY to discover a Wix SDK you don't know and that the skills +
11595
11596
  KNOWN WIX APIS don't cover. Send ONE complete question; returns the import path
11596
11597
  + exported namespace/method + runtime context + full signature + any required
@@ -15987,6 +15988,7 @@ var require_executor = __commonJS({
15987
15988
  "dist/opencode-integration/executor.js"(exports2) {
15988
15989
  "use strict";
15989
15990
  Object.defineProperty(exports2, "__esModule", { value: true });
15991
+ exports2.notifyValidatorOutputsToSlack = notifyValidatorOutputsToSlack;
15990
15992
  exports2.executeOpenCode = executeOpenCode;
15991
15993
  exports2.resolveFinalRunCost = resolveFinalRunCost;
15992
15994
  var child_process_1 = require("child_process");
@@ -16409,6 +16411,7 @@ var require_OpenCodeOrchestrator = __commonJS({
16409
16411
  }
16410
16412
  });
16411
16413
  this.lastUsage = result.usage;
16414
+ this.lastStdout = result.stdout;
16412
16415
  const durationMs = Date.now() - start;
16413
16416
  if (!result.success) {
16414
16417
  this.emitEvent("opencode:error", {
@@ -21641,6 +21644,7 @@ var require_opencode_init = __commonJS({
21641
21644
  var inject_created_by_1 = require_inject_created_by();
21642
21645
  var collect_extensions_created_1 = require_collect_extensions_created();
21643
21646
  var biEvents_1 = require_biEvents();
21647
+ var executor_1 = require_executor();
21644
21648
  var pre_run_decision_1 = require_pre_run_decision();
21645
21649
  var environments_12 = require_environments();
21646
21650
  var plugins_runtime_1 = require_plugins_runtime();
@@ -21705,6 +21709,9 @@ var require_opencode_init = __commonJS({
21705
21709
  ...agentOutput,
21706
21710
  extensions
21707
21711
  });
21712
+ if (orchestrator.lastStdout) {
21713
+ void (0, executor_1.notifyValidatorOutputsToSlack)(orchestrator.lastStdout, result.usage.cost);
21714
+ }
21708
21715
  if (!store.isCompleted) {
21709
21716
  await codeGenerationService_12.codeGenerationService.updateTask(jobId, taskId, ditto_codegen_types_12.Status.COMPLETED, {});
21710
21717
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.402",
3
+ "version": "1.0.403",
4
4
  "description": "AI-powered Wix CLI app generator - standalone executable",
5
5
  "scripts": {
6
6
  "build": "node build.mjs",
@@ -29,5 +29,5 @@
29
29
  "esbuild": "^0.27.2",
30
30
  "vitest": "^4.0.16"
31
31
  },
32
- "falconPackageHash": "8556d9204c6f708d61f1eea28d679376b18a7da3a41be6f4bcfdbffe"
32
+ "falconPackageHash": "7f0093b69b369d12caebe68ad44ce1500915876dd072a15fd45e97aa"
33
33
  }