Skip to content

Make case consistent for CreateAiAssistantRoomCommmand #2166

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { SkillCard } from 'https://cardstack.com/base/skill-card';
import SaveCardCommand from '@cardstack/boxel-host/commands/save-card';
import PatchCardCommand from '@cardstack/boxel-host/commands/patch-card';
import ReloadCardCommand from '@cardstack/boxel-host/commands/reload-card';
import CreateAIAssistantRoomCommand from '@cardstack/boxel-host/commands/create-ai-assistant-room';
import CreateAiAssistantRoomCommand from '@cardstack/boxel-host/commands/create-ai-assistant-room';
import AddSkillsToRoomCommand from '@cardstack/boxel-host/commands/add-skills-to-room';
import SendAiAssistantMessageCommand from '@cardstack/boxel-host/commands/send-ai-assistant-message';
import OpenAiAssistantRoomCommand from '@cardstack/boxel-host/commands/open-ai-assistant-room';
Expand Down Expand Up @@ -72,7 +72,7 @@ export default class CreateProductRequirementsInstance extends Command<
cardType: ProductRequirementDocument,
});

let createRoomCommand = new CreateAIAssistantRoomCommand(
let createRoomCommand = new CreateAiAssistantRoomCommand(
this.commandContext,
);
let { roomId } = await createRoomCommand.execute({
Expand Down
4 changes: 2 additions & 2 deletions packages/experiments-realm/product-requirement-document.gts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { tracked } from '@glimmer/tracking';
import { AppCard } from './app-card';
import ClipboardListIcon from '@cardstack/boxel-icons/clipboard-list';

import CreateAIAssistantRoomCommand from '@cardstack/boxel-host/commands/create-ai-assistant-room';
import CreateAiAssistantRoomCommand from '@cardstack/boxel-host/commands/create-ai-assistant-room';
import ShowCardCommand from '@cardstack/boxel-host/commands/show-card';
import SaveCardCommand from '@cardstack/boxel-host/commands/save-card';
import WriteTextFileCommand from '@cardstack/boxel-host/commands/write-text-file';
Expand Down Expand Up @@ -252,7 +252,7 @@ class Isolated extends Component<typeof ProductRequirementDocument> {
}
this.errorMessage = '';
try {
let createRoomCommand = new CreateAIAssistantRoomCommand(commandContext);
let createRoomCommand = new CreateAiAssistantRoomCommand(commandContext);
let { roomId } = await createRoomCommand.execute({
name: 'AI Assistant Room',
});
Expand Down
2 changes: 1 addition & 1 deletion packages/host/app/commands/create-ai-assistant-room.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import HostBaseCommand from '../lib/host-base-command';

import type MatrixService from '../services/matrix-service';

export default class CreateAIAssistantRoomCommand extends HostBaseCommand<
export default class CreateAiAssistantRoomCommand extends HostBaseCommand<
typeof BaseCommandModule.CreateAIAssistantRoomInput,
typeof BaseCommandModule.CreateAIAssistantRoomResult
> {
Expand Down
4 changes: 2 additions & 2 deletions packages/host/app/components/ai-assistant/panel.gts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import ENV from '@cardstack/host/config/environment';
import OperatorModeStateService from '@cardstack/host/services/operator-mode-state-service';

import AddSkillsToRoomCommand from '../../commands/add-skills-to-room';
import CreateAIAssistantRoomCommand from '../../commands/create-ai-assistant-room';
import CreateAiAssistantRoomCommand from '../../commands/create-ai-assistant-room';
import { Message } from '../../lib/matrix-classes/message';
import { isMatrixError, eventDebounceMs } from '../../lib/matrix-utils';
import CommandService from '../../services/command-service';
Expand Down Expand Up @@ -458,7 +458,7 @@ export default class AiAssistantPanel extends Component<Signature> {

private doCreateRoom = restartableTask(async (name: string) => {
try {
let createRoomCommand = new CreateAIAssistantRoomCommand(
let createRoomCommand = new CreateAiAssistantRoomCommand(
this.commandService.commandContext,
);
let { roomId } = await createRoomCommand.execute({ name });
Expand Down
4 changes: 2 additions & 2 deletions packages/host/tests/cards/ai-command-example.gts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { on } from '@ember/modifier';

import CreateAIAssistantRoomCommand from '@cardstack/boxel-host/commands/create-ai-assistant-room';
import CreateAiAssistantRoomCommand from '@cardstack/boxel-host/commands/create-ai-assistant-room';
import SendAiAssistantMessageCommand from '@cardstack/boxel-host/commands/send-ai-assistant-message';

import { Button } from '@cardstack/boxel-ui/components';
Expand Down Expand Up @@ -57,7 +57,7 @@ export class AiCommandExample extends CardDef {

let getWeatherCommand = new GetWeatherCommand(commandContext);

let createAIAssistantRoomCommand = new CreateAIAssistantRoomCommand(
let createAIAssistantRoomCommand = new CreateAiAssistantRoomCommand(
commandContext,
);
let { roomId } = await createAIAssistantRoomCommand.execute({
Expand Down
4 changes: 2 additions & 2 deletions packages/host/tests/cards/person.gts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { on } from '@ember/modifier';

import CreateAIAssistantRoomCommand from '@cardstack/boxel-host/commands/create-ai-assistant-room';
import CreateAiAssistantRoomCommand from '@cardstack/boxel-host/commands/create-ai-assistant-room';
import SendAiAssistantMessageCommand from '@cardstack/boxel-host/commands/send-ai-assistant-message';
import SwitchSubmodeCommand from '@cardstack/boxel-host/commands/switch-submode';

Expand Down Expand Up @@ -38,7 +38,7 @@ export class Person extends CardDef {
console.error('No command context found');
return;
}
let createAIAssistantRoomCommand = new CreateAIAssistantRoomCommand(
let createAIAssistantRoomCommand = new CreateAiAssistantRoomCommand(
commandContext,
);
let { roomId } = await createAIAssistantRoomCommand.execute({
Expand Down