@integrity-labs/agt-cli 0.28.1232 → 0.28.1234
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 +6 -6
- package/dist/{chunk-3CUCO6BU.js → chunk-74FVXAHG.js} +3 -3
- package/dist/{chunk-BDXOVKWJ.js → chunk-AZ2QBMCL.js} +2 -2
- package/dist/{chunk-XBADGTJP.js → chunk-NPW4S55O.js} +295 -3
- package/dist/chunk-NPW4S55O.js.map +1 -0
- package/dist/{chunk-QCBL7EBD.js → chunk-PV2LPKJ2.js} +2 -2
- package/dist/{chunk-LS27F6QF.js → chunk-UWJTR4AS.js} +5 -5
- package/dist/{claude-code-updater-R7QSZDGD.js → claude-code-updater-6GP4LY3Y.js} +3 -3
- package/dist/{claude-pair-runtime-BH7XN36C.js → claude-pair-runtime-2QA23TMP.js} +3 -3
- package/dist/lib/manager-worker.js +19 -19
- package/dist/mcp/direct-chat-channel.js +248 -2
- package/dist/mcp/index.js +248 -2
- package/dist/mcp/origami.js +248 -2
- package/dist/mcp/slack-channel.js +248 -2
- package/dist/mcp/telegram-channel.js +248 -2
- package/dist/{persistent-session-LQ4GJ264.js → persistent-session-YS5LY7YD.js} +4 -4
- package/dist/{responsiveness-probe-NN7XEPJM.js → responsiveness-probe-C3SSBQCL.js} +4 -4
- package/dist/{session-auth-dead-ESB735FG.js → session-auth-dead-3GT7MM6J.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-XBADGTJP.js.map +0 -1
- /package/dist/{chunk-3CUCO6BU.js.map → chunk-74FVXAHG.js.map} +0 -0
- /package/dist/{chunk-BDXOVKWJ.js.map → chunk-AZ2QBMCL.js.map} +0 -0
- /package/dist/{chunk-QCBL7EBD.js.map → chunk-PV2LPKJ2.js.map} +0 -0
- /package/dist/{chunk-LS27F6QF.js.map → chunk-UWJTR4AS.js.map} +0 -0
- /package/dist/{claude-code-updater-R7QSZDGD.js.map → claude-code-updater-6GP4LY3Y.js.map} +0 -0
- /package/dist/{claude-pair-runtime-BH7XN36C.js.map → claude-pair-runtime-2QA23TMP.js.map} +0 -0
- /package/dist/{persistent-session-LQ4GJ264.js.map → persistent-session-YS5LY7YD.js.map} +0 -0
- /package/dist/{responsiveness-probe-NN7XEPJM.js.map → responsiveness-probe-C3SSBQCL.js.map} +0 -0
- /package/dist/{session-auth-dead-ESB735FG.js.map → session-auth-dead-3GT7MM6J.js.map} +0 -0
|
@@ -31873,6 +31873,16 @@ var integration_metadata_v1_default = {
|
|
|
31873
31873
|
enum: ["basic_username", "basic_pair", "raw"],
|
|
31874
31874
|
description: "How the credential is encoded into Authorization (ENG-10524). `basic_username` sends it as the HTTP Basic username with an empty password (`Authorization: Basic base64(<credential>:)`), Sportsyear's API-key form. `basic_pair` splits the credential on its first `:` and sends `Authorization: Basic base64(<username>:<password>)`, Projectworks' API-account form (CS-1980). `raw` sends the credential itself as the header value with no scheme word (`Authorization: <credential>`), AppsFlyer OneLink's form (CS-1918). Omit for `<auth_scheme> <credential>`. Must not be combined with `auth_scheme`."
|
|
31875
31875
|
},
|
|
31876
|
+
token_exchange: {
|
|
31877
|
+
type: "object",
|
|
31878
|
+
description: "OAuth 2.0 client-credentials exchange (CS-1958). The stored credential is `<client id>:<client secret>`, exchanged at token_url for a short-lived bearer that the broker holds and sends as Bearer.",
|
|
31879
|
+
additionalProperties: false,
|
|
31880
|
+
required: ["token_url", "scope"],
|
|
31881
|
+
properties: {
|
|
31882
|
+
token_url: { type: "string", pattern: "^https://[^\\s]+$" },
|
|
31883
|
+
scope: { type: "string", minLength: 1 }
|
|
31884
|
+
}
|
|
31885
|
+
},
|
|
31876
31886
|
runtime_scopes: {
|
|
31877
31887
|
type: "object",
|
|
31878
31888
|
description: "Per-runtime-scope support map. Each slot is either null (the integration does not support installs at this scope) or an object describing how token resolution and auth work for that scope.",
|
|
@@ -31933,8 +31943,13 @@ var integration_metadata_v1_default = {
|
|
|
31933
31943
|
anyOf: [{ required: ["base_url"] }, { required: ["base_url_template"] }]
|
|
31934
31944
|
},
|
|
31935
31945
|
not: {
|
|
31936
|
-
description: "auth_scheme and auth_encoding are mutually exclusive (ENG-10524). The templater refuses the combination on every call, so catalog validation refuses it first.",
|
|
31937
|
-
|
|
31946
|
+
description: "auth_scheme and auth_encoding are mutually exclusive (ENG-10524). The templater refuses the combination on every call, so catalog validation refuses it first. token_exchange excludes both (CS-1958): the exchanged token must go out as Bearer, and either field would send it in a form the vendor rejects. It also excludes config_arg_defaults: those resolve the token before the approval gate, and an exchange there would post the secret for a call that may then be denied.",
|
|
31947
|
+
anyOf: [
|
|
31948
|
+
{ required: ["auth_scheme", "auth_encoding"] },
|
|
31949
|
+
{ required: ["token_exchange", "auth_scheme"] },
|
|
31950
|
+
{ required: ["token_exchange", "auth_encoding"] },
|
|
31951
|
+
{ required: ["token_exchange", "config_arg_defaults"] }
|
|
31952
|
+
]
|
|
31938
31953
|
},
|
|
31939
31954
|
$defs: {
|
|
31940
31955
|
scopeConfig: {
|
|
@@ -33813,6 +33828,216 @@ var MARKUP_BRIDGE_SCRIPT = `<script>(function(){
|
|
|
33813
33828
|
});
|
|
33814
33829
|
})();</script>`;
|
|
33815
33830
|
|
|
33831
|
+
// ../core/dist/integrations/augmented-live/deck-phone-fit.js
|
|
33832
|
+
var DECK_PHONE_FILL_MAX_HEIGHT_PX = 500;
|
|
33833
|
+
var DECK_PHONE_FILL_MIN_WIDTH_PX = 560;
|
|
33834
|
+
var FIXER = String.raw`(function () {
|
|
33835
|
+
// ENG-8819: phone fit for Ninja Canvas slide decks, injected by the viewer shell so it
|
|
33836
|
+
// reaches decks that are already published. Acts only on a deck (a #stage holding
|
|
33837
|
+
// .slide elements); every other page is left alone.
|
|
33838
|
+
var stage = document.getElementById('stage');
|
|
33839
|
+
if (!stage || !stage.querySelector('.slide')) return;
|
|
33840
|
+
var root = document.documentElement;
|
|
33841
|
+
var css = document.createElement('style');
|
|
33842
|
+
css.id = 'agt-deck-phone-fit';
|
|
33843
|
+
css.textContent =
|
|
33844
|
+
// The stage is a flex item in deck mode. Without this it shrinks to the viewport
|
|
33845
|
+
// width before it is scaled, so a phone in landscape got a narrow, clipped slide.
|
|
33846
|
+
'html.deck-js #stage{flex-shrink:0}' +
|
|
33847
|
+
// Fill-width mode (short landscape screens): the slide is wider than tall enough
|
|
33848
|
+
// to fit, so let the page scroll vertically instead of letterboxing it.
|
|
33849
|
+
'html.deck-js.agt-fill,html.deck-js.agt-fill body{height:auto;min-height:100%;overflow-x:hidden;overflow-y:auto}' +
|
|
33850
|
+
'html.deck-js.agt-fill body{display:block}' +
|
|
33851
|
+
'html.deck-js.agt-fill #stage{transform:none!important;transform-origin:0 0}' +
|
|
33852
|
+
// Room to scroll the end of the page clear of the viewer chrome fixed along the
|
|
33853
|
+
// bottom edge (the HUD row in landscape; Download and the badge in portrait).
|
|
33854
|
+
'html.deck-js.agt-fill body{padding-bottom:76px}' +
|
|
33855
|
+
'html:not(.deck-js) body{padding-bottom:124px}' +
|
|
33856
|
+
// Portrait reads as a scrolling page, so the rotate prompt is not needed (and sat on
|
|
33857
|
+
// top of the viewer Download button).
|
|
33858
|
+
'html:not(.deck-js) #rotate-hint{display:none!important}';
|
|
33859
|
+
(document.head || root).appendChild(css);
|
|
33860
|
+
|
|
33861
|
+
// Shared with the shell's chrome CSS (deckPhoneChromeCss), so the slide only fills
|
|
33862
|
+
// the width where the shell has also moved Download and the badge out of its way.
|
|
33863
|
+
var PHONE_MAX_H = __AGT_MAX_H__, PHONE_MIN_W = __AGT_MIN_W__;
|
|
33864
|
+
var stageZoom0 = stage.style.zoom;
|
|
33865
|
+
var lastSlide = -1;
|
|
33866
|
+
|
|
33867
|
+
function activeIndex() {
|
|
33868
|
+
var s = stage.querySelectorAll('.slide');
|
|
33869
|
+
for (var i = 0; i < s.length; i++) if (s[i].classList.contains('is-active')) return i;
|
|
33870
|
+
return -1;
|
|
33871
|
+
}
|
|
33872
|
+
|
|
33873
|
+
function fitDeck() {
|
|
33874
|
+
var w = innerWidth, h = innerHeight;
|
|
33875
|
+
// The canvas is whatever the deck declares (1280x720 in the skeleton, but a deck
|
|
33876
|
+
// may set its own), read from layout: transform does not change offsetWidth.
|
|
33877
|
+
stage.style.zoom = stageZoom0;
|
|
33878
|
+
var cw = stage.offsetWidth || 1280, ch = stage.offsetHeight || 720;
|
|
33879
|
+
// Height binds when the window is wider than the canvas. On a phone in landscape
|
|
33880
|
+
// that left a third of the screen empty; fill the width and scroll instead.
|
|
33881
|
+
var fill = w / h > cw / ch && h <= PHONE_MAX_H && w >= PHONE_MIN_W;
|
|
33882
|
+
root.classList.toggle('agt-fill', fill);
|
|
33883
|
+
// Scale to the width the page actually lays out in. innerWidth includes a classic
|
|
33884
|
+
// (non-overlay) scrollbar, and fill mode always scrolls, so on a short desktop
|
|
33885
|
+
// window that would push the slide's right edge under overflow-x:hidden. Read after
|
|
33886
|
+
// the class is on, so the scrollbar it turns on is already taken out.
|
|
33887
|
+
if (fill) stage.style.zoom = (root.clientWidth || w) / cw;
|
|
33888
|
+
var a = activeIndex();
|
|
33889
|
+
if (fill && a !== lastSlide) scrollTo(0, 0);
|
|
33890
|
+
lastSlide = a;
|
|
33891
|
+
}
|
|
33892
|
+
|
|
33893
|
+
// Narrow (portrait) mode stacks the slides as a page, but a slide authored for
|
|
33894
|
+
// 1280px still carries blocks that do not fit 390px, and they were clipped at the
|
|
33895
|
+
// right edge. In order, least destructive first: a multi-column grid becomes one
|
|
33896
|
+
// column, unwrappable text wraps, and only what still overflows (a cover canvas,
|
|
33897
|
+
// a diagram drawn at a fixed size) is scaled down to fit.
|
|
33898
|
+
var MARK = 'data-agt-fit';
|
|
33899
|
+
// Every inline value the narrow pass overwrites is recorded first and put back on
|
|
33900
|
+
// undo. Clearing to '' instead would wipe a deck's own inline layout (a
|
|
33901
|
+
// style="grid-template-columns:..." slide) the first time the phone rotated.
|
|
33902
|
+
var touched = [];
|
|
33903
|
+
function put(el, prop, val, mark) {
|
|
33904
|
+
touched.push([el, prop, el.style[prop]]);
|
|
33905
|
+
el.style[prop] = val;
|
|
33906
|
+
// Never downgrade a 'zoom' mark (Obi Wan 9a6ba37489c2): a zoomed block that is also
|
|
33907
|
+
// a grid child getting 'col' would lose the closest('[data-agt-fit="zoom"]')
|
|
33908
|
+
// exclusion, and passes 3 and 4 could wrap or zoom inside it again (a double scale).
|
|
33909
|
+
if (el.getAttribute(MARK) !== 'zoom') el.setAttribute(MARK, mark);
|
|
33910
|
+
}
|
|
33911
|
+
function undoNarrow() {
|
|
33912
|
+
for (var i = touched.length - 1; i >= 0; i--) {
|
|
33913
|
+
touched[i][0].style[touched[i][1]] = touched[i][2];
|
|
33914
|
+
touched[i][0].removeAttribute(MARK);
|
|
33915
|
+
}
|
|
33916
|
+
touched = [];
|
|
33917
|
+
}
|
|
33918
|
+
function overflowing(el, limit) {
|
|
33919
|
+
var r = el.getBoundingClientRect();
|
|
33920
|
+
return r.width > 0 && r.right > limit + 1;
|
|
33921
|
+
}
|
|
33922
|
+
function fitNarrow() {
|
|
33923
|
+
undoNarrow();
|
|
33924
|
+
var slides = stage.querySelectorAll('.slide');
|
|
33925
|
+
for (var j = 0; j < slides.length; j++) {
|
|
33926
|
+
var sl = slides[j], limit = sl.getBoundingClientRect().right;
|
|
33927
|
+
var all = sl.querySelectorAll('*'), k, el, cs;
|
|
33928
|
+
var padR = parseFloat(getComputedStyle(sl).paddingRight) || 0;
|
|
33929
|
+
// A block drawn at a fixed width wider than the column (a cover canvas) is a
|
|
33930
|
+
// picture, not a layout: scale it whole first, and never reflow inside it.
|
|
33931
|
+
for (k = 0; k < all.length; k++) {
|
|
33932
|
+
el = all[k];
|
|
33933
|
+
if (el.closest('[' + MARK + '="zoom"]')) continue;
|
|
33934
|
+
cs = getComputedStyle(el);
|
|
33935
|
+
var fixedW = parseFloat(cs.width);
|
|
33936
|
+
var rr = el.getBoundingClientRect(), room = limit - padR - rr.left;
|
|
33937
|
+
if (/px$/.test(el.style.width || '') || (cs.display !== 'grid' && fixedW > room + 1 && room > 40 && el.children.length > 0 && overflowing(el, limit) && fixedW >= 600)) {
|
|
33938
|
+
if (!overflowing(el, limit) || room <= 40) continue;
|
|
33939
|
+
put(el, 'zoom', Math.max(0.2, room / rr.width), 'zoom');
|
|
33940
|
+
// The slide keeps its full-screen min-height; shrink it to the scaled
|
|
33941
|
+
// picture so there is no empty screen under it. Never below the picture.
|
|
33942
|
+
var sr = sl.getBoundingClientRect(), er = el.getBoundingClientRect();
|
|
33943
|
+
var need = Math.ceil(er.bottom - sr.top + (parseFloat(getComputedStyle(sl).paddingBottom) || 0));
|
|
33944
|
+
if (need > 80 && need < sr.height) put(sl, 'minHeight', need + 'px', 'slide');
|
|
33945
|
+
}
|
|
33946
|
+
}
|
|
33947
|
+
for (k = 0; k < all.length; k++) {
|
|
33948
|
+
el = all[k];
|
|
33949
|
+
if (el.closest('[' + MARK + '="zoom"]')) continue;
|
|
33950
|
+
cs = getComputedStyle(el);
|
|
33951
|
+
if ((cs.display === 'grid' || cs.display === 'inline-grid') && cs.gridTemplateColumns.split(' ').length > 1 &&
|
|
33952
|
+
(el.scrollWidth > el.clientWidth + 1 || overflowing(el, limit))) {
|
|
33953
|
+
// A cell whose content is absolutely positioned took its height from the
|
|
33954
|
+
// row it shared; keep that height, or its drawing collapses on itself.
|
|
33955
|
+
var keep = [];
|
|
33956
|
+
for (var q = 0; q < el.children.length; q++) {
|
|
33957
|
+
var ch = el.children[q], abs = false, ds = ch.querySelectorAll('*');
|
|
33958
|
+
for (var z = 0; z < ds.length && !abs; z++) abs = getComputedStyle(ds[z]).position === 'absolute';
|
|
33959
|
+
keep.push(abs ? ch.getBoundingClientRect().height : 0);
|
|
33960
|
+
}
|
|
33961
|
+
put(el, 'gridTemplateColumns', 'minmax(0,1fr)', 'reflow');
|
|
33962
|
+
for (q = 0; q < el.children.length; q++) {
|
|
33963
|
+
if (keep[q] > 0 && el.children[q].getBoundingClientRect().height < keep[q] - 1) {
|
|
33964
|
+
put(el.children[q], 'minHeight', Math.round(keep[q]) + 'px', 'keep');
|
|
33965
|
+
}
|
|
33966
|
+
}
|
|
33967
|
+
for (var c = 0; c < el.children.length; c++) {
|
|
33968
|
+
if (getComputedStyle(el.children[c]).gridColumnStart !== 'auto') put(el.children[c], 'gridColumn', 'auto', 'col');
|
|
33969
|
+
}
|
|
33970
|
+
} else if (cs.display.indexOf('flex') > -1 && cs.flexDirection.indexOf('row') === 0 && cs.flexWrap === 'nowrap' &&
|
|
33971
|
+
el.children.length > 1 && overflowing(el.lastElementChild || el, limit)) {
|
|
33972
|
+
put(el, 'flexWrap', 'wrap', 'wrap');
|
|
33973
|
+
}
|
|
33974
|
+
}
|
|
33975
|
+
for (k = 0; k < all.length; k++) {
|
|
33976
|
+
el = all[k];
|
|
33977
|
+
if (el.closest('[' + MARK + '="zoom"]')) continue;
|
|
33978
|
+
if (el.children.length === 0 && overflowing(el, limit) && getComputedStyle(el).whiteSpace.indexOf('nowrap') > -1) {
|
|
33979
|
+
put(el, 'whiteSpace', 'normal', 'text');
|
|
33980
|
+
}
|
|
33981
|
+
}
|
|
33982
|
+
for (k = 0; k < all.length; k++) {
|
|
33983
|
+
el = all[k];
|
|
33984
|
+
if (el.closest('[' + MARK + '="zoom"]')) continue;
|
|
33985
|
+
if (!overflowing(el, limit)) continue;
|
|
33986
|
+
var r = el.getBoundingClientRect(), avail = limit - padR - r.left;
|
|
33987
|
+
if (avail <= 40) continue;
|
|
33988
|
+
put(el, 'zoom', Math.max(0.2, avail / r.width), 'zoom');
|
|
33989
|
+
}
|
|
33990
|
+
}
|
|
33991
|
+
}
|
|
33992
|
+
|
|
33993
|
+
// Obi Wan 73a833f8f833: the narrow (stacked) layout depends on WIDTH only, but iOS
|
|
33994
|
+
// fires resize and visualViewport resize as its toolbars collapse during an ordinary
|
|
33995
|
+
// scroll, changing only the height. Re-running fitNarrow there would revert and
|
|
33996
|
+
// re-measure every slide mid-scroll and could make the page jump. So a narrow re-fit
|
|
33997
|
+
// runs only when the width changed, when leaving deck mode, or on load (content sizes).
|
|
33998
|
+
var narrowW = -1;
|
|
33999
|
+
function apply() {
|
|
34000
|
+
try {
|
|
34001
|
+
if (root.classList.contains('deck-js')) {
|
|
34002
|
+
narrowW = -1;
|
|
34003
|
+
undoNarrow();
|
|
34004
|
+
fitDeck();
|
|
34005
|
+
} else {
|
|
34006
|
+
root.classList.remove('agt-fill');
|
|
34007
|
+
stage.style.zoom = stageZoom0;
|
|
34008
|
+
var nw = root.clientWidth || innerWidth;
|
|
34009
|
+
if (nw === narrowW) return;
|
|
34010
|
+
fitNarrow();
|
|
34011
|
+
narrowW = nw;
|
|
34012
|
+
}
|
|
34013
|
+
} catch (e) {
|
|
34014
|
+
// Never break the deck over a fit problem, but leave a trace (and a hook for
|
|
34015
|
+
// tests) rather than swallowing it.
|
|
34016
|
+
window.__agtDeckFitError = String((e && e.message) || e);
|
|
34017
|
+
}
|
|
34018
|
+
}
|
|
34019
|
+
|
|
34020
|
+
var t = 0;
|
|
34021
|
+
function later() {
|
|
34022
|
+
apply();
|
|
34023
|
+
// iOS reports the new size a beat after resize/orientationchange fires.
|
|
34024
|
+
clearTimeout(t);
|
|
34025
|
+
t = setTimeout(apply, 250);
|
|
34026
|
+
if (window.requestAnimationFrame) requestAnimationFrame(apply);
|
|
34027
|
+
}
|
|
34028
|
+
addEventListener('resize', later);
|
|
34029
|
+
addEventListener('orientationchange', later);
|
|
34030
|
+
// Load can change content sizes (images) at the same width, so it always re-fits.
|
|
34031
|
+
addEventListener('load', function () { narrowW = -1; later(); });
|
|
34032
|
+
if (window.visualViewport) visualViewport.addEventListener('resize', later);
|
|
34033
|
+
// Slide changes: keep fill mode scrolled to the top of the new slide.
|
|
34034
|
+
try { new MutationObserver(function () { if (root.classList.contains('agt-fill')) fitDeck(); })
|
|
34035
|
+
.observe(stage, { subtree: true, attributes: true, attributeFilter: ['class'] }); } catch (e) {}
|
|
34036
|
+
later();
|
|
34037
|
+
})();`;
|
|
34038
|
+
var DECK_PHONE_FIT_SOURCE = FIXER.replace("__AGT_MAX_H__", String(DECK_PHONE_FILL_MAX_HEIGHT_PX)).replace("__AGT_MIN_W__", String(DECK_PHONE_FILL_MIN_WIDTH_PX));
|
|
34039
|
+
var DECK_PHONE_FIT_SCRIPT = '<script id="agt-deck-phone-fit-js">' + DECK_PHONE_FIT_SOURCE + "</script>";
|
|
34040
|
+
|
|
33816
34041
|
// ../core/dist/integrations/augmented-live/live-hosts.js
|
|
33817
34042
|
function linkOpenerScript(frameId) {
|
|
33818
34043
|
return 'function alOpenBar(u){var o=document.getElementById("al-open");if(o)o.parentNode.removeChild(o);var b=document.createElement("div");b.id="al-open";b.setAttribute("role","status");b.appendChild(document.createTextNode("Open link to "));var a=document.createElement("a");a.href=u.href;a.target="_blank";a.rel="noopener noreferrer";a.textContent=u.host;a.addEventListener("click",function(){setTimeout(function(){if(b.parentNode)b.parentNode.removeChild(b);},0);});b.appendChild(a);var x=document.createElement("button");x.type="button";x.setAttribute("aria-label","Dismiss");x.textContent="\xD7";x.addEventListener("click",function(){if(b.parentNode)b.parentNode.removeChild(b);});b.appendChild(x);document.body.appendChild(b);}window.addEventListener("message",function(e){var f=document.getElementById(' + JSON.stringify(frameId) + ');if(!f||e.source!==f.contentWindow||e.origin!=="null")return;var d=e.data;if(!d||d.type!=="al-open"||typeof d.url!=="string")return;var u;try{u=new URL(d.url);}catch(x){return;}if(u.protocol!=="https:"||u.username||u.password)return;var w=window.open(u.href,"_blank");if(w){try{w.opener=null;}catch(x){}}else{alOpenBar(u);}});';
|
|
@@ -33875,6 +34100,8 @@ var DOWNLOAD_MOBILE_MIN_HEIGHT_PX = 44;
|
|
|
33875
34100
|
var DECK_ATTRIBUTION_NARROW_BOTTOM_PX = DOWNLOAD_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
33876
34101
|
var VISIBILITY_BOTTOM_PX = DOWNLOAD_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
33877
34102
|
var DECK_ATTRIBUTION_NARROW_WITH_VISIBILITY_BOTTOM_PX = VISIBILITY_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
34103
|
+
var DECK_PRINT_BUTTON_W_PX = 72;
|
|
34104
|
+
var DECK_PHONE_DOWNLOAD_BESIDE_PRINT_LEFT_PX = 16 + DECK_PRINT_BUTTON_W_PX + DECK_CHROME_GAP_PX;
|
|
33878
34105
|
|
|
33879
34106
|
// ../core/dist/integrations/augmented-live/codec.js
|
|
33880
34107
|
var DEFAULT_CHUNK_BUDGET_BYTES = 180 * 1024;
|
|
@@ -39543,6 +39770,25 @@ var FLAG_REGISTRY = [
|
|
|
39543
39770
|
flagType: "boolean",
|
|
39544
39771
|
defaultValue: false
|
|
39545
39772
|
},
|
|
39773
|
+
{
|
|
39774
|
+
key: "kanban-waiting-person-notify",
|
|
39775
|
+
description: `Notify a human teammate, via their preferred channel (Slack DM, else email fallback), when an agent PARKS a kanban card on them - "I still own this and cannot finish until you act" (ENG-8291 / ENG-11974). This is a DIFFERENT ask from human-task-assignment-notify, which covers "this is yours now", where ownership MOVES to the person. Until ENG-11974 one flag gated both, because the park path composes the assignment path's delivery; an org that silenced assignment pings therefore also lost every blocked-on-you message, which is the failure my-waiting.ts measured at a PR sitting 25.5h on a single merge tap. Off = the card is parked silently (it still appears in the recipient's "Awaiting you" queue on My Tasks). Note kanban-waiting-status is a separate gate and governs whether a park may be EMITTED at all; this one governs whether the human is TOLD.`,
|
|
39776
|
+
flagType: "boolean",
|
|
39777
|
+
// Declared safe value is `false`, matching its assignment sibling: fail-closed
|
|
39778
|
+
// is the right direction for a rail that messages a human.
|
|
39779
|
+
//
|
|
39780
|
+
// This default is NOT the deploy-time behaviour, and reading it as such is the
|
|
39781
|
+
// trap. The accompanying migration MIRRORS human-task-assignment-notify onto
|
|
39782
|
+
// this key - whatever that flag's central value is, plus every one of its
|
|
39783
|
+
// overrides at every grain - so no org's effective behaviour changes when
|
|
39784
|
+
// ENG-11974 ships. It deliberately does NOT seed a literal `true`: on a stage
|
|
39785
|
+
// where the old flag has no row, the old gate resolves to `false` and nobody
|
|
39786
|
+
// is being messaged, so a literal `true` would ARM a rail that DMs and emails
|
|
39787
|
+
// real humans on a fleet that never had one. A registry default
|
|
39788
|
+
// renders identically to a measurement - to learn whether this is on for an
|
|
39789
|
+
// org, read feature_flags.value and feature_flag_overrides, never this line.
|
|
39790
|
+
defaultValue: false
|
|
39791
|
+
},
|
|
39546
39792
|
{
|
|
39547
39793
|
key: "resume-reconciler",
|
|
39548
39794
|
description: "Health-gated safe auto-resume for circuit-breaker pauses (ENG-6383, epic ENG-6333). When on, the manager clears a trip only when the dependency has genuinely recovered (status active + MCP present + connectivity ok \u2265 hysteresis), replacing the blind ENG-6088 quiet-timer; when off, the blind timer still governs. Boolean gate; ships dark.",
|
|
@@ -32070,6 +32070,16 @@ var integration_metadata_v1_default = {
|
|
|
32070
32070
|
enum: ["basic_username", "basic_pair", "raw"],
|
|
32071
32071
|
description: "How the credential is encoded into Authorization (ENG-10524). `basic_username` sends it as the HTTP Basic username with an empty password (`Authorization: Basic base64(<credential>:)`), Sportsyear's API-key form. `basic_pair` splits the credential on its first `:` and sends `Authorization: Basic base64(<username>:<password>)`, Projectworks' API-account form (CS-1980). `raw` sends the credential itself as the header value with no scheme word (`Authorization: <credential>`), AppsFlyer OneLink's form (CS-1918). Omit for `<auth_scheme> <credential>`. Must not be combined with `auth_scheme`."
|
|
32072
32072
|
},
|
|
32073
|
+
token_exchange: {
|
|
32074
|
+
type: "object",
|
|
32075
|
+
description: "OAuth 2.0 client-credentials exchange (CS-1958). The stored credential is `<client id>:<client secret>`, exchanged at token_url for a short-lived bearer that the broker holds and sends as Bearer.",
|
|
32076
|
+
additionalProperties: false,
|
|
32077
|
+
required: ["token_url", "scope"],
|
|
32078
|
+
properties: {
|
|
32079
|
+
token_url: { type: "string", pattern: "^https://[^\\s]+$" },
|
|
32080
|
+
scope: { type: "string", minLength: 1 }
|
|
32081
|
+
}
|
|
32082
|
+
},
|
|
32073
32083
|
runtime_scopes: {
|
|
32074
32084
|
type: "object",
|
|
32075
32085
|
description: "Per-runtime-scope support map. Each slot is either null (the integration does not support installs at this scope) or an object describing how token resolution and auth work for that scope.",
|
|
@@ -32130,8 +32140,13 @@ var integration_metadata_v1_default = {
|
|
|
32130
32140
|
anyOf: [{ required: ["base_url"] }, { required: ["base_url_template"] }]
|
|
32131
32141
|
},
|
|
32132
32142
|
not: {
|
|
32133
|
-
description: "auth_scheme and auth_encoding are mutually exclusive (ENG-10524). The templater refuses the combination on every call, so catalog validation refuses it first.",
|
|
32134
|
-
|
|
32143
|
+
description: "auth_scheme and auth_encoding are mutually exclusive (ENG-10524). The templater refuses the combination on every call, so catalog validation refuses it first. token_exchange excludes both (CS-1958): the exchanged token must go out as Bearer, and either field would send it in a form the vendor rejects. It also excludes config_arg_defaults: those resolve the token before the approval gate, and an exchange there would post the secret for a call that may then be denied.",
|
|
32144
|
+
anyOf: [
|
|
32145
|
+
{ required: ["auth_scheme", "auth_encoding"] },
|
|
32146
|
+
{ required: ["token_exchange", "auth_scheme"] },
|
|
32147
|
+
{ required: ["token_exchange", "auth_encoding"] },
|
|
32148
|
+
{ required: ["token_exchange", "config_arg_defaults"] }
|
|
32149
|
+
]
|
|
32135
32150
|
},
|
|
32136
32151
|
$defs: {
|
|
32137
32152
|
scopeConfig: {
|
|
@@ -34010,6 +34025,216 @@ var MARKUP_BRIDGE_SCRIPT = `<script>(function(){
|
|
|
34010
34025
|
});
|
|
34011
34026
|
})();</script>`;
|
|
34012
34027
|
|
|
34028
|
+
// ../core/dist/integrations/augmented-live/deck-phone-fit.js
|
|
34029
|
+
var DECK_PHONE_FILL_MAX_HEIGHT_PX = 500;
|
|
34030
|
+
var DECK_PHONE_FILL_MIN_WIDTH_PX = 560;
|
|
34031
|
+
var FIXER = String.raw`(function () {
|
|
34032
|
+
// ENG-8819: phone fit for Ninja Canvas slide decks, injected by the viewer shell so it
|
|
34033
|
+
// reaches decks that are already published. Acts only on a deck (a #stage holding
|
|
34034
|
+
// .slide elements); every other page is left alone.
|
|
34035
|
+
var stage = document.getElementById('stage');
|
|
34036
|
+
if (!stage || !stage.querySelector('.slide')) return;
|
|
34037
|
+
var root = document.documentElement;
|
|
34038
|
+
var css = document.createElement('style');
|
|
34039
|
+
css.id = 'agt-deck-phone-fit';
|
|
34040
|
+
css.textContent =
|
|
34041
|
+
// The stage is a flex item in deck mode. Without this it shrinks to the viewport
|
|
34042
|
+
// width before it is scaled, so a phone in landscape got a narrow, clipped slide.
|
|
34043
|
+
'html.deck-js #stage{flex-shrink:0}' +
|
|
34044
|
+
// Fill-width mode (short landscape screens): the slide is wider than tall enough
|
|
34045
|
+
// to fit, so let the page scroll vertically instead of letterboxing it.
|
|
34046
|
+
'html.deck-js.agt-fill,html.deck-js.agt-fill body{height:auto;min-height:100%;overflow-x:hidden;overflow-y:auto}' +
|
|
34047
|
+
'html.deck-js.agt-fill body{display:block}' +
|
|
34048
|
+
'html.deck-js.agt-fill #stage{transform:none!important;transform-origin:0 0}' +
|
|
34049
|
+
// Room to scroll the end of the page clear of the viewer chrome fixed along the
|
|
34050
|
+
// bottom edge (the HUD row in landscape; Download and the badge in portrait).
|
|
34051
|
+
'html.deck-js.agt-fill body{padding-bottom:76px}' +
|
|
34052
|
+
'html:not(.deck-js) body{padding-bottom:124px}' +
|
|
34053
|
+
// Portrait reads as a scrolling page, so the rotate prompt is not needed (and sat on
|
|
34054
|
+
// top of the viewer Download button).
|
|
34055
|
+
'html:not(.deck-js) #rotate-hint{display:none!important}';
|
|
34056
|
+
(document.head || root).appendChild(css);
|
|
34057
|
+
|
|
34058
|
+
// Shared with the shell's chrome CSS (deckPhoneChromeCss), so the slide only fills
|
|
34059
|
+
// the width where the shell has also moved Download and the badge out of its way.
|
|
34060
|
+
var PHONE_MAX_H = __AGT_MAX_H__, PHONE_MIN_W = __AGT_MIN_W__;
|
|
34061
|
+
var stageZoom0 = stage.style.zoom;
|
|
34062
|
+
var lastSlide = -1;
|
|
34063
|
+
|
|
34064
|
+
function activeIndex() {
|
|
34065
|
+
var s = stage.querySelectorAll('.slide');
|
|
34066
|
+
for (var i = 0; i < s.length; i++) if (s[i].classList.contains('is-active')) return i;
|
|
34067
|
+
return -1;
|
|
34068
|
+
}
|
|
34069
|
+
|
|
34070
|
+
function fitDeck() {
|
|
34071
|
+
var w = innerWidth, h = innerHeight;
|
|
34072
|
+
// The canvas is whatever the deck declares (1280x720 in the skeleton, but a deck
|
|
34073
|
+
// may set its own), read from layout: transform does not change offsetWidth.
|
|
34074
|
+
stage.style.zoom = stageZoom0;
|
|
34075
|
+
var cw = stage.offsetWidth || 1280, ch = stage.offsetHeight || 720;
|
|
34076
|
+
// Height binds when the window is wider than the canvas. On a phone in landscape
|
|
34077
|
+
// that left a third of the screen empty; fill the width and scroll instead.
|
|
34078
|
+
var fill = w / h > cw / ch && h <= PHONE_MAX_H && w >= PHONE_MIN_W;
|
|
34079
|
+
root.classList.toggle('agt-fill', fill);
|
|
34080
|
+
// Scale to the width the page actually lays out in. innerWidth includes a classic
|
|
34081
|
+
// (non-overlay) scrollbar, and fill mode always scrolls, so on a short desktop
|
|
34082
|
+
// window that would push the slide's right edge under overflow-x:hidden. Read after
|
|
34083
|
+
// the class is on, so the scrollbar it turns on is already taken out.
|
|
34084
|
+
if (fill) stage.style.zoom = (root.clientWidth || w) / cw;
|
|
34085
|
+
var a = activeIndex();
|
|
34086
|
+
if (fill && a !== lastSlide) scrollTo(0, 0);
|
|
34087
|
+
lastSlide = a;
|
|
34088
|
+
}
|
|
34089
|
+
|
|
34090
|
+
// Narrow (portrait) mode stacks the slides as a page, but a slide authored for
|
|
34091
|
+
// 1280px still carries blocks that do not fit 390px, and they were clipped at the
|
|
34092
|
+
// right edge. In order, least destructive first: a multi-column grid becomes one
|
|
34093
|
+
// column, unwrappable text wraps, and only what still overflows (a cover canvas,
|
|
34094
|
+
// a diagram drawn at a fixed size) is scaled down to fit.
|
|
34095
|
+
var MARK = 'data-agt-fit';
|
|
34096
|
+
// Every inline value the narrow pass overwrites is recorded first and put back on
|
|
34097
|
+
// undo. Clearing to '' instead would wipe a deck's own inline layout (a
|
|
34098
|
+
// style="grid-template-columns:..." slide) the first time the phone rotated.
|
|
34099
|
+
var touched = [];
|
|
34100
|
+
function put(el, prop, val, mark) {
|
|
34101
|
+
touched.push([el, prop, el.style[prop]]);
|
|
34102
|
+
el.style[prop] = val;
|
|
34103
|
+
// Never downgrade a 'zoom' mark (Obi Wan 9a6ba37489c2): a zoomed block that is also
|
|
34104
|
+
// a grid child getting 'col' would lose the closest('[data-agt-fit="zoom"]')
|
|
34105
|
+
// exclusion, and passes 3 and 4 could wrap or zoom inside it again (a double scale).
|
|
34106
|
+
if (el.getAttribute(MARK) !== 'zoom') el.setAttribute(MARK, mark);
|
|
34107
|
+
}
|
|
34108
|
+
function undoNarrow() {
|
|
34109
|
+
for (var i = touched.length - 1; i >= 0; i--) {
|
|
34110
|
+
touched[i][0].style[touched[i][1]] = touched[i][2];
|
|
34111
|
+
touched[i][0].removeAttribute(MARK);
|
|
34112
|
+
}
|
|
34113
|
+
touched = [];
|
|
34114
|
+
}
|
|
34115
|
+
function overflowing(el, limit) {
|
|
34116
|
+
var r = el.getBoundingClientRect();
|
|
34117
|
+
return r.width > 0 && r.right > limit + 1;
|
|
34118
|
+
}
|
|
34119
|
+
function fitNarrow() {
|
|
34120
|
+
undoNarrow();
|
|
34121
|
+
var slides = stage.querySelectorAll('.slide');
|
|
34122
|
+
for (var j = 0; j < slides.length; j++) {
|
|
34123
|
+
var sl = slides[j], limit = sl.getBoundingClientRect().right;
|
|
34124
|
+
var all = sl.querySelectorAll('*'), k, el, cs;
|
|
34125
|
+
var padR = parseFloat(getComputedStyle(sl).paddingRight) || 0;
|
|
34126
|
+
// A block drawn at a fixed width wider than the column (a cover canvas) is a
|
|
34127
|
+
// picture, not a layout: scale it whole first, and never reflow inside it.
|
|
34128
|
+
for (k = 0; k < all.length; k++) {
|
|
34129
|
+
el = all[k];
|
|
34130
|
+
if (el.closest('[' + MARK + '="zoom"]')) continue;
|
|
34131
|
+
cs = getComputedStyle(el);
|
|
34132
|
+
var fixedW = parseFloat(cs.width);
|
|
34133
|
+
var rr = el.getBoundingClientRect(), room = limit - padR - rr.left;
|
|
34134
|
+
if (/px$/.test(el.style.width || '') || (cs.display !== 'grid' && fixedW > room + 1 && room > 40 && el.children.length > 0 && overflowing(el, limit) && fixedW >= 600)) {
|
|
34135
|
+
if (!overflowing(el, limit) || room <= 40) continue;
|
|
34136
|
+
put(el, 'zoom', Math.max(0.2, room / rr.width), 'zoom');
|
|
34137
|
+
// The slide keeps its full-screen min-height; shrink it to the scaled
|
|
34138
|
+
// picture so there is no empty screen under it. Never below the picture.
|
|
34139
|
+
var sr = sl.getBoundingClientRect(), er = el.getBoundingClientRect();
|
|
34140
|
+
var need = Math.ceil(er.bottom - sr.top + (parseFloat(getComputedStyle(sl).paddingBottom) || 0));
|
|
34141
|
+
if (need > 80 && need < sr.height) put(sl, 'minHeight', need + 'px', 'slide');
|
|
34142
|
+
}
|
|
34143
|
+
}
|
|
34144
|
+
for (k = 0; k < all.length; k++) {
|
|
34145
|
+
el = all[k];
|
|
34146
|
+
if (el.closest('[' + MARK + '="zoom"]')) continue;
|
|
34147
|
+
cs = getComputedStyle(el);
|
|
34148
|
+
if ((cs.display === 'grid' || cs.display === 'inline-grid') && cs.gridTemplateColumns.split(' ').length > 1 &&
|
|
34149
|
+
(el.scrollWidth > el.clientWidth + 1 || overflowing(el, limit))) {
|
|
34150
|
+
// A cell whose content is absolutely positioned took its height from the
|
|
34151
|
+
// row it shared; keep that height, or its drawing collapses on itself.
|
|
34152
|
+
var keep = [];
|
|
34153
|
+
for (var q = 0; q < el.children.length; q++) {
|
|
34154
|
+
var ch = el.children[q], abs = false, ds = ch.querySelectorAll('*');
|
|
34155
|
+
for (var z = 0; z < ds.length && !abs; z++) abs = getComputedStyle(ds[z]).position === 'absolute';
|
|
34156
|
+
keep.push(abs ? ch.getBoundingClientRect().height : 0);
|
|
34157
|
+
}
|
|
34158
|
+
put(el, 'gridTemplateColumns', 'minmax(0,1fr)', 'reflow');
|
|
34159
|
+
for (q = 0; q < el.children.length; q++) {
|
|
34160
|
+
if (keep[q] > 0 && el.children[q].getBoundingClientRect().height < keep[q] - 1) {
|
|
34161
|
+
put(el.children[q], 'minHeight', Math.round(keep[q]) + 'px', 'keep');
|
|
34162
|
+
}
|
|
34163
|
+
}
|
|
34164
|
+
for (var c = 0; c < el.children.length; c++) {
|
|
34165
|
+
if (getComputedStyle(el.children[c]).gridColumnStart !== 'auto') put(el.children[c], 'gridColumn', 'auto', 'col');
|
|
34166
|
+
}
|
|
34167
|
+
} else if (cs.display.indexOf('flex') > -1 && cs.flexDirection.indexOf('row') === 0 && cs.flexWrap === 'nowrap' &&
|
|
34168
|
+
el.children.length > 1 && overflowing(el.lastElementChild || el, limit)) {
|
|
34169
|
+
put(el, 'flexWrap', 'wrap', 'wrap');
|
|
34170
|
+
}
|
|
34171
|
+
}
|
|
34172
|
+
for (k = 0; k < all.length; k++) {
|
|
34173
|
+
el = all[k];
|
|
34174
|
+
if (el.closest('[' + MARK + '="zoom"]')) continue;
|
|
34175
|
+
if (el.children.length === 0 && overflowing(el, limit) && getComputedStyle(el).whiteSpace.indexOf('nowrap') > -1) {
|
|
34176
|
+
put(el, 'whiteSpace', 'normal', 'text');
|
|
34177
|
+
}
|
|
34178
|
+
}
|
|
34179
|
+
for (k = 0; k < all.length; k++) {
|
|
34180
|
+
el = all[k];
|
|
34181
|
+
if (el.closest('[' + MARK + '="zoom"]')) continue;
|
|
34182
|
+
if (!overflowing(el, limit)) continue;
|
|
34183
|
+
var r = el.getBoundingClientRect(), avail = limit - padR - r.left;
|
|
34184
|
+
if (avail <= 40) continue;
|
|
34185
|
+
put(el, 'zoom', Math.max(0.2, avail / r.width), 'zoom');
|
|
34186
|
+
}
|
|
34187
|
+
}
|
|
34188
|
+
}
|
|
34189
|
+
|
|
34190
|
+
// Obi Wan 73a833f8f833: the narrow (stacked) layout depends on WIDTH only, but iOS
|
|
34191
|
+
// fires resize and visualViewport resize as its toolbars collapse during an ordinary
|
|
34192
|
+
// scroll, changing only the height. Re-running fitNarrow there would revert and
|
|
34193
|
+
// re-measure every slide mid-scroll and could make the page jump. So a narrow re-fit
|
|
34194
|
+
// runs only when the width changed, when leaving deck mode, or on load (content sizes).
|
|
34195
|
+
var narrowW = -1;
|
|
34196
|
+
function apply() {
|
|
34197
|
+
try {
|
|
34198
|
+
if (root.classList.contains('deck-js')) {
|
|
34199
|
+
narrowW = -1;
|
|
34200
|
+
undoNarrow();
|
|
34201
|
+
fitDeck();
|
|
34202
|
+
} else {
|
|
34203
|
+
root.classList.remove('agt-fill');
|
|
34204
|
+
stage.style.zoom = stageZoom0;
|
|
34205
|
+
var nw = root.clientWidth || innerWidth;
|
|
34206
|
+
if (nw === narrowW) return;
|
|
34207
|
+
fitNarrow();
|
|
34208
|
+
narrowW = nw;
|
|
34209
|
+
}
|
|
34210
|
+
} catch (e) {
|
|
34211
|
+
// Never break the deck over a fit problem, but leave a trace (and a hook for
|
|
34212
|
+
// tests) rather than swallowing it.
|
|
34213
|
+
window.__agtDeckFitError = String((e && e.message) || e);
|
|
34214
|
+
}
|
|
34215
|
+
}
|
|
34216
|
+
|
|
34217
|
+
var t = 0;
|
|
34218
|
+
function later() {
|
|
34219
|
+
apply();
|
|
34220
|
+
// iOS reports the new size a beat after resize/orientationchange fires.
|
|
34221
|
+
clearTimeout(t);
|
|
34222
|
+
t = setTimeout(apply, 250);
|
|
34223
|
+
if (window.requestAnimationFrame) requestAnimationFrame(apply);
|
|
34224
|
+
}
|
|
34225
|
+
addEventListener('resize', later);
|
|
34226
|
+
addEventListener('orientationchange', later);
|
|
34227
|
+
// Load can change content sizes (images) at the same width, so it always re-fits.
|
|
34228
|
+
addEventListener('load', function () { narrowW = -1; later(); });
|
|
34229
|
+
if (window.visualViewport) visualViewport.addEventListener('resize', later);
|
|
34230
|
+
// Slide changes: keep fill mode scrolled to the top of the new slide.
|
|
34231
|
+
try { new MutationObserver(function () { if (root.classList.contains('agt-fill')) fitDeck(); })
|
|
34232
|
+
.observe(stage, { subtree: true, attributes: true, attributeFilter: ['class'] }); } catch (e) {}
|
|
34233
|
+
later();
|
|
34234
|
+
})();`;
|
|
34235
|
+
var DECK_PHONE_FIT_SOURCE = FIXER.replace("__AGT_MAX_H__", String(DECK_PHONE_FILL_MAX_HEIGHT_PX)).replace("__AGT_MIN_W__", String(DECK_PHONE_FILL_MIN_WIDTH_PX));
|
|
34236
|
+
var DECK_PHONE_FIT_SCRIPT = '<script id="agt-deck-phone-fit-js">' + DECK_PHONE_FIT_SOURCE + "</script>";
|
|
34237
|
+
|
|
34013
34238
|
// ../core/dist/integrations/augmented-live/live-hosts.js
|
|
34014
34239
|
function linkOpenerScript(frameId) {
|
|
34015
34240
|
return 'function alOpenBar(u){var o=document.getElementById("al-open");if(o)o.parentNode.removeChild(o);var b=document.createElement("div");b.id="al-open";b.setAttribute("role","status");b.appendChild(document.createTextNode("Open link to "));var a=document.createElement("a");a.href=u.href;a.target="_blank";a.rel="noopener noreferrer";a.textContent=u.host;a.addEventListener("click",function(){setTimeout(function(){if(b.parentNode)b.parentNode.removeChild(b);},0);});b.appendChild(a);var x=document.createElement("button");x.type="button";x.setAttribute("aria-label","Dismiss");x.textContent="\xD7";x.addEventListener("click",function(){if(b.parentNode)b.parentNode.removeChild(b);});b.appendChild(x);document.body.appendChild(b);}window.addEventListener("message",function(e){var f=document.getElementById(' + JSON.stringify(frameId) + ');if(!f||e.source!==f.contentWindow||e.origin!=="null")return;var d=e.data;if(!d||d.type!=="al-open"||typeof d.url!=="string")return;var u;try{u=new URL(d.url);}catch(x){return;}if(u.protocol!=="https:"||u.username||u.password)return;var w=window.open(u.href,"_blank");if(w){try{w.opener=null;}catch(x){}}else{alOpenBar(u);}});';
|
|
@@ -34072,6 +34297,8 @@ var DOWNLOAD_MOBILE_MIN_HEIGHT_PX = 44;
|
|
|
34072
34297
|
var DECK_ATTRIBUTION_NARROW_BOTTOM_PX = DOWNLOAD_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
34073
34298
|
var VISIBILITY_BOTTOM_PX = DOWNLOAD_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
34074
34299
|
var DECK_ATTRIBUTION_NARROW_WITH_VISIBILITY_BOTTOM_PX = VISIBILITY_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
34300
|
+
var DECK_PRINT_BUTTON_W_PX = 72;
|
|
34301
|
+
var DECK_PHONE_DOWNLOAD_BESIDE_PRINT_LEFT_PX = 16 + DECK_PRINT_BUTTON_W_PX + DECK_CHROME_GAP_PX;
|
|
34075
34302
|
|
|
34076
34303
|
// ../core/dist/integrations/augmented-live/codec.js
|
|
34077
34304
|
var DEFAULT_CHUNK_BUDGET_BYTES = 180 * 1024;
|
|
@@ -39734,6 +39961,25 @@ var FLAG_REGISTRY = [
|
|
|
39734
39961
|
flagType: "boolean",
|
|
39735
39962
|
defaultValue: false
|
|
39736
39963
|
},
|
|
39964
|
+
{
|
|
39965
|
+
key: "kanban-waiting-person-notify",
|
|
39966
|
+
description: `Notify a human teammate, via their preferred channel (Slack DM, else email fallback), when an agent PARKS a kanban card on them - "I still own this and cannot finish until you act" (ENG-8291 / ENG-11974). This is a DIFFERENT ask from human-task-assignment-notify, which covers "this is yours now", where ownership MOVES to the person. Until ENG-11974 one flag gated both, because the park path composes the assignment path's delivery; an org that silenced assignment pings therefore also lost every blocked-on-you message, which is the failure my-waiting.ts measured at a PR sitting 25.5h on a single merge tap. Off = the card is parked silently (it still appears in the recipient's "Awaiting you" queue on My Tasks). Note kanban-waiting-status is a separate gate and governs whether a park may be EMITTED at all; this one governs whether the human is TOLD.`,
|
|
39967
|
+
flagType: "boolean",
|
|
39968
|
+
// Declared safe value is `false`, matching its assignment sibling: fail-closed
|
|
39969
|
+
// is the right direction for a rail that messages a human.
|
|
39970
|
+
//
|
|
39971
|
+
// This default is NOT the deploy-time behaviour, and reading it as such is the
|
|
39972
|
+
// trap. The accompanying migration MIRRORS human-task-assignment-notify onto
|
|
39973
|
+
// this key - whatever that flag's central value is, plus every one of its
|
|
39974
|
+
// overrides at every grain - so no org's effective behaviour changes when
|
|
39975
|
+
// ENG-11974 ships. It deliberately does NOT seed a literal `true`: on a stage
|
|
39976
|
+
// where the old flag has no row, the old gate resolves to `false` and nobody
|
|
39977
|
+
// is being messaged, so a literal `true` would ARM a rail that DMs and emails
|
|
39978
|
+
// real humans on a fleet that never had one. A registry default
|
|
39979
|
+
// renders identically to a measurement - to learn whether this is on for an
|
|
39980
|
+
// org, read feature_flags.value and feature_flag_overrides, never this line.
|
|
39981
|
+
defaultValue: false
|
|
39982
|
+
},
|
|
39737
39983
|
{
|
|
39738
39984
|
key: "resume-reconciler",
|
|
39739
39985
|
description: "Health-gated safe auto-resume for circuit-breaker pauses (ENG-6383, epic ENG-6333). When on, the manager clears a trip only when the dependency has genuinely recovered (status active + MCP present + connectivity ok \u2265 hysteresis), replacing the blind ENG-6088 quiet-timer; when off, the blind timer still governs. Boolean gate; ships dark.",
|
|
@@ -68,12 +68,12 @@ import {
|
|
|
68
68
|
writeDirectChatSessionState,
|
|
69
69
|
writeEgressAllowlist,
|
|
70
70
|
writePersistentClaudeWrapper
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import "./chunk-
|
|
71
|
+
} from "./chunk-74FVXAHG.js";
|
|
72
|
+
import "./chunk-AZ2QBMCL.js";
|
|
73
73
|
import "./chunk-HYQ7VOC3.js";
|
|
74
74
|
import "./chunk-6HBXEJHO.js";
|
|
75
75
|
import "./chunk-XWVM4KPK.js";
|
|
76
|
-
import "./chunk-
|
|
76
|
+
import "./chunk-NPW4S55O.js";
|
|
77
77
|
import "./chunk-AIUIMEUS.js";
|
|
78
78
|
import "./chunk-DGUM43GV.js";
|
|
79
79
|
export {
|
|
@@ -147,4 +147,4 @@ export {
|
|
|
147
147
|
writeEgressAllowlist,
|
|
148
148
|
writePersistentClaudeWrapper
|
|
149
149
|
};
|
|
150
|
-
//# sourceMappingURL=persistent-session-
|
|
150
|
+
//# sourceMappingURL=persistent-session-YS5LY7YD.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-74FVXAHG.js";
|
|
4
|
+
import "./chunk-AZ2QBMCL.js";
|
|
5
5
|
import "./chunk-HYQ7VOC3.js";
|
|
6
6
|
import "./chunk-6HBXEJHO.js";
|
|
7
7
|
import "./chunk-XWVM4KPK.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-NPW4S55O.js";
|
|
9
9
|
import "./chunk-AIUIMEUS.js";
|
|
10
10
|
import "./chunk-DGUM43GV.js";
|
|
11
11
|
|
|
@@ -804,4 +804,4 @@ export {
|
|
|
804
804
|
readAndResetSlackReplyBindingClassifications,
|
|
805
805
|
readAndResetSlackReplyTargetClassifications
|
|
806
806
|
};
|
|
807
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
807
|
+
//# sourceMappingURL=responsiveness-probe-C3SSBQCL.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-AZ2QBMCL.js";
|
|
4
|
+
import "./chunk-NPW4S55O.js";
|
|
5
5
|
import "./chunk-DGUM43GV.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/session-auth-dead.ts
|
|
@@ -205,4 +205,4 @@ export {
|
|
|
205
205
|
decideSessionAuthState,
|
|
206
206
|
probeSessionAuth
|
|
207
207
|
};
|
|
208
|
-
//# sourceMappingURL=session-auth-dead-
|
|
208
|
+
//# sourceMappingURL=session-auth-dead-3GT7MM6J.js.map
|