@agentrun/sdk 0.0.3-test.21476828976 → 0.0.3-test.21479142580

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/dist/index.cjs CHANGED
@@ -8857,7 +8857,21 @@ init_control5();
8857
8857
  init_mcp();
8858
8858
 
8859
8859
  // src/index.ts
8860
- var VERSION = "0.0.1";
8860
+ init_log();
8861
+ var VERSION = "0.0.3-test.21479142580";
8862
+ if (!process.env.DISABLE_BREAKING_CHANGES_WARNING) {
8863
+ logger.warn(
8864
+ `\u5F53\u524D\u60A8\u6B63\u5728\u4F7F\u7528 AgentRun Node.js SDK \u7248\u672C ${VERSION}\u3002\u65E9\u671F\u7248\u672C\u901A\u5E38\u5305\u542B\u8BB8\u591A\u65B0\u529F\u80FD\uFF0C\u8FD9\u4E9B\u529F\u80FD\x1B[1;33m \u53EF\u80FD\u5F15\u5165\u4E0D\u517C\u5BB9\u7684\u53D8\u66F4 \x1B[0m\u3002\u4E3A\u907F\u514D\u6F5C\u5728\u95EE\u9898\uFF0C\u6211\u4EEC\u5F3A\u70C8\u5EFA\u8BAE\x1B[1;32m \u5C06\u4F9D\u8D56\u9501\u5B9A\u4E3A\u6B64\u7248\u672C \x1B[0m\u3002
8865
+ You are currently using AgentRun Node.js SDK version ${VERSION}. Early versions often include many new features, which\x1B[1;33m may introduce breaking changes\x1B[0m. To avoid potential issues, we strongly recommend \x1B[1;32mpinning the dependency to this version\x1B[0m.
8866
+ \x1B[2;3m npm install '@agentrun/sdk@${VERSION}' \x1B[0m
8867
+ \x1B[2;3m bun add '@agentrun/sdk@${VERSION}' \x1B[0m
8868
+
8869
+ \u589E\u52A0\x1B[2;3m DISABLE_BREAKING_CHANGES_WARNING=1 \x1B[0m\u5230\u60A8\u7684\u73AF\u5883\u53D8\u91CF\u4EE5\u5173\u95ED\u6B64\u8B66\u544A\u3002
8870
+ Add\x1B[2;3m DISABLE_BREAKING_CHANGES_WARNING=1 \x1B[0mto your environment variables to disable this warning.
8871
+
8872
+ Releases:\x1B[2;3m https://github.com/Serverless-Devs/agentrun-sdk-nodejs/releases \x1B[0m`
8873
+ );
8874
+ }
8861
8875
 
8862
8876
  exports.VERSION = VERSION;
8863
8877
  //# sourceMappingURL=index.cjs.map