1.0.53 • Published 6 months ago

@mondaydotcomorg/ai-internal-tools v1.0.53

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

Aider Test

This is a test repository for the Aider AI coding assistant.

File Editing V2 - Standalone Exploration

The exploration phase has been refactored to work independently of the main file editing flow. You can now use exploration functionality standalone:

Basic Usage

import {
  runStandaloneExploration,
  createEmptyExplorationState,
} from "./src/scripts/utils/file-editing-v2/phases/explorer";
import { Projects } from "./src/scripts/utils/file-editing-v2/types";

// Define your projects
const projects: Projects = {
  myProject: {
    projectKey: "myProject",
    name: "My Project",
    path: "/path/to/project",
    context: "A TypeScript project",
  },
};

// Run standalone exploration
const { explorationState, result } = await runStandaloneExploration(
  {
    llmProvider: myLLMProvider,
    userRequestPrompt: "Find all React components in the project",
    projects: projects,
    maxExplorationCycles: 3,
  },
  createEmptyExplorationState(), // or provide partial initial state
  [], // initial exploration requests
  console.log // log callback
);

// Access exploration results
console.log("Main files found:", explorationState.mainFiles);
console.log("Context files:", explorationState.contextFiles);
console.log("Quote references:", explorationState.quoteReferences);

Key Types

  • ExplorationState: Contains all exploration data (mainFiles, contextFiles, etc.)
  • runStandaloneExploration(): Runs exploration independently
  • runExplorationPhase(): Core exploration function (now takes ExplorationState)
  • createEmptyExplorationState(): Helper to create initial state

Backward Compatibility

The main MainFlowState still contains both the new explorationState field and legacy fields for backward compatibility. All existing code continues to work unchanged.

1.0.53

6 months ago

1.0.52

6 months ago

1.0.51

6 months ago

1.0.50

6 months ago

1.0.49

6 months ago

1.0.48

6 months ago

1.0.47

6 months ago

1.0.46

6 months ago

1.0.45

6 months ago

1.0.44

6 months ago

1.0.43

6 months ago

1.0.42

6 months ago

1.0.41

6 months ago

1.0.40

6 months ago

1.0.39

6 months ago

1.0.38

6 months ago

1.0.37

6 months ago

1.0.36

6 months ago

1.0.35

6 months ago

1.0.34

6 months ago

1.0.33

6 months ago

1.0.32

6 months ago

1.0.31

6 months ago

1.0.30

6 months ago

1.0.29

6 months ago

1.0.28

6 months ago

1.0.27

6 months ago

1.0.26

6 months ago

1.0.25

6 months ago

1.0.24

6 months ago

1.0.23

6 months ago

1.0.22

6 months ago

1.0.21

6 months ago

1.0.20

6 months ago

1.0.19

6 months ago

1.0.18

6 months ago

1.0.17

6 months ago

1.0.16

6 months ago

1.0.15

6 months ago

1.0.14

6 months ago

1.0.13

6 months ago

1.0.12

7 months ago

1.0.11

7 months ago

1.0.10

7 months ago

1.0.9

7 months ago

1.0.8

7 months ago

1.0.7

7 months ago

1.0.6

7 months ago

1.0.5

7 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago