@yakcc/cli 0.5.0-alpha.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.
Files changed (115) hide show
  1. package/LICENSE +214 -0
  2. package/LICENSE-ATOMS +38 -0
  3. package/README.md +76 -0
  4. package/dist/bin.js +10884 -0
  5. package/dist/bin.js.map +1 -0
  6. package/dist/blocks/ascii-char/impl.ts +16 -0
  7. package/dist/blocks/ascii-char/proof/manifest.json +8 -0
  8. package/dist/blocks/ascii-char/proof/tests.fast-check.ts +20 -0
  9. package/dist/blocks/ascii-char/spec.yak +80 -0
  10. package/dist/blocks/ascii-digit-set/impl.ts +9 -0
  11. package/dist/blocks/ascii-digit-set/proof/manifest.json +8 -0
  12. package/dist/blocks/ascii-digit-set/proof/tests.fast-check.ts +20 -0
  13. package/dist/blocks/ascii-digit-set/spec.yak +66 -0
  14. package/dist/blocks/base64-alphabet/impl.ts +98 -0
  15. package/dist/blocks/base64-alphabet/proof/manifest.json +8 -0
  16. package/dist/blocks/base64-alphabet/proof/tests.fast-check.ts +18 -0
  17. package/dist/blocks/base64-alphabet/spec.yak +110 -0
  18. package/dist/blocks/bracket/impl.ts +20 -0
  19. package/dist/blocks/bracket/proof/manifest.json +8 -0
  20. package/dist/blocks/bracket/proof/tests.fast-check.ts +20 -0
  21. package/dist/blocks/bracket/spec.yak +85 -0
  22. package/dist/blocks/char-code/impl.ts +15 -0
  23. package/dist/blocks/char-code/proof/manifest.json +8 -0
  24. package/dist/blocks/char-code/proof/tests.fast-check.ts +20 -0
  25. package/dist/blocks/char-code/spec.yak +80 -0
  26. package/dist/blocks/comma/impl.ts +20 -0
  27. package/dist/blocks/comma/proof/manifest.json +8 -0
  28. package/dist/blocks/comma/proof/tests.fast-check.ts +20 -0
  29. package/dist/blocks/comma/spec.yak +80 -0
  30. package/dist/blocks/comma-separated-integers/impl.ts +85 -0
  31. package/dist/blocks/comma-separated-integers/proof/manifest.json +8 -0
  32. package/dist/blocks/comma-separated-integers/proof/tests.fast-check.ts +20 -0
  33. package/dist/blocks/comma-separated-integers/spec.yak +84 -0
  34. package/dist/blocks/digit/impl.ts +12 -0
  35. package/dist/blocks/digit/proof/manifest.json +8 -0
  36. package/dist/blocks/digit/proof/tests.fast-check.ts +21 -0
  37. package/dist/blocks/digit/spec.yak +79 -0
  38. package/dist/blocks/digit-or-throw/impl.ts +20 -0
  39. package/dist/blocks/digit-or-throw/proof/manifest.json +8 -0
  40. package/dist/blocks/digit-or-throw/proof/tests.fast-check.ts +20 -0
  41. package/dist/blocks/digit-or-throw/spec.yak +80 -0
  42. package/dist/blocks/empty-list-content/impl.ts +20 -0
  43. package/dist/blocks/empty-list-content/proof/manifest.json +8 -0
  44. package/dist/blocks/empty-list-content/proof/tests.fast-check.ts +20 -0
  45. package/dist/blocks/empty-list-content/spec.yak +80 -0
  46. package/dist/blocks/eof-check/impl.ts +16 -0
  47. package/dist/blocks/eof-check/proof/manifest.json +8 -0
  48. package/dist/blocks/eof-check/proof/tests.fast-check.ts +20 -0
  49. package/dist/blocks/eof-check/spec.yak +76 -0
  50. package/dist/blocks/integer/impl.ts +29 -0
  51. package/dist/blocks/integer/proof/manifest.json +8 -0
  52. package/dist/blocks/integer/proof/tests.fast-check.ts +21 -0
  53. package/dist/blocks/integer/spec.yak +84 -0
  54. package/dist/blocks/list-of-ints/impl.ts +168 -0
  55. package/dist/blocks/list-of-ints/proof/manifest.json +8 -0
  56. package/dist/blocks/list-of-ints/proof/tests.fast-check.ts +23 -0
  57. package/dist/blocks/list-of-ints/spec.yak +103 -0
  58. package/dist/blocks/lru-node/impl.ts +50 -0
  59. package/dist/blocks/lru-node/proof/manifest.json +8 -0
  60. package/dist/blocks/lru-node/proof/tests.fast-check.ts +16 -0
  61. package/dist/blocks/lru-node/spec.yak +92 -0
  62. package/dist/blocks/memoize/impl.ts +60 -0
  63. package/dist/blocks/memoize/proof/manifest.json +8 -0
  64. package/dist/blocks/memoize/proof/tests.fast-check.ts +15 -0
  65. package/dist/blocks/memoize/spec.yak +91 -0
  66. package/dist/blocks/non-ascii-rejector/impl.ts +14 -0
  67. package/dist/blocks/non-ascii-rejector/proof/manifest.json +8 -0
  68. package/dist/blocks/non-ascii-rejector/proof/tests.fast-check.ts +20 -0
  69. package/dist/blocks/non-ascii-rejector/spec.yak +67 -0
  70. package/dist/blocks/nonempty-list-content/impl.ts +116 -0
  71. package/dist/blocks/nonempty-list-content/proof/manifest.json +8 -0
  72. package/dist/blocks/nonempty-list-content/proof/tests.fast-check.ts +20 -0
  73. package/dist/blocks/nonempty-list-content/spec.yak +88 -0
  74. package/dist/blocks/optional-whitespace/impl.ts +21 -0
  75. package/dist/blocks/optional-whitespace/proof/manifest.json +8 -0
  76. package/dist/blocks/optional-whitespace/proof/tests.fast-check.ts +20 -0
  77. package/dist/blocks/optional-whitespace/spec.yak +76 -0
  78. package/dist/blocks/peek-char/impl.ts +15 -0
  79. package/dist/blocks/peek-char/proof/manifest.json +8 -0
  80. package/dist/blocks/peek-char/proof/tests.fast-check.ts +20 -0
  81. package/dist/blocks/peek-char/spec.yak +76 -0
  82. package/dist/blocks/position-step/impl.ts +21 -0
  83. package/dist/blocks/position-step/proof/manifest.json +8 -0
  84. package/dist/blocks/position-step/proof/tests.fast-check.ts +20 -0
  85. package/dist/blocks/position-step/spec.yak +85 -0
  86. package/dist/blocks/queue-drain/impl.ts +74 -0
  87. package/dist/blocks/queue-drain/proof/manifest.json +8 -0
  88. package/dist/blocks/queue-drain/proof/tests.fast-check.ts +16 -0
  89. package/dist/blocks/queue-drain/spec.yak +119 -0
  90. package/dist/blocks/semver-component-parser/impl.ts +115 -0
  91. package/dist/blocks/semver-component-parser/proof/manifest.json +8 -0
  92. package/dist/blocks/semver-component-parser/proof/tests.fast-check.ts +19 -0
  93. package/dist/blocks/semver-component-parser/spec.yak +109 -0
  94. package/dist/blocks/signed-integer/impl.ts +40 -0
  95. package/dist/blocks/signed-integer/proof/manifest.json +8 -0
  96. package/dist/blocks/signed-integer/proof/tests.fast-check.ts +21 -0
  97. package/dist/blocks/signed-integer/spec.yak +84 -0
  98. package/dist/blocks/string-from-position/impl.ts +18 -0
  99. package/dist/blocks/string-from-position/proof/manifest.json +8 -0
  100. package/dist/blocks/string-from-position/proof/tests.fast-check.ts +20 -0
  101. package/dist/blocks/string-from-position/spec.yak +85 -0
  102. package/dist/blocks/timer-handle/impl.ts +66 -0
  103. package/dist/blocks/timer-handle/proof/manifest.json +8 -0
  104. package/dist/blocks/timer-handle/proof/tests.fast-check.ts +18 -0
  105. package/dist/blocks/timer-handle/spec.yak +67 -0
  106. package/dist/blocks/whitespace/impl.ts +20 -0
  107. package/dist/blocks/whitespace/proof/manifest.json +8 -0
  108. package/dist/blocks/whitespace/proof/tests.fast-check.ts +21 -0
  109. package/dist/blocks/whitespace/spec.yak +80 -0
  110. package/dist/bootstrap/expected-failures.json +4 -0
  111. package/dist/bootstrap/expected-roots.json +49890 -0
  112. package/dist/bootstrap/yakcc.registry.sqlite +0 -0
  113. package/dist/index.js +10826 -0
  114. package/dist/index.js.map +1 -0
  115. package/package.json +78 -0
