@algolia/wizard 0.106.0 → 0.107.0
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/main.js +5 -3
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -2469,7 +2469,7 @@ async function ensureApplication(resumeAppId) {
|
|
|
2469
2469
|
// package.json
|
|
2470
2470
|
var package_default = {
|
|
2471
2471
|
name: "@algolia/wizard",
|
|
2472
|
-
version: "0.
|
|
2472
|
+
version: "0.107.0",
|
|
2473
2473
|
description: "Magically implement Algolia functionality in your codebase",
|
|
2474
2474
|
type: "module",
|
|
2475
2475
|
engines: {
|
|
@@ -7496,6 +7496,7 @@ async function implement(ctx, useCases = DEFAULT_IMPLEMENT_USE_CASES) {
|
|
|
7496
7496
|
ingestCommand
|
|
7497
7497
|
)
|
|
7498
7498
|
});
|
|
7499
|
+
const ingestStartedAt = Date.now();
|
|
7499
7500
|
await runIngestionAgent();
|
|
7500
7501
|
let outcome = ingestOutcome(executions, repoRoot, ingestCommand);
|
|
7501
7502
|
let failureAcknowledged = false;
|
|
@@ -7593,7 +7594,7 @@ async function implement(ctx, useCases = DEFAULT_IMPLEMENT_USE_CASES) {
|
|
|
7593
7594
|
track("AI Wizard Ingest Successful", {
|
|
7594
7595
|
data_model,
|
|
7595
7596
|
record_count: ingestRecordCount,
|
|
7596
|
-
duration_ms:
|
|
7597
|
+
duration_ms: Date.now() - ingestStartedAt,
|
|
7597
7598
|
index_name: targetIndex,
|
|
7598
7599
|
record_schema: recordSchema(sample, confirmed2?.[0]?.attributes ?? []),
|
|
7599
7600
|
attempts: ingestRunAttempts
|
|
@@ -7633,6 +7634,7 @@ ${detail}` : ""}`
|
|
|
7633
7634
|
error_type: "Ingest Records",
|
|
7634
7635
|
product_area: "AI Wizard",
|
|
7635
7636
|
attempts: ingestRunAttempts,
|
|
7637
|
+
duration_ms: Date.now() - ingestStartedAt,
|
|
7636
7638
|
...ingestAttempt?.exitCode != null ? { error_code: String(ingestAttempt.exitCode) } : {}
|
|
7637
7639
|
});
|
|
7638
7640
|
}
|
|
@@ -10198,7 +10200,7 @@ async function resetProjectState() {
|
|
|
10198
10200
|
// package.json with { type: 'json' }
|
|
10199
10201
|
var package_default2 = {
|
|
10200
10202
|
name: "@algolia/wizard",
|
|
10201
|
-
version: "0.
|
|
10203
|
+
version: "0.107.0",
|
|
10202
10204
|
description: "Magically implement Algolia functionality in your codebase",
|
|
10203
10205
|
type: "module",
|
|
10204
10206
|
engines: {
|