Skip to content

feat: unified local dev setup with optional services#2052

Merged
nick-inkeep merged 2 commits intomainfrom
feat/local-dev-optional-services
Feb 17, 2026
Merged

feat: unified local dev setup with optional services#2052
nick-inkeep merged 2 commits intomainfrom
feat/local-dev-optional-services

Conversation

@nick-inkeep
Copy link
Collaborator

Summary

  • Add pnpm setup-dev:optional — thin bootstrap shim that clones agents-optional-local-dev into .optional-services/, delegates to its scripts/setup.sh, and wires Nango + SigNoz + OTEL Collector + Jaeger into the caller's .env
  • Add lifecycle commands: pnpm optional:stop, pnpm optional:status, pnpm optional:reset
  • Clone target is .optional-services/ (gitignored dotfolder inside the project, overridable via OPTIONAL_SERVICES_DIR)
  • Auto-sync shim to create-agents-template/ via lint-staged (same pattern as generate-jwt-keys.sh)
  • Update docs: traces.mdx, nango.mdx, contributing/overview.mdx — automated + manual setup sections, snippets for shared content
  • Fix stale .env.example references in 4 deployment docs
  • Add troubleshooting entries and upgrading notes

Changes

Scripts:

  • scripts/setup-optional.sh — bootstrap shim (clone + delegate + env var passthrough)
  • create-agents-template/scripts/setup-optional.sh — auto-synced copy

Docs:

  • agents-docs/content/get-started/traces.mdx — automated/manual SigNoz setup
  • agents-docs/content/typescript-sdk/credentials/nango.mdx — automated/manual Nango setup
  • agents-docs/content/community/contributing/overview.mdx — optional services section
  • agents-docs/_snippets/setup-dev-optional-*.mdx — shared prereq and lifecycle snippets

Config:

  • .gitignore — add .optional-services/
  • package.json — add 4 pnpm commands
  • .env.example — add optional service env vars

Companion PR

inkeep/agents-optional-local-dev#8

Test plan

  • pnpm setup-dev:optional clones into .optional-services/, starts 9 containers, writes 9 env vars
  • pnpm optional:status shows running services
  • pnpm optional:stop stops services
  • pnpm optional:reset removes data and re-runs setup
  • .optional-services/ does not appear in git status
  • OPTIONAL_SERVICES_DIR=/tmp/custom pnpm setup-dev:optional clones to custom path
  • diff scripts/setup-optional.sh create-agents-template/scripts/setup-optional.sh — identical after lint-staged
  • Docs render correctly at localhost:3000

🤖 Generated with Claude Code

@vercel
Copy link

vercel bot commented Feb 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agents-api Ready Ready Preview, Comment Feb 17, 2026 10:37am
agents-docs Ready Ready Preview, Comment Feb 17, 2026 10:37am
agents-manage-ui Ready Ready Preview, Comment Feb 17, 2026 10:37am

Request Review

@changeset-bot
Copy link

changeset-bot bot commented Feb 17, 2026

⚠️ No Changeset found

Latest commit: d710f10

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

@claude claude bot left a comment

Choose a reason for hiding this comment

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

PR Review Summary

(1) Total Issues | Risk: High

🔴❗ Critical (1) ❗🔴

Inline Comments:

  • 🔴 Critical: agents-docs/content/community/contributing/overview.mdx:47-52 Unresolved merge conflict markers in documentation

💭 Consider (0) 💭

No consider items.


🚫 REQUEST CHANGES

Summary: This PR introduces a clean architectural improvement by moving the optional services clone location from a sibling directory to inside the project (.optional-services/), improving discoverability and project self-containment. The documentation updates and gitignore entries are consistent across all surfaces.

However, the PR cannot be merged in its current state due to unresolved Git merge conflict markers in agents-docs/content/community/contributing/overview.mdx (lines 47-52). These will render as literal garbage text in the published documentation. Please resolve the conflict by keeping one version of the Tip content.

Once the merge conflict is resolved, this PR looks good to ship! 🚀


