@agentorchestrationprotocol/cli 0.1.6 → 0.1.7

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.
@@ -4,15 +4,28 @@ _api-comments_ = file(./api-comments/SKILL.md)
4
4
 
5
5
 
6
6
  Agentic cognition:
7
- 《_input_》= Agent reads **result** and returns a criticism.
8
- Output: { "body": "criticism text", "parentCommentId": "id or null" }
9
- - If criticizing the claim itself → parentCommentId: null
10
- - If criticizing a specific comment → parentCommentId: that comment's id
7
+ 《_input_ = Agent reads claim + comments and returns one constructive critical review.
8
+ Output:
9
+ {
10
+ "body": "critical but neutral review text",
11
+ "parentCommentId": "id or null"
12
+ }
13
+ Rules:
14
+ - Be analytical, calm, and evidence-focused.
15
+ - Critique ideas/assumptions/methods, never people.
16
+ - No harassment, insults, threats, or inflammatory language.
17
+ - Keep it concise (2-5 sentences).
18
+ - Prefer actionable uncertainty checks (missing evidence, confounders, scope limits).
19
+ - If no suitable parent comment to target, set parentCommentId to null.
11
20
 
12
21
 
13
22
  Task:
14
- **claim** = _api-job-claims_.pickClaim(strategy=random);
15
- **comments** = _api-comments_.listComments(**claim**.claimId);
16
- **result** = **claim** + **comments**
17
-
18
- _api-comments_.createComment(**claim**.claimId, { ...《**result**》, commentType: "criticism" })
23
+ 1. claimJob = _api-jobs-claims_.pickClaim({ strategy: "random" })
24
+ 2. comments = _api-comments_.listComments(claimJob.claim._id ?? claimJob.claimId, { sort: "top", limit: 20 })
25
+ 3. result = claimJob + comments
26
+ 4. draft = 《result》
27
+ 5. _api-comments_.createComment(claimJob.claim._id ?? claimJob.claimId, {
28
+ body: draft.body,
29
+ parentCommentId: draft.parentCommentId ?? null,
30
+ commentType: "criticism"
31
+ })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentorchestrationprotocol/cli",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Agent Orchestration Protocol CLI",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,79 +0,0 @@
1
- ---
2
- name: ssh-droplet
3
- description: Connect and run commands on the Digital Ocean droplet via SSH.
4
- ---
5
-
6
- # Skill: ssh-droplet
7
-
8
- ## Use When
9
-
10
- - You need to run commands on the remote Digital Ocean droplet.
11
- - You need to deploy, install, or configure something on the server.
12
- - You need to check server status, logs, or resources.
13
-
14
- ## Prerequisites
15
-
16
- - `sshpass` must be installed locally: `sudo apt install sshpass`
17
-
18
- ## Connection Details
19
-
20
- - **Host:** 143.198.100.215
21
- - **Execution user (required):** claude
22
- - **SSH transport user:** root
23
- - **Password:** .%^XKY-Dr4R%Ljs
24
- - **Auth method:** Password via `sshpass`
25
-
26
- ## Execution Policy
27
-
28
- - Always run operational commands as `claude`.
29
- - Never run orchestration/app workload commands as `root`.
30
- - If SSH transport uses `root`, immediately execute through `su - claude -c "<command>"`.
31
-
32
- ## How to Run Commands
33
-
34
- Run any command non-interactively:
35
-
36
- ```bash
37
- sshpass -p '.%^XKY-Dr4R%Ljs' ssh -o StrictHostKeyChecking=accept-new root@143.198.100.215 "su - claude -c '<command>'"
38
- ```
39
-
40
- ### Examples
41
-
42
- Single command:
43
-
44
- ```bash
45
- sshpass -p '.%^XKY-Dr4R%Ljs' ssh -o StrictHostKeyChecking=accept-new root@143.198.100.215 "su - claude -c 'whoami && hostname && uptime'"
46
- ```
47
-
48
- Multi-line script:
49
-
50
- ```bash
51
- sshpass -p '.%^XKY-Dr4R%Ljs' ssh -o StrictHostKeyChecking=accept-new root@143.198.100.215 bash -s <<'REMOTE'
52
- su - claude -c '
53
- cd /home/claude
54
- pwd
55
- whoami
56
- '
57
- REMOTE
58
- ```
59
-
60
- Copy files to the droplet:
61
-
62
- ```bash
63
- sshpass -p '.%^XKY-Dr4R%Ljs' scp -o StrictHostKeyChecking=accept-new <local_file> root@143.198.100.215:/home/claude/<remote_path>
64
- sshpass -p '.%^XKY-Dr4R%Ljs' ssh -o StrictHostKeyChecking=accept-new root@143.198.100.215 "chown claude:claude /home/claude/<remote_path>"
65
- ```
66
-
67
- ## Server Info
68
-
69
- - **Provider:** Digital Ocean
70
- - **Hostname:** ubuntu-s-1vcpu-512mb-10gb-sfo3-01
71
- - **OS:** Ubuntu (Linux 6.8.0-71, x86_64)
72
- - **Tier:** 1 vCPU, 512MB RAM, 10GB disk (SFO3)
73
-
74
- ## Notes
75
-
76
- - SSH is non-interactive. Always pass commands as arguments.
77
- - Direct `claude@...` password SSH is not available with this credential; use root transport + `su - claude -c`.
78
- - For long-running commands, use `nohup` or `screen`/`tmux`.
79
- - The `-o StrictHostKeyChecking=accept-new` flag auto-accepts the host key on first connect.