@gajae-code/coding-agent 0.6.0 → 0.6.3

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.
@@ -9,7 +9,7 @@ import type { RenderResultOptions } from "../extensibility/custom-tools/types";
9
9
  import { computeLineHash, HL_BODY_SEP } from "../hashline/hash";
10
10
  import type { Theme } from "../modes/theme/theme";
11
11
  import astEditDescription from "../prompts/tools/ast-edit.md" with { type: "text" };
12
- import { assertDeepInterviewMutationRawPathsAllowed } from "../skill-state/deep-interview-mutation-guard";
12
+ import { assertWorkflowMutationRawPathsAllowed } from "../skill-state/deep-interview-mutation-guard";
13
13
  import { Ellipsis, fileHyperlink, renderStatusLine, renderTreeList, truncateToWidth } from "../tui";
14
14
  import { resolveFileDisplayMode } from "../utils/file-display-mode";
15
15
  import type { ToolSession } from ".";
@@ -329,7 +329,7 @@ export class AstEditTool implements AgentTool<typeof astEditSchema, AstEditToolD
329
329
  label: `AST Edit: ${result.totalReplacements} replacement${previewReplacementPlural} in ${result.filesTouched} file${previewFilePlural}`,
330
330
  sourceToolName: this.name,
331
331
  apply: async (_reason: string) => {
332
- await assertDeepInterviewMutationRawPathsAllowed({
332
+ await assertWorkflowMutationRawPathsAllowed({
333
333
  cwd: this.session.cwd,
334
334
  sessionId: this.session.getSessionId?.() ?? undefined,
335
335
  rawPaths: previewedFiles,
@@ -1,4 +1,4 @@
1
- import { $env } from "../../../utils/src/env";
1
+ import { $env } from "@gajae-code/utils/env";
2
2
 
3
3
  export type EditMode = "replace" | "patch" | "hashline" | "vim" | "apply_patch";
4
4