moved to https://github.com/thepagent/claw-info/blob/main/docs/nodes.md
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
| #!/bin/bash | |
| # ┌─────────────────────────────────────────────────┐ | |
| # │ SSO Token Auto-Refresh for sso-bot session │ | |
| # │ │ | |
| # │ [Check TTL] ──► TTL < 1hr? ──► [AWS SSO Login] │ | |
| # │ │ │ │ │ | |
| # │ ▼ ▼ ▼ │ | |
| # │ Valid ✓ Expiring ⚠ Telegram 📱 │ | |
| # └─────────────────────────────────────────────────┘ | |
| # |
直接跟Agent說:
參考以網址下配置範例, 設定四個subagents,名稱比照下面的配置,唯獨home dir做相應的修改符合實際路徑。注意:只新增或修改 subagents 配置即可,model部分不要調整。 https://gist.github.com/pahud/141c35bd9a84af0befe52a4ff475bd2f
"agents": {
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
| { | |
| "bindings": [ | |
| { | |
| "agentId": "main", | |
| "match": { | |
| "channel": "telegram", | |
| "accountId": "default" | |
| } | |
| }, | |
| { |
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
| #!/bin/bash | |
| echo "Searching for trusted tools..." | |
| TOOLS=$(grep -v "not trusted$" "$0" | grep "trusted$" | sed 's/^- \([^ ]*\).*/\1/' | tr '\n' ',' | sed 's/,$//') | |
| echo "Found tools: $TOOLS" | |
| if [ -z "$TOOLS" ]; then | |
| echo "Warning: No trusted tools found!" | |
| exit 1 | |
| fi |
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
| #!/bin/sh | |
| kubectl --namespace=kube-system get po | |
| helm upgrade --install --create-namespace -n nginx my-nginx oci://registry-1.docker.io/bitnamicharts/nginx | |
| kubectl --namespace=nginx get po |
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
| function updateData(){ | |
| // var ss = SpreadsheetApp.getActiveSpreadsheet(), | |
| var sheet = SpreadsheetApp.getActive().getSheetByName('GST') | |
| let coins = [ | |
| 'green-satoshi-token-bsc', | |
| 'green-satoshi-token', | |
| 'binancecoin', | |
| 'solana', | |
| ]; | |
| var prices = getCGSimplePrices(coins.join(','), 'usd') |
NewerOlder