@yukino.js/yukino 0.0.12 → 0.0.13

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 (38) hide show
  1. package/README.md +14 -69
  2. package/dist/{a2a-RMMY65QU.js → a2a-DKWMWGID.js} +2 -2
  3. package/dist/{acp-WY6JO5LK.js → acp-RL6DKS3R.js} +1 -1
  4. package/dist/{anthropic-55TYAIKB.js → anthropic-74ALYMH2.js} +1 -1
  5. package/dist/{chunk-SYKQXO6W.js → chunk-556TRLPT.js} +1 -1
  6. package/dist/{chunk-7TZ52NFW.js → chunk-6FSIG63T.js} +25 -25
  7. package/dist/{chunk-HTLXOBAC.js → chunk-6JUOKMSJ.js} +1 -1
  8. package/dist/{chunk-V7Q2SA7H.js → chunk-A5G5NTDB.js} +179 -173
  9. package/dist/{chunk-4CLD7LEU.js → chunk-A7CJPQC5.js} +1 -1
  10. package/dist/{chunk-33HUTVDG.js → chunk-APJAUOF6.js} +1 -1
  11. package/dist/{chunk-IX65B3M7.js → chunk-CJSMVCUF.js} +1 -1
  12. package/dist/{chunk-OI2W6R6H.js → chunk-HWCLMDQF.js} +8 -8
  13. package/dist/chunk-NEU4ER5V.js +4 -0
  14. package/dist/{chunk-5URXBVET.js → chunk-OREDGNI6.js} +1 -1
  15. package/dist/chunk-SCR7NDDL.js +63 -0
  16. package/dist/lib/{anthropic-AVZIC22O.js → anthropic-EQRUGP2C.js} +4 -4
  17. package/dist/lib/{chunk-XH7D5FLE.js → chunk-CDMR25FD.js} +3 -3
  18. package/dist/lib/{chunk-O2H6VKKR.js → chunk-EGT7BJRD.js} +2 -2
  19. package/dist/lib/{chunk-LSI3T24Q.js → chunk-FUJDUZTH.js} +1 -1
  20. package/dist/lib/{chunk-GVI5R2DA.js → chunk-HUTUNNDX.js} +1 -1
  21. package/dist/lib/{chunk-WL3ML2TB.js → chunk-JYCSWXCR.js} +2 -2
  22. package/dist/lib/{chunk-QJ32WYQY.js → chunk-UBVKYJFI.js} +124 -27
  23. package/dist/lib/{chunk-TUNZLQLO.js → chunk-WWCSFKMR.js} +1 -1
  24. package/dist/lib/index.d.ts +61 -38
  25. package/dist/lib/index.js +383 -202
  26. package/dist/lib/{openai-54IQOU6Y.js → openai-B3I5WBFT.js} +3 -3
  27. package/dist/lib/{providers-DPVHJZAX.js → providers-EJ4VBHNP.js} +2 -2
  28. package/dist/lib/{tool-filter-5Z6UTRRR.js → tool-filter-TURPCYFR.js} +3 -3
  29. package/dist/{main-L3JP6JDZ.js → main-JEEKFCGX.js} +226 -217
  30. package/dist/main.js +11 -2
  31. package/dist/{openai-I2TTMBWK.js → openai-7C6BVQ7M.js} +1 -1
  32. package/dist/{providers-VFEHLGQG.js → providers-U23PWAHG.js} +1 -1
  33. package/dist/{server-F4PJ3W62.js → server-EOSEQPNY.js} +1 -1
  34. package/dist/tool-filter-UDSHRE5F.js +4 -0
  35. package/package.json +1 -1
  36. package/dist/chunk-D4MZQCMB.js +0 -59
  37. package/dist/chunk-PWLFGDME.js +0 -4
  38. package/dist/tool-filter-5WW6YGKC.js +0 -4
@@ -445,6 +445,7 @@ interface ToolContext {
445
445
  * backgrounded there could never deliver a notification).
446
446
  */
447
447
  taskManager?: TaskManager | null;
