@rudderhq/agent-runtime-cursor-local 0.1.0-canary.1 → 0.1.0-canary.10

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.1.0-canary.1",
3
+ "version": "0.1.0-canary.10",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "homepage": "https://github.com/Undertone0809/rudder",
6
6
  "bugs": {
@@ -51,7 +51,7 @@
51
51
  "typecheck": "tsc --noEmit"
52
52
  },
53
53
  "dependencies": {
54
- "@rudderhq/agent-runtime-utils": "0.1.0-canary.1",
54
+ "@rudderhq/agent-runtime-utils": "0.1.0-canary.10",
55
55
  "picocolors": "^1.1.1"
56
56
  },
57
57
  "devDependencies": {
@@ -49,7 +49,9 @@ Each organization has one system-managed shared workspace root at:
49
49
 
50
50
  Important files and conventions:
51
51
 
52
- - Structured shared references live in the org `Resources` catalog. Agents receive those catalog entries in run context automatically.
52
+ - Structured shared references live in the org `Resources` catalog. Agents do not receive the whole org catalog automatically.
53
+ - If a run or chat is linked to a project, Rudder injects only that project's attached resources into the runtime context.
54
+ - If you need broader org-wide resources, query the org resource catalog explicitly instead of assuming it is already in the prompt.
53
55
  - Use Workspaces for disk-backed shared files, plans, and skill packages.
54
56
  - When you need to place shared output on disk, prefer the managed workspace paths Rudder injected for this run such as `$RUDDER_ORG_PLANS_DIR`, `$RUDDER_ORG_SKILLS_DIR`, and the active `$RUDDER_WORKSPACE_CWD` or `$RUDDER_ORG_WORKSPACE_ROOT`. Do not invent new top-level `projects/` folders.
55
57
  - If a `resources.md` file exists, treat it like a normal workspace file rather than a reserved Rudder surface.
@@ -143,6 +143,27 @@ When updating an existing document, send the latest `baseRevisionId` or the API
143
143
  - `GET /api/orgs/:orgId/costs/by-agent`
144
144
  - `GET /api/orgs/:orgId/costs/by-project`
145
145
 
146
+ ### Resources
147
+
148
+ - `GET /api/orgs/:orgId/resources`
149
+ - `POST /api/orgs/:orgId/resources`
150
+ - `PATCH /api/orgs/:orgId/resources/:resourceId`
151
+ - `DELETE /api/orgs/:orgId/resources/:resourceId`
152
+ - `GET /api/projects/:projectId/resources`
153
+ - `POST /api/projects/:projectId/resources`
154
+ - `PATCH /api/projects/:projectId/resources/:attachmentId`
155
+ - `DELETE /api/projects/:projectId/resources/:attachmentId`
156
+
157
+ Loading policy:
158
+
159
+ - Org resources are the reusable catalog. They are queryable, but not loaded
160
+ into every prompt by default.
161
+ - Project resources are attachments from a project to org resources. When a run
162
+ or chat has a project context, Rudder injects that project's attached
163
+ resources into the runtime context.
164
+ - If you need org-wide background that was not attached to the current project,
165
+ query the org catalog explicitly.
166
+
146
167
  ## Approval Workflows
147
168
 
148
169
  - `GET /api/approvals/:approvalId`
@@ -103,7 +103,7 @@ rudder agent hire --org-id "$RUDDER_ORG_ID" --payload '{
103
103
  "desiredSkills": ["vercel-labs/agent-browser/agent-browser"],
104
104
  "agentRuntimeType": "codex_local",
105
105
  "agentRuntimeConfig": {"cwd": "/abs/path/to/repo", "model": "o4-mini"},
106
- "runtimeConfig": {"heartbeat": {"enabled": true, "intervalSec": 300, "wakeOnDemand": true}},
106
+ "runtimeConfig": {"heartbeat": {"enabled": true, "intervalSec": 300, "wakeOnDemand": true, "maxConcurrentRuns": 3}},
107
107
  "sourceIssueId": "<issue-id>"
108
108
  }' --json
109
109
  ```
@@ -61,7 +61,8 @@ Representative shape:
61
61
  "heartbeat": {
62
62
  "enabled": true,
63
63
  "intervalSec": 300,
64
- "wakeOnDemand": true
64
+ "wakeOnDemand": true,
65
+ "maxConcurrentRuns": 3
65
66
  }
66
67
  },
67
68
  "permissions": {
@@ -95,7 +96,8 @@ Request body:
95
96
  "heartbeat": {
96
97
  "enabled": true,
97
98
  "intervalSec": 300,
98
- "wakeOnDemand": true
99
+ "wakeOnDemand": true,
100
+ "maxConcurrentRuns": 3
99
101
  }
100
102
  },
101
103
  "budgetMonthlyCents": 0,
@@ -63,7 +63,7 @@ rudder agent hire --org-id "$RUDDER_ORG_ID" --payload '{
63
63
  "desiredSkills": ["vercel-labs/agent-browser/agent-browser"],
64
64
  "agentRuntimeType": "codex_local",
65
65
  "agentRuntimeConfig": {"cwd": "/abs/path/to/repo", "model": "o4-mini"},
66
- "runtimeConfig": {"heartbeat": {"enabled": true, "intervalSec": 300, "wakeOnDemand": true}},
66
+ "runtimeConfig": {"heartbeat": {"enabled": true, "intervalSec": 300, "wakeOnDemand": true, "maxConcurrentRuns": 3}},
67
67
  "sourceIssueId": "<issue-id>"
68
68
  }' --json
69
69
  ```