@integrity-labs/agt-cli 0.28.698 → 0.28.700
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-SWU4NBD2.js → chunk-GE2FIKUX.js} +2 -2
- package/dist/{chunk-SBHIDSET.js → chunk-MZWFZIN2.js} +66 -12
- package/dist/chunk-MZWFZIN2.js.map +1 -0
- package/dist/{chunk-EXCMPARK.js → chunk-QRQE2MVT.js} +5 -41
- package/dist/chunk-QRQE2MVT.js.map +1 -0
- package/dist/{claude-pair-runtime-5CLVPPM4.js → claude-pair-runtime-NVLSNWWS.js} +2 -2
- package/dist/lib/manager-worker.js +73 -21
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +1 -0
- package/dist/mcp/index.js +2 -1
- package/dist/mcp/origami.js +1 -0
- package/dist/mcp/slack-channel.js +1 -0
- package/dist/mcp/telegram-channel.js +1 -0
- package/dist/{persistent-session-YM5ELNFF.js → persistent-session-7XILEFLF.js} +3 -3
- package/dist/{responsiveness-probe-7FWQQZDJ.js → responsiveness-probe-ZU33A2GB.js} +3 -3
- package/dist/{session-auth-dead-GRR6Y5ZP.js → session-auth-dead-ODQB4UPP.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-EXCMPARK.js.map +0 -1
- package/dist/chunk-SBHIDSET.js.map +0 -1
- /package/dist/{chunk-SWU4NBD2.js.map → chunk-GE2FIKUX.js.map} +0 -0
- /package/dist/{claude-pair-runtime-5CLVPPM4.js.map → claude-pair-runtime-NVLSNWWS.js.map} +0 -0
- /package/dist/{persistent-session-YM5ELNFF.js.map → persistent-session-7XILEFLF.js.map} +0 -0
- /package/dist/{responsiveness-probe-7FWQQZDJ.js.map → responsiveness-probe-ZU33A2GB.js.map} +0 -0
- /package/dist/{session-auth-dead-GRR6Y5ZP.js.map → session-auth-dead-ODQB4UPP.js.map} +0 -0
|
@@ -137,43 +137,6 @@ context compresses, review what you learned and save anything important.
|
|
|
137
137
|
|
|
138
138
|
${recall}`;
|
|
139
139
|
}
|
|
140
|
-
function buildKnowledgeSection(knowledge) {
|
|
141
|
-
if (!knowledge?.length)
|
|
142
|
-
return "";
|
|
143
|
-
const orgEntries = knowledge.filter((k) => k.scope === "org");
|
|
144
|
-
const teamEntries = knowledge.filter((k) => k.scope === "team");
|
|
145
|
-
const globalEntries = knowledge.filter((k) => k.scope === "global");
|
|
146
|
-
const formatEntry = (k) => `- **${k.title}**`;
|
|
147
|
-
const groups = [];
|
|
148
|
-
if (orgEntries.length) {
|
|
149
|
-
groups.push(`### Organization
|
|
150
|
-
|
|
151
|
-
${orgEntries.map(formatEntry).join("\n")}
|
|
152
|
-
`);
|
|
153
|
-
}
|
|
154
|
-
if (teamEntries.length) {
|
|
155
|
-
groups.push(`### Team
|
|
156
|
-
|
|
157
|
-
${teamEntries.map(formatEntry).join("\n")}
|
|
158
|
-
`);
|
|
159
|
-
}
|
|
160
|
-
if (globalEntries.length) {
|
|
161
|
-
groups.push(`### Augmented Team
|
|
162
|
-
|
|
163
|
-
${globalEntries.map(formatEntry).join("\n")}
|
|
164
|
-
`);
|
|
165
|
-
}
|
|
166
|
-
const body = groups.join("\n");
|
|
167
|
-
return `## Core Knowledge
|
|
168
|
-
|
|
169
|
-
The following core knowledge is available to you via the \`core-knowledge\`
|
|
170
|
-
skill (it may come from your team, your organization, or Augmented Team). It is
|
|
171
|
-
automatically available; Claude Code will surface it when you need context. You
|
|
172
|
-
do not need to read files manually.
|
|
173
|
-
|
|
174
|
-
${body}
|
|
175
|
-
`;
|
|
176
|
-
}
|
|
177
140
|
var INTEGRATIONS_SECTION_START = "<!-- AGT:INTEGRATIONS_START -->";
|
|
178
141
|
var INTEGRATIONS_SECTION_END = "<!-- AGT:INTEGRATIONS_END -->";
|
|
179
142
|
function buildIntegrationsSection(integrations) {
|
|
@@ -808,7 +771,7 @@ function buildGuardrailsSection(guardrails) {
|
|
|
808
771
|
return blocks.join("\n") + "\n";
|
|
809
772
|
}
|
|
810
773
|
function generateClaudeMd(input) {
|
|
811
|
-
const { frontmatter, role, description, resolvedChannels, team, organization, hasQmd, integrations,
|
|
774
|
+
const { frontmatter, role, description, resolvedChannels, team, organization, hasQmd, integrations, timezone, reportsTo, personalitySeed, teamMembers, people, peerGates, guardrails, activeTasks } = input;
|
|
812
775
|
const consoleUrl = input.consoleUrl ?? "https://app.augmented.team";
|
|
813
776
|
const channelList = resolvedChannels?.length ? resolvedChannels.join(", ") : "none";
|
|
814
777
|
const roleDisplay = role ?? "Agent";
|
|
@@ -818,7 +781,6 @@ function generateClaudeMd(input) {
|
|
|
818
781
|
const renderIntegrations = input.renderIntegrationsSection === true;
|
|
819
782
|
const integrationsSection = renderIntegrations ? buildIntegrationsSection(integrations) : "";
|
|
820
783
|
const capabilityPromptSection = buildCapabilityPromptSection(integrations, renderIntegrations);
|
|
821
|
-
const knowledgeSection = buildKnowledgeSection(knowledge);
|
|
822
784
|
const kanbanWorkPolicySection = buildKanbanWorkPolicySection();
|
|
823
785
|
const platformStorageSection = buildPlatformStorageSection(input.hasWorkflows);
|
|
824
786
|
const skillAuthoringSection = buildSkillAuthoringSection();
|
|
@@ -1109,7 +1071,7 @@ work because it aged off is a serious failure of trust \u2014 search before you
|
|
|
1109
1071
|
record".
|
|
1110
1072
|
|
|
1111
1073
|
${memorySection}
|
|
1112
|
-
${reportsToSection}${teamSection}${peopleSection}${multiAgentSection}${integrationsSection}${capabilityPromptSection}${
|
|
1074
|
+
${reportsToSection}${teamSection}${peopleSection}${multiAgentSection}${integrationsSection}${capabilityPromptSection}${kanbanWorkPolicySection}${platformStorageSection}${skillAuthoringSection}## Dashboards
|
|
1113
1075
|
|
|
1114
1076
|
Publish dashboards as **first-class console artifacts** via **\`dashboards_upsert\`** \u2014
|
|
1115
1077
|
never static HTML, GitHub Pages, buckets, or screenshots. When the user asks for a
|
|
@@ -11702,6 +11664,7 @@ function datedResetOnly(window) {
|
|
|
11702
11664
|
return null;
|
|
11703
11665
|
return window.resetPrecision === "dated" ? window.resetsAt : null;
|
|
11704
11666
|
}
|
|
11667
|
+
var HOST_USAGE_POLL_INTERVAL_MS = 15 * 60 * 1e3;
|
|
11705
11668
|
var RESET_JITTER_TOLERANCE_MS = 5 * 60 * 1e3;
|
|
11706
11669
|
function stabiliseResetInstant(previous, next, toleranceMs = RESET_JITTER_TOLERANCE_MS) {
|
|
11707
11670
|
if (!next)
|
|
@@ -12745,6 +12708,7 @@ export {
|
|
|
12745
12708
|
attributeTranscriptUsageByRun,
|
|
12746
12709
|
parseUsageReport,
|
|
12747
12710
|
buildHostUsageReading,
|
|
12711
|
+
HOST_USAGE_POLL_INTERVAL_MS,
|
|
12748
12712
|
stabiliseResetInstant,
|
|
12749
12713
|
UNKNOWN_RATE_LIMIT,
|
|
12750
12714
|
pickNewerClassification,
|
|
@@ -12797,4 +12761,4 @@ export {
|
|
|
12797
12761
|
minutesSinceLocalMidnight,
|
|
12798
12762
|
peekCurrentSession
|
|
12799
12763
|
};
|
|
12800
|
-
//# sourceMappingURL=chunk-
|
|
12764
|
+
//# sourceMappingURL=chunk-QRQE2MVT.js.map
|