@mindstudio-ai/remy 0.1.67 → 0.1.69

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/headless.js CHANGED
@@ -3987,7 +3987,7 @@ var designExpertTool = {
3987
3987
  },
3988
3988
  background: {
3989
3989
  type: "boolean",
3990
- description: "Run in background \u2014 returns immediately and doesn't block while continuing to do work in the background. Reports results when finished working."
3990
+ description: "Run in background \u2014 returns immediately and doesn't block while continuing to do work in the background. Reports results when finished working. Only use for generating app icons."
3991
3991
  }
3992
3992
  },
3993
3993
  required: ["task"]
@@ -4504,77 +4504,50 @@ var scrapeWebUrlTool = {
4504
4504
  };
4505
4505
 
4506
4506
  // src/tools/index.ts
4507
- function getSpecTools() {
4508
- return [readSpecTool, writeSpecTool, editSpecTool, listSpecFilesTool];
4509
- }
4510
- function getCodeTools() {
4511
- const tools2 = [
4512
- readFileTool,
4513
- writeFileTool,
4514
- editFileTool,
4515
- bashTool,
4516
- grepTool,
4517
- globTool,
4518
- listDirTool,
4519
- editsFinishedTool,
4520
- runScenarioTool,
4521
- runMethodTool,
4522
- screenshotTool,
4523
- browserAutomationTool
4524
- ];
4525
- if (isLspConfigured()) {
4526
- tools2.push(lspDiagnosticsTool, restartProcessTool);
4527
- }
4528
- return tools2;
4529
- }
4530
- function getCommonTools() {
4531
- return [
4532
- setProjectOnboardingStateTool,
4533
- promptUserTool,
4534
- confirmDestructiveActionTool,
4535
- askMindStudioSdkTool,
4536
- scrapeWebUrlTool,
4537
- searchGoogleTool,
4538
- setProjectMetadataTool,
4539
- designExpertTool,
4540
- productVisionTool,
4541
- codeSanityCheckTool
4542
- ];
4543
- }
4544
- function getPostOnboardingTools() {
4545
- return [
4546
- clearSyncStatusTool,
4547
- presentSyncPlanTool,
4548
- presentPublishPlanTool,
4549
- presentPlanTool
4550
- ];
4551
- }
4552
- function getTools(onboardingState) {
4553
- switch (onboardingState) {
4554
- case "onboardingFinished":
4555
- return [
4556
- ...getCommonTools(),
4557
- ...getPostOnboardingTools(),
4558
- ...getSpecTools(),
4559
- ...getCodeTools()
4560
- ];
4561
- case "initialCodegen":
4562
- return [...getCommonTools(), ...getSpecTools(), ...getCodeTools()];
4563
- default:
4564
- return [...getCommonTools(), ...getSpecTools()];
4565
- }
4566
- }
4567
- function getToolDefinitions(onboardingState) {
4568
- return getTools(onboardingState).map((t) => t.definition);
4507
+ var ALL_TOOLS = [
4508
+ // Common
4509
+ setProjectOnboardingStateTool,
4510
+ promptUserTool,
4511
+ confirmDestructiveActionTool,
4512
+ askMindStudioSdkTool,
4513
+ scrapeWebUrlTool,
4514
+ searchGoogleTool,
4515
+ setProjectMetadataTool,
4516
+ designExpertTool,
4517
+ productVisionTool,
4518
+ codeSanityCheckTool,
4519
+ // Post-onboarding
4520
+ clearSyncStatusTool,
4521
+ presentSyncPlanTool,
4522
+ presentPublishPlanTool,
4523
+ presentPlanTool,
4524
+ // Spec
4525
+ readSpecTool,
4526
+ writeSpecTool,
4527
+ editSpecTool,
4528
+ listSpecFilesTool,
4529
+ // Code
4530
+ readFileTool,
4531
+ writeFileTool,
4532
+ editFileTool,
4533
+ bashTool,
4534
+ grepTool,
4535
+ globTool,
4536
+ listDirTool,
4537
+ editsFinishedTool,
4538
+ runScenarioTool,
4539
+ runMethodTool,
4540
+ screenshotTool,
4541
+ browserAutomationTool,
4542
+ // LSP
4543
+ lspDiagnosticsTool,
4544
+ restartProcessTool
4545
+ ];
4546
+ function getToolDefinitions(_onboardingState) {
4547
+ return ALL_TOOLS.map((t) => t.definition);
4569
4548
  }
4570
4549
  function getToolByName(name) {
4571
- const allTools = [
4572
- ...getCommonTools(),
4573
- ...getPostOnboardingTools(),
4574
- ...getSpecTools(),
4575
- ...getCodeTools()
4576
- ];
4577
- return allTools.find((t) => t.definition.name === name);
4550
+ return ALL_TOOLS.find((t) => t.definition.name === name);
4578
4551
  }
4579
4552
  function executeTool(name, input, context) {
4580
4553
  const tool = getToolByName(name);
package/dist/index.js CHANGED
@@ -3922,7 +3922,7 @@ Visual design expert. Describe the situation and what you need \u2014 the agent
3922
3922
  },
3923
3923
  background: {
3924
3924
  type: "boolean",
3925
- description: "Run in background \u2014 returns immediately and doesn't block while continuing to do work in the background. Reports results when finished working."
3925
+ description: "Run in background \u2014 returns immediately and doesn't block while continuing to do work in the background. Reports results when finished working. Only use for generating app icons."
3926
3926
  }
3927
3927
  },
3928
3928
  required: ["task"]
