插件目录 / Developer / wemeet-openapi
wemeet-openapi
已验证 · 实测可装 xiangpc
2 位贡献者
1Stars
0Forks
0未关闭 issue
Go语言
2024-03-31最近推送
跨平台平台
功能简介
Developer 类别的 DeepSeek Harness 插件。
我们的评价
可用 — 实测通过,早期项目
可用 — 实测通过,早期项目
Developer 类别的 DeepSeek Harness 插件。 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
简介
欢迎使用腾讯会议开发者工具套件(SDK)1.1.0,为方便 GO 开发者调试和接入腾讯云会议 API,这里向您介绍适用于 GO 的腾讯会议开发工具包,并提供首次使用开发工具包的简单示例。让您快速获取腾讯会议 GO SDK 并开始调用。依赖环境
1. 购买腾讯会议企业版获取 SecretID、SecretKey,接入的企业 AppId。获取安装
在第一次使用云API之前,用户首先需要在腾讯云控制台上申请安全凭证,安全凭证包括 SecretID 和 SecretKey,SecretID 是用于标识 API 调用者的身份,SecretKey 是用于加密签名字符串和服务器端验证签名字符串的密钥 SecretKey 必须严格保管,避免泄露。安装
``shell
require github.com/TencentCloud/wemeet-openapi-sdk-go
`
示例
以创建会议接口为例:
`GO
package example
import (
wemeet "github.com/TencentCloud/wemeet-openapi-sdk-go/wemeet_openapi"
wemeetcore "github.com/TencentCloud/wemeet-openapi-sdk-go/wemeet_openapi/core"
wemeethttp "github.com/TencentCloud/wemeet-openapi-sdk-go/wemeet_openapi/core/xhttp"
meetings "github.com/TencentCloud/wemeet-openapi-sdk-go/wemeet_openapi/service/meetings"
"context"
"fmt"
"math/rand"
"os"
"strconv"
"time"
)
// CreateMeetingDemo 创建会议请求demo
func CreateMeetingDemo() {
// 1.构造 client 客户端(jwt 鉴权需要配置 appId sdkId secretID 和 secretKey)
client := wemeet.NewClient(wemeet.WithAppId("2****46"), wemeet.WithSdkId("2****50"),
wemeet.WithSecret("Zk*****J8h", "Y2z*****WRsVksn"))
// 2.构造请求体
request := &meetings.ApiV1MeetingsPostRequest{
Body: &meetings.V1MeetingsPostRequest{
Instanceid: 1,
MeetingType: wemeetcore.PtrInt32(0),
Subject: "测试会议",
Type: 1,
Userid: "userid",
StartTime: "1651334400",
EndTime: "1651377600",
},
}
// 3.构造 JWT 鉴权器
// 随机数
rn := rand.New(rand.NewSource(time.Now().UnixNano()))
nonce := uint64(100000 + rn.Intn(900000))
// 当前时间戳
curTs := strconv.Itoa(int(time.Now().Unix()))
authenticator := &wemeetcore.JWTAuthenticator{
Nonce: nonce,
Timestamp: curTs,
}
// 4.发送对应的请求
response, err := client.MeetingsApi.V1MeetingsPost(context.Background(), request,
wemeetcore.WithJWTAuth(authenticator))
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling MeetingsApi.V1MeetingsPost: %v\n", err)
if svrErr, ok := err.(*wemeetcore.ServiceError); ok {
fmt.Fprintf(os.Stderr, "Full HTTP response: %s\n", svrErr.RawBody)
}
}
// response from V1MeetingsPost: V1MeetingsPostResponse200
fmt.Fprintf(os.Stdout, "Response from MeetingsApi.V1MeetingsPost: %+v\n", response)
return
}
``
安装
🧩 让 Agent 自动装(推荐)
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 wemeet-openapi」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:xiangpc/wemeet-openapi Headless(CLI)profile:
dsh plugin --profile headless add github:xiangpc/wemeet-openapi 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。
使用场景
扩展 agent 的编码能力面——给它一个新工具、工作流或集成,让它接手以前做不了的开发任务。
适合谁
想让 dsh 在真实代码库上像队友一样干活的开发者——能改、能跑、能验证,而不只是回答问题。
二次开发建议
工具/命令面就是缝:暴露更多 SDK 能力、加更聪明的上下文接线,或收紧改代码与验证之间的循环。