@integrity-labs/agt-cli 0.28.1048 → 0.28.1050
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-QGGDQMWF.js → chunk-FNUTMHWV.js} +3 -3
- package/dist/{chunk-4BOPLS65.js → chunk-GQYD3ESJ.js} +10 -7
- package/dist/chunk-GQYD3ESJ.js.map +1 -0
- package/dist/{chunk-APAEM42J.js → chunk-MQ4COFCI.js} +35 -7
- package/dist/chunk-MQ4COFCI.js.map +1 -0
- package/dist/{chunk-TQDIIS3X.js → chunk-OCMJ5E6J.js} +36 -2
- package/dist/{chunk-TQDIIS3X.js.map → chunk-OCMJ5E6J.js.map} +1 -1
- package/dist/{claude-pair-runtime-KWN4XZ2H.js → claude-pair-runtime-53UOTF6V.js} +3 -3
- package/dist/lib/manager-worker.js +21 -15
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/index.js +5 -1
- package/dist/{persistent-session-OSQVHP6N.js → persistent-session-3FT727PQ.js} +4 -4
- package/dist/{responsiveness-probe-BFDPJWZE.js → responsiveness-probe-DEG3SWG3.js} +4 -4
- package/dist/{session-auth-dead-A3WD2YRK.js → session-auth-dead-VFRUHVTF.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-4BOPLS65.js.map +0 -1
- package/dist/chunk-APAEM42J.js.map +0 -1
- /package/dist/{chunk-QGGDQMWF.js.map → chunk-FNUTMHWV.js.map} +0 -0
- /package/dist/{claude-pair-runtime-KWN4XZ2H.js.map → claude-pair-runtime-53UOTF6V.js.map} +0 -0
- /package/dist/{persistent-session-OSQVHP6N.js.map → persistent-session-3FT727PQ.js.map} +0 -0
- /package/dist/{responsiveness-probe-BFDPJWZE.js.map → responsiveness-probe-DEG3SWG3.js.map} +0 -0
- /package/dist/{session-auth-dead-A3WD2YRK.js.map → session-auth-dead-VFRUHVTF.js.map} +0 -0
|
@@ -189,6 +189,27 @@ ${AGENT_RULES_SECTION_END}
|
|
|
189
189
|
`;
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
+
// ../../packages/core/dist/provisioning/frameworks/claudecode/agent-console-url.js
|
|
193
|
+
var DEFAULT_AGENT_CONSOLE_URL = "https://app.ninjafy.com";
|
|
194
|
+
function normalizeConsoleOrigin(value) {
|
|
195
|
+
if (typeof value !== "string")
|
|
196
|
+
return null;
|
|
197
|
+
const trimmed = value.trim();
|
|
198
|
+
if (!trimmed)
|
|
199
|
+
return null;
|
|
200
|
+
try {
|
|
201
|
+
const url = new URL(trimmed);
|
|
202
|
+
if (url.protocol !== "https:" && url.protocol !== "http:")
|
|
203
|
+
return null;
|
|
204
|
+
return url.origin;
|
|
205
|
+
} catch {
|
|
206
|
+
return null;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
function resolveAgentConsoleUrl(input, env2 = process.env) {
|
|
210
|
+
return normalizeConsoleOrigin(input.consoleUrl) ?? normalizeConsoleOrigin(env2["AGT_APP_URL"]) ?? normalizeConsoleOrigin(env2["NEXT_PUBLIC_APP_URL"]) ?? normalizeConsoleOrigin(env2["AGT_CONSOLE_URL"]) ?? DEFAULT_AGENT_CONSOLE_URL;
|
|
211
|
+
}
|
|
212
|
+
|
|
192
213
|
// ../../packages/core/dist/guardrails/calendar-policy.js
|
|
193
214
|
function parseCalendarGuardStage(raw) {
|
|
194
215
|
if (raw === "warn" || raw === "enforce")
|
|
@@ -1279,7 +1300,7 @@ function buildGuardrailsSection(guardrails) {
|
|
|
1279
1300
|
}
|
|
1280
1301
|
function generateClaudeMd(input) {
|
|
1281
1302
|
const { frontmatter, role, description, resolvedChannels, team, organization, integrations, timezone, reportsTo, personalitySeed, teamMembers, people, peerGates, guardrails, activeTasks } = input;
|
|
1282
|
-
const consoleUrl = input.consoleUrl ??
|
|
1303
|
+
const consoleUrl = input.consoleUrl ?? DEFAULT_AGENT_CONSOLE_URL;
|
|
1283
1304
|
const channelList = resolvedChannels?.length ? resolvedChannels.join(", ") : "none";
|
|
1284
1305
|
const roleDisplay = role ?? "Agent";
|
|
1285
1306
|
const desc = description?.trim();
|
|
@@ -1625,10 +1646,10 @@ cd ~/.augmented/{agent_id}/scratch
|
|
|
1625
1646
|
curl -o ../scratch/report.pdf https://...
|
|
1626
1647
|
\`\`\`
|
|
1627
1648
|
|
|
1628
|
-
**
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1649
|
+
**Every \`rm\` names a literal path under \`../scratch/\`: no glob, no \`.\`, no
|
|
1650
|
+
variable, nothing at \`/\`.** The dangerous-rm guard fires on those even with
|
|
1651
|
+
bypass on and freezes you on a prompt nothing can answer (five agents, up to
|
|
1652
|
+
15h). If a cleanup can't be written that way, skip it.
|
|
1632
1653
|
|
|
1633
1654
|
Scratch contents older than ${SCRATCH_RETENTION_DAYS} days are swept
|
|
1634
1655
|
automatically. If something needs to outlive that, it was never scratch: put it
|
|
@@ -3446,7 +3467,13 @@ var CONTROL_PLANE_ONLY_CONFIG_KEYS = /* @__PURE__ */ new Set([
|
|
|
3446
3467
|
"managed_state_token",
|
|
3447
3468
|
"managed_state_expires",
|
|
3448
3469
|
"managed_state_tokens",
|
|
3449
|
-
"pending_approval_at"
|
|
3470
|
+
"pending_approval_at",
|
|
3471
|
+
// ENG-11172 (Obi Wan on #6607): the connect reconciler's marker that it
|
|
3472
|
+
// already bound this account, read by the trailing /managed-callback. Pure
|
|
3473
|
+
// control-plane bookkeeping: published to .env.integrations it would appear
|
|
3474
|
+
// on a reconcile bind and vanish on the next callback - membership churn
|
|
3475
|
+
// that counts toward the restart breaker (ENG-6918 / ENG-8679).
|
|
3476
|
+
"reconciled_connected_account_id"
|
|
3450
3477
|
]);
|
|
3451
3478
|
var CONTROL_PLANE_CONFIG_KEY_SUFFIXES = ["_server_id"];
|
|
3452
3479
|
function isControlPlaneOnlyConfigKey(key) {
|
|
@@ -15669,6 +15696,7 @@ function readDailySessionPin(codeName) {
|
|
|
15669
15696
|
}
|
|
15670
15697
|
|
|
15671
15698
|
export {
|
|
15699
|
+
resolveAgentConsoleUrl,
|
|
15672
15700
|
normaliseSlackPeerAgentMode,
|
|
15673
15701
|
normaliseSlackPeerGroupIds,
|
|
15674
15702
|
buildSlackThirdPartyBotsEnvValue,
|
|
@@ -15863,4 +15891,4 @@ export {
|
|
|
15863
15891
|
peekCurrentSession,
|
|
15864
15892
|
readDailySessionPin
|
|
15865
15893
|
};
|
|
15866
|
-
//# sourceMappingURL=chunk-
|
|
15894
|
+
//# sourceMappingURL=chunk-MQ4COFCI.js.map
|