Compare commits

...

5 Commits

Author SHA1 Message Date
35C4n0r 45df4951b5 wip 2026-01-02 15:18:09 +00:00
35C4n0r f86c0c0742 chore: make arg report tasks true by default 2025-12-31 04:21:36 +00:00
35C4n0r 18a8c7e8ee wip 2025-12-26 11:56:10 +00:00
35C4n0r 976691b5cb wip 2025-12-23 13:14:51 +00:00
35C4n0r f844c88c36 fix: auggie maintenence 2025-12-23 12:38:17 +00:00
4 changed files with 43 additions and 9 deletions
@@ -133,6 +133,35 @@ EOF
}
```
### Using the task_app_id Output
```tf
module "auggie" {
source = "registry.coder.com/coder-labs/auggie/coder"
version = "0.3.0"
agent_id = coder_agent.example.id
folder = "/home/coder/project"
augment_session_token = <<-EOF
{"accessToken":"xxxx-yyyy-zzzz-jjjj","tenantURL":"https://d1.api.augmentcode.com/","scopes":["read","write"]}
EOF
report_tasks = true
}
# Expose the task app ID as a template output
output "auggie_task_app_id" {
value = module.auggie.task_app_id
description = "The ID of the Auggie AgentAPI web app for task reporting"
}
```
## Outputs
| Name | Description |
|------|-------------|
| `task_app_id` | The ID of the AgentAPI web app, which can be used to reference the app in other resources or for task reporting integration |
### Troubleshooting
If you have any issues, please take a look at the log files below.
+1 -1
View File
@@ -142,7 +142,7 @@ variable "auggie_model" {
variable "report_tasks" {
type = bool
description = "Whether to enable task reporting to Coder UI via AgentAPI"
default = false
default = true
}
variable "cli_app" {
@@ -1,9 +1,5 @@
#!/bin/bash
if [ -f "$HOME/.bashrc" ]; then
source "$HOME"/.bashrc
fi
set -euo pipefail
BOLD='\033[0;1m'
@@ -13,6 +9,12 @@ command_exists() {
command -v "$1" > /dev/null 2>&1
}
if [ -f "$HOME/.nvm/nvm.sh" ]; then
source "$HOME"/.nvm/nvm.sh
else
export PATH="$HOME/.npm-global/bin:$PATH"
fi
ARG_AUGGIE_INSTALL=${ARG_AUGGIE_INSTALL:-true}
ARG_AUGGIE_VERSION=${ARG_AUGGIE_VERSION:-}
ARG_MCP_APP_STATUS_SLUG=${ARG_MCP_APP_STATUS_SLUG:-}
@@ -29,6 +31,13 @@ printf "rules: %s\n" "$ARG_AUGGIE_RULES"
echo "--------------------------------"
function check_dependencies() {
printf "PATH: %s\n" "${PATH}"
new_path=$(bash -l -c 'echo $PATH' 2>/dev/null || echo "${PATH}")
printf "NEW_PATH %s\n" "${new_path}"
if ! command_exists node; then
printf "Error: Node.js is not installed. Please install Node.js manually or use the pre_install_script to install it.\n"
exit 1
@@ -1,9 +1,5 @@
#!/bin/bash
if [ -f "$HOME/.bashrc" ]; then
source "$HOME"/.bashrc
fi
set -euo pipefail
command_exists() {