@rudderhq/agent-runtime-codex-local 0.6.1 → 0.6.2-canary.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.
Files changed (35) hide show
  1. package/dist/server/codex-home.d.ts +2 -2
  2. package/dist/server/codex-home.d.ts.map +1 -1
  3. package/dist/server/codex-home.js +25 -17
  4. package/dist/server/codex-home.js.map +1 -1
  5. package/dist/server/execute.d.ts.map +1 -1
  6. package/dist/server/execute.js +38 -16
  7. package/dist/server/execute.js.map +1 -1
  8. package/dist/server/managed-external-mcp.test.js +17 -4
  9. package/dist/server/managed-external-mcp.test.js.map +1 -1
  10. package/dist/server/quota.d.ts.map +1 -1
  11. package/dist/server/quota.js +10 -3
  12. package/dist/server/quota.js.map +1 -1
  13. package/dist/server/resolve-command.d.ts +2 -0
  14. package/dist/server/resolve-command.d.ts.map +1 -0
  15. package/dist/server/resolve-command.js +41 -0
  16. package/dist/server/resolve-command.js.map +1 -0
  17. package/dist/server/resolve-command.test.d.ts +2 -0
  18. package/dist/server/resolve-command.test.d.ts.map +1 -0
  19. package/dist/server/resolve-command.test.js +69 -0
  20. package/dist/server/resolve-command.test.js.map +1 -0
  21. package/dist/server/test.d.ts +1 -0
  22. package/dist/server/test.d.ts.map +1 -1
  23. package/dist/server/test.js +6 -4
  24. package/dist/server/test.js.map +1 -1
  25. package/dist/server/test.test.js +21 -9
  26. package/dist/server/test.test.js.map +1 -1
  27. package/dist/ui/parse-stdout.d.ts.map +1 -1
  28. package/dist/ui/parse-stdout.js +31 -0
  29. package/dist/ui/parse-stdout.js.map +1 -1
  30. package/package.json +3 -3
  31. package/skills/rudder-docs/evals/trigger-evals.json +1 -1
  32. package/skills/rudder-docs/references/agent-creation.md +1 -3
  33. package/skills/rudder-docs/references/api-reference.md +3 -12
  34. package/skills/rudder-docs/references/cli-reference.md +1 -1
  35. package/skills/rudder-docs/references/operating-practices.md +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rudderhq/agent-runtime-codex-local",
3
- "version": "0.6.1",
3
+ "version": "0.6.2-canary.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "homepage": "https://github.com/Undertone0809/rudder",
6
6
  "bugs": {
@@ -68,8 +68,8 @@
68
68
  "probe:quota": "pnpm exec tsx src/cli/quota-probe.ts --json"
69
69
  },
70
70
  "dependencies": {
71
- "@rudderhq/agent-runtime-utils": "0.6.1",
72
- "@rudderhq/shared": "0.6.1",
71
+ "@rudderhq/agent-runtime-utils": "0.6.2-canary.0",
72
+ "@rudderhq/shared": "0.6.2-canary.0",
73
73
  "picocolors": "^1.1.1"
74
74
  },
75
75
  "devDependencies": {
@@ -28,7 +28,7 @@
28
28
  "should_trigger": true
29
29
  },
30
30
  {
31
- "query": "Before hiring a Founding Engineer in Rudder, compare the installed Codex runtime configuration with existing agents and explain the correct role, title, reportsTo, SOUL.md, desiredSkills, and sourceIssueId fields.",
31
+ "query": "Before hiring a Founding Engineer in Rudder, compare the installed Codex runtime configuration with existing agents and explain the correct role, title, SOUL.md, desiredSkills, and sourceIssueId fields.",
32
32
  "should_trigger": true
33
33
  },
