Skip to content

chore: add .agentsroom to .gitignore#460

Open
jherr wants to merge 5 commits intomainfrom
add-agentsroom-gitignore
Open

chore: add .agentsroom to .gitignore#460
jherr wants to merge 5 commits intomainfrom
add-agentsroom-gitignore

Conversation

@jherr
Copy link
Copy Markdown
Contributor

@jherr jherr commented Apr 16, 2026

Summary

  • Adds .agentsroom to .gitignore to prevent agent session files from being committed

Test plan

  • Verify .agentsroom/ directories are excluded from git tracking

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Added AgentsRoom configuration framework for managing agents and their settings
    • Updated version control to exclude local and personal agent data from being committed

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 16, 2026

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

💤 Files selected but had no reviewable changes (2)
  • packages/typescript/ai-openrouter/src/model-meta.ts
  • scripts/openrouter.models.ts
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 8a8ade32-2c32-4b5d-98af-8b6a9d9e4f16

📥 Commits

Reviewing files that changed from the base of the PR and between e69026e and 7df615b.

📒 Files selected for processing (2)
  • packages/typescript/ai-openrouter/src/model-meta.ts
  • scripts/openrouter.models.ts

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Introduces AgentsRoom configuration infrastructure by adding a .agentsroom/ directory with agent definitions, prompts structure, and local data gitignore rules. Also updates the root .gitignore to exclude the directory from version control.

Changes

Cohort / File(s) Summary
AgentsRoom Configuration
.agentsroom/.gitignore, .agentsroom/agents.json, .agentsroom/prompts.json
Adds AgentsRoom infrastructure: agent configuration with fullstack/opus setup, empty prompts array structure, and local gitignore rules to prevent committing personal data and session files.
Root Gitignore
.gitignore
Adds .agentsroom directory to root-level ignore patterns.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A room for agents, fresh and new,
With configs set and paths in view,
Personal secrets tucked away safe,
Sessions hidden in a cozy space—
The AgentsRoom now takes its place! 🏠

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description deviates significantly from the required template. It omits the 'Changes' section with detailed motivation, the required 'Checklist' section, and the 'Release Impact' section. Only a brief summary and test plan are provided. Add the missing sections from the template: provide detailed changes under '## 🎯 Changes', include the checklist with contribution guide and test command, and clarify release impact with changeset or dev-only designation.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: adding .agentsroom to .gitignore. It is concise, specific, and clearly summarizes the primary purpose of the PR.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch add-agentsroom-gitignore

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 16, 2026

🚀 Changeset Version Preview

5 package(s) bumped directly, 22 bumped as dependents.

🟩 Patch bumps

Package Version Reason
@tanstack/ai 0.10.2 → 0.10.3 Changeset
@tanstack/ai-gemini 0.8.7 → 0.8.8 Changeset
@tanstack/ai-ollama 0.6.5 → 0.6.6 Changeset
@tanstack/ai-openai 0.7.4 → 0.7.5 Changeset
@tanstack/ai-openrouter 0.7.4 → 0.7.5 Changeset
@tanstack/ai-client 0.7.9 → 0.7.10 Dependent
@tanstack/ai-code-mode 0.1.2 → 0.1.3 Dependent
@tanstack/ai-code-mode-models-eval 0.0.5 → 0.0.6 Dependent
@tanstack/ai-code-mode-skills 0.1.2 → 0.1.3 Dependent
@tanstack/ai-devtools-core 0.3.19 → 0.3.20 Dependent
@tanstack/ai-event-client 0.2.2 → 0.2.3 Dependent
@tanstack/ai-fal 0.6.12 → 0.6.13 Dependent
@tanstack/ai-isolate-cloudflare 0.1.2 → 0.1.3 Dependent
@tanstack/ai-isolate-node 0.1.2 → 0.1.3 Dependent
@tanstack/ai-isolate-quickjs 0.1.2 → 0.1.3 Dependent
@tanstack/ai-preact 0.6.14 → 0.6.15 Dependent
@tanstack/ai-react 0.7.10 → 0.7.11 Dependent
@tanstack/ai-solid 0.6.14 → 0.6.15 Dependent
@tanstack/ai-svelte 0.6.14 → 0.6.15 Dependent
@tanstack/ai-vue 0.6.14 → 0.6.15 Dependent
@tanstack/ai-vue-ui 0.1.25 → 0.1.26 Dependent
@tanstack/preact-ai-devtools 0.1.23 → 0.1.24 Dependent
@tanstack/react-ai-devtools 0.2.23 → 0.2.24 Dependent
@tanstack/solid-ai-devtools 0.2.23 → 0.2.24 Dependent
ts-svelte-chat 0.1.31 → 0.1.32 Dependent
ts-vue-chat 0.1.31 → 0.1.32 Dependent
vanilla-chat 0.0.29 → 0.0.30 Dependent

