@b3os/cli 0.2.1 → 0.2.2

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.
Files changed (214) hide show
  1. package/README.md +87 -8
  2. package/assets/b3os-run.py +137 -0
  3. package/assets/skill/b3os/SKILL.md +111 -0
  4. package/dist/commands/_agents.d.ts +14 -0
  5. package/dist/commands/_agents.js +33 -0
  6. package/dist/commands/_agents.js.map +1 -0
  7. package/dist/commands/_common.js +6 -2
  8. package/dist/commands/_common.js.map +1 -1
  9. package/dist/commands/_context.d.ts +49 -0
  10. package/dist/commands/_context.js +260 -0
  11. package/dist/commands/_context.js.map +1 -0
  12. package/dist/commands/_next.d.ts +39 -0
  13. package/dist/commands/_next.js +77 -0
  14. package/dist/commands/_next.js.map +1 -0
  15. package/dist/commands/agent.d.ts +42 -0
  16. package/dist/commands/agent.js +218 -0
  17. package/dist/commands/agent.js.map +1 -0
  18. package/dist/commands/app.d.ts +2 -5
  19. package/dist/commands/app.js +229 -69
  20. package/dist/commands/app.js.map +1 -1
  21. package/dist/commands/auth.d.ts +70 -2
  22. package/dist/commands/auth.js +308 -33
  23. package/dist/commands/auth.js.map +1 -1
  24. package/dist/commands/docs.d.ts +54 -0
  25. package/dist/commands/docs.js +202 -0
  26. package/dist/commands/docs.js.map +1 -0
  27. package/dist/commands/doctor.d.ts +23 -0
  28. package/dist/commands/doctor.js +313 -0
  29. package/dist/commands/doctor.js.map +1 -0
  30. package/dist/commands/init.d.ts +38 -1
  31. package/dist/commands/init.js +259 -60
  32. package/dist/commands/init.js.map +1 -1
  33. package/dist/commands/listen.d.ts +30 -0
  34. package/dist/commands/listen.js +194 -0
  35. package/dist/commands/listen.js.map +1 -0
  36. package/dist/commands/manifest.d.ts +13 -1
  37. package/dist/commands/manifest.js +59 -7
  38. package/dist/commands/manifest.js.map +1 -1
  39. package/dist/commands/mcp.d.ts +25 -2
  40. package/dist/commands/mcp.js +120 -11
  41. package/dist/commands/mcp.js.map +1 -1
  42. package/dist/commands/sandbox.d.ts +35 -6
  43. package/dist/commands/sandbox.js +208 -9
  44. package/dist/commands/sandbox.js.map +1 -1
  45. package/dist/commands/setup.d.ts +39 -0
  46. package/dist/commands/setup.js +203 -0
  47. package/dist/commands/setup.js.map +1 -0
  48. package/dist/commands/tool.d.ts +109 -1
  49. package/dist/commands/tool.js +635 -47
  50. package/dist/commands/tool.js.map +1 -1
  51. package/dist/config.d.ts +30 -6
  52. package/dist/config.js +39 -8
  53. package/dist/config.js.map +1 -1
  54. package/dist/ctx.d.ts +5 -45
  55. package/dist/ctx.js +25 -160
  56. package/dist/ctx.js.map +1 -1
  57. package/dist/docs/index.json +1 -0
  58. package/dist/docs/pages/actions/call.md +300 -0
  59. package/dist/docs/pages/actions/catalog/airtable.md +737 -0
  60. package/dist/docs/pages/actions/catalog/arxiv.md +166 -0
  61. package/dist/docs/pages/actions/catalog/chainalysis-sanctions.md +125 -0
  62. package/dist/docs/pages/actions/catalog/coingecko.md +1558 -0
  63. package/dist/docs/pages/actions/catalog/deps-dev.md +465 -0
  64. package/dist/docs/pages/actions/catalog/dexscreener.md +568 -0
  65. package/dist/docs/pages/actions/catalog/discord.md +784 -0
  66. package/dist/docs/pages/actions/catalog/finnhub.md +776 -0
  67. package/dist/docs/pages/actions/catalog/frankfurter.md +438 -0
  68. package/dist/docs/pages/actions/catalog/github.md +1853 -0
  69. package/dist/docs/pages/actions/catalog/gmail.md +575 -0
  70. package/dist/docs/pages/actions/catalog/google-calendar.md +654 -0
  71. package/dist/docs/pages/actions/catalog/google-drive.md +502 -0
  72. package/dist/docs/pages/actions/catalog/google-sheets.md +700 -0
  73. package/dist/docs/pages/actions/catalog/hacker-news.md +542 -0
  74. package/dist/docs/pages/actions/catalog/http.md +824 -0
  75. package/dist/docs/pages/actions/catalog/hyperliquid.md +942 -0
  76. package/dist/docs/pages/actions/catalog/jira.md +920 -0
  77. package/dist/docs/pages/actions/catalog/kalshi.md +917 -0
  78. package/dist/docs/pages/actions/catalog/linear.md +1030 -0
  79. package/dist/docs/pages/actions/catalog/markets.md +21 -0
  80. package/dist/docs/pages/actions/catalog/morpho.md +247 -0
  81. package/dist/docs/pages/actions/catalog/notion.md +1077 -0
  82. package/dist/docs/pages/actions/catalog/nws.md +485 -0
  83. package/dist/docs/pages/actions/catalog/open-meteo.md +559 -0
  84. package/dist/docs/pages/actions/catalog/polymarket.md +1523 -0
  85. package/dist/docs/pages/actions/catalog/pushbullet.md +220 -0
  86. package/dist/docs/pages/actions/catalog/resend.md +307 -0
  87. package/dist/docs/pages/actions/catalog/s3.md +513 -0
  88. package/dist/docs/pages/actions/catalog/sec-edgar.md +487 -0
  89. package/dist/docs/pages/actions/catalog/slack.md +2629 -0
  90. package/dist/docs/pages/actions/catalog/stripe.md +1405 -0
  91. package/dist/docs/pages/actions/catalog/wikipedia.md +379 -0
  92. package/dist/docs/pages/actions/catalog.md +46 -0
  93. package/dist/docs/pages/actions/limits.md +50 -0
  94. package/dist/docs/pages/actions/model-tools.md +225 -0
  95. package/dist/docs/pages/actions/packs.md +148 -0
  96. package/dist/docs/pages/actions/settings.md +69 -0
  97. package/dist/docs/pages/actions/tools.md +244 -0
  98. package/dist/docs/pages/actions/triggers.md +149 -0
  99. package/dist/docs/pages/actions.md +88 -0
  100. package/dist/docs/pages/compat/anthropic.md +168 -0
  101. package/dist/docs/pages/compat/e2b.md +194 -0
  102. package/dist/docs/pages/compat/firecrawl.md +138 -0
  103. package/dist/docs/pages/compat/openai.md +168 -0
  104. package/dist/docs/pages/concepts/auth.md +151 -0
  105. package/dist/docs/pages/concepts/beta.md +55 -0
  106. package/dist/docs/pages/concepts/glossary.md +71 -0
  107. package/dist/docs/pages/concepts/ids.md +98 -0
  108. package/dist/docs/pages/concepts/jobs.md +229 -0
  109. package/dist/docs/pages/concepts/latency.md +138 -0
  110. package/dist/docs/pages/concepts/limits.md +191 -0
  111. package/dist/docs/pages/concepts/stack.md +59 -0
  112. package/dist/docs/pages/concepts/timing.md +86 -0
  113. package/dist/docs/pages/concepts/usage.md +110 -0
  114. package/dist/docs/pages/design/b3os-yaml.md +370 -0
  115. package/dist/docs/pages/design/deploy-from-github.md +122 -0
  116. package/dist/docs/pages/design/observability.md +134 -0
  117. package/dist/docs/pages/errors.md +1824 -0
  118. package/dist/docs/pages/infer/chat.md +570 -0
  119. package/dist/docs/pages/infer/limits.md +55 -0
  120. package/dist/docs/pages/infer/messages.md +185 -0
  121. package/dist/docs/pages/infer/responses.md +173 -0
  122. package/dist/docs/pages/infer/settings.md +154 -0
  123. package/dist/docs/pages/infer/speech.md +323 -0
  124. package/dist/docs/pages/infer.md +154 -0
  125. package/dist/docs/pages/introduction.md +162 -0
  126. package/dist/docs/pages/platform/addresses.md +174 -0
  127. package/dist/docs/pages/platform/call-log.md +99 -0
  128. package/dist/docs/pages/platform/custom-domains.md +104 -0
  129. package/dist/docs/pages/platform/keys.md +79 -0
  130. package/dist/docs/pages/platform/limits.md +57 -0
  131. package/dist/docs/pages/platform/members.md +101 -0
  132. package/dist/docs/pages/platform/requests.md +116 -0
  133. package/dist/docs/pages/platform/settings.md +129 -0
  134. package/dist/docs/pages/platform/webhooks.md +68 -0
  135. package/dist/docs/pages/platform.md +67 -0
  136. package/dist/docs/pages/quickstart/mcp.md +94 -0
  137. package/dist/docs/pages/quickstart/sandbox-agent.md +205 -0
  138. package/dist/docs/pages/quickstart/scrape.md +134 -0
  139. package/dist/docs/pages/quickstart.md +45 -0
  140. package/dist/docs/pages/render/inspections.md +162 -0
  141. package/dist/docs/pages/render/limits.md +72 -0
  142. package/dist/docs/pages/render/screenshots.md +179 -0
  143. package/dist/docs/pages/render/settings.md +431 -0
  144. package/dist/docs/pages/render/styles.md +342 -0
  145. package/dist/docs/pages/render/videos.md +272 -0
  146. package/dist/docs/pages/render.md +118 -0
  147. package/dist/docs/pages/routines/callables.md +174 -0
  148. package/dist/docs/pages/routines/definitions.md +361 -0
  149. package/dist/docs/pages/routines/limits.md +117 -0
  150. package/dist/docs/pages/routines/runs.md +328 -0
  151. package/dist/docs/pages/routines/settings.md +104 -0
  152. package/dist/docs/pages/routines/triggers.md +339 -0
  153. package/dist/docs/pages/routines.md +216 -0
  154. package/dist/docs/pages/sandboxes/agents.md +217 -0
  155. package/dist/docs/pages/sandboxes/commands.md +272 -0
  156. package/dist/docs/pages/sandboxes/images.md +166 -0
  157. package/dist/docs/pages/sandboxes/limits.md +143 -0
  158. package/dist/docs/pages/sandboxes/ports.md +260 -0
  159. package/dist/docs/pages/sandboxes/settings.md +358 -0
  160. package/dist/docs/pages/sandboxes/snapshots.md +423 -0
  161. package/dist/docs/pages/sandboxes/swarms.md +146 -0
  162. package/dist/docs/pages/sandboxes/volumes.md +131 -0
  163. package/dist/docs/pages/sandboxes.md +231 -0
  164. package/dist/docs/pages/sdks/cli.md +121 -0
  165. package/dist/docs/pages/sdks/mcp.md +169 -0
  166. package/dist/docs/pages/sdks/python.md +146 -0
  167. package/dist/docs/pages/sdks/typescript.md +202 -0
  168. package/dist/docs/pages/sdks.md +282 -0
  169. package/dist/docs/pages/settings.md +33 -0
  170. package/dist/docs/pages/vault/limits.md +46 -0
  171. package/dist/docs/pages/vault.md +133 -0
  172. package/dist/docs/pages/vision/agent-browser.md +115 -0
  173. package/dist/docs/pages/vision/crawl.md +333 -0
  174. package/dist/docs/pages/vision/extract.md +152 -0
  175. package/dist/docs/pages/vision/fetcher.md +15 -0
  176. package/dist/docs/pages/vision/limits.md +79 -0
  177. package/dist/docs/pages/vision/profiles.md +111 -0
  178. package/dist/docs/pages/vision/proxy.md +131 -0
  179. package/dist/docs/pages/vision/scrape.md +356 -0
  180. package/dist/docs/pages/vision/sessions.md +311 -0
  181. package/dist/docs/pages/vision/settings.md +656 -0
  182. package/dist/docs/pages/vision.md +175 -0
  183. package/dist/errors.d.ts +129 -0
  184. package/dist/errors.js +326 -0
  185. package/dist/errors.js.map +1 -0
  186. package/dist/main.d.ts +1 -1
  187. package/dist/main.js +26 -13
  188. package/dist/main.js.map +1 -1
  189. package/dist/manifest/domains.d.ts +50 -0
  190. package/dist/manifest/domains.js +159 -0
  191. package/dist/manifest/domains.js.map +1 -0
  192. package/dist/manifest/link.d.ts +20 -0
  193. package/dist/manifest/link.js +24 -0
  194. package/dist/manifest/link.js.map +1 -0
  195. package/dist/manifest/record.d.ts +1 -1
  196. package/dist/tool/archive.d.ts +33 -0
  197. package/dist/tool/archive.js +174 -0
  198. package/dist/tool/archive.js.map +1 -0
  199. package/dist/tool/calls.d.ts +46 -0
  200. package/dist/tool/calls.js +274 -0
  201. package/dist/tool/calls.js.map +1 -0
  202. package/dist/tool/checks.d.ts +21 -0
  203. package/dist/tool/checks.js +145 -0
  204. package/dist/tool/checks.js.map +1 -0
  205. package/dist/tool/elf.d.ts +19 -0
  206. package/dist/tool/elf.js +107 -0
  207. package/dist/tool/elf.js.map +1 -0
  208. package/dist/tool/predict.d.ts +8 -0
  209. package/dist/tool/predict.js +38 -0
  210. package/dist/tool/predict.js.map +1 -0
  211. package/dist/tool/ustar.d.ts +5 -0
  212. package/dist/tool/ustar.js +220 -0
  213. package/dist/tool/ustar.js.map +1 -0
  214. package/package.json +6 -5
