@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
package/dist/mcp/index.js
CHANGED
|
@@ -23312,6 +23312,16 @@ var integration_metadata_v1_default = {
|
|
|
23312
23312
|
enum: ["basic_username", "basic_pair", "raw"],
|
|
23313
23313
|
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`."
|
|
23314
23314
|
},
|
|
23315
|
+
token_exchange: {
|
|
23316
|
+
type: "object",
|
|
23317
|
+
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.",
|
|
23318
|
+
additionalProperties: false,
|
|
23319
|
+
required: ["token_url", "scope"],
|
|
23320
|
+
properties: {
|
|
23321
|
+
token_url: { type: "string", pattern: "^https://[^\\s]+$" },
|
|
23322
|
+
scope: { type: "string", minLength: 1 }
|
|
23323
|
+
}
|
|
23324
|
+
},
|
|
23315
23325
|
runtime_scopes: {
|
|
23316
23326
|
type: "object",
|
|
23317
23327
|
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.",
|
|
@@ -23372,8 +23382,13 @@ var integration_metadata_v1_default = {
|
|
|
23372
23382
|
anyOf: [{ required: ["base_url"] }, { required: ["base_url_template"] }]
|
|
23373
23383
|
},
|
|
23374
23384
|
not: {
|
|
23375
|
-
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.",
|
|
23376
|
-
|
|
23385
|
+
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.",
|
|
23386
|
+
anyOf: [
|
|
23387
|
+
{ required: ["auth_scheme", "auth_encoding"] },
|
|
23388
|
+
{ required: ["token_exchange", "auth_scheme"] },
|
|
23389
|
+
{ required: ["token_exchange", "auth_encoding"] },
|
|
23390
|
+
{ required: ["token_exchange", "config_arg_defaults"] }
|
|
23391
|
+
]
|
|
23377
23392
|
},
|
|
23378
23393
|
$defs: {
|
|
23379
23394
|
scopeConfig: {
|
|
@@ -25319,6 +25334,216 @@ var MARKUP_BRIDGE_SCRIPT = `<script>(function(){
|
|
|
25319
25334
|
});
|
|
25320
25335
|
})();</script>`;
|
|
25321
25336
|
|
|
25337
|
+
// ../core/dist/integrations/augmented-live/deck-phone-fit.js
|
|
25338
|
+
var DECK_PHONE_FILL_MAX_HEIGHT_PX = 500;
|
|
25339
|
+
var DECK_PHONE_FILL_MIN_WIDTH_PX = 560;
|
|
25340
|
+
var FIXER = String.raw`(function () {
|
|
25341
|
+
// ENG-8819: phone fit for Ninja Canvas slide decks, injected by the viewer shell so it
|
|
25342
|
+
// reaches decks that are already published. Acts only on a deck (a #stage holding
|
|
25343
|
+
// .slide elements); every other page is left alone.
|
|
25344
|
+
var stage = document.getElementById('stage');
|
|
25345
|
+
if (!stage || !stage.querySelector('.slide')) return;
|
|
25346
|
+
var root = document.documentElement;
|
|
25347
|
+
var css = document.createElement('style');
|
|
25348
|
+
css.id = 'agt-deck-phone-fit';
|
|
25349
|
+
css.textContent =
|
|
25350
|
+
// The stage is a flex item in deck mode. Without this it shrinks to the viewport
|
|
25351
|
+
// width before it is scaled, so a phone in landscape got a narrow, clipped slide.
|
|
25352
|
+
'html.deck-js #stage{flex-shrink:0}' +
|
|
25353
|
+
// Fill-width mode (short landscape screens): the slide is wider than tall enough
|
|
25354
|
+
// to fit, so let the page scroll vertically instead of letterboxing it.
|
|
25355
|
+
'html.deck-js.agt-fill,html.deck-js.agt-fill body{height:auto;min-height:100%;overflow-x:hidden;overflow-y:auto}' +
|
|
25356
|
+
'html.deck-js.agt-fill body{display:block}' +
|
|
25357
|
+
'html.deck-js.agt-fill #stage{transform:none!important;transform-origin:0 0}' +
|
|
25358
|
+
// Room to scroll the end of the page clear of the viewer chrome fixed along the
|
|
25359
|
+
// bottom edge (the HUD row in landscape; Download and the badge in portrait).
|
|
25360
|
+
'html.deck-js.agt-fill body{padding-bottom:76px}' +
|
|
25361
|
+
'html:not(.deck-js) body{padding-bottom:124px}' +
|
|
25362
|
+
// Portrait reads as a scrolling page, so the rotate prompt is not needed (and sat on
|
|
25363
|
+
// top of the viewer Download button).
|
|
25364
|
+
'html:not(.deck-js) #rotate-hint{display:none!important}';
|
|
25365
|
+
(document.head || root).appendChild(css);
|
|
25366
|
+
|
|
25367
|
+
// Shared with the shell's chrome CSS (deckPhoneChromeCss), so the slide only fills
|
|
25368
|
+
// the width where the shell has also moved Download and the badge out of its way.
|
|
25369
|
+
var PHONE_MAX_H = __AGT_MAX_H__, PHONE_MIN_W = __AGT_MIN_W__;
|
|
25370
|
+
var stageZoom0 = stage.style.zoom;
|
|
25371
|
+
var lastSlide = -1;
|
|
25372
|
+
|
|
25373
|
+
function activeIndex() {
|
|
25374
|
+
var s = stage.querySelectorAll('.slide');
|
|
25375
|
+
for (var i = 0; i < s.length; i++) if (s[i].classList.contains('is-active')) return i;
|
|
25376
|
+
return -1;
|
|
25377
|
+
}
|
|
25378
|
+
|
|
25379
|
+
function fitDeck() {
|
|
25380
|
+
var w = innerWidth, h = innerHeight;
|
|
25381
|
+
// The canvas is whatever the deck declares (1280x720 in the skeleton, but a deck
|
|
25382
|
+
// may set its own), read from layout: transform does not change offsetWidth.
|
|
25383
|
+
stage.style.zoom = stageZoom0;
|
|
25384
|
+
var cw = stage.offsetWidth || 1280, ch = stage.offsetHeight || 720;
|
|
25385
|
+
// Height binds when the window is wider than the canvas. On a phone in landscape
|
|
25386
|
+
// that left a third of the screen empty; fill the width and scroll instead.
|
|
25387
|
+
var fill = w / h > cw / ch && h <= PHONE_MAX_H && w >= PHONE_MIN_W;
|
|
25388
|
+
root.classList.toggle('agt-fill', fill);
|
|
25389
|
+
// Scale to the width the page actually lays out in. innerWidth includes a classic
|
|
25390
|
+
// (non-overlay) scrollbar, and fill mode always scrolls, so on a short desktop
|
|
25391
|
+
// window that would push the slide's right edge under overflow-x:hidden. Read after
|
|
25392
|
+
// the class is on, so the scrollbar it turns on is already taken out.
|
|
25393
|
+
if (fill) stage.style.zoom = (root.clientWidth || w) / cw;
|
|
25394
|
+
var a = activeIndex();
|
|
25395
|
+
if (fill && a !== lastSlide) scrollTo(0, 0);
|
|
25396
|
+
lastSlide = a;
|
|
25397
|
+
}
|
|
25398
|
+
|
|
25399
|
+
// Narrow (portrait) mode stacks the slides as a page, but a slide authored for
|
|
25400
|
+
// 1280px still carries blocks that do not fit 390px, and they were clipped at the
|
|
25401
|
+
// right edge. In order, least destructive first: a multi-column grid becomes one
|
|
25402
|
+
// column, unwrappable text wraps, and only what still overflows (a cover canvas,
|
|
25403
|
+
// a diagram drawn at a fixed size) is scaled down to fit.
|
|
25404
|
+
var MARK = 'data-agt-fit';
|
|
25405
|
+
// Every inline value the narrow pass overwrites is recorded first and put back on
|
|
25406
|
+
// undo. Clearing to '' instead would wipe a deck's own inline layout (a
|
|
25407
|
+
// style="grid-template-columns:..." slide) the first time the phone rotated.
|
|
25408
|
+
var touched = [];
|
|
25409
|
+
function put(el, prop, val, mark) {
|
|
25410
|
+
touched.push([el, prop, el.style[prop]]);
|
|
25411
|
+
el.style[prop] = val;
|
|
25412
|
+
// Never downgrade a 'zoom' mark (Obi Wan 9a6ba37489c2): a zoomed block that is also
|
|
25413
|
+
// a grid child getting 'col' would lose the closest('[data-agt-fit="zoom"]')
|
|
25414
|
+
// exclusion, and passes 3 and 4 could wrap or zoom inside it again (a double scale).
|
|
25415
|
+
if (el.getAttribute(MARK) !== 'zoom') el.setAttribute(MARK, mark);
|
|
25416
|
+
}
|
|
25417
|
+
function undoNarrow() {
|
|
25418
|
+
for (var i = touched.length - 1; i >= 0; i--) {
|
|
25419
|
+
touched[i][0].style[touched[i][1]] = touched[i][2];
|
|
25420
|
+
touched[i][0].removeAttribute(MARK);
|
|
25421
|
+
}
|
|
25422
|
+
touched = [];
|
|
25423
|
+
}
|
|
25424
|
+
function overflowing(el, limit) {
|
|
25425
|
+
var r = el.getBoundingClientRect();
|
|
25426
|
+
return r.width > 0 && r.right > limit + 1;
|
|
25427
|
+
}
|
|
25428
|
+
function fitNarrow() {
|
|
25429
|
+
undoNarrow();
|
|
25430
|
+
var slides = stage.querySelectorAll('.slide');
|
|
25431
|
+
for (var j = 0; j < slides.length; j++) {
|
|
25432
|
+
var sl = slides[j], limit = sl.getBoundingClientRect().right;
|
|
25433
|
+
var all = sl.querySelectorAll('*'), k, el, cs;
|
|
25434
|
+
var padR = parseFloat(getComputedStyle(sl).paddingRight) || 0;
|
|
25435
|
+
// A block drawn at a fixed width wider than the column (a cover canvas) is a
|
|
25436
|
+
// picture, not a layout: scale it whole first, and never reflow inside it.
|
|
25437
|
+
for (k = 0; k < all.length; k++) {
|
|
25438
|
+
el = all[k];
|
|
25439
|
+
if (el.closest('[' + MARK + '="zoom"]')) continue;
|
|
25440
|
+
cs = getComputedStyle(el);
|
|
25441
|
+
var fixedW = parseFloat(cs.width);
|
|
25442
|
+
var rr = el.getBoundingClientRect(), room = limit - padR - rr.left;
|
|
25443
|
+
if (/px$/.test(el.style.width || '') || (cs.display !== 'grid' && fixedW > room + 1 && room > 40 && el.children.length > 0 && overflowing(el, limit) && fixedW >= 600)) {
|
|
25444
|
+
if (!overflowing(el, limit) || room <= 40) continue;
|
|
25445
|
+
put(el, 'zoom', Math.max(0.2, room / rr.width), 'zoom');
|
|
25446
|
+
// The slide keeps its full-screen min-height; shrink it to the scaled
|
|
25447
|
+
// picture so there is no empty screen under it. Never below the picture.
|
|
25448
|
+
var sr = sl.getBoundingClientRect(), er = el.getBoundingClientRect();
|
|
25449
|
+
var need = Math.ceil(er.bottom - sr.top + (parseFloat(getComputedStyle(sl).paddingBottom) || 0));
|
|
25450
|
+
if (need > 80 && need < sr.height) put(sl, 'minHeight', need + 'px', 'slide');
|
|
25451
|
+
}
|
|
25452
|
+
}
|
|
25453
|
+
for (k = 0; k < all.length; k++) {
|
|
25454
|
+
el = all[k];
|
|
25455
|
+
if (el.closest('[' + MARK + '="zoom"]')) continue;
|
|
25456
|
+
cs = getComputedStyle(el);
|
|
25457
|
+
if ((cs.display === 'grid' || cs.display === 'inline-grid') && cs.gridTemplateColumns.split(' ').length > 1 &&
|
|
25458
|
+
(el.scrollWidth > el.clientWidth + 1 || overflowing(el, limit))) {
|
|
25459
|
+
// A cell whose content is absolutely positioned took its height from the
|
|
25460
|
+
// row it shared; keep that height, or its drawing collapses on itself.
|
|
25461
|
+
var keep = [];
|
|
25462
|
+
for (var q = 0; q < el.children.length; q++) {
|
|
25463
|
+
var ch = el.children[q], abs = false, ds = ch.querySelectorAll('*');
|
|
25464
|
+
for (var z = 0; z < ds.length && !abs; z++) abs = getComputedStyle(ds[z]).position === 'absolute';
|
|
25465
|
+
keep.push(abs ? ch.getBoundingClientRect().height : 0);
|
|
25466
|
+
}
|
|
25467
|
+
put(el, 'gridTemplateColumns', 'minmax(0,1fr)', 'reflow');
|
|
25468
|
+
for (q = 0; q < el.children.length; q++) {
|
|
25469
|
+
if (keep[q] > 0 && el.children[q].getBoundingClientRect().height < keep[q] - 1) {
|
|
25470
|
+
put(el.children[q], 'minHeight', Math.round(keep[q]) + 'px', 'keep');
|
|
25471
|
+
}
|
|
25472
|
+
}
|
|
25473
|
+
for (var c = 0; c < el.children.length; c++) {
|
|
25474
|
+
if (getComputedStyle(el.children[c]).gridColumnStart !== 'auto') put(el.children[c], 'gridColumn', 'auto', 'col');
|
|
25475
|
+
}
|
|
25476
|
+
} else if (cs.display.indexOf('flex') > -1 && cs.flexDirection.indexOf('row') === 0 && cs.flexWrap === 'nowrap' &&
|
|
25477
|
+
el.children.length > 1 && overflowing(el.lastElementChild || el, limit)) {
|
|
25478
|
+
put(el, 'flexWrap', 'wrap', 'wrap');
|
|
25479
|
+
}
|
|
25480
|
+
}
|
|
25481
|
+
for (k = 0; k < all.length; k++) {
|
|
25482
|
+
el = all[k];
|
|
25483
|
+
if (el.closest('[' + MARK + '="zoom"]')) continue;
|
|
25484
|
+
if (el.children.length === 0 && overflowing(el, limit) && getComputedStyle(el).whiteSpace.indexOf('nowrap') > -1) {
|
|
25485
|
+
put(el, 'whiteSpace', 'normal', 'text');
|
|
25486
|
+
}
|
|
25487
|
+
}
|
|
25488
|
+
for (k = 0; k < all.length; k++) {
|
|
25489
|
+
el = all[k];
|
|
25490
|
+
if (el.closest('[' + MARK + '="zoom"]')) continue;
|
|
25491
|
+
if (!overflowing(el, limit)) continue;
|
|
25492
|
+
var r = el.getBoundingClientRect(), avail = limit - padR - r.left;
|
|
25493
|
+
if (avail <= 40) continue;
|
|
25494
|
+
put(el, 'zoom', Math.max(0.2, avail / r.width), 'zoom');
|
|
25495
|
+
}
|
|
25496
|
+
}
|
|
25497
|
+
}
|
|
25498
|
+
|
|
25499
|
+
// Obi Wan 73a833f8f833: the narrow (stacked) layout depends on WIDTH only, but iOS
|
|
25500
|
+
// fires resize and visualViewport resize as its toolbars collapse during an ordinary
|
|
25501
|
+
// scroll, changing only the height. Re-running fitNarrow there would revert and
|
|
25502
|
+
// re-measure every slide mid-scroll and could make the page jump. So a narrow re-fit
|
|
25503
|
+
// runs only when the width changed, when leaving deck mode, or on load (content sizes).
|
|
25504
|
+
var narrowW = -1;
|
|
25505
|
+
function apply() {
|
|
25506
|
+
try {
|
|
25507
|
+
if (root.classList.contains('deck-js')) {
|
|
25508
|
+
narrowW = -1;
|
|
25509
|
+
undoNarrow();
|
|
25510
|
+
fitDeck();
|
|
25511
|
+
} else {
|
|
25512
|
+
root.classList.remove('agt-fill');
|
|
25513
|
+
stage.style.zoom = stageZoom0;
|
|
25514
|
+
var nw = root.clientWidth || innerWidth;
|
|
25515
|
+
if (nw === narrowW) return;
|
|
25516
|
+
fitNarrow();
|
|
25517
|
+
narrowW = nw;
|
|
25518
|
+
}
|
|
25519
|
+
} catch (e) {
|
|
25520
|
+
// Never break the deck over a fit problem, but leave a trace (and a hook for
|
|
25521
|
+
// tests) rather than swallowing it.
|
|
25522
|
+
window.__agtDeckFitError = String((e && e.message) || e);
|
|
25523
|
+
}
|
|
25524
|
+
}
|
|
25525
|
+
|
|
25526
|
+
var t = 0;
|
|
25527
|
+
function later() {
|
|
25528
|
+
apply();
|
|
25529
|
+
// iOS reports the new size a beat after resize/orientationchange fires.
|
|
25530
|
+
clearTimeout(t);
|
|
25531
|
+
t = setTimeout(apply, 250);
|
|
25532
|
+
if (window.requestAnimationFrame) requestAnimationFrame(apply);
|
|
25533
|
+
}
|
|
25534
|
+
addEventListener('resize', later);
|
|
25535
|
+
addEventListener('orientationchange', later);
|
|
25536
|
+
// Load can change content sizes (images) at the same width, so it always re-fits.
|
|
25537
|
+
addEventListener('load', function () { narrowW = -1; later(); });
|
|
25538
|
+
if (window.visualViewport) visualViewport.addEventListener('resize', later);
|
|
25539
|
+
// Slide changes: keep fill mode scrolled to the top of the new slide.
|
|
25540
|
+
try { new MutationObserver(function () { if (root.classList.contains('agt-fill')) fitDeck(); })
|
|
25541
|
+
.observe(stage, { subtree: true, attributes: true, attributeFilter: ['class'] }); } catch (e) {}
|
|
25542
|
+
later();
|
|
25543
|
+
})();`;
|
|
25544
|
+
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));
|
|
25545
|
+
var DECK_PHONE_FIT_SCRIPT = '<script id="agt-deck-phone-fit-js">' + DECK_PHONE_FIT_SOURCE + "</script>";
|
|
25546
|
+
|
|
25322
25547
|
// ../core/dist/integrations/augmented-live/live-hosts.js
|
|
25323
25548
|
function linkOpenerScript(frameId) {
|
|
25324
25549
|
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);}});';
|
|
@@ -25381,6 +25606,8 @@ var DOWNLOAD_MOBILE_MIN_HEIGHT_PX = 44;
|
|
|
25381
25606
|
var DECK_ATTRIBUTION_NARROW_BOTTOM_PX = DOWNLOAD_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
25382
25607
|
var VISIBILITY_BOTTOM_PX = DOWNLOAD_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
25383
25608
|
var DECK_ATTRIBUTION_NARROW_WITH_VISIBILITY_BOTTOM_PX = VISIBILITY_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
25609
|
+
var DECK_PRINT_BUTTON_W_PX = 72;
|
|
25610
|
+
var DECK_PHONE_DOWNLOAD_BESIDE_PRINT_LEFT_PX = 16 + DECK_PRINT_BUTTON_W_PX + DECK_CHROME_GAP_PX;
|
|
25384
25611
|
|
|
25385
25612
|
// ../core/dist/integrations/augmented-live/codec.js
|
|
25386
25613
|
var DEFAULT_CHUNK_BUDGET_BYTES = 180 * 1024;
|
|
@@ -30886,6 +31113,25 @@ var FLAG_REGISTRY = [
|
|
|
30886
31113
|
flagType: "boolean",
|
|
30887
31114
|
defaultValue: false
|
|
30888
31115
|
},
|
|
31116
|
+
{
|
|
31117
|
+
key: "kanban-waiting-person-notify",
|
|
31118
|
+
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.`,
|
|
31119
|
+
flagType: "boolean",
|
|
31120
|
+
// Declared safe value is `false`, matching its assignment sibling: fail-closed
|
|
31121
|
+
// is the right direction for a rail that messages a human.
|
|
31122
|
+
//
|
|
31123
|
+
// This default is NOT the deploy-time behaviour, and reading it as such is the
|
|
31124
|
+
// trap. The accompanying migration MIRRORS human-task-assignment-notify onto
|
|
31125
|
+
// this key - whatever that flag's central value is, plus every one of its
|
|
31126
|
+
// overrides at every grain - so no org's effective behaviour changes when
|
|
31127
|
+
// ENG-11974 ships. It deliberately does NOT seed a literal `true`: on a stage
|
|
31128
|
+
// where the old flag has no row, the old gate resolves to `false` and nobody
|
|
31129
|
+
// is being messaged, so a literal `true` would ARM a rail that DMs and emails
|
|
31130
|
+
// real humans on a fleet that never had one. A registry default
|
|
31131
|
+
// renders identically to a measurement - to learn whether this is on for an
|
|
31132
|
+
// org, read feature_flags.value and feature_flag_overrides, never this line.
|
|
31133
|
+
defaultValue: false
|
|
31134
|
+
},
|
|
30889
31135
|
{
|
|
30890
31136
|
key: "resume-reconciler",
|
|
30891
31137
|
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.",
|
package/dist/mcp/origami.js
CHANGED
|
@@ -37177,6 +37177,16 @@ var integration_metadata_v1_default = {
|
|
|
37177
37177
|
enum: ["basic_username", "basic_pair", "raw"],
|
|
37178
37178
|
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`."
|
|
37179
37179
|
},
|
|
37180
|
+
token_exchange: {
|
|
37181
|
+
type: "object",
|
|
37182
|
+
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.",
|
|
37183
|
+
additionalProperties: false,
|
|
37184
|
+
required: ["token_url", "scope"],
|
|
37185
|
+
properties: {
|
|
37186
|
+
token_url: { type: "string", pattern: "^https://[^\\s]+$" },
|
|
37187
|
+
scope: { type: "string", minLength: 1 }
|
|
37188
|
+
}
|
|
37189
|
+
},
|
|
37180
37190
|
runtime_scopes: {
|
|
37181
37191
|
type: "object",
|
|
37182
37192
|
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.",
|
|
@@ -37237,8 +37247,13 @@ var integration_metadata_v1_default = {
|
|
|
37237
37247
|
anyOf: [{ required: ["base_url"] }, { required: ["base_url_template"] }]
|
|
37238
37248
|
},
|
|
37239
37249
|
not: {
|
|
37240
|
-
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.",
|
|
37241
|
-
|
|
37250
|
+
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.",
|
|
37251
|
+
anyOf: [
|
|
37252
|
+
{ required: ["auth_scheme", "auth_encoding"] },
|
|
37253
|
+
{ required: ["token_exchange", "auth_scheme"] },
|
|
37254
|
+
{ required: ["token_exchange", "auth_encoding"] },
|
|
37255
|
+
{ required: ["token_exchange", "config_arg_defaults"] }
|
|
37256
|
+
]
|
|
37242
37257
|
},
|
|
37243
37258
|
$defs: {
|
|
37244
37259
|
scopeConfig: {
|
|
@@ -39380,6 +39395,216 @@ var MARKUP_BRIDGE_SCRIPT = `<script>(function(){
|
|
|
39380
39395
|
});
|
|
39381
39396
|
})();</script>`;
|
|
39382
39397
|
|
|
39398
|
+
// ../core/dist/integrations/augmented-live/deck-phone-fit.js
|
|
39399
|
+
var DECK_PHONE_FILL_MAX_HEIGHT_PX = 500;
|
|
39400
|
+
var DECK_PHONE_FILL_MIN_WIDTH_PX = 560;
|
|
39401
|
+
var FIXER = String.raw`(function () {
|
|
39402
|
+
// ENG-8819: phone fit for Ninja Canvas slide decks, injected by the viewer shell so it
|
|
39403
|
+
// reaches decks that are already published. Acts only on a deck (a #stage holding
|
|
39404
|
+
// .slide elements); every other page is left alone.
|
|
39405
|
+
var stage = document.getElementById('stage');
|
|
39406
|
+
if (!stage || !stage.querySelector('.slide')) return;
|
|
39407
|
+
var root = document.documentElement;
|
|
39408
|
+
var css = document.createElement('style');
|
|
39409
|
+
css.id = 'agt-deck-phone-fit';
|
|
39410
|
+
css.textContent =
|
|
39411
|
+
// The stage is a flex item in deck mode. Without this it shrinks to the viewport
|
|
39412
|
+
// width before it is scaled, so a phone in landscape got a narrow, clipped slide.
|
|
39413
|
+
'html.deck-js #stage{flex-shrink:0}' +
|
|
39414
|
+
// Fill-width mode (short landscape screens): the slide is wider than tall enough
|
|
39415
|
+
// to fit, so let the page scroll vertically instead of letterboxing it.
|
|
39416
|
+
'html.deck-js.agt-fill,html.deck-js.agt-fill body{height:auto;min-height:100%;overflow-x:hidden;overflow-y:auto}' +
|
|
39417
|
+
'html.deck-js.agt-fill body{display:block}' +
|
|
39418
|
+
'html.deck-js.agt-fill #stage{transform:none!important;transform-origin:0 0}' +
|
|
39419
|
+
// Room to scroll the end of the page clear of the viewer chrome fixed along the
|
|
39420
|
+
// bottom edge (the HUD row in landscape; Download and the badge in portrait).
|
|
39421
|
+
'html.deck-js.agt-fill body{padding-bottom:76px}' +
|
|
39422
|
+
'html:not(.deck-js) body{padding-bottom:124px}' +
|
|
39423
|
+
// Portrait reads as a scrolling page, so the rotate prompt is not needed (and sat on
|
|
39424
|
+
// top of the viewer Download button).
|
|
39425
|
+
'html:not(.deck-js) #rotate-hint{display:none!important}';
|
|
39426
|
+
(document.head || root).appendChild(css);
|
|
39427
|
+
|
|
39428
|
+
// Shared with the shell's chrome CSS (deckPhoneChromeCss), so the slide only fills
|
|
39429
|
+
// the width where the shell has also moved Download and the badge out of its way.
|
|
39430
|
+
var PHONE_MAX_H = __AGT_MAX_H__, PHONE_MIN_W = __AGT_MIN_W__;
|
|
39431
|
+
var stageZoom0 = stage.style.zoom;
|
|
39432
|
+
var lastSlide = -1;
|
|
39433
|
+
|
|
39434
|
+
function activeIndex() {
|
|
39435
|
+
var s = stage.querySelectorAll('.slide');
|
|
39436
|
+
for (var i = 0; i < s.length; i++) if (s[i].classList.contains('is-active')) return i;
|
|
39437
|
+
return -1;
|
|
39438
|
+
}
|
|
39439
|
+
|
|
39440
|
+
function fitDeck() {
|
|
39441
|
+
var w = innerWidth, h = innerHeight;
|
|
39442
|
+
// The canvas is whatever the deck declares (1280x720 in the skeleton, but a deck
|
|
39443
|
+
// may set its own), read from layout: transform does not change offsetWidth.
|
|
39444
|
+
stage.style.zoom = stageZoom0;
|
|
39445
|
+
var cw = stage.offsetWidth || 1280, ch = stage.offsetHeight || 720;
|
|
39446
|
+
// Height binds when the window is wider than the canvas. On a phone in landscape
|
|
39447
|
+
// that left a third of the screen empty; fill the width and scroll instead.
|
|
39448
|
+
var fill = w / h > cw / ch && h <= PHONE_MAX_H && w >= PHONE_MIN_W;
|
|
39449
|
+
root.classList.toggle('agt-fill', fill);
|
|
39450
|
+
// Scale to the width the page actually lays out in. innerWidth includes a classic
|
|
39451
|
+
// (non-overlay) scrollbar, and fill mode always scrolls, so on a short desktop
|
|
39452
|
+
// window that would push the slide's right edge under overflow-x:hidden. Read after
|
|
39453
|
+
// the class is on, so the scrollbar it turns on is already taken out.
|
|
39454
|
+
if (fill) stage.style.zoom = (root.clientWidth || w) / cw;
|
|
39455
|
+
var a = activeIndex();
|
|
39456
|
+
if (fill && a !== lastSlide) scrollTo(0, 0);
|
|
39457
|
+
lastSlide = a;
|
|
39458
|
+
}
|
|
39459
|
+
|
|
39460
|
+
// Narrow (portrait) mode stacks the slides as a page, but a slide authored for
|
|
39461
|
+
// 1280px still carries blocks that do not fit 390px, and they were clipped at the
|
|
39462
|
+
// right edge. In order, least destructive first: a multi-column grid becomes one
|
|
39463
|
+
// column, unwrappable text wraps, and only what still overflows (a cover canvas,
|
|
39464
|
+
// a diagram drawn at a fixed size) is scaled down to fit.
|
|
39465
|
+
var MARK = 'data-agt-fit';
|
|
39466
|
+
// Every inline value the narrow pass overwrites is recorded first and put back on
|
|
39467
|
+
// undo. Clearing to '' instead would wipe a deck's own inline layout (a
|
|
39468
|
+
// style="grid-template-columns:..." slide) the first time the phone rotated.
|
|
39469
|
+
var touched = [];
|
|
39470
|
+
function put(el, prop, val, mark) {
|
|
39471
|
+
touched.push([el, prop, el.style[prop]]);
|
|
39472
|
+
el.style[prop] = val;
|
|
39473
|
+
// Never downgrade a 'zoom' mark (Obi Wan 9a6ba37489c2): a zoomed block that is also
|
|
39474
|
+
// a grid child getting 'col' would lose the closest('[data-agt-fit="zoom"]')
|
|
39475
|
+
// exclusion, and passes 3 and 4 could wrap or zoom inside it again (a double scale).
|
|
39476
|
+
if (el.getAttribute(MARK) !== 'zoom') el.setAttribute(MARK, mark);
|
|
39477
|
+
}
|
|
39478
|
+
function undoNarrow() {
|
|
39479
|
+
for (var i = touched.length - 1; i >= 0; i--) {
|
|
39480
|
+
touched[i][0].style[touched[i][1]] = touched[i][2];
|
|
39481
|
+
touched[i][0].removeAttribute(MARK);
|
|
39482
|
+
}
|
|
39483
|
+
touched = [];
|
|
39484
|
+
}
|
|
39485
|
+
function overflowing(el, limit) {
|
|
39486
|
+
var r = el.getBoundingClientRect();
|
|
39487
|
+
return r.width > 0 && r.right > limit + 1;
|
|
39488
|
+
}
|
|
39489
|
+
function fitNarrow() {
|
|
39490
|
+
undoNarrow();
|
|
39491
|
+
var slides = stage.querySelectorAll('.slide');
|
|
39492
|
+
for (var j = 0; j < slides.length; j++) {
|
|
39493
|
+
var sl = slides[j], limit = sl.getBoundingClientRect().right;
|
|
39494
|
+
var all = sl.querySelectorAll('*'), k, el, cs;
|
|
39495
|
+
var padR = parseFloat(getComputedStyle(sl).paddingRight) || 0;
|
|
39496
|
+
// A block drawn at a fixed width wider than the column (a cover canvas) is a
|
|
39497
|
+
// picture, not a layout: scale it whole first, and never reflow inside it.
|
|
39498
|
+
for (k = 0; k < all.length; k++) {
|
|
39499
|
+
el = all[k];
|
|
39500
|
+
if (el.closest('[' + MARK + '="zoom"]')) continue;
|
|
39501
|
+
cs = getComputedStyle(el);
|
|
39502
|
+
var fixedW = parseFloat(cs.width);
|
|
39503
|
+
var rr = el.getBoundingClientRect(), room = limit - padR - rr.left;
|
|
39504
|
+
if (/px$/.test(el.style.width || '') || (cs.display !== 'grid' && fixedW > room + 1 && room > 40 && el.children.length > 0 && overflowing(el, limit) && fixedW >= 600)) {
|
|
39505
|
+
if (!overflowing(el, limit) || room <= 40) continue;
|
|
39506
|
+
put(el, 'zoom', Math.max(0.2, room / rr.width), 'zoom');
|
|
39507
|
+
// The slide keeps its full-screen min-height; shrink it to the scaled
|
|
39508
|
+
// picture so there is no empty screen under it. Never below the picture.
|
|
39509
|
+
var sr = sl.getBoundingClientRect(), er = el.getBoundingClientRect();
|
|
39510
|
+
var need = Math.ceil(er.bottom - sr.top + (parseFloat(getComputedStyle(sl).paddingBottom) || 0));
|
|
39511
|
+
if (need > 80 && need < sr.height) put(sl, 'minHeight', need + 'px', 'slide');
|
|
39512
|
+
}
|
|
39513
|
+
}
|
|
39514
|
+
for (k = 0; k < all.length; k++) {
|
|
39515
|
+
el = all[k];
|
|
39516
|
+
if (el.closest('[' + MARK + '="zoom"]')) continue;
|
|
39517
|
+
cs = getComputedStyle(el);
|
|
39518
|
+
if ((cs.display === 'grid' || cs.display === 'inline-grid') && cs.gridTemplateColumns.split(' ').length > 1 &&
|
|
39519
|
+
(el.scrollWidth > el.clientWidth + 1 || overflowing(el, limit))) {
|
|
39520
|
+
// A cell whose content is absolutely positioned took its height from the
|
|
39521
|
+
// row it shared; keep that height, or its drawing collapses on itself.
|
|
39522
|
+
var keep = [];
|
|
39523
|
+
for (var q = 0; q < el.children.length; q++) {
|
|
39524
|
+
var ch = el.children[q], abs = false, ds = ch.querySelectorAll('*');
|
|
39525
|
+
for (var z = 0; z < ds.length && !abs; z++) abs = getComputedStyle(ds[z]).position === 'absolute';
|
|
39526
|
+
keep.push(abs ? ch.getBoundingClientRect().height : 0);
|
|
39527
|
+
}
|
|
39528
|
+
put(el, 'gridTemplateColumns', 'minmax(0,1fr)', 'reflow');
|
|
39529
|
+
for (q = 0; q < el.children.length; q++) {
|
|
39530
|
+
if (keep[q] > 0 && el.children[q].getBoundingClientRect().height < keep[q] - 1) {
|
|
39531
|
+
put(el.children[q], 'minHeight', Math.round(keep[q]) + 'px', 'keep');
|
|
39532
|
+
}
|
|
39533
|
+
}
|
|
39534
|
+
for (var c = 0; c < el.children.length; c++) {
|
|
39535
|
+
if (getComputedStyle(el.children[c]).gridColumnStart !== 'auto') put(el.children[c], 'gridColumn', 'auto', 'col');
|
|
39536
|
+
}
|
|
39537
|
+
} else if (cs.display.indexOf('flex') > -1 && cs.flexDirection.indexOf('row') === 0 && cs.flexWrap === 'nowrap' &&
|
|
39538
|
+
el.children.length > 1 && overflowing(el.lastElementChild || el, limit)) {
|
|
39539
|
+
put(el, 'flexWrap', 'wrap', 'wrap');
|
|
39540
|
+
}
|
|
39541
|
+
}
|
|
39542
|
+
for (k = 0; k < all.length; k++) {
|
|
39543
|
+
el = all[k];
|
|
39544
|
+
if (el.closest('[' + MARK + '="zoom"]')) continue;
|
|
39545
|
+
if (el.children.length === 0 && overflowing(el, limit) && getComputedStyle(el).whiteSpace.indexOf('nowrap') > -1) {
|
|
39546
|
+
put(el, 'whiteSpace', 'normal', 'text');
|
|
39547
|
+
}
|
|
39548
|
+
}
|
|
39549
|
+
for (k = 0; k < all.length; k++) {
|
|
39550
|
+
el = all[k];
|
|
39551
|
+
if (el.closest('[' + MARK + '="zoom"]')) continue;
|
|
39552
|
+
if (!overflowing(el, limit)) continue;
|
|
39553
|
+
var r = el.getBoundingClientRect(), avail = limit - padR - r.left;
|
|
39554
|
+
if (avail <= 40) continue;
|
|
39555
|
+
put(el, 'zoom', Math.max(0.2, avail / r.width), 'zoom');
|
|
39556
|
+
}
|
|
39557
|
+
}
|
|
39558
|
+
}
|
|
39559
|
+
|
|
39560
|
+
// Obi Wan 73a833f8f833: the narrow (stacked) layout depends on WIDTH only, but iOS
|
|
39561
|
+
// fires resize and visualViewport resize as its toolbars collapse during an ordinary
|
|
39562
|
+
// scroll, changing only the height. Re-running fitNarrow there would revert and
|
|
39563
|
+
// re-measure every slide mid-scroll and could make the page jump. So a narrow re-fit
|
|
39564
|
+
// runs only when the width changed, when leaving deck mode, or on load (content sizes).
|
|
39565
|
+
var narrowW = -1;
|
|
39566
|
+
function apply() {
|
|
39567
|
+
try {
|
|
39568
|
+
if (root.classList.contains('deck-js')) {
|
|
39569
|
+
narrowW = -1;
|
|
39570
|
+
undoNarrow();
|
|
39571
|
+
fitDeck();
|
|
39572
|
+
} else {
|
|
39573
|
+
root.classList.remove('agt-fill');
|
|
39574
|
+
stage.style.zoom = stageZoom0;
|
|
39575
|
+
var nw = root.clientWidth || innerWidth;
|
|
39576
|
+
if (nw === narrowW) return;
|
|
39577
|
+
fitNarrow();
|
|
39578
|
+
narrowW = nw;
|
|
39579
|
+
}
|
|
39580
|
+
} catch (e) {
|
|
39581
|
+
// Never break the deck over a fit problem, but leave a trace (and a hook for
|
|
39582
|
+
// tests) rather than swallowing it.
|
|
39583
|
+
window.__agtDeckFitError = String((e && e.message) || e);
|
|
39584
|
+
}
|
|
39585
|
+
}
|
|
39586
|
+
|
|
39587
|
+
var t = 0;
|
|
39588
|
+
function later() {
|
|
39589
|
+
apply();
|
|
39590
|
+
// iOS reports the new size a beat after resize/orientationchange fires.
|
|
39591
|
+
clearTimeout(t);
|
|
39592
|
+
t = setTimeout(apply, 250);
|
|
39593
|
+
if (window.requestAnimationFrame) requestAnimationFrame(apply);
|
|
39594
|
+
}
|
|
39595
|
+
addEventListener('resize', later);
|
|
39596
|
+
addEventListener('orientationchange', later);
|
|
39597
|
+
// Load can change content sizes (images) at the same width, so it always re-fits.
|
|
39598
|
+
addEventListener('load', function () { narrowW = -1; later(); });
|
|
39599
|
+
if (window.visualViewport) visualViewport.addEventListener('resize', later);
|
|
39600
|
+
// Slide changes: keep fill mode scrolled to the top of the new slide.
|
|
39601
|
+
try { new MutationObserver(function () { if (root.classList.contains('agt-fill')) fitDeck(); })
|
|
39602
|
+
.observe(stage, { subtree: true, attributes: true, attributeFilter: ['class'] }); } catch (e) {}
|
|
39603
|
+
later();
|
|
39604
|
+
})();`;
|
|
39605
|
+
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));
|
|
39606
|
+
var DECK_PHONE_FIT_SCRIPT = '<script id="agt-deck-phone-fit-js">' + DECK_PHONE_FIT_SOURCE + "</script>";
|
|
39607
|
+
|
|
39383
39608
|
// ../core/dist/integrations/augmented-live/live-hosts.js
|
|
39384
39609
|
function linkOpenerScript(frameId) {
|
|
39385
39610
|
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);}});';
|
|
@@ -39442,6 +39667,8 @@ var DOWNLOAD_MOBILE_MIN_HEIGHT_PX = 44;
|
|
|
39442
39667
|
var DECK_ATTRIBUTION_NARROW_BOTTOM_PX = DOWNLOAD_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
39443
39668
|
var VISIBILITY_BOTTOM_PX = DOWNLOAD_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
39444
39669
|
var DECK_ATTRIBUTION_NARROW_WITH_VISIBILITY_BOTTOM_PX = VISIBILITY_BOTTOM_PX + DOWNLOAD_MOBILE_MIN_HEIGHT_PX + DECK_CHROME_GAP_PX;
|
|
39670
|
+
var DECK_PRINT_BUTTON_W_PX = 72;
|
|
39671
|
+
var DECK_PHONE_DOWNLOAD_BESIDE_PRINT_LEFT_PX = 16 + DECK_PRINT_BUTTON_W_PX + DECK_CHROME_GAP_PX;
|
|
39445
39672
|
|
|
39446
39673
|
// ../core/dist/integrations/augmented-live/codec.js
|
|
39447
39674
|
var DEFAULT_CHUNK_BUDGET_BYTES = 180 * 1024;
|
|
@@ -44688,6 +44915,25 @@ var FLAG_REGISTRY = [
|
|
|
44688
44915
|
flagType: "boolean",
|
|
44689
44916
|
defaultValue: false
|
|
44690
44917
|
},
|
|
44918
|
+
{
|
|
44919
|
+
key: "kanban-waiting-person-notify",
|
|
44920
|
+
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.`,
|
|
44921
|
+
flagType: "boolean",
|
|
44922
|
+
// Declared safe value is `false`, matching its assignment sibling: fail-closed
|
|
44923
|
+
// is the right direction for a rail that messages a human.
|
|
44924
|
+
//
|
|
44925
|
+
// This default is NOT the deploy-time behaviour, and reading it as such is the
|
|
44926
|
+
// trap. The accompanying migration MIRRORS human-task-assignment-notify onto
|
|
44927
|
+
// this key - whatever that flag's central value is, plus every one of its
|
|
44928
|
+
// overrides at every grain - so no org's effective behaviour changes when
|
|
44929
|
+
// ENG-11974 ships. It deliberately does NOT seed a literal `true`: on a stage
|
|
44930
|
+
// where the old flag has no row, the old gate resolves to `false` and nobody
|
|
44931
|
+
// is being messaged, so a literal `true` would ARM a rail that DMs and emails
|
|
44932
|
+
// real humans on a fleet that never had one. A registry default
|
|
44933
|
+
// renders identically to a measurement - to learn whether this is on for an
|
|
44934
|
+
// org, read feature_flags.value and feature_flag_overrides, never this line.
|
|
44935
|
+
defaultValue: false
|
|
44936
|
+
},
|
|
44691
44937
|
{
|
|
44692
44938
|
key: "resume-reconciler",
|
|
44693
44939
|
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.",
|