@integrity-labs/agt-cli 0.28.1270 → 0.28.1271

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 (34) hide show
  1. package/dist/{api-client-TPJBEIKR.js → api-client-QQQVVBVV.js} +3 -3
  2. package/dist/bin/agt.js +7 -7
  3. package/dist/{chunk-A22SKOQ4.js → chunk-53EZZXH7.js} +2 -2
  4. package/dist/{chunk-CJFHB3HA.js → chunk-BRAGHYEI.js} +57 -2
  5. package/dist/chunk-BRAGHYEI.js.map +1 -0
  6. package/dist/{chunk-HHDHYVLS.js → chunk-GYXG7TDM.js} +2 -2
  7. package/dist/{chunk-YP7VUMM4.js → chunk-KOIQP6O7.js} +3 -3
  8. package/dist/{chunk-SXQ6YCFR.js → chunk-L52PEFTL.js} +3 -3
  9. package/dist/{chunk-PVVFL73J.js → chunk-YLKRTJLF.js} +5 -5
  10. package/dist/{claude-code-updater-K6PENJ7A.js → claude-code-updater-RGOXKW5P.js} +3 -3
  11. package/dist/{claude-pair-runtime-NOVMDM62.js → claude-pair-runtime-AMSKEBCU.js} +3 -3
  12. package/dist/lib/manager-worker.js +30 -22
  13. package/dist/lib/manager-worker.js.map +1 -1
  14. package/dist/mcp/direct-chat-channel.js +56 -1
  15. package/dist/mcp/index.js +56 -1
  16. package/dist/mcp/origami.js +56 -1
  17. package/dist/mcp/slack-channel.js +56 -1
  18. package/dist/mcp/telegram-channel.js +56 -1
  19. package/dist/{persistent-session-SMMVQBRS.js → persistent-session-UONCY6TG.js} +4 -4
  20. package/dist/{responsiveness-probe-PX4FMO4H.js → responsiveness-probe-NWKSHBG6.js} +4 -4
  21. package/dist/{session-auth-dead-47D57WMA.js → session-auth-dead-ELTKKKEH.js} +3 -3
  22. package/package.json +1 -1
  23. package/dist/chunk-CJFHB3HA.js.map +0 -1
  24. /package/dist/{api-client-TPJBEIKR.js.map → api-client-QQQVVBVV.js.map} +0 -0
  25. /package/dist/{chunk-A22SKOQ4.js.map → chunk-53EZZXH7.js.map} +0 -0
  26. /package/dist/{chunk-HHDHYVLS.js.map → chunk-GYXG7TDM.js.map} +0 -0
  27. /package/dist/{chunk-YP7VUMM4.js.map → chunk-KOIQP6O7.js.map} +0 -0
  28. /package/dist/{chunk-SXQ6YCFR.js.map → chunk-L52PEFTL.js.map} +0 -0
  29. /package/dist/{chunk-PVVFL73J.js.map → chunk-YLKRTJLF.js.map} +0 -0
  30. /package/dist/{claude-code-updater-K6PENJ7A.js.map → claude-code-updater-RGOXKW5P.js.map} +0 -0
  31. /package/dist/{claude-pair-runtime-NOVMDM62.js.map → claude-pair-runtime-AMSKEBCU.js.map} +0 -0
  32. /package/dist/{persistent-session-SMMVQBRS.js.map → persistent-session-UONCY6TG.js.map} +0 -0
  33. /package/dist/{responsiveness-probe-PX4FMO4H.js.map → responsiveness-probe-NWKSHBG6.js.map} +0 -0
  34. /package/dist/{session-auth-dead-47D57WMA.js.map → session-auth-dead-ELTKKKEH.js.map} +0 -0
@@ -15,8 +15,8 @@ import {
15
15
  mintRotatedHostKey,
16
16
  probeHostKey,
17
17
  setConfigHash
18
- } from "./chunk-YP7VUMM4.js";
19
- import "./chunk-CJFHB3HA.js";
18
+ } from "./chunk-KOIQP6O7.js";
19
+ import "./chunk-BRAGHYEI.js";
20
20
  import "./chunk-DGUM43GV.js";
