@integrity-labs/agt-cli 0.28.457 → 0.28.459

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.
@@ -39886,6 +39886,16 @@ var UNKNOWN_RATE_LIMIT = Object.freeze({
39886
39886
  text: null
39887
39887
  });
39888
39888
 
39889
+ // ../core/dist/claude-code-usage/turn-failure-classifier.js
39890
+ var UNKNOWN_TURN_FAILURE = Object.freeze({
39891
+ outcome: "unknown",
39892
+ atMs: null,
39893
+ failureClass: null,
39894
+ httpStatus: null,
39895
+ attempt: null,
39896
+ maxAttempts: null
39897
+ });
39898
+
39889
39899
  // ../core/dist/kanban/state-machine.js
39890
39900
  var KANBAN_STATUSES = [
39891
39901
  "backlog",
@@ -40712,7 +40722,7 @@ var FLAG_REGISTRY = [
40712
40722
  },
40713
40723
  {
40714
40724
  key: "wedge-transient-notice",
40715
- description: 'When a wedge-respawn was preceded by a transient LLM-API error (529/429/503/500 that exhausted its retries and wedged the turn), the manager writes the ENG-6058 give-up signal tagged reason=transient_overload so the channel sweeps post a friendly "I hit a brief overload \u2014 please resend" notice instead of leaving the user in silence (ENG-7360, extends ENG-6861 to the retry-exhaustion + wedge path). Boolean gate; ships dark \u2014 channel-visible copy soaks per host before going wide.',
40725
+ description: `Tell the person waiting when their turn dies on a transient LLM-API failure (529 overloaded / 5xx). TWO consumers now share this gate. (1) ENG-7360: a wedge-respawn preceded by such an error writes the ENG-6058 give-up signal tagged reason=transient_overload so the channel sweeps post a "please resend" notice. (2) ENG-8269: the channel MCPs watch the dispatched turn in Claude Code's own transcript and notify the conversation that was actually waiting \u2014 Slack, Telegram AND direct chat \u2014 plus a "still working on this" notice after ~3min on Slack/Telegram only (direct chat already shows a client-side one at 90s). NOTE: (2) fires on a MUCH larger population than (1) \u2014 any dispatched turn that dies, not only one that also wedged the session \u2014 and (1) has never actually been able to fire, because its pane.log detector cannot match the banner Claude Code renders today. So flipping this on is in practice enabling (2) for the first time. Boolean gate; ships dark \u2014 channel-visible copy soaks per host before going wide. Materialized into the channel-MCP spawn env: a Docker-isolated agent never mounts the host flags-cache, so a central flip reaches it only that way.`,
40716
40726
  flagType: "boolean",
40717
40727
  defaultValue: false,
40718
40728
  envVar: "AGT_WEDGE_TRANSIENT_NOTICE_ENABLED"
@@ -41206,6 +41216,22 @@ var FLAG_REGISTRY = [
41206
41216
  // registry-only (ADR-0022). NOT `public`: it is resolved server-side only, so it
41207
41217
  // must never be serialized into the browser map.
41208
41218
  defaultValue: false
41219
+ },
41220
+ {
41221
+ key: "ninjafy-brand",
41222
+ description: 'Present the product under the Ninjafy brand instead of Augmented Team (ENG-8250). This is the UMBRELLA brand gate, not a one-off nav toggle: every subsequent rebrand surface (page titles, email templates, marketing-facing copy) reads THIS key rather than adding its own flag, so the whole rebrand keeps a single kill switch. First surface is the left-hand nav wordmark \u2014 ON replaces the human+robot mark and the "augmented.team" text with italic lowercase "ninjafy"; OFF renders exactly what shipped before. Scope is USER-FACING BRAND TEXT ONLY: it must never gate a code identifier, package name, env var or CLI name, which stay `Augmented`/`agt` per the CLAUDE.md naming contract (the deep code rename is workstream C of docs/runbooks/rebrand-ninjafy-migration.md and is out of scope here). Set the stage-wide default to flip a whole environment, or add a feature_flag_overrides row to pilot one organization while every other org still sees Augmented. Ships dark.',
41223
+ flagType: "boolean",
41224
+ // Declared safe value is `false`: the pre-rebrand brand. `false` is also the
41225
+ // fail-closed direction — if the flag DB is unreachable we must show the brand
41226
+ // that is currently live and contractually correct, never leak an unannounced
41227
+ // rebrand to every customer at once.
41228
+ defaultValue: false,
41229
+ // Read CLIENT-SIDE: sidebar.tsx is a "use client" component and resolves this
41230
+ // via usePublicBooleanFlag, so the key must be in the browser-exposed public
41231
+ // map. Unlike onboarding-msteams-channel above there is no wrong-org hazard —
41232
+ // the sidebar renders inside the active-org cookie's scope, which is exactly
41233
+ // the org whose brand should be shown.
41234
+ public: true
41209
41235
  }
41210
41236
  ];
41211
41237
  var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));