@nx-cloud
Copy link
Copy Markdown

nx-cloud bot commented Apr 16, 2026

View your CI Pipeline Execution ↗ for commit 7df615b

Command Status Duration Result
nx affected --targets=test:sherif,test:knip,tes... ✅ Succeeded 1m 43s View ↗
nx run-many --targets=build --exclude=examples/** ✅ Succeeded 1m 40s View ↗

☁️ Nx Cloud last updated this comment at 2026-04-16 18:04:59 UTC

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.agentsroom/.gitignore:
- Around line 1-4: The root .gitignore currently ignores the entire .agentsroom
directory which prevents .agentsroom/.gitignore from being tracked; remove the
`.agentsroom` entry from the root .gitignore so that the repository will track
the .agentsroom directory and defer exclusions to .agentsroom/.gitignore (which
contains patterns like `*-personal.json`, `agents-local.json`, and `sessions/`);
after removing that entry, verify `.agentsroom/.gitignore` is committed so its
local-personal exclusions take effect.

In @.agentsroom/agents.json:
- Around line 1-10: This file contains session-specific identifiers
(claudeSessionId and id) and is inside a directory already ignored by the root
.gitignore; remove or template those values and make the file a safe, trackable
example: strip or replace claudeSessionId and id with placeholders (e.g.,
"<CLAUDE_SESSION_ID>" / "<AGENT_ID>") and rename the file to a committed
template like agents-example.json (or document that users copy it to
agents-local.json which is listed in .agentsroom/.gitignore); ensure keys such
as role, model, customName remain intact and add a trailing newline.

In @.agentsroom/prompts.json:
- Around line 1-4: The .agentsroom/prompts.json file is currently ignored by the
root .gitignore because the pattern ".agentsroom/" excludes the whole directory;
either remove or refine that ignore pattern in .gitignore (or add an explicit
negation like "!.agentsroom/prompts.json") so this file can be tracked, and also
add a trailing newline to the end of prompts.json to follow JSON file
conventions.

In @.gitignore:
- Line 74: Remove the top-level ".agentsroom" ignore entry from the root
.gitignore so the repository can track files like .agentsroom/agents.json and
.agentsroom/prompts.json; rely on the .agentsroom/.gitignore (which already
lists patterns like "*-personal.json", "agents-local.json", and "sessions/") to
exclude only personal/local files instead of ignoring the entire directory.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: e355b60e-af62-467f-931d-7b9fe9bc09d5

📥 Commits

Reviewing files that changed from the base of the PR and between cb07e01 and e69026e.

📒 Files selected for processing (4)
  • .agentsroom/.gitignore
  • .agentsroom/agents.json
  • .agentsroom/prompts.json
  • .gitignore

Comment thread .agentsroom/.gitignore
Comment on lines +1 to +4
# AgentsRoom: personal files (not committed to git)
*-personal.json
agents-local.json
sessions/
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

Critical: This file won't be tracked due to root .gitignore conflict.

The root .gitignore adds .agentsroom on line 74, which ignores the entire .agentsroom/ directory. This means .agentsroom/.gitignore itself won't be tracked by git, making these ignore patterns ineffective.

If the intent is to track the .agentsroom/ directory structure while excluding only personal/local data, the root .gitignore should NOT ignore the entire directory. Instead, rely solely on this .agentsroom/.gitignore to exclude personal files.

🔧 Proposed fix: Remove `.agentsroom` from root `.gitignore`

Remove line 74 from the root .gitignore file:

-.agentsroom

This allows .agentsroom/.gitignore to control what is excluded within that directory.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.agentsroom/.gitignore around lines 1 - 4, The root .gitignore currently
ignores the entire .agentsroom directory which prevents .agentsroom/.gitignore
from being tracked; remove the `.agentsroom` entry from the root .gitignore so
that the repository will track the .agentsroom directory and defer exclusions to
.agentsroom/.gitignore (which contains patterns like `*-personal.json`,
`agents-local.json`, and `sessions/`); after removing that entry, verify
`.agentsroom/.gitignore` is committed so its local-personal exclusions take
effect.

Comment thread .agentsroom/agents.json
Comment on lines +1 to +10
[
{
"role": "fullstack",
"model": "opus",
"customName": "Full-Stack Developer",
"isPersonal": false,
"id": "agent-1776361243376-3sekdc",
"claudeSessionId": "96773a93-be2a-45a9-a732-ceb224d3d0e5"
}
] No newline at end of file
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

Critical/Major: File won't be tracked, and contains session-specific data that shouldn't be committed.

Two issues:

  1. Critical: This file won't be tracked because the root .gitignore ignores the entire .agentsroom/ directory (see comment on .gitignore line 74).

  2. Major: Even if this file were tracked, it contains session-specific identifiers (claudeSessionId, id) that appear to be personal/local data and should not be committed to a shared repository. These should either be:

    • Excluded via .agentsroom/.gitignore patterns (e.g., this could be agents-local.json)
    • Removed/templated if this is meant to be a committed configuration file

The PR description states the goal is to "prevent agent session files from being committed," which suggests these session identifiers should not be in version control.

🔧 Recommended approach

If the intent is to provide a template configuration:

  1. Remove session-specific values and provide a template:
 [
   {
     "role": "fullstack",
     "model": "opus",
     "customName": "Full-Stack Developer",
     "isPersonal": false,
-    "id": "agent-1776361243376-3sekdc",
-    "claudeSessionId": "96773a93-be2a-45a9-a732-ceb224d3d0e5"
   }
 ]
  1. Rename to agents-example.json or document that users should copy this to agents-local.json (which is gitignored per .agentsroom/.gitignore).

  2. Optionally, add a trailing newline for consistency.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
[
{
"role": "fullstack",
"model": "opus",
"customName": "Full-Stack Developer",
"isPersonal": false,
"id": "agent-1776361243376-3sekdc",
"claudeSessionId": "96773a93-be2a-45a9-a732-ceb224d3d0e5"
}
]
[
{
"role": "fullstack",
"model": "opus",
"customName": "Full-Stack Developer",
"isPersonal": false
}
]
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.agentsroom/agents.json around lines 1 - 10, This file contains
session-specific identifiers (claudeSessionId and id) and is inside a directory
already ignored by the root .gitignore; remove or template those values and make
the file a safe, trackable example: strip or replace claudeSessionId and id with
placeholders (e.g., "<CLAUDE_SESSION_ID>" / "<AGENT_ID>") and rename the file to
a committed template like agents-example.json (or document that users copy it to
agents-local.json which is listed in .agentsroom/.gitignore); ensure keys such
as role, model, customName remain intact and add a trailing newline.

Comment thread .agentsroom/prompts.json
Comment on lines +1 to +4
{
"folders": [],
"prompts": []
} No newline at end of file
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

Note: File won't be tracked due to root .gitignore conflict.

This file won't be tracked because the root .gitignore ignores the entire .agentsroom/ directory (see comment on .gitignore line 74).

Additionally, consider adding a trailing newline at the end of the file to follow common JSON file conventions.

📝 Optional: Add trailing newline
 {
   "folders": [],
   "prompts": []
 }
+
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
{
"folders": [],
"prompts": []
}
{
"folders": [],
"prompts": []
}
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.agentsroom/prompts.json around lines 1 - 4, The .agentsroom/prompts.json
file is currently ignored by the root .gitignore because the pattern
".agentsroom/" excludes the whole directory; either remove or refine that ignore
pattern in .gitignore (or add an explicit negation like
"!.agentsroom/prompts.json") so this file can be tracked, and also add a
trailing newline to the end of prompts.json to follow JSON file conventions.

Comment thread .gitignore
# Only .claude.settings.json should be committed
.claude/settings.local.json
.claude/worktrees/*
.agentsroom
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

Critical: Ignoring entire .agentsroom/ directory conflicts with tracking configuration files.

Adding .agentsroom to the root .gitignore prevents ALL files in that directory from being tracked, including the .agentsroom/agents.json, .agentsroom/prompts.json, and .agentsroom/.gitignore files that this PR attempts to commit.

Based on the .agentsroom/.gitignore patterns (*-personal.json, agents-local.json, sessions/), it appears the intent is to:

  1. Track base configuration files (e.g., agents.json, prompts.json)
  2. Exclude only personal/local data via .agentsroom/.gitignore

This line should be removed to allow the .agentsroom/ directory to be tracked, with .agentsroom/.gitignore controlling what gets excluded.

🔧 Proposed fix: Remove this line
-.agentsroom

Rely on .agentsroom/.gitignore to exclude personal/local files instead.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
.agentsroom
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.gitignore at line 74, Remove the top-level ".agentsroom" ignore entry from
the root .gitignore so the repository can track files like
.agentsroom/agents.json and .agentsroom/prompts.json; rely on the
.agentsroom/.gitignore (which already lists patterns like "*-personal.json",
"agents-local.json", and "sessions/") to exclude only personal/local files
instead of ignoring the entire directory.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 16, 2026

Open in StackBlitz

@tanstack/ai

npm i https://pkg.pr.new/@tanstack/ai@460

@tanstack/ai-anthropic

npm i https://pkg.pr.new/@tanstack/ai-anthropic@460

@tanstack/ai-client

npm i https://pkg.pr.new/@tanstack/ai-client@460

@tanstack/ai-code-mode

npm i https://pkg.pr.new/@tanstack/ai-code-mode@460

@tanstack/ai-code-mode-skills

npm i https://pkg.pr.new/@tanstack/ai-code-mode-skills@460

@tanstack/ai-devtools-core

npm i https://pkg.pr.new/@tanstack/ai-devtools-core@460

@tanstack/ai-elevenlabs

npm i https://pkg.pr.new/@tanstack/ai-elevenlabs@460

@tanstack/ai-event-client

npm i https://pkg.pr.new/@tanstack/ai-event-client@460

@tanstack/ai-fal

npm i https://pkg.pr.new/@tanstack/ai-fal@460

@tanstack/ai-gemini

npm i https://pkg.pr.new/@tanstack/ai-gemini@460

@tanstack/ai-grok

npm i https://pkg.pr.new/@tanstack/ai-grok@460

@tanstack/ai-groq

npm i https://pkg.pr.new/@tanstack/ai-groq@460

@tanstack/ai-isolate-cloudflare

npm i https://pkg.pr.new/@tanstack/ai-isolate-cloudflare@460

@tanstack/ai-isolate-node

npm i https://pkg.pr.new/@tanstack/ai-isolate-node@460

@tanstack/ai-isolate-quickjs

npm i https://pkg.pr.new/@tanstack/ai-isolate-quickjs@460

@tanstack/ai-ollama

npm i https://pkg.pr.new/@tanstack/ai-ollama@460

@tanstack/ai-openai

npm i https://pkg.pr.new/@tanstack/ai-openai@460

@tanstack/ai-openrouter

npm i https://pkg.pr.new/@tanstack/ai-openrouter@460

@tanstack/ai-preact

npm i https://pkg.pr.new/@tanstack/ai-preact@460

@tanstack/ai-react

npm i https://pkg.pr.new/@tanstack/ai-react@460

@tanstack/ai-react-ui

npm i https://pkg.pr.new/@tanstack/ai-react-ui@460

@tanstack/ai-solid

npm i https://pkg.pr.new/@tanstack/ai-solid@460

@tanstack/ai-solid-ui

npm i https://pkg.pr.new/@tanstack/ai-solid-ui@460

@tanstack/ai-svelte

npm i https://pkg.pr.new/@tanstack/ai-svelte@460

@tanstack/ai-vue

npm i https://pkg.pr.new/@tanstack/ai-vue@460

@tanstack/ai-vue-ui

npm i https://pkg.pr.new/@tanstack/ai-vue-ui@460

@tanstack/preact-ai-devtools

npm i https://pkg.pr.new/@tanstack/preact-ai-devtools@460

@tanstack/react-ai-devtools

npm i https://pkg.pr.new/@tanstack/react-ai-devtools@460

@tanstack/solid-ai-devtools

npm i https://pkg.pr.new/@tanstack/solid-ai-devtools@460

commit: 7df615b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant