@vibe-forge/workspace-assets 0.9.1-alpha.0 → 0.9.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.
package/AGENTS.md CHANGED
@@ -15,6 +15,8 @@
15
15
  - `resolveWorkspaceAssetBundle()`
16
16
  - `src/prompt-selection.ts`
17
17
  - `resolvePromptAssetSelection()`
18
+ - `src/prompt-builders.ts`
19
+ - rules / skills / specs / entities prompt 文本渲染
18
20
  - `src/adapter-asset-plan.ts`
19
21
  - `buildAdapterAssetPlan()`
20
22
  - `__tests__/bundle.spec.ts`
@@ -28,6 +30,7 @@
28
30
  - 本包负责:
29
31
  - workspace asset bundle 组装
30
32
  - prompt asset 选择
33
+ - prompt 文本拼装
31
34
  - adapter asset plan 组装
32
35
  - 本包不负责:
33
36
  - 定义文档发现与解析
@@ -37,7 +40,7 @@
37
40
  ## 维护约定
38
41
 
39
42
  - 只维护 workspace asset 领域逻辑;定义文档读取留在 `@vibe-forge/definition-loader`,cache 留在 `@vibe-forge/utils`。
40
- - 文档路径规范化与命名规则复用 `@vibe-forge/utils/document-path`,不要在本包重复维护。
43
+ - 通用路径处理复用 `@vibe-forge/utils`;definition 名称/标识/摘要与 remote rule 投影复用 `@vibe-forge/definition-core`;prompt builder 仍留在本包内维护。
41
44
  - 共享 contract 继续依赖 `@vibe-forge/types`,不要把 task / hooks / mcp 逻辑反向塞进来。
42
45
  - 新增 asset 类型、prompt 选择规则或 adapter 投影时,优先补对应职责下的 spec 文件,不要继续把单测堆回一个综合 spec。
43
46
  - 影响 bundle / prompt selection / adapter plan 整体投影时,同步检查 `workspace-assets-rich.snapshot.json`;必要时用 `pnpm -C packages/workspace-assets test -- --update` 更新快照。
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025-present Vibe-Forge.ai
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.