fix: update Sourcegraph AMP source URL (#370)

Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
Atif Ali 2025-08-24 00:18:36 +05:00 committed by GitHub
parent 49ef1203e4
commit ac48f0d166
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
--- ---
display_name: Sourcegraph AMP display_name: Sourcegraph AMP
icon: ../../../../.icons/sourcegraph-amp.svg icon: ../../../../.icons/sourcegraph-amp.svg
description: Run Sourcegraph AMP CLI in your workspace with AgentAPI integration description: Sourcegraph's AI coding agent with deep codebase understanding and intelligent code search capabilities
verified: false verified: false
tags: [agent, sourcegraph, amp, ai, tasks] tags: [agent, sourcegraph, amp, ai, tasks]
--- ---
@ -11,9 +11,9 @@ tags: [agent, sourcegraph, amp, ai, tasks]
Run [Sourcegraph AMP CLI](https://sourcegraph.com/amp) in your workspace to access Sourcegraph's AI-powered code search and analysis tools, with AgentAPI integration for seamless Coder Tasks support. Run [Sourcegraph AMP CLI](https://sourcegraph.com/amp) in your workspace to access Sourcegraph's AI-powered code search and analysis tools, with AgentAPI integration for seamless Coder Tasks support.
```tf ```tf
module "sourcegraph_amp" { module "sourcegraph-amp" {
source = "registry.coder.com/coder-labs/sourcegraph_amp/coder" source = "registry.coder.com/coder-labs/sourcegraph-amp/coder"
version = "1.0.0" version = "1.0.1"
agent_id = coder_agent.example.id agent_id = coder_agent.example.id
sourcegraph_amp_api_key = var.sourcegraph_amp_api_key sourcegraph_amp_api_key = var.sourcegraph_amp_api_key
install_sourcegraph_amp = true install_sourcegraph_amp = true
@ -57,10 +57,10 @@ variable "sourcegraph_amp_api_key" {
sensitive = true sensitive = true
} }
module "sourcegraph_amp" { module "sourcegraph-amp" {
count = data.coder_workspace.me.start_count count = data.coder_workspace.me.start_count
source = "registry.coder.com/coder-labs/sourcegraph_amp/coder" source = "registry.coder.com/coder-labs/sourcegraph-amp/coder"
version = "1.0.0" version = "1.0.1"
agent_id = coder_agent.example.id agent_id = coder_agent.example.id
sourcegraph_amp_api_key = var.sourcegraph_amp_api_key # recommended for authenticated usage sourcegraph_amp_api_key = var.sourcegraph_amp_api_key # recommended for authenticated usage
install_sourcegraph_amp = true install_sourcegraph_amp = true