@open-agent-toolkit/cli 0.3.7 → 0.3.9

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.
Files changed (147) hide show
  1. package/README.md +3 -3
  2. package/assets/agents/oat-codebase-mapper.md +3 -2
  3. package/assets/agents/oat-reviewer.md +5 -13
  4. package/assets/agents/skeptical-evaluator.md +6 -2
  5. package/assets/bundle-metadata.json +1 -1
  6. package/assets/docs/cli-utilities/backlog-lifecycle.md +3 -2
  7. package/assets/docs/cli-utilities/bootstrap.md +5 -2
  8. package/assets/docs/cli-utilities/config-and-local-state.md +13 -6
  9. package/assets/docs/cli-utilities/configuration.md +25 -10
  10. package/assets/docs/cli-utilities/tool-packs.md +60 -10
  11. package/assets/docs/cli-utilities/workflow-gates.md +37 -0
  12. package/assets/docs/contributing/code.md +9 -5
  13. package/assets/docs/provider-sync/commands.md +17 -8
  14. package/assets/docs/provider-sync/instruction-sync.md +241 -39
  15. package/assets/docs/provider-sync/providers.md +20 -0
  16. package/assets/docs/provider-sync/scope-and-surface.md +3 -1
  17. package/assets/docs/reference/cli-reference.md +4 -1
  18. package/assets/docs/reference/oat-directory-structure.md +12 -11
  19. package/assets/docs/reference/troubleshooting.md +19 -4
  20. package/assets/docs/workflows/projects/evidence-layers.md +5 -1
  21. package/assets/docs/workflows/projects/implementation-execution.md +22 -8
  22. package/assets/docs/workflows/projects/lifecycle.md +4 -6
  23. package/assets/docs/workflows/projects/retro.md +7 -0
  24. package/assets/public-package-versions.json +4 -4
  25. package/assets/skills/oat-agent-instructions-analyze/SKILL.md +4 -4
  26. package/assets/skills/oat-agent-instructions-analyze/references/analysis-artifact-template.md +5 -5
  27. package/assets/skills/oat-agent-instructions-analyze/references/docs/rules-files.md +14 -11
  28. package/assets/skills/oat-agent-instructions-analyze/references/quality-checklist.md +2 -2
  29. package/assets/skills/oat-agent-instructions-analyze/scripts/resolve-instruction-files.sh +4 -3
  30. package/assets/skills/oat-agent-instructions-analyze/scripts/resolve-providers.sh +17 -6
  31. package/assets/skills/oat-agent-instructions-apply/SKILL.md +3 -3
  32. package/assets/skills/oat-agent-instructions-apply/references/docs/rules-files.md +14 -11
  33. package/assets/skills/oat-dispatch-subagents/SKILL.md +1 -1
  34. package/assets/skills/oat-dispatch-subagents/references/managed-claude-example.json +387 -0
  35. package/assets/skills/oat-dispatch-subagents/references/record-schema.md +75 -0
  36. package/assets/skills/oat-doctor/SKILL.md +17 -13
  37. package/assets/skills/oat-project-autonomous/references/gate-inventory.md +1 -1
  38. package/assets/skills/oat-project-document/references/docs/autonomy-contract.md +1 -1
  39. package/assets/skills/oat-project-implement/SKILL.md +2 -2
  40. package/assets/skills/oat-project-implement/references/completion-and-closeout.md +33 -11
  41. package/assets/skills/oat-project-implement/references/dispatch-and-dry-run.md +24 -22
  42. package/assets/skills/oat-project-implement/references/docs/autonomy-contract.md +1 -1
  43. package/assets/skills/oat-project-implement/references/phase-execution.md +109 -8
  44. package/assets/skills/oat-project-lite/SKILL.md +23 -1
  45. package/assets/skills/oat-project-lite/references/docs/autonomy-contract.md +1 -1
  46. package/assets/skills/oat-project-next/SKILL.md +3 -3
  47. package/assets/skills/oat-project-pr-final/references/docs/autonomy-contract.md +1 -1
  48. package/assets/skills/oat-project-progress/SKILL.md +2 -2
  49. package/assets/skills/oat-project-quick-start/references/docs/autonomy-contract.md +1 -1
  50. package/assets/skills/oat-project-retro/SKILL.md +70 -6
  51. package/assets/skills/oat-project-review-provide/SKILL.md +3 -1
  52. package/assets/skills/oat-project-review-provide-remote/SKILL.md +3 -1
  53. package/assets/templates/docs-app-mkdocs/docs/contributing.md +1 -3
  54. package/assets/templates/pjm-agents.md +7 -3
  55. package/assets/templates/state.md +2 -2
  56. package/dist/agents/canonical/resolve.d.ts +6 -4
  57. package/dist/agents/canonical/resolve.d.ts.map +1 -1
  58. package/dist/agents/canonical/resolve.js +6 -4
  59. package/dist/commands/backlog/archive.d.ts +10 -2
  60. package/dist/commands/backlog/archive.d.ts.map +1 -1
  61. package/dist/commands/backlog/archive.js +22 -6
  62. package/dist/commands/backlog/index.d.ts.map +1 -1
  63. package/dist/commands/backlog/index.js +5 -1
  64. package/dist/commands/backlog/rewrite-references.d.ts +41 -0
  65. package/dist/commands/backlog/rewrite-references.d.ts.map +1 -0
  66. package/dist/commands/backlog/rewrite-references.js +516 -0
  67. package/dist/commands/config/index.d.ts +1 -0
  68. package/dist/commands/config/index.d.ts.map +1 -1
  69. package/dist/commands/config/index.js +69 -34
  70. package/dist/commands/gate/index.d.ts.map +1 -1
  71. package/dist/commands/gate/index.js +51 -2
  72. package/dist/commands/gate/review-verdict.d.ts +22 -0
  73. package/dist/commands/gate/review-verdict.d.ts.map +1 -1
  74. package/dist/commands/gate/review-verdict.js +111 -0
  75. package/dist/commands/init/index.d.ts +6 -0
  76. package/dist/commands/init/index.d.ts.map +1 -1
  77. package/dist/commands/init/index.js +27 -4
  78. package/dist/commands/init/tools/index.d.ts +18 -1
  79. package/dist/commands/init/tools/index.d.ts.map +1 -1
  80. package/dist/commands/init/tools/index.js +84 -17
  81. package/dist/commands/init/tools/project-guidance.d.ts +19 -4
  82. package/dist/commands/init/tools/project-guidance.d.ts.map +1 -1
  83. package/dist/commands/init/tools/project-guidance.js +58 -15
  84. package/dist/commands/init/tools/workflows/index.d.ts.map +1 -1
  85. package/dist/commands/init/tools/workflows/index.js +5 -1
  86. package/dist/commands/instructions/instructions.types.d.ts +105 -4
  87. package/dist/commands/instructions/instructions.types.d.ts.map +1 -1
  88. package/dist/commands/instructions/instructions.types.js +4 -5
  89. package/dist/commands/instructions/instructions.utils.d.ts +161 -6
  90. package/dist/commands/instructions/instructions.utils.d.ts.map +1 -1
  91. package/dist/commands/instructions/instructions.utils.js +650 -12
  92. package/dist/commands/instructions/sync/sync.d.ts.map +1 -1
  93. package/dist/commands/instructions/sync/sync.js +256 -18
  94. package/dist/commands/instructions/validate/validate.d.ts.map +1 -1
  95. package/dist/commands/instructions/validate/validate.js +36 -8
  96. package/dist/commands/pjm/index.d.ts.map +1 -1
  97. package/dist/commands/pjm/index.js +19 -4
  98. package/dist/commands/pjm/init.d.ts +3 -0
  99. package/dist/commands/pjm/init.d.ts.map +1 -1
  100. package/dist/commands/pjm/init.js +23 -5
  101. package/dist/commands/project/dispatch/canonical-role.d.ts +33 -0
  102. package/dist/commands/project/dispatch/canonical-role.d.ts.map +1 -0
  103. package/dist/commands/project/dispatch/canonical-role.js +114 -0
  104. package/dist/commands/project/dispatch/index.d.ts.map +1 -1
  105. package/dist/commands/project/dispatch/index.js +3 -1
  106. package/dist/commands/project/dispatch/record.d.ts.map +1 -1
  107. package/dist/commands/project/dispatch/record.js +146 -4
  108. package/dist/commands/shared/agents-md.d.ts +26 -5
  109. package/dist/commands/shared/agents-md.d.ts.map +1 -1
  110. package/dist/commands/shared/agents-md.js +182 -3
  111. package/dist/commands/sync/apply.d.ts.map +1 -1
  112. package/dist/commands/sync/apply.js +28 -21
  113. package/dist/commands/tools/guidance/index.d.ts +15 -0
  114. package/dist/commands/tools/guidance/index.d.ts.map +1 -0
  115. package/dist/commands/tools/guidance/index.js +81 -0
  116. package/dist/commands/tools/index.d.ts.map +1 -1
  117. package/dist/commands/tools/index.js +2 -0
  118. package/dist/commands/tools/shared/sync-evidence.d.ts.map +1 -1
  119. package/dist/commands/tools/shared/sync-evidence.js +32 -5
  120. package/dist/config/oat-config.d.ts +57 -3
  121. package/dist/config/oat-config.d.ts.map +1 -1
  122. package/dist/config/oat-config.js +223 -15
  123. package/dist/config/resolve.d.ts.map +1 -1
  124. package/dist/config/resolve.js +12 -2
  125. package/dist/engine/compute-plan.d.ts.map +1 -1
  126. package/dist/engine/compute-plan.js +31 -3
  127. package/dist/providers/claude/dispatch-envelope.d.ts +53 -0
  128. package/dist/providers/claude/dispatch-envelope.d.ts.map +1 -1
  129. package/dist/providers/claude/dispatch-envelope.js +324 -48
  130. package/dist/providers/claude/rule-transform.js +1 -1
  131. package/dist/providers/copilot/rule-transform.js +1 -1
  132. package/dist/providers/cursor/rule-transform.js +1 -1
  133. package/dist/providers/identity/absolute-paths.d.ts +13 -0
  134. package/dist/providers/identity/absolute-paths.d.ts.map +1 -1
  135. package/dist/providers/identity/absolute-paths.js +27 -14
  136. package/dist/providers/identity/generic-dispatch-record.d.ts +212 -0
  137. package/dist/providers/identity/generic-dispatch-record.d.ts.map +1 -1
  138. package/dist/providers/identity/generic-dispatch-record.js +78 -19
  139. package/dist/providers/identity/oat-dispatch-record.d.ts +5 -0
  140. package/dist/providers/identity/oat-dispatch-record.d.ts.map +1 -1
  141. package/dist/providers/identity/oat-dispatch-record.js +11 -2
  142. package/dist/providers/shared/registry.d.ts +6 -0
  143. package/dist/providers/shared/registry.d.ts.map +1 -1
  144. package/dist/providers/shared/registry.js +30 -0
  145. package/dist/rules/canonical/parse.d.ts.map +1 -1
  146. package/dist/rules/canonical/parse.js +38 -3
  147. package/package.json +2 -2
