Add wrapper to be able to tie the version to a repository

未关闭
#2,280 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript

调研方向

Start by reading the repository's CLI entry points and configuration and installation documentation to understand how OpenSpec is currently installed, configured, and launched. Then assess how a repository-local wrapper could select and download a pinned version, support enterprise proxies, and handle committed profiles; done means those behaviors and their configuration are defined and work across repositories.

由索引模型根据 Issue 内容生成。

描述

enhancement needs-triage
The problem, in one or two sentences

If there are multiple people working on the same repo or I work on multiple repos with committed skills, there's always tool version vs skills version drift. And If skills are not committed, then there's always inconsistent behaviour between team members for the same repo, and still high chance of skills version vs tool version drift across multiple repos.

Who this affects

Anyone working on multiple repos and/or in a team environment.

Alternatives you considered

The only option really is to update everything at once, which is cumbersome and forcing team members to update is not viable as well.

Why it's worth the added complexity

It will fix version consistency issues across the team and multiple repos. And provide a way to configure the tool within a repo.

What you have in mind

There are very convenient wrappers, like e.g. Maven Wrapper or Gradle Wrapper, that allow you to drop a couple of scripts into your repo and use them instead of the tool. They wrap it, download the executable into a cache and run it.
The benefits are significant in my opinion:

  • it binds tool version to the config persisted in the repo, so it never drifts,
  • team members don't need any setup, it just works for them,
  • each repo can have it's own version and can be updated independently.
    It'd be convenient to have config (i.e. profiles) to be committed along in the repo as well. And for folks in enterprise it would be important to have an option to download executable from their corporate proxy.
主要语言
TypeScript
星标
76k
派生
5.2k
平均合并
1 天 5 小时
30 天内合并 PR
58

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Fission-AI/OpenSpec 的其他 Issue

查看 Fission-AI/OpenSpec 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。