stratagem-x7 0.3.11 → 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 +11 -49
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -217085,15 +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
|
-
return
|
|
217089
|
+
return true;
|
|
217093
217090
|
}
|
|
217094
|
-
var init_agentSwarmsEnabled = __esm(() => {
|
|
217095
|
-
init_envUtils();
|
|
217096
|
-
});
|
|
217097
217091
|
|
|
217098
217092
|
// src/utils/teammateContext.ts
|
|
217099
217093
|
import { AsyncLocalStorage as AsyncLocalStorage3 } from "async_hooks";
|
|
@@ -227544,7 +227538,6 @@ Format: 2-12 words, match the user's style. Or nothing.
|
|
|
227544
227538
|
Reply with ONLY the suggestion, no quotes or explanation.`, SUGGESTION_PROMPTS;
|
|
227545
227539
|
var init_promptSuggestion = __esm(() => {
|
|
227546
227540
|
init_state();
|
|
227547
|
-
init_agentSwarmsEnabled();
|
|
227548
227541
|
init_envUtils();
|
|
227549
227542
|
init_errors();
|
|
227550
227543
|
init_forkedAgent();
|
|
@@ -269006,7 +268999,6 @@ var init_agentToolUtils = __esm(() => {
|
|
|
269006
268999
|
init_Tool();
|
|
269007
269000
|
init_LocalAgentTask();
|
|
269008
269001
|
init_ids();
|
|
269009
|
-
init_agentSwarmsEnabled();
|
|
269010
269002
|
init_debug();
|
|
269011
269003
|
init_envUtils();
|
|
269012
269004
|
init_errors();
|
|
@@ -283538,7 +283530,6 @@ var init_TaskListV2 = __esm(() => {
|
|
|
283538
283530
|
init_ink2();
|
|
283539
283531
|
init_AppState();
|
|
283540
283532
|
init_agentColorManager();
|
|
283541
|
-
init_agentSwarmsEnabled();
|
|
283542
283533
|
init_collapseReadSearch();
|
|
283543
283534
|
init_format2();
|
|
283544
283535
|
init_tasks();
|
|
@@ -286777,7 +286768,6 @@ function consumeInvokingRequestId() {
|
|
|
286777
286768
|
}
|
|
286778
286769
|
var agentContextStorage;
|
|
286779
286770
|
var init_agentContext = __esm(() => {
|
|
286780
|
-
init_agentSwarmsEnabled();
|
|
286781
286771
|
agentContextStorage = new AsyncLocalStorage4;
|
|
286782
286772
|
});
|
|
286783
286773
|
|
|
@@ -296026,7 +296016,6 @@ function UserTextMessage(t0) {
|
|
|
296026
296016
|
var import_react_compiler_runtime83, jsx_dev_runtime98;
|
|
296027
296017
|
var init_UserTextMessage = __esm(() => {
|
|
296028
296018
|
init_xml();
|
|
296029
|
-
init_agentSwarmsEnabled();
|
|
296030
296019
|
init_messages3();
|
|
296031
296020
|
init_InterruptedByUser();
|
|
296032
296021
|
init_MessageResponse();
|
|
@@ -297257,7 +297246,6 @@ var init_AttachmentMessage = __esm(() => {
|
|
|
297257
297246
|
init_slowOperations();
|
|
297258
297247
|
init_stringUtils();
|
|
297259
297248
|
init_envUtils();
|
|
297260
|
-
init_agentSwarmsEnabled();
|
|
297261
297249
|
init_PlanApprovalMessage();
|
|
297262
297250
|
init_figures2();
|
|
297263
297251
|
init_UserTeammateMessage();
|
|
@@ -364975,7 +364963,6 @@ var init_ExitPlanModeV2Tool = __esm(() => {
|
|
|
364975
364963
|
init_v4();
|
|
364976
364964
|
init_state();
|
|
364977
364965
|
init_Tool();
|
|
364978
|
-
init_agentSwarmsEnabled();
|
|
364979
364966
|
init_debug();
|
|
364980
364967
|
init_inProcessTeammateHelpers();
|
|
364981
364968
|
init_log3();
|
|
@@ -367683,9 +367670,7 @@ ${teammateTips}- Check TaskList first to avoid creating duplicate tasks
|
|
|
367683
367670
|
`;
|
|
367684
367671
|
}
|
|
367685
367672
|
var DESCRIPTION14 = "Create a new task in the task list";
|
|
367686
|
-
var init_prompt17 =
|
|
367687
|
-
init_agentSwarmsEnabled();
|
|
367688
|
-
});
|
|
367673
|
+
var init_prompt17 = () => {};
|
|
367689
367674
|
|
|
367690
367675
|
// src/tools/TaskCreateTool/TaskCreateTool.ts
|
|
367691
367676
|
var inputSchema30, outputSchema25, TaskCreateTool;
|
|
@@ -368002,7 +367987,6 @@ var init_TaskUpdateTool = __esm(() => {
|
|
|
368002
367987
|
init_v4();
|
|
368003
367988
|
init_growthbook();
|
|
368004
367989
|
init_Tool();
|
|
368005
|
-
init_agentSwarmsEnabled();
|
|
368006
367990
|
init_hooks5();
|
|
368007
367991
|
init_tasks();
|
|
368008
367992
|
init_teammate();
|
|
@@ -368298,9 +368282,7 @@ Use TaskGet with a specific task ID to view full details including description a
|
|
|
368298
368282
|
${teammateWorkflow}`;
|
|
368299
368283
|
}
|
|
368300
368284
|
var DESCRIPTION17 = "List all tasks in the task list";
|
|
368301
|
-
var init_prompt18 =
|
|
368302
|
-
init_agentSwarmsEnabled();
|
|
368303
|
-
});
|
|
368285
|
+
var init_prompt18 = () => {};
|
|
368304
368286
|
|
|
368305
368287
|
// src/tools/TaskListTool/TaskListTool.ts
|
|
368306
368288
|
var inputSchema33, outputSchema28, TaskListTool;
|
|
@@ -369017,7 +368999,6 @@ var init_TeamCreateTool = __esm(() => {
|
|
|
369017
368999
|
init_v4();
|
|
369018
369000
|
init_state();
|
|
369019
369001
|
init_Tool();
|
|
369020
|
-
init_agentSwarmsEnabled();
|
|
369021
369002
|
init_cwd2();
|
|
369022
369003
|
init_model();
|
|
369023
369004
|
init_slowOperations();
|
|
@@ -369195,7 +369176,6 @@ var inputSchema39, TeamDeleteTool;
|
|
|
369195
369176
|
var init_TeamDeleteTool = __esm(() => {
|
|
369196
369177
|
init_v4();
|
|
369197
369178
|
init_Tool();
|
|
369198
|
-
init_agentSwarmsEnabled();
|
|
369199
369179
|
init_slowOperations();
|
|
369200
369180
|
init_teamHelpers();
|
|
369201
369181
|
init_teammateLayoutManager();
|
|
@@ -370286,7 +370266,6 @@ var init_SendMessageTool = __esm(() => {
|
|
|
370286
370266
|
init_LocalAgentTask();
|
|
370287
370267
|
init_LocalMainSessionTask();
|
|
370288
370268
|
init_ids();
|
|
370289
|
-
init_agentSwarmsEnabled();
|
|
370290
370269
|
init_debug();
|
|
370291
370270
|
init_errors();
|
|
370292
370271
|
init_format2();
|
|
@@ -370721,7 +370700,6 @@ var init_tools2 = __esm(() => {
|
|
|
370721
370700
|
init_embeddedTools();
|
|
370722
370701
|
init_envUtils();
|
|
370723
370702
|
init_shellToolUtils();
|
|
370724
|
-
init_agentSwarmsEnabled();
|
|
370725
370703
|
init_constants5();
|
|
370726
370704
|
cronTools = [
|
|
370727
370705
|
(init_CronCreateTool(), __toCommonJS(exports_CronCreateTool)).CronCreateTool,
|
|
@@ -372138,7 +372116,6 @@ var init_AgentTool = __esm(() => {
|
|
|
372138
372116
|
init_tools2();
|
|
372139
372117
|
init_ids();
|
|
372140
372118
|
init_agentContext();
|
|
372141
|
-
init_agentSwarmsEnabled();
|
|
372142
372119
|
init_cwd2();
|
|
372143
372120
|
init_debug();
|
|
372144
372121
|
init_envUtils();
|
|
@@ -382908,7 +382885,7 @@ function getAnthropicEnvMetadata() {
|
|
|
382908
382885
|
function getBuildAgeMinutes() {
|
|
382909
382886
|
if (false)
|
|
382910
382887
|
;
|
|
382911
|
-
const buildTime = new Date("2026-04-25T04:
|
|
382888
|
+
const buildTime = new Date("2026-04-25T04:23:22.482Z").getTime();
|
|
382912
382889
|
if (isNaN(buildTime))
|
|
382913
382890
|
return;
|
|
382914
382891
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -390406,7 +390383,6 @@ var init_attachments2 = __esm(() => {
|
|
|
390406
390383
|
init_common();
|
|
390407
390384
|
init_pdf();
|
|
390408
390385
|
init_apiLimits();
|
|
390409
|
-
init_agentSwarmsEnabled();
|
|
390410
390386
|
init_findRelevantMemories();
|
|
390411
390387
|
init_paths();
|
|
390412
390388
|
init_agentMemory();
|
|
@@ -398758,7 +398734,6 @@ var init_messages3 = __esm(() => {
|
|
|
398758
398734
|
init_growthbook();
|
|
398759
398735
|
init_errors6();
|
|
398760
398736
|
init_advisor();
|
|
398761
|
-
init_agentSwarmsEnabled();
|
|
398762
398737
|
init_attachments2();
|
|
398763
398738
|
init_shellQuote();
|
|
398764
398739
|
init_format2();
|
|
@@ -410087,7 +410062,7 @@ function buildPrimarySection() {
|
|
|
410087
410062
|
}, undefined, false, undefined, this);
|
|
410088
410063
|
return [{
|
|
410089
410064
|
label: "Version",
|
|
410090
|
-
value: "0.3.
|
|
410065
|
+
value: "0.3.12"
|
|
410091
410066
|
}, {
|
|
410092
410067
|
label: "Session name",
|
|
410093
410068
|
value: nameValue
|
|
@@ -415110,7 +415085,6 @@ var init_Config = __esm(() => {
|
|
|
415110
415085
|
init_outputStyles();
|
|
415111
415086
|
init_envUtils();
|
|
415112
415087
|
init_growthbook();
|
|
415113
|
-
init_agentSwarmsEnabled();
|
|
415114
415088
|
init_teammateModeSnapshot();
|
|
415115
415089
|
init_teammateModel();
|
|
415116
415090
|
init_useSearchInput();
|
|
@@ -449714,7 +449688,7 @@ function getStartupLines(termWidth) {
|
|
|
449714
449688
|
const sLen = ` ● ${sL} buffer ready — /help for breach controls`.length;
|
|
449715
449689
|
out.push(centerAnsiLine(boxRow(sRow, W2, sLen), tw));
|
|
449716
449690
|
out.push(centerAnsiLine(`${rgb3(...BORDER)}└${"─".repeat(W2 - 2)}┘${RESET2}`, tw));
|
|
449717
|
-
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));
|
|
449718
449692
|
out.push("");
|
|
449719
449693
|
return out;
|
|
449720
449694
|
}
|
|
@@ -478263,7 +478237,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
478263
478237
|
var call60 = async () => {
|
|
478264
478238
|
return {
|
|
478265
478239
|
type: "text",
|
|
478266
|
-
value: `${"99.0.0"} (built ${"2026-04-25T04:
|
|
478240
|
+
value: `${"99.0.0"} (built ${"2026-04-25T04:23:22.482Z"})`
|
|
478267
478241
|
};
|
|
478268
478242
|
}, version2, version_default;
|
|
478269
478243
|
var init_version = __esm(() => {
|
|
@@ -499840,7 +499814,6 @@ var init_api3 = __esm(() => {
|
|
|
499840
499814
|
init_system();
|
|
499841
499815
|
init_tokenEstimation();
|
|
499842
499816
|
init_constants3();
|
|
499843
|
-
init_agentSwarmsEnabled();
|
|
499844
499817
|
init_betas2();
|
|
499845
499818
|
init_cwd2();
|
|
499846
499819
|
init_debug();
|
|
@@ -506157,7 +506130,6 @@ function useLogMessages(messages, ignore6 = false) {
|
|
|
506157
506130
|
var import_react194;
|
|
506158
506131
|
var init_useLogMessages = __esm(() => {
|
|
506159
506132
|
init_AppState();
|
|
506160
|
-
init_agentSwarmsEnabled();
|
|
506161
506133
|
init_sessionStorage();
|
|
506162
506134
|
import_react194 = __toESM(require_react(), 1);
|
|
506163
506135
|
});
|
|
@@ -515160,7 +515132,6 @@ var init_ExitPlanModePermissionRequest = __esm(() => {
|
|
|
515160
515132
|
init_ultraplan();
|
|
515161
515133
|
init_ink2();
|
|
515162
515134
|
init_constants3();
|
|
515163
|
-
init_agentSwarmsEnabled();
|
|
515164
515135
|
init_context();
|
|
515165
515136
|
init_editor();
|
|
515166
515137
|
init_file();
|
|
@@ -526328,7 +526299,6 @@ var init_useTypeahead = __esm(() => {
|
|
|
526328
526299
|
init_useKeybinding();
|
|
526329
526300
|
init_useShortcutDisplay();
|
|
526330
526301
|
init_AppState();
|
|
526331
|
-
init_agentSwarmsEnabled();
|
|
526332
526302
|
init_argumentSubstitution();
|
|
526333
526303
|
init_shellCompletion();
|
|
526334
526304
|
init_format2();
|
|
@@ -531005,7 +530975,6 @@ var init_PromptInputFooterLeftSide = __esm(() => {
|
|
|
531005
530975
|
init_LocalAgentTask();
|
|
531006
530976
|
init_CoordinatorAgentStatus();
|
|
531007
530977
|
init_taskStatusUtils();
|
|
531008
|
-
init_agentSwarmsEnabled();
|
|
531009
530978
|
init_TeamStatus();
|
|
531010
530979
|
init_registry();
|
|
531011
530980
|
init_AppState();
|
|
@@ -531366,7 +531335,6 @@ var init_PromptInputModeIndicator = __esm(() => {
|
|
|
531366
531335
|
init_ink2();
|
|
531367
531336
|
init_agentColorManager();
|
|
531368
531337
|
init_teammate();
|
|
531369
|
-
init_agentSwarmsEnabled();
|
|
531370
531338
|
import_react_compiler_runtime322 = __toESM(require_dist3(), 1);
|
|
531371
531339
|
jsx_dev_runtime431 = __toESM(require_jsx_dev_runtime(), 1);
|
|
531372
531340
|
});
|
|
@@ -533744,7 +533712,6 @@ var init_PromptInput = __esm(() => {
|
|
|
533744
533712
|
init_InProcessTeammateTask();
|
|
533745
533713
|
init_LocalAgentTask();
|
|
533746
533714
|
init_agentColorManager();
|
|
533747
|
-
init_agentSwarmsEnabled();
|
|
533748
533715
|
init_autonomy();
|
|
533749
533716
|
init_Cursor();
|
|
533750
533717
|
init_config();
|
|
@@ -537254,7 +537221,6 @@ function useSwarmInitialization(setAppState, initialMessages, { enabled = true }
|
|
|
537254
537221
|
var import_react272;
|
|
537255
537222
|
var init_useSwarmInitialization = __esm(() => {
|
|
537256
537223
|
init_state();
|
|
537257
|
-
init_agentSwarmsEnabled();
|
|
537258
537224
|
init_reconnection();
|
|
537259
537225
|
init_teamHelpers();
|
|
537260
537226
|
init_teammateInit();
|
|
@@ -537748,7 +537714,6 @@ async function handleSwarmWorkerPermission(params) {
|
|
|
537748
537714
|
}
|
|
537749
537715
|
}
|
|
537750
537716
|
var init_swarmWorkerHandler = __esm(() => {
|
|
537751
|
-
init_agentSwarmsEnabled();
|
|
537752
537717
|
init_errors();
|
|
537753
537718
|
init_log3();
|
|
537754
537719
|
init_permissionSync();
|
|
@@ -552389,7 +552354,6 @@ var init_REPL = __esm(() => {
|
|
|
552389
552354
|
init_concurrentSessions();
|
|
552390
552355
|
init_RemoteAgentTask();
|
|
552391
552356
|
init_useInboxPoller();
|
|
552392
|
-
init_agentSwarmsEnabled();
|
|
552393
552357
|
init_useTaskListWatcher();
|
|
552394
552358
|
init_ide();
|
|
552395
552359
|
init_useIDEIntegration();
|
|
@@ -553654,7 +553618,7 @@ function WelcomeV2() {
|
|
|
553654
553618
|
dimColor: true,
|
|
553655
553619
|
children: [
|
|
553656
553620
|
"v",
|
|
553657
|
-
"0.3.
|
|
553621
|
+
"0.3.12",
|
|
553658
553622
|
" "
|
|
553659
553623
|
]
|
|
553660
553624
|
}, undefined, true, undefined, this)
|
|
@@ -559725,7 +559689,6 @@ var init_setup3 = __esm(() => {
|
|
|
559725
559689
|
init_commands2();
|
|
559726
559690
|
init_sessionMemory();
|
|
559727
559691
|
init_ids();
|
|
559728
|
-
init_agentSwarmsEnabled();
|
|
559729
559692
|
init_appleTerminalBackup();
|
|
559730
559693
|
init_auth();
|
|
559731
559694
|
init_claudemd();
|
|
@@ -573672,7 +573635,7 @@ Usage: stx7 --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
573672
573635
|
pendingHookMessages
|
|
573673
573636
|
}, renderAndRun);
|
|
573674
573637
|
}
|
|
573675
|
-
}).version("0.3.
|
|
573638
|
+
}).version("0.3.12 (STRATAGEM X7)", "-v, --version", "Output the version number");
|
|
573676
573639
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
573677
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.");
|
|
573678
573641
|
if (canUserConfigureAdvisor()) {
|
|
@@ -574050,7 +574013,6 @@ var init_main3 = __esm(() => {
|
|
|
574050
574013
|
init_tools2();
|
|
574051
574014
|
init_autonomy();
|
|
574052
574015
|
init_advisor();
|
|
574053
|
-
init_agentSwarmsEnabled();
|
|
574054
574016
|
init_auth();
|
|
574055
574017
|
init_config();
|
|
574056
574018
|
init_earlyInput();
|
|
@@ -574201,7 +574163,7 @@ if (false) {}
|
|
|
574201
574163
|
async function main2() {
|
|
574202
574164
|
const args = process.argv.slice(2);
|
|
574203
574165
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
574204
|
-
console.log(`${"0.3.
|
|
574166
|
+
console.log(`${"0.3.12"} (STRATAGEM X7)`);
|
|
574205
574167
|
return;
|
|
574206
574168
|
}
|
|
574207
574169
|
if (args.includes("--provider")) {
|
|
@@ -574323,4 +574285,4 @@ async function main2() {
|
|
|
574323
574285
|
}
|
|
574324
574286
|
main2();
|
|
574325
574287
|
|
|
574326
|
-
//# debugId=
|
|
574288
|
+
//# debugId=12339870AD7CE34B64756E2164756E21
|