448
+ shellTimeoutDisabled?: boolean;
448
449
  abortSignal?: AbortSignal;
449
450
  onOutput?: (output: string) => void;
450
451
  fileHistory?: FileHistory | undefined;
@@ -2111,6 +2112,7 @@ declare class ToolRegistry {
2111
2112
  private tools;
2112
2113
  private owned;
2113
2114
  private disposal?;
2115
+ private cleanup;
2114
2116
  private discovered;
2115
2117
  /**
2116
2118
  * How MCP tools are loaded, written by mcp/strategy after connecting to the
@@ -2134,6 +2136,7 @@ declare class ToolRegistry {
2134
2136
  register(tool: Tool): void;
2135
2137
  registerBorrowed(tool: Tool): void;
2136
2138
  takeOwnershipFrom(source: ToolRegistry): void;
2139
+ addCleanup(cleanup: () => void): void;
2137
2140
  dispose(): Promise<void>;
2138
2141
  /**
2139
2142
  * Removes a tool and forgets its discovery state, so a re-registered tool
@@ -2816,25 +2819,25 @@ declare function recordTokens(p: AgentProgress, inputTokens: number, outputToken
2816
2819
  declare function summarizeActivities(activities: ToolActivity[]): string;
2817
2820
  declare function formatTokens(n: number): string;
2818
2821
 
2819
- type progress_ActiveTool = ActiveTool;
2820
- declare const progress_ActiveToolSchema: typeof ActiveToolSchema;
2821
- type progress_AgentProgress = AgentProgress;
2822
- declare const progress_AgentProgressSchema: typeof AgentProgressSchema;
2823
- type progress_TeammateUIState = TeammateUIState;
2824
- declare const progress_TeammateUIStateSchema: typeof TeammateUIStateSchema;
2825
- type progress_ToolActivity = ToolActivity;
2826
- declare const progress_ToolActivitySchema: typeof ToolActivitySchema;
2827
- declare const progress_clearActiveTools: typeof clearActiveTools;
2828
- declare const progress_createProgress: typeof createProgress;
2829
- declare const progress_formatTokens: typeof formatTokens;
2830
- declare const progress_recordTokens: typeof recordTokens;
2831
- declare const progress_recordToolResult: typeof recordToolResult;
2832
- declare const progress_recordToolStart: typeof recordToolStart;
2833
- declare const progress_recordToolUse: typeof recordToolUse;
2834
- declare const progress_recordTurnComplete: typeof recordTurnComplete;
2835
- declare const progress_summarizeActivities: typeof summarizeActivities;
2836
- declare namespace progress {
2837
- export { type progress_ActiveTool as ActiveTool, progress_ActiveToolSchema as ActiveToolSchema, type progress_AgentProgress as AgentProgress, progress_AgentProgressSchema as AgentProgressSchema, type progress_TeammateUIState as TeammateUIState, progress_TeammateUIStateSchema as TeammateUIStateSchema, type progress_ToolActivity as ToolActivity, progress_ToolActivitySchema as ToolActivitySchema, progress_clearActiveTools as clearActiveTools, progress_createProgress as createProgress, progress_formatTokens as formatTokens, progress_recordTokens as recordTokens, progress_recordToolResult as recordToolResult, progress_recordToolStart as recordToolStart, progress_recordToolUse as recordToolUse, progress_recordTurnComplete as recordTurnComplete, progress_summarizeActivities as summarizeActivities };
2822
+ type progress$1_ActiveTool = ActiveTool;
2823
+ declare const progress$1_ActiveToolSchema: typeof ActiveToolSchema;
2824
+ type progress$1_AgentProgress = AgentProgress;
2825
+ declare const progress$1_AgentProgressSchema: typeof AgentProgressSchema;
2826
+ type progress$1_TeammateUIState = TeammateUIState;
2827
+ declare const progress$1_TeammateUIStateSchema: typeof TeammateUIStateSchema;
2828
+ type progress$1_ToolActivity = ToolActivity;
2829
+ declare const progress$1_ToolActivitySchema: typeof ToolActivitySchema;
2830
+ declare const progress$1_clearActiveTools: typeof clearActiveTools;
2831
+ declare const progress$1_createProgress: typeof createProgress;
2832
+ declare const progress$1_formatTokens: typeof formatTokens;
2833
+ declare const progress$1_recordTokens: typeof recordTokens;
2834
+ declare const progress$1_recordToolResult: typeof recordToolResult;
2835
+ declare const progress$1_recordToolStart: typeof recordToolStart;
2836
+ declare const progress$1_recordToolUse: typeof recordToolUse;
2837
+ declare const progress$1_recordTurnComplete: typeof recordTurnComplete;
2838
+ declare const progress$1_summarizeActivities: typeof summarizeActivities;
2839
+ declare namespace progress$1 {
2840
+ export { type progress$1_ActiveTool as ActiveTool, progress$1_ActiveToolSchema as ActiveToolSchema, type progress$1_AgentProgress as AgentProgress, progress$1_AgentProgressSchema as AgentProgressSchema, type progress$1_TeammateUIState as TeammateUIState, progress$1_TeammateUIStateSchema as TeammateUIStateSchema, type progress$1_ToolActivity as ToolActivity, progress$1_ToolActivitySchema as ToolActivitySchema, progress$1_clearActiveTools as clearActiveTools, progress$1_createProgress as createProgress, progress$1_formatTokens as formatTokens, progress$1_recordTokens as recordTokens, progress$1_recordToolResult as recordToolResult, progress$1_recordToolStart as recordToolStart, progress$1_recordToolUse as recordToolUse, progress$1_recordTurnComplete as recordTurnComplete, progress$1_summarizeActivities as summarizeActivities };
2838
2841
  }
2839
2842
 
2840
2843
  declare const StoredTaskStatusSchema: z$1.ZodEnum<{
@@ -2996,6 +2999,17 @@ declare namespace dependencies {
2996
2999
  export { dependencies_unresolvedTaskDependencies as unresolvedTaskDependencies, dependencies_validateTaskDependencies as validateTaskDependencies };
2997
3000
  }
2998
3001
 
3002
+ declare function taskProgress(tasks: readonly Task[]): {
3003
+ completed: number;
3004
+ total: number;
3005
+ label: string;
3006
+ };
3007
+
3008
+ declare const progress_taskProgress: typeof taskProgress;
3009
+ declare namespace progress {
3010
+ export { progress_taskProgress as taskProgress };
3011
+ }
3012
+
2999
3013
  interface Task {
3000
3014
  id: string;
3001
3015
  subject: string;
@@ -3057,7 +3071,7 @@ type index$n_TaskUpdates = TaskUpdates;
3057
3071
  type index$n_TodoInput = TodoInput;
3058
3072
  declare const index$n_mergeTaskMetadata: typeof mergeTaskMetadata;
3059
3073
  declare namespace index$n {
3060
- export { dependencies as Dependencies, store as Store, type index$n_Task as Task, type index$n_TaskBoard as TaskBoard, index$n_TaskList as TaskList, type index$n_TaskUpdates as TaskUpdates, type index$n_TodoInput as TodoInput, tools$2 as Tools, index$n_mergeTaskMetadata as mergeTaskMetadata };
3074
+ export { dependencies as Dependencies, progress as Progress, store as Store, type index$n_Task as Task, type index$n_TaskBoard as TaskBoard, index$n_TaskList as TaskList, type index$n_TaskUpdates as TaskUpdates, type index$n_TodoInput as TodoInput, tools$2 as Tools, index$n_mergeTaskMetadata as mergeTaskMetadata };
3061
3075
  }
3062
3076
 
3063
3077
  interface SharedTask extends Task {
@@ -3075,7 +3089,9 @@ declare class SharedTaskStore {
3075
3089
  private path;
3076
3090
  private nextId;
3077
3091
  private tasks;
3092
+ private listeners;
3078
3093
  constructor(path: string);
3094
+ subscribe(listener: (tasks: SharedTask[]) => void): () => void;
3079
3095
  private load;
3080
3096
  private save;
3081
3097
  private mutate;
@@ -3516,7 +3532,8 @@ declare class TeamTaskListTool extends TaskListTool {
3516
3532
  declare class TeamTaskUpdateTool extends TaskUpdateTool {
3517
3533
  constructor(manager: TeamManager, teamName?: string, agentName?: string, fallback?: TaskBoard);
3518
3534
  }
3519
- declare function registerLeaderTaskTools(registry: ToolRegistry, manager: TeamManager, fallback: TaskBoard): void;
3535
+ declare function registerLeaderTaskTools(registry: ToolRegistry, manager: TeamManager, fallback: TaskList, mode: "tasks" | "todos"): void;
3536
+ declare function subscribeLeaderTasks(manager: TeamManager, fallback: TaskList, listener: (tasks: Task[], boardId: string) => void): () => void;
3520
3537
 
3521
3538
  type taskTools_TeamTaskCreateTool = TeamTaskCreateTool;
3522
3539
  declare const taskTools_TeamTaskCreateTool: typeof TeamTaskCreateTool;
@@ -3527,8 +3544,9 @@ declare const taskTools_TeamTaskListTool: typeof TeamTaskListTool;
3527
3544
  type taskTools_TeamTaskUpdateTool = TeamTaskUpdateTool;
3528
3545
  declare const taskTools_TeamTaskUpdateTool: typeof TeamTaskUpdateTool;
3529
3546
  declare const taskTools_registerLeaderTaskTools: typeof registerLeaderTaskTools;
3547
+ declare const taskTools_subscribeLeaderTasks: typeof subscribeLeaderTasks;
3530
3548
  declare namespace taskTools {
3531
- export { taskTools_TeamTaskCreateTool as TeamTaskCreateTool, taskTools_TeamTaskGetTool as TeamTaskGetTool, taskTools_TeamTaskListTool as TeamTaskListTool, taskTools_TeamTaskUpdateTool as TeamTaskUpdateTool, taskTools_registerLeaderTaskTools as registerLeaderTaskTools };
3549
+ export { taskTools_TeamTaskCreateTool as TeamTaskCreateTool, taskTools_TeamTaskGetTool as TeamTaskGetTool, taskTools_TeamTaskListTool as TeamTaskListTool, taskTools_TeamTaskUpdateTool as TeamTaskUpdateTool, taskTools_registerLeaderTaskTools as registerLeaderTaskTools, taskTools_subscribeLeaderTasks as subscribeLeaderTasks };
3532
3550
  }
3533
3551
 
3534
3552
  declare class TeamCreateTool implements Tool {
@@ -3743,7 +3761,10 @@ declare class TeamManager {
3743
3761
  private permissionChecker?;
3744
3762
  private unsubscribePermissions?;
3745
3763
  private taskStores;
3764
+ private listeners;
3746
3765
  constructor(cwd: string, opts?: TeamManagerOptions);
3766
+ subscribe(listener: () => void): () => void;
3767
+ private emitChange;
3747
3768
  setPermissionChecker(checker: PermissionChecker): void;
3748
3769
  private teamKey;
3749
3770
  private teamDir;
@@ -3796,7 +3817,7 @@ declare const index$m_TeamManager: typeof TeamManager;
3796
3817
  type index$m_TeamManagerOptions = TeamManagerOptions;
3797
3818
  type index$m_TeamMode = TeamMode;
3798
3819
  declare namespace index$m {
3799
- export { type index$m_AgentEventCallback as AgentEventCallback, backend as Backend, coordinator$1 as Coordinator, fileLock as FileLock, fileMailbox as FileMailbox, type index$m_Member as Member, progress as Progress, protocol as Protocol, registry as Registry, type index$m_RunAgent as RunAgent, sharedTask as SharedTask, taskStop as TaskStop, taskTools as TaskTools, index$m_Team as Team, teamFile as TeamFile, index$m_TeamManager as TeamManager, type index$m_TeamManagerOptions as TeamManagerOptions, type index$m_TeamMode as TeamMode, tools$1 as Tools };
3820
+ export { type index$m_AgentEventCallback as AgentEventCallback, backend as Backend, coordinator$1 as Coordinator, fileLock as FileLock, fileMailbox as FileMailbox, type index$m_Member as Member, progress$1 as Progress, protocol as Protocol, registry as Registry, type index$m_RunAgent as RunAgent, sharedTask as SharedTask, taskStop as TaskStop, taskTools as TaskTools, index$m_Team as Team, teamFile as TeamFile, index$m_TeamManager as TeamManager, type index$m_TeamManagerOptions as TeamManagerOptions, type index$m_TeamMode as TeamMode, tools$1 as Tools };
3800
3821
  }
3801
3822
 
3802
3823
  declare function countMcpTools(registry: ToolRegistry): number;
@@ -3807,6 +3828,7 @@ declare function countMcpTools(registry: ToolRegistry): number;
3807
3828
  */
3808
3829
  declare function removeMcpTools(registry: ToolRegistry, serverNames?: ReadonlySet<string>): void;
3809
3830
  declare function createToolRegistry(cwd: string, taskList: TaskList, options?: {
3831
+ interactionMode?: "interactive" | "non-interactive";
3810
3832
  lspServers?: readonly LspServerConfig[];
3811
3833
  teamManager?: TeamManager;
3812
3834
  }): ToolRegistry;
@@ -5558,6 +5580,7 @@ interface RemoteAgentHandle {
5558
5580
  clearConversation(): void;
5559
5581
  }
5560
5582
  interface CreateRemoteAgentOptions {
5583
+ interactionMode?: "interactive" | "non-interactive";
5561
5584
  sandboxConfig?: SandboxYamlConfig;
5562
5585
  provider: ProviderConfig;
5563
5586
  cwd: string;
@@ -6139,13 +6162,13 @@ declare const BASH_DESCRIPTION = "Execute command in Bash; return stdout and std
6139
6162
  * run_in_background parameter and its guidance never advertise a capability
6140
6163
  * the current host cannot deliver.
6141
6164
  */
6142
- declare const BASH_BACKGROUND_DESCRIPTION = "- Set run_in_background to true to run the command in the background. The call returns a task ID immediately and the result arrives later as a task notification; do not poll or sleep waiting for it. Use this for long-running commands you do not need the result of right away. Use TaskStop with the task_id to kill a background command early. A foreground command that exceeds its timeout is moved to the background automatically instead of being killed, unless it is a bare sleep.";
6165
+ declare const BASH_BACKGROUND_DESCRIPTION = "- Set run_in_background to true to run the command in the background. The call returns a task ID immediately and the result arrives later as a task notification; do not poll or sleep waiting for it. Use this for long-running commands you do not need the result of right away. Use TaskStop with the task_id to kill a background command early. A foreground command that exceeds its timeout is moved to the background automatically instead of being killed.";
6143
6166
  declare const POWERSHELL_DESCRIPTION = "Execute command in PowerShell; return stdout and stderr. Recommended on Windows (powershell.exe); uses pwsh elsewhere.\n- timeout is in seconds: default 120, maximum 600. Each call starts a fresh, independent shell in the Agent's working directory; location, variables, and options do not persist.\n- Quote paths with spaces; use Set-Location -LiteralPath \"path\" in the same call. Separate independent commands. For dependencies, check $LASTEXITCODE for native commands and use -ErrorAction Stop for cmdlets; ; does not stop on failure. Do not assume PowerShell 7 syntax.\n- Prefer dedicated file/search tools over Get-Content, Select-String, or Write-Output. Scope recursion to a directory, not a drive root. Diagnose failures rather than retrying in Start-Sleep loops.\nGit: commit or push only when requested. Destructive operations (push --force, reset --hard, checkout ., clean -f, branch -D), amending, or skipping hooks/signing require explicit authorization; never bypass permission/hook denials. Prefer new commits. When committing, include Co-Authored-By: Yukino <usr161043261@outlook.com>.";
6144
6167
  /**
6145
6168
  * Appended to the PowerShell schema description only when background execution
6146
6169
  * is available; mirrors BASH_BACKGROUND_DESCRIPTION with PS-flavored wording.
6147
6170
  */
6148
- declare const POWERSHELL_BACKGROUND_DESCRIPTION = "- Set run_in_background to true to run the command in the background. The call returns a task ID immediately and the result arrives later as a task notification; do not poll or Start-Sleep waiting for it. Use this for long-running commands you do not need the result of right away. Use TaskStop with the task_id to kill a background command early. A foreground command that exceeds its timeout is moved to the background automatically instead of being killed, unless it is a bare Start-Sleep.";
6171
+ declare const POWERSHELL_BACKGROUND_DESCRIPTION = "- Set run_in_background to true to run the command in the background. The call returns a task ID immediately and the result arrives later as a task notification; do not poll or Start-Sleep waiting for it. Use this for long-running commands you do not need the result of right away. Use TaskStop with the task_id to kill a background command early. A foreground command that exceeds its timeout is moved to the background automatically instead of being killed.";
6149
6172
  declare const READ_FILE_DESCRIPTION = "Read text with 1-based display line numbers, or images (png, jpg, jpeg, gif, webp) as visual content; not directories.\n- file_path is absolute or relative to the Agent's working directory. offset skips lines (0-based, default 0); limit defaults to 2000 lines, with a 50KB text output cap. Displayed line 101 starts at offset=100. Follow continuation/readback instructions for partial output.\n- Images ignore offset/limit. A successful read refreshes the file-state cache used by EditFile/WriteFile; re-read after an external-change error.";
6150
6173
  declare const EDIT_FILE_DESCRIPTION = "Replace exact text in an existing file and return a diff. Prefer this over whole-file rewrites; batch disjoint changes in one edits array to read and write the file once.\n- file_path is absolute or relative to the Agent's working directory. ReadFile is required first; stale file-state errors require a fresh read and revised edit.\n- Each edits entry contains old_string and new_string, with optional replace_all. All matches use the original file; overlapping edits are rejected before writing. Merge overlapping changes into one entry.\n- old_string must be non-empty and unique unless replace_all=true (default false). LF and CRLF line endings match equivalently. Use enough context to disambiguate; preserve all other whitespace and exclude display line numbers. If matching fails, stray carriage returns in both edit strings are removed before retrying.\n- new_string must differ from old_string; an empty string deletes the match. The file's line endings and unchanged text are preserved.";
6151
6174
  declare const WRITE_FILE_DESCRIPTION = "Write complete UTF-8 content to file_path, creating parent directories and overwriting existing content. Use for new files or complete rewrites; prefer EditFile for targeted changes.\n- file_path is absolute or relative to the Agent's working directory. Existing files require ReadFile first; re-read if the cached state is stale.\n- content includes any desired trailing newline; an empty string creates or truncates an empty file. Avoid unrelated files or unsolicited documentation.";
@@ -6218,6 +6241,13 @@ declare namespace editFile {
6218
6241
  export { editFile_EditFileTool as EditFileTool };
6219
6242
  }
6220
6243
 
6244
+ declare function describeEditMismatch(content: string, oldString: string): string;
6245
+
6246
+ declare const editFileDiagnostics_describeEditMismatch: typeof describeEditMismatch;
6247
+ declare namespace editFileDiagnostics {
6248
+ export { editFileDiagnostics_describeEditMismatch as describeEditMismatch };
6249
+ }
6250
+
6221
6251
  declare class EnterWorktreeTool implements Tool {
6222
6252
  name: string;
6223
6253
  description: string;
@@ -6541,15 +6571,6 @@ interface CommandHandle {
6541
6571
  */
6542
6572
  background: (reason: BackgroundReason) => string | null;
6543
6573
  }
6544
- /**
6545
- * Whether a command may be *automatically* backgrounded on timeout. Bare
6546
- * sleeps are killed instead: backgrounding one would just hold a task slot
6547
- * until session end. Explicit run_in_background and manual Ctrl+B are always
6548
- * honored regardless of this gate. Only the first token is considered:
6549
- * `sleep 60` should die on timeout, but `npm run build && sleep 1` is a real
6550
- * workload worth keeping alive.
6551
- */
6552
- declare function isAutobackgroundingAllowed(command: string, disallowed: ReadonlySet<string>): boolean;
6553
6574
  declare function backgroundTaskName(command: string): string;
6554
6575
  declare function backgroundMessage(reason: BackgroundReason, taskId: string, timeout: number): string;
6555
6576
  /** Slice buf to at most maxBytes, ending on a UTF-8 character boundary. */
@@ -6635,13 +6656,12 @@ declare const shellBackground_createShellOutputFile: typeof createShellOutputFil
6635
6656
  declare const shellBackground_discardFd: typeof discardFd;
6636
6657
  declare const shellBackground_formatFinalResult: typeof formatFinalResult;
6637
6658
  declare const shellBackground_hasAnyForegroundTasks: typeof hasAnyForegroundTasks;
6638
- declare const shellBackground_isAutobackgroundingAllowed: typeof isAutobackgroundingAllowed;
6639
6659
  declare const shellBackground_openOutputFd: typeof openOutputFd;
6640
6660
  declare const shellBackground_readOutputFile: typeof readOutputFile;
6641
6661
  declare const shellBackground_sliceUtf8Safe: typeof sliceUtf8Safe;
6642
6662
  declare const shellBackground_unlinkQuiet: typeof unlinkQuiet;
6643
6663
  declare namespace shellBackground {
6644
- export { shellBackground_BACKGROUNDABLE_TOOL_NAMES as BACKGROUNDABLE_TOOL_NAMES, shellBackground_BACKGROUND_MAX_OUTPUT_BYTES as BACKGROUND_MAX_OUTPUT_BYTES, shellBackground_BACKGROUND_NOTIFICATION_BYTES as BACKGROUND_NOTIFICATION_BYTES, type shellBackground_BackgroundReason as BackgroundReason, type shellBackground_BackgroundableTool as BackgroundableTool, type shellBackground_CommandHandle as CommandHandle, shellBackground_SIZE_WATCHDOG_INTERVAL_MS as SIZE_WATCHDOG_INTERVAL_MS, type shellBackground_ShellExit as ShellExit, shellBackground_attachBackgroundTaskManager as attachBackgroundTaskManager, shellBackground_backgroundAllForegroundTasks as backgroundAllForegroundTasks, shellBackground_backgroundMessage as backgroundMessage, shellBackground_backgroundTaskName as backgroundTaskName, shellBackground_buildBackgroundBody as buildBackgroundBody, shellBackground_createShellOutputFile as createShellOutputFile, shellBackground_discardFd as discardFd, shellBackground_formatFinalResult as formatFinalResult, shellBackground_hasAnyForegroundTasks as hasAnyForegroundTasks, shellBackground_isAutobackgroundingAllowed as isAutobackgroundingAllowed, shellBackground_openOutputFd as openOutputFd, shellBackground_readOutputFile as readOutputFile, shellBackground_sliceUtf8Safe as sliceUtf8Safe, shellBackground_unlinkQuiet as unlinkQuiet };
6664
+ export { shellBackground_BACKGROUNDABLE_TOOL_NAMES as BACKGROUNDABLE_TOOL_NAMES, shellBackground_BACKGROUND_MAX_OUTPUT_BYTES as BACKGROUND_MAX_OUTPUT_BYTES, shellBackground_BACKGROUND_NOTIFICATION_BYTES as BACKGROUND_NOTIFICATION_BYTES, type shellBackground_BackgroundReason as BackgroundReason, type shellBackground_BackgroundableTool as BackgroundableTool, type shellBackground_CommandHandle as CommandHandle, shellBackground_SIZE_WATCHDOG_INTERVAL_MS as SIZE_WATCHDOG_INTERVAL_MS, type shellBackground_ShellExit as ShellExit, shellBackground_attachBackgroundTaskManager as attachBackgroundTaskManager, shellBackground_backgroundAllForegroundTasks as backgroundAllForegroundTasks, shellBackground_backgroundMessage as backgroundMessage, shellBackground_backgroundTaskName as backgroundTaskName, shellBackground_buildBackgroundBody as buildBackgroundBody, shellBackground_createShellOutputFile as createShellOutputFile, shellBackground_discardFd as discardFd, shellBackground_formatFinalResult as formatFinalResult, shellBackground_hasAnyForegroundTasks as hasAnyForegroundTasks, shellBackground_openOutputFd as openOutputFd, shellBackground_readOutputFile as readOutputFile, shellBackground_sliceUtf8Safe as sliceUtf8Safe, shellBackground_unlinkQuiet as unlinkQuiet };
6645
6665
  }
6646
6666
 
6647
6667
  declare const MAX_SHELL_OUTPUT_BYTES: number;
@@ -6778,7 +6798,7 @@ declare namespace writeFile {
6778
6798
  }
6779
6799
 
6780
6800
  declare namespace index$4 {
6781
- export { askUser as AskUser, bash as Bash, bingSearch as BingSearch, computerUse as ComputerUse, descriptions as Descriptions, diff as Diff, editFile as EditFile, enterWorktree as EnterWorktree, exitCodeHints as ExitCodeHints, exitPlanMode as ExitPlanMode, exitWorktree as ExitWorktree, fileMutationQueue as FileMutationQueue, fileStateCache as FileStateCache, glob as Glob, goal as Goal, grep as Grep, isDiffTool$1 as IsDiffTool, lsp as LSP, mcpCall as McpCall, powershell as PowerShell, readFile as ReadFile, registry$1 as Registry, searchOutput as SearchOutput, shellBackground as ShellBackground, shellOutput as ShellOutput, snippets as Snippets, syntheticOutput as SyntheticOutput, taskOutput as TaskOutput, toolSearch as ToolSearch, types$1 as Types, webFetch as WebFetch, webSearch as WebSearch, writeFile as WriteFile };
6801
+ export { askUser as AskUser, bash as Bash, bingSearch as BingSearch, computerUse as ComputerUse, descriptions as Descriptions, diff as Diff, editFile as EditFile, editFileDiagnostics as EditFileDiagnostics, enterWorktree as EnterWorktree, exitCodeHints as ExitCodeHints, exitPlanMode as ExitPlanMode, exitWorktree as ExitWorktree, fileMutationQueue as FileMutationQueue, fileStateCache as FileStateCache, glob as Glob, goal as Goal, grep as Grep, isDiffTool$1 as IsDiffTool, lsp as LSP, mcpCall as McpCall, powershell as PowerShell, readFile as ReadFile, registry$1 as Registry, searchOutput as SearchOutput, shellBackground as ShellBackground, shellOutput as ShellOutput, snippets as Snippets, syntheticOutput as SyntheticOutput, taskOutput as TaskOutput, toolSearch as ToolSearch, types$1 as Types, webFetch as WebFetch, webSearch as WebSearch, writeFile as WriteFile };
6782
6802
  }
6783
6803
 
6784
6804
  type PackageManager = "npm" | "yarn" | "pnpm";
@@ -6803,7 +6823,10 @@ declare namespace install {
6803
6823
 
6804
6824
  declare const PACKAGE_NAME = "@yukino.js/yukino";
6805
6825
  declare function isNewerVersion(candidate: string, current: string): boolean;
6806
- declare function getLatestVersion(signal?: AbortSignal): Promise<string>;
6826
+ declare function getLatestVersion({ tag, signal, }?: {
6827
+ tag?: string;
6828
+ signal?: AbortSignal;
6829
+ }): Promise<string>;
6807
6830
  declare function checkForUpdate(signal?: AbortSignal): Promise<string | undefined>;
6808
6831
 
6809
6832
  declare const versionCheck_PACKAGE_NAME: typeof PACKAGE_NAME;