@codeam/shared 2.62.1 → 2.63.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.
- package/dist/index.d.mts +64 -1
- package/dist/index.d.ts +64 -1
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2587,6 +2587,9 @@ function resolveApiBaseUrl() {
|
|
|
2587
2587
|
// src/types/headroom.ts
|
|
2588
2588
|
var HEADROOM_USAGE_COMMAND = "headroom_usage";
|
|
2589
2589
|
|
|
2590
|
+
// src/types/agent-switch.ts
|
|
2591
|
+
var SWITCH_AGENT_COMMAND = "switch_agent";
|
|
2592
|
+
|
|
2590
2593
|
// src/headroom/manifest.ts
|
|
2591
2594
|
var HEADROOM_PROXY_PORT = 8787;
|
|
2592
2595
|
var HEADROOM_BACKEND_ENV = {
|
|
@@ -2717,6 +2720,11 @@ var USER_EVENTS = {
|
|
|
2717
2720
|
CODERABBIT_PROGRESS: "coderabbit_progress",
|
|
2718
2721
|
CODERABBIT_STATUS: "coderabbit_status",
|
|
2719
2722
|
CODERABBIT_REVIEW: "coderabbit_review",
|
|
2723
|
+
// Session agent switch — the CLI posts these to /api/agent-switch/events
|
|
2724
|
+
// while a `switch_agent` relay command swaps the session's agent in-process;
|
|
2725
|
+
// the backend re-publishes them on the per-user SSE bus (mirrored in repo A).
|
|
2726
|
+
SWITCH_AGENT_PROGRESS: "switch_agent_progress",
|
|
2727
|
+
SWITCH_AGENT_STATUS: "switch_agent_status",
|
|
2720
2728
|
// VCS / PR Command Center — the backend publishes this after an agent finishes
|
|
2721
2729
|
// reviewing a PR (verdict + comment count + findings), driving the mobile
|
|
2722
2730
|
// completion screen + push. Mirrored in repo A's app-shared events.ts.
|
|
@@ -2826,6 +2834,7 @@ export {
|
|
|
2826
2834
|
SPECIFIER_PROMPT,
|
|
2827
2835
|
SSE_SOCKET_TIMEOUT_MS,
|
|
2828
2836
|
STACK_TO_RECOMMENDED,
|
|
2837
|
+
SWITCH_AGENT_COMMAND,
|
|
2829
2838
|
TERMINAL_AGENT_PREFIX,
|
|
2830
2839
|
UNKNOWN_MODEL_PRICING,
|
|
2831
2840
|
UPCOMING_INTEGRATION_IDS,
|