stratagem-x7 0.3.10 → 0.3.12
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/cli.mjs +10 -58
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -217085,25 +217085,9 @@ var init_vscodeSdkMcp = __esm(() => {
|
|
|
217085
217085
|
});
|
|
217086
217086
|
|
|
217087
217087
|
// src/utils/agentSwarmsEnabled.ts
|
|
217088
|
-
function isAgentTeamsFlagSet() {
|
|
217089
|
-
return process.argv.includes("--agent-teams");
|
|
217090
|
-
}
|
|
217091
217088
|
function isAgentSwarmsEnabled() {
|
|
217092
|
-
if (process.env.USER_TYPE === "ant") {
|
|
217093
|
-
return true;
|
|
217094
|
-
}
|
|
217095
|
-
if (!isEnvTruthy(process.env.CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS) && !isAgentTeamsFlagSet()) {
|
|
217096
|
-
return false;
|
|
217097
|
-
}
|
|
217098
|
-
if (!getFeatureValue_CACHED_MAY_BE_STALE("tengu_amber_flint", true)) {
|
|
217099
|
-
return false;
|
|
217100
|
-
}
|
|
217101
217089
|
return true;
|
|
217102
217090
|
}
|
|
217103
|
-
var init_agentSwarmsEnabled = __esm(() => {
|
|
217104
|
-
init_growthbook();
|
|
217105
|
-
init_envUtils();
|
|
217106
|
-
});
|
|
217107
217091
|
|
|
217108
217092
|
// src/utils/teammateContext.ts
|
|
217109
217093
|
import { AsyncLocalStorage as AsyncLocalStorage3 } from "async_hooks";
|
|
@@ -227554,7 +227538,6 @@ Format: 2-12 words, match the user's style. Or nothing.
|
|
|
227554
227538
|
Reply with ONLY the suggestion, no quotes or explanation.`, SUGGESTION_PROMPTS;
|
|
227555
227539
|
var init_promptSuggestion = __esm(() => {
|
|
227556
227540
|
init_state();
|
|
227557
|
-
init_agentSwarmsEnabled();
|
|
227558
227541
|
init_envUtils();
|
|
227559
227542
|
init_errors();
|
|
227560
227543
|
init_forkedAgent();
|
|
@@ -269016,7 +268999,6 @@ var init_agentToolUtils = __esm(() => {
|
|
|
269016
268999
|
init_Tool();
|
|
269017
269000
|
init_LocalAgentTask();
|
|
269018
269001
|
init_ids();
|
|
269019
|
-
init_agentSwarmsEnabled();
|
|
269020
269002
|
init_debug();
|
|
269021
269003
|
init_envUtils();
|
|
269022
269004
|
init_errors();
|
|
@@ -283548,7 +283530,6 @@ var init_TaskListV2 = __esm(() => {
|
|
|
283548
283530
|
init_ink2();
|
|
283549
283531
|
init_AppState();
|
|
283550
283532
|
init_agentColorManager();
|
|
283551
|
-
init_agentSwarmsEnabled();
|
|
283552
283533
|
init_collapseReadSearch();
|
|
283553
283534
|
init_format2();
|
|
283554
283535
|
init_tasks();
|
|
@@ -286787,7 +286768,6 @@ function consumeInvokingRequestId() {
|
|
|
286787
286768
|
}
|
|
286788
286769
|
var agentContextStorage;
|
|
286789
286770
|
var init_agentContext = __esm(() => {
|
|
286790
|
-
init_agentSwarmsEnabled();
|
|
286791
286771
|
agentContextStorage = new AsyncLocalStorage4;
|
|
286792
286772
|
});
|
|
286793
286773
|
|
|
@@ -296036,7 +296016,6 @@ function UserTextMessage(t0) {
|
|
|
296036
296016
|
var import_react_compiler_runtime83, jsx_dev_runtime98;
|
|
296037
296017
|
var init_UserTextMessage = __esm(() => {
|
|
296038
296018
|
init_xml();
|
|
296039
|
-
init_agentSwarmsEnabled();
|
|
296040
296019
|
init_messages3();
|
|
296041
296020
|
init_InterruptedByUser();
|
|
296042
296021
|
init_MessageResponse();
|
|
@@ -297267,7 +297246,6 @@ var init_AttachmentMessage = __esm(() => {
|
|
|
297267
297246
|
init_slowOperations();
|
|
297268
297247
|
init_stringUtils();
|
|
297269
297248
|
init_envUtils();
|
|
297270
|
-
init_agentSwarmsEnabled();
|
|
297271
297249
|
init_PlanApprovalMessage();
|
|
297272
297250
|
init_figures2();
|
|
297273
297251
|
init_UserTeammateMessage();
|
|
@@ -364985,7 +364963,6 @@ var init_ExitPlanModeV2Tool = __esm(() => {
|
|
|
364985
364963
|
init_v4();
|
|
364986
364964
|
init_state();
|
|
364987
364965
|
init_Tool();
|
|
364988
|
-
init_agentSwarmsEnabled();
|
|
364989
364966
|
init_debug();
|
|
364990
364967
|
init_inProcessTeammateHelpers();
|
|
364991
364968
|
init_log3();
|
|
@@ -367693,9 +367670,7 @@ ${teammateTips}- Check TaskList first to avoid creating duplicate tasks
|
|
|
367693
367670
|
`;
|
|
367694
367671
|
}
|
|
367695
367672
|
var DESCRIPTION14 = "Create a new task in the task list";
|
|
367696
|
-
var init_prompt17 =
|
|
367697
|
-
init_agentSwarmsEnabled();
|
|
367698
|
-
});
|
|
367673
|
+
var init_prompt17 = () => {};
|
|
367699
367674
|
|
|
367700
367675
|
// src/tools/TaskCreateTool/TaskCreateTool.ts
|
|
367701
367676
|
var inputSchema30, outputSchema25, TaskCreateTool;
|
|
@@ -368012,7 +367987,6 @@ var init_TaskUpdateTool = __esm(() => {
|
|
|
368012
367987
|
init_v4();
|
|
368013
367988
|
init_growthbook();
|
|
368014
367989
|
init_Tool();
|
|
368015
|
-
init_agentSwarmsEnabled();
|
|
368016
367990
|
init_hooks5();
|
|
368017
367991
|
init_tasks();
|
|
368018
367992
|
init_teammate();
|
|
@@ -368308,9 +368282,7 @@ Use TaskGet with a specific task ID to view full details including description a
|
|
|
368308
368282
|
${teammateWorkflow}`;
|
|
368309
368283
|
}
|
|
368310
368284
|
var DESCRIPTION17 = "List all tasks in the task list";
|
|
368311
|
-
var init_prompt18 =
|
|
368312
|
-
init_agentSwarmsEnabled();
|
|
368313
|
-
});
|
|
368285
|
+
var init_prompt18 = () => {};
|
|
368314
368286
|
|
|
368315
368287
|
// src/tools/TaskListTool/TaskListTool.ts
|
|
368316
368288
|
var inputSchema33, outputSchema28, TaskListTool;
|
|
@@ -369027,7 +368999,6 @@ var init_TeamCreateTool = __esm(() => {
|
|
|
369027
368999
|
init_v4();
|
|
369028
369000
|
init_state();
|
|
369029
369001
|
init_Tool();
|
|
369030
|
-
init_agentSwarmsEnabled();
|
|
369031
369002
|
init_cwd2();
|
|
369032
369003
|
init_model();
|
|
369033
369004
|
init_slowOperations();
|
|
@@ -369205,7 +369176,6 @@ var inputSchema39, TeamDeleteTool;
|
|
|
369205
369176
|
var init_TeamDeleteTool = __esm(() => {
|
|
369206
369177
|
init_v4();
|
|
369207
369178
|
init_Tool();
|
|
369208
|
-
init_agentSwarmsEnabled();
|
|
369209
369179
|
init_slowOperations();
|
|
369210
369180
|
init_teamHelpers();
|
|
369211
369181
|
init_teammateLayoutManager();
|
|
@@ -370296,7 +370266,6 @@ var init_SendMessageTool = __esm(() => {
|
|
|
370296
370266
|
init_LocalAgentTask();
|
|
370297
370267
|
init_LocalMainSessionTask();
|
|
370298
370268
|
init_ids();
|
|
370299
|
-
init_agentSwarmsEnabled();
|
|
370300
370269
|
init_debug();
|
|
370301
370270
|
init_errors();
|
|
370302
370271
|
init_format2();
|
|
@@ -370731,7 +370700,6 @@ var init_tools2 = __esm(() => {
|
|
|
370731
370700
|
init_embeddedTools();
|
|
370732
370701
|
init_envUtils();
|
|
370733
370702
|
init_shellToolUtils();
|
|
370734
|
-
init_agentSwarmsEnabled();
|
|
370735
370703
|
init_constants5();
|
|
370736
370704
|
cronTools = [
|
|
370737
370705
|
(init_CronCreateTool(), __toCommonJS(exports_CronCreateTool)).CronCreateTool,
|
|
@@ -372148,7 +372116,6 @@ var init_AgentTool = __esm(() => {
|
|
|
372148
372116
|
init_tools2();
|
|
372149
372117
|
init_ids();
|
|
372150
372118
|
init_agentContext();
|
|
372151
|
-
init_agentSwarmsEnabled();
|
|
372152
372119
|
init_cwd2();
|
|
372153
372120
|
init_debug();
|
|
372154
372121
|
init_envUtils();
|
|
@@ -382918,7 +382885,7 @@ function getAnthropicEnvMetadata() {
|
|
|
382918
382885
|
function getBuildAgeMinutes() {
|
|
382919
382886
|
if (false)
|
|
382920
382887
|
;
|
|
382921
|
-
const buildTime = new Date("2026-04-
|
|
382888
|
+
const buildTime = new Date("2026-04-25T04:23:22.482Z").getTime();
|
|
382922
382889
|
if (isNaN(buildTime))
|
|
382923
382890
|
return;
|
|
382924
382891
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -390416,7 +390383,6 @@ var init_attachments2 = __esm(() => {
|
|
|
390416
390383
|
init_common();
|
|
390417
390384
|
init_pdf();
|
|
390418
390385
|
init_apiLimits();
|
|
390419
|
-
init_agentSwarmsEnabled();
|
|
390420
390386
|
init_findRelevantMemories();
|
|
390421
390387
|
init_paths();
|
|
390422
390388
|
init_agentMemory();
|
|
@@ -398768,7 +398734,6 @@ var init_messages3 = __esm(() => {
|
|
|
398768
398734
|
init_growthbook();
|
|
398769
398735
|
init_errors6();
|
|
398770
398736
|
init_advisor();
|
|
398771
|
-
init_agentSwarmsEnabled();
|
|
398772
398737
|
init_attachments2();
|
|
398773
398738
|
init_shellQuote();
|
|
398774
398739
|
init_format2();
|
|
@@ -410097,7 +410062,7 @@ function buildPrimarySection() {
|
|
|
410097
410062
|
}, undefined, false, undefined, this);
|
|
410098
410063
|
return [{
|
|
410099
410064
|
label: "Version",
|
|
410100
|
-
value: "0.3.
|
|
410065
|
+
value: "0.3.12"
|
|
410101
410066
|
}, {
|
|
410102
410067
|
label: "Session name",
|
|
410103
410068
|
value: nameValue
|
|
@@ -415120,7 +415085,6 @@ var init_Config = __esm(() => {
|
|
|
415120
415085
|
init_outputStyles();
|
|
415121
415086
|
init_envUtils();
|
|
415122
415087
|
init_growthbook();
|
|
415123
|
-
init_agentSwarmsEnabled();
|
|
415124
415088
|
init_teammateModeSnapshot();
|
|
415125
415089
|
init_teammateModel();
|
|
415126
415090
|
init_useSearchInput();
|
|
@@ -449724,7 +449688,7 @@ function getStartupLines(termWidth) {
|
|
|
449724
449688
|
const sLen = ` ● ${sL} buffer ready — /help for breach controls`.length;
|
|
449725
449689
|
out.push(centerAnsiLine(boxRow(sRow, W2, sLen), tw));
|
|
449726
449690
|
out.push(centerAnsiLine(`${rgb3(...BORDER)}└${"─".repeat(W2 - 2)}┘${RESET2}`, tw));
|
|
449727
|
-
out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.
|
|
449691
|
+
out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.12"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
|
|
449728
449692
|
out.push("");
|
|
449729
449693
|
return out;
|
|
449730
449694
|
}
|
|
@@ -478273,7 +478237,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
478273
478237
|
var call60 = async () => {
|
|
478274
478238
|
return {
|
|
478275
478239
|
type: "text",
|
|
478276
|
-
value: `${"99.0.0"} (built ${"2026-04-
|
|
478240
|
+
value: `${"99.0.0"} (built ${"2026-04-25T04:23:22.482Z"})`
|
|
478277
478241
|
};
|
|
478278
478242
|
}, version2, version_default;
|
|
478279
478243
|
var init_version = __esm(() => {
|
|
@@ -499850,7 +499814,6 @@ var init_api3 = __esm(() => {
|
|
|
499850
499814
|
init_system();
|
|
499851
499815
|
init_tokenEstimation();
|
|
499852
499816
|
init_constants3();
|
|
499853
|
-
init_agentSwarmsEnabled();
|
|
499854
499817
|
init_betas2();
|
|
499855
499818
|
init_cwd2();
|
|
499856
499819
|
init_debug();
|
|
@@ -506167,7 +506130,6 @@ function useLogMessages(messages, ignore6 = false) {
|
|
|
506167
506130
|
var import_react194;
|
|
506168
506131
|
var init_useLogMessages = __esm(() => {
|
|
506169
506132
|
init_AppState();
|
|
506170
|
-
init_agentSwarmsEnabled();
|
|
506171
506133
|
init_sessionStorage();
|
|
506172
506134
|
import_react194 = __toESM(require_react(), 1);
|
|
506173
506135
|
});
|
|
@@ -515170,7 +515132,6 @@ var init_ExitPlanModePermissionRequest = __esm(() => {
|
|
|
515170
515132
|
init_ultraplan();
|
|
515171
515133
|
init_ink2();
|
|
515172
515134
|
init_constants3();
|
|
515173
|
-
init_agentSwarmsEnabled();
|
|
515174
515135
|
init_context();
|
|
515175
515136
|
init_editor();
|
|
515176
515137
|
init_file();
|
|
@@ -526338,7 +526299,6 @@ var init_useTypeahead = __esm(() => {
|
|
|
526338
526299
|
init_useKeybinding();
|
|
526339
526300
|
init_useShortcutDisplay();
|
|
526340
526301
|
init_AppState();
|
|
526341
|
-
init_agentSwarmsEnabled();
|
|
526342
526302
|
init_argumentSubstitution();
|
|
526343
526303
|
init_shellCompletion();
|
|
526344
526304
|
init_format2();
|
|
@@ -531015,7 +530975,6 @@ var init_PromptInputFooterLeftSide = __esm(() => {
|
|
|
531015
530975
|
init_LocalAgentTask();
|
|
531016
530976
|
init_CoordinatorAgentStatus();
|
|
531017
530977
|
init_taskStatusUtils();
|
|
531018
|
-
init_agentSwarmsEnabled();
|
|
531019
530978
|
init_TeamStatus();
|
|
531020
530979
|
init_registry();
|
|
531021
530980
|
init_AppState();
|
|
@@ -531376,7 +531335,6 @@ var init_PromptInputModeIndicator = __esm(() => {
|
|
|
531376
531335
|
init_ink2();
|
|
531377
531336
|
init_agentColorManager();
|
|
531378
531337
|
init_teammate();
|
|
531379
|
-
init_agentSwarmsEnabled();
|
|
531380
531338
|
import_react_compiler_runtime322 = __toESM(require_dist3(), 1);
|
|
531381
531339
|
jsx_dev_runtime431 = __toESM(require_jsx_dev_runtime(), 1);
|
|
531382
531340
|
});
|
|
@@ -533754,7 +533712,6 @@ var init_PromptInput = __esm(() => {
|
|
|
533754
533712
|
init_InProcessTeammateTask();
|
|
533755
533713
|
init_LocalAgentTask();
|
|
533756
533714
|
init_agentColorManager();
|
|
533757
|
-
init_agentSwarmsEnabled();
|
|
533758
533715
|
init_autonomy();
|
|
533759
533716
|
init_Cursor();
|
|
533760
533717
|
init_config();
|
|
@@ -537264,7 +537221,6 @@ function useSwarmInitialization(setAppState, initialMessages, { enabled = true }
|
|
|
537264
537221
|
var import_react272;
|
|
537265
537222
|
var init_useSwarmInitialization = __esm(() => {
|
|
537266
537223
|
init_state();
|
|
537267
|
-
init_agentSwarmsEnabled();
|
|
537268
537224
|
init_reconnection();
|
|
537269
537225
|
init_teamHelpers();
|
|
537270
537226
|
init_teammateInit();
|
|
@@ -537758,7 +537714,6 @@ async function handleSwarmWorkerPermission(params) {
|
|
|
537758
537714
|
}
|
|
537759
537715
|
}
|
|
537760
537716
|
var init_swarmWorkerHandler = __esm(() => {
|
|
537761
|
-
init_agentSwarmsEnabled();
|
|
537762
537717
|
init_errors();
|
|
537763
537718
|
init_log3();
|
|
537764
537719
|
init_permissionSync();
|
|
@@ -552399,7 +552354,6 @@ var init_REPL = __esm(() => {
|
|
|
552399
552354
|
init_concurrentSessions();
|
|
552400
552355
|
init_RemoteAgentTask();
|
|
552401
552356
|
init_useInboxPoller();
|
|
552402
|
-
init_agentSwarmsEnabled();
|
|
552403
552357
|
init_useTaskListWatcher();
|
|
552404
552358
|
init_ide();
|
|
552405
552359
|
init_useIDEIntegration();
|
|
@@ -553664,7 +553618,7 @@ function WelcomeV2() {
|
|
|
553664
553618
|
dimColor: true,
|
|
553665
553619
|
children: [
|
|
553666
553620
|
"v",
|
|
553667
|
-
"0.3.
|
|
553621
|
+
"0.3.12",
|
|
553668
553622
|
" "
|
|
553669
553623
|
]
|
|
553670
553624
|
}, undefined, true, undefined, this)
|
|
@@ -559735,7 +559689,6 @@ var init_setup3 = __esm(() => {
|
|
|
559735
559689
|
init_commands2();
|
|
559736
559690
|
init_sessionMemory();
|
|
559737
559691
|
init_ids();
|
|
559738
|
-
init_agentSwarmsEnabled();
|
|
559739
559692
|
init_appleTerminalBackup();
|
|
559740
559693
|
init_auth();
|
|
559741
559694
|
init_claudemd();
|
|
@@ -573682,7 +573635,7 @@ Usage: stx7 --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
573682
573635
|
pendingHookMessages
|
|
573683
573636
|
}, renderAndRun);
|
|
573684
573637
|
}
|
|
573685
|
-
}).version("0.3.
|
|
573638
|
+
}).version("0.3.12 (STRATAGEM X7)", "-v, --version", "Output the version number");
|
|
573686
573639
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
573687
573640
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
573688
573641
|
if (canUserConfigureAdvisor()) {
|
|
@@ -574060,7 +574013,6 @@ var init_main3 = __esm(() => {
|
|
|
574060
574013
|
init_tools2();
|
|
574061
574014
|
init_autonomy();
|
|
574062
574015
|
init_advisor();
|
|
574063
|
-
init_agentSwarmsEnabled();
|
|
574064
574016
|
init_auth();
|
|
574065
574017
|
init_config();
|
|
574066
574018
|
init_earlyInput();
|
|
@@ -574211,7 +574163,7 @@ if (false) {}
|
|
|
574211
574163
|
async function main2() {
|
|
574212
574164
|
const args = process.argv.slice(2);
|
|
574213
574165
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
574214
|
-
console.log(`${"0.3.
|
|
574166
|
+
console.log(`${"0.3.12"} (STRATAGEM X7)`);
|
|
574215
574167
|
return;
|
|
574216
574168
|
}
|
|
574217
574169
|
if (args.includes("--provider")) {
|
|
@@ -574333,4 +574285,4 @@ async function main2() {
|
|
|
574333
574285
|
}
|
|
574334
574286
|
main2();
|
|
574335
574287
|
|
|
574336
|
-
//# debugId=
|
|
574288
|
+
//# debugId=12339870AD7CE34B64756E2164756E21
|