AI CLI SchedulerSchedule your AI CLI. See what actually finished.
English | 日本語 VS Code 1.108+ · English / 日本語 · Version 0.1.1 Features | Getting started | Language support | Development A separate VS Code extension for scheduling coding agents through your usual terminal environment. Inspired by Copilot Scheduler, but observes command completion rather than treating a submitted prompt as success. Features
Install the extension as Getting startedUse a local VS Code 1.108 or later window with a trusted workspace. Install and authenticate your chosen CLI separately using its official instructions. This extension does not install agents or perform login. Build the local VSIX using the development commands below, then choose
Extensions: Install from VSIX... and select
For Marketplace installation, search for AI CLI Scheduler by yamapan in
Extensions, or run
If the icon is hidden, right-click the Activity Bar and enable AI CLI Scheduler. When upgrading from 0.1.0, VS Code may retain your previous view placement. Run View: Reset View Locations to restore default placements for all views, or use View: Move View to move only the scheduler task view to its dedicated sidebar. Saving a profile can authorize arbitrary local code, including shell startup files. Run now explicitly starts a task even when its automatic schedule is disabled. The extension creates a dedicated terminal per run. Your existing terminal is never reused. Shell Integration must support the required execution/output/end events; the UI explains blocked configurations. Aliases/functions must be defined in the selected shell's startup profile, not just typed into another terminal. Do not change execution policy or disable TLS verification to work around an unsupported setup. PowerShell requires 7.3 or newer; the dedicated terminal uses standard native
argument passing. Windows On Windows, if VS Code omits the detected shell type, the scheduler checks the owned terminal's process through a bounded, read-only OS query. It recognizes PowerShell only when that process has no child processes. If neither observation identifies the shell, no command is sent. Review the terminal profile. Direct mode is an explicit alternative only for native executables, not aliases or scripts. The scheduler does not guess the shell or silently switch modes. Commands
Configure from Copilot ChatIn GitHub Copilot Chat's Agent mode, enable the AI CLI Scheduler tools in the tool picker. These are VS Code Language Model Tools, not an external MCP server; no MCP configuration, server process or port is required.
Example: "List my AI CLI Scheduler profiles, then create a disabled weekday 09:00 Asia/Tokyo task using my chosen profile, prompt and working folder." You can also ask to change its schedule, disable it, or change the history limit. Tool availability depends on the Chat client's tool selection and policies. Changes request confirmation. Enabling a task allows future automatic CLI runs; it is separate from creating a disabled task. Folder approval, deletion and raw output persistence retain the extension's own confirmation dialogs. The tools cannot run or stop tasks, change executable profiles, set secrets, or bypass Workspace Trust. Use the management screen for those actions. The model must query first and submit the returned If Language supportThe extension follows VS Code's display language. Japanese ( Documentation: English | 日本語 Custom profiles
For
This is a partial configuration example, not a task to run during installation.
The gateway remains a separately installed project. Stdin keeps prompt text out
of its Windows argument re-quoting layer. PowerShell piping may append a newline.
For a new agent, choose Scheduling policiesSettings edits keep the snapshot from when the form opened. If another window changes the settings before or during saving, the save is rejected rather than overwriting it or re-enabling output persistence. Use Reset draft after saving or a conflict to load the latest settings, then reapply any intended changes. Reset draft discards unsaved input. History-only updates do not invalidate a UI settings draft; Chat changes still require the current store revision.
Retained output and final answers share an additional 4 MiB per-run budget and 16 MiB aggregate budget, separately for memory and persisted history (including JSON escaping). Oldest payloads are evicted first while history metadata remains; the UI marks affected output as truncated. Only one managed run is active across windows using the same extension storage. Manual runs do not consume the next scheduled occurrence. There are no automatic AI retries. The extension must be running; there is no OS scheduler registration. An invalid timezone blocks that task rather than silently changing its execution time. Results and stopping
Stop and timeout request cancellation of the owned run only. The scheduler never
calls Privacy and limitationsProfiles, task prompts and approved folders are stored in VS Code's user-local extension storage, not in the opened repository. Secrets use VS Code SecretStorage. Raw output may contain sensitive data; persistence is off by default. Native CLI histories and VS Code terminal history are controlled separately. Explicit secret values are redacted, but output is not guaranteed to be free of every possible secret. Terminal input/environment transport has a 24,000-character limit; direct
execution supports larger input subject to platform limits. Direct execution does
not resolve aliases or Windows Remote/WSL/container windows, existing chat continuation, automatic worktrees and execution after VS Code exits are not included. Shell support depends on runtime capability checks. Development uses dummy agents only: real AI/gateway end-to-end execution is not implied by fixture tests, nor is cross-OS support implied by a Windows run. See architecture and research sources for the execution contract, CLI permission prerequisites and detailed boundaries. Development
F5 launches an isolated Extension Development Host through the provided launch
configuration, retaining its development-only data under Do not publish, push release tags, register a daemon, or run AI tasks as part of
setup. Local VSIX artifacts belong under To regenerate the original extension icon on Windows, run
Feedback and related projects
Repository and issue links require access to this private repository. For public questions, use Marketplace Q&A. 日本語GitHub Copilot CLI、Codex CLI、Claude Code を VS Code から予約実行する拡張です。 VS Code の表示言語が日本語なら、コマンド・フォーム・実行履歴も日本語になります。
単発・cron 予約、手動実行、停止要求、実行履歴に対応します。予約は VS Code 起動中だけ動作します。 「成功」はコマンドの終了コード等の確認結果であり、回答やコードの正しさの保証ではありません。 生出力の永続保存は既定で無効、秘密値は SecretStorage で管理します。 PowerShell は 7.3 以降が必要です。Windows で shell 種別の通知がない場合は、専用端末の実プロセスを 読み取り確認します。確認できない場合は実行しません。実 AI や gateway を使う検証は行っていません。 詳細: 日本語 README(リポジトリへのアクセス権が必要)。 公開の問い合わせ先は Marketplace Q&A です。 |