@@ -1,15 +1,83 @@
1
- import type { InstructionSyncStrategy, InstructionActionRecord, InstructionEntry, InstructionsJsonPayload, InstructionsMode, InstructionPointerExclusions, InstructionsScanOptions, InstructionsScanDependencies, InstructionsSummary } from './instructions.types.js';
1
+ import { DEFAULT_INSTRUCTION_SYNC_STRATEGY } from '../../config/oat-config.js';
2
+ import type { ClaudeMdBlocksShimRemovalWarning, ClaudeMdHidesAgentsMdWarning, InstructionSyncStrategy, InstructionActionRecord, InstructionEntry, InstructionsJsonPayload, InstructionsMode, InstructionPointerExclusions, InstructionsScanOptions, InstructionsScanDependencies, InstructionsSummary, InstructionsWarning, ManagedShimRecord } from './instructions.types.js';
2
3
  export declare const EXPECTED_CLAUDE_CONTENT = "@AGENTS.md\n";
3
- export declare const DEFAULT_INSTRUCTION_SYNC_STRATEGY: InstructionSyncStrategy;
4
+ export { DEFAULT_INSTRUCTION_SYNC_STRATEGY };
4
5
  interface BuildInstructionsPayloadArgs {
5
6
  mode: InstructionsMode;
7
+ strategy: InstructionSyncStrategy;
8
+ warnings?: InstructionsWarning[];
6
9
  entries: InstructionEntry[];
7
10
  actions: InstructionActionRecord[];
8
11
  excludedPaths?: string[];
9
12
  effectiveExcludedPaths?: string[];
10
13
  exclusionWarnings?: string[];
11
14
  }
