@integrity-labs/agt-cli 0.28.93 → 0.28.95
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/bin/agt.js +4 -4
- package/dist/{chunk-CSTDOXOK.js → chunk-JYSWJMXU.js} +2 -2
- package/dist/{chunk-W2VRPZ5M.js → chunk-QQYVNV5N.js} +11 -3
- package/dist/{chunk-W2VRPZ5M.js.map → chunk-QQYVNV5N.js.map} +1 -1
- package/dist/{chunk-GLBWCCZD.js → chunk-TRKWWYRN.js} +6 -2
- package/dist/chunk-TRKWWYRN.js.map +1 -0
- package/dist/{claude-pair-runtime-FA7DXRHH.js → claude-pair-runtime-DMC3ID2A.js} +2 -2
- package/dist/lib/manager-worker.js +23 -11
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-4HWN54DY.js → persistent-session-X62FQ2TN.js} +3 -3
- package/dist/{responsiveness-probe-C2N4UJSE.js → responsiveness-probe-PYEWQCIU.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-GLBWCCZD.js.map +0 -1
- /package/dist/{chunk-CSTDOXOK.js.map → chunk-JYSWJMXU.js.map} +0 -0
- /package/dist/{claude-pair-runtime-FA7DXRHH.js.map → claude-pair-runtime-DMC3ID2A.js.map} +0 -0
- /package/dist/{persistent-session-4HWN54DY.js.map → persistent-session-X62FQ2TN.js.map} +0 -0
- /package/dist/{responsiveness-probe-C2N4UJSE.js.map → responsiveness-probe-PYEWQCIU.js.map} +0 -0
|
@@ -977,6 +977,9 @@ var INITIAL_ONBOARDING_STATE = { step: "pending", completed: [] };
|
|
|
977
977
|
function withChannel(base, channel) {
|
|
978
978
|
return channel ? { ...base, channel } : base;
|
|
979
979
|
}
|
|
980
|
+
function withGeneration(base, generation) {
|
|
981
|
+
return generation === void 0 ? base : { ...base, generation };
|
|
982
|
+
}
|
|
980
983
|
var VALID_STEPS = /* @__PURE__ */ new Set(["pending", ...AREA_ORDER, "ready"]);
|
|
981
984
|
var LEGACY_STEP_REMAP = {
|
|
982
985
|
interviewing: "framing",
|
|
@@ -995,7 +998,8 @@ function coerceOnboardingState(raw) {
|
|
|
995
998
|
if (step === null)
|
|
996
999
|
return INITIAL_ONBOARDING_STATE;
|
|
997
1000
|
const completed = s.completed.filter((c) => typeof c === "string").map(remapStep).filter((c) => c !== null);
|
|
998
|
-
const
|
|
1001
|
+
const generation = typeof s.generation === "number" && Number.isFinite(s.generation) && s.generation >= 0 ? Math.floor(s.generation) : void 0;
|
|
1002
|
+
const out = withGeneration(withChannel({ step, completed }, coerceOnboardingChannel(s.channel)), generation);
|
|
999
1003
|
const enteredAt = typeof s.areaEnteredAt === "string" && s.areaEnteredAt ? s.areaEnteredAt : void 0;
|
|
1000
1004
|
return enteredAt && isOnboardingArea(step) ? { ...out, areaEnteredAt: enteredAt } : out;
|
|
1001
1005
|
}
|
|
@@ -5659,4 +5663,4 @@ export {
|
|
|
5659
5663
|
parseEnvIntegrations,
|
|
5660
5664
|
probeMcpEnvSubstitution
|
|
5661
5665
|
};
|
|
5662
|
-
//# sourceMappingURL=chunk-
|
|
5666
|
+
//# sourceMappingURL=chunk-TRKWWYRN.js.map
|