@codeam/shared 2.64.0 → 2.65.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 +66 -1
- package/dist/index.d.ts +66 -1
- package/dist/index.js +21 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2592,6 +2592,15 @@ var SWITCH_AGENT_COMMAND = "switch_agent";
|
|
|
2592
2592
|
|
|
2593
2593
|
// src/types/agent-squad.ts
|
|
2594
2594
|
var HANDOFF_FENCE_TAG = "codeam-handoff";
|
|
2595
|
+
var SQUAD_CONFIGURE_COMMAND = "squad_configure";
|
|
2596
|
+
var SQUAD_STATS_COMMAND = "squad_stats";
|
|
2597
|
+
var SQUAD_HOP_BUDGET_DEFAULT = 3;
|
|
2598
|
+
var SQUAD_HOP_BUDGET_MIN = 1;
|
|
2599
|
+
var SQUAD_HOP_BUDGET_MAX = 10;
|
|
2600
|
+
function clampHopBudget(value) {
|
|
2601
|
+
if (typeof value !== "number" || !Number.isFinite(value)) return SQUAD_HOP_BUDGET_DEFAULT;
|
|
2602
|
+
return Math.min(SQUAD_HOP_BUDGET_MAX, Math.max(SQUAD_HOP_BUDGET_MIN, Math.round(value)));
|
|
2603
|
+
}
|
|
2595
2604
|
var SQUAD_SPECIALTIES = {
|
|
2596
2605
|
claude: "deep reasoning, refactors, and multi-step architecture work",
|
|
2597
2606
|
codex: "fast, focused implementation and test fixing",
|
|
@@ -2847,7 +2856,12 @@ export {
|
|
|
2847
2856
|
REVIEWER_PROMPT,
|
|
2848
2857
|
SKILL_REGISTRY,
|
|
2849
2858
|
SPECIFIER_PROMPT,
|
|
2859
|
+
SQUAD_CONFIGURE_COMMAND,
|
|
2860
|
+
SQUAD_HOP_BUDGET_DEFAULT,
|
|
2861
|
+
SQUAD_HOP_BUDGET_MAX,
|
|
2862
|
+
SQUAD_HOP_BUDGET_MIN,
|
|
2850
2863
|
SQUAD_SPECIALTIES,
|
|
2864
|
+
SQUAD_STATS_COMMAND,
|
|
2851
2865
|
SSE_SOCKET_TIMEOUT_MS,
|
|
2852
2866
|
STACK_TO_RECOMMENDED,
|
|
2853
2867
|
SWITCH_AGENT_COMMAND,
|
|
@@ -2855,6 +2869,7 @@ export {
|
|
|
2855
2869
|
UNKNOWN_MODEL_PRICING,
|
|
2856
2870
|
UPCOMING_INTEGRATION_IDS,
|
|
2857
2871
|
USER_EVENTS,
|
|
2872
|
+
clampHopBudget,
|
|
2858
2873
|
classifyStack,
|
|
2859
2874
|
detectedIntegrationsFromDeps,
|
|
2860
2875
|
getAgent,
|