@integrity-labs/agt-cli 0.28.697 → 0.28.699
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-WJVEHAHV.js → chunk-PBOSJQE6.js} +21 -59
- package/dist/chunk-PBOSJQE6.js.map +1 -0
- package/dist/{chunk-D6SEJJSV.js → chunk-WDHT7D67.js} +2 -2
- package/dist/{chunk-OF2KSRB7.js → chunk-ZLHRSMKL.js} +66 -12
- package/dist/chunk-ZLHRSMKL.js.map +1 -0
- package/dist/{claude-pair-runtime-OK5NYDP4.js → claude-pair-runtime-6W4UKH3J.js} +2 -2
- package/dist/lib/manager-worker.js +50 -16
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +18 -18
- package/dist/mcp/index.js +19 -19
- package/dist/mcp/origami.js +18 -18
- package/dist/mcp/slack-channel.js +20 -18
- package/dist/mcp/telegram-channel.js +20 -18
- package/dist/{persistent-session-XGSDOM7A.js → persistent-session-MIMASNZD.js} +3 -3
- package/dist/{responsiveness-probe-KOMJSQQA.js → responsiveness-probe-UWABMXTD.js} +3 -3
- package/dist/{session-auth-dead-QQCRWX55.js → session-auth-dead-LRVZHGJI.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-OF2KSRB7.js.map +0 -1
- package/dist/chunk-WJVEHAHV.js.map +0 -1
- /package/dist/{chunk-D6SEJJSV.js.map → chunk-WDHT7D67.js.map} +0 -0
- /package/dist/{claude-pair-runtime-OK5NYDP4.js.map → claude-pair-runtime-6W4UKH3J.js.map} +0 -0
- /package/dist/{persistent-session-XGSDOM7A.js.map → persistent-session-MIMASNZD.js.map} +0 -0
- /package/dist/{responsiveness-probe-KOMJSQQA.js.map → responsiveness-probe-UWABMXTD.js.map} +0 -0
- /package/dist/{session-auth-dead-QQCRWX55.js.map → session-auth-dead-LRVZHGJI.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,10 +40,10 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-ZLHRSMKL.js";
|
|
44
44
|
import {
|
|
45
45
|
readDirectChatSessionState
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-WDHT7D67.js";
|
|
47
47
|
import {
|
|
48
48
|
AnchorSessionClient,
|
|
49
49
|
CHANNEL_REGISTRY,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
requiredMcpWildcard,
|
|
74
74
|
resolveChannels,
|
|
75
75
|
serializeManifestForSlackCli
|
|
76
|
-
} from "../chunk-
|
|
76
|
+
} from "../chunk-PBOSJQE6.js";
|
|
77
77
|
import "../chunk-XWVM4KPK.js";
|
|
78
78
|
|
|
79
79
|
// src/bin/agt.ts
|
|
@@ -4909,7 +4909,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4909
4909
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4910
4910
|
import chalk18 from "chalk";
|
|
4911
4911
|
import ora16 from "ora";
|
|
4912
|
-
var cliVersion = true ? "0.28.
|
|
4912
|
+
var cliVersion = true ? "0.28.699" : "dev";
|
|
4913
4913
|
async function fetchLatestVersion() {
|
|
4914
4914
|
const host2 = getHost();
|
|
4915
4915
|
if (!host2) return null;
|
|
@@ -6089,7 +6089,7 @@ function handleError(err) {
|
|
|
6089
6089
|
}
|
|
6090
6090
|
|
|
6091
6091
|
// src/bin/agt.ts
|
|
6092
|
-
var cliVersion2 = true ? "0.28.
|
|
6092
|
+
var cliVersion2 = true ? "0.28.699" : "dev";
|
|
6093
6093
|
var program = new Command();
|
|
6094
6094
|
program.name("agt").description("Augmented CLI \u2014 agent provisioning and management").version(cliVersion2).option("--json", "Emit machine-readable JSON output (suppress spinners and colors)").option("--skip-update-check", "Skip the automatic update check on startup");
|
|
6095
6095
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -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
|
|
@@ -3458,6 +3420,24 @@ var FIXED_SECONDS = {
|
|
|
3458
3420
|
"4h": 4 * 60 * 60
|
|
3459
3421
|
};
|
|
3460
3422
|
|
|
3423
|
+
// ../../packages/core/dist/kanban/artefact.js
|
|
3424
|
+
var ARTEFACT_KINDS = [
|
|
3425
|
+
"live",
|
|
3426
|
+
"dashboard",
|
|
3427
|
+
"document",
|
|
3428
|
+
"spreadsheet",
|
|
3429
|
+
"image",
|
|
3430
|
+
"video",
|
|
3431
|
+
"audio",
|
|
3432
|
+
"skill",
|
|
3433
|
+
"scheduled_task",
|
|
3434
|
+
"knowledge",
|
|
3435
|
+
"pull_request",
|
|
3436
|
+
"issue",
|
|
3437
|
+
"other"
|
|
3438
|
+
];
|
|
3439
|
+
var ARTEFACT_KIND_SET = new Set(ARTEFACT_KINDS);
|
|
3440
|
+
|
|
3461
3441
|
// ../../packages/core/dist/channels/kanban-card-state.js
|
|
3462
3442
|
var KANBAN_TERMINAL_STATUSES = /* @__PURE__ */ new Set([
|
|
3463
3443
|
"done",
|
|
@@ -12026,24 +12006,6 @@ var WAITING_KINDS = [
|
|
|
12026
12006
|
];
|
|
12027
12007
|
var WAITING_KIND_SET = new Set(WAITING_KINDS);
|
|
12028
12008
|
|
|
12029
|
-
// ../../packages/core/dist/kanban/artefact.js
|
|
12030
|
-
var ARTEFACT_KINDS = [
|
|
12031
|
-
"live",
|
|
12032
|
-
"dashboard",
|
|
12033
|
-
"document",
|
|
12034
|
-
"spreadsheet",
|
|
12035
|
-
"image",
|
|
12036
|
-
"video",
|
|
12037
|
-
"audio",
|
|
12038
|
-
"skill",
|
|
12039
|
-
"scheduled_task",
|
|
12040
|
-
"knowledge",
|
|
12041
|
-
"pull_request",
|
|
12042
|
-
"issue",
|
|
12043
|
-
"other"
|
|
12044
|
-
];
|
|
12045
|
-
var ARTEFACT_KIND_SET = new Set(ARTEFACT_KINDS);
|
|
12046
|
-
|
|
12047
12009
|
// ../../packages/core/dist/conversations/classify.js
|
|
12048
12010
|
var SYSTEM_CONTENT_MARKERS = [
|
|
12049
12011
|
/\(synthetic-health-check\b/i
|
|
@@ -12797,4 +12759,4 @@ export {
|
|
|
12797
12759
|
minutesSinceLocalMidnight,
|
|
12798
12760
|
peekCurrentSession
|
|
12799
12761
|
};
|
|
12800
|
-
//# sourceMappingURL=chunk-
|
|
12762
|
+
//# sourceMappingURL=chunk-PBOSJQE6.js.map
|