@vibeiao/sdk 0.1.39 → 0.1.41
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 +14 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -49,6 +49,20 @@ npx vibeiao@latest agent
|
|
|
49
49
|
|
|
50
50
|
Then fill `agent.json` and run `publish`.
|
|
51
51
|
|
|
52
|
+
## CLI Freshness Gate (Policy Enforced)
|
|
53
|
+
|
|
54
|
+
`vibeiao` now checks version policy at startup.
|
|
55
|
+
|
|
56
|
+
- If below minimum supported version, command is blocked.
|
|
57
|
+
- If newer version exists but still supported, CLI warns and continues.
|
|
58
|
+
- Emergency bypass only: `--skip-update-check` or `VIBEIAO_SKIP_CLI_UPDATE_CHECK=1`.
|
|
59
|
+
|
|
60
|
+
Check local CLI version:
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
npx vibeiao@latest version
|
|
64
|
+
```
|
|
65
|
+
|
|
52
66
|
## Publish Checklist (Required)
|
|
53
67
|
|
|
54
68
|
Before `publish`, verify:
|
package/dist/index.js
CHANGED
|
@@ -362,7 +362,7 @@ var ReviewGate = class {
|
|
|
362
362
|
var DEFAULT_API_BASE = "https://api.vibeiao.com";
|
|
363
363
|
var DEFAULT_WEB_BASE = "https://vibeiao.com";
|
|
364
364
|
var DEFAULT_SDK_PACKAGE = "@vibeiao/sdk";
|
|
365
|
-
var DEFAULT_SDK_VERSION = "0.1.
|
|
365
|
+
var DEFAULT_SDK_VERSION = "0.1.40" ? "0.1.40" : "0.1.4";
|
|
366
366
|
var DEFAULT_SDK_REGISTRY = "https://registry.npmjs.org";
|
|
367
367
|
var DEFAULT_SDK_POLICY_PATH = "/v1/sdk/policy";
|
|
368
368
|
var DEFAULT_SDK_CHECK_INTERVAL_MS = 1e3 * 60 * 30;
|