@howone/agent-cli 0.5.5 → 0.5.6

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.
package/README.md CHANGED
@@ -33,8 +33,8 @@ howone workflows search "海报" && howone workflows run <app>/<workflow> --inpu
33
33
  (原来在 SDK 的 `.agents/skills`,拆仓时移过来了)。沙箱里 `howone init app` 生成的工作区直接带上这一份。
34
34
 
35
35
  `templates/vite/package.json` 里锁的 `@howone/sdk` 版本要和已发布的 SDK 一致。
36
- 模板自带无凭据的 `.npmrc`,把 `@howone/*` 指向 HowOne 私有 npm 仓库;使用者需在自己的
37
- npm 配置中提供该仓库的登录凭据,CLI 不会把 token 写进项目或模板。
36
+ 模板固定使用公共 npm 的 `@howone/sdk@3.0.0-beta.1`,无凭据的 `.npmrc` 将 `@howone/*`
37
+ 指向公共 npm,不需要配置华为云私仓凭据。CLI 升级只更新模板和 Skill,已有 App 的依赖不会自动改写。
38
38
 
39
39
  ## npm 安装
40
40
 
package/bin/index.mjs CHANGED
@@ -2346,12 +2346,12 @@ async function installTemplateDependencies(plan, json) {
2346
2346
  maxBuffer: 10 * 1024 * 1024
2347
2347
  });
2348
2348
  } catch (error) {
2349
- throw new CliError("E_DEP_INSTALL_FAILED", "Failed to install dependencies with bun. Check the install log below. For @howone/sdk 404/401/403 errors, verify the private @howone registry and credentials in your user npm config, then run bun install again. Do not put tokens in the project .npmrc.", {
2349
+ throw new CliError("E_DEP_INSTALL_FAILED", "Failed to install dependencies with bun. Check the install log below. The template SDK is available on public npm without private registry credentials. For @howone/sdk 404/401/403 errors, check the project @howone registry points to https://registry.npmjs.org/, then run bun install again.", {
2350
2350
  ...error && typeof error === "object" ? {
2351
2351
  stdout: "stdout" in error ? String(error.stdout ?? "") : void 0,
2352
2352
  stderr: "stderr" in error ? String(error.stderr ?? "") : void 0
2353
2353
  } : void 0,
2354
- registryHint: "https://devrepo.devcloud.cn-east-3.huaweicloud.com/artgalaxy/api/npm/"
2354
+ registryHint: "https://registry.npmjs.org/"
2355
2355
  });
2356
2356
  }
2357
2357
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@howone/agent-cli",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "private": false,
5
5
  "description": "HowOne CLI and agent skill installer for Codex and Claude.",
6
6
  "type": "module",
@@ -105,5 +105,5 @@ Only after the user explicitly agreed, having seen the preview.
105
105
  | `E_BUILD_FAILED` | build failed | read `details.build.log`, fix, push again |
106
106
  | `E_SEAL_FAILED` | version rejected before build (functions, entities) | read `details`, fix, push again |
107
107
  | `E_NOT_FOUND` | unknown app / version | re-check with `howone apps list` |
108
- | `E_DEP_INSTALL_FAILED` | template dependency install failed | check the private `@howone` registry credentials in the user's npm config, then run `bun install` again; do not change the SDK version to a public npm version |
108
+ | `E_DEP_INSTALL_FAILED` | template dependency install failed | CLI 0.5.6 templates use public npm SDK 3.0.0-beta.1. Check the project @howone scope points to https://registry.npmjs.org/ and retry bun install; do not ask for private registry credentials or repeat HowOne login. Older Apps retain their dependency/config: inspect their version evidence before migrating |
109
109
  | `E_NETWORK` | transport failed | the CLI retries transient read/sync failures at most twice; if it still fails, inspect `details.codes`, proxy and VPN routing. `--insecure` only affects API TLS verification. Keep the existing App and query its state before repeating a mutation whose response was lost |
@@ -1,2 +1,2 @@
1
- # HowOne SDK packages are private. Authentication stays in the user's npm config.
2
- @howone:registry=https://devrepo.devcloud.cn-east-3.huaweicloud.com/artgalaxy/api/npm/cn-east-3_089dae711d354487b1bdd954a2439bbe_npm_1/
1
+ # Download HowOne SDK from public npm; no private registry credentials are required.
2
+ @howone:registry=https://registry.npmjs.org/
@@ -9,7 +9,7 @@ Read this file once when entering the project, follow it during implementation,
9
9
  - Package manager: `bun`
10
10
  - Common commands: `bun run dev`, `bun run typecheck`, `bun run build`
11
11
  - The scaffold normally installs dependencies during `howone init app`. If `node_modules` is missing, run `bun install` before validation instead of treating missing binaries as code failures.
12
- - `@howone/sdk` uses the private registry configured in the project `.npmrc`. If it returns 404/401/403, check that registry and user-level credentials; do not downgrade to a public npm version or add credentials to project files.
12
+ - `@howone/sdk@3.0.0-beta.1` uses public npm through the project's `.npmrc`; no private registry credentials are required. A package download error is separate from HowOne login.
13
13
  - Default stack: React, Vite, TypeScript, Tailwind CSS, shadcn/ui-style components, `@howone/sdk`
14
14
 
15
15
  ## Source of Truth
@@ -14,7 +14,7 @@
14
14
  "dependencies": {
15
15
  "@base-ui/react": "^1.4.1",
16
16
  "@fontsource-variable/inter": "^5.2.8",
17
- "@howone/sdk": "2.0.0-beta.67",
17
+ "@howone/sdk": "3.0.0-beta.1",
18
18
  "@tailwindcss/vite": "^4.2.1",
19
19
  "class-variance-authority": "^0.7.1",
20
20
  "clsx": "^2.1.1",