feat(1claw): add oneclaw module for 1Claw MCP and vault integration#843
Closed
kmjones1979 wants to merge 3 commits intocoder:mainfrom
Closed
feat(1claw): add oneclaw module for 1Claw MCP and vault integration#843kmjones1979 wants to merge 3 commits intocoder:mainfrom
kmjones1979 wants to merge 3 commits intocoder:mainfrom
Conversation
- Port Terraform, scripts, and setup tests from 1clawAI/1claw-coder-workspace-module - Add namespace README and placeholder avatar (replace for production branding) - Add main.tftest.hcl; mark vault_id, agent_id_1claw, provisioning_mode outputs with nonsensitive() for Terraform 1.14+ test compatibility - README follows registry rules (usage examples only, no variable tables) - Default script icon uses /icon/vault.svg (existing Coder icon) Made-with: Cursor
…t -verbose - Replace empty-array [*] / [@] patterns that error under bash 3.2 with set -u - Remove -verbose from terraform test (not supported on Terraform 1.5.x) Made-with: Cursor
Made-with: Cursor
Collaborator
|
@kmjones1979 I would take a look at our contributing docs for how one is meant to scaffold a module, and the namespace should be your own rather than the brand of the product the module is for. I would take a look at the Also you modified more than just the module, here which is not ideal. Thank you for the submission and I look forward to seeing more from you, but I am closing this now so this can be re-done. |
Author
|
Sure thing, working on this now. Thank you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the 1claw namespace and oneclaw module, ported from 1clawAI/1claw-coder-workspace-module, so Coder workspaces can provision 1Claw vault/agent identities and merge MCP config for Cursor, Claude Code, and other MCP clients.
What’s included
registry/1claw/modules/oneclaw/: Terraform (main.tf,variables.tf,outputs.tf),scripts/(provision, bootstrap, setup),main.tftest.hcl,tests/test_setup.shforsetup.shregistry/1claw/README.mdand namespaceavatar.svgvault_id,agent_id_1claw,provisioning_modeusenonsensitive()where appropriate for Terraform 1.14+ teststerraform_validate.sh/terraform_test_all.sh— avoid Bash 3.2 +set -uerrors on empty arrays; dropterraform test -verbosefor Terraform 1.5.x compatibilityTesting
terraform validatein module directoryterraform test(Terraform 1.14+; CI uses current Terraform)bash tests/test_setup.sh.shfilesNotes
Generated with Cursor using Claude
Made with Cursor