package/LICENSE ADDED
@@ -0,0 +1,214 @@
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 describing the origin of the Work and
141
+ 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 Support. While redistributing the Work or
166
+ Derivative Works thereof, You may choose to offer, and charge a
167
+ fee for, acceptance of support, warranty, indemnity, or other
168
+ liability obligations and/or rights consistent with this License.
169
+ However, in accepting such obligations, You may act only on Your
170
+ own behalf and on Your sole responsibility, not on behalf of any
171
+ other Contributor, and only if You agree to indemnify, defend,
172
+ and hold each Contributor harmless for any liability incurred by,
173
+ or claims asserted against, such Contributor by reason of your
174
+ accepting any such warranty or support.
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 The Yakcc Authors
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.
202
+
203
+ ----------------------------------------------------------------------
204
+
205
+ NOTE: This Apache 2.0 license applies to the substrate code in this
206
+ repository (the engine: shave, compile, discovery, registry storage,
207
+ hooks, CLI, tooling, configs, build files).
208
+
209
+ Atom content — items registered in the atom registry, including everything
210
+ under `packages/seeds/blocks/` and the contents of `bootstrap/` artifacts —
211
+ is dedicated to the public domain under The Unlicense. See LICENSE-ATOMS.
212
+
213
+ The split reflects the nature of the artifacts: the engine is a software
214
+ tool with conventional copyright; the registry is a content commons.
package/LICENSE-ATOMS ADDED
@@ -0,0 +1,38 @@
1
+ This file applies to atom content in the Yakcc registry, including (but
2
+ not limited to):
3
+
4
+ - Everything under `packages/seeds/blocks/**`
5
+ - The artifact contents referenced by `bootstrap/expected-roots.json`
6
+ - Any source file marked with the SPDX identifier `Unlicense`
7
+ - Any registered atom (block triplet: `spec.yak`, `impl.ts`, `proof/`)
8
+
9
+ The substrate code that operates on these atoms (shave, compile, discovery,
10
+ registry storage, hooks, CLI, tooling) is licensed separately under the
11
+ Apache License 2.0. See LICENSE.
12
+
13
+ ---
14
+
15
+ This is free and unencumbered software released into the public domain.
16
+
17
+ Anyone is free to copy, modify, publish, use, compile, sell, or
18
+ distribute this software, either in source code form or as a compiled
19
+ binary, for any purpose, commercial or non-commercial, and by any
20
+ means.
21
+
22
+ In jurisdictions that recognize copyright laws, the author or authors
23
+ of this software dedicate any and all copyright interest in the
24
+ software to the public domain. We make this dedication for the benefit
25
+ of the public at large and to the detriment of our heirs and
26
+ successors. We intend this dedication to be an overt act of
27
+ relinquishment in perpetuity of all present and future rights to this
28
+ software under copyright law.
29
+
30
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
31
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
32
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
33
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
34
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
35
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
36
+ OTHER DEALINGS IN THE SOFTWARE.
37
+
38
+ For more information, please refer to <https://unlicense.org>
package/README.md ADDED
@@ -0,0 +1,76 @@
1
+ # @yakcc/cli
2
+
3
+ > **Shave once, reuse forever.**
4
+
5
+ Yakcc is a content-addressed block registry for assembling programs from verified, reusable building blocks. Instead of generating the same parsing logic, data transformation, or utility function over and over, your IDE's AI assistant shaves it once into an atomic, tested block and stores it in a local registry. The next time you need it — in any project, on any machine — the registry serves the exact same bytes, with proof that it works.
6
+
7
+ This package is the `yakcc` command-line interface.
8
+
9
+ ## Install
10
+
11
+ ```sh
12
+ npm install -g @yakcc/cli@alpha
13
+ # or
14
+ pnpm add -g @yakcc/cli@alpha
15
+ ```
16
+
17
+ > v0.5.0-alpha.0 is the **first public alpha**. Install via the `alpha` tag so a plain `npm install @yakcc/cli` doesn't pull pre-release bits.
18
+
19
+ ## 60-second quickstart
20
+
21
+ ```sh
22
+ # In any project directory:
23
+ yakcc init
24
+ ```
25
+
26
+ `yakcc init` creates a `.yakcc/` directory, wires up hooks for whichever supported IDEs it detects (Claude Code, Cursor, Cline, Continue.dev, Windsurf, Aider), and seeds the local registry with bootstrap atoms.
27
+
28
+ From there, your IDE's AI assistant consults the registry whenever it emits code. Matching atoms get served directly; novel emissions get atomized into the registry for next time.
29
+
30
+ ## What you get
31
+
32
+ - **Reproducibility by construction.** Every assembled program carries a provenance manifest naming every constituent block by its content-address. Bit-for-bit reproducibility is the default, not a build option.
33
+ - **Verified building blocks.** Every block carries property tests. You always know what was tested and how.
34
+ - **6-IDE adapter cascade.** Claude Code, Cursor, Cline, Continue.dev, Windsurf, Aider.
35
+ - **Offline-first.** No API key required for most operations. Vector search uses a local embedding model; shaving uses static TypeScript analysis by default.
36
+ - **Federation.** Registries can mirror each other over HTTP; every transferred block is integrity-checked.
37
+
38
+ ## Common commands
39
+
40
+ | Command | What it does |
41
+ |---|---|
42
+ | `yakcc init [--target <dir>] [--peer <url>]` | Set up yakcc in a project; auto-detects supported IDEs. |
43
+ | `yakcc compile <entry>` | Walk sub-contracts from the entry point and emit a runnable artifact + provenance manifest. |
44
+ | `yakcc shave <source-dir>` | Decompose a permissively-licensed TS/JS tree into registry atoms (static analysis, no API key). |
45
+ | `yakcc query <intent>` | Vector search for atoms matching a natural-language intent. |
46
+ | `yakcc registry rebuild` | Regenerate registry embeddings. |
47
+ | `yakcc bootstrap --verify` | Confirm registry/atom-corpus health (byte-compare against committed manifest). |
48
+ | `yakcc federation serve` | Run a read-only HTTP registry peer. |
49
+ | `yakcc federation mirror --remote <url>` | Mirror all blocks from a remote peer into the local registry. |
50
+ | `yakcc uninstall [--purge]` | Remove yakcc from a project. |
51
+
52
+ Run `yakcc --help` for the full surface.
53
+
54
+ ## Exit codes
55
+
56
+ - `0` — success
57
+ - `1` — usage error
58
+ - `2` — runtime error (registry not found, compilation failed, type error)
59
+
60
+ ## Documentation
61
+
62
+ - Full walkthrough: [docs/USING_YAKCC.md](https://github.com/cneckar/yakcc/blob/main/docs/USING_YAKCC.md)
63
+ - Alpha tester guide: [docs/ALPHA.md](https://github.com/cneckar/yakcc/blob/main/docs/ALPHA.md)
64
+ - Advanced topics (federation, airgap, custom embeddings): [docs/ADVANCED.md](https://github.com/cneckar/yakcc/blob/main/docs/ADVANCED.md)
65
+ - Troubleshooting: [docs/TROUBLESHOOTING.md](https://github.com/cneckar/yakcc/blob/main/docs/TROUBLESHOOTING.md)
66
+
67
+ ## Reporting issues
68
+
69
+ File at [github.com/cneckar/yakcc/issues](https://github.com/cneckar/yakcc/issues). Alpha-tester feedback is the most valuable signal we get right now.
70
+
71
+ ## License
72
+
73
+ Yakcc consists of two distinct artifacts with different licenses:
74
+
75
+ - **Substrate code** (this package) — [Apache License 2.0](./LICENSE).
76
+ - **Atom content** (registry contents under `dist/blocks/`) — public domain via [The Unlicense](./LICENSE-ATOMS).