Add OpenClaw workspace configuration and tools
- Add agent configuration files (AGENTS.md, USER.md, IDENTITY.md, SOUL.md) - Add git configuration and skills management scripts - Add frontend/backend analysis tools and reports - Add DingTalk media sender utilities and documentation - Fix OpenClaw runtime environment (Node.js and Python) - Configure git remotes and push scripts
This commit is contained in:
24
send-dingtalk-document.ps1
Normal file
24
send-dingtalk-document.ps1
Normal file
@@ -0,0 +1,24 @@
|
||||
# DingTalk Media Sender - PowerShell Script
|
||||
|
||||
# Configuration
|
||||
$env:DINGTALK_APP_KEY = "ding4ursdp0l2giat4bj"
|
||||
$env:DINGTALK_APP_SECRET = "J0gBicjKiIHoKla7WfKKhRs1Tv8L6Xd5UhW3EVQByF16G7Vn7UUcRhP6u-PBCQNo"
|
||||
|
||||
$scriptDir = "C:\Users\ALC\.openclaw\skills\dingtalk-media-sender"
|
||||
$nodeExe = "C:\Users\ALC\.openclaw\openclaw-runtime\node_modules\.bin\node.cmd"
|
||||
$tsNode = "$scriptDir\node_modules\.bin\ts-node.cmd"
|
||||
|
||||
$filePath = "C:\Users\ALC\.openclaw\workspace\前后端功能与开源可修改性分析报告.docx"
|
||||
|
||||
# Step 1: Upload file
|
||||
Write-Host "=== Step 1: Uploading file ==="
|
||||
cd $scriptDir
|
||||
& $tsNode scripts\upload-media.ts $filePath file --debug
|
||||
|
||||
# Note: Run send-media-group with the returned mediaId
|
||||
$openConversationId = "cidcjYshXVtKck5LfOO9AqOJg=="
|
||||
$robotCode = "ding4ursdp0l2giat4bj"
|
||||
|
||||
Write-Host "`n=== Step 2: Send to group ==="
|
||||
Write-Host "After getting mediaId, run:"
|
||||
Write-Host "& $tsNode scripts\send-media-group.ts $openConversationId $robotCode <mediaId> file `"前后端功能与开源可修改性分析报告.docx`" --debug"
|
||||
Reference in New Issue
Block a user