12
- export declare function resolveInstructionSyncStrategy(strategy?: InstructionSyncStrategy): InstructionSyncStrategy;
15
+ /** The filesystem reads managed-shim classification needs. */
16
+ export interface ManagedShimInspectionDependencies {
17
+ lstat: InstructionsScanDependencies['lstat'];
18
+ readlink: InstructionsScanDependencies['readlink'];
19
+ readFileBytes: InstructionsScanDependencies['readFileBytes'];
20
+ realpath: InstructionsScanDependencies['realpath'];
21
+ }
22
+ export type ManagedShimInspection = {
23
+ kind: 'managed';
24
+ record: ManagedShimRecord;
25
+ } | {
26
+ kind: 'absent';
27
+ } | {
28
+ kind: 'unmanaged';
29
+ detail: string;
30
+ } | {
31
+ kind: 'unreadable';
32
+ detail: string;
33
+ };
34
+ /**
35
+ * Classify one CLAUDE.md against the exact shapes OAT writes, beside its
36
+ * sibling AGENTS.md. This is the single definition of "OAT-managed" that both
37
+ * planning (the scan) and apply-time re-verification use, so the two can never
38
+ * disagree about what may be deleted.
39
+ *
40
+ * Anything that is not provably one of the three shapes is `unmanaged`, which
41
+ * is never deleted: a CLAUDE.md not named exactly `CLAUDE.md`, one inside a
42
+ * `.claude` directory, a symlink whose target is not the sibling AGENTS.md,
43
+ * and any regular file whose bytes are not exactly a pointer or an exact copy.
44
+ */
45
+ export declare function inspectManagedShim(claudePath: string, agentsPath: string, dependencies: ManagedShimInspectionDependencies): Promise<ManagedShimInspection>;
46
+ /** The filesystem reads link-chain resolution needs. */
47
+ export interface LinkResolutionDependencies {
48
+ lstat: InstructionsScanDependencies['lstat'];
49
+ readlink: InstructionsScanDependencies['readlink'];
50
+ realpath: InstructionsScanDependencies['realpath'];
51
+ }
52
+ /**
53
+ * The candidates whose symlink chain passes through `targetPath`: removing
54
+ * `targetPath` would leave each of them dangling. Every hop is followed, so a
55
+ * link to a link to the target counts, and a link to the target that is
56
+ * itself a symlink counts too. Regular files and hard links never dangle, so
57
+ * they are never reported.
58
+ */
59
+ export declare function findLinksThrough(targetPath: string, candidates: readonly string[], dependencies: LinkResolutionDependencies): Promise<string[]>;
60
+ /**
61
+ * Re-verify, immediately before deletion, that a CLAUDE.md planned for removal
62
+ * is still the exact managed shim the scan recorded: same `lstat` identity
63
+ * (device and inode, so a replaced file is caught even with identical bytes),
64
+ * same shape, same symlink target, and still an exact managed shape now.
65
+ *
66
+ * Returns null when removal may proceed, or the reason it must not.
67
+ */
68
+ export declare function verifyManagedShimUnchanged(claudePath: string, agentsPath: string, planned: ManagedShimRecord, dependencies: ManagedShimInspectionDependencies): Promise<string | null>;
69
+ /**
70
+ * The effective strategy for one run: the `--strategy` flag, then the
71
+ * repository's `instructions.claude.shims`, then the built-in
72
+ * default. The flag only ever overrides a single run; it never rewrites config.
73
+ */
74
+ export declare function resolveInstructionSyncStrategy(flagStrategy?: InstructionSyncStrategy, configuredStrategy?: InstructionSyncStrategy): InstructionSyncStrategy;
75
+ /**
76
+ * Read `instructions.claude.shims` from the shared config. A
77
+ * malformed value fails closed in the config normalizer rather than reading as
78
+ * unset, so a typo can never silently select the built-in default.
79
+ */
80
+ export declare function readConfiguredInstructionSyncStrategy(repoRoot: string): Promise<InstructionSyncStrategy | undefined>;
13
81
  /**
14
82
  * Canonicalize repo-relative exclusion entries into the exact form the scan
15
83
  * compares against: POSIX separators, collapsed `.` and `..` segments and
@@ -33,7 +101,7 @@ export declare function normalizeExcludedPaths(excludedPaths?: readonly string[]
33
101
  /**
34
102
  * The directories `oat instructions sync` and `oat instructions validate` skip:
35
103
  * the derived documentation content root first, then the explicit
36
- * `documentation.instructionPointerExcludes` opt-outs.
104
+ * `instructions.claude.excludes` opt-outs.
37
105
  *
38
106
  * Both commands resolve exclusions through this one function. That is the
39
107
  * property that matters: if they computed exclusions separately, validate
@@ -57,8 +125,95 @@ export declare function normalizeExcludedPaths(excludedPaths?: readonly string[]
57
125
  */
