@archsight/aios 1.0.1 → 1.2.0
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/.claude-plugin/marketplace.json +60 -0
- package/.claude-plugin/plugin.json +36 -0
- package/CHANGELOG.md +74 -2
- package/LICENSE +184 -21
- package/README.md +90 -39
- package/RELEASE_NOTES.md +27 -0
- package/adapters/README.md +7 -0
- package/adapters/workbuddy/README.md +43 -0
- package/agents/README.md +2 -1
- package/agents/euclid/constraints.md +2 -1
- package/agents/euclid/responsibilities.md +1 -1
- package/agents/euclid/role.md +1 -1
- package/agents/euclid/system-prompt.md +5 -2
- package/agents/euclid/workflow.md +3 -3
- package/bin/archsight-aios.mjs +489 -11
- package/docs/PUBLIC_DISCOVERY.md +193 -0
- package/docs/quickstart.md +2 -1
- package/gemini-extension.json +6 -0
- package/governance/README.md +3 -0
- package/governance/arbitration-protocol.md +153 -0
- package/package.json +52 -31
- package/runtime/README.md +7 -0
- package/runtime/agent-routing.md +41 -17
- package/runtime/archsight-aios.manifest.json +166 -61
- package/runtime/capability-adapters.json +27 -0
- package/runtime/capability-registry.json +468 -0
- package/runtime/capability-registry.schema.json +135 -0
- package/runtime/skill-routing.md +26 -13
- package/scripts/validate-skills.mjs +134 -0
- package/skills/README.md +25 -9
- package/skills/aios-arch/SKILL.md +62 -24
- package/skills/aios-ceo/SKILL.md +11 -8
- package/skills/aios-commercial-contract/SKILL.md +89 -0
- package/skills/aios-commercial-contract/agents/openai.yaml +4 -0
- package/skills/aios-commercial-tender/SKILL.md +89 -0
- package/skills/aios-commercial-tender/agents/openai.yaml +4 -0
- package/skills/aios-commercial-variation/SKILL.md +88 -0
- package/skills/aios-commercial-variation/agents/openai.yaml +4 -0
- package/skills/aios-construction-daily/SKILL.md +86 -0
- package/skills/aios-construction-daily/agents/openai.yaml +4 -0
- package/skills/aios-construction-meeting/SKILL.md +86 -0
- package/skills/aios-construction-meeting/agents/openai.yaml +4 -0
- package/skills/aios-construction-scheme/SKILL.md +79 -0
- package/skills/aios-construction-scheme/agents/openai.yaml +4 -0
- package/skills/aios-exec/SKILL.md +11 -8
- package/skills/aios-knowledge/SKILL.md +12 -9
- package/skills/aios-plan/SKILL.md +38 -28
- package/skills/aios-review/SKILL.md +12 -9
- package/skills/aios-runtime/SKILL.md +14 -11
- package/skills/aios-structural/SKILL.md +67 -0
- package/skills/aios-structural/agents/openai.yaml +4 -0
- package/templates/project-ai/.ai/ARCHSIGHT_AIOS_RULES.md +13 -10
- package/templates/project-ai/.ai/agent-routing.md +17 -12
- package/templates/project-ai/.ai/skills.md +28 -11
- package/templates/project-ai/.ai/workflows.md +13 -9
- package/workflows/README.md +5 -0
- package/workflows/architecture-review.md +44 -22
- package/workflows/feature-development.md +25 -19
- package/workflows/rag-pipeline.md +9 -5
- package/workflows/site-daily-loop.md +101 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "archsight",
|
|
3
|
+
"owner": {
|
|
4
|
+
"name": "ArchSightLabs"
|
|
5
|
+
},
|
|
6
|
+
"metadata": {
|
|
7
|
+
"description": "ArchSight AIOS 公共 skill marketplace / public marketplace for building-industry AI engineering skills."
|
|
8
|
+
},
|
|
9
|
+
"plugins": [
|
|
10
|
+
{
|
|
11
|
+
"name": "archsight-aios",
|
|
12
|
+
"description": "面向建筑行业知识工作从业者与 AI 研发团队的 Skills、Workflow 与多 Agent 工具包 / Building-industry AI agent skills for BIM, IFC, RAG, GraphRAG, project evidence work, code review, and runtime governance.",
|
|
13
|
+
"source": "./",
|
|
14
|
+
"category": "AI & Agent Building",
|
|
15
|
+
"tags": [
|
|
16
|
+
"agent-skills",
|
|
17
|
+
"construction-ai",
|
|
18
|
+
"building-ai",
|
|
19
|
+
"aec",
|
|
20
|
+
"bim",
|
|
21
|
+
"ifc",
|
|
22
|
+
"building-code",
|
|
23
|
+
"project-evidence-work",
|
|
24
|
+
"rag",
|
|
25
|
+
"graphrag",
|
|
26
|
+
"mcp",
|
|
27
|
+
"runtime-governance",
|
|
28
|
+
"codex",
|
|
29
|
+
"claude-code",
|
|
30
|
+
"gemini-cli",
|
|
31
|
+
"antigravity",
|
|
32
|
+
"workbuddy",
|
|
33
|
+
"architecture-review",
|
|
34
|
+
"code-review",
|
|
35
|
+
"design-review"
|
|
36
|
+
],
|
|
37
|
+
"repository": "https://github.com/ArchSightLabs/archsight-aios",
|
|
38
|
+
"homepage": "https://github.com/ArchSightLabs/archsight-aios",
|
|
39
|
+
"license": "Apache-2.0",
|
|
40
|
+
"keywords": [
|
|
41
|
+
"agent skills",
|
|
42
|
+
"construction AI",
|
|
43
|
+
"building code",
|
|
44
|
+
"building-industry AI",
|
|
45
|
+
"AEC AI",
|
|
46
|
+
"project evidence work",
|
|
47
|
+
"BIM",
|
|
48
|
+
"IFC",
|
|
49
|
+
"GraphRAG",
|
|
50
|
+
"architecture review",
|
|
51
|
+
"code review",
|
|
52
|
+
"runtime design",
|
|
53
|
+
"structural review",
|
|
54
|
+
"construction daily",
|
|
55
|
+
"tender review"
|
|
56
|
+
],
|
|
57
|
+
"skills": "./skills/"
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "archsight-aios",
|
|
3
|
+
"displayName": "ArchSight AIOS",
|
|
4
|
+
"version": "1.2.0",
|
|
5
|
+
"description": "面向建筑行业知识工作从业者与 AI 研发团队的 Skills、Workflow 与多 Agent 工具包 / Building-industry AI agent skills for BIM, IFC, RAG, GraphRAG, project evidence work, code review, and runtime governance.",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "ArchSightLabs",
|
|
8
|
+
"url": "https://github.com/ArchSightLabs"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://github.com/ArchSightLabs/archsight-aios",
|
|
11
|
+
"repository": "https://github.com/ArchSightLabs/archsight-aios",
|
|
12
|
+
"license": "Apache-2.0",
|
|
13
|
+
"keywords": [
|
|
14
|
+
"agent-skills",
|
|
15
|
+
"construction-ai",
|
|
16
|
+
"building-ai",
|
|
17
|
+
"aec",
|
|
18
|
+
"bim",
|
|
19
|
+
"ifc",
|
|
20
|
+
"building-code",
|
|
21
|
+
"project-evidence-work",
|
|
22
|
+
"rag",
|
|
23
|
+
"graphrag",
|
|
24
|
+
"mcp",
|
|
25
|
+
"runtime-governance",
|
|
26
|
+
"codex",
|
|
27
|
+
"claude-code",
|
|
28
|
+
"gemini-cli",
|
|
29
|
+
"antigravity",
|
|
30
|
+
"workbuddy",
|
|
31
|
+
"architecture-review",
|
|
32
|
+
"code-review",
|
|
33
|
+
"design-review"
|
|
34
|
+
],
|
|
35
|
+
"skills": "./skills/"
|
|
36
|
+
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,76 @@
|
|
|
1
|
-
# 变更记录
|
|
1
|
+
# 变更记录
|
|
2
|
+
|
|
3
|
+
## 1.2.0
|
|
4
|
+
|
|
5
|
+
### 发布说明
|
|
6
|
+
|
|
7
|
+
本版本把 AIOS 的定位从单纯“建筑 AI 研发工具包”扩展为面向建筑行业知识工作从业者与 AI 研发团队的技能包。除了 BIM / IFC、RAG / GraphRAG、智能审图、Runtime 和代码治理,也覆盖招投标、合同履约、施工日报、工程会议、变更签证和专项施工方案等工程资料证据链工作。
|
|
8
|
+
|
|
9
|
+
### 新增
|
|
10
|
+
|
|
11
|
+
- 新增 WorkBuddy 支持:`npx @archsight/aios install --target workbuddy --scope user` 会把 `aios-*` skills 安装到 `~/.workbuddy/skills/`。
|
|
12
|
+
- `install --target all --scope user` 现在会同时安装 WorkBuddy skills。
|
|
13
|
+
- 新增 `adapters/workbuddy/README.md`,说明 WorkBuddy 安装位置、调用示例和维护边界。
|
|
14
|
+
- 新增公共 skill 发现支撑:`gemini-extension.json`、`.claude-plugin/plugin.json`、`.claude-plugin/marketplace.json`、`docs/PUBLIC_DISCOVERY.md` 和 `scripts/validate-skills.mjs`。
|
|
15
|
+
- `package.json` 增加 `agent-skills`、`skills-sh`、`gemini-cli`、`workbuddy`、`building-ai`、`project-evidence-work` 等检索关键词。
|
|
16
|
+
|
|
17
|
+
### 调整
|
|
18
|
+
|
|
19
|
+
- 版本升级到 `1.2.0`,同步更新 npm package、Gemini extension、Claude plugin 和 runtime manifest。
|
|
20
|
+
- About / marketplace / manifest 描述改为默认中文、附带英文检索短语:面向建筑行业知识工作从业者与 AI 研发团队。
|
|
21
|
+
- README 增加 WorkBuddy 安装位置、公共发现说明和发布前验证命令。
|
|
22
|
+
|
|
23
|
+
### 验证
|
|
24
|
+
|
|
25
|
+
- `npm run validate:skills`
|
|
26
|
+
- `npm test`
|
|
27
|
+
- `npx skills add . --list`
|
|
28
|
+
- `node --check scripts\validate-skills.mjs`
|
|
29
|
+
- `npm pack --dry-run`
|
|
30
|
+
|
|
31
|
+
## 1.1.0
|
|
32
|
+
|
|
33
|
+
### 发布说明
|
|
34
|
+
|
|
35
|
+
本版本把 AIOS 从“规则 / Skill / Workflow 工具包”扩展到可调用本地确定性工具证据的治理闭环。重点新增 Capability Registry、Capability Adapter 和仲裁协议,并与 `archsight-solver` 的本地 stdio MCP tools 对齐,让 Euclid / `aios-structural` 在结构力学任务中能够要求或调用梁、平面框架、平面桁架求解结果,而不是由 LLM 直接口算工程结论。
|
|
36
|
+
|
|
37
|
+
本版本同时完成开源许可证和商业边界调整,为后续公开发布、商业使用和二次分发提供更清晰的法律与责任边界。
|
|
38
|
+
|
|
39
|
+
### 新增
|
|
40
|
+
|
|
41
|
+
- 新增 Capability Registry、Capability Registry Schema 和本地 Capability Adapter 配置,定义工具权限、输入 / 输出契约、证据字段和阻断规则。
|
|
42
|
+
- 新增 `governance/arbitration-protocol.md`,按人工硬约束、确定性工具、项目事实、结构化知识和 Agent 判断的证据等级仲裁交付结论。
|
|
43
|
+
- 新增 `aios-structural` Skill 和 Euclid 结构力学路由,用于梁、荷载、边界条件、FEM 输入输出、结构计算工具链和签审风险评审。
|
|
44
|
+
- 新增 `archsight-aios capability:call` 本地调用闭环:校验 Agent / Skill 权限、校验输入 schema、调用 stdio MCP tool、校验输出证据契约并返回仲裁 Decision。
|
|
45
|
+
- 新增对 `archsight-solver` 本地 MCP tools 的 AIOS Capability 对接:
|
|
46
|
+
- `solver.beam_deflection`
|
|
47
|
+
- `solver.beam_deflection_serviceability_check`
|
|
48
|
+
- `solver.frame_displacement`
|
|
49
|
+
- `solver.truss_member_force`
|
|
50
|
+
- 新增 CLI 测试覆盖 Capability 调用、MCP tool 映射、未授权 Agent 拒绝和项目模板校验。
|
|
51
|
+
|
|
52
|
+
### 调整
|
|
53
|
+
|
|
54
|
+
- 项目许可证从 MIT 升级为 Apache-2.0。
|
|
55
|
+
- README 增加商业边界说明,明确商业使用、二次分发、商标 / 品牌、托管服务、专有素材、支持和交付责任不随开源许可证自动授权。
|
|
56
|
+
- README 增加本地调用 `archsight-solver` 的 Capability 示例,并避免写死个人机器路径。
|
|
57
|
+
- `aios-arch`、`aios-review`、`aios-runtime`、`aios-exec` 等 Skill 增加 Capability / Tool Result / Evidence / Decision 的证据链要求。
|
|
58
|
+
- 架构评审、Feature 开发和 RAG Pipeline workflow 增加 Capability-backed arbitration 要求。
|
|
59
|
+
- 结构力学挠度限值校核统一使用 `solver.beam_deflection_serviceability_check`,不再暴露容易误读为强度或稳定承载力校核的 `solver.beam_capacity_check` 命名,明确它是正常使用挠度校核。
|
|
60
|
+
|
|
61
|
+
### 兼容性说明
|
|
62
|
+
|
|
63
|
+
- `solver.beam_capacity_check` 未进入正式发布接口;新接入必须使用 `solver.beam_deflection_serviceability_check`。
|
|
64
|
+
- `archsight-solver` 仍是本地可选 Adapter,不是 AIOS 安装的强依赖。没有相邻 solver 仓库或未设置 `ARCHSIGHT_SOLVER_HOME` 时,Capability 调用会报告本地 adapter cwd 不存在。
|
|
65
|
+
- 当前 MCP 对接仅声明本地 stdio 调用,不开放远程 HTTP / SSE / Gateway 鉴权模型。
|
|
66
|
+
|
|
67
|
+
### 验证
|
|
68
|
+
|
|
69
|
+
- `npm test`
|
|
70
|
+
- `npm run doctor`
|
|
71
|
+
- `npm run smoke:project`
|
|
72
|
+
- `npm pack --dry-run`
|
|
73
|
+
- 真实本地 MCP smoke:`solver.beam_deflection`、`solver.beam_deflection_serviceability_check`、`solver.frame_displacement`、`solver.truss_member_force`
|
|
2
74
|
|
|
3
75
|
## 1.0.1
|
|
4
76
|
|
|
@@ -41,5 +113,5 @@
|
|
|
41
113
|
|
|
42
114
|
- README 改为外部读者优先,先说明用途、适用人群、三步开始、项目生成内容和常用命令。
|
|
43
115
|
- `package.json` 补充 repository、keywords、homepage、issue tracker 和 MIT license。
|
|
44
|
-
- `aios-design` 将原先偏通用的视觉细节检查,调整为面向建筑行业工作台的“界面决策清晰度”,强调任务入口、证据定位、复核动作、状态反馈、长任务进度、失败恢复和实现验收。
|
|
116
|
+
- `aios-design` 将原先偏通用的视觉细节检查,调整为面向建筑行业工作台的“界面决策清晰度”,强调任务入口、证据定位、复核动作、状态反馈、长任务进度、失败恢复和实现验收。
|
|
45
117
|
- `design-review` workflow 补强图纸定位、模型定位、审查结论、长任务和专家复核检查项,并明确不替代通用 `frontend-design` 或 `frontend-generation`。
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,184 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction, and
|
|
10
|
+
distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by the copyright
|
|
13
|
+
owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all other entities
|
|
16
|
+
that control, are controlled by, or are under common control with that entity.
|
|
17
|
+
For the purposes of this definition, "control" means (i) the power, direct or
|
|
18
|
+
indirect, to cause the direction or management of such entity, whether by
|
|
19
|
+
contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
20
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
21
|
+
|
|
22
|
+
"You" (or "Your") shall mean an individual or Legal Entity exercising
|
|
23
|
+
permissions granted by this License.
|
|
24
|
+
|
|
25
|
+
"Source" form shall mean the preferred form for making modifications, including
|
|
26
|
+
but not limited to software source code, documentation source, and configuration
|
|
27
|
+
files.
|
|
28
|
+
|
|
29
|
+
"Object" form shall mean any form resulting from mechanical transformation or
|
|
30
|
+
translation of a Source form, including but not limited to compiled object code,
|
|
31
|
+
generated documentation, and conversions to other media types.
|
|
32
|
+
|
|
33
|
+
"Work" shall mean the work of authorship, whether in Source or Object form,
|
|
34
|
+
made available under the License, as indicated by a copyright notice that is
|
|
35
|
+
included in or attached to the work (an example is provided in the Appendix
|
|
36
|
+
below).
|
|
37
|
+
|
|
38
|
+
"Derivative Works" shall mean any work, whether in Source or Object form, that
|
|
39
|
+
is based on (or derived from) the Work and for which the editorial revisions,
|
|
40
|
+
annotations, elaborations, or other modifications represent, as a whole, an
|
|
41
|
+
original work of authorship. For the purposes of this License, Derivative Works
|
|
42
|
+
shall not include works that remain separable from, or merely link (or bind by
|
|
43
|
+
name) to the interfaces of, the Work and Derivative Works thereof.
|
|
44
|
+
|
|
45
|
+
"Contribution" shall mean any work of authorship, including the original version
|
|
46
|
+
of the Work and any modifications or additions to that Work or Derivative Works
|
|
47
|
+
thereof, that is intentionally submitted to Licensor for inclusion in the Work
|
|
48
|
+
by the copyright owner or by an individual or Legal Entity authorized to submit
|
|
49
|
+
on behalf of the copyright owner. For the purposes of this definition,
|
|
50
|
+
"submitted" means any form of electronic, verbal, or written communication sent
|
|
51
|
+
to the Licensor or its representatives, including but not limited to
|
|
52
|
+
communication on electronic mailing lists, source code control systems, and
|
|
53
|
+
issue tracking systems that are managed by, or on behalf of, the Licensor for
|
|
54
|
+
the purpose of discussing and improving the Work, but excluding communication
|
|
55
|
+
that is conspicuously marked or otherwise designated in writing by the copyright
|
|
56
|
+
owner as "Not a Contribution."
|
|
57
|
+
|
|
58
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf
|
|
59
|
+
of whom a Contribution has been received by Licensor and subsequently
|
|
60
|
+
incorporated within the Work.
|
|
61
|
+
|
|
62
|
+
2. Grant of Copyright License. Subject to the terms and conditions of this
|
|
63
|
+
License, each Contributor hereby grants to You a perpetual, worldwide,
|
|
64
|
+
non-exclusive, no-charge, royalty-free, irrevocable copyright license to
|
|
65
|
+
reproduce, prepare Derivative Works of, publicly display, publicly perform,
|
|
66
|
+
sublicense, and distribute the Work and such Derivative Works in Source or
|
|
67
|
+
Object form.
|
|
68
|
+
|
|
69
|
+
3. Grant of Patent License. Subject to the terms and conditions of this License,
|
|
70
|
+
each Contributor hereby grants to You a perpetual, worldwide, non-exclusive,
|
|
71
|
+
no-charge, royalty-free, irrevocable (except as stated in this section) patent
|
|
72
|
+
license to make, have made, use, offer to sell, sell, import, and otherwise
|
|
73
|
+
transfer the Work, where such license applies only to those patent claims
|
|
74
|
+
licensable by such Contributor that are necessarily infringed by their
|
|
75
|
+
Contribution(s) alone or by combination of their Contribution(s) with the Work
|
|
76
|
+
to which such Contribution(s) was submitted. If You institute patent litigation
|
|
77
|
+
against any entity (including a cross-claim or counterclaim in a lawsuit)
|
|
78
|
+
alleging that the Work or a Contribution incorporated within the Work
|
|
79
|
+
constitutes direct or contributory patent infringement, then any patent licenses
|
|
80
|
+
granted to You under this License for that Work shall terminate as of the date
|
|
81
|
+
such litigation is filed.
|
|
82
|
+
|
|
83
|
+
4. Redistribution. You may reproduce and distribute copies of the Work or
|
|
84
|
+
Derivative Works thereof in any medium, with or without modifications, and in
|
|
85
|
+
Source or Object form, provided that You meet the following conditions:
|
|
86
|
+
|
|
87
|
+
(a) You must give any other recipients of the Work or Derivative Works a copy of
|
|
88
|
+
this License; and
|
|
89
|
+
|
|
90
|
+
(b) You must cause any modified files to carry prominent notices stating that
|
|
91
|
+
You changed the files; and
|
|
92
|
+
|
|
93
|
+
(c) You must retain, in the Source form of any Derivative Works that You
|
|
94
|
+
distribute, all copyright, patent, trademark, and attribution notices from the
|
|
95
|
+
Source form of the Work, excluding those notices that do not pertain to any part
|
|
96
|
+
of the Derivative Works; and
|
|
97
|
+
|
|
98
|
+
(d) If the Work includes a "NOTICE" text file as part of its distribution, then
|
|
99
|
+
any Derivative Works that You distribute must include a readable copy of the
|
|
100
|
+
attribution notices contained within such NOTICE file, excluding those notices
|
|
101
|
+
that do not pertain to any part of the Derivative Works, in at least one of the
|
|
102
|
+
following places: within a NOTICE text file distributed as part of the
|
|
103
|
+
Derivative Works; within the Source form or documentation, if provided along
|
|
104
|
+
with the Derivative Works; or, within a display generated by the Derivative
|
|
105
|
+
Works, if and wherever such third-party notices normally appear. The contents
|
|
106
|
+
of the NOTICE file are for informational purposes only and do not modify the
|
|
107
|
+
License. You may add Your own attribution notices within Derivative Works that
|
|
108
|
+
You distribute, alongside or as an addendum to the NOTICE text from the Work,
|
|
109
|
+
provided that such additional attribution notices cannot be construed as
|
|
110
|
+
modifying the License.
|
|
111
|
+
|
|
112
|
+
You may add Your own copyright statement to Your modifications and may provide
|
|
113
|
+
additional or different license terms and conditions for use, reproduction, or
|
|
114
|
+
distribution of Your modifications, or for any such Derivative Works as a whole,
|
|
115
|
+
provided Your use, reproduction, and distribution of the Work otherwise complies
|
|
116
|
+
with the conditions stated in this License.
|
|
117
|
+
|
|
118
|
+
5. Submission of Contributions. Unless You explicitly state otherwise, any
|
|
119
|
+
Contribution intentionally submitted for inclusion in the Work by You to the
|
|
120
|
+
Licensor shall be under the terms and conditions of this License, without any
|
|
121
|
+
additional terms or conditions. Notwithstanding the above, nothing herein shall
|
|
122
|
+
supersede or modify the terms of any separate license agreement you may have
|
|
123
|
+
executed with Licensor regarding such Contributions.
|
|
124
|
+
|
|
125
|
+
6. Trademarks. This License does not grant permission to use the trade names,
|
|
126
|
+
trademarks, service marks, or product names of the Licensor, except as required
|
|
127
|
+
for reasonable and customary use in describing the origin of the Work and
|
|
128
|
+
reproducing the content of the NOTICE file.
|
|
129
|
+
|
|
130
|
+
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in
|
|
131
|
+
writing, Licensor provides the Work (and each Contributor provides its
|
|
132
|
+
Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
133
|
+
KIND, either express or implied, including, without limitation, any warranties or
|
|
134
|
+
conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
135
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
136
|
+
appropriateness of using or redistributing the Work and assume any risks
|
|
137
|
+
associated with Your exercise of permissions under this License.
|
|
138
|
+
|
|
139
|
+
8. Limitation of Liability. In no event and under no legal theory, whether in
|
|
140
|
+
tort (including negligence), contract, or otherwise, unless required by
|
|
141
|
+
applicable law (such as deliberate and grossly negligent acts) or agreed to in
|
|
142
|
+
writing, shall any Contributor be liable to You for damages, including any
|
|
143
|
+
direct, indirect, special, incidental, or consequential damages of any character
|
|
144
|
+
arising as a result of this License or out of the use or inability to use the
|
|
145
|
+
Work (including but not limited to damages for loss of goodwill, work stoppage,
|
|
146
|
+
computer failure or malfunction, or any and all other commercial damages or
|
|
147
|
+
losses), even if such Contributor has been advised of the possibility of such
|
|
148
|
+
damages.
|
|
149
|
+
|
|
150
|
+
9. Accepting Warranty or Additional Liability. While redistributing the Work or
|
|
151
|
+
Derivative Works thereof, You may choose to offer, and charge a fee for,
|
|
152
|
+
acceptance of support, warranty, indemnity, or other liability obligations
|
|
153
|
+
and/or rights consistent with this License. However, in accepting such
|
|
154
|
+
obligations, You may act only on Your own behalf and on Your sole
|
|
155
|
+
responsibility, not on behalf of any other Contributor, and only if You agree to
|
|
156
|
+
indemnify, defend, and hold each Contributor harmless for any liability incurred
|
|
157
|
+
by, or claims asserted against, such Contributor by reason of your accepting any
|
|
158
|
+
such warranty or additional liability.
|
|
159
|
+
|
|
160
|
+
END OF TERMS AND CONDITIONS
|
|
161
|
+
|
|
162
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
163
|
+
|
|
164
|
+
To apply the Apache License to your work, attach the following boilerplate
|
|
165
|
+
notice, with the fields enclosed by brackets "[]" replaced with your own
|
|
166
|
+
identifying information. (Don't include the brackets!) The text should be
|
|
167
|
+
enclosed in the appropriate comment syntax for the file format. We also
|
|
168
|
+
recommend that a file or class name and description of purpose be included on
|
|
169
|
+
the same "printed page" as the copyright notice for easier identification
|
|
170
|
+
within third-party archives.
|
|
171
|
+
|
|
172
|
+
Copyright 2026 ArchSightLabs
|
|
173
|
+
|
|
174
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
175
|
+
you may not use this file except in compliance with the License.
|
|
176
|
+
You may obtain a copy of the License at
|
|
177
|
+
|
|
178
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
179
|
+
|
|
180
|
+
Unless required by applicable law or agreed to in writing, software
|
|
181
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
182
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
183
|
+
See the License for the specific language governing permissions and
|
|
184
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
# ArchSight AIOS
|
|
2
2
|
|
|
3
|
-
ArchSight AIOS
|
|
3
|
+
ArchSight AIOS 是一套面向建筑行业知识工作从业者与 AI 研发团队的规则、Agent、Skill、Workflow 和项目接入工具包。它重点服务 BIM / IFC / Revit / CAD、施工视觉 AI、建筑规范知识库、GraphRAG、智能审图、工程资料证据链和 AI Coding 治理,让 Codex、Claude Code、Antigravity 2.0、WorkBuddy 等 AI Agent 工具在同一个项目或个人 skills 目录里读取同一套规则、项目上下文和验收要求。
|
|
4
4
|
|
|
5
|
-
AIOS 不是全行业项目模板集合。它保留通用的 AI 编码规则、Agent 路由、Workflow、项目 `.ai/`
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
AIOS 不是全行业项目模板集合。它保留通用的 AI 编码规则、Agent 路由、Workflow、项目 `.ai/` 上下文和交付验证能力,但真正的差异化能力集中在建筑行业语义、工程证据链、规范知识工程、Capability 工具证据和可复核的 AI 研发流程。
|
|
6
|
+
|
|
7
|
+
工程业务管理 Skill 只作为建筑工程资料治理的增强包,用于招投标、合同履约、施工日报、工程会议、变更签证和专项施工方案的证据链整理、风险提示和人工复核分流。它不是 HR、行政、财务或通用职能 Prompt 集合,也不替代法务、造价、监理、安全、项目经理、总工或专家签审。
|
|
8
|
+
|
|
9
|
+
## 设计目标
|
|
8
10
|
|
|
9
11
|
AIOS 的目标不是替代 Codex、Claude Code 或 Gemini 自带的通用工程能力,而是让它们在建筑行业平台研发中做出更专业的判断。它面向建筑行业架构师、博士 / 研究型团队和后端开发,把通用架构评审补足为面向 BIM / IFC、建筑规范、审图链路、知识库、RAG / GraphRAG、任务编排、审计证据和长期平台演进的工作方法。
|
|
10
12
|
|
|
@@ -66,42 +68,81 @@ npx @archsight/aios init --profile rag-knowledge
|
|
|
66
68
|
|
|
67
69
|
| 文件 / 目录 | 作用 |
|
|
68
70
|
| --- | --- |
|
|
69
|
-
| `AGENTS.md` | Codex 等 Agent 工具读取的项目入口。 |
|
|
70
|
-
| `CLAUDE.md` | Claude Code 读取的项目入口。 |
|
|
71
|
-
| `GEMINI.md` | Gemini 读取的项目入口。 |
|
|
72
|
-
| `AI_CODING_RULES.md` | 项目通用 AI 编码规则。 |
|
|
71
|
+
| `AGENTS.md` | Codex 等 Agent 工具读取的项目入口。 |
|
|
72
|
+
| `CLAUDE.md` | Claude Code 读取的项目入口。 |
|
|
73
|
+
| `GEMINI.md` | Gemini 读取的项目入口。 |
|
|
74
|
+
| `AI_CODING_RULES.md` | 项目通用 AI 编码规则。 |
|
|
73
75
|
| `.ai/ARCHSIGHT_AIOS_RULES.md` | ArchSight AIOS 补充规则。 |
|
|
74
76
|
| `.ai/project-context.md` | 项目事实、业务背景和边界。 |
|
|
75
77
|
| `.ai/agent-routing.md` | 不同任务该交给哪个 Agent / Skill。 |
|
|
76
78
|
| `.ai/skills.md` | 当前项目可用的 ArchSight Skills。 |
|
|
77
|
-
| `.ai/workflows.md` | 当前项目可用的 Workflow 和验收路径。 |
|
|
79
|
+
| `.ai/workflows.md` | 当前项目可用的 Workflow 和验收路径。 |
|
|
80
|
+
|
|
81
|
+
## Capability 与冲突仲裁
|
|
82
|
+
|
|
83
|
+
AIOS 的多 Agent 协作不应停留在 Prompt 角色扮演。Agent 提出架构、交付、规范、结构计算或安全判断时,必须尽量回到项目事实、结构化知识和确定性工具证据。
|
|
84
|
+
|
|
85
|
+
- `governance/arbitration-protocol.md` 定义证据优先级、Claim 契约、阻断规则和人工升级条件。
|
|
86
|
+
- `runtime/capability-registry.json` 定义最小 Capability 接口,例如测试 runner、规范查询、梁挠度、梁挠度限值校核、框架位移和桁架杆力求解器接口。
|
|
87
|
+
- `runtime/capability-adapters.json` 定义本地 stdio MCP Adapter 映射;AIOS 先按 Agent / Skill 权限校验,再调用 `archsight-solver` MCP Tool,并把结构化结果交给仲裁规则。
|
|
88
|
+
- `aios-structural` 提供 Euclid 结构力学评审入口,要求关键数值来自求解器、项目计算书或可复验脚本,而不是 LLM 口算。
|
|
78
89
|
|
|
79
90
|
## 常用命令
|
|
80
91
|
|
|
81
92
|
| 命令 | 用途 |
|
|
82
93
|
| --- | --- |
|
|
83
94
|
| `help` | 查看 CLI 帮助、可用命令和示例。 |
|
|
84
|
-
| `install` | 安装 ArchSight AIOS 用户级资产到 Codex、Antigravity 2.0、Gemini 和共享目录。 |
|
|
85
|
-
| `doctor` | 检查仓库资产、manifest、用户级安装、Skill 和 Workflow 是否一致。 |
|
|
86
|
-
| `init` | 给具体业务项目接入 AI 规则、`.ai/` 治理目录和可选行业 profile。 |
|
|
87
|
-
| `validate` | 验证项目接入模板能否生成并引用当前登记的 Skills / Workflows。 |
|
|
88
|
-
|
|
89
|
-
|
|
95
|
+
| `install` | 安装 ArchSight AIOS 用户级资产到 Codex、Antigravity 2.0、Gemini、WorkBuddy 和共享目录。 |
|
|
96
|
+
| `doctor` | 检查仓库资产、manifest、用户级安装、Skill 和 Workflow 是否一致。 |
|
|
97
|
+
| `init` | 给具体业务项目接入 AI 规则、`.ai/` 治理目录和可选行业 profile。 |
|
|
98
|
+
| `validate` | 验证项目接入模板能否生成并引用当前登记的 Skills / Workflows。 |
|
|
99
|
+
| `validate:skills` | 校验公共 skill 发现入口、frontmatter、跨 host manifest 和 npm metadata 是否一致。 |
|
|
100
|
+
| `capability:call` | 按 Capability Registry 权限边界调用本地 MCP Adapter,并输出 Tool Result 与仲裁 Decision。 |
|
|
101
|
+
|
|
102
|
+
本地调用 `archsight-solver` 示例:
|
|
103
|
+
|
|
104
|
+
```powershell
|
|
105
|
+
$env:ARCHSIGHT_SOLVER_HOME = "<archsight-solver 本地仓库绝对路径>"
|
|
106
|
+
npx @archsight/aios capability:call --capability solver.beam_deflection --agent euclid --skill aios-structural --input beam-input.json
|
|
107
|
+
npx @archsight/aios capability:call --capability solver.beam_deflection_serviceability_check --agent euclid --skill aios-structural --input beam-serviceability-input.json
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
如果 `archsight-aios` 和 `archsight-solver` 是同级目录,CLI 会默认尝试使用相邻的 `../archsight-solver`,通常无需设置 `ARCHSIGHT_SOLVER_HOME`。
|
|
111
|
+
|
|
112
|
+
## 安装位置
|
|
90
113
|
|
|
91
114
|
`install --target all --scope user` 会写入当前用户目录:
|
|
92
115
|
|
|
93
116
|
- Codex:`~/.codex/skills/`、`~/.codex/workflows/aios/`
|
|
94
|
-
- Gemini:`~/.gemini/GEMINI.md`、`~/.gemini/archsight-aios/`
|
|
95
|
-
- Antigravity 2.0:`~/.gemini/config/plugins/archsight-aios/`
|
|
96
|
-
- Antigravity 1.x legacy:仅当已存在 `~/.gemini/antigravity/` 时,写入 `~/.gemini/antigravity/skills/`;如果同时检测到 Antigravity 2.0 配置,也会额外写入 2.0 plugin 目录。
|
|
117
|
+
- Gemini:`~/.gemini/GEMINI.md`、`~/.gemini/archsight-aios/`
|
|
118
|
+
- Antigravity 2.0:`~/.gemini/config/plugins/archsight-aios/`
|
|
119
|
+
- Antigravity 1.x legacy:仅当已存在 `~/.gemini/antigravity/` 时,写入 `~/.gemini/antigravity/skills/`;如果同时检测到 Antigravity 2.0 配置,也会额外写入 2.0 plugin 目录。
|
|
120
|
+
- WorkBuddy:`~/.workbuddy/skills/`
|
|
97
121
|
|
|
98
122
|
`~/.agents/skills/` 和 `~/.agents/workflows/aios/` 是可选的通用 Agent 共享目录,不是所有 AI Agent 都会自动读取。需要这类兼容目录时,单独执行:
|
|
99
123
|
|
|
100
|
-
```bash
|
|
101
|
-
npx @archsight/aios install --target agents --scope user
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
|
|
124
|
+
```bash
|
|
125
|
+
npx @archsight/aios install --target agents --scope user
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
WorkBuddy 固定读取个人 skills 目录,可单独安装:
|
|
129
|
+
|
|
130
|
+
```bash
|
|
131
|
+
npx @archsight/aios install --target workbuddy --scope user
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
## 公共发现
|
|
135
|
+
|
|
136
|
+
AIOS 保留标准 `skills/` 目录作为公共发现入口,供 `skills.sh`、`npx skills`、Antigravity / agy、Gemini CLI extension、Claude Code plugin marketplace、WorkBuddy 和第三方索引器扫描。
|
|
137
|
+
|
|
138
|
+
```powershell
|
|
139
|
+
npx skills add ArchSightLabs/archsight-aios --list
|
|
140
|
+
npx skills add ArchSightLabs/archsight-aios --skill aios-arch --global
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
跨 host 发现元数据包括根目录 `gemini-extension.json`、`.claude-plugin/plugin.json`、`.claude-plugin/marketplace.json` 和 `package.json` 的 `agent-skills` / `skills-sh` / `gemini-cli` 等关键词。公共发现、GitHub topics、索引请求和发布前检查见 [公共发现与上架清单](docs/PUBLIC_DISCOVERY.md)。
|
|
144
|
+
|
|
145
|
+
## init 默认行为
|
|
105
146
|
|
|
106
147
|
`init` 默认使用 `--mode auto`:
|
|
107
148
|
|
|
@@ -129,11 +170,13 @@ npx @archsight/aios init --mode ai-only
|
|
|
129
170
|
如果是从源码仓库运行,而不是通过 npm 包运行:
|
|
130
171
|
|
|
131
172
|
```bash
|
|
132
|
-
npm run install:user
|
|
133
|
-
npm run doctor
|
|
134
|
-
npm run smoke:project
|
|
135
|
-
npm
|
|
136
|
-
|
|
173
|
+
npm run install:user
|
|
174
|
+
npm run doctor
|
|
175
|
+
npm run smoke:project
|
|
176
|
+
npm run validate:skills
|
|
177
|
+
npx skills add . --list
|
|
178
|
+
npm test
|
|
179
|
+
```
|
|
137
180
|
|
|
138
181
|
## 核心材料
|
|
139
182
|
|
|
@@ -143,14 +186,22 @@ npm test
|
|
|
143
186
|
- [AI 编码规范](AI_CODING_RULES.md)
|
|
144
187
|
- [Agents](agents/README.md)
|
|
145
188
|
- [Skills](skills/README.md)
|
|
146
|
-
- [Workflows](workflows/README.md)
|
|
147
|
-
- [Templates](templates/README.md)
|
|
148
|
-
- [Runtime 路由](runtime/agent-routing.md)
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
-
|
|
155
|
-
-
|
|
156
|
-
-
|
|
189
|
+
- [Workflows](workflows/README.md)
|
|
190
|
+
- [Templates](templates/README.md)
|
|
191
|
+
- [Runtime 路由](runtime/agent-routing.md)
|
|
192
|
+
- [WorkBuddy 适配说明](adapters/workbuddy/README.md)
|
|
193
|
+
- [公共发现与上架清单](docs/PUBLIC_DISCOVERY.md)
|
|
194
|
+
|
|
195
|
+
## 开源协作
|
|
196
|
+
|
|
197
|
+
- 许可证:[Apache-2.0](LICENSE)
|
|
198
|
+
- 贡献说明:[CONTRIBUTING.md](CONTRIBUTING.md)
|
|
199
|
+
- 安全问题:[SECURITY.md](SECURITY.md)
|
|
200
|
+
- 行为准则:[CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md)
|
|
201
|
+
- 变更记录:[CHANGELOG.md](CHANGELOG.md)
|
|
202
|
+
|
|
203
|
+
### 商业边界
|
|
204
|
+
|
|
205
|
+
- Apache-2.0 允许商业使用、修改、分发和私有部署;分发时需保留版权声明、许可证文本和必要 NOTICE,并遵守 Apache-2.0 的专利与免责声明条款。
|
|
206
|
+
- 许可证只覆盖本仓库开源内容,不授权 ArchSightLabs / ArchSight 商标、品牌资产、托管服务、专有数据集、客户案例、商业支持、SLA 或任何第三方受限素材。
|
|
207
|
+
- 基于 AIOS 提供商业产品、咨询或二次分发时,不得暗示官方认证、代理、合作或背书;工程结论、合规责任和客户交付责任由使用方自行承担。
|
package/RELEASE_NOTES.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Release Notes
|
|
2
|
+
|
|
3
|
+
## 1.2.0
|
|
4
|
+
|
|
5
|
+
本版本把 AIOS 的定位从单纯“建筑 AI 研发工具包”扩展为面向建筑行业知识工作从业者与 AI 研发团队的技能包。除了 BIM / IFC、RAG / GraphRAG、智能审图、Runtime 和代码治理,也覆盖招投标、合同履约、施工日报、工程会议、变更签证和专项施工方案等工程资料证据链工作。
|
|
6
|
+
|
|
7
|
+
### 新增
|
|
8
|
+
|
|
9
|
+
- 新增 WorkBuddy 支持:`npx @archsight/aios install --target workbuddy --scope user` 会把 `aios-*` skills 安装到 `~/.workbuddy/skills/`。
|
|
10
|
+
- `install --target all --scope user` 现在会同时安装 WorkBuddy skills。
|
|
11
|
+
- 新增 `adapters/workbuddy/README.md`,说明 WorkBuddy 安装位置、调用示例和维护边界。
|
|
12
|
+
- 新增公共 skill 发现支撑:`gemini-extension.json`、`.claude-plugin/plugin.json`、`.claude-plugin/marketplace.json`、`docs/PUBLIC_DISCOVERY.md` 和 `scripts/validate-skills.mjs`。
|
|
13
|
+
- `package.json` 增加 `agent-skills`、`skills-sh`、`gemini-cli`、`workbuddy`、`building-ai`、`project-evidence-work` 等检索关键词。
|
|
14
|
+
|
|
15
|
+
### 调整
|
|
16
|
+
|
|
17
|
+
- 版本升级到 `1.2.0`,同步更新 npm package、Gemini extension、Claude plugin 和 runtime manifest。
|
|
18
|
+
- About / marketplace / manifest 描述改为默认中文、附带英文检索短语:面向建筑行业知识工作从业者与 AI 研发团队。
|
|
19
|
+
- README 增加 WorkBuddy 安装位置、公共发现说明和发布前验证命令。
|
|
20
|
+
|
|
21
|
+
### 验证
|
|
22
|
+
|
|
23
|
+
- `npm run validate:skills`
|
|
24
|
+
- `npm test`
|
|
25
|
+
- `npx skills add . --list`
|
|
26
|
+
- `node --check scripts\validate-skills.mjs`
|
|
27
|
+
- `npm pack --dry-run`
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# WorkBuddy 适配说明
|
|
2
|
+
|
|
3
|
+
WorkBuddy 可以从个人 skills 目录读取 Markdown skill。ArchSight AIOS 可以直接安装到 `~/.workbuddy/skills/<skill-name>/SKILL.md`,作为可按需加载的建筑 AI 研发技能包。
|
|
4
|
+
|
|
5
|
+
## 安装
|
|
6
|
+
|
|
7
|
+
安装 AIOS skills:
|
|
8
|
+
|
|
9
|
+
```powershell
|
|
10
|
+
npx @archsight/aios install --target workbuddy --scope user
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
`install --target all --scope user` 也会安装 WorkBuddy skills。
|
|
14
|
+
|
|
15
|
+
## 安装位置
|
|
16
|
+
|
|
17
|
+
| 模式 | 位置 |
|
|
18
|
+
| --- | --- |
|
|
19
|
+
| 个人目录 | `~/.workbuddy/skills/<skill-name>/SKILL.md` |
|
|
20
|
+
|
|
21
|
+
WorkBuddy 目标固定写入个人目录;不区分项目级目录。AIOS CLI 仍保留统一参数形式,所以命令中需要写 `--scope user`。
|
|
22
|
+
|
|
23
|
+
## 使用
|
|
24
|
+
|
|
25
|
+
在 WorkBuddy 中按 skill 名称调用或明确指定要使用的 AIOS 工具:
|
|
26
|
+
|
|
27
|
+
```text
|
|
28
|
+
使用 aios-arch skill 评审这个 BIM 平台方案的服务边界、数据归属和长期复杂度。
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
```text
|
|
32
|
+
使用 aios-review skill 审查这个 PR 的安全、测试缺口和发布风险。
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
```text
|
|
36
|
+
使用 aios-construction-daily skill 整理这份施工日报的异常、责任人和待确认事项。
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## 维护建议
|
|
40
|
+
|
|
41
|
+
- WorkBuddy 只需要读取 `SKILL.md`,不需要额外放宽工具权限。
|
|
42
|
+
- AIOS 是建筑行业增强层;普通非建筑任务不要强行套 BIM、IFC、规范或审图假设。
|
|
43
|
+
- 如果 WorkBuddy skill 列表过长,可只保留实际使用频率最高的 `aios-*` 目录。
|