cli-calctool 1.0.1 → 1.0.3

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 CHANGED
@@ -1,14 +1,12 @@
1
- # calctool — 按需生成万能计算工具
1
+ # cli-calctool
2
2
 
3
3
  从 CLI.Tax 安装并运行 calctool 技能:输入领域需求(如"我是财务,想要一个经营健康诊断工具"),
4
4
  生成可执行、可验证、可发布的在线计算工具——支持自定义指标、自定义公式逻辑、上传内容自动识别。
5
5
 
6
- ## 命令
6
+ ```bash
7
+ npx cli-calctool@latest install
8
+ ```
7
9
 
8
- - `npx <package-url> install [directory]` — 安装 skill 到当前 IDE
9
- - `npx <package-url> run` — 技能握手:capabilities + intake 提问,保存 CALCTOOL-REQUIREMENTS.json
10
+ Source: https://github.com/88208555/calctool-clitax.git
10
11
 
11
- ## 运行时
12
-
13
- `calctool.skill.request/1.0` 协议,端点 `https://cli.tax/KKyA6xljUX`,
14
- 操作:capabilities / help / intake / validate / compile-inline(确定性引擎定义生成)。
12
+ `calctool.skill.request/1.0` 协议,端点 `https://cli.tax/KKyA6xljUX`。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cli-calctool",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Calctool skill installer for CLI.Tax: generate a runnable online calculator from a domain need.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -8,12 +8,17 @@
8
8
  },
9
9
  "files": [
10
10
  "cli.mjs",
11
- "skill",
12
- "README.md"
11
+ "README.md",
12
+ "skill/SKILL.md",
13
+ "skill/skill.json"
13
14
  ],
14
15
  "engines": {
15
16
  "node": ">=18"
16
17
  },
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "https://github.com/88208555/calctool-clitax.git"
21
+ },
17
22
  "license": "UNLICENSED",
18
23
  "keywords": [
19
24
  "cli.tax",
package/skill/SKILL.md CHANGED
@@ -51,6 +51,10 @@ description: '按需生成「万能计算工具」:用户输入一个领域需
51
51
 
52
52
  不要用于:纯展示型页面(无计算)、与计算无关的 CRUD 后台。
53
53
 
54
+ ## Official catalog hops
55
+
56
+ After `capabilities`, read `officialCatalog`. Default allowlist is official skills. Call another skill only when its capability matches this demand. User-named extras enter only when the user names them; then confirm that skill's capabilities before invoke. Do not call chain-unrelated or self-extended skills.
57
+
54
58
  ## 核心原则
55
59
 
56
60
  1. **确定性计算**:正式数字由版本化确定性引擎(公式 AST + Decimal 运行时)产生;模型/OCR/AI 只产生候选、草稿与解释,绝不直接给出不可追溯的正式结果。
package/skill/skill.json CHANGED
@@ -2,9 +2,9 @@
2
2
  "name": "calctool",
3
3
  "displayName": "Calctool",
4
4
  "description": "按需生成「万能计算工具」:输入领域需求(如财务经营健康诊断),通过提问明确指标/公式/输入方式,生成可执行、可验证、可发布的在线计算工具——支持自定义指标、自定义公式、上传内容自动识别(Excel/OCR)、报告输出。",
5
- "schemaVersion": "cli.request/1.0",
5
+ "schemaVersion": "calctool.skill.request/1.0",
6
6
  "endpoint": "https://cli.tax/KKyA6xljUX",
7
7
  "method": "POST",
8
- "version": "v1.0.0",
8
+ "version": "v1.0.2",
9
9
  "type": "Skill"
10
10
  }