@integrity-labs/agt-cli 0.28.730 → 0.28.732
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-WVYNQJRS.js → chunk-BADE2W6M.js} +9 -17
- package/dist/chunk-BADE2W6M.js.map +1 -0
- package/dist/{chunk-3V7HETFZ.js → chunk-DGIYNBDG.js} +4 -5
- package/dist/chunk-DGIYNBDG.js.map +1 -0
- package/dist/{chunk-KF3IFJVV.js → chunk-QB6TIA3Z.js} +2 -2
- package/dist/{claude-pair-runtime-BHULWRDO.js → claude-pair-runtime-BZVFVAMR.js} +2 -2
- package/dist/lib/manager-worker.js +13 -13
- package/dist/mcp/direct-chat-channel.js +20 -17
- package/dist/mcp/telegram-channel.js +26 -13
- package/dist/{persistent-session-KHGH6UKC.js → persistent-session-BHJLZTYX.js} +3 -3
- package/dist/{responsiveness-probe-ASAPVDUQ.js → responsiveness-probe-457EYSWZ.js} +3 -3
- package/dist/{session-auth-dead-ABEYQHK3.js → session-auth-dead-YUPZGR3F.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-3V7HETFZ.js.map +0 -1
- package/dist/chunk-WVYNQJRS.js.map +0 -1
- /package/dist/{chunk-KF3IFJVV.js.map → chunk-QB6TIA3Z.js.map} +0 -0
- /package/dist/{claude-pair-runtime-BHULWRDO.js.map → claude-pair-runtime-BZVFVAMR.js.map} +0 -0
- /package/dist/{persistent-session-KHGH6UKC.js.map → persistent-session-BHJLZTYX.js.map} +0 -0
- /package/dist/{responsiveness-probe-ASAPVDUQ.js.map → responsiveness-probe-457EYSWZ.js.map} +0 -0
- /package/dist/{session-auth-dead-ABEYQHK3.js.map → session-auth-dead-YUPZGR3F.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -41,12 +41,12 @@ import {
|
|
|
41
41
|
success,
|
|
42
42
|
table,
|
|
43
43
|
warn
|
|
44
|
-
} from "../chunk-
|
|
44
|
+
} from "../chunk-DGIYNBDG.js";
|
|
45
45
|
import {
|
|
46
46
|
getProjectDir,
|
|
47
47
|
isSessionResumeDisabled,
|
|
48
48
|
readDirectChatSessionState
|
|
49
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-QB6TIA3Z.js";
|
|
50
50
|
import {
|
|
51
51
|
AnchorSessionClient,
|
|
52
52
|
CHANNEL_REGISTRY,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
serializeManifestForSlackCli,
|
|
80
80
|
sessionFileExists,
|
|
81
81
|
sessionTranscriptDir
|
|
82
|
-
} from "../chunk-
|
|
82
|
+
} from "../chunk-BADE2W6M.js";
|
|
83
83
|
import "../chunk-XWVM4KPK.js";
|
|
84
84
|
|
|
85
85
|
// src/bin/agt.ts
|
|
@@ -5467,7 +5467,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5467
5467
|
import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
|
|
5468
5468
|
import chalk18 from "chalk";
|
|
5469
5469
|
import ora16 from "ora";
|
|
5470
|
-
var cliVersion = true ? "0.28.
|
|
5470
|
+
var cliVersion = true ? "0.28.732" : "dev";
|
|
5471
5471
|
async function fetchLatestVersion() {
|
|
5472
5472
|
const host2 = getHost();
|
|
5473
5473
|
if (!host2) return null;
|
|
@@ -6654,7 +6654,7 @@ function handleError(err) {
|
|
|
6654
6654
|
}
|
|
6655
6655
|
|
|
6656
6656
|
// src/bin/agt.ts
|
|
6657
|
-
var cliVersion2 = true ? "0.28.
|
|
6657
|
+
var cliVersion2 = true ? "0.28.732" : "dev";
|
|
6658
6658
|
var program = new Command();
|
|
6659
6659
|
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");
|
|
6660
6660
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -99,22 +99,14 @@ function checkClaudeMdSize(md) {
|
|
|
99
99
|
overBy: Math.max(0, chars - CLAUDE_MD_CONTEXT_ALARM_CHARS)
|
|
100
100
|
};
|
|
101
101
|
}
|
|
102
|
-
function buildMemorySection(
|
|
103
|
-
const recall =
|
|
102
|
+
function buildMemorySection() {
|
|
103
|
+
const recall = `### Recall
|
|
104
104
|
|
|
105
105
|
Before answering questions about past work, decisions, or preferences, **search
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
- **qmd:get** \u2014 read a specific memory file by path when you already know which
|
|
111
|
-
file you need.
|
|
112
|
-
|
|
113
|
-
If QMD returns no results, fall back to reading \`MEMORY.md\` and today's daily log directly.
|
|
114
|
-
` : `### Recall
|
|
115
|
-
|
|
116
|
-
Before answering questions about past work, decisions, or preferences, read
|
|
117
|
-
\`MEMORY.md\` and today's daily log (\`memory/YYYY-MM-DD.md\`) to refresh your context.
|
|
106
|
+
first with \`context_search\`** \u2014 semantic search over knowledge, memories and past
|
|
107
|
+
tasks. It reaches everything you have written; reading \`MEMORY.md\` and today's log
|
|
108
|
+
only reaches what you already thought to look for. Fall back to those files
|
|
109
|
+
directly if the search returns nothing.
|
|
118
110
|
`;
|
|
119
111
|
return `## Memory
|
|
120
112
|
|
|
@@ -771,13 +763,13 @@ function buildGuardrailsSection(guardrails) {
|
|
|
771
763
|
return blocks.join("\n") + "\n";
|
|
772
764
|
}
|
|
773
765
|
function generateClaudeMd(input) {
|
|
774
|
-
const { frontmatter, role, description, resolvedChannels, team, organization,
|
|
766
|
+
const { frontmatter, role, description, resolvedChannels, team, organization, integrations, timezone, reportsTo, personalitySeed, teamMembers, people, peerGates, guardrails, activeTasks } = input;
|
|
775
767
|
const consoleUrl = input.consoleUrl ?? "https://app.augmented.team";
|
|
776
768
|
const channelList = resolvedChannels?.length ? resolvedChannels.join(", ") : "none";
|
|
777
769
|
const roleDisplay = role ?? "Agent";
|
|
778
770
|
const desc = description?.trim();
|
|
779
771
|
const kanbanUrl = consoleUrl ? `${consoleUrl}/agents/${frontmatter.agent_id}?tab=kanban` : null;
|
|
780
|
-
const memorySection = buildMemorySection(
|
|
772
|
+
const memorySection = buildMemorySection();
|
|
781
773
|
const renderIntegrations = input.renderIntegrationsSection === true;
|
|
782
774
|
const integrationsSection = renderIntegrations ? buildIntegrationsSection(integrations) : "";
|
|
783
775
|
const capabilityPromptSection = buildCapabilityPromptSection(integrations, renderIntegrations);
|
|
@@ -13003,4 +12995,4 @@ export {
|
|
|
13003
12995
|
peekCurrentSession,
|
|
13004
12996
|
readDailySessionPin
|
|
13005
12997
|
};
|
|
13006
|
-
//# sourceMappingURL=chunk-
|
|
12998
|
+
//# sourceMappingURL=chunk-BADE2W6M.js.map
|