@codeam/shared 2.63.1 → 2.64.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 +42 -1
- package/dist/index.d.ts +42 -1
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2590,6 +2590,17 @@ var HEADROOM_USAGE_COMMAND = "headroom_usage";
|
|
|
2590
2590
|
// src/types/agent-switch.ts
|
|
2591
2591
|
var SWITCH_AGENT_COMMAND = "switch_agent";
|
|
2592
2592
|
|
|
2593
|
+
// src/types/agent-squad.ts
|
|
2594
|
+
var HANDOFF_FENCE_TAG = "codeam-handoff";
|
|
2595
|
+
var SQUAD_SPECIALTIES = {
|
|
2596
|
+
claude: "deep reasoning, refactors, and multi-step architecture work",
|
|
2597
|
+
codex: "fast, focused implementation and test fixing",
|
|
2598
|
+
cursor: "multi-file edits and codebase-wide changes",
|
|
2599
|
+
gemini: "large-context analysis across big files and logs",
|
|
2600
|
+
kimi: "long-context code reading and summarization",
|
|
2601
|
+
opencode: "general implementation tasks"
|
|
2602
|
+
};
|
|
2603
|
+
|
|
2593
2604
|
// src/headroom/manifest.ts
|
|
2594
2605
|
var HEADROOM_PROXY_PORT = 8787;
|
|
2595
2606
|
var HEADROOM_BACKEND_ENV = {
|
|
@@ -2725,6 +2736,9 @@ var USER_EVENTS = {
|
|
|
2725
2736
|
// the backend re-publishes them on the per-user SSE bus (mirrored in repo A).
|
|
2726
2737
|
SWITCH_AGENT_PROGRESS: "switch_agent_progress",
|
|
2727
2738
|
SWITCH_AGENT_STATUS: "switch_agent_status",
|
|
2739
|
+
// Agent Squad — the CLI posts these to /api/agent-switch/events; PRO-gated.
|
|
2740
|
+
HANDOFF_PROPOSED: "handoff_proposed",
|
|
2741
|
+
HANDOFF_RESOLVED: "handoff_resolved",
|
|
2728
2742
|
// VCS / PR Command Center — the backend publishes this after an agent finishes
|
|
2729
2743
|
// reviewing a PR (verdict + comment count + findings), driving the mobile
|
|
2730
2744
|
// completion screen + push. Mirrored in repo A's app-shared events.ts.
|
|
@@ -2801,6 +2815,7 @@ export {
|
|
|
2801
2815
|
GUARDRAIL_CATEGORY_META,
|
|
2802
2816
|
GUARDRAIL_CONFIGURE_COMMAND,
|
|
2803
2817
|
GUARDRAIL_DISPOSITIONS,
|
|
2818
|
+
HANDOFF_FENCE_TAG,
|
|
2804
2819
|
HEADROOM_BACKEND_ENV,
|
|
2805
2820
|
HEADROOM_EXTRAS_BY_SURFACE,
|
|
2806
2821
|
HEADROOM_MODELS,
|
|
@@ -2832,6 +2847,7 @@ export {
|
|
|
2832
2847
|
REVIEWER_PROMPT,
|
|
2833
2848
|
SKILL_REGISTRY,
|
|
2834
2849
|
SPECIFIER_PROMPT,
|
|
2850
|
+
SQUAD_SPECIALTIES,
|
|
2835
2851
|
SSE_SOCKET_TIMEOUT_MS,
|
|
2836
2852
|
STACK_TO_RECOMMENDED,
|
|
2837
2853
|
SWITCH_AGENT_COMMAND,
|