21
21
  export {
22
22
  ApiError,
@@ -36,4 +36,4 @@ export {
36
36
  probeHostKey,
37
37
  setConfigHash
38
38
  };
39
- //# sourceMappingURL=api-client-TPJBEIKR.js.map
39
+ //# sourceMappingURL=api-client-QQQVVBVV.js.map
package/dist/bin/agt.js CHANGED
@@ -31,7 +31,7 @@ import {
31
31
  success,
32
32
  table,
33
33
  warn
34
- } from "../chunk-PVVFL73J.js";
34
+ } from "../chunk-YLKRTJLF.js";
35
35
  import {
36
36
  ApiError,
37
37
  PROD_AGT_HOST,
@@ -42,17 +42,17 @@ import {
42
42
  getHost,
43
43
  getHostId,
44
44
  setActiveTeam
45
- } from "../chunk-YP7VUMM4.js";
45
+ } from "../chunk-KOIQP6O7.js";
46
46
  import {
47
47
  getProjectDir,
48
48
  isSessionResumeDisabled,
49
49
  readDirectChatSessionState
50
- } from "../chunk-SXQ6YCFR.js";
50
+ } from "../chunk-L52PEFTL.js";
51
51
  import {
52
52
  markDailySessionSpawn,
53
53
  sessionFileExists,
54
54
  sessionTranscriptDir
55
- } from "../chunk-A22SKOQ4.js";
55
+ } from "../chunk-53EZZXH7.js";
56
56
  import "../chunk-XL2HPM67.js";
57
57
  import "../chunk-6HBXEJHO.js";
58
58
  import "../chunk-XWVM4KPK.js";
@@ -85,7 +85,7 @@ import {
85
85
  requiredMcpWildcard,
86
86
  resolveChannels,
87
87
  serializeManifestForSlackCli
88
- } from "../chunk-CJFHB3HA.js";
88
+ } from "../chunk-BRAGHYEI.js";
89
89
  import "../chunk-AIUIMEUS.js";
90
90
  import "../chunk-DGUM43GV.js";
91
91
 
@@ -5207,7 +5207,7 @@ import { execFileSync, execSync } from "child_process";
5207
5207
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
5208
5208
  import chalk17 from "chalk";
5209
5209
  import ora15 from "ora";
5210
- var cliVersion = true ? "0.28.1270" : "dev";
5210
+ var cliVersion = true ? "0.28.1271" : "dev";
5211
5211
  async function fetchLatestVersion() {
5212
5212
  const host2 = getHost();
5213
5213
  if (!host2) return null;
@@ -6467,7 +6467,7 @@ function handleError(err) {
6467
6467
  }
6468
6468
 
6469
6469
  // src/bin/agt.ts
6470
- var cliVersion2 = true ? "0.28.1270" : "dev";
6470
+ var cliVersion2 = true ? "0.28.1271" : "dev";
6471
6471
  var program = new Command();
6472
6472
  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");
6473
6473
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  encodeClaudeProjectPath
3
- } from "./chunk-CJFHB3HA.js";
3
+ } from "./chunk-BRAGHYEI.js";
4
4
 
5
5
  // src/lib/daily-session.ts
6
6
  import { randomUUID } from "crypto";
@@ -244,4 +244,4 @@ export {
244
244
  peekPreviousSession,
245
245
  readDailySessionPin
246
246
  };
247
- //# sourceMappingURL=chunk-A22SKOQ4.js.map
247
+ //# sourceMappingURL=chunk-53EZZXH7.js.map
@@ -15795,6 +15795,48 @@ var SITE_LOGIN_COOKIES = Object.freeze([
15795
15795
  Object.freeze({ host: "twitter.com", cookies: Object.freeze(["auth_token"]) })
15796
15796
  ]);
15797
15797
 
