@eaziz/prepare 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/README.md +1 -21
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -30,23 +30,9 @@ await fetch(`https://some-gateway.example.com${prepared.path}`, {
30
30
  });
31
31
  ```
32
32
 
33
- `compileRequest` 是 `prepare` 的别名。
34
-
35
- ## 发布
36
-
37
- 这是一个 public scoped package。`package.json` 已固定 `publishConfig.access` 为 `public`,发布前先确认当前账号拥有 `@provider` scope:
38
-
39
- ```bash
40
- npm login
41
- npm whoami
42
- npm publish
43
- ```
44
-
45
- 如果 `@provider` 不是你的账号或组织 scope,请把包名改成你拥有的 scope,例如 `@your-name/prepare`,再发布。
46
-
47
33
  ## 地址
48
34
 
49
- 不传地址时,结果只包含公开协议路径。SDK 不包含 Higress 或其他网关的路径常量。
35
+ 不传地址时,结果只包含公开协议路径。
50
36
 
51
37
  ```ts
52
38
  const prepared = prepare({
@@ -116,9 +102,3 @@ const profile: ModelProfile = {
116
102
  metadata: { catalogUpdatedAt: '2026-09-08' },
117
103
  };
118
104
  ```
119
-
120
- ## 开发
121
-
122
- ```bash
123
- npm test
124
- ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eaziz/prepare",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Compile semantic AI requests into provider wire-protocol requests without sending them.",
5
5
  "type": "module",
6
6
  "sideEffects": false,