@teamvibe/poller 0.1.24 → 0.1.25

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.
@@ -1,8 +1,3 @@
1
- /**
2
- * Configure git auth using `gh auth setup-git`.
3
- * Uses gitEnv which includes /data/bin in PATH.
4
- */
5
- export declare function configureGitAuth(): Promise<void>;
6
1
  interface BrainConfig {
7
2
  brainId: string;
8
3
  gitRepoUrl: string;
@@ -19,19 +19,6 @@ if (config.PERSISTENT_STORAGE_PATH) {
19
19
  function gitExec(command, options) {
20
20
  return execAsync(command, { ...options, env: gitEnv });
21
21
  }
22
- /**
23
- * Configure git auth using `gh auth setup-git`.
24
- * Uses gitEnv which includes /data/bin in PATH.
25
- */
26
- export async function configureGitAuth() {
27
- try {
28
- await gitExec('gh auth setup-git');
29
- logger.info('Git authentication configured via gh');
30
- }
31
- catch (error) {
32
- logger.warn(`Could not configure git auth: ${error instanceof Error ? error.message : error}`);
33
- }
34
- }
35
22
  // Cooldown tracker per brain
36
23
  const lastUpdateTimes = new Map();
37
24
  /**
package/dist/poller.js CHANGED
@@ -4,7 +4,7 @@ import { pollMessages, deleteMessage, extendVisibility, } from './sqs-poller.js'
4
4
  import { spawnClaudeCode, isAtCapacity, getActiveProcessCount } from './claude-spawner.js';
5
5
  import { sendSlackError, addReaction, getUserInfo, startTypingIndicator } from './slack-client.js';
6
6
  import { acquireSessionLock, releaseSessionLock, updateSessionId } from './session-store.js';
7
- import { getBrainPath, ensureDirectories, ensureBaseBrain, pushBrainChanges, configureGitAuth } from './brain-manager.js';
7
+ import { getBrainPath, ensureDirectories, ensureBaseBrain, pushBrainChanges } from './brain-manager.js';
8
8
  import { initAuth, stopRefresh } from './auth-provider.js';
9
9
  // Track active message processing
10
10
  const processingMessages = new Set();
@@ -254,7 +254,6 @@ export async function startPoller() {
254
254
  logger.info(` Queue: ${config.SQS_QUEUE_URL}`);
255
255
  logger.info(` Sessions table: ${config.SESSIONS_TABLE}`);
256
256
  }
257
- await configureGitAuth();
258
257
  await ensureDirectories();
259
258
  await ensureBaseBrain();
260
259
  await pollLoop();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamvibe/poller",
3
- "version": "0.1.24",
3
+ "version": "0.1.25",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "bin": {