58
126
  export declare function resolveInstructionPointerExcludes(repoRoot: string, overrides?: Partial<InstructionsScanDependencies>): Promise<InstructionPointerExclusions>;
59
127
  export declare function scanInstructionFiles(repoRoot: string, options?: InstructionsScanOptions, overrides?: Partial<InstructionsScanDependencies>): Promise<InstructionEntry[]>;
128
+ /** A leftover file and the `AGENTS.md` links that pass through it. */
129
+ export interface LeftoverClaudeFile {
130
+ path: string;
131
+ /** Absolute paths of every `AGENTS.md` whose symlink chain reaches `path`. */
132
+ linkedBy: string[];
133
+ /**
134
+ * Whether the file is an exact OAT shim of its sibling AGENTS.md (pointer,
135
+ * sibling symlink, or identical copy), judged by `inspectManagedShim`. Any
136
+ * other file -- `CLAUDE.local.md`, `.claude/CLAUDE.md`, a hand-written or
137
+ * modified `CLAUDE.md`, one without a sibling AGENTS.md, or one that cannot
138
+ * be read -- has content of its own.
139
+ */
140
+ exactShim: boolean;
141
+ }
142
+ /**
143
+ * Every `CLAUDE.md` (including `.claude/CLAUDE.md`) and `CLAUDE.local.md` in
144
+ * the repository (exact case), sorted, as absolute paths, each with the
145
+ * `AGENTS.md` files that link to it.
146
+ *
147
+ * A separate, read-only walk on purpose. The instruction scan skips the
148
+ * documentation content root and `instructions.claude.excludes`,
149
+ * but those only limit what OAT may change: Claude Code's `agents-md` plugin
150
+ * stands down whichever directory the file is in. Only `.git`, `node_modules`,
151
+ * the root `.worktrees`, and nested git checkouts (separate repositories) are
152
+ * skipped, and symlinked directories are not followed. A symlink named like
153
+ * an instruction file counts, broken or not. Each directory entry is read
154
+ * once, so one file is never reported twice, even on a case-insensitive
155
+ * filesystem.
156
+ */
157
+ export declare function findLeftoverClaudeFiles(repoRoot: string, overrides?: Partial<Pick<InstructionsScanDependencies, 'readdir' | 'lstat' | 'readlink' | 'realpath' | 'readFileBytes'>>): Promise<LeftoverClaudeFile[]>;
158
+ /**
159
+ * Where the docs explain why any CLAUDE.md makes Claude Code ignore AGENTS.md.
160
+ * Absolute, because the message is read in terminals and JSON consumers that
161
+ * cannot resolve a repository-relative docs path.
162
+ */
163
+ export declare const CLAUDE_CODE_AGENTS_MD_DOCS_URL = "https://github.com/voxmedia/open-agent-toolkit/blob/main/apps/oat-docs/docs/provider-sync/instruction-sync.md#claude-code-and-agentsmd";
164
+ /**
165
+ * Under strategy `none`, removal is all or nothing: the leftover files with
166
+ * content of their own (anything but an exact OAT shim) that hold back every
167
+ * CLAUDE.md removal while they exist.
168
+ *
169
+ * A stray the scan will adopt (a lone `CLAUDE.md` with no sibling AGENTS.md)
170
+ * never blocks: its content moves into a new AGENTS.md, so it is not left
171
+ * behind. Every other file counts wherever it is, including excluded and
172
+ * documentation trees, because Claude Code's walk does not honor OAT's
173
+ * exclusions. An unreadable file counts too: blocking is the safe direction.
174
+ */
175
+ export declare function findShimRemovalBlockers(entries: readonly InstructionEntry[], leftovers: readonly LeftoverClaudeFile[]): ShimRemovalBlocker[];
176
+ /** A file that blocks removal, and the `AGENTS.md` links that reach it. */
177
+ export type ShimRemovalBlocker = Pick<LeftoverClaudeFile, 'path' | 'linkedBy'>;
178
+ /**
179
+ * Under a blocked removal, the leftover warnings minus the files the block
180
+ * holds back: the block finding already names them, and advice to remove
181
+ * one by hand would recreate the mix the block exists to prevent.
182
+ */
183
+ export declare function omitHeldBackLeftovers<T extends {
184
+ path: string;
185
+ }>(leftovers: readonly T[], heldBack: readonly string[]): T[];
186
+ /** The CLAUDE.md files strategy `none` removes: managed shims and adopted strays. */
187
+ export declare function listShimRemovals(entries: readonly InstructionEntry[]): string[];
188
+ /** The skip reason sync records for each removal the block holds back. */
189
+ export declare function describeShimRemovalBlock(repoRoot: string, blockers: readonly ShimRemovalBlocker[]): string;
190
+ /**
191
+ * The single finding for a blocked removal: which shims the configuration
192
+ * would remove, that none were removed and which files are why, why any
193
+ * CLAUDE.md matters, and what to do next.
194
+ */
195
+ export declare function buildShimRemovalBlockWarning(repoRoot: string, blockers: readonly ShimRemovalBlocker[], wouldRemove: readonly string[], mode: InstructionsMode): ClaudeMdBlocksShimRemovalWarning;
196
+ /**
197
+ * Restate each managed shim's detail while the block holds: sync will not
198
+ * remove it, so "sync removes it" would be false.
199
+ */
200
+ export declare function markBlockedShimEntries(entries: readonly InstructionEntry[]): InstructionEntry[];
201
+ /**
202
+ * One warning per leftover file, naming exactly two ways out: remove the
203
+ * file, or opt back into shims and let sync add them everywhere.
204
+ *
205
+ * When an `AGENTS.md` links to the file, removing it would break that link
206
+ * and lose the only copy of the instructions, so the first option becomes
207
+ * "replace the link with the file's content, then remove the file", and
208
+ * `linkedBy` names the links.
209
+ *
210
+ * Claude Code's plugin stands down when such a file sits in the session's
211
+ * working directory or any directory above it up to the project root, so a
212
+ * root file affects every session and a nested one only sessions started in
213
+ * its directory or below.
214
+ */
215
+ export declare function buildLeftoverClaudeWarnings(repoRoot: string, leftovers: readonly Pick<LeftoverClaudeFile, 'path' | 'linkedBy'>[]): ClaudeMdHidesAgentsMdWarning[];
60
216
  export declare function buildInstructionsSummary(entries: InstructionEntry[], actions: InstructionActionRecord[]): InstructionsSummary;
