vestigraph 0.2.0__tar.gz
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.
- vestigraph-0.2.0/CHANGELOG.md +15 -0
- vestigraph-0.2.0/CHANGELOG.zh-CN.md +15 -0
- vestigraph-0.2.0/LICENSE +201 -0
- vestigraph-0.2.0/MANIFEST.in +8 -0
- vestigraph-0.2.0/PKG-INFO +127 -0
- vestigraph-0.2.0/README.md +92 -0
- vestigraph-0.2.0/README.zh-CN.md +92 -0
- vestigraph-0.2.0/SECURITY.md +11 -0
- vestigraph-0.2.0/SECURITY.zh-CN.md +11 -0
- vestigraph-0.2.0/THIRD_PARTY_NOTICES.md +13 -0
- vestigraph-0.2.0/THIRD_PARTY_NOTICES.zh-CN.md +13 -0
- vestigraph-0.2.0/docs/AGENT_LOCAL.md +80 -0
- vestigraph-0.2.0/docs/AGENT_LOCAL.zh-CN.md +80 -0
- vestigraph-0.2.0/docs/CLI.md +37 -0
- vestigraph-0.2.0/docs/CLI.zh-CN.md +37 -0
- vestigraph-0.2.0/docs/HISTORY.md +44 -0
- vestigraph-0.2.0/docs/HISTORY.zh-CN.md +44 -0
- vestigraph-0.2.0/docs/INSTALLATION.md +75 -0
- vestigraph-0.2.0/docs/INSTALLATION.zh-CN.md +75 -0
- vestigraph-0.2.0/docs/PUBLIC_RELEASE.md +31 -0
- vestigraph-0.2.0/docs/PUBLIC_RELEASE.zh-CN.md +31 -0
- vestigraph-0.2.0/docs/README.md +19 -0
- vestigraph-0.2.0/docs/README.zh-CN.md +19 -0
- vestigraph-0.2.0/docs/RECOVERY.md +44 -0
- vestigraph-0.2.0/docs/RECOVERY.zh-CN.md +44 -0
- vestigraph-0.2.0/docs/TROUBLESHOOTING.md +43 -0
- vestigraph-0.2.0/docs/TROUBLESHOOTING.zh-CN.md +43 -0
- vestigraph-0.2.0/native/scan_core/Cargo.lock +260 -0
- vestigraph-0.2.0/native/scan_core/Cargo.toml +21 -0
- vestigraph-0.2.0/native/scan_core/LICENSE +201 -0
- vestigraph-0.2.0/native/scan_core/README.md +25 -0
- vestigraph-0.2.0/native/scan_core/README.zh-CN.md +25 -0
- vestigraph-0.2.0/native/scan_core/THIRD_PARTY.md +41 -0
- vestigraph-0.2.0/native/scan_core/THIRD_PARTY.zh-CN.md +41 -0
- vestigraph-0.2.0/native/scan_core/pyproject.toml +25 -0
- vestigraph-0.2.0/native/scan_core/src/lib.rs +357 -0
- vestigraph-0.2.0/native/scan_core/src/scan.rs +879 -0
- vestigraph-0.2.0/pyproject.toml +48 -0
- vestigraph-0.2.0/setup.cfg +4 -0
- vestigraph-0.2.0/tests/__init__.py +1 -0
- vestigraph-0.2.0/tests/autocapture_fakes.py +169 -0
- vestigraph-0.2.0/tests/backend_fakes.py +177 -0
- vestigraph-0.2.0/tests/conftest.py +39 -0
- vestigraph-0.2.0/tests/fixtures_capture_pipeline.py +61 -0
- vestigraph-0.2.0/tests/fixtures_capture_safety.py +82 -0
- vestigraph-0.2.0/tests/fixtures_legacy_imports.py +78 -0
- vestigraph-0.2.0/tests/fixtures_presentation.py +51 -0
- vestigraph-0.2.0/tests/fixtures_relocate_service.py +72 -0
- vestigraph-0.2.0/tests/fixtures_web_api_auth.py +33 -0
- vestigraph-0.2.0/tests/fixtures_web_api_history.py +45 -0
- vestigraph-0.2.0/tests/fixtures_web_browser.py +275 -0
- vestigraph-0.2.0/tests/gds_fixtures.py +696 -0
- vestigraph-0.2.0/tests/scan_transcript.py +93 -0
- vestigraph-0.2.0/tests/service_helpers.py +117 -0
- vestigraph-0.2.0/tests/test_agent_skills.py +203 -0
- vestigraph-0.2.0/tests/test_cli.py +128 -0
- vestigraph-0.2.0/tests/test_companion_register.py +401 -0
- vestigraph-0.2.0/tests/test_klayout_backend_package.py +322 -0
- vestigraph-0.2.0/tests/test_layout_roundtrip.py +38 -0
- vestigraph-0.2.0/tests/test_scan_backend.py +183 -0
- vestigraph-0.2.0/tests/test_scan_backend_engine.py +87 -0
- vestigraph-0.2.0/tests/test_scan_backpressure.py +169 -0
- vestigraph-0.2.0/tests/test_scan_equivalence.py +136 -0
- vestigraph-0.2.0/tests/test_setup.py +268 -0
- vestigraph-0.2.0/tests/test_standalone_install.py +42 -0
- vestigraph-0.2.0/tests/test_storage_recovery_safety.py +120 -0
- vestigraph-0.2.0/tests/test_storage_v2.py +703 -0
- vestigraph-0.2.0/tests/test_store.py +206 -0
- vestigraph-0.2.0/tests/test_web_api_auth.py +185 -0
- vestigraph-0.2.0/tests/test_web_api_history.py +330 -0
- vestigraph-0.2.0/tests/test_web_presentation.py +130 -0
- vestigraph-0.2.0/tests/test_web_static.py +51 -0
- vestigraph-0.2.0/tools/audit_public_artifacts.py +162 -0
- vestigraph-0.2.0/tools/check_agent_flow.py +97 -0
- vestigraph-0.2.0/tools/check_installed.py +117 -0
- vestigraph-0.2.0/vestigraph/__init__.py +3 -0
- vestigraph-0.2.0/vestigraph/__main__.py +3 -0
- vestigraph-0.2.0/vestigraph/agent_client.py +107 -0
- vestigraph-0.2.0/vestigraph/agent_contract.py +66 -0
- vestigraph-0.2.0/vestigraph/baseline_duplicates.py +54 -0
- vestigraph-0.2.0/vestigraph/capture_errors.py +19 -0
- vestigraph-0.2.0/vestigraph/capture_noop.py +33 -0
- vestigraph-0.2.0/vestigraph/capture_pipeline.py +327 -0
- vestigraph-0.2.0/vestigraph/capture_runtime.py +774 -0
- vestigraph-0.2.0/vestigraph/capture_spool.py +465 -0
- vestigraph-0.2.0/vestigraph/capture_thumbnail.py +102 -0
- vestigraph-0.2.0/vestigraph/cli.py +194 -0
- vestigraph-0.2.0/vestigraph/filelock.py +122 -0
- vestigraph-0.2.0/vestigraph/fingerprint.py +10 -0
- vestigraph-0.2.0/vestigraph/history_order.py +156 -0
- vestigraph-0.2.0/vestigraph/klink_extension.py +54 -0
- vestigraph-0.2.0/vestigraph/presentation.py +215 -0
- vestigraph-0.2.0/vestigraph/preview/__init__.py +7 -0
- vestigraph-0.2.0/vestigraph/preview/base.py +29 -0
- vestigraph-0.2.0/vestigraph/preview/budgets.py +30 -0
- vestigraph-0.2.0/vestigraph/preview/worker.py +16 -0
- vestigraph-0.2.0/vestigraph/service/__init__.py +6 -0
- vestigraph-0.2.0/vestigraph/service/agent.py +155 -0
- vestigraph-0.2.0/vestigraph/service/application.py +1238 -0
- vestigraph-0.2.0/vestigraph/service/capture_recovery.py +90 -0
- vestigraph-0.2.0/vestigraph/service/catalog.py +605 -0
- vestigraph-0.2.0/vestigraph/service/cli_commands.py +95 -0
- vestigraph-0.2.0/vestigraph/service/coordinator.py +720 -0
- vestigraph-0.2.0/vestigraph/service/cursors.py +69 -0
- vestigraph-0.2.0/vestigraph/service/dialogs.py +118 -0
- vestigraph-0.2.0/vestigraph/service/editors.py +80 -0
- vestigraph-0.2.0/vestigraph/service/errors.py +73 -0
- vestigraph-0.2.0/vestigraph/service/jobs.py +166 -0
- vestigraph-0.2.0/vestigraph/service/legacy_imports.py +306 -0
- vestigraph-0.2.0/vestigraph/service/paths.py +48 -0
- vestigraph-0.2.0/vestigraph/service/queries.py +169 -0
- vestigraph-0.2.0/vestigraph/service/skills.py +169 -0
- vestigraph-0.2.0/vestigraph/service/state.py +156 -0
- vestigraph-0.2.0/vestigraph/service/supervisor.py +302 -0
- vestigraph-0.2.0/vestigraph/service/thumbnails.py +97 -0
- vestigraph-0.2.0/vestigraph/storage/__init__.py +5 -0
- vestigraph-0.2.0/vestigraph/storage/adaptive.py +234 -0
- vestigraph-0.2.0/vestigraph/storage/changes.py +426 -0
- vestigraph-0.2.0/vestigraph/storage/engine.py +465 -0
- vestigraph-0.2.0/vestigraph/storage/errors.py +33 -0
- vestigraph-0.2.0/vestigraph/storage/evidence.py +173 -0
- vestigraph-0.2.0/vestigraph/storage/metadata.py +181 -0
- vestigraph-0.2.0/vestigraph/storage/object_access.py +168 -0
- vestigraph-0.2.0/vestigraph/storage/object_writer.py +336 -0
- vestigraph-0.2.0/vestigraph/storage/packs.py +178 -0
- vestigraph-0.2.0/vestigraph/storage/policy.py +29 -0
- vestigraph-0.2.0/vestigraph/storage/publish.py +37 -0
- vestigraph-0.2.0/vestigraph/storage/recovery.py +149 -0
- vestigraph-0.2.0/vestigraph/storage/summaries.py +193 -0
- vestigraph-0.2.0/vestigraph/storage/timing.py +141 -0
- vestigraph-0.2.0/vestigraph/store.py +966 -0
- vestigraph-0.2.0/vestigraph/thumbnail_diagnostics.py +72 -0
- vestigraph-0.2.0/vestigraph/ui.py +474 -0
- vestigraph-0.2.0/vestigraph/ui_model.py +432 -0
- vestigraph-0.2.0/vestigraph/vesti_codecs/__init__.py +1 -0
- vestigraph-0.2.0/vestigraph/vesti_codecs/bsdiff.py +263 -0
- vestigraph-0.2.0/vestigraph/vesti_codecs/contract.py +47 -0
- vestigraph-0.2.0/vestigraph/vesti_codecs/defaults.py +10 -0
- vestigraph-0.2.0/vestigraph/vesti_codecs/raw.py +14 -0
- vestigraph-0.2.0/vestigraph/vesti_codecs/registry.py +56 -0
- vestigraph-0.2.0/vestigraph/vesti_codecs/selection.py +74 -0
- vestigraph-0.2.0/vestigraph/vesti_codecs/services.py +36 -0
- vestigraph-0.2.0/vestigraph/vesti_codecs/zlib.py +22 -0
- vestigraph-0.2.0/vestigraph/vesti_formats/__init__.py +1 -0
- vestigraph-0.2.0/vestigraph/vesti_formats/changes.py +57 -0
- vestigraph-0.2.0/vestigraph/vesti_formats/contract.py +79 -0
- vestigraph-0.2.0/vestigraph/vesti_formats/defaults.py +28 -0
- vestigraph-0.2.0/vestigraph/vesti_formats/opaque.py +90 -0
- vestigraph-0.2.0/vestigraph/vesti_formats/readers.py +22 -0
- vestigraph-0.2.0/vestigraph/vesti_formats/recipe.py +32 -0
- vestigraph-0.2.0/vestigraph/vesti_formats/registry.py +228 -0
- vestigraph-0.2.0/vestigraph/vesti_formats/restore.py +36 -0
- vestigraph-0.2.0/vestigraph/vesti_formats/vesti_format_gds/__init__.py +1 -0
- vestigraph-0.2.0/vestigraph/vesti_formats/vesti_format_gds/changes.py +315 -0
- vestigraph-0.2.0/vestigraph/vesti_formats/vesti_format_gds/fingerprint.py +85 -0
- vestigraph-0.2.0/vestigraph/vesti_formats/vesti_format_gds/handler.py +84 -0
- vestigraph-0.2.0/vestigraph/vesti_formats/vesti_format_gds/legacy.py +43 -0
- vestigraph-0.2.0/vestigraph/vesti_formats/vesti_format_gds/native.py +236 -0
- vestigraph-0.2.0/vestigraph/vesti_formats/vesti_format_gds/noop.py +86 -0
- vestigraph-0.2.0/vestigraph/vesti_formats/vesti_format_gds/recipe.py +88 -0
- vestigraph-0.2.0/vestigraph/vesti_formats/vesti_format_gds/scan.py +349 -0
- vestigraph-0.2.0/vestigraph/vesti_formats/vesti_format_gds/sink.py +142 -0
- vestigraph-0.2.0/vestigraph/vesti_runtime/__init__.py +1 -0
- vestigraph-0.2.0/vestigraph/vesti_runtime/capabilities.py +153 -0
- vestigraph-0.2.0/vestigraph/vesti_runtime/repository_capabilities.py +45 -0
- vestigraph-0.2.0/vestigraph/vesti_runtime/services.py +16 -0
- vestigraph-0.2.0/vestigraph/vesti_skills/__init__.py +1 -0
- vestigraph-0.2.0/vestigraph/vesti_skills/capabilities.py +79 -0
- vestigraph-0.2.0/vestigraph/vesti_skills/catalog.py +109 -0
- vestigraph-0.2.0/vestigraph/vesti_skills/contracts.py +65 -0
- vestigraph-0.2.0/vestigraph/vesti_skills/draft.py +39 -0
- vestigraph-0.2.0/vestigraph/vesti_skills/evidence.py +104 -0
- vestigraph-0.2.0/vestigraph/vesti_skills/exporters.py +40 -0
- vestigraph-0.2.0/vestigraph/web/__init__.py +1 -0
- vestigraph-0.2.0/vestigraph/web/agent_routes.py +31 -0
- vestigraph-0.2.0/vestigraph/web/app.py +288 -0
- vestigraph-0.2.0/vestigraph/web/auth.py +88 -0
- vestigraph-0.2.0/vestigraph/web/private_file.py +108 -0
- vestigraph-0.2.0/vestigraph/web/routes.py +490 -0
- vestigraph-0.2.0/vestigraph/web/schemas.py +106 -0
- vestigraph-0.2.0/vestigraph/web/skill_routes.py +119 -0
- vestigraph-0.2.0/vestigraph/web/static/api.js +147 -0
- vestigraph-0.2.0/vestigraph/web/static/app.js +2203 -0
- vestigraph-0.2.0/vestigraph/web/static/boot.js +9 -0
- vestigraph-0.2.0/vestigraph/web/static/history_import.js +206 -0
- vestigraph-0.2.0/vestigraph/web/static/i18n.js +115 -0
- vestigraph-0.2.0/vestigraph/web/static/index.html +301 -0
- vestigraph-0.2.0/vestigraph/web/static/locales/en.json +558 -0
- vestigraph-0.2.0/vestigraph/web/static/locales/zh-CN.json +558 -0
- vestigraph-0.2.0/vestigraph/web/static/preview.js +126 -0
- vestigraph-0.2.0/vestigraph/web/static/skills.js +181 -0
- vestigraph-0.2.0/vestigraph/web/static/styles.css +455 -0
- vestigraph-0.2.0/vestigraph.egg-info/PKG-INFO +127 -0
- vestigraph-0.2.0/vestigraph.egg-info/SOURCES.txt +215 -0
- vestigraph-0.2.0/vestigraph.egg-info/dependency_links.txt +1 -0
- vestigraph-0.2.0/vestigraph.egg-info/entry_points.txt +5 -0
- vestigraph-0.2.0/vestigraph.egg-info/requires.txt +24 -0
- vestigraph-0.2.0/vestigraph.egg-info/top_level.txt +2 -0
- vestigraph-0.2.0/vestigraph_backends/__init__.py +5 -0
- vestigraph-0.2.0/vestigraph_backends/base.py +66 -0
- vestigraph-0.2.0/vestigraph_backends/guard.py +215 -0
- vestigraph-0.2.0/vestigraph_backends/registry.py +75 -0
- vestigraph-0.2.0/vestigraph_backends/types.py +319 -0
- vestigraph-0.2.0/vestigraph_backends/vesti_backend_klayout/__init__.py +9 -0
- vestigraph-0.2.0/vestigraph_backends/vesti_backend_klayout/adapter.py +447 -0
- vestigraph-0.2.0/vestigraph_backends/vesti_backend_klayout/capabilities.py +18 -0
- vestigraph-0.2.0/vestigraph_backends/vesti_backend_klayout/capture.py +65 -0
- vestigraph-0.2.0/vestigraph_backends/vesti_backend_klayout/companion.py +324 -0
- vestigraph-0.2.0/vestigraph_backends/vesti_backend_klayout/discovery.py +58 -0
- vestigraph-0.2.0/vestigraph_backends/vesti_backend_klayout/installation.py +107 -0
- vestigraph-0.2.0/vestigraph_backends/vesti_backend_klayout/protocol.py +230 -0
- vestigraph-0.2.0/vestigraph_backends/vesti_backend_klayout/vesti_klayout_rendering/__init__.py +1 -0
- vestigraph-0.2.0/vestigraph_backends/vesti_backend_klayout/vesti_klayout_rendering/adapter.py +21 -0
- vestigraph-0.2.0/vestigraph_backends/vesti_backend_klayout/vesti_klayout_rendering/celldiff.py +336 -0
- vestigraph-0.2.0/vestigraph_backends/vesti_backend_klayout/vesti_klayout_rendering/geometry.py +166 -0
- vestigraph-0.2.0/vestigraph_backends/vesti_backend_klayout/vesti_klayout_rendering/thumbnail.py +37 -0
- vestigraph-0.2.0/vestigraph_backends/vesti_backend_klayout/vesti_klayout_rendering/worker.py +96 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<p align="right">
|
|
2
|
+
<a href="CHANGELOG.md">English</a> | <a href="CHANGELOG.zh-CN.md">中文</a>
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
# Changelog
|
|
6
|
+
|
|
7
|
+
## 0.2.0
|
|
8
|
+
|
|
9
|
+
- Complete KLayout history path uses compatible Klink as a required dependency for the KLayout plugin, HIST entry, companion service, and MCP tool discovery.
|
|
10
|
+
- Complete installation includes `vestigraph-scan-core`; scanning prefers the Rust backend and falls back to Python with diagnostics when a native wheel is unavailable. Supported wheel platforms do not require a local Rust toolchain.
|
|
11
|
+
- Local file history, GDS/OASIS previews, import, recovery, and byte export stay in local user storage.
|
|
12
|
+
- Restarting the existing Klink MCP process discovers Vestigraph tools; no separate Vestigraph MCP server is required.
|
|
13
|
+
- KLayout plugin installation remains the Klink command path (`klink plugin install`) for first install and upgrades.
|
|
14
|
+
- Local skill requests, frozen evidence, revisioned drafts, and exports are available behind an explicit experimental switch.
|
|
15
|
+
- Authenticated loopback calls use structured arguments, revision checks, and scoped validation reports.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<p align="right">
|
|
2
|
+
<a href="CHANGELOG.md">English</a> | <a href="CHANGELOG.zh-CN.md">中文</a>
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
# 变更记录
|
|
6
|
+
|
|
7
|
+
## 0.2.0
|
|
8
|
+
|
|
9
|
+
- 完整 KLayout 历史路径使用兼容 Klink 作为必需依赖,用于 KLayout 插件、HIST 入口、companion 服务和 MCP 工具发现。
|
|
10
|
+
- 完整安装包含 `vestigraph-scan-core`;扫描会优先使用 Rust 后端,并在 native wheel 不可用时带诊断回退到 Python。受支持 wheel 平台不需要本地 Rust 工具链。
|
|
11
|
+
- 本地文件历史、GDS/OASIS 预览、导入、恢复和字节导出均保存在用户本地存储中。
|
|
12
|
+
- 重启现有 Klink MCP 进程即可发现 Vestigraph 工具;不需要单独的 Vestigraph MCP server。
|
|
13
|
+
- KLayout 插件首次安装和升级仍使用 Klink 命令路径(`klink plugin install`)。
|
|
14
|
+
- 本地技能请求、冻结证据、带修订的草稿和导出功能位于显式实验开关之后。
|
|
15
|
+
- 经认证的 loopback 调用使用结构化参数、修订检查和限定范围的验证报告。
|
vestigraph-0.2.0/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
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,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 klinkdev2026
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
include LICENSE THIRD_PARTY_NOTICES.md THIRD_PARTY_NOTICES.zh-CN.md README.md README.zh-CN.md CHANGELOG.md CHANGELOG.zh-CN.md SECURITY.md SECURITY.zh-CN.md
|
|
2
|
+
include docs/README.md docs/README.zh-CN.md docs/INSTALLATION.md docs/INSTALLATION.zh-CN.md docs/HISTORY.md docs/HISTORY.zh-CN.md docs/RECOVERY.md docs/RECOVERY.zh-CN.md docs/CLI.md docs/CLI.zh-CN.md docs/AGENT_LOCAL.md docs/AGENT_LOCAL.zh-CN.md docs/TROUBLESHOOTING.md docs/TROUBLESHOOTING.zh-CN.md docs/PUBLIC_RELEASE.md docs/PUBLIC_RELEASE.zh-CN.md
|
|
3
|
+
include tools/audit_public_artifacts.py tools/check_installed.py tools/check_agent_flow.py
|
|
4
|
+
include native/scan_core/pyproject.toml native/scan_core/Cargo.toml native/scan_core/Cargo.lock native/scan_core/README.md native/scan_core/README.zh-CN.md native/scan_core/THIRD_PARTY.md native/scan_core/THIRD_PARTY.zh-CN.md native/scan_core/LICENSE
|
|
5
|
+
recursive-include native/scan_core/src *.rs
|
|
6
|
+
recursive-include tests *.py
|
|
7
|
+
recursive-include vestigraph/web/static *
|
|
8
|
+
global-exclude *.pyc
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: vestigraph
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: Local file and layout history with KLayout integration
|
|
5
|
+
License: Apache-2.0
|
|
6
|
+
Keywords: klayout,gds,oasis,layout-history,eda
|
|
7
|
+
Classifier: Development Status :: 4 - Beta
|
|
8
|
+
Classifier: Intended Audience :: Science/Research
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)
|
|
11
|
+
Requires-Python: >=3.10
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
License-File: LICENSE
|
|
14
|
+
License-File: THIRD_PARTY_NOTICES.md
|
|
15
|
+
Requires-Dist: fastapi<1,>=0.110
|
|
16
|
+
Requires-Dist: pydantic<3,>=2
|
|
17
|
+
Requires-Dist: uvicorn<1,>=0.27
|
|
18
|
+
Requires-Dist: klayout<0.31,>=0.30
|
|
19
|
+
Requires-Dist: vestigraph-scan-core<0.3,>=0.2
|
|
20
|
+
Requires-Dist: klayout-klink<0.7,>=0.6.0
|
|
21
|
+
Provides-Extra: klink
|
|
22
|
+
Requires-Dist: klayout-klink<0.7,>=0.6.0; extra == "klink"
|
|
23
|
+
Provides-Extra: web
|
|
24
|
+
Requires-Dist: fastapi>=0.110; extra == "web"
|
|
25
|
+
Requires-Dist: uvicorn>=0.27; extra == "web"
|
|
26
|
+
Provides-Extra: preview
|
|
27
|
+
Requires-Dist: klayout>=0.28; extra == "preview"
|
|
28
|
+
Provides-Extra: storage-delta
|
|
29
|
+
Requires-Dist: bsdiff4>=1.2.6; extra == "storage-delta"
|
|
30
|
+
Provides-Extra: test
|
|
31
|
+
Requires-Dist: pytest; extra == "test"
|
|
32
|
+
Requires-Dist: httpx>=0.25; extra == "test"
|
|
33
|
+
Requires-Dist: playwright>=1.50; extra == "test"
|
|
34
|
+
Dynamic: license-file
|
|
35
|
+
|
|
36
|
+
<p align="right">
|
|
37
|
+
<a href="./README.md">English</a> | <a href="./README.zh-CN.md">中文</a>
|
|
38
|
+
</p>
|
|
39
|
+
|
|
40
|
+
# Vestigraph
|
|
41
|
+
|
|
42
|
+
Vestigraph is local file and layout history for KLayout users. It stores versions on the user's machine, shows a browser timeline, previews GDS/OASIS content, imports older files, and exports saved versions for recovery.
|
|
43
|
+
|
|
44
|
+
Vestigraph requires Python 3.10 or newer, KLayout desktop 0.30.x, `klayout-klink>=0.6.0,<0.7`, and the `vestigraph-scan-core` scanner package. The normal installation resolves Klink and the scanner as dependencies. Install the Klink KLayout plugin with the Klink command, restart MCP so Vestigraph registers its local companion for the active Python environment, then restart KLayout and open **HIST**.
|
|
45
|
+
|
|
46
|
+
## What it does
|
|
47
|
+
|
|
48
|
+
- Saves file checkpoints and history data in local user storage.
|
|
49
|
+
- Runs a loopback-only browser service for browsing, naming, importing, and exporting history.
|
|
50
|
+
- Previews GDS/OASIS versions with the Python `klayout` package.
|
|
51
|
+
- Uses Klink's KLayout plugin and companion-service path to record saved GDS/OASIS documents automatically.
|
|
52
|
+
- Exposes local history and skill-refinement tools through the existing Klink MCP extension registry.
|
|
53
|
+
- Keeps history, evidence, drafts, revisions, exports, login links, and control files on the user's machine.
|
|
54
|
+
|
|
55
|
+
Vestigraph does not provide cloud sync, remote collaboration, hosted storage, a model service, or automatic chat-client configuration.
|
|
56
|
+
|
|
57
|
+
## Install
|
|
58
|
+
|
|
59
|
+
The commands below install published PyPI releases. For a version not yet on PyPI, download the build-only wheel and sdist artifacts from [GitHub Actions](https://github.com/klinkdev2026/vestigraph/actions/workflows/release.yml).
|
|
60
|
+
|
|
61
|
+
```console
|
|
62
|
+
python -m pip install vestigraph
|
|
63
|
+
klink plugin install
|
|
64
|
+
# restart the MCP client that runs klink-mcp
|
|
65
|
+
# restart KLayout, open a saved GDS/OASIS layout, then click HIST
|
|
66
|
+
python -m vestigraph doctor --integration
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
`pip install vestigraph` installs the compatible `klayout-klink` and `vestigraph-scan-core` dependencies. `klink plugin install` is still the Klink command that installs or upgrades the KLayout plugin. Restarting the MCP client lets the Klink extension registry discover Vestigraph and register the companion for that Python environment. No separate Vestigraph MCP server is needed. Installing Python packages does not configure arbitrary chat clients.
|
|
70
|
+
|
|
71
|
+
The scanner prefers the Rust `vestigraph-scan-core` backend when it is importable and falls back to the Python scanner with a diagnostic reason if the native wheel is unavailable. Users on supported wheel platforms do not need a local Rust toolchain.
|
|
72
|
+
|
|
73
|
+
After KLayout restarts, open a saved GDS/OASIS layout and click **HIST**. The panel opens the local web history UI and shows recording status. Confirm that recording is active before editing.
|
|
74
|
+
|
|
75
|
+
## Release artifacts before PyPI
|
|
76
|
+
|
|
77
|
+
Download the Vestigraph artifact archive from the [release workflow](https://github.com/klinkdev2026/vestigraph/actions/workflows/release.yml), extract it, and install the wheel with its matching scanner wheel from that directory:
|
|
78
|
+
|
|
79
|
+
```console
|
|
80
|
+
python -m pip install --find-links ./wheels "vestigraph-scan-core" ./wheels/vestigraph-0.2.0-py3-none-any.whl
|
|
81
|
+
klink plugin install
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Before both projects are on PyPI, put the matching platform wheels in one local directory: the two Klink Rust wheels, the `klayout_klink` core wheel, the `vestigraph_scan_core` wheel, and the Vestigraph wheel. Then install from that directory:
|
|
85
|
+
|
|
86
|
+
```console
|
|
87
|
+
python -m pip install --find-links ./wheels "klayout-klink>=0.6.0,<0.7" "vestigraph-scan-core" "vestigraph>=0.2,<0.3"
|
|
88
|
+
klink plugin install
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
Then restart the MCP client, restart KLayout, open a saved layout, and click **HIST**.
|
|
92
|
+
|
|
93
|
+
## Upgrade
|
|
94
|
+
|
|
95
|
+
Stop the old Vestigraph service if one is running. Upgrade packages, upgrade the Klink plugin, then restart MCP and KLayout:
|
|
96
|
+
|
|
97
|
+
```console
|
|
98
|
+
python -m pip install --upgrade "vestigraph>=0.2,<0.3"
|
|
99
|
+
klink plugin install
|
|
100
|
+
python -m vestigraph doctor --integration
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
The underlying storage CLI can still save and export local file versions, but it is not the main product installation path. Full KLayout history, HIST, and local agent tools require Klink.
|
|
104
|
+
|
|
105
|
+
## Local skills and agents
|
|
106
|
+
|
|
107
|
+
Skill refinement is experimental and disabled by default. When enabled, users can select a history range, save a request, freeze evidence, let a chosen local agent submit a draft, review validation feedback, save revisions, and export files. The package does not include private skills and does not call a model by itself.
|
|
108
|
+
|
|
109
|
+
After installation and MCP restart, use the existing Klink MCP server:
|
|
110
|
+
|
|
111
|
+
```json
|
|
112
|
+
{"tool":"klink.find_tools","arguments":{"domain":"vestigraph"}}
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
Then call `vestigraph.guide` and follow `next_action`. See [Local agents and skills](docs/AGENT_LOCAL.md).
|
|
116
|
+
|
|
117
|
+
## Documentation
|
|
118
|
+
|
|
119
|
+
- [Installation and upgrades](docs/INSTALLATION.md)
|
|
120
|
+
- [Files and history](docs/HISTORY.md)
|
|
121
|
+
- [Recovery and data locations](docs/RECOVERY.md)
|
|
122
|
+
- [Command line](docs/CLI.md)
|
|
123
|
+
- [Local agents and skills](docs/AGENT_LOCAL.md)
|
|
124
|
+
- [Troubleshooting](docs/TROUBLESHOOTING.md)
|
|
125
|
+
- [Release scope](docs/PUBLIC_RELEASE.md)
|
|
126
|
+
|
|
127
|
+
Vestigraph is Apache-2.0. See [Security and local access](SECURITY.md), [third-party notices](THIRD_PARTY_NOTICES.md), and [changelog](CHANGELOG.md).
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
<p align="right">
|
|
2
|
+
<a href="./README.md">English</a> | <a href="./README.zh-CN.md">中文</a>
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
# Vestigraph
|
|
6
|
+
|
|
7
|
+
Vestigraph is local file and layout history for KLayout users. It stores versions on the user's machine, shows a browser timeline, previews GDS/OASIS content, imports older files, and exports saved versions for recovery.
|
|
8
|
+
|
|
9
|
+
Vestigraph requires Python 3.10 or newer, KLayout desktop 0.30.x, `klayout-klink>=0.6.0,<0.7`, and the `vestigraph-scan-core` scanner package. The normal installation resolves Klink and the scanner as dependencies. Install the Klink KLayout plugin with the Klink command, restart MCP so Vestigraph registers its local companion for the active Python environment, then restart KLayout and open **HIST**.
|
|
10
|
+
|
|
11
|
+
## What it does
|
|
12
|
+
|
|
13
|
+
- Saves file checkpoints and history data in local user storage.
|
|
14
|
+
- Runs a loopback-only browser service for browsing, naming, importing, and exporting history.
|
|
15
|
+
- Previews GDS/OASIS versions with the Python `klayout` package.
|
|
16
|
+
- Uses Klink's KLayout plugin and companion-service path to record saved GDS/OASIS documents automatically.
|
|
17
|
+
- Exposes local history and skill-refinement tools through the existing Klink MCP extension registry.
|
|
18
|
+
- Keeps history, evidence, drafts, revisions, exports, login links, and control files on the user's machine.
|
|
19
|
+
|
|
20
|
+
Vestigraph does not provide cloud sync, remote collaboration, hosted storage, a model service, or automatic chat-client configuration.
|
|
21
|
+
|
|
22
|
+
## Install
|
|
23
|
+
|
|
24
|
+
The commands below install published PyPI releases. For a version not yet on PyPI, download the build-only wheel and sdist artifacts from [GitHub Actions](https://github.com/klinkdev2026/vestigraph/actions/workflows/release.yml).
|
|
25
|
+
|
|
26
|
+
```console
|
|
27
|
+
python -m pip install vestigraph
|
|
28
|
+
klink plugin install
|
|
29
|
+
# restart the MCP client that runs klink-mcp
|
|
30
|
+
# restart KLayout, open a saved GDS/OASIS layout, then click HIST
|
|
31
|
+
python -m vestigraph doctor --integration
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
`pip install vestigraph` installs the compatible `klayout-klink` and `vestigraph-scan-core` dependencies. `klink plugin install` is still the Klink command that installs or upgrades the KLayout plugin. Restarting the MCP client lets the Klink extension registry discover Vestigraph and register the companion for that Python environment. No separate Vestigraph MCP server is needed. Installing Python packages does not configure arbitrary chat clients.
|
|
35
|
+
|
|
36
|
+
The scanner prefers the Rust `vestigraph-scan-core` backend when it is importable and falls back to the Python scanner with a diagnostic reason if the native wheel is unavailable. Users on supported wheel platforms do not need a local Rust toolchain.
|
|
37
|
+
|
|
38
|
+
After KLayout restarts, open a saved GDS/OASIS layout and click **HIST**. The panel opens the local web history UI and shows recording status. Confirm that recording is active before editing.
|
|
39
|
+
|
|
40
|
+
## Release artifacts before PyPI
|
|
41
|
+
|
|
42
|
+
Download the Vestigraph artifact archive from the [release workflow](https://github.com/klinkdev2026/vestigraph/actions/workflows/release.yml), extract it, and install the wheel with its matching scanner wheel from that directory:
|
|
43
|
+
|
|
44
|
+
```console
|
|
45
|
+
python -m pip install --find-links ./wheels "vestigraph-scan-core" ./wheels/vestigraph-0.2.0-py3-none-any.whl
|
|
46
|
+
klink plugin install
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Before both projects are on PyPI, put the matching platform wheels in one local directory: the two Klink Rust wheels, the `klayout_klink` core wheel, the `vestigraph_scan_core` wheel, and the Vestigraph wheel. Then install from that directory:
|
|
50
|
+
|
|
51
|
+
```console
|
|
52
|
+
python -m pip install --find-links ./wheels "klayout-klink>=0.6.0,<0.7" "vestigraph-scan-core" "vestigraph>=0.2,<0.3"
|
|
53
|
+
klink plugin install
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Then restart the MCP client, restart KLayout, open a saved layout, and click **HIST**.
|
|
57
|
+
|
|
58
|
+
## Upgrade
|
|
59
|
+
|
|
60
|
+
Stop the old Vestigraph service if one is running. Upgrade packages, upgrade the Klink plugin, then restart MCP and KLayout:
|
|
61
|
+
|
|
62
|
+
```console
|
|
63
|
+
python -m pip install --upgrade "vestigraph>=0.2,<0.3"
|
|
64
|
+
klink plugin install
|
|
65
|
+
python -m vestigraph doctor --integration
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
The underlying storage CLI can still save and export local file versions, but it is not the main product installation path. Full KLayout history, HIST, and local agent tools require Klink.
|
|
69
|
+
|
|
70
|
+
## Local skills and agents
|
|
71
|
+
|
|
72
|
+
Skill refinement is experimental and disabled by default. When enabled, users can select a history range, save a request, freeze evidence, let a chosen local agent submit a draft, review validation feedback, save revisions, and export files. The package does not include private skills and does not call a model by itself.
|
|
73
|
+
|
|
74
|
+
After installation and MCP restart, use the existing Klink MCP server:
|
|
75
|
+
|
|
76
|
+
```json
|
|
77
|
+
{"tool":"klink.find_tools","arguments":{"domain":"vestigraph"}}
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Then call `vestigraph.guide` and follow `next_action`. See [Local agents and skills](docs/AGENT_LOCAL.md).
|
|
81
|
+
|
|
82
|
+
## Documentation
|
|
83
|
+
|
|
84
|
+
- [Installation and upgrades](docs/INSTALLATION.md)
|
|
85
|
+
- [Files and history](docs/HISTORY.md)
|
|
86
|
+
- [Recovery and data locations](docs/RECOVERY.md)
|
|
87
|
+
- [Command line](docs/CLI.md)
|
|
88
|
+
- [Local agents and skills](docs/AGENT_LOCAL.md)
|
|
89
|
+
- [Troubleshooting](docs/TROUBLESHOOTING.md)
|
|
90
|
+
- [Release scope](docs/PUBLIC_RELEASE.md)
|
|
91
|
+
|
|
92
|
+
Vestigraph is Apache-2.0. See [Security and local access](SECURITY.md), [third-party notices](THIRD_PARTY_NOTICES.md), and [changelog](CHANGELOG.md).
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
<p align="right">
|
|
2
|
+
<a href="./README.md">English</a> | <a href="./README.zh-CN.md">中文</a>
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
# Vestigraph
|
|
6
|
+
|
|
7
|
+
Vestigraph 是面向 KLayout 用户的本地文件与版图历史。它把版本保存在用户本机,提供浏览器时间线、GDS/OASIS 预览、旧文件导入,以及已保存版本导出恢复。
|
|
8
|
+
|
|
9
|
+
Vestigraph 需要 Python 3.10 或更新版本、KLayout 桌面 0.30.x、`klayout-klink>=0.6.0,<0.7`,以及 `vestigraph-scan-core` 扫描器包。正常安装会解析 Klink 和扫描器依赖。使用 Klink 命令安装 KLayout 插件,重启 MCP 使 Vestigraph 为当前 Python 环境自动登记本地 companion,然后重启 KLayout 并打开 **HIST**。
|
|
10
|
+
|
|
11
|
+
## 功能
|
|
12
|
+
|
|
13
|
+
- 在本地用户存储中保存文件检查点和历史数据。
|
|
14
|
+
- 运行仅绑定 loopback 的浏览器服务,用于浏览、命名、导入和导出历史。
|
|
15
|
+
- 使用 Python `klayout` 包预览 GDS/OASIS 版本。
|
|
16
|
+
- 使用 Klink 的 KLayout 插件和 companion 服务通路,自动记录已保存的 GDS/OASIS 文档。
|
|
17
|
+
- 通过现有 Klink MCP 扩展注册表暴露本地历史和技能炼化工具。
|
|
18
|
+
- 历史、证据、草稿、修订、导出、登录链接和控制文件均保存在用户本机。
|
|
19
|
+
|
|
20
|
+
Vestigraph 不提供云同步、远程协作、托管存储、模型服务,也不会自动配置聊天客户端。
|
|
21
|
+
|
|
22
|
+
## 安装
|
|
23
|
+
|
|
24
|
+
下面的命令安装已经发布到 PyPI 的版本。对于尚未发布到 PyPI 的版本,请从 [GitHub Actions](https://github.com/klinkdev2026/vestigraph/actions/workflows/release.yml) 下载 build-only wheel 与 sdist artifacts。
|
|
25
|
+
|
|
26
|
+
```console
|
|
27
|
+
python -m pip install vestigraph
|
|
28
|
+
klink plugin install
|
|
29
|
+
# 重启运行 klink-mcp 的 MCP 客户端
|
|
30
|
+
# 重启 KLayout,打开已保存的 GDS/OASIS,然后点击 HIST
|
|
31
|
+
python -m vestigraph doctor --integration
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
`pip install vestigraph` 会安装兼容的 `klayout-klink` 和 `vestigraph-scan-core` 依赖。`klink plugin install` 仍是安装或升级 KLayout 插件的 Klink 命令。重启 MCP 客户端后,Klink 扩展注册表会发现 Vestigraph,并为该 Python 环境登记 companion。不需要单独的 Vestigraph MCP server。安装 Python 包不会自动配置任意聊天客户端。
|
|
35
|
+
|
|
36
|
+
扫描器会在可导入时优先使用 Rust `vestigraph-scan-core` 后端;如果本机 wheel 不可用,则带诊断原因回退到 Python 扫描器。受支持 wheel 平台上的用户通常不需要本地 Rust 工具链。
|
|
37
|
+
|
|
38
|
+
KLayout 重启后,打开已保存的 GDS/OASIS 并点击 **HIST**。面板会打开本地历史网页并显示记录状态。开始编辑前请确认记录已启用。
|
|
39
|
+
|
|
40
|
+
## PyPI 发布前的 artifacts
|
|
41
|
+
|
|
42
|
+
从 [release workflow](https://github.com/klinkdev2026/vestigraph/actions/workflows/release.yml) 下载 Vestigraph artifact 压缩包,解压后从该目录安装 Vestigraph wheel 及其匹配的扫描器 wheel:
|
|
43
|
+
|
|
44
|
+
```console
|
|
45
|
+
python -m pip install --find-links ./wheels "vestigraph-scan-core" ./wheels/vestigraph-0.2.0-py3-none-any.whl
|
|
46
|
+
klink plugin install
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
在两个项目都发布到 PyPI 之前,把匹配平台的 wheels 放在同一个本地目录:两个 Klink Rust wheel、`klayout_klink` core wheel、`vestigraph_scan_core` wheel 和 Vestigraph wheel。然后从该目录安装:
|
|
50
|
+
|
|
51
|
+
```console
|
|
52
|
+
python -m pip install --find-links ./wheels "klayout-klink>=0.6.0,<0.7" "vestigraph-scan-core" "vestigraph>=0.2,<0.3"
|
|
53
|
+
klink plugin install
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
随后重启 MCP 客户端,重启 KLayout,打开已保存的版图并点击 **HIST**。
|
|
57
|
+
|
|
58
|
+
## 升级
|
|
59
|
+
|
|
60
|
+
如果旧 Vestigraph 服务正在运行,先停止它。升级包和 Klink 插件,然后重启 MCP 与 KLayout:
|
|
61
|
+
|
|
62
|
+
```console
|
|
63
|
+
python -m pip install --upgrade "vestigraph>=0.2,<0.3"
|
|
64
|
+
klink plugin install
|
|
65
|
+
python -m vestigraph doctor --integration
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
底层存储 CLI 仍可保存和导出本地文件版本,但它不是主要产品安装路径。完整 KLayout 历史、HIST 和本地 agent 工具都需要 Klink。
|
|
69
|
+
|
|
70
|
+
## 本地技能与 agent
|
|
71
|
+
|
|
72
|
+
技能炼化是实验功能,默认关闭。启用后,用户可以选择历史区间、保存请求、冻结证据、让选定的本地 agent 提交草稿、查看验证反馈、保存修订并导出文件。安装包不包含私人技能,也不会自行调用模型。
|
|
73
|
+
|
|
74
|
+
安装并重启 MCP 后,使用现有 Klink MCP server:
|
|
75
|
+
|
|
76
|
+
```json
|
|
77
|
+
{"tool":"klink.find_tools","arguments":{"domain":"vestigraph"}}
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
然后调用 `vestigraph.guide` 并按 `next_action` 操作。参见[本地 agent 与技能](docs/AGENT_LOCAL.zh-CN.md)。
|
|
81
|
+
|
|
82
|
+
## 文档
|
|
83
|
+
|
|
84
|
+
- [安装与升级](docs/INSTALLATION.zh-CN.md)
|
|
85
|
+
- [文件与历史](docs/HISTORY.zh-CN.md)
|
|
86
|
+
- [恢复与数据位置](docs/RECOVERY.zh-CN.md)
|
|
87
|
+
- [命令行](docs/CLI.zh-CN.md)
|
|
88
|
+
- [本地 agent 与技能](docs/AGENT_LOCAL.zh-CN.md)
|
|
89
|
+
- [故障排查](docs/TROUBLESHOOTING.zh-CN.md)
|
|
90
|
+
- [发布范围](docs/PUBLIC_RELEASE.zh-CN.md)
|
|
91
|
+
|
|
92
|
+
Vestigraph 使用 Apache-2.0 许可证。另见[安全与本地访问](SECURITY.md)、[第三方声明](THIRD_PARTY_NOTICES.md)和[变更记录](CHANGELOG.md)。
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<p align="right">
|
|
2
|
+
<a href="SECURITY.md">English</a> | <a href="SECURITY.zh-CN.md">中文</a>
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
# Security and local access
|
|
6
|
+
|
|
7
|
+
Vestigraph is designed for a trusted local user. The browser service binds to loopback. Do not expose the panel through the public internet, a LAN reverse proxy, or a shared multi-user service. Browser cookies are scoped by host rather than by port, so an untrusted service on the same host can affect session safety.
|
|
8
|
+
|
|
9
|
+
The product does not call models and does not upload design data automatically. Klink is part of the complete installation path for KLayout plugin, HIST, companion service, and MCP discovery, but installing Python packages still does not configure arbitrary chat clients. Treat one-time login links, control-file secrets, local history repositories, skill drafts, exports, and service state as private user data. Do not attach them to public issues.
|
|
10
|
+
|
|
11
|
+
For bug reports, share the software version, exact steps, and a synthetic reproduction sample when possible. Do not upload customer layouts, PDKs, history repositories, service links, secrets, or raw real-world logs. The public package does not claim to remove risks from third-party editors, arbitrary user scripts, or untrusted local processes on the same machine.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<p align="right">
|
|
2
|
+
<a href="SECURITY.md">English</a> | <a href="SECURITY.zh-CN.md">中文</a>
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
# 安全与本地访问
|
|
6
|
+
|
|
7
|
+
Vestigraph 面向可信本机用户。浏览器服务绑定 loopback。不要通过公网、局域网反向代理或多人共享服务暴露面板。浏览器 cookie 按主机而不是端口隔离,因此同一主机上的不可信服务可能影响会话安全。
|
|
8
|
+
|
|
9
|
+
产品不会自行调用模型,也不会自动上传设计数据。完整安装路径需要 Klink,用于 KLayout 插件、HIST、companion 服务和 MCP 发现;但安装 Python 包仍不会自动配置任意聊天客户端。一次性登录链接、控制文件密钥、本地历史库、技能草稿、导出和服务状态都应视为用户私有数据。不要附到公开 issue 中。
|
|
10
|
+
|
|
11
|
+
提交 bug 时,尽量提供软件版本、具体步骤和合成复现样本。不要上传客户版图、PDK、历史库、服务链接、密钥或未经处理的真实日志。公开包不声称可以消除第三方编辑器、任意用户脚本或同机不可信进程带来的风险。
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<p align="right">
|
|
2
|
+
<a href="THIRD_PARTY_NOTICES.md">English</a> | <a href="THIRD_PARTY_NOTICES.zh-CN.md">中文</a>
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
# Third-party notices
|
|
6
|
+
|
|
7
|
+
Vestigraph source is distributed under Apache-2.0. Its installation resolves separately distributed dependencies including FastAPI, Uvicorn, Pydantic, the KLayout Python package, compatible Klink packages, and the `vestigraph-scan-core` scanner package. Each dependency retains its own copyright notices and license; installing it does not relicense it under Vestigraph's license.
|
|
8
|
+
|
|
9
|
+
KLayout and its Python bindings have their own distribution and licensing terms. Klink is distributed separately. The scanner package is distributed as a separate native wheel on supported platforms; users normally do not need a local Rust toolchain. If the native scanner is unavailable, Vestigraph reports the reason and falls back to the Python scanner.
|
|
10
|
+
|
|
11
|
+
Optional delta encoding packages such as `bsdiff4` are resolved only when that feature is requested. Consult the metadata and license files in each installed distribution for its terms. The native scanner dependency list is documented in `native/scan_core/THIRD_PARTY.md` in the public release tree.
|
|
12
|
+
|
|
13
|
+
The wheel contains Vestigraph's own web assets and requires no CDN or remote asset loading.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<p align="right">
|
|
2
|
+
<a href="THIRD_PARTY_NOTICES.md">English</a> | <a href="THIRD_PARTY_NOTICES.zh-CN.md">中文</a>
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
# 第三方声明
|
|
6
|
+
|
|
7
|
+
Vestigraph 源码以 Apache-2.0 分发。安装会解析独立分发的依赖,包括 FastAPI、Uvicorn、Pydantic、KLayout Python 包、兼容的 Klink 包,以及 `vestigraph-scan-core` 扫描器包。每个依赖保留其自身版权声明和许可证;安装依赖不会把它重新授权为 Vestigraph 的许可证。
|
|
8
|
+
|
|
9
|
+
KLayout 及其 Python 绑定有各自的分发和授权条款。Klink 单独分发。扫描器包在受支持平台上以独立 native wheel 分发;用户通常不需要本地 Rust 工具链。如果 native 扫描器不可用,Vestigraph 会报告原因并回退到 Python 扫描器。
|
|
10
|
+
|
|
11
|
+
`bsdiff4` 等可选 delta 编码包只在请求相关功能时解析。请查看每个已安装发行包的 metadata 和许可证文件以了解其条款。native 扫描器依赖清单记录在公开 release tree 的 `native/scan_core/THIRD_PARTY.md` 中。
|
|
12
|
+
|
|
13
|
+
Wheel 包含 Vestigraph 自身网页资源,不需要 CDN 或远程资源加载。
|