@@ -0,0 +1,465 @@
1
+ # Open source packages (deps.dev)
2
+
3
+ > The io.b3os/deps-dev pack: 5 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.
4
+
5
+ Source: https://docs.beta.b3os.org/actions/catalog/deps-dev.md
6
+
7
+ <a id="deps-dev"></a>
8
+
9
+ `io.b3os/deps-dev` 1.0.0 · `developer-tools`, `security`, `open-source` · MIT
10
+
11
+ Facts about open source packages from Google's Open Source Insights (deps.dev), no key needed: a package's versions and its default (latest) version, one version's licenses, security advisories, links and deprecation, its resolved dependency graph, a source repository's stars, license and OpenSSF Scorecard, and advisory details with CVSS scores. Covers npm, PyPI, Go, Maven, Cargo, NuGet and RubyGems.
12
+
13
+ Every call's result carries `upstream_status` and `timing`: `validate_ms`, `inject_ms`, `render_ms`, `upstream_ms`, `map_ms` and `total_ms`. `upstream` is the service's time; the others are B3OS's own ([call actions](https://docs.beta.b3os.org/actions/call)). The snippets below show no timing values, because a fixture records none.
14
+
15
+ ## Connection
16
+
17
+ No credential: a keyless public API. Calls name no connection.
18
+
19
+ Hosts it reaches: `api.deps.dev`.
20
+
21
+ ## Actions
22
+
23
+ | Action | Effect | MCP tool | Title |
24
+ |---|---|---|---|
25
+ | [`get-package`](https://docs.beta.b3os.org/actions/catalog/deps-dev#deps-dev-get-package) | read | `deps-dev__get-package` | Get package |
26
+ | [`get-version`](https://docs.beta.b3os.org/actions/catalog/deps-dev#deps-dev-get-version) | read | `deps-dev__get-version` | Get version |
27
+ | [`get-dependencies`](https://docs.beta.b3os.org/actions/catalog/deps-dev#deps-dev-get-dependencies) | read | `deps-dev__get-dependencies` | Get dependencies |
28
+ | [`get-project`](https://docs.beta.b3os.org/actions/catalog/deps-dev#deps-dev-get-project) | read | `deps-dev__get-project` | Get project |
29
+ | [`get-advisory`](https://docs.beta.b3os.org/actions/catalog/deps-dev#deps-dev-get-advisory) | read | `deps-dev__get-advisory` | Get advisory |
30
+
31
+ <h3 id="deps-dev-get-package"><code>get-package</code></h3>
32
+
33
+ **Get package.** A package's default version (what installs by default, usually the latest stable) with its publish time, the number of versions, and the last versions of deps.dev's version list (it sorts ascending), so the newest come first in the output.
34
+
35
+ Ref `io.b3os/deps-dev/get-package@1.0.0` · effect `read` · no connection · MCP tool `deps-dev__get-package`
36
+
37
+ **curl**
38
+
39
+ ```bash
40
+ curl -s https://beta-api.b3os.org/v1/actions/call \
41
+ -H "Authorization: Bearer $B3OS_API_KEY" \
42
+ -H "Content-Type: application/json" \
43
+ -d '{
44
+ "ref": "io.b3os/deps-dev/get-package@1",
45
+ "input": {"system": "npm", "name": "left-pad", "limit": 3}
46
+ }'
47
+ ```
48
+ **TypeScript**
49
+
50
+ ```ts
51
+ import { B3OS } from "@b3os/sdk";
52
+
53
+ const b3os = new B3OS();
54
+ const result = await b3os.actions.call({
55
+ ref: "io.b3os/deps-dev/get-package@1",
56
+ input: { system: "npm", name: "left-pad", limit: 3 },
57
+ });
58
+ console.log(result.output);
59
+ ```
60
+ **Python**
61
+
62
+ ```python
63
+ from b3os import B3OS
64
+
65
+ b3os = B3OS()
66
+ result = b3os.actions.call({
67
+ "ref": "io.b3os/deps-dev/get-package@1",
68
+ "input": {"system": "npm", "name": "left-pad", "limit": 3},
69
+ })
70
+ print(result["output"])
71
+ ```
72
+ **MCP**
73
+
74
+ ```json
75
+ {
76
+ "method": "tools/call",
77
+ "params": {
78
+ "name": "deps-dev__get-package",
79
+ "arguments": {"system": "npm", "name": "left-pad", "limit": 3}
80
+ }
81
+ }
82
+ ```
83
+
84
+ Expose the pack as tools with `--packs deps-dev` on the local server or `?packs=deps-dev` on the remote URL, and the agent calls `deps-dev__get-package` with the action's input. The tool needs no connection. Without exposing the pack, `actions_call` takes the same input with `ref`.
85
+
86
+ Output, labeled `fixture`: Get package (response recorded 2026-10-26). From the bundle's `fixtures/get-package.json`, not a live call.
87
+
88
+ ```json
89
+ {
90
+ "system": "npm",
91
+ "name": "left-pad",
92
+ "version_count": 15,
93
+ "default_version": "1.3.0",
94
+ "default_published_at": "2018-04-09T01:10:45Z",
95
+ "versions": [
96
+ {
97
+ "version": "1.3.0",
98
+ "published_at": "2018-04-09T01:10:45Z",
99
+ "is_default": true,
100
+ "is_deprecated": true
101
+ },
102
+ {
103
+ "version": "1.2.0",
104
+ "published_at": "2017-11-17T05:48:38Z",
105
+ "is_default": false,
106
+ "is_deprecated": true
107
+ },
108
+ {
109
+ "version": "1.1.3",
110
+ "published_at": "2016-10-01T08:01:07Z",
111
+ "is_default": false,
112
+ "is_deprecated": true
113
+ }
114
+ ]
115
+ }
116
+ ```
117
+
118
+ When the service answers with an error, the call fails with [`upstream_error`](https://docs.beta.b3os.org/errors#upstream_error) and `pack_error.code` is one of:
119
+
120
+ | `pack_error.code` | Service status | Retryable | Message |
121
+ |---|---|---|---|
122
+ | `not_found` | 404 | no | deps.dev has no such package, version, project or advisory. |
123
+ | `rate_limited` | 429 | yes | deps.dev is rate limiting this address; retry shortly. |
124
+
125
+ <h3 id="deps-dev-get-version"><code>get-version</code></h3>
126
+
127
+ **Get version.** One package version: publish time, whether it is the default version, deprecation and its reason, licenses (SPDX), security advisory ids affecting it (look them up with get-advisory), homepage, source repository and the related project id for get-project.
128
+
129
+ Ref `io.b3os/deps-dev/get-version@1.0.0` · effect `read` · no connection · MCP tool `deps-dev__get-version`
130
+
131
+ **curl**
132
+
133
+ ```bash
134
+ curl -s https://beta-api.b3os.org/v1/actions/call \
135
+ -H "Authorization: Bearer $B3OS_API_KEY" \
136
+ -H "Content-Type: application/json" \
137
+ -d '{
138
+ "ref": "io.b3os/deps-dev/get-version@1",
139
+ "input": {"system": "npm", "name": "react", "version": "19.2.0"}
140
+ }'
141
+ ```
142
+ **TypeScript**
143
+
144
+ ```ts
145
+ import { B3OS } from "@b3os/sdk";
146
+
147
+ const b3os = new B3OS();
148
+ const result = await b3os.actions.call({
149
+ ref: "io.b3os/deps-dev/get-version@1",
150
+ input: { system: "npm", name: "react", version: "19.2.0" },
151
+ });
152
+ console.log(result.output);
153
+ ```
154
+ **Python**
155
+
156
+ ```python
157
+ from b3os import B3OS
158
+
159
+ b3os = B3OS()
160
+ result = b3os.actions.call({
161
+ "ref": "io.b3os/deps-dev/get-version@1",
162
+ "input": {"system": "npm", "name": "react", "version": "19.2.0"},
163
+ })
164
+ print(result["output"])
165
+ ```
166
+ **MCP**
167
+
168
+ ```json
169
+ {
170
+ "method": "tools/call",
171
+ "params": {
172
+ "name": "deps-dev__get-version",
173
+ "arguments": {"system": "npm", "name": "react", "version": "19.2.0"}
174
+ }
175
+ }
176
+ ```
177
+
178
+ Expose the pack as tools with `--packs deps-dev` on the local server or `?packs=deps-dev` on the remote URL, and the agent calls `deps-dev__get-version` with the action's input. The tool needs no connection. Without exposing the pack, `actions_call` takes the same input with `ref`.
179
+
180
+ Output, labeled `fixture`: Get version (response recorded 2026-10-26). From the bundle's `fixtures/get-version.json`, not a live call.
181
+
182
+ ```json
183
+ {
184
+ "system": "npm",
185
+ "name": "react",
186
+ "version": "19.2.0",
187
+ "published_at": "2025-10-01T21:38:32Z",
188
+ "is_default": false,
189
+ "is_deprecated": false,
190
+ "deprecated_reason": null,
191
+ "licenses": ["MIT"],
192
+ "advisories": [],
193
+ "homepage": "https://react.dev/",
194
+ "source_repo": "git+https://github.com/facebook/react.git",
195
+ "project": "github.com/facebook/react"
196
+ }
197
+ ```
198
+
199
+ When the service answers with an error, the call fails with [`upstream_error`](https://docs.beta.b3os.org/errors#upstream_error) and `pack_error.code` is one of:
200
+
201
+ | `pack_error.code` | Service status | Retryable | Message |
202
+ |---|---|---|---|
203
+ | `not_found` | 404 | no | deps.dev has no such package, version, project or advisory. |
204
+ | `rate_limited` | 429 | yes | deps.dev is rate limiting this address; retry shortly. |
205
+
206
+ <h3 id="deps-dev-get-dependencies"><code>get-dependencies</code></h3>
207
+
208
+ **Get dependencies.** The resolved dependency graph of one package version as deps.dev computes it: every package it pulls in with the resolved version and whether it is a direct or an indirect dependency. Large packages can have hundreds of nodes.
209
+
210
+ Ref `io.b3os/deps-dev/get-dependencies@1.0.0` · effect `read` · no connection · MCP tool `deps-dev__get-dependencies`
211
+
212
+ **curl**
213
+
214
+ ```bash
215
+ curl -s https://beta-api.b3os.org/v1/actions/call \
216
+ -H "Authorization: Bearer $B3OS_API_KEY" \
217
+ -H "Content-Type: application/json" \
218
+ -d '{
219
+ "ref": "io.b3os/deps-dev/get-dependencies@1",
220
+ "input": {"system": "npm", "name": "express", "version": "4.21.2"}
221
+ }'
222
+ ```
223
+ **TypeScript**
224
+
225
+ ```ts
226
+ import { B3OS } from "@b3os/sdk";
227
+
228
+ const b3os = new B3OS();
229
+ const result = await b3os.actions.call({
230
+ ref: "io.b3os/deps-dev/get-dependencies@1",
231
+ input: { system: "npm", name: "express", version: "4.21.2" },
232
+ });
233
+ console.log(result.output);
234
+ ```
235
+ **Python**
236
+
237
+ ```python
238
+ from b3os import B3OS
239
+
240
+ b3os = B3OS()
241
+ result = b3os.actions.call({
242
+ "ref": "io.b3os/deps-dev/get-dependencies@1",
243
+ "input": {"system": "npm", "name": "express", "version": "4.21.2"},
244
+ })
245
+ print(result["output"])
246
+ ```
247
+ **MCP**
248
+
249
+ ```json
250
+ {
251
+ "method": "tools/call",
252
+ "params": {
253
+ "name": "deps-dev__get-dependencies",
254
+ "arguments": {"system": "npm", "name": "express", "version": "4.21.2"}
255
+ }
256
+ }
257
+ ```
258
+
259
+ Expose the pack as tools with `--packs deps-dev` on the local server or `?packs=deps-dev` on the remote URL, and the agent calls `deps-dev__get-dependencies` with the action's input. The tool needs no connection. Without exposing the pack, `actions_call` takes the same input with `ref`.
260
+
261
+ Output, labeled `fixture`: Get dependencies (response recorded 2026-10-26). From the bundle's `fixtures/get-dependencies.json`, not a live call.
262
+
263
+ ```json
264
+ {
265
+ "direct": 3,
266
+ "indirect": 2,
267
+ "dependencies": [
268
+ {"name": "accepts", "version": "1.3.8", "relation": "DIRECT"},
269
+ {
270
+ "name": "array-flatten",
271
+ "version": "1.1.1",
272
+ "relation": "DIRECT"
273
+ },
274
+ {
275
+ "name": "async-function",
276
+ "version": "1.0.0",
277
+ "relation": "INDIRECT"
278
+ },
279
+ {
280
+ "name": "async-generator-function",
281
+ "version": "1.0.0",
282
+ "relation": "INDIRECT"
283
+ },
284
+ {"name": "body-parser", "version": "1.20.3", "relation": "DIRECT"}
285
+ ],
286
+ "error": null
287
+ }
288
+ ```
289
+
290
+ When the service answers with an error, the call fails with [`upstream_error`](https://docs.beta.b3os.org/errors#upstream_error) and `pack_error.code` is one of:
291
+
292
+ | `pack_error.code` | Service status | Retryable | Message |
293
+ |---|---|---|---|
294
+ | `not_found` | 404 | no | deps.dev has no such package, version, project or advisory. |
295
+ | `rate_limited` | 429 | yes | deps.dev is rate limiting this address; retry shortly. |
296
+
297
+ <h3 id="deps-dev-get-project"><code>get-project</code></h3>
298
+
299
+ **Get project.** A source repository's description, homepage, license, stars, forks and open issues, and its OpenSSF Scorecard: the overall score (0 to 10), the scan date and each check (Maintained, Code-Review, Vulnerabilities, ...) with its score and reason.
300
+
301
+ Ref `io.b3os/deps-dev/get-project@1.0.0` · effect `read` · no connection · MCP tool `deps-dev__get-project`
302
+
303
+ **curl**
304
+
305
+ ```bash
306
+ curl -s https://beta-api.b3os.org/v1/actions/call \
307
+ -H "Authorization: Bearer $B3OS_API_KEY" \
308
+ -H "Content-Type: application/json" \
309
+ -d '{
310
+ "ref": "io.b3os/deps-dev/get-project@1",
311
+ "input": {"project": "github.com/facebook/react"}
312
+ }'
313
+ ```
314
+ **TypeScript**
315
+
316
+ ```ts
317
+ import { B3OS } from "@b3os/sdk";
318
+
319
+ const b3os = new B3OS();
320
+ const result = await b3os.actions.call({
321
+ ref: "io.b3os/deps-dev/get-project@1",
322
+ input: { project: "github.com/facebook/react" },
323
+ });
324
+ console.log(result.output);
325
+ ```
326
+ **Python**
327
+
328
+ ```python
329
+ from b3os import B3OS
330
+
331
+ b3os = B3OS()
332
+ result = b3os.actions.call({
333
+ "ref": "io.b3os/deps-dev/get-project@1",
334
+ "input": {"project": "github.com/facebook/react"},
335
+ })
336
+ print(result["output"])
337
+ ```
338
+ **MCP**
339
+
340
+ ```json
341
+ {
342
+ "method": "tools/call",
343
+ "params": {
344
+ "name": "deps-dev__get-project",
345
+ "arguments": {"project": "github.com/facebook/react"}
346
+ }
347
+ }
348
+ ```
349
+
350
+ Expose the pack as tools with `--packs deps-dev` on the local server or `?packs=deps-dev` on the remote URL, and the agent calls `deps-dev__get-project` with the action's input. The tool needs no connection. Without exposing the pack, `actions_call` takes the same input with `ref`.
351
+
352
+ Output, labeled `fixture`: Get project (response recorded 2026-10-26). From the bundle's `fixtures/get-project.json`, not a live call.
353
+
354
+ ```json
355
+ {
356
+ "project": "github.com/facebook/react",
357
+ "description": "The library for web and native user interfaces.",
358
+ "homepage": "https://react.dev",
359
+ "license": "MIT",
360
+ "stars": 251612,
361
+ "forks": 51565,
362
+ "open_issues": 1464,
363
+ "scorecard_score": 7,
364
+ "scorecard_date": "2026-08-24T00:00:00Z",
365
+ "checks": [
366
+ {
367
+ "name": "Maintained",
368
+ "score": 10,
369
+ "reason": "30 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10"
370
+ },
371
+ {
372
+ "name": "Code-Review",
373
+ "score": 10,
374
+ "reason": "all changesets reviewed"
375
+ },
376
+ {
377
+ "name": "CII-Best-Practices",
378
+ "score": 2,
379
+ "reason": "badge detected: InProgress"
380
+ }
381
+ ]
382
+ }
383
+ ```
384
+
385
+ When the service answers with an error, the call fails with [`upstream_error`](https://docs.beta.b3os.org/errors#upstream_error) and `pack_error.code` is one of:
386
+
387
+ | `pack_error.code` | Service status | Retryable | Message |
388
+ |---|---|---|---|
389
+ | `not_found` | 404 | no | deps.dev has no such package, version, project or advisory. |
390
+ | `rate_limited` | 429 | yes | deps.dev is rate limiting this address; retry shortly. |
391
+
392
+ <h3 id="deps-dev-get-advisory"><code>get-advisory</code></h3>
393
+
394
+ **Get advisory.** One security advisory by id (from get-version): title, aliases such as the CVE id, CVSS v3 score and vector, and its OSV page.
395
+
396
+ Ref `io.b3os/deps-dev/get-advisory@1.0.0` · effect `read` · no connection · MCP tool `deps-dev__get-advisory`
397
+
398
+ **curl**
399
+
400
+ ```bash
401
+ curl -s https://beta-api.b3os.org/v1/actions/call \
402
+ -H "Authorization: Bearer $B3OS_API_KEY" \
403
+ -H "Content-Type: application/json" \
404
+ -d '{
405
+ "ref": "io.b3os/deps-dev/get-advisory@1",
406
+ "input": {"id": "GHSA-2p57-rm9w-gvfp"}
407
+ }'
408
+ ```
409
+ **TypeScript**
410
+
411
+ ```ts
412
+ import { B3OS } from "@b3os/sdk";
413
+
414
+ const b3os = new B3OS();
415
+ const result = await b3os.actions.call({
416
+ ref: "io.b3os/deps-dev/get-advisory@1",
417
+ input: { id: "GHSA-2p57-rm9w-gvfp" },
418
+ });
419
+ console.log(result.output);
420
+ ```
421
+ **Python**
422
+
423
+ ```python
424
+ from b3os import B3OS
425
+
426
+ b3os = B3OS()
427
+ result = b3os.actions.call({
428
+ "ref": "io.b3os/deps-dev/get-advisory@1",
429
+ "input": {"id": "GHSA-2p57-rm9w-gvfp"},
430
+ })
431
+ print(result["output"])
432
+ ```
433
+ **MCP**
434
+
435
+ ```json
436
+ {
437
+ "method": "tools/call",
438
+ "params": {
439
+ "name": "deps-dev__get-advisory",
440
+ "arguments": {"id": "GHSA-2p57-rm9w-gvfp"}
441
+ }
442
+ }
443
+ ```
444
+
445
+ Expose the pack as tools with `--packs deps-dev` on the local server or `?packs=deps-dev` on the remote URL, and the agent calls `deps-dev__get-advisory` with the action's input. The tool needs no connection. Without exposing the pack, `actions_call` takes the same input with `ref`.
446
+
447
+ Output, labeled `fixture`: Get advisory (response recorded 2026-10-26). From the bundle's `fixtures/get-advisory.json`, not a live call.
448
+
449
+ ```json
450
+ {
451
+ "id": "GHSA-2p57-rm9w-gvfp",
452
+ "title": "ip SSRF improper categorization in isPublic",
453
+ "aliases": ["CVE-2024-29415"],
454
+ "cvss3_score": 8.1,
455
+ "cvss3_vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
456
+ "url": "https://osv.dev/vulnerability/GHSA-2p57-rm9w-gvfp"
457
+ }
458
+ ```
459
+
460
+ When the service answers with an error, the call fails with [`upstream_error`](https://docs.beta.b3os.org/errors#upstream_error) and `pack_error.code` is one of:
461
+
462
+ | `pack_error.code` | Service status | Retryable | Message |
463
+ |---|---|---|---|
464
+ | `not_found` | 404 | no | deps.dev has no such package, version, project or advisory. |
465
+ | `rate_limited` | 429 | yes | deps.dev is rate limiting this address; retry shortly. |