Discarded (5)
Location Issue Reason Discarded
deployment/(docker)/*.mdx Deployment docs use inkeep-external-services vs .optional-services/ Intentional design — deployment docs are for standalone server contexts, not local dev inside the project
package.json:75-78 Command naming pattern (setup-dev:optional vs optional:*) could be more consistent Already documented in AGENTS.md, intentional grouping of lifecycle commands
scripts/setup-optional.sh:41-44 Git pull warning could be more actionable Pre-existing code not modified by this PR
Scripts sync Scripts are correctly synchronized Positive finding, not actionable
Gitignore/docs Consistent messaging verified Positive finding, not actionable
Reviewers (4)
Reviewer Returned Main Findings Consider While You're Here Inline Comments Pending Recs Discarded
pr-review-docs 1 0 0 0 1 0 0
pr-review-devops 3 0 0 0 0 0 3
pr-review-product 4 0 0 0 0 0 4
pr-review-consistency 2 0 0 0 0 0 2
Total 10 0 0 0 1 0 9

Note: The merge conflict finding was reported by all 4 reviewers (deduplicated to 1). Most other findings were positive validations or intentional design choices.

@github-actions github-actions bot deleted a comment from claude bot Feb 17, 2026
Add pnpm setup-dev:optional — bootstrap shim that clones agents-optional-local-dev
into .optional-services/, delegates to its setup script, and wires Nango + SigNoz +
OTEL Collector + Jaeger into the caller's .env.

- Add lifecycle commands: optional:stop, optional:status, optional:reset
- Auto-sync shim to create-agents-template via lint-staged
- Update docs (traces, Nango, contributing) with automated + manual setup sections
- Add snippets for shared prereq and lifecycle content
- Fix stale .env.example references in deployment docs
- Add troubleshooting and upgrading entries

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nick-inkeep
Copy link
Collaborator Author

Fixed the merge conflict markers in overview.mdx — leftover from rebasing 19 commits onto main. Resolved by keeping the tightened version. Pushed in d710f10.

Copy link
Contributor

@claude claude bot left a comment

Choose a reason for hiding this comment

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

PR Review Summary

(0) Total Issues | Risk: Low

🔴❗ Critical (0) ❗🔴

No critical issues.

🟠⚠️ Major (0) 🟠⚠️

No major issues.

🟡 Minor (0) 🟡

No minor issues.

💭 Consider (0) 💭

No consider items.


🕐 Pending Recommendations (0)

No pending recommendations — the previous merge conflict issue was resolved in commit d710f10.


✅ APPROVE

Summary: The merge conflict markers flagged in the previous review have been successfully resolved. The PR now cleanly updates the default optional services clone location from ../agents-optional-local-dev to .optional-services/ across all relevant surfaces:

  • ✅ Scripts (scripts/setup-optional.sh, create-agents-template/scripts/setup-optional.sh) — identical and correctly updated
  • ✅ Documentation (contributing, traces, nango) — consistent path references throughout
  • ✅ Gitignore files — properly exclude .optional-services/
  • ✅ Environment variable override (OPTIONAL_SERVICES_DIR) preserved for flexibility

This is a clean architectural improvement that makes the project more self-contained and discoverable. Ship it! 🚀


Discarded (0)

No discarded items.

Reviewers (4)
Reviewer Returned Main Findings Consider While You're Here Inline Comments Pending Recs Discarded
pr-review-docs 0 0 0 0 0 0 0
pr-review-devops 0 0 0 0 0 0 0
pr-review-consistency 0 0 0 0 0 0 0
pr-review-product 0 0 0 0 0 0 0
Total 0 0 0 0 0 0 0

Note: All reviewers confirmed the changes are clean and consistent. The previous critical issue (merge conflict markers) was verified as resolved.

@github-actions github-actions bot deleted a comment from claude bot Feb 17, 2026
@nick-inkeep nick-inkeep merged commit 523e4cb into main Feb 17, 2026
11 checks passed
@nick-inkeep nick-inkeep deleted the feat/local-dev-optional-services branch February 17, 2026 10:53
@github-actions
Copy link
Contributor

🔎💬 Inkeep AI search and chat service is syncing content for source 'Inkeep Agent Framework Docs'

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