modelstudioai / modelstudioai/OpenAgentPack

Allow offline validation before provider credentials are configured

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

还没有人认领这个 Issue。

enhancement
主要语言
TypeScript
星标
23
派生
0
平均合并
23 小时 54 分钟
30 天内合并 PR
9

描述

Problem

agents validate performs no provider API calls, but the generated agents.yaml contains ${VAR_NAME} references that currently must resolve before validation completes. A new user therefore cannot validate the generated project until real provider credentials exist.

Desired outcome

Provide a safe validation path that checks YAML structure, references, and provider capability rules without requiring secret values or contacting a provider. Planning and applying must continue to require resolved credentials.

Acceptance criteria

  • A freshly generated project can run the documented offline validation flow without real credentials.
  • Missing variables are still reported clearly, but are classified separately from schema or reference errors.
  • plan, apply, sessions, and deployments continue to fail before network access when required credentials are unresolved.
  • CLI contract tests cover both offline validation and credential-required commands.
  • English and Chinese getting-started docs describe the final behavior.

贡献指南

打开贡献指南

从这里开始

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

调研方向

先从 agents validate CLI 流程及其契约测试入手,然后比较 planapply、会话和部署在访问网络前如何解析凭据。完成的标准是:新生成的项目支持文档中说明的离线验证,能够区分缺少的变量与 schema 或引用错误,为其他命令保留凭据检查,并更新英文和中文入门文档。

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

评估

技术栈
typescript
领域
cli, documentation, infrastructure, testing
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

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