61
- export declare function buildInstructionsPayload({ mode, entries, actions, excludedPaths, effectiveExcludedPaths, exclusionWarnings, }: BuildInstructionsPayloadArgs): InstructionsJsonPayload;
217
+ export declare function buildInstructionsPayload({ mode, strategy, warnings, entries, actions, excludedPaths, effectiveExcludedPaths, exclusionWarnings, }: BuildInstructionsPayloadArgs): InstructionsJsonPayload;
62
218
  export declare function formatInstructionsReport(payload: InstructionsJsonPayload, repoRoot?: string): string;
63
- export {};
64
219
  //# sourceMappingURL=instructions.utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"instructions.utils.d.ts","sourceRoot":"","sources":["../../../src/commands/instructions/instructions.utils.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EACV,uBAAuB,EACvB,uBAAuB,EACvB,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EAChB,4BAA4B,EAC5B,uBAAuB,EACvB,4BAA4B,EAE5B,mBAAmB,EACpB,MAAM,sBAAsB,CAAC;AAE9B,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,MAAM,CAmCR"}
1
+ {"version":3,"file":"instructions.utils.d.ts","sourceRoot":"","sources":["../../../src/commands/instructions/instructions.utils.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,iCAAiC,EAGlC,MAAM,oBAAoB,CAAC;AAE5B,OAAO,KAAK,EACV,gCAAgC,EAChC,4BAA4B,EAC5B,uBAAuB,EACvB,uBAAuB,EACvB,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EAChB,4BAA4B,EAC5B,uBAAuB,EACvB,4BAA4B,EAE5B,mBAAmB,EACnB,mBAAmB,EAEnB,iBAAiB,EAClB,MAAM,sBAAsB,CAAC;AAE9B,eAAO,MAAM,uBAAuB,iBAAiB,CAAC;AACtD,OAAO,EAAE,iCAAiC,EAAE,CAAC;AAc7C,UAAU,4BAA4B;IACpC,IAAI,EAAE,gBAAgB,CAAC;IACvB,QAAQ,EAAE,uBAAuB,CAAC;IAClC,QAAQ,CAAC,EAAE,mBAAmB,EAAE,CAAC;IACjC,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC5B,OAAO,EAAE,uBAAuB,EAAE,CAAC;IACnC,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;IAClC,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC9B;AA+CD,8DAA8D;AAC9D,MAAM,WAAW,iCAAiC;IAChD,KAAK,EAAE,4BAA4B,CAAC,OAAO,CAAC,CAAC;IAC7C,QAAQ,EAAE,4BAA4B,CAAC,UAAU,CAAC,CAAC;IACnD,aAAa,EAAE,4BAA4B,CAAC,eAAe,CAAC,CAAC;IAC7D,QAAQ,EAAE,4BAA4B,CAAC,UAAU,CAAC,CAAC;CACpD;AAED,MAAM,MAAM,qBAAqB,GAC7B;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,MAAM,EAAE,iBAAiB,CAAA;CAAE,GAC9C;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,GAClB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