@integrity-labs/agt-cli 0.28.1147 → 0.28.1149

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.
Files changed (32) hide show
  1. package/dist/bin/agt.js +22 -14
  2. package/dist/bin/agt.js.map +1 -1
  3. package/dist/{chunk-FISAZWZ3.js → chunk-AJ2Z3VSN.js} +2 -2
  4. package/dist/{chunk-SF7ZOIKU.js → chunk-LMJH26IW.js} +10 -10
  5. package/dist/{chunk-WDC6ZLG5.js → chunk-NSX27ZTP.js} +4 -4
  6. package/dist/{chunk-NBKNLVIB.js → chunk-OISSVMYG.js} +12 -12
  7. package/dist/{chunk-XZ6THC7Q.js → chunk-TLDY7AE4.js} +9 -1
  8. package/dist/chunk-TLDY7AE4.js.map +1 -0
  9. package/dist/{claude-code-updater-SWTQNL3W.js → claude-code-updater-JXL4CM2V.js} +3 -3
  10. package/dist/{claude-pair-runtime-4GZOYK4O.js → claude-pair-runtime-7QPXNON3.js} +74 -11
  11. package/dist/claude-pair-runtime-7QPXNON3.js.map +1 -0
  12. package/dist/lib/manager-worker.js +41 -48
  13. package/dist/lib/manager-worker.js.map +1 -1
  14. package/dist/mcp/direct-chat-channel.js +4 -0
  15. package/dist/mcp/index.js +4 -0
  16. package/dist/mcp/origami.js +4 -0
  17. package/dist/mcp/slack-channel.js +4 -0
  18. package/dist/mcp/telegram-channel.js +4 -0
  19. package/dist/{persistent-session-JKX5IIHF.js → persistent-session-YKRO5RLK.js} +4 -4
  20. package/dist/{responsiveness-probe-IWC6K5NQ.js → responsiveness-probe-LVRBC2AA.js} +4 -4
  21. package/dist/{session-auth-dead-U5JSZD5Z.js → session-auth-dead-FREXPXHN.js} +3 -3
  22. package/package.json +1 -1
  23. package/dist/chunk-XZ6THC7Q.js.map +0 -1
  24. package/dist/claude-pair-runtime-4GZOYK4O.js.map +0 -1
  25. /package/dist/{chunk-FISAZWZ3.js.map → chunk-AJ2Z3VSN.js.map} +0 -0
  26. /package/dist/{chunk-SF7ZOIKU.js.map → chunk-LMJH26IW.js.map} +0 -0
  27. /package/dist/{chunk-WDC6ZLG5.js.map → chunk-NSX27ZTP.js.map} +0 -0
  28. /package/dist/{chunk-NBKNLVIB.js.map → chunk-OISSVMYG.js.map} +0 -0
  29. /package/dist/{claude-code-updater-SWTQNL3W.js.map → claude-code-updater-JXL4CM2V.js.map} +0 -0
  30. /package/dist/{persistent-session-JKX5IIHF.js.map → persistent-session-YKRO5RLK.js.map} +0 -0
  31. /package/dist/{responsiveness-probe-IWC6K5NQ.js.map → responsiveness-probe-LVRBC2AA.js.map} +0 -0
  32. /package/dist/{session-auth-dead-U5JSZD5Z.js.map → session-auth-dead-FREXPXHN.js.map} +0 -0
package/dist/bin/agt.js CHANGED
@@ -40,19 +40,20 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-SF7ZOIKU.js";
43
+ } from "../chunk-LMJH26IW.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-NBKNLVIB.js";
48
+ } from "../chunk-OISSVMYG.js";
49
49
  import {
50
50
  markDailySessionSpawn,
51
51
  sessionFileExists,
52
52
  sessionTranscriptDir
53
- } from "../chunk-FISAZWZ3.js";
53
+ } from "../chunk-AJ2Z3VSN.js";
54
54
  import "../chunk-B6UYVEMD.js";
55
55
  import "../chunk-XWVM4KPK.js";
56
+ import "../chunk-EL5MWGGH.js";
56
57
  import {
57
58
  AnchorSessionClient,
58
59
  CHANNEL_REGISTRY,
@@ -83,8 +84,7 @@ import {
83
84
  requiredMcpWildcard,
84
85
  resolveChannels,
85
86
  serializeManifestForSlackCli
86
- } from "../chunk-XZ6THC7Q.js";
87
- import "../chunk-EL5MWGGH.js";
87
+ } from "../chunk-TLDY7AE4.js";
88
88
  import "../chunk-DGUM43GV.js";
89
89
 
90
90
  // src/bin/agt.ts
@@ -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 slug = name.toLowerCase().trim().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "");
377
- if (!slug) {
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 contain at least one alphanumeric character.");
381
+ error("Invalid team name. It must not be empty.");
382
382
  }
383
383
  process.exitCode = 1;
384
384
  return;
385
385
  }
386
- const spinner = ora2({ text: `Creating team "${name}" (${slug})\u2026`, isSilent: json });
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, slug });
390
+ const data = await api.post("/teams", { name: trimmed, timezone });
390
391
  setActiveTeam(data.team.slug);
391
- spinner.succeed(`Team "${chalk2.bold(name)}" created.`);
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.1147" : "dev";
5515
+ var cliVersion = true ? "0.28.1149" : "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.1147" : "dev";
6775
+ var cliVersion2 = true ? "0.28.1149" : "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) => {