@rudderhq/agent-runtime-cursor-local 0.2.9-canary.6 → 0.2.9-canary.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rudderhq/agent-runtime-cursor-local",
3
- "version": "0.2.9-canary.6",
3
+ "version": "0.2.9-canary.8",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "homepage": "https://github.com/Undertone0809/rudder",
6
6
  "bugs": {
@@ -67,7 +67,7 @@
67
67
  "typecheck": "tsc --noEmit"
68
68
  },
69
69
  "dependencies": {
70
- "@rudderhq/agent-runtime-utils": "0.2.9-canary.6",
70
+ "@rudderhq/agent-runtime-utils": "0.2.9-canary.8",
71
71
  "picocolors": "^1.1.1"
72
72
  },
73
73
  "devDependencies": {
@@ -199,12 +199,11 @@ rudder issue block "<issue-id-or-identifier>" --comment-file "<path>" [--image "
199
199
 
200
200
  - generic patch when workflow commands are not enough:
201
201
 
202
- Use file or stdin input for issue comments. For any multiline Markdown,
203
- command names, code spans, code blocks, validation summaries, or screenshot
204
- evidence, write the body to a temporary Markdown file and pass
205
- `--body-file <path>` or `--comment-file <path>`. Pass `-` to read from stdin.
206
- Do not place shell-sensitive Markdown containing backticks or `$()` directly
207
- inside a shell argument.
202
+ Issue comment and close-out commands accept comment bodies only from files or
203
+ stdin. For any multiline Markdown, command names, code spans, code blocks,
204
+ validation summaries, or screenshot evidence, write the body to a temporary
205
+ Markdown file and pass `--body-file <path>` or `--comment-file <path>`. Pass
206
+ `-` to read from stdin.
208
207
 
209
208
  Add `--image "<path>"` one or more times when the close-out/progress comment should include local screenshots or images. Supported local image types are PNG, JPEG, WebP, and GIF; the CLI uploads them as issue attachments and appends Markdown image links.
210
209
 
@@ -275,7 +274,7 @@ Typical flow:
275
274
  ```bash
276
275
  rudder issue documents get "<issue-id-or-identifier>" plan --json
277
276
  rudder issue documents revisions "<issue-id-or-identifier>" plan --json
278
- rudder issue documents put "<issue-id-or-identifier>" plan --title "Plan" --format markdown --body "<markdown>" --json
277
+ rudder issue documents put "<issue-id-or-identifier>" plan --title "Plan" --format markdown --body-file "<path>" --json
279
278
  rudder issue comment "<issue-id-or-identifier>" --body-file "<path>" --json
280
279
  ```
281
280
 
@@ -40,11 +40,11 @@ Direct API fallback is allowed for heartbeat close-out only when a required CLI
40
40
  | `rudder issue release <issue>` | Release an issue back to todo and clear ownership. | yes | no | no | attached when available |
41
41
  | `rudder issue documents list <issue>` | List issue documents. | no | no | no | no |
42
42
  | `rudder issue documents get <issue> <key>` | Read one issue document by key. | no | no | no | no |
43
- | `rudder issue documents put <issue> <key> --body <text>` | Create or update an issue document. | yes | no | no | attached when available |
43
+ | `rudder issue documents put <issue> <key> --body-file <path>` | Create or update an issue document. | yes | no | no | attached when available |
44
44
  | `rudder issue documents revisions <issue> <key>` | List revisions for an issue document. | no | no | no | no |
45
45
  | `rudder approval get <approval-id>` | Read one approval request. | no | no | no | no |
46
46
  | `rudder approval issues <approval-id>` | List the issues linked to an approval. | no | no | no | no |
47
- | `rudder approval comment <approval-id> --body <text>` | Add a comment to an approval. | yes | no | no | attached when available |
47
+ | `rudder approval comment <approval-id> --body-file <path>` | Add a comment to an approval. | yes | no | no | attached when available |
48
48
  | `rudder skill list --org-id <id>` | List organization-visible skills. | no | required | no | no |
49
49
  | `rudder skill get <skill-id> --org-id <id>` | Read one organization skill detail. | no | required | no | no |
50
50
  | `rudder skill file <skill-id> --org-id <id> [--path SKILL.md]` | Read one file from an organization skill package. | no | required | no | no |
@@ -63,7 +63,7 @@ Before a successful `todo` or `in_progress` issue run exits, leave one close-out
63
63
 
64
64
  If an issue has a reviewer, moving it to `blocked` is also a reviewer handoff: the reviewer should confirm the blocker, request changes, approve, or keep explicit follow-up open with `rudder issue review`.
65
65
 
66
- Use file or stdin comment input for any multiline Markdown, command names, code spans, code blocks, test summaries, or screenshot evidence. Write the comment to a temporary Markdown file and pass `--body-file <path>` or `--comment-file <path>`, or pass `-` to read the body from stdin. Do not place shell-sensitive Markdown containing backticks or `$()` directly inside a shell argument.
66
+ Issue comment and close-out commands accept comment bodies only from files or stdin. For any multiline Markdown, command names, code spans, code blocks, test summaries, or screenshot evidence, write the comment to a temporary Markdown file and pass `--body-file <path>` or `--comment-file <path>`, or pass `-` to read the body from stdin.
67
67
 
68
68
  `--image` may be repeated. The CLI uploads each local PNG/JPEG/WebP/GIF as an issue attachment and appends Markdown image links to the comment text before sending it.
69
69
 
@@ -136,13 +136,16 @@ If the hire response includes `approval`, monitor and discuss on the approval th
136
136
 
137
137
  ```sh
138
138
  rudder approval get "<approval-id>" --json
139
- rudder approval comment "<approval-id>" --body "## CTO hire request submitted
139
+ cat > /tmp/rudder-approval-comment.md <<'EOF'
140
+ ## CTO hire request submitted
140
141
 
141
142
  - Approval: [<approval-id>](/<prefix>/messenger/approvals/<approval-id>)
142
143
  - Pending agent: [<agent-ref>](/<prefix>/agents/<agent-url-key-or-id>)
143
144
  - Source issue: [<issue-ref>](/<prefix>/issues/<issue-identifier-or-id>)
144
145
 
145
- Updated prompt and adapter config per board feedback." --json
146
+ Updated prompt and adapter config per board feedback.
147
+ EOF
148
+ rudder approval comment "<approval-id>" --body-file /tmp/rudder-approval-comment.md --json
146
149
  rudder approval resubmit "<approval-id>" --payload '{"title":"Revised title","agentRuntimeConfig":{"cwd":"/abs/path/to/repo","model":"o4-mini"}}' --json
147
150
  rudder approval issues "<approval-id>" --json
148
151
  ```
@@ -16,7 +16,7 @@ Internal/debug reference for the bundled `rudder-create-agent` skill.
16
16
  | `rudder agent config get <agentId>` | `GET /api/agents/:agentId/configuration` |
17
17
  | `rudder agent hire --org-id <orgId> --payload <json>` | `POST /api/orgs/:orgId/agent-hires` |
18
18
  | `rudder approval get <approvalId>` | `GET /api/approvals/:approvalId` |
19
- | `rudder approval comment <approvalId> --body <text>` | `POST /api/approvals/:approvalId/comments` |
19
+ | `rudder approval comment <approvalId> --body-file <path>` | `POST /api/approvals/:approvalId/comments` |
20
20
  | `rudder approval resubmit <approvalId> [--payload <json>]` | `POST /api/approvals/:approvalId/resubmit` |
21
21
  | `rudder approval issues <approvalId>` | `GET /api/approvals/:approvalId/issues` |
22
22
 
@@ -83,7 +83,7 @@ Do not use `rudder approval create --type hire_agent` as a replacement for `agen
83
83
 
84
84
  ```sh
85
85
  rudder approval get "<approval-id>" --json
86
- rudder approval comment "<approval-id>" --body "<markdown>" --json
86
+ rudder approval comment "<approval-id>" --body-file "<path>" --json
87
87
  rudder approval resubmit "<approval-id>" --payload '{"...":"..."}' --json
88
88
  rudder approval issues "<approval-id>" --json
89
89
  ```