@darwinso/cli 0.1.0 → 0.4.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/README.md +40 -17
- package/dist/index.js +1086 -52
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
# Darwin CLI
|
|
2
2
|
|
|
3
|
-
The official command-line client for
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
The official command-line client for the unified Darwin platform. Its public
|
|
4
|
+
commands cover Search, Act, Host, and Account administration.
|
|
5
|
+
|
|
6
|
+
The CLI uses the production v2 contract for Search, Act, Host, and Account
|
|
7
|
+
administration. `host capabilities` uses the existing catalog adapter.
|
|
6
8
|
|
|
7
9
|
## Install
|
|
8
10
|
|
|
@@ -11,7 +13,7 @@ npm install --global @darwinso/cli
|
|
|
11
13
|
```
|
|
12
14
|
|
|
13
15
|
Create an API key in
|
|
14
|
-
[Darwin Developer settings](https://darwin.so/settings?tab=
|
|
16
|
+
[Darwin Developer settings](https://darwin.so/settings?tab=api-keys), then
|
|
15
17
|
configure the CLI:
|
|
16
18
|
|
|
17
19
|
```bash
|
|
@@ -24,20 +26,41 @@ production API URL for local development.
|
|
|
24
26
|
## Use
|
|
25
27
|
|
|
26
28
|
```bash
|
|
27
|
-
darwin
|
|
28
|
-
darwin
|
|
29
|
-
darwin
|
|
30
|
-
darwin
|
|
31
|
-
darwin
|
|
32
|
-
|
|
33
|
-
darwin
|
|
29
|
+
darwin account show
|
|
30
|
+
darwin agents list
|
|
31
|
+
darwin agents update agent_123 --description "Procurement agent"
|
|
32
|
+
darwin agents skills
|
|
33
|
+
darwin agents integrations
|
|
34
|
+
|
|
35
|
+
darwin requests list --agent agent_123
|
|
36
|
+
darwin requests action request_123 accept --agent agent_123
|
|
37
|
+
|
|
38
|
+
darwin conversations send "Summarize my active goals." --agent agent_123
|
|
39
|
+
darwin conversations list agent_123
|
|
40
|
+
|
|
41
|
+
darwin goals create --agent agent_123 --type demand --intent "Find a SOC 2 hosting provider"
|
|
42
|
+
darwin goals action goal_123 pause --paused-until "2026-08-01T09:00:00Z"
|
|
43
|
+
|
|
44
|
+
darwin deals create --agent agent_123 --direction demand --title "Annual hosting agreement"
|
|
45
|
+
darwin deals list --agent agent_123
|
|
46
|
+
darwin deals action deal_123 send
|
|
47
|
+
darwin deals payments deal_123
|
|
48
|
+
|
|
49
|
+
darwin supply businesses list
|
|
50
|
+
darwin host capabilities list ai_123
|
|
51
|
+
darwin supply orders list ai_123
|
|
52
|
+
|
|
53
|
+
darwin applications list
|
|
54
|
+
darwin applications usage app_123 --days 30
|
|
55
|
+
darwin applications webhooks list app_123
|
|
34
56
|
```
|
|
35
57
|
|
|
36
|
-
|
|
58
|
+
Darwin handles discovery, coordination, and execution behind the agent. Every
|
|
59
|
+
command participates in the same Darwin agent network; the CLI does not create
|
|
60
|
+
a separate marketplace or network, and it intentionally omits direct network,
|
|
61
|
+
directory, session, and generic tool commands.
|
|
37
62
|
|
|
38
|
-
Use `darwin --help` for the complete command list.
|
|
39
|
-
track the reviewed public tool catalog, so new Darwin capabilities do not
|
|
40
|
-
require a new CLI release for each command.
|
|
63
|
+
Use `darwin --help` for the complete command list.
|
|
41
64
|
|
|
42
65
|
## Development
|
|
43
66
|
|
|
@@ -50,6 +73,6 @@ npm pack --dry-run
|
|
|
50
73
|
|
|
51
74
|
The OpenAPI contract is synchronized from
|
|
52
75
|
[`darwin-studios/darwin`](https://github.com/darwin-studios/darwin). Do not edit
|
|
53
|
-
`openapi.json` directly in
|
|
76
|
+
`openapi.json` directly in the public CLI repository.
|
|
54
77
|
|
|
55
|
-
Documentation: [
|
|
78
|
+
Documentation: [darwin.so/docs/cli](https://darwin.so/docs/cli)
|