Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/adapters/src/community/forge/gitea/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import {
} from '@archon/git';
import * as db from '@archon/core/db/conversations';
import * as codebaseDb from '@archon/core/db/codebases';
import { resolveDefaultAssistant } from '@archon/core/config';
import { parseAllowedUsers, isGiteaUserAuthorized } from './auth';
import { splitIntoParagraphChunks } from '../../../utils/message-splitting';
import type { WebhookEvent } from './types';
Expand Down Expand Up @@ -642,6 +643,7 @@ export class GiteaAdapter implements IPlatformAdapter {
name: `${owner}/${repo}`,
repository_url: repoUrlNoGit,
default_cwd: canonicalPath,
ai_assistant_type: await resolveDefaultAssistant(canonicalPath),
});

getLog().info({ codebaseName: codebase.name, path: canonicalPath }, 'codebase_created');
Expand Down
2 changes: 2 additions & 0 deletions packages/adapters/src/community/forge/gitlab/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import {
} from '@archon/git';
import * as db from '@archon/core/db/conversations';
import * as codebaseDb from '@archon/core/db/codebases';
import { resolveDefaultAssistant } from '@archon/core/config';
import { parseAllowedUsers, isGitLabUserAuthorized, verifyWebhookToken } from './auth';
import { splitIntoParagraphChunks } from '../../../utils/message-splitting';
import type { GitLabWebhookEvent, GitLabIssue, GitLabMergeRequest } from './types';
Expand Down Expand Up @@ -592,6 +593,7 @@ Use 'glab mr view ${String(mr.iid)}' for full details and 'glab mr diff ${String
name: projectPath,
repository_url: repoUrlNoGit,
default_cwd: canonicalPath,
ai_assistant_type: await resolveDefaultAssistant(canonicalPath),
});

getLog().info({ codebaseName: codebase.name, path: canonicalPath }, 'gitlab.codebase_created');
Expand Down
2 changes: 2 additions & 0 deletions packages/adapters/src/forge/github/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import {
} from '@archon/git';
import * as db from '@archon/core/db/conversations';
import * as codebaseDb from '@archon/core/db/codebases';
import { resolveDefaultAssistant } from '@archon/core/config';
import { createLogger } from '@archon/paths';
import { parseAllowedUsers as parseGitHubAllowedUsers, isGitHubUserAuthorized } from './auth';
import { splitIntoParagraphChunks } from '../../utils/message-splitting';
Expand Down Expand Up @@ -620,6 +621,7 @@ export class GitHubAdapter implements IPlatformAdapter {
name: `${owner}/${repo}`,
repository_url: repoUrlNoGit, // Store without .git for consistency
default_cwd: canonicalPath,
ai_assistant_type: await resolveDefaultAssistant(canonicalPath),
});

getLog().info({ codebaseName: codebase.name, path: canonicalPath }, 'github.codebase_created');
Expand Down
Loading
Loading