@integrity-labs/agt-cli 0.28.804 → 0.28.806
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 +5 -5
- package/dist/{chunk-YW4L5R5S.js → chunk-7TIQODEK.js} +59 -6
- package/dist/{chunk-YW4L5R5S.js.map → chunk-7TIQODEK.js.map} +1 -1
- package/dist/{chunk-MJ3YHZSR.js → chunk-RMBASAMS.js} +46 -3
- package/dist/chunk-RMBASAMS.js.map +1 -0
- package/dist/{chunk-H37X4QPC.js → chunk-TWZFTSGP.js} +17 -2
- package/dist/{chunk-H37X4QPC.js.map → chunk-TWZFTSGP.js.map} +1 -1
- package/dist/{claude-pair-runtime-FP32JLYF.js → claude-pair-runtime-YEW7Y5N2.js} +2 -2
- package/dist/lib/manager-worker.js +54 -13
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +32 -0
- package/dist/mcp/index.js +32 -0
- package/dist/mcp/origami.js +32 -0
- package/dist/mcp/slack-channel.js +32 -0
- package/dist/mcp/telegram-channel.js +32 -0
- package/dist/{persistent-session-7YEKAGRY.js → persistent-session-GPVAPK4S.js} +3 -3
- package/dist/{responsiveness-probe-VL6EANMM.js → responsiveness-probe-7FEKDJZW.js} +3 -3
- package/dist/{session-auth-dead-JJEZ4XWO.js → session-auth-dead-ZBMVGQYW.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-MJ3YHZSR.js.map +0 -1
- /package/dist/{claude-pair-runtime-FP32JLYF.js.map → claude-pair-runtime-YEW7Y5N2.js.map} +0 -0
- /package/dist/{persistent-session-7YEKAGRY.js.map → persistent-session-GPVAPK4S.js.map} +0 -0
- /package/dist/{responsiveness-probe-VL6EANMM.js.map → responsiveness-probe-7FEKDJZW.js.map} +0 -0
- /package/dist/{session-auth-dead-JJEZ4XWO.js.map → session-auth-dead-ZBMVGQYW.js.map} +0 -0
|
@@ -517,10 +517,20 @@ is the failure this rule exists to stop.
|
|
|
517
517
|
`;
|
|
518
518
|
}
|
|
519
519
|
var ACTIVE_TASKS_MAX_CHARS = 800;
|
|
520
|
+
var ACTIVE_TASKS_TITLE_MAX_CHARS = 60;
|
|
520
521
|
var ACTIVE_TASKS_TRUNCATION_SUFFIX = "\u2026 (truncated)\n\n";
|
|
521
522
|
function sanitizePromptText(value) {
|
|
522
523
|
return value.replace(/[\u0000-\u001F\u007F]+/g, " ").replace(/\s+/g, " ").trim();
|
|
523
524
|
}
|
|
525
|
+
function truncateActiveTaskTitle(title) {
|
|
526
|
+
if (title.length <= ACTIVE_TASKS_TITLE_MAX_CHARS)
|
|
527
|
+
return title;
|
|
528
|
+
let cut = title.slice(0, ACTIVE_TASKS_TITLE_MAX_CHARS - 1);
|
|
529
|
+
const last = cut.charCodeAt(cut.length - 1);
|
|
530
|
+
if (last >= 55296 && last <= 56319)
|
|
531
|
+
cut = cut.slice(0, -1);
|
|
532
|
+
return cut + "\u2026";
|
|
533
|
+
}
|
|
524
534
|
function buildActiveTasksSection(activeTasks) {
|
|
525
535
|
if (!activeTasks || activeTasks.length === 0)
|
|
526
536
|
return "";
|
|
@@ -536,13 +546,14 @@ function buildActiveTasksSection(activeTasks) {
|
|
|
536
546
|
for (const t of activeTasks) {
|
|
537
547
|
const status = sanitizePromptText(t.status);
|
|
538
548
|
const id = sanitizePromptText(t.id);
|
|
539
|
-
const title = sanitizePromptText(t.title);
|
|
549
|
+
const title = truncateActiveTaskTitle(sanitizePromptText(t.title));
|
|
540
550
|
const sourceParts = [];
|
|
541
551
|
if (t.source_channel && t.source_thread_id) {
|
|
542
552
|
sourceParts.push(`${sanitizePromptText(t.source_channel)} thread ${sanitizePromptText(t.source_thread_id)}`);
|
|
543
553
|
}
|
|
544
|
-
if (t.source_url)
|
|
554
|
+
if (t.source_url && sourceParts.length === 0) {
|
|
545
555
|
sourceParts.push(sanitizePromptText(t.source_url));
|
|
556
|
+
}
|
|
546
557
|
const source = sourceParts.length > 0 ? ` \u2014 ${sourceParts.join(" \u2022 ")}` : "";
|
|
547
558
|
lines.push(`- [${status}] ${id}: "${title}"${source}`);
|
|
548
559
|
}
|
|
@@ -5650,6 +5661,38 @@ var FLAG_REGISTRY = [
|
|
|
5650
5661
|
// envVar — this is a net-new control with no pre-flags env gate to migrate.
|
|
5651
5662
|
defaultValue: false
|
|
5652
5663
|
},
|
|
5664
|
+
{
|
|
5665
|
+
key: "skill-dreaming-support-intake",
|
|
5666
|
+
description: "Route skill dreaming's GLOBAL-scope proposals into Integrity Labs' own support-intake Linear workspace (ENG-9926). 42% of dreaming output targets a global skill no product surface can change, so those drafts can only ever become an agent-scoped fork that never reaches the thing it improves \u2014 the improvement is therefore ALSO filed as a support-intake issue, deduped per target skill with one Linear customer need per requesting org. Boolean gate; ships dark \u2014 when off nothing is filed and the fork behaviour is exactly today's.",
|
|
5667
|
+
flagType: "boolean",
|
|
5668
|
+
// Arming this starts exporting customer-derived text to a third-party tracker, so it
|
|
5669
|
+
// takes the ADR-0022 §4 explicit-confirmation step rather than a single unguarded
|
|
5670
|
+
// write — matching every comparable export gate in this file
|
|
5671
|
+
// (`org-email-domain-derivation`, `kanban-push-status`,
|
|
5672
|
+
// `augmented-support-auto-provision`, `email-guard-enforce-enabled`).
|
|
5673
|
+
// (CodeRabbit, PR #5519: the first cut documented the risk in the comment below and
|
|
5674
|
+
// then omitted the marker that acts on it.)
|
|
5675
|
+
sensitive: true,
|
|
5676
|
+
// THIS GATES A DATA CROSSING, NOT A COST. Read that before arming it.
|
|
5677
|
+
//
|
|
5678
|
+
// Everything skill dreaming does today stays inside the control plane: it reads
|
|
5679
|
+
// `agent_memories` and writes a `skill_definitions` row in the same Postgres, same
|
|
5680
|
+
// org, same RLS. This flag is what sends LLM-written rationale, confidence, and the
|
|
5681
|
+
// verbatim NAMES of the memories that motivated a proposal OUT to Linear — and
|
|
5682
|
+
// `feature-request-intake.ts` already calls Linear "the third-party tracker" where it
|
|
5683
|
+
// refuses to export a requester's contact details there. Via
|
|
5684
|
+
// linkFeatureRequestCustomerNeed it also sends the org's verified email domains.
|
|
5685
|
+
//
|
|
5686
|
+
// That is strictly more than ADR-0052 §6 gated for PostHog, and ENG-8247 is the
|
|
5687
|
+
// precedent for why a credential must not BE the gate: holding a support-intake key
|
|
5688
|
+
// is not the same as being cleared to send customer-derived text to a vendor's
|
|
5689
|
+
// tracker. Hence a separate flag rather than leaning on isFeatureIntakeConfigured.
|
|
5690
|
+
//
|
|
5691
|
+
// Declared safe value is `false` (nothing filed). Fail-safe direction: a flag-DB read
|
|
5692
|
+
// error must never start exporting on its own. No envVar — net-new control with no
|
|
5693
|
+
// pre-flags env gate to migrate (ADR-0022).
|
|
5694
|
+
defaultValue: false
|
|
5695
|
+
},
|
|
5653
5696
|
{
|
|
5654
5697
|
key: "skill-draft-review-notify",
|
|
5655
5698
|
description: "Pending skill-draft review nudge (ENG-6505): when a skill lands as a status=draft awaiting operator review, send a low-severity informational notification to the right reviewer(s) by scope \u2014 agent-scoped \u2192 the agent's manager (reports_to_person), falling back to team owners/admins; team-scoped \u2192 team owners/admins; org-scoped \u2192 org owners/admins \u2014 with a deep link to the Pending Skills card. Distinct from (and never doubles up on) the HIGH+ SkillSpector security alert. Covers both the agent-authored (ENG-4589) and skill-dreaming (ENG-6500) draft paths. Boolean gate; ships dark \u2014 when off no nudge is sent, so the steady state until an org is armed is silence.",
|
|
@@ -13644,4 +13687,4 @@ export {
|
|
|
13644
13687
|
peekCurrentSession,
|
|
13645
13688
|
readDailySessionPin
|
|
13646
13689
|
};
|
|
13647
|
-
//# sourceMappingURL=chunk-
|
|
13690
|
+
//# sourceMappingURL=chunk-RMBASAMS.js.map
|