@agent-ix/quoin 0.2.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/LICENSE +21 -0
- package/README.md +122 -0
- package/bin/quoin.js +8 -0
- package/default-modules.yaml +82 -0
- package/dist/catalog.d.ts +32 -0
- package/dist/catalog.d.ts.map +1 -0
- package/dist/cli-ClS52_Fm.js +436 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +2 -0
- package/dist/flows.d.ts +7 -0
- package/dist/flows.d.ts.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/modules.d.ts +10 -0
- package/dist/modules.d.ts.map +1 -0
- package/dist/plugins.d.ts +13 -0
- package/dist/plugins.d.ts.map +1 -0
- package/dist/write.d.ts +22 -0
- package/dist/write.d.ts.map +1 -0
- package/package.json +85 -0
- package/plugin.json +6 -0
- package/skills/spec-app-review/SKILL.md +51 -0
- package/skills/spec-app-review/references/checklist.md +194 -0
- package/skills/spec-dependency-analysis/SKILL.md +75 -0
- package/skills/spec-evidence-analysis/SKILL.md +78 -0
- package/skills/spec-failure-domain-analysis/SKILL.md +44 -0
- package/skills/spec-ideation/SKILL.md +46 -0
- package/skills/spec-integrity-analysis/SKILL.md +47 -0
- package/skills/spec-matrix/SKILL.md +79 -0
- package/skills/spec-matrix/assets/test-cases/TC-001.md +35 -0
- package/skills/spec-matrix/assets/test-cases/TC-002.md +37 -0
- package/skills/spec-matrix/assets/test-cases/TC-006.md +50 -0
- package/skills/spec-matrix/assets/test-matrix-example.md +97 -0
- package/skills/spec-matrix/assets/test-matrix-template.md +117 -0
- package/skills/spec-matrix/workflow-assets/dist/index.d.ts +146 -0
- package/skills/spec-matrix/workflow-assets/dist/index.d.ts.map +1 -0
- package/skills/spec-matrix/workflow-assets/dist/index.js +7655 -0
- package/skills/spec-matrix/workflow-assets/dist/invariants.d.ts +6 -0
- package/skills/spec-matrix/workflow-assets/dist/invariants.d.ts.map +1 -0
- package/skills/spec-matrix/workflow-assets/skills/matrix/SKILL.md +35 -0
- package/skills/spec-matrix/workflow-assets/skills/matrix/scripts/invariants.js +1 -0
- package/skills/spec-matrix/workflow-assets/skills/matrix/templates/report/default.md +30 -0
- package/skills/spec-matrix/workflow-assets/skills/matrix/workflows/matrix/def.yaml +82 -0
- package/skills/spec-object-review/SKILL.md +125 -0
- package/skills/spec-object-review/references/object-type-guide.md +113 -0
- package/skills/spec-review/SKILL.md +41 -0
- package/skills/spec-review/references/checklist.md +50 -0
- package/skills/spec-review/workflow-assets/dist/index.d.ts +146 -0
- package/skills/spec-review/workflow-assets/dist/index.d.ts.map +1 -0
- package/skills/spec-review/workflow-assets/dist/index.js +7655 -0
- package/skills/spec-review/workflow-assets/dist/invariants.d.ts +6 -0
- package/skills/spec-review/workflow-assets/dist/invariants.d.ts.map +1 -0
- package/skills/spec-review/workflow-assets/skills/review/SKILL.md +35 -0
- package/skills/spec-review/workflow-assets/skills/review/scripts/invariants.js +1 -0
- package/skills/spec-review/workflow-assets/skills/review/templates/report/default.md +30 -0
- package/skills/spec-review/workflow-assets/skills/review/workflows/review/def.yaml +82 -0
- package/skills/spec-risk-complexity-analysis/SKILL.md +77 -0
- package/skills/spec-scope-boundary-analysis/SKILL.md +86 -0
- package/skills/spec-security-analysis/SKILL.md +84 -0
- package/skills/spec-security-analysis/assets/security-analysis-example.md +89 -0
- package/skills/spec-security-analysis/assets/security-analysis-template.md +73 -0
- package/skills/spec-security-analysis/references/component-type-mapping.md +161 -0
- package/skills/spec-security-analysis/references/gdpr/ChII-Principles.md +58 -0
- package/skills/spec-security-analysis/references/gdpr/ChIII-DataSubjectRights.md +84 -0
- package/skills/spec-security-analysis/references/gdpr/ChIV-ControllerProcessor.md +83 -0
- package/skills/spec-security-analysis/references/gdpr/ChV-DataTransfers.md +62 -0
- package/skills/spec-security-analysis/references/gdpr/index.md +54 -0
- package/skills/spec-security-analysis/references/iso27001/A5-OrganizationalControls.md +64 -0
- package/skills/spec-security-analysis/references/iso27001/A6-PeopleControls.md +30 -0
- package/skills/spec-security-analysis/references/iso27001/A7-PhysicalControls.md +35 -0
- package/skills/spec-security-analysis/references/iso27001/A8-TechnologicalControls.md +66 -0
- package/skills/spec-security-analysis/references/iso27001/index.md +43 -0
- package/skills/spec-security-analysis/references/nist-800-53/AC-AccessControl.md +57 -0
- package/skills/spec-security-analysis/references/nist-800-53/AU-AuditAccountability.md +49 -0
- package/skills/spec-security-analysis/references/nist-800-53/CM-ConfigurationManagement.md +36 -0
- package/skills/spec-security-analysis/references/nist-800-53/IA-IdentificationAuthentication.md +44 -0
- package/skills/spec-security-analysis/references/nist-800-53/SA-SystemServicesAcquisition.md +50 -0
- package/skills/spec-security-analysis/references/nist-800-53/SC-SystemCommunications.md +53 -0
- package/skills/spec-security-analysis/references/nist-800-53/SI-SystemInformationIntegrity.md +52 -0
- package/skills/spec-security-analysis/references/nist-800-53/index.md +58 -0
- package/skills/spec-security-analysis/references/owasp-asvs/V1-Architecture.md +33 -0
- package/skills/spec-security-analysis/references/owasp-asvs/V10-MaliciousCode.md +33 -0
- package/skills/spec-security-analysis/references/owasp-asvs/V11-BusinessLogic.md +32 -0
- package/skills/spec-security-analysis/references/owasp-asvs/V12-Files.md +34 -0
- package/skills/spec-security-analysis/references/owasp-asvs/V13-API.md +34 -0
- package/skills/spec-security-analysis/references/owasp-asvs/V14-Configuration.md +35 -0
- package/skills/spec-security-analysis/references/owasp-asvs/V2-Authentication.md +36 -0
- package/skills/spec-security-analysis/references/owasp-asvs/V3-SessionManagement.md +35 -0
- package/skills/spec-security-analysis/references/owasp-asvs/V4-AccessControl.md +39 -0
- package/skills/spec-security-analysis/references/owasp-asvs/V5-Validation.md +37 -0
- package/skills/spec-security-analysis/references/owasp-asvs/V6-Cryptography.md +34 -0
- package/skills/spec-security-analysis/references/owasp-asvs/V7-ErrorLogging.md +37 -0
- package/skills/spec-security-analysis/references/owasp-asvs/V8-DataProtection.md +34 -0
- package/skills/spec-security-analysis/references/owasp-asvs/V9-Communication.md +32 -0
- package/skills/spec-security-analysis/references/owasp-asvs/index.md +59 -0
- package/skills/spec-security-analysis/references/soc2/CC1-ControlEnvironment.md +31 -0
- package/skills/spec-security-analysis/references/soc2/CC2-CommunicationInformation.md +27 -0
- package/skills/spec-security-analysis/references/soc2/CC3-RiskAssessment.md +29 -0
- package/skills/spec-security-analysis/references/soc2/CC4-MonitoringActivities.md +27 -0
- package/skills/spec-security-analysis/references/soc2/CC5-ControlActivities.md +28 -0
- package/skills/spec-security-analysis/references/soc2/CC6-LogicalPhysicalAccess.md +45 -0
- package/skills/spec-security-analysis/references/soc2/CC7-SystemOperations.md +42 -0
- package/skills/spec-security-analysis/references/soc2/CC8-ChangeManagement.md +32 -0
- package/skills/spec-security-analysis/references/soc2/CC9-RiskMitigation.md +34 -0
- package/skills/spec-security-analysis/references/soc2/index.md +46 -0
- package/skills/spec-security-analysis/references/standards-index.md +46 -0
- package/skills/spec-to-plan/SKILL.md +44 -0
- package/skills/spec-to-plan/references/step-1-analysis.md +58 -0
- package/skills/spec-to-plan/references/step-2-test-plan.md +37 -0
- package/skills/spec-to-plan/references/step-3-execution-plan.md +178 -0
- package/skills/spec-to-plan/workflow-assets/dist/index.d.ts +146 -0
- package/skills/spec-to-plan/workflow-assets/dist/index.d.ts.map +1 -0
- package/skills/spec-to-plan/workflow-assets/dist/index.js +7655 -0
- package/skills/spec-to-plan/workflow-assets/dist/invariants.d.ts +6 -0
- package/skills/spec-to-plan/workflow-assets/dist/invariants.d.ts.map +1 -0
- package/skills/spec-to-plan/workflow-assets/skills/to-plan/SKILL.md +35 -0
- package/skills/spec-to-plan/workflow-assets/skills/to-plan/scripts/invariants.js +1 -0
- package/skills/spec-to-plan/workflow-assets/skills/to-plan/templates/implementation-plan/default.md +43 -0
- package/skills/spec-to-plan/workflow-assets/skills/to-plan/workflows/to-plan/def.yaml +82 -0
- package/skills/specify/SKILL.md +69 -0
- package/skills/specify/assets/app-spec-template.md +143 -0
- package/skills/specify/assets/spec-template.md +299 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Agent IX
|
|
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.
|
package/README.md
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="logo.png" alt="Quoin" width="100%" />
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
# Quoin
|
|
6
|
+
|
|
7
|
+
[](https://discord.gg/6qsdhSPE)
|
|
8
|
+
[](https://www.iso.org/standard/72089.html)
|
|
9
|
+
[](https://github.com/GoogleCloudPlatform/knowledge-catalog/tree/main/okf)
|
|
10
|
+
|
|
11
|
+
`quoin` is a bundle of **Quire modules**, **agent skills**, and **workflows** for
|
|
12
|
+
authoring [ISO/IEC/IEEE 29148](https://www.iso.org/standard/72089.html)-aligned software specifications and other technical
|
|
13
|
+
documents. It packages the spec vocabulary, the authoring/review/planning contracts,
|
|
14
|
+
and the catalog/plugin tooling agents need to write and validate specs directly as Markdown.
|
|
15
|
+
|
|
16
|
+
`quoin` is built on the [Quire](https://github.com/agent-ix/quire-rs) document standard and validation engine by Agent-IX.
|
|
17
|
+
|
|
18
|
+
## What's included
|
|
19
|
+
|
|
20
|
+
### Quire modules
|
|
21
|
+
|
|
22
|
+
The default module set defines the spec archetypes and domain-object vocabulary.
|
|
23
|
+
|
|
24
|
+
**Artifact archetypes** — the document types you author:
|
|
25
|
+
|
|
26
|
+
| Module | Archetypes |
|
|
27
|
+
| ---------------------------------------------------------------------------- | -------------------------------------------------------------------- |
|
|
28
|
+
| [spec-artifacts-iso](https://github.com/agent-ix/spec-artifacts-iso) | `StR`, `FR`, `NFR`, `US`, `IT`, `TC`, `Spec`, `master-requirements` |
|
|
29
|
+
| [spec-artifacts-app](https://github.com/agent-ix/spec-artifacts-app) | `ApplicationSpec`, `MasterRequirements` |
|
|
30
|
+
| [spec-artifacts-process](https://github.com/agent-ix/spec-artifacts-process) | `ADR`, `Plan`, `Task`, `Review`, `Finding`, `TestMatrix`, `Standard` |
|
|
31
|
+
|
|
32
|
+
**Domain objects** — the entities you reference inside specs:
|
|
33
|
+
|
|
34
|
+
| Module | Objects |
|
|
35
|
+
| ---------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
36
|
+
| [spec-objects-business](https://github.com/agent-ix/spec-objects-business) | `domain`, `entity`, `value_object`, `aggregate_root`, `nested_entity`, `repository`, `event`, `state_machine`, `process`, `enumeration` |
|
|
37
|
+
| [spec-objects-architecture](https://github.com/agent-ix/spec-objects-architecture) | `api_endpoint`, `data_schema`, `queue`, `action`, `ui_component`, `interface`, `external_contract`, `extension_point`, `binary_format`, `rate_limit` |
|
|
38
|
+
| [spec-objects-enterprise](https://github.com/agent-ix/spec-objects-enterprise) | `capability`, `business_function`, `value_stream`, `decision`, `objective`, `principle`, `kpi` |
|
|
39
|
+
| [spec-objects-operational](https://github.com/agent-ix/spec-objects-operational) | `configuration`, `migration`, `sli`, `slo`, `alert`, `runbook`, `incident`, `deployment` |
|
|
40
|
+
| [spec-objects-security](https://github.com/agent-ix/spec-objects-security) | `auth_flow`, `permission`, `scope`, `role`, `secret`, `encryption_key`, `session_config`, `data_classification`, `trust_boundary`, `audit_event`, `threat`, `control`, `risk`, `vulnerability`, `asset`, `attack_surface`, `policy`, … |
|
|
41
|
+
|
|
42
|
+
### Agent Skills
|
|
43
|
+
|
|
44
|
+
- **`specify`** — create or edit spec files using catalog authoring packs + Quire validation
|
|
45
|
+
- **`spec-review`** — review specification for quality, consistency, and completeness
|
|
46
|
+
- **`spec-matrix`** — build/maintain the requirements Test Matrix at 100% coverage
|
|
47
|
+
- **`spec-to-plan`** — convert StR/FR/NFR into a TDD project plan
|
|
48
|
+
- **`spec-ideation`** — loose, exploratory drafting before formal authoring
|
|
49
|
+
- **`spec-app-review`** / **`spec-object-review`** — application-spec and domain-object audits
|
|
50
|
+
- Analysis lenses — focused review passes over a spec:
|
|
51
|
+
- **`spec-integrity-analysis`** — completeness, consistency, and atomicity quality gates
|
|
52
|
+
- **`spec-scope-boundary-analysis`** — system boundaries and responsibility allocation
|
|
53
|
+
- **`spec-dependency-analysis`** — separates enablement work from feature work
|
|
54
|
+
- **`spec-evidence-analysis`** — verification methods and evidence artifacts per requirement
|
|
55
|
+
- **`spec-failure-domain-analysis`** — unstated failure modes, identity confusion, edge cases
|
|
56
|
+
- **`spec-risk-complexity-analysis`** — technical risk and volatility before tasking
|
|
57
|
+
- **`spec-security-analysis`** — applicable security standards and compliance traceability
|
|
58
|
+
|
|
59
|
+
### Agent Workflows
|
|
60
|
+
|
|
61
|
+
Multi-agent workflows that fan out, run lenses in parallel, and synthesize results:
|
|
62
|
+
|
|
63
|
+
- **`review`** — parallel review lenses → dedupe → sync
|
|
64
|
+
- **`matrix`** — coverage analysis and Test Matrix construction
|
|
65
|
+
- **`to-plan`** — requirements → dependency-aware TDD plan
|
|
66
|
+
|
|
67
|
+
## Install
|
|
68
|
+
|
|
69
|
+
Install `quoin` with `ix-flow` so the spec tooling and workflow lifecycle commands are
|
|
70
|
+
both available:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
npm install -g @agent-ix/quoin@latest @agent-ix/ix-flow@latest --registry https://npm.pkg.github.com
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Usage
|
|
77
|
+
|
|
78
|
+
### skills & workflows
|
|
79
|
+
|
|
80
|
+
The primary way users author specs is by asking an agent, which invokes the bundled
|
|
81
|
+
[skills](#skills) and [workflows](#workflows).
|
|
82
|
+
|
|
83
|
+
### ClI commands
|
|
84
|
+
|
|
85
|
+
Inspect the spec vocabulary and manage installed modules:
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
quoin catalog list
|
|
89
|
+
quoin catalog show FR
|
|
90
|
+
quoin catalog validate
|
|
91
|
+
quoin plugin install path:../spec-objects-business
|
|
92
|
+
quoin plugin list
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
## Development
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
pnpm install
|
|
99
|
+
pnpm run build
|
|
100
|
+
pnpm test
|
|
101
|
+
pnpm run lint
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
### Specification
|
|
105
|
+
|
|
106
|
+
The technical specification for this library was itself authored with the `spec-artifacts-iso` module — see
|
|
107
|
+
[spec/spec.md](spec/spec.md).
|
|
108
|
+
|
|
109
|
+
### Evals
|
|
110
|
+
|
|
111
|
+
Eval scenarios live in [spec/evals.md](spec/evals.md) and run via the agent-pty-driven
|
|
112
|
+
harness in `evals/` (`make evals` / `make evals-all`). The harness profiles a **real** agent
|
|
113
|
+
running the skills/workflows and records token/tool/latency metrics from the Claude Code
|
|
114
|
+
transcript. Unit tests cover the mechanical CLI behavior; see [evals/README.md](evals/README.md).
|
|
115
|
+
|
|
116
|
+
## About
|
|
117
|
+
|
|
118
|
+
quoin is part of the Agent-IX ecosystem built on these core libraries:
|
|
119
|
+
|
|
120
|
+
- [quire-cli](https://github.com/agent-ix/quire-cli), the static-binary CLI wrapping the Quire engine
|
|
121
|
+
- [ix-cli-core](https://github.com/agent-ix/ix-cli-core), the generic CLI framework
|
|
122
|
+
for Agent IX.
|
package/bin/quoin.js
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# Default Filament module set shipped with quoin.
|
|
2
|
+
#
|
|
3
|
+
# Lazily installed into ~/.ix/filament/modules on first catalog access (see
|
|
4
|
+
# src/modules.ts). Each entry sparse-checks out one module's data subdir from its
|
|
5
|
+
# canonical repo at a pinned tag — the same git tag the Python wheel is built
|
|
6
|
+
# from. This file is the canonical-ready source of truth for the module set +
|
|
7
|
+
# pins (a future generator can derive the backend pyproject pins / activation
|
|
8
|
+
# list from it).
|
|
9
|
+
schemaVersion: 1
|
|
10
|
+
name: quoin-default-modules
|
|
11
|
+
entries:
|
|
12
|
+
- name: spec-artifacts-iso
|
|
13
|
+
version: "0.4.0"
|
|
14
|
+
defaultEnabled: true
|
|
15
|
+
source:
|
|
16
|
+
type: git-subdir
|
|
17
|
+
url: agent-ix/spec-artifacts-iso
|
|
18
|
+
path: spec_artifacts_iso
|
|
19
|
+
ref: v0.4.0
|
|
20
|
+
|
|
21
|
+
- name: spec-artifacts-app
|
|
22
|
+
version: "0.2.0"
|
|
23
|
+
defaultEnabled: true
|
|
24
|
+
source:
|
|
25
|
+
type: git-subdir
|
|
26
|
+
url: agent-ix/spec-artifacts-app
|
|
27
|
+
path: spec_artifacts_app
|
|
28
|
+
ref: v0.2.0
|
|
29
|
+
|
|
30
|
+
- name: spec-artifacts-process
|
|
31
|
+
version: "0.2.0"
|
|
32
|
+
defaultEnabled: true
|
|
33
|
+
source:
|
|
34
|
+
type: git-subdir
|
|
35
|
+
url: agent-ix/spec-artifacts-process
|
|
36
|
+
path: spec_artifacts_process
|
|
37
|
+
ref: v0.2.0
|
|
38
|
+
|
|
39
|
+
- name: spec-objects-business
|
|
40
|
+
version: "0.3.0"
|
|
41
|
+
defaultEnabled: true
|
|
42
|
+
source:
|
|
43
|
+
type: git-subdir
|
|
44
|
+
url: agent-ix/spec-objects-business
|
|
45
|
+
path: spec_objects_business
|
|
46
|
+
ref: v0.3.0
|
|
47
|
+
|
|
48
|
+
- name: spec-objects-architecture
|
|
49
|
+
version: "0.3.0"
|
|
50
|
+
defaultEnabled: true
|
|
51
|
+
source:
|
|
52
|
+
type: git-subdir
|
|
53
|
+
url: agent-ix/spec-objects-architecture
|
|
54
|
+
path: spec_objects_architecture
|
|
55
|
+
ref: v0.3.0
|
|
56
|
+
|
|
57
|
+
- name: spec-objects-enterprise
|
|
58
|
+
version: "0.2.0"
|
|
59
|
+
defaultEnabled: true
|
|
60
|
+
source:
|
|
61
|
+
type: git-subdir
|
|
62
|
+
url: agent-ix/spec-objects-enterprise
|
|
63
|
+
path: spec_objects_enterprise
|
|
64
|
+
ref: v0.2.0
|
|
65
|
+
|
|
66
|
+
- name: spec-objects-operational
|
|
67
|
+
version: "0.3.0"
|
|
68
|
+
defaultEnabled: true
|
|
69
|
+
source:
|
|
70
|
+
type: git-subdir
|
|
71
|
+
url: agent-ix/spec-objects-operational
|
|
72
|
+
path: spec_objects_operational
|
|
73
|
+
ref: v0.3.0
|
|
74
|
+
|
|
75
|
+
- name: spec-objects-security
|
|
76
|
+
version: "0.2.0"
|
|
77
|
+
defaultEnabled: true
|
|
78
|
+
source:
|
|
79
|
+
type: git-subdir
|
|
80
|
+
url: agent-ix/spec-objects-security
|
|
81
|
+
path: spec_objects_security
|
|
82
|
+
ref: v0.2.0
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export interface SpecCatalogEntry {
|
|
2
|
+
name: string;
|
|
3
|
+
kind: "artifact" | "object";
|
|
4
|
+
moduleName: string;
|
|
5
|
+
moduleRoot: string;
|
|
6
|
+
schemaRef?: string;
|
|
7
|
+
schemaPath?: string;
|
|
8
|
+
skeletonPath?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface SpecModule {
|
|
11
|
+
name: string;
|
|
12
|
+
version?: string;
|
|
13
|
+
root: string;
|
|
14
|
+
artifactTypes: string[];
|
|
15
|
+
objectTypes: string[];
|
|
16
|
+
}
|
|
17
|
+
export interface SpecCatalog {
|
|
18
|
+
modules: SpecModule[];
|
|
19
|
+
entries: SpecCatalogEntry[];
|
|
20
|
+
duplicates: Array<{
|
|
21
|
+
kind: "artifact" | "object";
|
|
22
|
+
name: string;
|
|
23
|
+
modules: string[];
|
|
24
|
+
}>;
|
|
25
|
+
}
|
|
26
|
+
export declare function ixHome(): string;
|
|
27
|
+
/** The single directory that holds installed Filament modules; also read by quire-rs. */
|
|
28
|
+
export declare function filamentModulesDir(home?: string): string;
|
|
29
|
+
export declare function defaultModuleRoots(home?: string): string[];
|
|
30
|
+
export declare function loadCatalog(moduleRoots?: string[]): SpecCatalog;
|
|
31
|
+
export declare function findCatalogEntry(catalog: SpecCatalog, name: string): SpecCatalogEntry | undefined;
|
|
32
|
+
//# sourceMappingURL=catalog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../src/catalog.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,UAAU,GAAG,QAAQ,CAAC;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC5B,UAAU,EAAE,KAAK,CAAC;QAChB,IAAI,EAAE,UAAU,GAAG,QAAQ,CAAC;QAC5B,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,EAAE,CAAC;KACnB,CAAC,CAAC;CACJ;AAED,wBAAgB,MAAM,IAAI,MAAM,CAI/B;AAED,yFAAyF;AACzF,wBAAgB,kBAAkB,CAAC,IAAI,SAAW,GAAG,MAAM,CAE1D;AAED,wBAAgB,kBAAkB,CAAC,IAAI,SAAW,GAAG,MAAM,EAAE,CAW5D;AAED,wBAAgB,WAAW,CAAC,WAAW,WAAuB,GAAG,WAAW,CAyD3E;AAED,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,WAAW,EACpB,IAAI,EAAE,MAAM,GACX,gBAAgB,GAAG,SAAS,CAK9B"}
|