@namzu/cli 18.1.0 → 19.0.0
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/CHANGELOG.md +5898 -0
- package/README.md +23 -24
- package/dist/bin.js +12 -1
- package/dist/bin.js.map +1 -1
- package/dist/checkpoints/store.d.ts +75 -0
- package/dist/checkpoints/store.d.ts.map +1 -0
- package/dist/checkpoints/store.js +177 -0
- package/dist/checkpoints/store.js.map +1 -0
- package/dist/checkpoints/wrap.d.ts +15 -0
- package/dist/checkpoints/wrap.d.ts.map +1 -0
- package/dist/checkpoints/wrap.js +37 -0
- package/dist/checkpoints/wrap.js.map +1 -0
- package/dist/cli.d.ts +6 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +12 -1
- package/dist/cli.js.map +1 -1
- package/dist/commands/acp.d.ts.map +1 -1
- package/dist/commands/acp.js +2 -0
- package/dist/commands/acp.js.map +1 -1
- package/dist/commands/drain.d.ts.map +1 -1
- package/dist/commands/drain.js +15 -2
- package/dist/commands/drain.js.map +1 -1
- package/dist/commands/provider-wait.d.ts +44 -0
- package/dist/commands/provider-wait.d.ts.map +1 -0
- package/dist/commands/provider-wait.js +65 -0
- package/dist/commands/provider-wait.js.map +1 -0
- package/dist/commands/run-flags.d.ts +13 -1
- package/dist/commands/run-flags.d.ts.map +1 -1
- package/dist/commands/run-flags.js +41 -0
- package/dist/commands/run-flags.js.map +1 -1
- package/dist/commands/run-stream.d.ts.map +1 -1
- package/dist/commands/run-stream.js +33 -13
- package/dist/commands/run-stream.js.map +1 -1
- package/dist/commands/run.d.ts.map +1 -1
- package/dist/commands/run.js +132 -78
- package/dist/commands/run.js.map +1 -1
- package/dist/commands/stdin.d.ts +17 -0
- package/dist/commands/stdin.d.ts.map +1 -0
- package/dist/commands/stdin.js +69 -0
- package/dist/commands/stdin.js.map +1 -0
- package/dist/config/load.d.ts.map +1 -1
- package/dist/config/load.js +107 -2
- package/dist/config/load.js.map +1 -1
- package/dist/config/schema.d.ts +80 -5
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/schema.js.map +1 -1
- package/dist/context/doctrine.d.ts +16 -38
- package/dist/context/doctrine.d.ts.map +1 -1
- package/dist/context/doctrine.js +16 -75
- package/dist/context/doctrine.js.map +1 -1
- package/dist/context/environment.d.ts +2 -0
- package/dist/context/environment.d.ts.map +1 -1
- package/dist/context/environment.js +3 -0
- package/dist/context/environment.js.map +1 -1
- package/dist/integrations/mcp/servers.d.ts +19 -0
- package/dist/integrations/mcp/servers.d.ts.map +1 -1
- package/dist/integrations/mcp/servers.js +23 -2
- package/dist/integrations/mcp/servers.js.map +1 -1
- package/dist/integrations/plugins/runtime.d.ts +8 -2
- package/dist/integrations/plugins/runtime.d.ts.map +1 -1
- package/dist/integrations/plugins/runtime.js +24 -12
- package/dist/integrations/plugins/runtime.js.map +1 -1
- package/dist/integrations/providers/chain-capabilities.js +1 -1
- package/dist/integrations/providers/chain-capabilities.js.map +1 -1
- package/dist/integrations/providers/credential-store.d.ts +1 -1
- package/dist/integrations/providers/credential-store.js +1 -1
- package/dist/integrations/providers/harness-credentials.d.ts.map +1 -1
- package/dist/integrations/providers/harness-credentials.js +7 -0
- package/dist/integrations/providers/harness-credentials.js.map +1 -1
- package/dist/integrations/providers/registry.d.ts +2 -2
- package/dist/integrations/providers/registry.js +2 -2
- package/dist/integrations/sessions/store.d.ts +14 -22
- package/dist/integrations/sessions/store.d.ts.map +1 -1
- package/dist/integrations/sessions/store.js +78 -175
- package/dist/integrations/sessions/store.js.map +1 -1
- package/dist/integrations/sessions/transcript-export.d.ts.map +1 -1
- package/dist/integrations/sessions/transcript-export.js +6 -2
- package/dist/integrations/sessions/transcript-export.js.map +1 -1
- package/dist/integrations/state/identity.d.ts +21 -0
- package/dist/integrations/state/identity.d.ts.map +1 -0
- package/dist/integrations/state/identity.js +49 -0
- package/dist/integrations/state/identity.js.map +1 -0
- package/dist/integrations/state/immutable-json.d.ts +10 -0
- package/dist/integrations/state/immutable-json.d.ts.map +1 -0
- package/dist/integrations/state/immutable-json.js +38 -0
- package/dist/integrations/state/immutable-json.js.map +1 -0
- package/dist/integrations/state/project.d.ts +10 -0
- package/dist/integrations/state/project.d.ts.map +1 -0
- package/dist/integrations/state/project.js +15 -0
- package/dist/integrations/state/project.js.map +1 -0
- package/dist/integrations/state/report.d.ts.map +1 -1
- package/dist/integrations/state/report.js +42 -12
- package/dist/integrations/state/report.js.map +1 -1
- package/dist/integrations/subagents/definitions.d.ts +19 -0
- package/dist/integrations/subagents/definitions.d.ts.map +1 -0
- package/dist/integrations/subagents/definitions.js +26 -0
- package/dist/integrations/subagents/definitions.js.map +1 -0
- package/dist/integrations/subagents/parent.d.ts +13 -0
- package/dist/integrations/subagents/parent.d.ts.map +1 -0
- package/dist/integrations/subagents/parent.js +57 -0
- package/dist/integrations/subagents/parent.js.map +1 -0
- package/dist/integrations/subagents/runtime.d.ts +24 -13
- package/dist/integrations/subagents/runtime.d.ts.map +1 -1
- package/dist/integrations/subagents/runtime.js +282 -122
- package/dist/integrations/subagents/runtime.js.map +1 -1
- package/dist/memory/store.d.ts +35 -15
- package/dist/memory/store.d.ts.map +1 -1
- package/dist/memory/store.js +79 -25
- package/dist/memory/store.js.map +1 -1
- package/dist/permissions/mode.d.ts +12 -45
- package/dist/permissions/mode.d.ts.map +1 -1
- package/dist/permissions/mode.js +18 -13
- package/dist/permissions/mode.js.map +1 -1
- package/dist/release-notes.d.ts +20 -0
- package/dist/release-notes.d.ts.map +1 -0
- package/dist/release-notes.js +64 -0
- package/dist/release-notes.js.map +1 -0
- package/dist/tui/AgentExplorer.d.ts.map +1 -1
- package/dist/tui/AgentExplorer.js +14 -18
- package/dist/tui/AgentExplorer.js.map +1 -1
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/App.js +606 -207
- package/dist/tui/App.js.map +1 -1
- package/dist/tui/BrandHeader.d.ts +12 -0
- package/dist/tui/BrandHeader.d.ts.map +1 -0
- package/dist/tui/BrandHeader.js +17 -0
- package/dist/tui/BrandHeader.js.map +1 -0
- package/dist/tui/ChoicePicker.d.ts +11 -1
- package/dist/tui/ChoicePicker.d.ts.map +1 -1
- package/dist/tui/ChoicePicker.js +46 -13
- package/dist/tui/ChoicePicker.js.map +1 -1
- package/dist/tui/Composer.d.ts +4 -1
- package/dist/tui/Composer.d.ts.map +1 -1
- package/dist/tui/Composer.js +4 -4
- package/dist/tui/Composer.js.map +1 -1
- package/dist/tui/ComposerFrame.d.ts +10 -0
- package/dist/tui/ComposerFrame.d.ts.map +1 -0
- package/dist/tui/ComposerFrame.js +93 -0
- package/dist/tui/ComposerFrame.js.map +1 -0
- package/dist/tui/EditPromptPicker.d.ts.map +1 -1
- package/dist/tui/EditPromptPicker.js +1 -1
- package/dist/tui/EditPromptPicker.js.map +1 -1
- package/dist/tui/LiveActivity.d.ts +12 -5
- package/dist/tui/LiveActivity.d.ts.map +1 -1
- package/dist/tui/LiveActivity.js +17 -32
- package/dist/tui/LiveActivity.js.map +1 -1
- package/dist/tui/PermissionOverlay.d.ts +26 -2
- package/dist/tui/PermissionOverlay.d.ts.map +1 -1
- package/dist/tui/PermissionOverlay.js +108 -16
- package/dist/tui/PermissionOverlay.js.map +1 -1
- package/dist/tui/Picker.d.ts +2 -2
- package/dist/tui/Picker.d.ts.map +1 -1
- package/dist/tui/Picker.js +79 -52
- package/dist/tui/Picker.js.map +1 -1
- package/dist/tui/StatusBar.d.ts.map +1 -1
- package/dist/tui/StatusBar.js +5 -2
- package/dist/tui/StatusBar.js.map +1 -1
- package/dist/tui/TaskList.d.ts +3 -1
- package/dist/tui/TaskList.d.ts.map +1 -1
- package/dist/tui/TaskList.js +13 -4
- package/dist/tui/TaskList.js.map +1 -1
- package/dist/tui/Transcript.d.ts +3 -3
- package/dist/tui/Transcript.d.ts.map +1 -1
- package/dist/tui/Transcript.js +16 -34
- package/dist/tui/Transcript.js.map +1 -1
- package/dist/tui/agent.d.ts +113 -50
- package/dist/tui/agent.d.ts.map +1 -1
- package/dist/tui/agent.js +512 -293
- package/dist/tui/agent.js.map +1 -1
- package/dist/tui/choice-selection.d.ts +17 -0
- package/dist/tui/choice-selection.d.ts.map +1 -0
- package/dist/tui/choice-selection.js +38 -0
- package/dist/tui/choice-selection.js.map +1 -0
- package/dist/tui/exit-summary.d.ts +7 -1
- package/dist/tui/exit-summary.d.ts.map +1 -1
- package/dist/tui/exit-summary.js +12 -3
- package/dist/tui/exit-summary.js.map +1 -1
- package/dist/tui/index.d.ts +3 -1
- package/dist/tui/index.d.ts.map +1 -1
- package/dist/tui/index.js +5 -3
- package/dist/tui/index.js.map +1 -1
- package/dist/tui/logo.d.ts +7 -22
- package/dist/tui/logo.d.ts.map +1 -1
- package/dist/tui/logo.js +8 -34
- package/dist/tui/logo.js.map +1 -1
- package/dist/tui/model-choices.d.ts.map +1 -1
- package/dist/tui/model-choices.js +21 -6
- package/dist/tui/model-choices.js.map +1 -1
- package/dist/tui/permission-review.d.ts +15 -4
- package/dist/tui/permission-review.d.ts.map +1 -1
- package/dist/tui/permission-review.js +48 -9
- package/dist/tui/permission-review.js.map +1 -1
- package/dist/tui/provider-selection.d.ts +4 -0
- package/dist/tui/provider-selection.d.ts.map +1 -0
- package/dist/tui/provider-selection.js +16 -0
- package/dist/tui/provider-selection.js.map +1 -0
- package/dist/tui/run-interruption.d.ts +3 -2
- package/dist/tui/run-interruption.d.ts.map +1 -1
- package/dist/tui/run-interruption.js +2 -1
- package/dist/tui/run-interruption.js.map +1 -1
- package/dist/tui/shell-escape.d.ts +42 -0
- package/dist/tui/shell-escape.d.ts.map +1 -0
- package/dist/tui/shell-escape.js +110 -0
- package/dist/tui/shell-escape.js.map +1 -0
- package/dist/tui/slashCommands.d.ts +77 -31
- package/dist/tui/slashCommands.d.ts.map +1 -1
- package/dist/tui/slashCommands.js +343 -303
- package/dist/tui/slashCommands.js.map +1 -1
- package/dist/tui/terminal-choice-text.d.ts +8 -0
- package/dist/tui/terminal-choice-text.d.ts.map +1 -0
- package/dist/tui/terminal-choice-text.js +37 -0
- package/dist/tui/terminal-choice-text.js.map +1 -0
- package/dist/tui/theme.d.ts +3 -4
- package/dist/tui/theme.d.ts.map +1 -1
- package/dist/tui/theme.js +16 -17
- package/dist/tui/theme.js.map +1 -1
- package/dist/tui/types.d.ts +6 -1
- package/dist/tui/types.d.ts.map +1 -1
- package/package.json +6 -4
|
@@ -15,15 +15,16 @@
|
|
|
15
15
|
* already carries. A command that had to compute its own answer would be a
|
|
16
16
|
* second source for a fact the kernel already owns, and the two would drift.
|
|
17
17
|
*
|
|
18
|
-
*
|
|
18
|
+
* Ctrl+O's reprint is the same discipline with the split drawn one step earlier. The
|
|
19
19
|
* lines it prints were captured when the tool ran and are held on the transcript
|
|
20
|
-
* row, which this module cannot see and must not:
|
|
21
|
-
*
|
|
22
|
-
*
|
|
20
|
+
* row, which this module cannot see and must not: App — the only thing that knows
|
|
21
|
+
* what rows exist — resolves it. Giving this module the transcript to search
|
|
22
|
+
* would put the answer
|
|
23
23
|
* to "does block 4 exist" in two places at once.
|
|
24
24
|
*/
|
|
25
|
-
import { type AuthorizationRule, type CostInfo, type HostCommandOutcome, type ReasoningEffort, type SerializableHostCommand } from '@namzu/sdk';
|
|
25
|
+
import { type AuthorizationRule, type CostInfo, type HostCommandOutcome, type ReasoningEffort, type SerializableHostCommand, type TokenBudgetSummary } from '@namzu/sdk';
|
|
26
26
|
import { type ConfigDebugSnapshot } from '../config/debug.js';
|
|
27
|
+
import type { HooksConfig } from '../config/schema.js';
|
|
27
28
|
import type { SandboxSummary } from '../context/sandbox.js';
|
|
28
29
|
import { type PermissionMode } from '../permissions/mode.js';
|
|
29
30
|
import { type UserCommand } from '../user-commands/store.js';
|
|
@@ -47,6 +48,13 @@ export type SlashAction = {
|
|
|
47
48
|
/** Observe child runs retained by this TUI conversation. */
|
|
48
49
|
| {
|
|
49
50
|
kind: 'agent-cockpit';
|
|
51
|
+
} | {
|
|
52
|
+
kind: 'settings-picker';
|
|
53
|
+
} | {
|
|
54
|
+
kind: 'goal-picker';
|
|
55
|
+
} | {
|
|
56
|
+
kind: 'goal-editor';
|
|
57
|
+
edit: boolean;
|
|
50
58
|
} | {
|
|
51
59
|
kind: 'exit';
|
|
52
60
|
}
|
|
@@ -95,6 +103,7 @@ export type SlashAction = {
|
|
|
95
103
|
} | {
|
|
96
104
|
kind: 'remember';
|
|
97
105
|
text: string;
|
|
106
|
+
scope: 'project' | 'user';
|
|
98
107
|
} | {
|
|
99
108
|
kind: 'show-memory';
|
|
100
109
|
} | {
|
|
@@ -129,6 +138,16 @@ export type SlashAction = {
|
|
|
129
138
|
| {
|
|
130
139
|
kind: 'fork';
|
|
131
140
|
}
|
|
141
|
+
/** List file checkpoints, or put the tree back to before turn `turn`. */
|
|
142
|
+
| {
|
|
143
|
+
kind: 'restore';
|
|
144
|
+
turn?: number;
|
|
145
|
+
}
|
|
146
|
+
/** Let the file tools reach another directory for the rest of the session. */
|
|
147
|
+
| {
|
|
148
|
+
kind: 'add-dir';
|
|
149
|
+
path: string;
|
|
150
|
+
}
|
|
132
151
|
/**
|
|
133
152
|
* Shrink the conversation now, rather than when a threshold decides.
|
|
134
153
|
*
|
|
@@ -204,18 +223,6 @@ export type SlashAction = {
|
|
|
204
223
|
messageId: string;
|
|
205
224
|
note?: string;
|
|
206
225
|
}
|
|
207
|
-
/**
|
|
208
|
-
* Print a collapsed tool body in full, as a NEW transcript row.
|
|
209
|
-
*
|
|
210
|
-
* `which` is the number the collapse hint printed, or `'last'` for the most
|
|
211
|
-
* recent one. This module validates the shape of the argument and stops
|
|
212
|
-
* there: whether such a block exists is a fact about the transcript, which
|
|
213
|
-
* App owns and this module deliberately does not see.
|
|
214
|
-
*/
|
|
215
|
-
| {
|
|
216
|
-
kind: 'expand';
|
|
217
|
-
which: number | 'last';
|
|
218
|
-
}
|
|
219
226
|
/**
|
|
220
227
|
* Drive a turn with text the command composed rather than the user typed.
|
|
221
228
|
*
|
|
@@ -247,9 +254,36 @@ export type SlashAction = {
|
|
|
247
254
|
} | {
|
|
248
255
|
kind: 'none';
|
|
249
256
|
};
|
|
257
|
+
/** What `/context` reads: the strategy the session runs and what its passes have done so far. */
|
|
258
|
+
export interface CompactionSummary {
|
|
259
|
+
readonly strategy: 'structured' | 'salience';
|
|
260
|
+
/** Fraction of the window the salience pass holds the context at. */
|
|
261
|
+
readonly softTarget: number;
|
|
262
|
+
/** Fraction of the window at which older history is summarised. */
|
|
263
|
+
readonly triggerThreshold: number;
|
|
264
|
+
readonly passes: number;
|
|
265
|
+
readonly clearedResults: number;
|
|
266
|
+
readonly stubbedNarrations: number;
|
|
267
|
+
readonly summaries: number;
|
|
268
|
+
readonly reclaimedTokens: number;
|
|
269
|
+
}
|
|
250
270
|
export interface SlashContext {
|
|
251
271
|
/** Canonical working directory owned by this TUI session. */
|
|
252
272
|
readonly cwd: string;
|
|
273
|
+
/** Null before a session exists. */
|
|
274
|
+
readonly compaction: CompactionSummary | null;
|
|
275
|
+
/** The shell hooks this session runs, by event; absent when the session has none. */
|
|
276
|
+
readonly hooks?: () => HooksConfig | undefined;
|
|
277
|
+
/** Directories besides the working directory the file tools may reach, absolute. */
|
|
278
|
+
readonly directories?: () => readonly string[];
|
|
279
|
+
/** This session's background jobs, running and ended; empty under a sandbox. */
|
|
280
|
+
readonly jobs: () => readonly {
|
|
281
|
+
readonly id: string;
|
|
282
|
+
readonly command: string;
|
|
283
|
+
readonly status: 'running' | 'exited' | 'killed';
|
|
284
|
+
readonly exitCode?: number;
|
|
285
|
+
readonly startedAt: number;
|
|
286
|
+
}[];
|
|
253
287
|
/**
|
|
254
288
|
* Every tool the agent can call, read when the command runs.
|
|
255
289
|
*
|
|
@@ -297,7 +331,7 @@ export interface SlashContext {
|
|
|
297
331
|
readonly levels: readonly ReasoningEffort[] | undefined;
|
|
298
332
|
};
|
|
299
333
|
/**
|
|
300
|
-
*
|
|
334
|
+
* Current or latest run spend, or `null` before the first usage report.
|
|
301
335
|
*
|
|
302
336
|
* The same numbers the status bar abbreviates. Kept as the kernel's own
|
|
303
337
|
* quantity rather than a formatted string so `/cost` can print exact
|
|
@@ -305,8 +339,22 @@ export interface SlashContext {
|
|
|
305
339
|
* a question someone asked on purpose.
|
|
306
340
|
*/
|
|
307
341
|
readonly usage: {
|
|
342
|
+
readonly budget?: TokenBudgetSummary;
|
|
308
343
|
readonly totalTokens: number;
|
|
309
344
|
readonly cost: CostInfo;
|
|
345
|
+
/**
|
|
346
|
+
* How full the context is, when the run knows: the numerator and the
|
|
347
|
+
* window with their provenance, from the `usage` event. Absent when
|
|
348
|
+
* the run resolved no window. Printed here, on request, rather than in
|
|
349
|
+
* the footer — the persistent gauge was removed on purpose for a
|
|
350
|
+
* quieter frame, and `/cost` is where a person asks.
|
|
351
|
+
*/
|
|
352
|
+
readonly context?: {
|
|
353
|
+
readonly tokens: number;
|
|
354
|
+
readonly windowTokens: number;
|
|
355
|
+
readonly measured: boolean;
|
|
356
|
+
readonly windowAssumed: boolean;
|
|
357
|
+
};
|
|
310
358
|
} | null;
|
|
311
359
|
/** What decides a tool call right now — flags, config, and session state. */
|
|
312
360
|
readonly permissions: {
|
|
@@ -384,6 +432,8 @@ export interface SlashCommand {
|
|
|
384
432
|
readonly description: string;
|
|
385
433
|
/** Compatibility-only commands remain executable but stay out of discovery UI. */
|
|
386
434
|
readonly discoverable?: false;
|
|
435
|
+
/** A live precondition shared by discovery and execution. */
|
|
436
|
+
readonly unavailable?: (ctx: SlashContext) => string | undefined;
|
|
387
437
|
readonly action: (ctx: SlashContext, args: readonly string[]) => SlashAction;
|
|
388
438
|
}
|
|
389
439
|
export interface ParsedSlash {
|
|
@@ -490,16 +540,12 @@ export declare const CLI_LOCAL_COMMANDS: readonly SlashCommand[];
|
|
|
490
540
|
* invention, in those words.
|
|
491
541
|
*/
|
|
492
542
|
export declare function initPrompt(instructionFiles: readonly string[]): string;
|
|
493
|
-
/**
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
* conversation with room to spare. This command prints the spend and says which
|
|
500
|
-
* quantity it is, so that nobody reads it as the other one.
|
|
501
|
-
*/
|
|
502
|
-
export declare function renderCost(usage: SlashContext['usage']): string;
|
|
543
|
+
/** The session's shell hooks, by event, in the order the config file gave them. */
|
|
544
|
+
export declare function renderHooks(hooks: HooksConfig | undefined): string;
|
|
545
|
+
/** The session's background jobs, as an operator would ask about them. */
|
|
546
|
+
export declare function renderJobs(jobs: ReturnType<SlashContext['jobs']>): string;
|
|
547
|
+
export declare function renderContext(usage: SlashContext['usage'], compaction: CompactionSummary | null, details?: boolean): string;
|
|
548
|
+
export declare function renderCost(usage: SlashContext['usage'], compaction?: CompactionSummary | null, details?: boolean): string;
|
|
503
549
|
/** What decides a tool call, in the order it actually decides it. */
|
|
504
550
|
/**
|
|
505
551
|
* One page holding both halves of what a run may do.
|
|
@@ -547,9 +593,9 @@ export declare function reviewPrompt(stat: string, untracked: readonly string[])
|
|
|
547
593
|
export declare function baseBranchReviewPrompt(mergeBaseSha: string): string;
|
|
548
594
|
/** Review one immutable commit without asking the model to resolve a mutable ref. */
|
|
549
595
|
export declare function commitReviewPrompt(sha: string): string;
|
|
550
|
-
export declare function renderMcp(mcp: ReturnType<SlashContext['mcp']
|
|
551
|
-
export declare function renderStatus(ctx: SlashContext): string;
|
|
552
|
-
export declare function renderPermissions(permissions: SlashContext['permissions']): string;
|
|
596
|
+
export declare function renderMcp(mcp: ReturnType<SlashContext['mcp']>, details?: boolean): string;
|
|
597
|
+
export declare function renderStatus(ctx: SlashContext, details?: boolean): string;
|
|
598
|
+
export declare function renderPermissions(permissions: SlashContext['permissions'], details?: boolean): string;
|
|
553
599
|
/** Render the exact session control without inventing a global effort menu. */
|
|
554
600
|
export declare function renderReasoningEffort(ctx: SlashContext): string;
|
|
555
601
|
/** The delegate roster, and an honest answer when there is none. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slashCommands.d.ts","sourceRoot":"","sources":["../../src/tui/sl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