Skip to content
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
4 changes: 2 additions & 2 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
## Bug Fixes
- Improved SDK setup guidance provided by `dispatch init`, ensuring users receive accurate instructions for integrating the packaged SDK.
## Features
- Added a Company Researcher component, enabling users to research and retrieve company information directly from the CLI interface.
1 change: 0 additions & 1 deletion dispatch_cli/commands/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,6 @@ def dev(


def generate_schemas_for_dev(abs_path: str, agent_name: str) -> None:

# Create a dispatch directory for schemas
dispatch_dir = os.path.join(abs_path, DISPATCH_DIR)
os.makedirs(dispatch_dir, exist_ok=True)
Expand Down
2 changes: 1 addition & 1 deletion dispatch_cli/mcp/operator/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@ async def read_stderr() -> None:
# Parse DEPLOY_JOB_ID from CLI output
job_id: str | None = None
deploy_namespace: str | None = None
for line in stdout_lines:
for line in stdout_lines + stderr_lines:
if line.startswith("DEPLOY_JOB_ID="):
job_id = line.split("=", 1)[1]
elif line.startswith("DEPLOY_NAMESPACE="):
Expand Down
89 changes: 66 additions & 23 deletions dispatch_cli/router/static/components.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions dispatch_cli/templates/grpc_listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ def load_config():
config = load_config()
entrypoint_file = config.get("entrypoint", "agent.py")

# Point the SDK runtime config at the same dispatch.yaml we loaded
yaml_path = os.path.join(root_path, "dispatch.yaml")
os.environ.setdefault("DISPATCH_CONFIG_PATH", yaml_path)

# Backend configuration and agent identity
backend_base_url = os.getenv("BACKEND_URL", "http://dispatch.api:8000")
backend_url = f"{backend_base_url}/api/unstable"
Expand Down
1 change: 1 addition & 0 deletions dispatch_cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ def get_sdk_dependency() -> str:
"local_dependencies": None,
"agent_name": None,
"env": None, # plain env vars (like {"LOG_LEVEL": "debug"})
"vars": None, # config variables accessible via dispatch_agents.config.vars (not injected as env vars)
"secrets": None, # list of objects with name/secret_id for secrets manager paths (like [{"name": "OPENAI_API_KEY", "secret_id": "/shared/openai-api-key"}])
"volumes": None, # list of volume objects (like [{"name": "data", "mountPath": "/data", "mode": "read_write_many"}])
"mcp_servers": None, # list of MCP server configs (e.g., [{"server": "com.datadoghq.mcp"}])
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "dispatch-cli"
version = "0.8.6"
version = "0.9.4"
description = ""
authors = [
{name = "Diamond Bishop", email = "diamond.bishop@datadoghq.com"},
Expand Down
294 changes: 149 additions & 145 deletions uv.lock

Large diffs are not rendered by default.

Loading