nextclaw 0.46.0 → 0.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/app/index.js +1 -1
- package/dist/{nextclaw-cli-app-BVdP2e0w.js → nextclaw-cli-app-wU9aUEKj.js} +233 -1
- package/dist/nextclaw-cli-app-wU9aUEKj.js.map +1 -0
- package/package.json +14 -14
- package/resources/apps/nextclaw-github-issue-watcher/README.md +43 -0
- package/resources/apps/nextclaw-github-issue-watcher/guest/Cargo.lock +455 -0
- package/resources/apps/nextclaw-github-issue-watcher/guest/Cargo.toml +27 -0
- package/resources/apps/nextclaw-github-issue-watcher/guest/src/bindings.rs +11177 -0
- package/resources/apps/nextclaw-github-issue-watcher/guest/src/lib.rs +307 -0
- package/resources/apps/nextclaw-github-issue-watcher/guest/wit/deps/clocks@0.2.6/monotonic-clock.wit +50 -0
- package/resources/apps/nextclaw-github-issue-watcher/guest/wit/deps/clocks@0.2.6/timezone.wit +55 -0
- package/resources/apps/nextclaw-github-issue-watcher/guest/wit/deps/clocks@0.2.6/wall-clock.wit +46 -0
- package/resources/apps/nextclaw-github-issue-watcher/guest/wit/deps/clocks@0.2.6/world.wit +11 -0
- package/resources/apps/nextclaw-github-issue-watcher/guest/wit/deps/config@0.2.0-draft-2024-09-27/package.wit +1 -0
- package/resources/apps/nextclaw-github-issue-watcher/guest/wit/deps/config@0.2.0-draft-2024-09-27/store.wit +9 -0
- package/resources/apps/nextclaw-github-issue-watcher/guest/wit/deps/http@0.2.6/handler.wit +49 -0
- package/resources/apps/nextclaw-github-issue-watcher/guest/wit/deps/http@0.2.6/package.wit +1 -0
- package/resources/apps/nextclaw-github-issue-watcher/guest/wit/deps/http@0.2.6/types.wit +688 -0
- package/resources/apps/nextclaw-github-issue-watcher/guest/wit/deps/io@0.2.6/error.wit +34 -0
- package/resources/apps/nextclaw-github-issue-watcher/guest/wit/deps/io@0.2.6/poll.wit +47 -0
- package/resources/apps/nextclaw-github-issue-watcher/guest/wit/deps/io@0.2.6/streams.wit +290 -0
- package/resources/apps/nextclaw-github-issue-watcher/guest/wit/deps/io@0.2.6/world.wit +10 -0
- package/resources/apps/nextclaw-github-issue-watcher/guest/wit/deps/keyvalue@0.2.0-draft2/store.wit +124 -0
- package/resources/apps/nextclaw-github-issue-watcher/guest/wit/portable-service.wit +56 -0
- package/resources/apps/nextclaw-github-issue-watcher/manifest.json +34 -0
- package/resources/apps/nextclaw-github-issue-watcher/marketplace.json +18 -0
- package/resources/apps/nextclaw-github-issue-watcher/panels/nextclaw-github-issue-watcher-panel.panel/assets/app.js +148 -0
- package/resources/apps/nextclaw-github-issue-watcher/panels/nextclaw-github-issue-watcher-panel.panel/index.html +190 -0
- package/resources/apps/nextclaw-github-issue-watcher/panels/nextclaw-github-issue-watcher-panel.panel/panel-app.json +11 -0
- package/resources/apps/nextclaw-github-issue-watcher/service-components/nextclaw-github-issue-watcher-service/service-app.json +36 -0
- package/resources/apps/nextclaw-github-issue-watcher/service-components/nextclaw-github-issue-watcher-service/service.wasm +0 -0
- package/resources/apps/nextclaw-github-issue-watcher/tests/public-github-runner-smoke.tools.mjs +150 -0
- package/resources/apps/nextclaw-github-issue-watcher/tests/service-smoke.json +12 -0
- package/resources/apps/nextclaw-portable-runtime-lab/README.md +5 -3
- package/resources/apps/nextclaw-portable-runtime-lab/manifest.json +14 -2
- package/resources/apps/nextclaw-portable-runtime-lab/panels/nextclaw-portable-runtime-lab-contacts.panel/assets/app.js +21 -0
- package/resources/apps/nextclaw-portable-runtime-lab/panels/nextclaw-portable-runtime-lab-contacts.panel/index.html +1 -0
- package/resources/apps/nextclaw-portable-runtime-lab/panels/nextclaw-portable-runtime-lab-focus.panel/assets/app.js +21 -0
- package/resources/apps/nextclaw-portable-runtime-lab/panels/nextclaw-portable-runtime-lab-focus.panel/index.html +1 -0
- package/resources/apps/nextclaw-portable-runtime-lab/panels/nextclaw-portable-runtime-lab-notes.panel/assets/app.js +21 -0
- package/resources/apps/nextclaw-portable-runtime-lab/panels/nextclaw-portable-runtime-lab-notes.panel/index.html +1 -0
- package/resources/apps/nextclaw-portable-runtime-lab/panels/nextclaw-portable-runtime-lab-panel.panel/assets/app.js +201 -0
- package/resources/apps/nextclaw-portable-runtime-lab/panels/nextclaw-portable-runtime-lab-panel.panel/assets/style.css +42 -0
- package/resources/apps/nextclaw-portable-runtime-lab/panels/nextclaw-portable-runtime-lab-panel.panel/index.html +40 -19
- package/resources/apps/nextclaw-portable-runtime-lab/panels/nextclaw-portable-runtime-lab-panel.panel/panel-app.json +2 -2
- package/resources/apps/nextclaw-portable-runtime-lab/panels/nextclaw-portable-runtime-lab-todos.panel/assets/app.js +21 -0
- package/resources/apps/nextclaw-portable-runtime-lab/panels/nextclaw-portable-runtime-lab-todos.panel/index.html +1 -0
- package/resources/apps/nextclaw-portable-runtime-lab/service-components/nextclaw-portable-runtime-lab-capabilities/service-app.json +110 -3
- package/resources/apps/nextclaw-portable-runtime-lab/service-components/nextclaw-portable-runtime-lab-capabilities/service.wasm +0 -0
- package/resources/apps/nextclaw-portable-runtime-lab/service-components/nextclaw-portable-runtime-lab-composition/service-app.json +12 -3
- package/resources/apps/nextclaw-portable-runtime-lab/service-components/nextclaw-portable-runtime-lab-composition/service.wasm +0 -0
- package/resources/apps/nextclaw-portable-runtime-lab/service-components/nextclaw-portable-runtime-lab-provider/service-app.json +11 -0
- package/resources/apps/nextclaw-portable-runtime-lab/service-components/nextclaw-portable-runtime-lab-provider/service.wasm +0 -0
- package/resources/apps/nextclaw-portable-runtime-lab/service-components/nextclaw-portable-runtime-lab-resident/service.wasm +0 -0
- package/resources/apps/nextclaw-portable-runtime-lab/service-components/nextclaw-portable-runtime-lab-sqlite/service-app.json +37 -0
- package/resources/apps/nextclaw-portable-runtime-lab/service-components/nextclaw-portable-runtime-lab-sqlite/service.wasm +0 -0
- package/resources/apps/nextclaw-portable-runtime-lab/service-components/nextclaw-portable-runtime-lab-state/service.wasm +0 -0
- package/ui-dist/assets/{api-aEu9cEI8.js → api-n96IfCKb.js} +2 -2
- package/ui-dist/assets/{api-aEu9cEI8.js.gz → api-n96IfCKb.js.gz} +0 -0
- package/ui-dist/assets/{appearance-settings-page-z4DaHc_E.js → appearance-settings-page-C_AqxSF_.js} +1 -1
- package/ui-dist/assets/appearance-settings-page-C_AqxSF_.js.gz +0 -0
- package/ui-dist/assets/{channels-list-page-x07sGqsT.js → channels-list-page-uR-M4Ls8.js} +1 -1
- package/ui-dist/assets/channels-list-page-uR-M4Ls8.js.gz +0 -0
- package/ui-dist/assets/{confirm-dialog-BALTnP33.js → confirm-dialog-CHVBMpla.js} +1 -1
- package/ui-dist/assets/confirm-dialog-CHVBMpla.js.gz +0 -0
- package/ui-dist/assets/{desktop-capabilities-page-4-v3wKLV.js → desktop-capabilities-page-phMuNq1B.js} +1 -1
- package/ui-dist/assets/desktop-capabilities-page-phMuNq1B.js.gz +0 -0
- package/ui-dist/assets/{desktop-update-config-Cl-_XHqU.js → desktop-update-config-C77hkbor.js} +1 -1
- package/ui-dist/assets/desktop-update-config-C77hkbor.js.gz +0 -0
- package/ui-dist/assets/{extensions-DFQXmSwG.js → extensions-CQKXTqTI.js} +1 -1
- package/ui-dist/assets/extensions-CQKXTqTI.js.gz +0 -0
- package/ui-dist/assets/{index-zuqzAvNx.js → index-CLw9DuCJ.js} +4 -4
- package/ui-dist/assets/index-CLw9DuCJ.js.gz +0 -0
- package/ui-dist/assets/mcp-marketplace-page-CbWOamyW.js +1 -0
- package/ui-dist/assets/{mcp-marketplace-page-COUopIOc.js → mcp-marketplace-page-s9PTnSDT.js} +1 -1
- package/ui-dist/assets/mcp-marketplace-page-s9PTnSDT.js.gz +0 -0
- package/ui-dist/assets/{model-config-page-g9_-hZqZ.js → model-config-page-CxnCUWRW.js} +1 -1
- package/ui-dist/assets/model-config-page-CxnCUWRW.js.gz +0 -0
- package/ui-dist/assets/{privacy-settings-page-pNhQQT4r.js → privacy-settings-page-D8HZHHjL.js} +1 -1
- package/ui-dist/assets/privacy-settings-page-D8HZHHjL.js.gz +0 -0
- package/ui-dist/assets/{providers-config-page-DftW_6KU.js → providers-config-page-C0GIoGxm.js} +1 -1
- package/ui-dist/assets/providers-config-page-C0GIoGxm.js.gz +0 -0
- package/ui-dist/assets/remote-DvTCSAxQ.js +1 -0
- package/ui-dist/assets/{runtime-config-page-Cd9sOYvn.js → runtime-config-page-VNJZui5f.js} +1 -1
- package/ui-dist/assets/runtime-config-page-VNJZui5f.js.gz +0 -0
- package/ui-dist/assets/{search-config-page-BqoDbKpM.js → search-config-page-D3_qNXbB.js} +1 -1
- package/ui-dist/assets/search-config-page-D3_qNXbB.js.gz +0 -0
- package/ui-dist/assets/{secrets-config-page-GsahsEVw.js → secrets-config-page-Be4P1E8o.js} +1 -1
- package/ui-dist/assets/secrets-config-page-Be4P1E8o.js.gz +0 -0
- package/ui-dist/assets/security-config-BtcpKIhQ.js +1 -0
- package/ui-dist/assets/{tag-chip-ClBWeQ4p.js → tag-chip-Dc_NcCEe.js} +1 -1
- package/ui-dist/index.html +5 -5
- package/ui-dist/index.html.gz +0 -0
- package/dist/nextclaw-cli-app-BVdP2e0w.js.map +0 -1
- package/ui-dist/assets/appearance-settings-page-z4DaHc_E.js.gz +0 -0
- package/ui-dist/assets/channels-list-page-x07sGqsT.js.gz +0 -0
- package/ui-dist/assets/confirm-dialog-BALTnP33.js.gz +0 -0
- package/ui-dist/assets/desktop-capabilities-page-4-v3wKLV.js.gz +0 -0
- package/ui-dist/assets/desktop-update-config-Cl-_XHqU.js.gz +0 -0
- package/ui-dist/assets/extensions-DFQXmSwG.js.gz +0 -0
- package/ui-dist/assets/index-zuqzAvNx.js.gz +0 -0
- package/ui-dist/assets/mcp-marketplace-page-COUopIOc.js.gz +0 -0
- package/ui-dist/assets/mcp-marketplace-page-DxPPmYqh.js +0 -1
- package/ui-dist/assets/model-config-page-g9_-hZqZ.js.gz +0 -0
- package/ui-dist/assets/privacy-settings-page-pNhQQT4r.js.gz +0 -0
- package/ui-dist/assets/providers-config-page-DftW_6KU.js.gz +0 -0
- package/ui-dist/assets/remote-DS2TkMPm.js +0 -1
- package/ui-dist/assets/runtime-config-page-Cd9sOYvn.js.gz +0 -0
- package/ui-dist/assets/search-config-page-BqoDbKpM.js.gz +0 -0
- package/ui-dist/assets/secrets-config-page-GsahsEVw.js.gz +0 -0
- package/ui-dist/assets/security-config-BnHQyrtG.js +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nextclaw",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.47.0",
|
|
4
4
|
"description": "Powerful AI assistant for coordinating agents, skills, CLI tools, automations, and messaging apps.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -44,22 +44,22 @@
|
|
|
44
44
|
"commander": "^12.1.0",
|
|
45
45
|
"jszip": "^3.10.1",
|
|
46
46
|
"yaml": "^2.8.1",
|
|
47
|
-
"@nextclaw/app-runtime": "0.
|
|
48
|
-
"@nextclaw/
|
|
49
|
-
"@nextclaw/
|
|
47
|
+
"@nextclaw/app-runtime": "0.16.0",
|
|
48
|
+
"@nextclaw/kernel": "0.14.0",
|
|
49
|
+
"@nextclaw/mcp": "0.3.42",
|
|
50
50
|
"@nextclaw/ncp": "0.10.0",
|
|
51
|
-
"@nextclaw/mcp": "0.3.41",
|
|
52
51
|
"@nextclaw/ncp-agent-runtime": "0.4.21",
|
|
53
|
-
"@nextclaw/
|
|
54
|
-
"@nextclaw/ncp-
|
|
52
|
+
"@nextclaw/core": "0.17.15",
|
|
53
|
+
"@nextclaw/ncp-mcp": "0.2.42",
|
|
55
54
|
"@nextclaw/nextclaw-hermes-acp-bridge": "0.3.21",
|
|
55
|
+
"@nextclaw/ncp-toolkit": "0.6.23",
|
|
56
56
|
"@nextclaw/nextclaw-ncp-runtime-http-client": "0.3.22",
|
|
57
|
-
"@nextclaw/nextclaw-ncp-runtime-stdio-client": "0.3.
|
|
58
|
-
"@nextclaw/
|
|
59
|
-
"@nextclaw/
|
|
60
|
-
"@nextclaw/
|
|
61
|
-
"@nextclaw/
|
|
62
|
-
"@nextclaw/
|
|
57
|
+
"@nextclaw/nextclaw-ncp-runtime-stdio-client": "0.3.42",
|
|
58
|
+
"@nextclaw/remote": "0.3.53",
|
|
59
|
+
"@nextclaw/service": "0.5.0",
|
|
60
|
+
"@nextclaw/runtime": "0.4.41",
|
|
61
|
+
"@nextclaw/server": "0.21.0",
|
|
62
|
+
"@nextclaw/shared": "0.4.30"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@types/node": "^20.17.6",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"tsx": "^4.19.2",
|
|
68
68
|
"typescript": "^5.6.3",
|
|
69
69
|
"vitest": "^4.1.2",
|
|
70
|
-
"@nextclaw/ui": "0.
|
|
70
|
+
"@nextclaw/ui": "0.23.0"
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|
|
73
73
|
"dev": "tsx watch --tsconfig ../../scripts/dev/dev-runtime.tsconfig.json src/cli/app/index.ts",
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# GitHub Issue Watcher
|
|
2
|
+
|
|
3
|
+
这是一个可以直接安装的参考应用:输入 `owner/repository`,它会同步 GitHub 最近的 Issue,保存在此应用自己的数据空间,并在 Panel、Agent 和已安装应用 CLI 中使用同一组 Action。
|
|
4
|
+
|
|
5
|
+
## 用户如何使用
|
|
6
|
+
|
|
7
|
+
1. 在应用面板输入仓库,例如 `nextclaw/nextclaw`,再点击“同步 Issue”。
|
|
8
|
+
2. 用“打开的 Issue / 已关闭的 Issue / 全部 Issue”筛选已保存的数据;点击任意 Issue 会前往 GitHub。
|
|
9
|
+
3. 私有仓库或更高请求额度时,在应用的 Secret 设置中将 `github-token` 绑定到 GitHub Token。Token 只通过 `wasi:config/store` 读入请求的 `Authorization` header,绝不会返回到 Panel、Action 输出或日志。
|
|
10
|
+
|
|
11
|
+
Agent 与 CLI 调用的是同一组动作:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
nextclaw app invoke nextclaw.github-issue-watcher issues_sync --input '{"repository":"Peiiii/nextclaw"}'
|
|
15
|
+
nextclaw app invoke nextclaw.github-issue-watcher issues_list --input '{"state":"open"}'
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## 从源码构建
|
|
19
|
+
|
|
20
|
+
`guest/` 自包含 Rust 源码、锁文件和 WIT 依赖;不需要从 NextClaw 仓库借用 Guest 合同。
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
cd guest
|
|
24
|
+
cargo component build --release --target wasm32-wasip2
|
|
25
|
+
cp target/wasm32-wasip1/release/nextclaw_github_issue_watcher.wasm \
|
|
26
|
+
../service-components/nextclaw-github-issue-watcher-service/service.wasm
|
|
27
|
+
cd ..
|
|
28
|
+
nextclaw app check .
|
|
29
|
+
nextclaw app test .
|
|
30
|
+
nextclaw app pack . --out github-issue-watcher.napp
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
在可直连 GitHub 的 CI 或开发环境中,可用正式 runner 做一次真实同步闭环:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
node tests/public-github-runner-smoke.tools.mjs \
|
|
37
|
+
--runner /path/to/nextclaw-wasmtime-runner \
|
|
38
|
+
--repository Peiiii/nextclaw
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
它会先读取空数据,再同步公开仓库并再次读取,检查标准 WASI HTTP、标准 KV 持久化,以及返回的 Issue 编号、标题和 GitHub 链接。这个脚本不提供 Token,也不会读取或输出 Secret。
|
|
42
|
+
|
|
43
|
+
本应用只使用标准 WASI 能力:`wasi:http/outgoing-handler@0.2.6` 请求 GitHub、`wasi:keyvalue/store@0.2.0-draft2` 保存同步结果、`wasi:config/store` 读取可选 Token,以及 `wasi:clocks/wall-clock` 记录实际同步时刻。网络目标由 manifest 的 `allowedDomains` 限制为 `api.github.com`。
|
|
@@ -0,0 +1,455 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "anyhow"
|
|
7
|
+
version = "1.0.104"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470"
|
|
10
|
+
|
|
11
|
+
[[package]]
|
|
12
|
+
name = "bitflags"
|
|
13
|
+
version = "2.13.1"
|
|
14
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
15
|
+
checksum = "b588b76d00fde79687d7646a9b5bdf3cc0f655e0bbd080335a95d7e96f3587da"
|
|
16
|
+
|
|
17
|
+
[[package]]
|
|
18
|
+
name = "equivalent"
|
|
19
|
+
version = "1.0.2"
|
|
20
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
21
|
+
checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
|
|
22
|
+
|
|
23
|
+
[[package]]
|
|
24
|
+
name = "foldhash"
|
|
25
|
+
version = "0.1.5"
|
|
26
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
27
|
+
checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2"
|
|
28
|
+
|
|
29
|
+
[[package]]
|
|
30
|
+
name = "futures"
|
|
31
|
+
version = "0.3.34"
|
|
32
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
33
|
+
checksum = "9a31d2a3fbaaeb2af2368bbdd904aa8e812d3c04a1ee10d3171f52d556e5d0a3"
|
|
34
|
+
dependencies = [
|
|
35
|
+
"futures-channel",
|
|
36
|
+
"futures-core",
|
|
37
|
+
"futures-executor",
|
|
38
|
+
"futures-io",
|
|
39
|
+
"futures-sink",
|
|
40
|
+
"futures-task",
|
|
41
|
+
"futures-util",
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
[[package]]
|
|
45
|
+
name = "futures-channel"
|
|
46
|
+
version = "0.3.34"
|
|
47
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
48
|
+
checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4"
|
|
49
|
+
dependencies = [
|
|
50
|
+
"futures-core",
|
|
51
|
+
"futures-sink",
|
|
52
|
+
]
|
|
53
|
+
|
|
54
|
+
[[package]]
|
|
55
|
+
name = "futures-core"
|
|
56
|
+
version = "0.3.34"
|
|
57
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
58
|
+
checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e"
|
|
59
|
+
|
|
60
|
+
[[package]]
|
|
61
|
+
name = "futures-executor"
|
|
62
|
+
version = "0.3.34"
|
|
63
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
64
|
+
checksum = "031b47cf1a3c6cc8bc2fc76cd437f521619387907d469316e7c0bc278f1f5432"
|
|
65
|
+
dependencies = [
|
|
66
|
+
"futures-core",
|
|
67
|
+
"futures-task",
|
|
68
|
+
"futures-util",
|
|
69
|
+
]
|
|
70
|
+
|
|
71
|
+
[[package]]
|
|
72
|
+
name = "futures-io"
|
|
73
|
+
version = "0.3.34"
|
|
74
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
75
|
+
checksum = "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed"
|
|
76
|
+
|
|
77
|
+
[[package]]
|
|
78
|
+
name = "futures-macro"
|
|
79
|
+
version = "0.3.34"
|
|
80
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
81
|
+
checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44"
|
|
82
|
+
dependencies = [
|
|
83
|
+
"proc-macro2",
|
|
84
|
+
"quote",
|
|
85
|
+
"syn 3.0.4",
|
|
86
|
+
]
|
|
87
|
+
|
|
88
|
+
[[package]]
|
|
89
|
+
name = "futures-sink"
|
|
90
|
+
version = "0.3.34"
|
|
91
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
92
|
+
checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d"
|
|
93
|
+
|
|
94
|
+
[[package]]
|
|
95
|
+
name = "futures-task"
|
|
96
|
+
version = "0.3.34"
|
|
97
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
98
|
+
checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd"
|
|
99
|
+
|
|
100
|
+
[[package]]
|
|
101
|
+
name = "futures-util"
|
|
102
|
+
version = "0.3.34"
|
|
103
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
104
|
+
checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc"
|
|
105
|
+
dependencies = [
|
|
106
|
+
"futures-channel",
|
|
107
|
+
"futures-core",
|
|
108
|
+
"futures-io",
|
|
109
|
+
"futures-macro",
|
|
110
|
+
"futures-sink",
|
|
111
|
+
"futures-task",
|
|
112
|
+
"memchr",
|
|
113
|
+
"pin-project-lite",
|
|
114
|
+
"slab",
|
|
115
|
+
]
|
|
116
|
+
|
|
117
|
+
[[package]]
|
|
118
|
+
name = "hashbrown"
|
|
119
|
+
version = "0.15.5"
|
|
120
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
121
|
+
checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1"
|
|
122
|
+
dependencies = [
|
|
123
|
+
"foldhash",
|
|
124
|
+
]
|
|
125
|
+
|
|
126
|
+
[[package]]
|
|
127
|
+
name = "hashbrown"
|
|
128
|
+
version = "0.17.1"
|
|
129
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
130
|
+
checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
|
|
131
|
+
|
|
132
|
+
[[package]]
|
|
133
|
+
name = "heck"
|
|
134
|
+
version = "0.5.0"
|
|
135
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
136
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
137
|
+
|
|
138
|
+
[[package]]
|
|
139
|
+
name = "id-arena"
|
|
140
|
+
version = "2.3.0"
|
|
141
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
142
|
+
checksum = "3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954"
|
|
143
|
+
|
|
144
|
+
[[package]]
|
|
145
|
+
name = "indexmap"
|
|
146
|
+
version = "2.14.1"
|
|
147
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
148
|
+
checksum = "07aa2048142242915a31d35844fb311e0e53fcca590c3a0a40dcf1b841fa09eb"
|
|
149
|
+
dependencies = [
|
|
150
|
+
"equivalent",
|
|
151
|
+
"hashbrown 0.17.1",
|
|
152
|
+
"serde",
|
|
153
|
+
"serde_core",
|
|
154
|
+
]
|
|
155
|
+
|
|
156
|
+
[[package]]
|
|
157
|
+
name = "itoa"
|
|
158
|
+
version = "1.0.18"
|
|
159
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
160
|
+
checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
|
|
161
|
+
|
|
162
|
+
[[package]]
|
|
163
|
+
name = "leb128fmt"
|
|
164
|
+
version = "0.1.0"
|
|
165
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
166
|
+
checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2"
|
|
167
|
+
|
|
168
|
+
[[package]]
|
|
169
|
+
name = "log"
|
|
170
|
+
version = "0.4.34"
|
|
171
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
172
|
+
checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6"
|
|
173
|
+
|
|
174
|
+
[[package]]
|
|
175
|
+
name = "memchr"
|
|
176
|
+
version = "2.8.3"
|
|
177
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
178
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
179
|
+
|
|
180
|
+
[[package]]
|
|
181
|
+
name = "nextclaw-github-issue-watcher"
|
|
182
|
+
version = "0.1.0"
|
|
183
|
+
dependencies = [
|
|
184
|
+
"serde_json",
|
|
185
|
+
"wit-bindgen",
|
|
186
|
+
"wit-bindgen-rt",
|
|
187
|
+
]
|
|
188
|
+
|
|
189
|
+
[[package]]
|
|
190
|
+
name = "once_cell"
|
|
191
|
+
version = "1.21.4"
|
|
192
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
193
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
194
|
+
|
|
195
|
+
[[package]]
|
|
196
|
+
name = "pin-project-lite"
|
|
197
|
+
version = "0.2.17"
|
|
198
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
199
|
+
checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
|
|
200
|
+
|
|
201
|
+
[[package]]
|
|
202
|
+
name = "prettyplease"
|
|
203
|
+
version = "0.2.37"
|
|
204
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
205
|
+
checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b"
|
|
206
|
+
dependencies = [
|
|
207
|
+
"proc-macro2",
|
|
208
|
+
"syn 2.0.119",
|
|
209
|
+
]
|
|
210
|
+
|
|
211
|
+
[[package]]
|
|
212
|
+
name = "proc-macro2"
|
|
213
|
+
version = "1.0.107"
|
|
214
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
215
|
+
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
216
|
+
dependencies = [
|
|
217
|
+
"unicode-ident",
|
|
218
|
+
]
|
|
219
|
+
|
|
220
|
+
[[package]]
|
|
221
|
+
name = "quote"
|
|
222
|
+
version = "1.0.47"
|
|
223
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
224
|
+
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
225
|
+
dependencies = [
|
|
226
|
+
"proc-macro2",
|
|
227
|
+
]
|
|
228
|
+
|
|
229
|
+
[[package]]
|
|
230
|
+
name = "semver"
|
|
231
|
+
version = "1.0.28"
|
|
232
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
233
|
+
checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
|
|
234
|
+
|
|
235
|
+
[[package]]
|
|
236
|
+
name = "serde"
|
|
237
|
+
version = "1.0.229"
|
|
238
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
239
|
+
checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
|
|
240
|
+
dependencies = [
|
|
241
|
+
"serde_core",
|
|
242
|
+
]
|
|
243
|
+
|
|
244
|
+
[[package]]
|
|
245
|
+
name = "serde_core"
|
|
246
|
+
version = "1.0.229"
|
|
247
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
248
|
+
checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
|
|
249
|
+
dependencies = [
|
|
250
|
+
"serde_derive",
|
|
251
|
+
]
|
|
252
|
+
|
|
253
|
+
[[package]]
|
|
254
|
+
name = "serde_derive"
|
|
255
|
+
version = "1.0.229"
|
|
256
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
257
|
+
checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
258
|
+
dependencies = [
|
|
259
|
+
"proc-macro2",
|
|
260
|
+
"quote",
|
|
261
|
+
"syn 3.0.4",
|
|
262
|
+
]
|
|
263
|
+
|
|
264
|
+
[[package]]
|
|
265
|
+
name = "serde_json"
|
|
266
|
+
version = "1.0.151"
|
|
267
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
268
|
+
checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14"
|
|
269
|
+
dependencies = [
|
|
270
|
+
"itoa",
|
|
271
|
+
"memchr",
|
|
272
|
+
"serde",
|
|
273
|
+
"serde_core",
|
|
274
|
+
"zmij",
|
|
275
|
+
]
|
|
276
|
+
|
|
277
|
+
[[package]]
|
|
278
|
+
name = "slab"
|
|
279
|
+
version = "0.4.12"
|
|
280
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
281
|
+
checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
|
|
282
|
+
|
|
283
|
+
[[package]]
|
|
284
|
+
name = "syn"
|
|
285
|
+
version = "2.0.119"
|
|
286
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
287
|
+
checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
|
|
288
|
+
dependencies = [
|
|
289
|
+
"proc-macro2",
|
|
290
|
+
"quote",
|
|
291
|
+
"unicode-ident",
|
|
292
|
+
]
|
|
293
|
+
|
|
294
|
+
[[package]]
|
|
295
|
+
name = "syn"
|
|
296
|
+
version = "3.0.4"
|
|
297
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
298
|
+
checksum = "e6275cddf4610d1775e6d1fe9469b2e77d0f39fd98fb7450901b821e0c53649f"
|
|
299
|
+
dependencies = [
|
|
300
|
+
"proc-macro2",
|
|
301
|
+
"quote",
|
|
302
|
+
"unicode-ident",
|
|
303
|
+
]
|
|
304
|
+
|
|
305
|
+
[[package]]
|
|
306
|
+
name = "unicode-ident"
|
|
307
|
+
version = "1.0.24"
|
|
308
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
309
|
+
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
310
|
+
|
|
311
|
+
[[package]]
|
|
312
|
+
name = "unicode-xid"
|
|
313
|
+
version = "0.2.6"
|
|
314
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
315
|
+
checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853"
|
|
316
|
+
|
|
317
|
+
[[package]]
|
|
318
|
+
name = "wasm-encoder"
|
|
319
|
+
version = "0.236.1"
|
|
320
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
321
|
+
checksum = "724fccfd4f3c24b7e589d333fc0429c68042897a7e8a5f8694f31792471841e7"
|
|
322
|
+
dependencies = [
|
|
323
|
+
"leb128fmt",
|
|
324
|
+
"wasmparser",
|
|
325
|
+
]
|
|
326
|
+
|
|
327
|
+
[[package]]
|
|
328
|
+
name = "wasm-metadata"
|
|
329
|
+
version = "0.236.1"
|
|
330
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
331
|
+
checksum = "c909f94a49a8de3365f3c0344f064818f1e369ff1740c5b04f455f85d454768e"
|
|
332
|
+
dependencies = [
|
|
333
|
+
"anyhow",
|
|
334
|
+
"indexmap",
|
|
335
|
+
"wasm-encoder",
|
|
336
|
+
"wasmparser",
|
|
337
|
+
]
|
|
338
|
+
|
|
339
|
+
[[package]]
|
|
340
|
+
name = "wasmparser"
|
|
341
|
+
version = "0.236.1"
|
|
342
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
343
|
+
checksum = "a9b1e81f3eb254cf7404a82cee6926a4a3ccc5aad80cc3d43608a070c67aa1d7"
|
|
344
|
+
dependencies = [
|
|
345
|
+
"bitflags",
|
|
346
|
+
"hashbrown 0.15.5",
|
|
347
|
+
"indexmap",
|
|
348
|
+
"semver",
|
|
349
|
+
]
|
|
350
|
+
|
|
351
|
+
[[package]]
|
|
352
|
+
name = "wit-bindgen"
|
|
353
|
+
version = "0.44.0"
|
|
354
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
355
|
+
checksum = "04bd9ed271234163b18c92783b0d406f08ca32c232e972f207a68c7b324c44bf"
|
|
356
|
+
dependencies = [
|
|
357
|
+
"wit-bindgen-rt",
|
|
358
|
+
"wit-bindgen-rust-macro",
|
|
359
|
+
]
|
|
360
|
+
|
|
361
|
+
[[package]]
|
|
362
|
+
name = "wit-bindgen-core"
|
|
363
|
+
version = "0.44.0"
|
|
364
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
365
|
+
checksum = "b4103c7a3e178b75cd8b0b574fa199ed015e8399c9859b003865cc28834b474b"
|
|
366
|
+
dependencies = [
|
|
367
|
+
"anyhow",
|
|
368
|
+
"heck",
|
|
369
|
+
"wit-parser",
|
|
370
|
+
]
|
|
371
|
+
|
|
372
|
+
[[package]]
|
|
373
|
+
name = "wit-bindgen-rt"
|
|
374
|
+
version = "0.44.0"
|
|
375
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
376
|
+
checksum = "653c85dd7aee6fe6f4bded0d242406deadae9819029ce6f7d258c920c384358a"
|
|
377
|
+
dependencies = [
|
|
378
|
+
"bitflags",
|
|
379
|
+
"futures",
|
|
380
|
+
"once_cell",
|
|
381
|
+
]
|
|
382
|
+
|
|
383
|
+
[[package]]
|
|
384
|
+
name = "wit-bindgen-rust"
|
|
385
|
+
version = "0.44.0"
|
|
386
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
387
|
+
checksum = "95d164b3b6fbd2b0dd8b639b1012110c0bc256519a0a6def410d4020fa8ae106"
|
|
388
|
+
dependencies = [
|
|
389
|
+
"anyhow",
|
|
390
|
+
"heck",
|
|
391
|
+
"indexmap",
|
|
392
|
+
"prettyplease",
|
|
393
|
+
"syn 2.0.119",
|
|
394
|
+
"wasm-metadata",
|
|
395
|
+
"wit-bindgen-core",
|
|
396
|
+
"wit-component",
|
|
397
|
+
]
|
|
398
|
+
|
|
399
|
+
[[package]]
|
|
400
|
+
name = "wit-bindgen-rust-macro"
|
|
401
|
+
version = "0.44.0"
|
|
402
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
403
|
+
checksum = "2c9100a5e1ac85e526dcd4ef49c3ff7689e026fa5e56e2a2047fd377fc682e02"
|
|
404
|
+
dependencies = [
|
|
405
|
+
"anyhow",
|
|
406
|
+
"prettyplease",
|
|
407
|
+
"proc-macro2",
|
|
408
|
+
"quote",
|
|
409
|
+
"syn 2.0.119",
|
|
410
|
+
"wit-bindgen-core",
|
|
411
|
+
"wit-bindgen-rust",
|
|
412
|
+
]
|
|
413
|
+
|
|
414
|
+
[[package]]
|
|
415
|
+
name = "wit-component"
|
|
416
|
+
version = "0.236.1"
|
|
417
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
418
|
+
checksum = "3622959ed7ed6341c38e5aa35af243632534b0a36226852faa802939ce11e00f"
|
|
419
|
+
dependencies = [
|
|
420
|
+
"anyhow",
|
|
421
|
+
"bitflags",
|
|
422
|
+
"indexmap",
|
|
423
|
+
"log",
|
|
424
|
+
"serde",
|
|
425
|
+
"serde_derive",
|
|
426
|
+
"serde_json",
|
|
427
|
+
"wasm-encoder",
|
|
428
|
+
"wasm-metadata",
|
|
429
|
+
"wasmparser",
|
|
430
|
+
"wit-parser",
|
|
431
|
+
]
|
|
432
|
+
|
|
433
|
+
[[package]]
|
|
434
|
+
name = "wit-parser"
|
|
435
|
+
version = "0.236.1"
|
|
436
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
437
|
+
checksum = "16e4833a20cd6e85d6abfea0e63a399472d6f88c6262957c17f546879a80ba15"
|
|
438
|
+
dependencies = [
|
|
439
|
+
"anyhow",
|
|
440
|
+
"id-arena",
|
|
441
|
+
"indexmap",
|
|
442
|
+
"log",
|
|
443
|
+
"semver",
|
|
444
|
+
"serde",
|
|
445
|
+
"serde_derive",
|
|
446
|
+
"serde_json",
|
|
447
|
+
"unicode-xid",
|
|
448
|
+
"wasmparser",
|
|
449
|
+
]
|
|
450
|
+
|
|
451
|
+
[[package]]
|
|
452
|
+
name = "zmij"
|
|
453
|
+
version = "1.0.23"
|
|
454
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
455
|
+
checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
[package]
|
|
2
|
+
name = "nextclaw-github-issue-watcher"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
edition = "2024"
|
|
5
|
+
publish = false
|
|
6
|
+
|
|
7
|
+
[dependencies]
|
|
8
|
+
serde_json = "1.0"
|
|
9
|
+
wit-bindgen = "0.44.0"
|
|
10
|
+
wit-bindgen-rt = { version = "0.44.0", features = ["bitflags"] }
|
|
11
|
+
|
|
12
|
+
[lib]
|
|
13
|
+
crate-type = ["cdylib"]
|
|
14
|
+
|
|
15
|
+
[package.metadata.component]
|
|
16
|
+
package = "nextclaw:portable-service"
|
|
17
|
+
|
|
18
|
+
[package.metadata.component.target]
|
|
19
|
+
path = "wit"
|
|
20
|
+
world = "service-app"
|
|
21
|
+
|
|
22
|
+
[package.metadata.component.target.dependencies]
|
|
23
|
+
"wasi:http" = { path = "wit/deps/http@0.2.6" }
|
|
24
|
+
"wasi:io" = { path = "wit/deps/io@0.2.6" }
|
|
25
|
+
"wasi:clocks" = { path = "wit/deps/clocks@0.2.6" }
|
|
26
|
+
"wasi:keyvalue" = { path = "wit/deps/keyvalue@0.2.0-draft2" }
|
|
27
|
+
"wasi:config" = { path = "wit/deps/config@0.2.0-draft-2024-09-27" }
|