@rudderhq/agent-runtime-cursor-local 0.3.5-canary.20 → 0.3.5-canary.22

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.3.5-canary.20",
3
+ "version": "0.3.5-canary.22",
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.3.5-canary.20",
70
+ "@rudderhq/agent-runtime-utils": "0.3.5-canary.22",
71
71
  "picocolors": "^1.1.1"
72
72
  },
73
73
  "devDependencies": {
@@ -77,6 +77,7 @@ rudder issue review "<issue-id-or-identifier>" --decision request_changes --comm
77
77
  rudder issue review "<issue-id-or-identifier>" --decision needs_followup --comment-file "<path>" --json
78
78
  rudder issue review "<issue-id-or-identifier>" --decision blocked --comment-file "<path>" --json
79
79
  rudder issue create --org-id "$RUDDER_ORG_ID" ... --json
80
+ rudder user activity --user me --since today --json
80
81
  ```
81
82
 
82
83
  Issue comment and close-out commands accept comment bodies only from files or
@@ -90,6 +91,23 @@ should include local screenshots or images. Do not leave only a local `/tmp/...`
90
91
  or workspace image path in the comment, because board users may not be able to
91
92
  inspect it from Rudder.
92
93
 
94
+ ## User Activity Context
95
+
96
+ Use `rudder user activity --user me --since today --json` when you need a
97
+ user-centered view of recent Rudder behavior before claiming context is missing,
98
+ before answering questions like "what did I do today?", "which agents did I
99
+ talk to?", or "what feedback did I give?", and before turning broad recent
100
+ activity into daily notes, handoff context, or preference candidates.
101
+
102
+ The ledger returns safe excerpts plus source/provenance pointers across
103
+ user-authored chat messages, issue comments, approval comments, and user actor
104
+ activity events. Treat summaries and excerpts as pointers, not ground truth
105
+ when exact wording matters. Inspect the cited source before writing durable
106
+ memory, taste/profile updates, or conclusions about stable user preference. Do
107
+ not use the ledger to bypass organization or project permissions, and do not
108
+ store private content in long-term memory unless it is an explicit durable
109
+ preference or operating lesson.
110
+
93
111
  ## Authentication
94
112
 
95
113
  Rudder injects the runtime context for you. Common env vars:
@@ -139,6 +139,7 @@ Use the incremental `after` form when you already know the thread.
139
139
  - `GET /api/orgs/:orgId/goals`
140
140
  - `POST /api/orgs/:orgId/goals`
141
141
  - `GET /api/orgs/:orgId/activity`
142
+ - `GET /api/orgs/:orgId/users/:userId/activity-ledger`
142
143
  - `GET /api/orgs/:orgId/costs/summary`
143
144
  - `GET /api/orgs/:orgId/costs/by-agent`
144
145
  - `GET /api/orgs/:orgId/costs/by-project`
@@ -42,6 +42,7 @@ Direct API fallback is allowed for heartbeat close-out only when a required CLI
42
42
  | `rudder project get <project-id-or-shortname> [--org-id <id>]` | Read one project by ID or shortname. | no | no | no | no |
43
43
  | `rudder project create --org-id <id> --name <name>` | Create a project in the organization. | yes | required | no | attached when available |
44
44
  | `rudder project update <project-id-or-shortname> [--org-id <id>]` | Update mutable project fields such as name, description, status, goals, lead agent, target date, color, or archivedAt. | yes | no | no | attached when available |
45
+ | `rudder user activity --user me --since today --json` | Read a user-centered activity ledger with safe excerpts and provenance across chats, issue comments, approval comments, and user actor activity. | no | required | no | no |
45
46
  | `rudder library file list [directory]` | List Library files and folders; file rows include `libraryEntryId` when a strong reference can be generated. | no | required | no | no |
46
47
  | `rudder library file get <path>` | Fallback read when local filesystem access is unavailable; JSON includes `mentionHref` and `markdownLink`. | no | required | no | no |
47
48
  | `rudder library file ref <path>` | Return the stable Markdown reference for one Library file without printing file content. | no | required | no | no |