@integrity-labs/agt-cli 0.28.1306 → 0.28.1308
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/{api-client-W53BBB2B.js → api-client-QHGAABOL.js} +3 -3
- package/dist/bin/agt.js +7 -7
- package/dist/{chunk-K5SXTDKK.js → chunk-GZT7DHPV.js} +3 -3
- package/dist/{chunk-7V53KRPM.js → chunk-HMH4EOV5.js} +5 -5
- package/dist/{chunk-I6HGFJNX.js → chunk-JZOA4A3J.js} +2 -2
- package/dist/{chunk-GLX5CD6S.js → chunk-NXTNYNNV.js} +2 -2
- package/dist/{chunk-PT3QK5ZP.js → chunk-VSJUMNQ5.js} +115 -13
- package/dist/chunk-VSJUMNQ5.js.map +1 -0
- package/dist/{chunk-4KSUIAI4.js → chunk-WW2CTOEO.js} +9 -73
- package/dist/chunk-WW2CTOEO.js.map +1 -0
- package/dist/{claude-code-updater-KA4VMUWK.js → claude-code-updater-OU4AEM5Y.js} +3 -3
- package/dist/{claude-pair-runtime-MC3K2BXU.js → claude-pair-runtime-H7A7ZOEW.js} +3 -3
- package/dist/lib/manager-worker.js +674 -223
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +8 -72
- package/dist/mcp/index.js +18 -73
- package/dist/mcp/origami.js +8 -72
- package/dist/mcp/slack-channel.js +111 -180
- package/dist/mcp/telegram-channel.js +8 -72
- package/dist/{persistent-session-ZC4XAUTS.js → persistent-session-OUCTECWP.js} +20 -4
- package/dist/{responsiveness-probe-TA47HG3A.js → responsiveness-probe-SC72APRB.js} +4 -4
- package/dist/{session-auth-dead-MDZWPSED.js → session-auth-dead-MQR2SLW5.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-4KSUIAI4.js.map +0 -1
- package/dist/chunk-PT3QK5ZP.js.map +0 -1
- /package/dist/{api-client-W53BBB2B.js.map → api-client-QHGAABOL.js.map} +0 -0
- /package/dist/{chunk-K5SXTDKK.js.map → chunk-GZT7DHPV.js.map} +0 -0
- /package/dist/{chunk-7V53KRPM.js.map → chunk-HMH4EOV5.js.map} +0 -0
- /package/dist/{chunk-I6HGFJNX.js.map → chunk-JZOA4A3J.js.map} +0 -0
- /package/dist/{chunk-GLX5CD6S.js.map → chunk-NXTNYNNV.js.map} +0 -0
- /package/dist/{claude-code-updater-KA4VMUWK.js.map → claude-code-updater-OU4AEM5Y.js.map} +0 -0
- /package/dist/{claude-pair-runtime-MC3K2BXU.js.map → claude-pair-runtime-H7A7ZOEW.js.map} +0 -0
- /package/dist/{persistent-session-ZC4XAUTS.js.map → persistent-session-OUCTECWP.js.map} +0 -0
- /package/dist/{responsiveness-probe-TA47HG3A.js.map → responsiveness-probe-SC72APRB.js.map} +0 -0
- /package/dist/{session-auth-dead-MDZWPSED.js.map → session-auth-dead-MQR2SLW5.js.map} +0 -0
|
@@ -46177,6 +46177,14 @@ var GROK_VOICE_OPTIONS = [
|
|
|
46177
46177
|
...GROK_VOICE_ADDED_2026_07
|
|
46178
46178
|
];
|
|
46179
46179
|
|
|
46180
|
+
// ../core/dist/slack-mrkdwn.js
|
|
46181
|
+
var TARGET = String.raw`(<[^<>]*>|[^()\s]+(?:\([^()\s]*\)[^()\s]*)*)`;
|
|
46182
|
+
var TITLE = String.raw`(?:\s+"[^"]*")?`;
|
|
46183
|
+
var WHOLE_LINE_BLANK_IMAGE = new RegExp(String.raw`^[ \t]*!\[[ \t]*\]\(\s*${TARGET}${TITLE}\s*\)[ \t]*\r?\n?`, "gm");
|
|
46184
|
+
var INLINE_BLANK_IMAGE = new RegExp(String.raw`!\[[ \t]*\]\(\s*${TARGET}${TITLE}\s*\)[ \t]*`, "g");
|
|
46185
|
+
var IMAGE = new RegExp(String.raw`!\[([^\]]*)\]\(\s*${TARGET}${TITLE}\s*\)`, "g");
|
|
46186
|
+
var LINK = new RegExp(String.raw`(?<!!)\[([^\]]*)\]\(\s*${TARGET}${TITLE}\s*\)`, "g");
|
|
46187
|
+
|
|
46180
46188
|
// ../core/dist/scheduled-tasks/prompt-wrapper.js
|
|
46181
46189
|
var PREAMBLE_HEAD = [
|
|
46182
46190
|
"[SCHEDULED TASK \u2014 EXECUTION MODE]",
|
|
@@ -49880,78 +49888,6 @@ var FLAG_REGISTRY = [
|
|
|
49880
49888
|
// must never be serialized into the browser map.
|
|
49881
49889
|
defaultValue: false
|
|
49882
49890
|
},
|
|
49883
|
-
{
|
|
49884
|
-
key: "agent-unified-screen",
|
|
49885
|
-
description: 'Unified agent screen redesign (ENG-8478 epic / ENG-8480). When ON, the webapp renders the new single-screen "viewing is editing" agent surface (stripped-back hero, working agent switcher, inline-editable profile, embedded operational panels + a live direct-chat drawer) in place of the separate agent view/edit pages; when OFF, the current view/edit pages are unchanged. Additive UI gate \u2014 no data-model change: each panel reads the same existing endpoints the current pages use. Composes independently with app-top-nav-shell (the two flags are reconciled in ENG-8488). NO LONGER DARK: ENG-9832 cutover step 1 flipped the default to true, so an org with no override now gets the unified screen. The key survives only until cutover step 2 deletes it \u2014 which is blocked on ENG-8547 and ENG-8559, because the flag-off branch is still the only home for the /edit tabs.',
|
|
49886
|
-
flagType: "boolean",
|
|
49887
|
-
// ENG-9832 (cutover step 1): flipped `false` -> `true`. The comment this
|
|
49888
|
-
// replaces called `false` the safe direction — "the current view/edit
|
|
49889
|
-
// pages", never "a half-built redesign". That was true while the redesign
|
|
49890
|
-
// was half built. It has been the shipped surface for the pilot orgs since
|
|
49891
|
-
// ENG-8481, so `false` now points at the pages being retired, not at safety.
|
|
49892
|
-
// The old rationale is recorded rather than deleted because it was correct
|
|
49893
|
-
// under a premise that has since expired.
|
|
49894
|
-
//
|
|
49895
|
-
// MIND THE SPLIT. This value is consulted by the API evaluator when it
|
|
49896
|
-
// builds the `GET /flags` map for an org with NO override. It is NOT the
|
|
49897
|
-
// fallback the webapp uses when that fetch fails: `getPublicBooleanFlagServer`
|
|
49898
|
-
// and `usePublicBooleanFlag` both return the argument passed at the CALL
|
|
49899
|
-
// SITE and never consult this registry. Three call sites carry `true` to
|
|
49900
|
-
// match — agents/[agentId]/page.tsx, agents/[agentId]/edit/page.tsx and
|
|
49901
|
-
// `useAgentUnifiedScreenEnabled` in lib/redesign-flags.ts. Flipping the
|
|
49902
|
-
// registry alone leaves the cutover half-applied with no error anywhere;
|
|
49903
|
-
// eng-9832-unified-fallback-parity.test.ts fails if any of the three drifts.
|
|
49904
|
-
defaultValue: true,
|
|
49905
|
-
// Read BOTH server-side (agents/[agentId]/page.tsx and its /edit sibling, via
|
|
49906
|
-
// getPublicBooleanFlagServer) and client-side (dashboard-sherlock-shell.tsx,
|
|
49907
|
-
// via usePublicBooleanFlag), so the key must be in the browser-exposed public
|
|
49908
|
-
// map. Additive viewer gate, resolved within the active-org cookie's scope
|
|
49909
|
-
// — not sensitive.
|
|
49910
|
-
//
|
|
49911
|
-
// `public` MUST STAY until step 2 deletes the key, and the reason reads
|
|
49912
|
-
// backwards: the server helper resolves against the very SAME public-filtered
|
|
49913
|
-
// `GET /flags` the browser uses (routes/flags.ts filters to
|
|
49914
|
-
// listPublicFlagKeys()). Drop `public` and the key is simply absent from the
|
|
49915
|
-
// map, so both server readers fall through to their call-site argument
|
|
49916
|
-
// forever — silently, with no error raised anywhere.
|
|
49917
|
-
public: true
|
|
49918
|
-
},
|
|
49919
|
-
{
|
|
49920
|
-
key: "app-top-nav-shell",
|
|
49921
|
-
description: "Global top-navigation shell redesign (ENG-8478 epic / ENG-8486). When ON, the dashboard chrome replaces the left sidebar with a top navigation bar (team switcher \xB7 destinations \xB7 command palette + account) so the left side is free for an agent-scoped rail; when OFF, the existing left sidebar is unchanged. Additive layout gate \u2014 no data-model change. Composes independently with agent-unified-screen (the two flags are reconciled in ENG-8488). NO LONGER DARK: ENG-9831 cutover step 1 flipped the default to true, so an org with no override now gets the top-nav shell. The key survives only until cutover step 2 deletes it.",
|
|
49922
|
-
flagType: "boolean",
|
|
49923
|
-
// ENG-9831 (cutover step 1): flipped `false` -> `true`. The comment this
|
|
49924
|
-
// replaces called `false` the fail-closed direction — "the shell that ships
|
|
49925
|
-
// today". That was true while the sidebar was the shell that shipped; the
|
|
49926
|
-
// top nav is now the one being cut over to, so `false` points at the layout
|
|
49927
|
-
// being retired. The old rationale is recorded rather than deleted because
|
|
49928
|
-
// it was correct under a premise that has expired.
|
|
49929
|
-
//
|
|
49930
|
-
// NOTE the same split as ninjafy-brand below: this value is consulted by the
|
|
49931
|
-
// API evaluator when building the `GET /flags` map for an org with no
|
|
49932
|
-
// override. It is NOT the fallback the webapp uses on an outage — that is
|
|
49933
|
-
// the argument passed at the call site. Four call sites carry `true` to
|
|
49934
|
-
// match: (dashboard)/layout.tsx and the three legacy redirect hubs
|
|
49935
|
-
// (settings, team, organization/settings). Flipping the registry alone
|
|
49936
|
-
// leaves the cutover half-applied.
|
|
49937
|
-
defaultValue: true,
|
|
49938
|
-
// ENG-9831: NO LONGER read client-side. It was — via usePublicBooleanFlag in
|
|
49939
|
-
// sidebar.tsx (twice) and top-nav.tsx — and that is precisely what this
|
|
49940
|
-
// slice removed: a client hook starts at its default and corrects after an
|
|
49941
|
-
// async GET /flags, so the console painted the sidebar and then replaced the
|
|
49942
|
-
// WHOLE dashboard chrome after hydration. The ENG-8858/ENG-9227 flash at
|
|
49943
|
-
// layout scale. It is now resolved once server-side in (dashboard)/
|
|
49944
|
-
// layout.tsx and passed to both shells as a required prop.
|
|
49945
|
-
//
|
|
49946
|
-
// `public` MUST STAY ANYWAY — the same trap documented on ninjafy-brand.
|
|
49947
|
-
// getPublicBooleanFlagServer resolves against the very same public-filtered
|
|
49948
|
-
// `GET /flags` the browser uses (routes/flags.ts filters to
|
|
49949
|
-
// listPublicFlagKeys()). Drop `public` and the key is simply absent from the
|
|
49950
|
-
// map, the server helper falls through to its default forever, and every org
|
|
49951
|
-
// silently gets whatever that default happens to be with no error anywhere.
|
|
49952
|
-
// `public` means "readable through the public map", not "read by a browser".
|
|
49953
|
-
public: true
|
|
49954
|
-
},
|
|
49955
49891
|
{
|
|
49956
49892
|
key: "ninjafy-brand",
|
|
49957
49893
|
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 the USER-FACING BRAND PRESENTATION \u2014 text AND VISUAL THEME. ENG-8858 widened this from text alone: the Ninjafy palette is gated here too, because a colour theme is not text. It stays ONE key rather than gaining a `ninjafy-theme` sibling, so a half-branded state \u2014 ninjafy wordmark over Augmented green \u2014 is unreachable and the rebrand keeps a single kill switch. It must never gate a code identifier, package name, env var or CLI name. EXISTING identifiers stay `Augmented`/`agt` per the CLAUDE.md naming contract, which protects them from premature renaming \u2014 the deep rename is workstream C of docs/runbooks/rebrand-ninjafy-migration.md and is out of scope here. That contract does NOT require NEW code to carry the old brand: artefacts created specifically for the rebrand take Ninjafy naming (ENG-8078 decision 9; see the CLAUDE.md rebrand carve-out). Either way it is a naming rule, not a flag concern \u2014 this key gates presentation, never an identifier. Set the stage-wide default to flip a whole environment, or add a feature_flag_overrides row to pilot a subset while everyone else still sees Augmented. Overrides resolve at FOUR grains, most specific first \u2014 agent, team, host, then org-wide (evaluate.ts:79-81); organization_id is always required, so there is no global override. Org and team are the useful pilot grains for THIS flag: there is now exactly ONE consumer \u2014 (dashboard)/layout.tsx via getPublicBooleanFlagServer \u2014 evaluating in the active-org cookie scope, so a host- or agent-scoped row is accepted by the table but never reached by the console. It resolves the key ONCE per request and passes the boolean down to sidebar.tsx and top-nav.tsx as a required prop. Resolution is SERVER-side deliberately: the client hook starts at its default and updates after an async GET /flags, so anything gated on it paints Augmented and then repaints. ENG-8858 moved the PALETTE for that reason (a full-page colour flash); ENG-9227 moved the WORDMARK, which had been the last surface still swapping after hydration. A consequence worth knowing: /login and the marketing routes stay on the Augmented palette whatever an org sets, because fetchPublicFlags returns null without a verified session and a pre-auth page has neither a session nor an active org \u2014 a PER-ORG flag structurally cannot brand one. ENG-9830 CORRECTS what used to be written here ("those surfaces follow only when the stage-wide default flips"): they do not follow it at all. Two reasons. The value returned on a null fetch is the CALL SITE\u2019s passed argument, not this registry default; and six such pages (/login, /reset-password, /auth/confirm, the pre-redeem member-signin gate and the two public Slack-install terminal pages) do not mount <BrandStamp/> AT ALL \u2014 deliberately, enumerated with per-page reasons in eng-9266-brand-stamp-coverage.test.ts. They become branded when the flag is REMOVED at cutover step 2 and the palette moves into bare :root, with no read left to gate it. NO LONGER DARK: ENG-9830 cutover step 1 flipped the default to true, so an org with no override now sees Ninjafy. The key survives only until cutover step 2 deletes it.',
|
package/dist/mcp/index.js
CHANGED
|
@@ -29436,6 +29436,14 @@ function describeCronCoverage(expression, timezone, at = /* @__PURE__ */ new Dat
|
|
|
29436
29436
|
return `Coverage: this schedule ${local}${utc} \u2014 a ${formatGapPhrase(cov.largestGapMinutes)}${cadence}${days}. If it is a DETECTOR, that window is blind; if it is a notification, that is probably intended.`;
|
|
29437
29437
|
}
|
|
29438
29438
|
|
|
29439
|
+
// ../core/dist/slack-mrkdwn.js
|
|
29440
|
+
var TARGET = String.raw`(<[^<>]*>|[^()\s]+(?:\([^()\s]*\)[^()\s]*)*)`;
|
|
29441
|
+
var TITLE = String.raw`(?:\s+"[^"]*")?`;
|
|
29442
|
+
var WHOLE_LINE_BLANK_IMAGE = new RegExp(String.raw`^[ \t]*!\[[ \t]*\]\(\s*${TARGET}${TITLE}\s*\)[ \t]*\r?\n?`, "gm");
|
|
29443
|
+
var INLINE_BLANK_IMAGE = new RegExp(String.raw`!\[[ \t]*\]\(\s*${TARGET}${TITLE}\s*\)[ \t]*`, "g");
|
|
29444
|
+
var IMAGE = new RegExp(String.raw`!\[([^\]]*)\]\(\s*${TARGET}${TITLE}\s*\)`, "g");
|
|
29445
|
+
var LINK = new RegExp(String.raw`(?<!!)\[([^\]]*)\]\(\s*${TARGET}${TITLE}\s*\)`, "g");
|
|
29446
|
+
|
|
29439
29447
|
// ../core/dist/scheduled-tasks/prompt-wrapper.js
|
|
29440
29448
|
var PREAMBLE_HEAD = [
|
|
29441
29449
|
"[SCHEDULED TASK \u2014 EXECUTION MODE]",
|
|
@@ -32806,78 +32814,6 @@ var FLAG_REGISTRY = [
|
|
|
32806
32814
|
// must never be serialized into the browser map.
|
|
32807
32815
|
defaultValue: false
|
|
32808
32816
|
},
|
|
32809
|
-
{
|
|
32810
|
-
key: "agent-unified-screen",
|
|
32811
|
-
description: 'Unified agent screen redesign (ENG-8478 epic / ENG-8480). When ON, the webapp renders the new single-screen "viewing is editing" agent surface (stripped-back hero, working agent switcher, inline-editable profile, embedded operational panels + a live direct-chat drawer) in place of the separate agent view/edit pages; when OFF, the current view/edit pages are unchanged. Additive UI gate \u2014 no data-model change: each panel reads the same existing endpoints the current pages use. Composes independently with app-top-nav-shell (the two flags are reconciled in ENG-8488). NO LONGER DARK: ENG-9832 cutover step 1 flipped the default to true, so an org with no override now gets the unified screen. The key survives only until cutover step 2 deletes it \u2014 which is blocked on ENG-8547 and ENG-8559, because the flag-off branch is still the only home for the /edit tabs.',
|
|
32812
|
-
flagType: "boolean",
|
|
32813
|
-
// ENG-9832 (cutover step 1): flipped `false` -> `true`. The comment this
|
|
32814
|
-
// replaces called `false` the safe direction — "the current view/edit
|
|
32815
|
-
// pages", never "a half-built redesign". That was true while the redesign
|
|
32816
|
-
// was half built. It has been the shipped surface for the pilot orgs since
|
|
32817
|
-
// ENG-8481, so `false` now points at the pages being retired, not at safety.
|
|
32818
|
-
// The old rationale is recorded rather than deleted because it was correct
|
|
32819
|
-
// under a premise that has since expired.
|
|
32820
|
-
//
|
|
32821
|
-
// MIND THE SPLIT. This value is consulted by the API evaluator when it
|
|
32822
|
-
// builds the `GET /flags` map for an org with NO override. It is NOT the
|
|
32823
|
-
// fallback the webapp uses when that fetch fails: `getPublicBooleanFlagServer`
|
|
32824
|
-
// and `usePublicBooleanFlag` both return the argument passed at the CALL
|
|
32825
|
-
// SITE and never consult this registry. Three call sites carry `true` to
|
|
32826
|
-
// match — agents/[agentId]/page.tsx, agents/[agentId]/edit/page.tsx and
|
|
32827
|
-
// `useAgentUnifiedScreenEnabled` in lib/redesign-flags.ts. Flipping the
|
|
32828
|
-
// registry alone leaves the cutover half-applied with no error anywhere;
|
|
32829
|
-
// eng-9832-unified-fallback-parity.test.ts fails if any of the three drifts.
|
|
32830
|
-
defaultValue: true,
|
|
32831
|
-
// Read BOTH server-side (agents/[agentId]/page.tsx and its /edit sibling, via
|
|
32832
|
-
// getPublicBooleanFlagServer) and client-side (dashboard-sherlock-shell.tsx,
|
|
32833
|
-
// via usePublicBooleanFlag), so the key must be in the browser-exposed public
|
|
32834
|
-
// map. Additive viewer gate, resolved within the active-org cookie's scope
|
|
32835
|
-
// — not sensitive.
|
|
32836
|
-
//
|
|
32837
|
-
// `public` MUST STAY until step 2 deletes the key, and the reason reads
|
|
32838
|
-
// backwards: the server helper resolves against the very SAME public-filtered
|
|
32839
|
-
// `GET /flags` the browser uses (routes/flags.ts filters to
|
|
32840
|
-
// listPublicFlagKeys()). Drop `public` and the key is simply absent from the
|
|
32841
|
-
// map, so both server readers fall through to their call-site argument
|
|
32842
|
-
// forever — silently, with no error raised anywhere.
|
|
32843
|
-
public: true
|
|
32844
|
-
},
|
|
32845
|
-
{
|
|
32846
|
-
key: "app-top-nav-shell",
|
|
32847
|
-
description: "Global top-navigation shell redesign (ENG-8478 epic / ENG-8486). When ON, the dashboard chrome replaces the left sidebar with a top navigation bar (team switcher \xB7 destinations \xB7 command palette + account) so the left side is free for an agent-scoped rail; when OFF, the existing left sidebar is unchanged. Additive layout gate \u2014 no data-model change. Composes independently with agent-unified-screen (the two flags are reconciled in ENG-8488). NO LONGER DARK: ENG-9831 cutover step 1 flipped the default to true, so an org with no override now gets the top-nav shell. The key survives only until cutover step 2 deletes it.",
|
|
32848
|
-
flagType: "boolean",
|
|
32849
|
-
// ENG-9831 (cutover step 1): flipped `false` -> `true`. The comment this
|
|
32850
|
-
// replaces called `false` the fail-closed direction — "the shell that ships
|
|
32851
|
-
// today". That was true while the sidebar was the shell that shipped; the
|
|
32852
|
-
// top nav is now the one being cut over to, so `false` points at the layout
|
|
32853
|
-
// being retired. The old rationale is recorded rather than deleted because
|
|
32854
|
-
// it was correct under a premise that has expired.
|
|
32855
|
-
//
|
|
32856
|
-
// NOTE the same split as ninjafy-brand below: this value is consulted by the
|
|
32857
|
-
// API evaluator when building the `GET /flags` map for an org with no
|
|
32858
|
-
// override. It is NOT the fallback the webapp uses on an outage — that is
|
|
32859
|
-
// the argument passed at the call site. Four call sites carry `true` to
|
|
32860
|
-
// match: (dashboard)/layout.tsx and the three legacy redirect hubs
|
|
32861
|
-
// (settings, team, organization/settings). Flipping the registry alone
|
|
32862
|
-
// leaves the cutover half-applied.
|
|
32863
|
-
defaultValue: true,
|
|
32864
|
-
// ENG-9831: NO LONGER read client-side. It was — via usePublicBooleanFlag in
|
|
32865
|
-
// sidebar.tsx (twice) and top-nav.tsx — and that is precisely what this
|
|
32866
|
-
// slice removed: a client hook starts at its default and corrects after an
|
|
32867
|
-
// async GET /flags, so the console painted the sidebar and then replaced the
|
|
32868
|
-
// WHOLE dashboard chrome after hydration. The ENG-8858/ENG-9227 flash at
|
|
32869
|
-
// layout scale. It is now resolved once server-side in (dashboard)/
|
|
32870
|
-
// layout.tsx and passed to both shells as a required prop.
|
|
32871
|
-
//
|
|
32872
|
-
// `public` MUST STAY ANYWAY — the same trap documented on ninjafy-brand.
|
|
32873
|
-
// getPublicBooleanFlagServer resolves against the very same public-filtered
|
|
32874
|
-
// `GET /flags` the browser uses (routes/flags.ts filters to
|
|
32875
|
-
// listPublicFlagKeys()). Drop `public` and the key is simply absent from the
|
|
32876
|
-
// map, the server helper falls through to its default forever, and every org
|
|
32877
|
-
// silently gets whatever that default happens to be with no error anywhere.
|
|
32878
|
-
// `public` means "readable through the public map", not "read by a browser".
|
|
32879
|
-
public: true
|
|
32880
|
-
},
|
|
32881
32817
|
{
|
|
32882
32818
|
key: "ninjafy-brand",
|
|
32883
32819
|
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 the USER-FACING BRAND PRESENTATION \u2014 text AND VISUAL THEME. ENG-8858 widened this from text alone: the Ninjafy palette is gated here too, because a colour theme is not text. It stays ONE key rather than gaining a `ninjafy-theme` sibling, so a half-branded state \u2014 ninjafy wordmark over Augmented green \u2014 is unreachable and the rebrand keeps a single kill switch. It must never gate a code identifier, package name, env var or CLI name. EXISTING identifiers stay `Augmented`/`agt` per the CLAUDE.md naming contract, which protects them from premature renaming \u2014 the deep rename is workstream C of docs/runbooks/rebrand-ninjafy-migration.md and is out of scope here. That contract does NOT require NEW code to carry the old brand: artefacts created specifically for the rebrand take Ninjafy naming (ENG-8078 decision 9; see the CLAUDE.md rebrand carve-out). Either way it is a naming rule, not a flag concern \u2014 this key gates presentation, never an identifier. Set the stage-wide default to flip a whole environment, or add a feature_flag_overrides row to pilot a subset while everyone else still sees Augmented. Overrides resolve at FOUR grains, most specific first \u2014 agent, team, host, then org-wide (evaluate.ts:79-81); organization_id is always required, so there is no global override. Org and team are the useful pilot grains for THIS flag: there is now exactly ONE consumer \u2014 (dashboard)/layout.tsx via getPublicBooleanFlagServer \u2014 evaluating in the active-org cookie scope, so a host- or agent-scoped row is accepted by the table but never reached by the console. It resolves the key ONCE per request and passes the boolean down to sidebar.tsx and top-nav.tsx as a required prop. Resolution is SERVER-side deliberately: the client hook starts at its default and updates after an async GET /flags, so anything gated on it paints Augmented and then repaints. ENG-8858 moved the PALETTE for that reason (a full-page colour flash); ENG-9227 moved the WORDMARK, which had been the last surface still swapping after hydration. A consequence worth knowing: /login and the marketing routes stay on the Augmented palette whatever an org sets, because fetchPublicFlags returns null without a verified session and a pre-auth page has neither a session nor an active org \u2014 a PER-ORG flag structurally cannot brand one. ENG-9830 CORRECTS what used to be written here ("those surfaces follow only when the stage-wide default flips"): they do not follow it at all. Two reasons. The value returned on a null fetch is the CALL SITE\u2019s passed argument, not this registry default; and six such pages (/login, /reset-password, /auth/confirm, the pre-redeem member-signin gate and the two public Slack-install terminal pages) do not mount <BrandStamp/> AT ALL \u2014 deliberately, enumerated with per-page reasons in eng-9266-brand-stamp-coverage.test.ts. They become branded when the flag is REMOVED at cutover step 2 and the palette moves into bare :root, with no read left to gate it. NO LONGER DARK: ENG-9830 cutover step 1 flipped the default to true, so an org with no override now sees Ninjafy. The key survives only until cutover step 2 deletes it.',
|
|
@@ -65872,6 +65808,15 @@ function buildKanbanAddItem(params) {
|
|
|
65872
65808
|
source_url: params.source_url,
|
|
65873
65809
|
deliver_to: params.deliver_to,
|
|
65874
65810
|
no_channel_origin: params.no_channel_origin,
|
|
65811
|
+
// CS-2674 (Sherlock's option A): the AGENT's no_channel_origin also means
|
|
65812
|
+
// "report to nobody". The platform callers (`agt kanban add`, the manager's
|
|
65813
|
+
// plan-item poster) send the same flag to the same route meaning only "don't
|
|
65814
|
+
// attach to the fresh inbound", and must keep reaching the manager. The
|
|
65815
|
+
// routes are shared and no header tells them apart, so this marker is what
|
|
65816
|
+
// the server keys the silence on. It rides only with the flag, so an older
|
|
65817
|
+
// MCP that predates it degrades to the pre-CS-2674 behaviour (delivered),
|
|
65818
|
+
// never to a platform card going silent.
|
|
65819
|
+
...params.no_channel_origin === true ? { report_to_nobody: true } : {},
|
|
65875
65820
|
project_id: params.project_id
|
|
65876
65821
|
};
|
|
65877
65822
|
}
|
|
@@ -66473,7 +66418,7 @@ server.tool(
|
|
|
66473
66418
|
'Optional: the Slack user id of the person who asked for this (the requester), so you can notify/deliver to them when the task needs their input or is done. If omitted on a card that came FROM a conversation, it defaults to the person you are talking to. It never defaults for a card created with no_channel_origin: true. Pass the literal "none" to track the work without notifying the requester: no progress card is posted into the conversation and no completion card, result DM or waiting-on prompt is sent to them (reply to the person yourself when you have something for them). Operational escalation still happens: if the result cannot be delivered at all, the dead-letter path can notify the manager or team admins of the agent. Cannot be combined with notify_channel/notify_to.'
|
|
66474
66419
|
),
|
|
66475
66420
|
no_channel_origin: external_exports.boolean().optional().describe(
|
|
66476
|
-
"Set true when this card did NOT come from a message someone sent you: work you started yourself, a scheduled/routine run, follow-up you decided to do, anything not answering a specific conversation. Without it, a card created shortly after any inbound message is attached to THAT conversation - its progress card posts into that person's thread and its result is addressed to them, even if the work has nothing to do with them. Leave it unset for a card that IS the answer to the message you are handling."
|
|
66421
|
+
"Set true when this card did NOT come from a message someone sent you: work you started yourself, a scheduled/routine run, follow-up you decided to do, anything not answering a specific conversation. Without it, a card created shortly after any inbound message is attached to THAT conversation - its progress card posts into that person's thread and its result is addressed to them, even if the work has nothing to do with them. Leave it unset for a card that IS the answer to the message you are handling. With no deliver_to (and no notify_channel/notify_to), a no_channel_origin card notifies NOBODY on completion - not a conversation, not your manager. This suppresses completion and result delivery only: if the card gets stuck (retried and parked for a human), the stalled-card alarm still tells your manager or team admins that it has stopped, by design, so a wedged agent is never hidden. That alarm names the card and says it is stuck; it never carries your notes or result. To have its result delivered to someone, name them with deliver_to."
|
|
66477
66422
|
),
|
|
66478
66423
|
project_id: external_exports.string().uuid().optional().describe(
|
|
66479
66424
|
"Optional project to file this task under (id from projects_list). Groups the task with related tasks/artefacts across agents. Reuse an existing project where one fits; use projects_create only after checking projects_list and confirming with the human."
|
package/dist/mcp/origami.js
CHANGED
|
@@ -39089,6 +39089,14 @@ var GROK_VOICE_OPTIONS = [
|
|
|
39089
39089
|
...GROK_VOICE_ADDED_2026_07
|
|
39090
39090
|
];
|
|
39091
39091
|
|
|
39092
|
+
// ../core/dist/slack-mrkdwn.js
|
|
39093
|
+
var TARGET = String.raw`(<[^<>]*>|[^()\s]+(?:\([^()\s]*\)[^()\s]*)*)`;
|
|
39094
|
+
var TITLE = String.raw`(?:\s+"[^"]*")?`;
|
|
39095
|
+
var WHOLE_LINE_BLANK_IMAGE = new RegExp(String.raw`^[ \t]*!\[[ \t]*\]\(\s*${TARGET}${TITLE}\s*\)[ \t]*\r?\n?`, "gm");
|
|
39096
|
+
var INLINE_BLANK_IMAGE = new RegExp(String.raw`!\[[ \t]*\]\(\s*${TARGET}${TITLE}\s*\)[ \t]*`, "g");
|
|
39097
|
+
var IMAGE = new RegExp(String.raw`!\[([^\]]*)\]\(\s*${TARGET}${TITLE}\s*\)`, "g");
|
|
39098
|
+
var LINK = new RegExp(String.raw`(?<!!)\[([^\]]*)\]\(\s*${TARGET}${TITLE}\s*\)`, "g");
|
|
39099
|
+
|
|
39092
39100
|
// ../core/dist/scheduled-tasks/prompt-wrapper.js
|
|
39093
39101
|
var PREAMBLE_HEAD = [
|
|
39094
39102
|
"[SCHEDULED TASK \u2014 EXECUTION MODE]",
|
|
@@ -42382,78 +42390,6 @@ var FLAG_REGISTRY = [
|
|
|
42382
42390
|
// must never be serialized into the browser map.
|
|
42383
42391
|
defaultValue: false
|
|
42384
42392
|
},
|
|
42385
|
-
{
|
|
42386
|
-
key: "agent-unified-screen",
|
|
42387
|
-
description: 'Unified agent screen redesign (ENG-8478 epic / ENG-8480). When ON, the webapp renders the new single-screen "viewing is editing" agent surface (stripped-back hero, working agent switcher, inline-editable profile, embedded operational panels + a live direct-chat drawer) in place of the separate agent view/edit pages; when OFF, the current view/edit pages are unchanged. Additive UI gate \u2014 no data-model change: each panel reads the same existing endpoints the current pages use. Composes independently with app-top-nav-shell (the two flags are reconciled in ENG-8488). NO LONGER DARK: ENG-9832 cutover step 1 flipped the default to true, so an org with no override now gets the unified screen. The key survives only until cutover step 2 deletes it \u2014 which is blocked on ENG-8547 and ENG-8559, because the flag-off branch is still the only home for the /edit tabs.',
|
|
42388
|
-
flagType: "boolean",
|
|
42389
|
-
// ENG-9832 (cutover step 1): flipped `false` -> `true`. The comment this
|
|
42390
|
-
// replaces called `false` the safe direction — "the current view/edit
|
|
42391
|
-
// pages", never "a half-built redesign". That was true while the redesign
|
|
42392
|
-
// was half built. It has been the shipped surface for the pilot orgs since
|
|
42393
|
-
// ENG-8481, so `false` now points at the pages being retired, not at safety.
|
|
42394
|
-
// The old rationale is recorded rather than deleted because it was correct
|
|
42395
|
-
// under a premise that has since expired.
|
|
42396
|
-
//
|
|
42397
|
-
// MIND THE SPLIT. This value is consulted by the API evaluator when it
|
|
42398
|
-
// builds the `GET /flags` map for an org with NO override. It is NOT the
|
|
42399
|
-
// fallback the webapp uses when that fetch fails: `getPublicBooleanFlagServer`
|
|
42400
|
-
// and `usePublicBooleanFlag` both return the argument passed at the CALL
|
|
42401
|
-
// SITE and never consult this registry. Three call sites carry `true` to
|
|
42402
|
-
// match — agents/[agentId]/page.tsx, agents/[agentId]/edit/page.tsx and
|
|
42403
|
-
// `useAgentUnifiedScreenEnabled` in lib/redesign-flags.ts. Flipping the
|
|
42404
|
-
// registry alone leaves the cutover half-applied with no error anywhere;
|
|
42405
|
-
// eng-9832-unified-fallback-parity.test.ts fails if any of the three drifts.
|
|
42406
|
-
defaultValue: true,
|
|
42407
|
-
// Read BOTH server-side (agents/[agentId]/page.tsx and its /edit sibling, via
|
|
42408
|
-
// getPublicBooleanFlagServer) and client-side (dashboard-sherlock-shell.tsx,
|
|
42409
|
-
// via usePublicBooleanFlag), so the key must be in the browser-exposed public
|
|
42410
|
-
// map. Additive viewer gate, resolved within the active-org cookie's scope
|
|
42411
|
-
// — not sensitive.
|
|
42412
|
-
//
|
|
42413
|
-
// `public` MUST STAY until step 2 deletes the key, and the reason reads
|
|
42414
|
-
// backwards: the server helper resolves against the very SAME public-filtered
|
|
42415
|
-
// `GET /flags` the browser uses (routes/flags.ts filters to
|
|
42416
|
-
// listPublicFlagKeys()). Drop `public` and the key is simply absent from the
|
|
42417
|
-
// map, so both server readers fall through to their call-site argument
|
|
42418
|
-
// forever — silently, with no error raised anywhere.
|
|
42419
|
-
public: true
|
|
42420
|
-
},
|
|
42421
|
-
{
|
|
42422
|
-
key: "app-top-nav-shell",
|
|
42423
|
-
description: "Global top-navigation shell redesign (ENG-8478 epic / ENG-8486). When ON, the dashboard chrome replaces the left sidebar with a top navigation bar (team switcher \xB7 destinations \xB7 command palette + account) so the left side is free for an agent-scoped rail; when OFF, the existing left sidebar is unchanged. Additive layout gate \u2014 no data-model change. Composes independently with agent-unified-screen (the two flags are reconciled in ENG-8488). NO LONGER DARK: ENG-9831 cutover step 1 flipped the default to true, so an org with no override now gets the top-nav shell. The key survives only until cutover step 2 deletes it.",
|
|
42424
|
-
flagType: "boolean",
|
|
42425
|
-
// ENG-9831 (cutover step 1): flipped `false` -> `true`. The comment this
|
|
42426
|
-
// replaces called `false` the fail-closed direction — "the shell that ships
|
|
42427
|
-
// today". That was true while the sidebar was the shell that shipped; the
|
|
42428
|
-
// top nav is now the one being cut over to, so `false` points at the layout
|
|
42429
|
-
// being retired. The old rationale is recorded rather than deleted because
|
|
42430
|
-
// it was correct under a premise that has expired.
|
|
42431
|
-
//
|
|
42432
|
-
// NOTE the same split as ninjafy-brand below: this value is consulted by the
|
|
42433
|
-
// API evaluator when building the `GET /flags` map for an org with no
|
|
42434
|
-
// override. It is NOT the fallback the webapp uses on an outage — that is
|
|
42435
|
-
// the argument passed at the call site. Four call sites carry `true` to
|
|
42436
|
-
// match: (dashboard)/layout.tsx and the three legacy redirect hubs
|
|
42437
|
-
// (settings, team, organization/settings). Flipping the registry alone
|
|
42438
|
-
// leaves the cutover half-applied.
|
|
42439
|
-
defaultValue: true,
|
|
42440
|
-
// ENG-9831: NO LONGER read client-side. It was — via usePublicBooleanFlag in
|
|
42441
|
-
// sidebar.tsx (twice) and top-nav.tsx — and that is precisely what this
|
|
42442
|
-
// slice removed: a client hook starts at its default and corrects after an
|
|
42443
|
-
// async GET /flags, so the console painted the sidebar and then replaced the
|
|
42444
|
-
// WHOLE dashboard chrome after hydration. The ENG-8858/ENG-9227 flash at
|
|
42445
|
-
// layout scale. It is now resolved once server-side in (dashboard)/
|
|
42446
|
-
// layout.tsx and passed to both shells as a required prop.
|
|
42447
|
-
//
|
|
42448
|
-
// `public` MUST STAY ANYWAY — the same trap documented on ninjafy-brand.
|
|
42449
|
-
// getPublicBooleanFlagServer resolves against the very same public-filtered
|
|
42450
|
-
// `GET /flags` the browser uses (routes/flags.ts filters to
|
|
42451
|
-
// listPublicFlagKeys()). Drop `public` and the key is simply absent from the
|
|
42452
|
-
// map, the server helper falls through to its default forever, and every org
|
|
42453
|
-
// silently gets whatever that default happens to be with no error anywhere.
|
|
42454
|
-
// `public` means "readable through the public map", not "read by a browser".
|
|
42455
|
-
public: true
|
|
42456
|
-
},
|
|
42457
42393
|
{
|
|
42458
42394
|
key: "ninjafy-brand",
|
|
42459
42395
|
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 the USER-FACING BRAND PRESENTATION \u2014 text AND VISUAL THEME. ENG-8858 widened this from text alone: the Ninjafy palette is gated here too, because a colour theme is not text. It stays ONE key rather than gaining a `ninjafy-theme` sibling, so a half-branded state \u2014 ninjafy wordmark over Augmented green \u2014 is unreachable and the rebrand keeps a single kill switch. It must never gate a code identifier, package name, env var or CLI name. EXISTING identifiers stay `Augmented`/`agt` per the CLAUDE.md naming contract, which protects them from premature renaming \u2014 the deep rename is workstream C of docs/runbooks/rebrand-ninjafy-migration.md and is out of scope here. That contract does NOT require NEW code to carry the old brand: artefacts created specifically for the rebrand take Ninjafy naming (ENG-8078 decision 9; see the CLAUDE.md rebrand carve-out). Either way it is a naming rule, not a flag concern \u2014 this key gates presentation, never an identifier. Set the stage-wide default to flip a whole environment, or add a feature_flag_overrides row to pilot a subset while everyone else still sees Augmented. Overrides resolve at FOUR grains, most specific first \u2014 agent, team, host, then org-wide (evaluate.ts:79-81); organization_id is always required, so there is no global override. Org and team are the useful pilot grains for THIS flag: there is now exactly ONE consumer \u2014 (dashboard)/layout.tsx via getPublicBooleanFlagServer \u2014 evaluating in the active-org cookie scope, so a host- or agent-scoped row is accepted by the table but never reached by the console. It resolves the key ONCE per request and passes the boolean down to sidebar.tsx and top-nav.tsx as a required prop. Resolution is SERVER-side deliberately: the client hook starts at its default and updates after an async GET /flags, so anything gated on it paints Augmented and then repaints. ENG-8858 moved the PALETTE for that reason (a full-page colour flash); ENG-9227 moved the WORDMARK, which had been the last surface still swapping after hydration. A consequence worth knowing: /login and the marketing routes stay on the Augmented palette whatever an org sets, because fetchPublicFlags returns null without a verified session and a pre-auth page has neither a session nor an active org \u2014 a PER-ORG flag structurally cannot brand one. ENG-9830 CORRECTS what used to be written here ("those surfaces follow only when the stage-wide default flips"): they do not follow it at all. Two reasons. The value returned on a null fetch is the CALL SITE\u2019s passed argument, not this registry default; and six such pages (/login, /reset-password, /auth/confirm, the pre-redeem member-signin gate and the two public Slack-install terminal pages) do not mount <BrandStamp/> AT ALL \u2014 deliberately, enumerated with per-page reasons in eng-9266-brand-stamp-coverage.test.ts. They become branded when the flag is REMOVED at cutover step 2 and the palette moves into bare :root, with no read left to gate it. NO LONGER DARK: ENG-9830 cutover step 1 flipped the default to true, so an org with no override now sees Ninjafy. The key survives only until cutover step 2 deletes it.',
|