34
34
  {
@@ -71,8 +71,6 @@ defines its organizational responsibility and runnable configuration:
71
71
  `designer`, `pm`, `qa`, `devops`, `researcher`, or `general`.
72
72
  - `title` carries the specific job title. For example, use role `engineer` and
73
73
  title `Founding Engineer`, never a new `founding_engineer` role.
74
- - `reportsTo` identifies an in-organization manager and must preserve the
75
- intended reporting line.
76
74
  - `capabilities` states the work this Agent owns and the boundaries it should
77
75
  not silently cross.
78
76
  - `agentRuntimeType`, `agentRuntimeConfig`, and `runtimeConfig` must follow the
@@ -147,7 +145,7 @@ written. Success requires the canonical hire operation to return:
147
145
  - `agent.id` for the created or pending Agent; and
148
146
  - `approval.id` when approval is required.
149
147
 
150
- Report the organization, Agent identity, role/title, reporting line, runtime,
148
+ Report the organization, Agent identity, role/title, runtime,
151
149
  source issue, and direct versus approval branch without exposing secrets.
152
150
  If execution was not explicitly requested, report only the verified proposed
153
151
  configuration and the current command or capability that would govern it.
@@ -32,7 +32,7 @@ Internal/debug reference for the Rudder API.
32
32
 
33
33
  ### `GET /api/agents/me`
34
34
 
35
- Returns the authenticated agent plus `chainOfCommand` and access state.
35
+ Returns the authenticated agent plus access state.
36
36
 
37
37
  Representative shape:
38
38
 
@@ -45,19 +45,11 @@ Representative shape:
45
45
  "title": "Senior Backend Engineer",
46
46
  "status": "running",
47
47
  "budgetMonthlyCents": 5000,
48
- "spentMonthlyCents": 1200,
49
- "chainOfCommand": [
50
- {
51
- "id": "mgr-1",
52
- "name": "EngineeringLead",
53
- "role": "manager",
54
- "title": "VP Engineering"
55
- }
56
- ]
48
+ "spentMonthlyCents": 1200
57
49
  }
58
50
  ```
59
51
 
60
- Use `chainOfCommand` for escalation and the budget fields for spend awareness.
52
+ Use explicit assignee/reviewer ownership and organization permissions for escalation, and the budget fields for spend awareness.
61
53
 
62
54
  ### `GET /api/agents/me/inbox-lite`
63
55
 
@@ -147,7 +139,6 @@ Use the incremental `after` form when you already know the thread.
147
139
  - `POST /api/orgs/:orgId/issues`
148
140
  - `GET /api/orgs/:orgId/agents`
149
141
  - `POST /api/orgs/:orgId/agent-hires`
150
- - `GET /api/orgs/:orgId/org`
151
142
  - `GET /api/orgs/:orgId/dashboard`
152
143
  - `GET /api/orgs/:orgId/projects`
153
144
  - `POST /api/orgs/:orgId/projects`
@@ -45,7 +45,7 @@ operating-practices guide for operating behavior:
45
45
 
46
46
  | MCP Tool | CLI Fallback | Description | Mutating | Org | Agent | Run ID |
47
47
  | --- | --- | --- | --- | --- | --- | --- |
48
- | `rudder_agent_me` | `rudder agent me` | Show the authenticated agent identity, budget, and chain of command. | no | no | no | no |
48
+ | `rudder_agent_me` | `rudder agent me` | Show the authenticated agent identity and budget. | no | no | no | no |
49
49
  | `rudder_agent_inbox` | `rudder agent inbox` | List the compact assignee and reviewer work inbox for the authenticated agent. | no | no | no | no |
50
50
  | `rudder_agent_capabilities` | `rudder agent capabilities` | List the stable Rudder agent command contract. | no | no | no | no |
51
51
  | `rudder_agent_update` | `rudder agent update [agent-id] [--title <title>] [--description <text>]` | Update an agent's identity fields; defaults to the authenticated agent. | yes | no | no | attached when available |
@@ -122,8 +122,8 @@ report the status and required follow-up rather than bypassing it.
122
122
  creating top-level management work. When the organization has a mature label
123
123
  taxonomy, choose at least one suitable label after inspecting the available
124
124
  labels.
125
- - Never cancel cross-team work. Reassign upward with an explanation, and use
126
- `chainOfCommand` for escalation.
125
+ - Never cancel cross-team work. Reassign to an explicit owner or operator with
126
+ an explanation.
127
127
  - Above 80% spend, focus on critical work only and avoid expanding scope.
128
128
  - Use [Agent creation](agent-creation.md) for the canonical governed hiring
129
129
  workflow rather than assembling a raw Rudder API payload.