@honor-claw/yoyo 2026.7.1-beta.7 → 2026.7.1-beta.8

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.
@@ -5,22 +5,19 @@ function t() {
5
5
  let { envInfo: t, grayTag: n } = e(), r;
6
6
  switch (t.env) {
7
7
  case "dev":
8
- r = {
9
- clawCloud: "omni-dev-drcn.hiboard.hihonorcloud.com",
10
- ics: "api-agd-test-drcn.hiboard.hihonorcloud.com"
11
- };
8
+ r = { clawCloud: "omni-dev-drcn.hiboard.hihonorcloud.com" };
12
9
  break;
13
10
  case "test":
14
- r = {
15
- clawCloud: "omni-pre-drcn.hiboard.hihonorcloud.com",
16
- ics: "api-agd-test-drcn.hiboard.hihonorcloud.com"
17
- };
11
+ r = { clawCloud: "omni-pre-drcn.hiboard.hihonorcloud.com" };
12
+ break;
13
+ case "sit":
14
+ r = { clawCloud: "omni-sit-drcn.hiboard.hihonorcloud.com" };
15
+ break;
16
+ case "auto":
17
+ r = { clawCloud: "omni-auto-drcn.hiboard.hihonorcloud.com" };
18
18
  break;
19
19
  default:
20
- r = {
21
- clawCloud: "yoyoclaw-drcn.hiboard.hihonorcloud.com",
22
- ics: "api-prd-drcn.hiboard.hihonorcloud.com"
23
- };
20
+ r = { clawCloud: "yoyoclaw-drcn.hiboard.hihonorcloud.com" };
24
21
  break;
25
22
  }
26
23
  return n && (r.grayTag = n), r;
@@ -7,12 +7,12 @@ var a = {
7
7
  manual: "manual config"
8
8
  };
9
9
  function o(o, s) {
10
- s.command("env").description("Manage runtime environment (dev/test/production)").option("--set <env>", "Set environment: dev, test or production").option("--gray <tag>", "Set gray header").option("--reset", "Reset env source to environment variable").action(async (s) => e(o.runtime, async () => {
10
+ s.command("env").description("Manage runtime environment (dev/test/sit/auto/production)").option("--set <env>", "Set environment: dev, test, sit, auto or production").option("--gray <tag>", "Set gray header").option("--reset", "Reset env source to environment variable").action(async (s) => e(o.runtime, async () => {
11
11
  let { set: e, gray: o, reset: c } = s;
12
12
  try {
13
13
  if (c && (await n(), console.log("✅ Environment source reset to environment variable")), e) {
14
- if (e !== "test" && e !== "dev" && e !== "production") {
15
- console.error("❌ Invalid environment. Use 'dev', 'test' or 'production'.");
14
+ if (e !== "test" && e !== "dev" && e !== "sit" && e !== "auto" && e !== "production") {
15
+ console.error("❌ Invalid environment. Use 'dev', 'test', 'sit', 'auto' or 'production'.");
16
16
  return;
17
17
  }
18
18
  await r(e), console.log(`✅ Environment set to: ${e}`);
package/dist/schemas.mjs CHANGED
@@ -18,6 +18,8 @@ var t = e.object({
18
18
  env: e.enum([
19
19
  "dev",
20
20
  "test",
21
+ "sit",
22
+ "auto",
21
23
  "production"
22
24
  ]),
23
25
  source: e.enum(["env", "manual"])
@@ -25,6 +27,8 @@ var t = e.object({
25
27
  env: e.enum([
26
28
  "dev",
27
29
  "test",
30
+ "sit",
31
+ "auto",
28
32
  "production"
29
33
  ]).optional(),
30
34
  gray: e.string().optional()
@@ -8,6 +8,8 @@ var e = {
8
8
  dev: "dev",
9
9
  pre: "test",
10
10
  test: "test",
11
+ sit: "sit",
12
+ auto: "auto",
11
13
  prd: "production",
12
14
  production: "production"
13
15
  };
@@ -57,7 +57,7 @@
57
57
  "properties": {
58
58
  "env": {
59
59
  "type": "string",
60
- "enum": ["dev", "test", "production"]
60
+ "enum": ["dev", "test", "sit", "auto", "production"]
61
61
  },
62
62
  "source": {
63
63
  "type": "string",
@@ -69,7 +69,7 @@
69
69
  },
70
70
  "env": {
71
71
  "type": "string",
72
- "enum": ["dev", "test", "production"],
72
+ "enum": ["dev", "test", "sit", "auto", "production"],
73
73
  "description": "Deprecated: use envInfo instead"
74
74
  },
75
75
  "gray": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@honor-claw/yoyo",
3
- "version": "2026.7.1-beta.7",
3
+ "version": "2026.7.1-beta.8",
4
4
  "description": "OpenClaw Honor Yoyo connection plugin",
5
5
  "keywords": [
6
6
  "ai",