@integrity-labs/agt-cli 0.28.1147 → 0.28.1148
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 +21 -13
- package/dist/bin/agt.js.map +1 -1
- package/dist/{chunk-NBKNLVIB.js → chunk-2PGIZQIJ.js} +3 -3
- package/dist/{chunk-XZ6THC7Q.js → chunk-D25NK5E5.js} +5 -1
- package/dist/chunk-D25NK5E5.js.map +1 -0
- package/dist/{chunk-SF7ZOIKU.js → chunk-EZUCUG2W.js} +5 -5
- package/dist/{chunk-FISAZWZ3.js → chunk-JZZW47PT.js} +2 -2
- package/dist/{chunk-WDC6ZLG5.js → chunk-LAPK7BDU.js} +2 -2
- package/dist/{claude-code-updater-SWTQNL3W.js → claude-code-updater-NJMCC77Q.js} +3 -3
- package/dist/{claude-pair-runtime-4GZOYK4O.js → claude-pair-runtime-VQJGKE4W.js} +2 -2
- package/dist/lib/manager-worker.js +19 -19
- package/dist/mcp/direct-chat-channel.js +4 -0
- package/dist/mcp/index.js +4 -0
- package/dist/mcp/origami.js +4 -0
- package/dist/mcp/slack-channel.js +4 -0
- package/dist/mcp/telegram-channel.js +4 -0
- package/dist/{persistent-session-JKX5IIHF.js → persistent-session-MFHKSBD5.js} +4 -4
- package/dist/{responsiveness-probe-IWC6K5NQ.js → responsiveness-probe-YLIBVLAR.js} +4 -4
- package/dist/{session-auth-dead-U5JSZD5Z.js → session-auth-dead-PUVWMX5P.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-XZ6THC7Q.js.map +0 -1
- /package/dist/{chunk-NBKNLVIB.js.map → chunk-2PGIZQIJ.js.map} +0 -0
- /package/dist/{chunk-SF7ZOIKU.js.map → chunk-EZUCUG2W.js.map} +0 -0
- /package/dist/{chunk-FISAZWZ3.js.map → chunk-JZZW47PT.js.map} +0 -0
- /package/dist/{chunk-WDC6ZLG5.js.map → chunk-LAPK7BDU.js.map} +0 -0
- /package/dist/{claude-code-updater-SWTQNL3W.js.map → claude-code-updater-NJMCC77Q.js.map} +0 -0
- /package/dist/{claude-pair-runtime-4GZOYK4O.js.map → claude-pair-runtime-VQJGKE4W.js.map} +0 -0
- /package/dist/{persistent-session-JKX5IIHF.js.map → persistent-session-MFHKSBD5.js.map} +0 -0
- /package/dist/{responsiveness-probe-IWC6K5NQ.js.map → responsiveness-probe-YLIBVLAR.js.map} +0 -0
- /package/dist/{session-auth-dead-U5JSZD5Z.js.map → session-auth-dead-PUVWMX5P.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,17 +40,17 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-EZUCUG2W.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
47
47
|
readDirectChatSessionState
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-2PGIZQIJ.js";
|
|
49
49
|
import {
|
|
50
50
|
markDailySessionSpawn,
|
|
51
51
|
sessionFileExists,
|
|
52
52
|
sessionTranscriptDir
|
|
53
|
-
} from "../chunk-
|
|
53
|
+
} from "../chunk-JZZW47PT.js";
|
|
54
54
|
import "../chunk-B6UYVEMD.js";
|
|
55
55
|
import "../chunk-XWVM4KPK.js";
|
|
56
56
|
import {
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
requiredMcpWildcard,
|
|
84
84
|
resolveChannels,
|
|
85
85
|
serializeManifestForSlackCli
|
|
86
|
-
} from "../chunk-
|
|
86
|
+
} from "../chunk-D25NK5E5.js";
|
|
87
87
|
import "../chunk-EL5MWGGH.js";
|
|
88
88
|
import "../chunk-DGUM43GV.js";
|
|
89
89
|
|
|
@@ -373,24 +373,25 @@ async function teamListCommand() {
|
|
|
373
373
|
async function teamCreateCommand(name) {
|
|
374
374
|
if (!requireAuth()) return;
|
|
375
375
|
const json = isJsonMode();
|
|
376
|
-
const
|
|
377
|
-
if (!
|
|
376
|
+
const trimmed = name.trim();
|
|
377
|
+
if (!trimmed) {
|
|
378
378
|
if (json) {
|
|
379
379
|
jsonOutput({ ok: false, error: "Invalid team name" });
|
|
380
380
|
} else {
|
|
381
|
-
error("Invalid team name. It must
|
|
381
|
+
error("Invalid team name. It must not be empty.");
|
|
382
382
|
}
|
|
383
383
|
process.exitCode = 1;
|
|
384
384
|
return;
|
|
385
385
|
}
|
|
386
|
-
const
|
|
386
|
+
const timezone = localTimezone();
|
|
387
|
+
const spinner = ora2({ text: `Creating team "${trimmed}"\u2026`, isSilent: json });
|
|
387
388
|
spinner.start();
|
|
388
389
|
try {
|
|
389
|
-
const data = await api.post("/teams", { name,
|
|
390
|
+
const data = await api.post("/teams", { name: trimmed, timezone });
|
|
390
391
|
setActiveTeam(data.team.slug);
|
|
391
|
-
spinner.succeed(`Team "${chalk2.bold(
|
|
392
|
+
spinner.succeed(`Team "${chalk2.bold(trimmed)}" created.`);
|
|
392
393
|
if (json) {
|
|
393
|
-
jsonOutput({ ok: true, name, slug: data.team.slug, role: data.team.role });
|
|
394
|
+
jsonOutput({ ok: true, name: trimmed, slug: data.team.slug, role: data.team.role });
|
|
394
395
|
return;
|
|
395
396
|
}
|
|
396
397
|
info(`Slug: ${chalk2.bold(data.team.slug)}`);
|
|
@@ -405,6 +406,13 @@ async function teamCreateCommand(name) {
|
|
|
405
406
|
process.exitCode = 1;
|
|
406
407
|
}
|
|
407
408
|
}
|
|
409
|
+
function localTimezone() {
|
|
410
|
+
try {
|
|
411
|
+
return Intl.DateTimeFormat().resolvedOptions().timeZone || "UTC";
|
|
412
|
+
} catch {
|
|
413
|
+
return "UTC";
|
|
414
|
+
}
|
|
415
|
+
}
|
|
408
416
|
async function teamSwitchCommand(slug) {
|
|
409
417
|
if (!requireAuth()) return;
|
|
410
418
|
const json = isJsonMode();
|
|
@@ -5504,7 +5512,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5504
5512
|
import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
|
|
5505
5513
|
import chalk18 from "chalk";
|
|
5506
5514
|
import ora16 from "ora";
|
|
5507
|
-
var cliVersion = true ? "0.28.
|
|
5515
|
+
var cliVersion = true ? "0.28.1148" : "dev";
|
|
5508
5516
|
async function fetchLatestVersion() {
|
|
5509
5517
|
const host2 = getHost();
|
|
5510
5518
|
if (!host2) return null;
|
|
@@ -6764,7 +6772,7 @@ function handleError(err) {
|
|
|
6764
6772
|
}
|
|
6765
6773
|
|
|
6766
6774
|
// src/bin/agt.ts
|
|
6767
|
-
var cliVersion2 = true ? "0.28.
|
|
6775
|
+
var cliVersion2 = true ? "0.28.1148" : "dev";
|
|
6768
6776
|
var program = new Command();
|
|
6769
6777
|
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");
|
|
6770
6778
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|