Skip to content

feat(env): Add environment file support and enhance MCP agent capabilities#1156

Merged
ulivz merged 2 commits intomainfrom
feat/env
Aug 17, 2025
Merged

feat(env): Add environment file support and enhance MCP agent capabilities#1156
ulivz merged 2 commits intomainfrom
feat/env

Conversation

@cjraft
Copy link
Collaborator

@cjraft cjraft commented Aug 17, 2025

Summary

support environment file for the tarko-cli tool and enhances MCP agent capabilities with link reader functionality.

Key Changes:

  • Environment File Support: Added .env file loading capability to tarko-cli for better configuration management
  • MCP Agent Enhancement: Added link reader prompt functionality to the MCP agent
  • Configuration Updates: Updated tarko configuration and added environment examples

Checklist

  • Added or updated necessary tests (Optional).
  • Updated documentation to align with changes (Optional).
  • Verified no breaking changes, or prepared solutions for any occurring breaking changes (Optional).
  • My change does not involve the above items.

@netlify
Copy link

netlify bot commented Aug 17, 2025

Deploy Preview for agent-tars-docs ready!

Name Link
🔨 Latest commit 65af8f6
🔍 Latest deploy log https://app.netlify.com/projects/agent-tars-docs/deploys/68a1a0558ceed90008ce6252
😎 Deploy Preview https://deploy-preview-1156--agent-tars-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Member

@ulivz ulivz left a comment

Choose a reason for hiding this comment

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

LGTM

function loadEnv(isDebug = false) {
try {
// .env.local has higher priority than .env
const envPaths = [path.join(process.cwd(), '.env.local'), path.join(process.cwd(), '.env')];
Copy link
Member

@ulivz ulivz Aug 17, 2025

Choose a reason for hiding this comment

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

We can discuss the necessity of reading the workspace path later. Recently, since we have set default value of workspace to cwd at #1011, the behavior is the same in scenarios without custom workspaces.

@ulivz ulivz merged commit 2279ad9 into main Aug 17, 2025
10 checks passed
@ulivz ulivz deleted the feat/env branch August 17, 2025 13:31
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.

2 participants

Comments