atmn 1.1.6 → 1.1.7
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/cli.js +1 -13
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -47338,7 +47338,7 @@ var init_pull = __esm(() => {
|
|
|
47338
47338
|
});
|
|
47339
47339
|
|
|
47340
47340
|
// src/lib/version.ts
|
|
47341
|
-
var APP_VERSION = "1.1.
|
|
47341
|
+
var APP_VERSION = "1.1.7";
|
|
47342
47342
|
|
|
47343
47343
|
// ../../node_modules/.bun/@tanstack+query-core@5.90.20/node_modules/@tanstack/query-core/build/modern/subscribable.js
|
|
47344
47344
|
var Subscribable = class {
|
|
@@ -66443,11 +66443,6 @@ async function checkPlanForVersioning(plan, remotePlans, localFeatureIds, remote
|
|
|
66443
66443
|
const missingLocalFeatureIds = missingFeatureIds.filter((featureId) => localFeatureIds.has(featureId));
|
|
66444
66444
|
const missingUnknownFeatureIds = missingFeatureIds.filter((featureId) => !localFeatureIds.has(featureId));
|
|
66445
66445
|
if (missingLocalFeatureIds.length > 0) {
|
|
66446
|
-
if (missingUnknownFeatureIds.length > 0) {
|
|
66447
|
-
console.log(`[checkPlanForVersioning] plan=${plan.id} has mixed missing features. Local-first features: ${missingLocalFeatureIds.join(", ")}; missing unknown: ${missingUnknownFeatureIds.join(", ")}.`);
|
|
66448
|
-
} else {
|
|
66449
|
-
console.log(`[checkPlanForVersioning] plan=${plan.id} has local-only feature refs (${missingLocalFeatureIds.join(", ")}). Deferring versioning check until after feature upsert.`);
|
|
66450
|
-
}
|
|
66451
66446
|
return {
|
|
66452
66447
|
plan,
|
|
66453
66448
|
willVersion: false,
|
|
@@ -66474,13 +66469,6 @@ async function checkPlanForVersioning(plan, remotePlans, localFeatureIds, remote
|
|
|
66474
66469
|
const missingFeatureMatch = /Feature\s+["']?([a-zA-Z0-9_-]+)["']?\s+not\s+found/i.exec(responseMessage);
|
|
66475
66470
|
const missingFeature = response?.feature || response?.feature_id || missingFeatureMatch?.[1];
|
|
66476
66471
|
if (apiError.response?.code === "feature_not_found" || /Feature\s+["']?([a-zA-Z0-9_-]+)["']?\s+not\s+found/i.test(responseMessage)) {
|
|
66477
|
-
if (missingUnknownFeatureIds.length > 0) {
|
|
66478
|
-
console.log(`[checkPlanForVersioning] plan=${plan.id} failed versioning check: feature "${missingFeature || "unknown"}" not found and not in local config`);
|
|
66479
|
-
} else if (missingFeature) {
|
|
66480
|
-
console.log(`[checkPlanForVersioning] plan=${plan.id} deferring versioning check due feature_not_found for feature "${missingFeature}", will recheck after feature upsert`);
|
|
66481
|
-
} else {
|
|
66482
|
-
console.log(`[checkPlanForVersioning] plan=${plan.id} deferring versioning check due feature_not_found`);
|
|
66483
|
-
}
|
|
66484
66472
|
return {
|
|
66485
66473
|
plan,
|
|
66486
66474
|
willVersion: false,
|