SourceCraft CLI releases
Current version
Version 0.0.105 (22/09/26)
- Added the
src pathscommand to view the paths the CLI stores its files at. - Added the following parameters to the
src auth logincommand:--reset-keys: Rotating shared IAM keys and resetting associated sessions in the current backend prior to logging in. This reset affects IAM sessions across different environments.--yes: Confirmation of key reset without a request.
- The model catalog is now updated every time OpenCode is launched. The load wait time is three seconds. If the catalog fails to load, the cached version will be used. Deleted the
--refresh-modelsparameter from thesrc code,src do,src codereview,src prdescription, andsrc skillcommands. - Deleted the
--pull-request-idparameter from thesrc prcommands. To specify a pull request, use its number: the value of theslugfield in thesrc pr list --jsonoutput. Thesrc pr getcommand also allows you to specify the name of the source branch, e.g.,src pr get feature-branch. - OpenCode has been updated to version 1.4.25.
Previous releases
Version 0.0.103 (15/09/26)
- Added the
src appseccommand branch for working with the results of repository security checks:src appsec defect <id>: Viewing a defect group by number in the interface and the statuses available for it.src appsec defect list: Viewing defect groups from the latest scan, filtered by analyzer type, status, severity level, rule name, and file path.src appsec defect set-status: Changing the status of one or more defect groups, with the option to add a comment.src appsec defect comment: Viewing the comments and event history of a defect group.src appsec defect comment add,src appsec defect comment edit, andsrc appsec defect comment delete: Adding comments, editing and deleting one's own comments.
- Added the
--refresh-modelsparameter for thesrc code,src do,src codereview,src prdescription, andsrc skillcommands, allowing you to immediately update the model catalog without waiting for the five-minute caching period to end. This catalog is checked when OpenCode starts. - For the
src pr add-commentcommand, added the ability to comment on individual lines or ranges of lines in pull request files. There are the following parameters for that:--path: File path relative to the repository root.--line: Starting line of the comment; the numbering starts from 1.--end-line: End line of the comment; by default, it is the same as--line.--side: Comparison side (targetorsource).
- The
src updatecommand now checks for updates of the CLI and installed OpenCode components. The--autoparameter allows you to install available updates without confirmation.
Version 0.0.99 (19/08/26)
- The model field list now includes only the
defaultmodel; thelegacymodel has been removed. Theds,ds-alt, anddefault-ccnames are retained asdefaultaliases. You do not need to update your current settings or change the--modelparameter value. - The
src code,src do,src codereview,src prdescription, andsrc skillcommands automatically provide the current model when starting OpenCode, even if additional OpenCode arguments are specified. If you explicitly declare a model using the-mor--modelparameter, the selected model is used. - Increased the model response timeout from five to ten minutes.
- Implemented tagging AI requests from CI tasks with the task ID from the
SOURCECRAFT_AI_JOB_IDvariable. This allows you to track which tasks consume neurocredits. This variable value cannot be modified externally. - Updated the built-in OpenCode settings. They will be applied automatically on the next launch.
Version 0.0.97 (07/08/26)
-
Added the
src apicommand for running authenticated requests to the SourceCraft REST API.Sending a request supports:
- Select an HTTP method (
-X). The default methods areGETfor requests with no parameters andPOSTfor requests with parameters. - Provide parameters (
-for-F). - Provide headers (
-H). - Read the request body from a file (
--input).
Processing a response supports:
- Output formatting as JSON (
--jsonor--json-compact) and with Go templates (-tor--template). - Response filtering using
jq(-qor--jq). - Pagination (
--paginateor--slurp). - Verbose request and response info for debugging (
-Vor--verbose).
- Select an HTTP method (
-
Added the following commands for managing pull request labels:
src pr labels: View labels.src pr add-label: Add labels.src pr remove-label: Remove labels.
-
Added the
src run artifacts <run> <workflow> <task> <cube>command to retrieve links to artifacts created in the specified cube as part of a CI execution. The command has an alias,src run list-artifacts. -
Restored the
src issue link-pr,src issue unlink-pr, andsrc issue linked-prscommands for managing links between issues and pull requests. -
Restored the
src issue link-issue,src issue unlink-issue, andsrc issue linked-issuescommands for managing links between issues. Thesrc issue add-link,src issue remove-link, andsrc issue list-linkscommands are preserved as aliases. -
Added the
--auto-open-browserparameter for thesrc auth logincommand to automatically open your browser when working in a non-interactive terminal. -
In the
src repo createcommand, the--nameparameter is now ignored as deprecated; the maximum repository description length is now 4,096 characters. -
In the
src issue create,src issue edit, andsrc pr editcommands, the maximum description length is now 64 KB. -
Added the
--sectionparameter for thesrc referencecommand to restrict a newSKILL.mdfile to a single command branch, e.g.,issueorpr.
Version 0.0.95 (13/07/26)
- Added the
--jsonand--json-compactparameters to thesrc auth loginandsrc auth statuscommands to output results in JSON format. - In the
src auth logincommand, fixed the issue where pressing Ctrl + C while entering a personal access token prevented the terminal from restoring the input character display mode. - The
src git-credential getcommand now correctly terminates correctly when encountering requests to unsupported hosts or protocols other than HTTPS. This allowsgitto correctly switch to the nextcredential helper.
Version 0.0.94 (08/06/26)
- Renamed commands used to manage links between tasks:
src issue link-issue→src issue add-linksrc issue unlink-issue→src issue remove-linksrc issue linked-issues→src issue list-links
- Deleted commands used to manage connections between pull requests and tasks:
src issue link-prsrc issue unlink-prsrc issue linked-prs
- Deleted the
src configcommand branch used to manage experimental features.
Version 0.0.92 (21/05/26)
-
Added context window usage estimate by category: system prompt, tools, AI skills, history, files, e.g.,
AGENTS.md, and MCP servers.The usage estimate is shown in the right sidebar and calculated based on the last request; therefore, the Usage by category metric is not present when a new session is started.
-
Added new commands for linking issues and pull requests:
- Viewing:
src issue linked-issues,src issue linked-prs. - Management:
src link-pr,src unlink-pr,src link-issue,src unlink-issue.
- Viewing:
-
Added support for logical conditions for label-based search, for example:
# Find issues with labels backend OR devops src issue list --label backend,devops # Find issues with labels devops AND k8s src issue list --label="devops & k8s" -
Fixed a login issue for new accounts when getting authorized via the SourceCraft domain.
Version 0.0.90 (23/04/26)
- To avoid possible malfunctions with OpenCode installed independently of SourceCraft, OpenCode now cannot occupy the standard
~/.opencode/bindirectory. - Fixed command description errors.
Version 0.0.89 (22/04/26)
Improved the installation algorithm.
Version 0.0.87 (22/04/26)
Released the first public version of the SourceCraft CLI.