15798
+ // ../../packages/core/dist/browserbase/page-actions.js
15799
+ var CDP_METHOD_ALLOWLIST = /* @__PURE__ */ new Set([
15800
+ "Target.getTargets",
15801
+ "Target.attachToTarget",
15802
+ "Target.getTargetInfo",
15803
+ "Page.enable",
15804
+ "Page.navigate",
15805
+ "Page.captureScreenshot",
15806
+ "Accessibility.getFullAXTree",
15807
+ "DOM.getDocument",
15808
+ "DOM.querySelector",
15809
+ "DOM.describeNode",
15810
+ "DOM.scrollIntoViewIfNeeded",
15811
+ "DOM.getBoxModel",
15812
+ "DOM.focus",
15813
+ "Input.dispatchMouseEvent",
15814
+ "Input.insertText",
15815
+ "Input.dispatchKeyEvent"
15816
+ ]);
15817
+ var ALLOWED_CDP_METHODS = Object.freeze([...CDP_METHOD_ALLOWLIST]);
15818
+ var VALUE_TESTING_PSEUDO_CLASSES = [
15819
+ "lang",
15820
+ "dir",
15821
+ "placeholder-shown",
15822
+ "valid",
15823
+ "invalid",
15824
+ "in-range",
15825
+ "out-of-range",
15826
+ "user-valid",
15827
+ "user-invalid",
15828
+ "blank",
15829
+ "autofill",
15830
+ "defined",
15831
+ "target",
15832
+ "visited",
15833
+ "local-link"
15834
+ ];
15835
+ function escapeRegExp(text) {
15836
+ return text.replace(/[\\^$.*+?()[\]{}|-]/g, "\\$&");
15837
+ }
15838
+ var VALUE_PSEUDO_RE = new RegExp(`:(?:-webkit-)?(?:${VALUE_TESTING_PSEUDO_CLASSES.map(escapeRegExp).join("|")})(?![a-zA-Z0-9-])`, "i");
15839
+
15798
15840
  // ../../packages/core/dist/anchor/types.js
15799
15841
  var ANCHOR_API_BASE_URL = "https://api.anchorbrowser.io/v1";
15800
15842
  var ANCHOR_API_KEY_HEADER = "anchor-api-key";
@@ -18587,6 +18629,18 @@ function buildGithubEvent(req, now = /* @__PURE__ */ new Date()) {
18587
18629
  meaningful: true
18588
18630
  };
18589
18631
  }
18632
+ var IGNORED_NAME = /^[a-z][a-z0-9_]{0,63}$/;
18633
+ function describeIgnoredGithubDelivery(req) {
18634
+ const event = header(req.headers, GITHUB_EVENT_HEADER);
18635
+ if (event === "ping")
18636
+ return null;
18637
+ if (!event || !IGNORED_NAME.test(event))
18638
+ return "(other)";
18639
+ const action = str(asDict(req.body)?.["action"]);
18640
+ if (action === null)
18641
+ return event;
18642
+ return IGNORED_NAME.test(action) ? `${event}/${action}` : `${event}/(other)`;
18643
+ }
18590
18644
  function validateGithubConfig(input) {
18591
18645
  const out = {};
18592
18646
  const textError = validateOperatorText(input, out);
@@ -18614,7 +18668,8 @@ var githubTriggerAdapter = {
18614
18668
  ingest(req) {
18615
18669
  const event = buildGithubEvent(req);
18616
18670
  return event ? [event] : [];
18617
- }
18671
+ },
18672
+ describeIgnored: describeIgnoredGithubDelivery
18618
18673
  };
18619
18674
  registerTriggerSource(githubTriggerAdapter);
18620
18675
 
@@ -18868,4 +18923,4 @@ export {
18868
18923
  HOST_ROTATE_KEY_CONFLICT,
18869
18924
  shouldMintReplacementKey
18870
18925
  };
18871
- //# sourceMappingURL=chunk-CJFHB3HA.js.map
18926
+ //# sourceMappingURL=chunk-BRAGHYEI.js.map