@app-vitals/agent-runtime 1.107.5 → 1.108.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@app-vitals/agent-runtime",
3
- "version": "1.107.5",
3
+ "version": "1.108.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/app-vitals/agent.git",
@@ -41,8 +41,8 @@
41
41
  "./workspace-paths": "./workspace-paths.ts"
42
42
  },
43
43
  "dependencies": {
44
- "@app-vitals/agent-admin": "1.107.5",
45
- "@app-vitals/agent-lib": "1.107.5",
44
+ "@app-vitals/agent-admin": "1.108.1",
45
+ "@app-vitals/agent-lib": "1.108.1",
46
46
  "@octokit/auth-app": "^8.2.0",
47
47
  "@sentry/bun": "^10.63.0",
48
48
  "@slack/bolt": "^5.0.0",
@@ -65,8 +65,8 @@ function makeSpawnSync(status = 0) {
65
65
 
66
66
  function makeBotIdentity(
67
67
  identity: BotIdentity = {
68
- slug: "keanu-hifriends",
69
- name: "Keanu HiFriends",
68
+ slug: "sample-agent",
69
+ name: "Sample Agent",
70
70
  userId: 987654,
71
71
  },
72
72
  ) {
@@ -101,8 +101,8 @@ describe("setupGitHubAuth — App path", () => {
101
101
  const spawnSync = makeSpawnSync();
102
102
  const writeToken = makeWriteToken();
103
103
  const getBotIdentity = makeBotIdentity({
104
- slug: "keanu-hifriends",
105
- name: "Keanu HiFriends",
104
+ slug: "sample-agent",
105
+ name: "Sample Agent",
106
106
  userId: 987654,
107
107
  });
108
108
 
@@ -163,7 +163,7 @@ describe("setupGitHubAuth — App path", () => {
163
163
  );
164
164
  expect(spawnSync).toHaveBeenCalledWith(
165
165
  "git",
166
- ["config", "--global", "user.name", "keanu-hifriends[bot]"],
166
+ ["config", "--global", "user.name", "sample-agent[bot]"],
167
167
  { stdio: "inherit", env: expectedEnv },
168
168
  );
169
169
  expect(spawnSync).toHaveBeenCalledWith(
@@ -172,7 +172,7 @@ describe("setupGitHubAuth — App path", () => {
172
172
  "config",
173
173
  "--global",
174
174
  "user.email",
175
- "987654+keanu-hifriends[bot]@users.noreply.github.com",
175
+ "987654+sample-agent[bot]@users.noreply.github.com",
176
176
  ],
177
177
  { stdio: "inherit", env: expectedEnv },
178
178
  );
@@ -78,7 +78,7 @@ const MS_PER_DAY = 24 * 60 * 60 * 1000;
78
78
  * match.
79
79
  *
80
80
  * `worktrees/<dirname>` uses the BARE repo name convention (e.g.
81
- * "ok-wow-agency-feat-foo"), but agentReposRef.get() (and therefore
81
+ * "acme-agency-feat-foo"), but agentReposRef.get() (and therefore
82
82
  * deps.getScopedRepos()) returns "org/repo"-formatted strings in production
83
83
  * (see agent-repos-ref.ts's doc comment) — so every scoped entry is first
84
84
  * normalized to its bare repo name via splitOrgRepo() (the same helper
@@ -278,19 +278,19 @@ describe("reconcileStaleWorktrees", () => {
278
278
  test("RCO-1.1: an org/repo scoped entry matches its corresponding bare-name worktree dirname", async () => {
279
279
  const oldMtime = new Date("2026-07-08T00:00:00.000Z");
280
280
  const { deps, removeCalls } = makeDeps({
281
- dirs: ["ok-wow-agency-feat-foo"],
282
- scopedRepos: ["ok-wow/ok-wow-agency"],
283
- mtimes: { "ok-wow-agency-feat-foo": oldMtime },
281
+ dirs: ["acme-agency-feat-foo"],
282
+ scopedRepos: ["acme/acme-agency"],
283
+ mtimes: { "acme-agency-feat-foo": oldMtime },
284
284
  });
285
285
 
286
286
  await reconcileStaleWorktrees(deps);
287
287
 
288
- // The bare repo name ("ok-wow-agency"), not the raw "org/repo" string, is
288
+ // The bare repo name ("acme-agency"), not the raw "org/repo" string, is
289
289
  // what's passed to removeWorktree — mirrors pr-state-reconciler.ts's own
290
290
  // splitOrgRepo(record.repo) -> shortRepo usage for the same worktree path
291
291
  // shape.
292
292
  expect(removeCalls).toEqual([
293
- { repo: "ok-wow-agency", dirname: "ok-wow-agency-feat-foo" },
293
+ { repo: "acme-agency", dirname: "acme-agency-feat-foo" },
294
294
  ]);
295
295
  });
296
296