@@ -4499,77 +4499,11 @@ var init_scrapeWebUrl2 = __esm({
4499
4499
  });
4500
4500
 
4501
4501
  // src/tools/index.ts
4502
- function getSpecTools() {
4503
- return [readSpecTool, writeSpecTool, editSpecTool, listSpecFilesTool];
4504
- }
4505
- function getCodeTools() {
4506
- const tools2 = [
4507
- readFileTool,
4508
- writeFileTool,
4509
- editFileTool,
4510
- bashTool,
4511
- grepTool,
4512
- globTool,
4513
- listDirTool,
4514
- editsFinishedTool,
4515
- runScenarioTool,
4516
- runMethodTool,
4517
- screenshotTool,
4518
- browserAutomationTool
4519
- ];
4520
- if (isLspConfigured()) {
4521
- tools2.push(lspDiagnosticsTool, restartProcessTool);
4522
- }
4523
- return tools2;
4524
- }
4525
- function getCommonTools() {
4526
- return [
4527
- setProjectOnboardingStateTool,
4528
- promptUserTool,
4529
- confirmDestructiveActionTool,
4530
- askMindStudioSdkTool,
4531
- scrapeWebUrlTool,
4532
- searchGoogleTool,
4533
- setProjectMetadataTool,
4534
- designExpertTool,
4535
- productVisionTool,
4536
- codeSanityCheckTool
4537
- ];
4538
- }
4539
- function getPostOnboardingTools() {
4540
- return [
4541
- clearSyncStatusTool,
4542
- presentSyncPlanTool,
4543
- presentPublishPlanTool,
4544
- presentPlanTool
4545
- ];
4546
- }
4547
- function getTools(onboardingState) {
4548
- switch (onboardingState) {
4549
- case "onboardingFinished":
4550
- return [
4551
- ...getCommonTools(),
4552
- ...getPostOnboardingTools(),
4553
- ...getSpecTools(),
4554
- ...getCodeTools()
4555
- ];
4556
- case "initialCodegen":
4557
- return [...getCommonTools(), ...getSpecTools(), ...getCodeTools()];
4558
- default:
4559
- return [...getCommonTools(), ...getSpecTools()];
4560
- }
4561
- }
4562
- function getToolDefinitions(onboardingState) {
4563
- return getTools(onboardingState).map((t) => t.definition);
4502
+ function getToolDefinitions(_onboardingState) {
4503
+ return ALL_TOOLS.map((t) => t.definition);
4564
4504
  }
4565
4505
  function getToolByName(name) {
4566
- const allTools = [
4567
- ...getCommonTools(),
4568
- ...getPostOnboardingTools(),
4569
- ...getSpecTools(),
4570
- ...getCodeTools()
4571
- ];
4572
- return allTools.find((t) => t.definition.name === name);
4506
+ return ALL_TOOLS.find((t) => t.definition.name === name);
4573
4507
  }
4574
4508
  function executeTool(name, input, context) {
4575
4509
  const tool = getToolByName(name);
@@ -4578,6 +4512,7 @@ function executeTool(name, input, context) {
4578
4512
  }
4579
4513
  return tool.execute(input, context);
4580
4514
  }
4515
+ var ALL_TOOLS;
4581
4516
  var init_tools5 = __esm({
4582
4517
  "src/tools/index.ts"() {
4583
4518
  "use strict";
@@ -4603,7 +4538,6 @@ var init_tools5 = __esm({
4603
4538
  init_glob();
4604
4539
  init_listDir();
4605
4540
  init_editsFinished();
4606
- init_lsp();
4607
4541
  init_lspDiagnostics();
4608
4542
  init_restartProcess();
4609
4543
  init_runScenario();
@@ -4614,6 +4548,45 @@ var init_tools5 = __esm({
4614
4548
  init_productVision();
4615
4549
  init_codeSanityCheck();
4616
4550
  init_scrapeWebUrl2();
4551
+ ALL_TOOLS = [
4552
+ // Common
4553
+ setProjectOnboardingStateTool,
4554
+ promptUserTool,
4555
+ confirmDestructiveActionTool,
4556
+ askMindStudioSdkTool,
4557
+ scrapeWebUrlTool,
4558
+ searchGoogleTool,
4559
+ setProjectMetadataTool,
4560
+ designExpertTool,
4561
+ productVisionTool,
4562
+ codeSanityCheckTool,
4563
+ // Post-onboarding
4564
+ clearSyncStatusTool,
4565
+ presentSyncPlanTool,
4566
+ presentPublishPlanTool,
4567
+ presentPlanTool,
4568
+ // Spec
4569
+ readSpecTool,
4570
+ writeSpecTool,
4571
+ editSpecTool,
4572
+ listSpecFilesTool,
4573
+ // Code
4574
+ readFileTool,
4575
+ writeFileTool,
4576
+ editFileTool,
4577
+ bashTool,
4578
+ grepTool,
4579
+ globTool,
4580
+ listDirTool,
4581
+ editsFinishedTool,
4582
+ runScenarioTool,
4583
+ runMethodTool,
4584
+ screenshotTool,
4585
+ browserAutomationTool,
4586
+ // LSP
4587
+ lspDiagnosticsTool,
4588
+ restartProcessTool
4589
+ ];
4617
4590
  }
4618
4591
  });
4619
4592
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindstudio-ai/remy",
3
- "version": "0.1.67",
3
+ "version": "0.1.69",
4
4
  "description": "MindStudio coding agent",
5
5
  "repository": {
6
6
  "type": "git",