@younndai/lyt-skills 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +200 -0
- package/NOTICE +23 -0
- package/README.md +124 -0
- package/dist/commands/skills-install.d.ts +3 -0
- package/dist/commands/skills-install.d.ts.map +1 -0
- package/dist/commands/skills-install.js +89 -0
- package/dist/commands/skills-install.js.map +1 -0
- package/dist/commands/skills-list.d.ts +3 -0
- package/dist/commands/skills-list.d.ts.map +1 -0
- package/dist/commands/skills-list.js +79 -0
- package/dist/commands/skills-list.js.map +1 -0
- package/dist/commands/skills.d.ts +3 -0
- package/dist/commands/skills.d.ts.map +1 -0
- package/dist/commands/skills.js +26 -0
- package/dist/commands/skills.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +19 -0
- package/dist/index.js.map +1 -0
- package/dist/list.d.ts +19 -0
- package/dist/list.d.ts.map +1 -0
- package/dist/list.js +65 -0
- package/dist/list.js.map +1 -0
- package/dist/symlink.d.ts +41 -0
- package/dist/symlink.d.ts.map +1 -0
- package/dist/symlink.js +233 -0
- package/dist/symlink.js.map +1 -0
- package/package.json +72 -0
- package/skills/lyt-capture/SKILL.md +137 -0
- package/skills/lyt-decision/SKILL.md +52 -0
- package/skills/lyt-handoff/SKILL.md +52 -0
- package/skills/lyt-insight/SKILL.md +55 -0
- package/skills/lyt-mesh-explore/SKILL.md +190 -0
- package/skills/lyt-pattern/SKILL.md +71 -0
- package/skills/lyt-plan/SKILL.md +60 -0
- package/skills/lyt-pod/SKILL.md +205 -0
- package/skills/lyt-primer-context/SKILL.md +206 -0
- package/skills/lyt-progress/SKILL.md +48 -0
- package/skills/lyt-recall/SKILL.md +98 -0
- package/skills/lyt-result/SKILL.md +49 -0
- package/skills/lyt-retro/SKILL.md +54 -0
- package/skills/lyt-search/SKILL.md +144 -0
- package/skills/lyt-sync/SKILL.md +145 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,200 @@
|
|
|
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 Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may accept and charge a
|
|
167
|
+
fee for, or grant additional liability obligations and/or rights
|
|
168
|
+
consistent with this License. However, in accepting such obligations,
|
|
169
|
+
You may act only on Your own behalf and on Your sole responsibility,
|
|
170
|
+
not on behalf of any other Contributor, and only if You agree to
|
|
171
|
+
indemnify, defend, and hold each Contributor harmless for any
|
|
172
|
+
liability incurred by, or claims asserted against, such Contributor
|
|
173
|
+
by reason of your accepting any such warranty or additional liability.
|
|
174
|
+
|
|
175
|
+
END OF TERMS AND CONDITIONS
|
|
176
|
+
|
|
177
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
178
|
+
|
|
179
|
+
To apply the Apache License to your work, attach the following
|
|
180
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
181
|
+
replaced with your own identifying information. (Don't include
|
|
182
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
183
|
+
comment syntax for the file format. We also recommend that a
|
|
184
|
+
file or class name and description of purpose be included on the
|
|
185
|
+
same "printed page" as the copyright notice for easier
|
|
186
|
+
identification within third-party archives.
|
|
187
|
+
|
|
188
|
+
Copyright 2026 MARLINK TRADING SRL (YounndAI)
|
|
189
|
+
|
|
190
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
191
|
+
you may not use this file except in compliance with the License.
|
|
192
|
+
You may obtain a copy of the License at
|
|
193
|
+
|
|
194
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
195
|
+
|
|
196
|
+
Unless required by applicable law or agreed to in writing, software
|
|
197
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
198
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
199
|
+
See the License for the specific language governing permissions and
|
|
200
|
+
limitations under the License.
|
package/NOTICE
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@younndai/lyt-skills
|
|
2
|
+
Copyright 2026 MARLINK TRADING SRL (YounndAI)
|
|
3
|
+
|
|
4
|
+
This product includes software developed by MARLINK TRADING SRL (YounndAI)
|
|
5
|
+
(https://younndai.com).
|
|
6
|
+
|
|
7
|
+
Created by: Alexandru Mareș (https://allemaar.com)
|
|
8
|
+
|
|
9
|
+
Licensed under the Apache License, Version 2.0. See LICENSE.
|
|
10
|
+
|
|
11
|
+
----------------------------------------------------------------------
|
|
12
|
+
Trademark notice
|
|
13
|
+
----------------------------------------------------------------------
|
|
14
|
+
|
|
15
|
+
YounndAI™ and LYT™ are trademarks of MARLINK TRADING SRL.
|
|
16
|
+
|
|
17
|
+
The Apache License, Version 2.0 does not grant permission to use the
|
|
18
|
+
trade names, trademarks, service marks, or product names of
|
|
19
|
+
MARLINK TRADING SRL, except as required for describing the origin of
|
|
20
|
+
this work and reproducing the content of this NOTICE file.
|
|
21
|
+
|
|
22
|
+
See TRADEMARK.md for the trademark usage policy.
|
|
23
|
+
For trademark usage permissions, contact: office@younndai.com
|
package/README.md
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<picture>
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/YounndAI/lyt/main/assets/lyt-icon-ondark.png" />
|
|
4
|
+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/YounndAI/lyt/main/assets/lyt-icon-onlight.png" />
|
|
5
|
+
<img alt="Lyt" src="https://raw.githubusercontent.com/YounndAI/lyt/main/assets/lyt-icon-onlight.png" width="80" />
|
|
6
|
+
</picture>
|
|
7
|
+
</p>
|
|
8
|
+
|
|
9
|
+
<p align="center">
|
|
10
|
+
<strong>@younndai/lyt-skills</strong><br />
|
|
11
|
+
Agent-harness skills — let Claude Code, Codex, and any agent runtime drive your markdown vaults as first-class operators.<br />
|
|
12
|
+
<em>Part of the Lyt™ toolchain — federated markdown vaults you own, made legible to AI.</em>
|
|
13
|
+
</p>
|
|
14
|
+
|
|
15
|
+
<p align="center">
|
|
16
|
+
<a href="https://linkyourthink.com">Website</a> · <a href="https://github.com/YounndAI/lyt">Repository</a> · <a href="./LICENSE">Apache 2.0</a> · <a href="https://github.com/YounndAI/lyt/blob/main/TRADEMARK.md">Trademark Policy</a> · <a href="https://github.com/YounndAI/lyt/blob/main/CONTRIBUTING.md">Contributing</a>
|
|
17
|
+
</p>
|
|
18
|
+
|
|
19
|
+
[](https://www.npmjs.com/package/@younndai/lyt-skills)
|
|
20
|
+
[](./LICENSE)
|
|
21
|
+
[](https://github.com/YounndAI/lyt#status)
|
|
22
|
+
|
|
23
|
+
> ⚠️ **Public alpha — under active testing.** Lyt works and we use it daily, but surfaces change between releases and docs are still growing. Install only via the `alpha` dist-tag. Your vaults are plain markdown in plain git repos — your data is never locked in, and Lyt never phones home.
|
|
24
|
+
|
|
25
|
+
## What is this?
|
|
26
|
+
|
|
27
|
+
`@younndai/lyt-skills` is where [Lyt™](https://github.com/YounndAI/lyt)'s **AI-first** design becomes tangible: fifteen harness skills that let AI agents — Claude Code, Codex, and generic agent runtimes — drive your markdown vaults as **first-class operators**. Install once and your agent can capture notes, search your pod, record decisions, write plans, retros, and handoffs, explore meshes, and sync vaults — through the same governed operation set you use, under the same permission semantics. This is the "install once, every agent runtime knows Lyt" layer.
|
|
28
|
+
|
|
29
|
+
Most skills wrap a pattern verb from the `lyt pattern run` runtime, so structured knowledge work (plans, results, decisions, captures) shows up as first-class agent skills inside any vault; the read/orient skills (`/lyt-pod`, `/lyt-search`, `/lyt-primer-context`, `/lyt-mesh-explore`, `/lyt-sync`) wrap the corresponding CLI verbs directly. Pairs with [`@younndai/lyt-vault`](https://www.npmjs.com/package/@younndai/lyt-vault), which ships the four default patterns the skills resolve against.
|
|
30
|
+
|
|
31
|
+
## Install
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
npm install -g @younndai/lyt@alpha # the meta package bundles lyt-skills
|
|
35
|
+
lyt skills install # links the 15 SKILL.md files into your harness(es)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Tri-runtime: the installer detects Claude Code, Codex, and generic agent runtimes, and installs per-runtime (symlink by default, `--copy` for regular directories).
|
|
39
|
+
|
|
40
|
+
## The 15 skills
|
|
41
|
+
|
|
42
|
+
| Skill | Wraps | Use it when |
|
|
43
|
+
| --------------------- | -------------------------------------------------- | ------------------------------------------------------------ |
|
|
44
|
+
| `/lyt-capture` | knowledge-capture + capture | Saving a Figment (markdown note) into a vault. |
|
|
45
|
+
| `/lyt-recall` | knowledge-capture + recall | Keyword search across a single vault. |
|
|
46
|
+
| `/lyt-search` | `lyt search` (tiered cascade) | Ranked search across the whole pod, a mesh, or a vault. |
|
|
47
|
+
| `/lyt-pod` | `lyt mesh list` + `lyt vault list` | Enumerating every mesh + vault on the machine. |
|
|
48
|
+
| `/lyt-mesh-explore` | `lyt mesh info` | Drilling into one mesh's members and metadata. |
|
|
49
|
+
| `/lyt-primer-context` | `lyt primer` + `lyt vault info` | Priming an agent with vault/mesh/pod context. |
|
|
50
|
+
| `/lyt-sync` | gated git pull/commit/push | Syncing a vault with its remote under the writable gate. |
|
|
51
|
+
| `/lyt-plan` | work-management + plan | Drafting a multi-phase plan before implementation. |
|
|
52
|
+
| `/lyt-progress` | work-management + progress | Mid-session progress update or blocker write-up. |
|
|
53
|
+
| `/lyt-result` | work-management + result | Session-end result with per-clause acceptance. |
|
|
54
|
+
| `/lyt-retro` | work-management + retro | Post-implementation retrospective. |
|
|
55
|
+
| `/lyt-insight` | work-management + insight | Promoting a result into a durable insight. |
|
|
56
|
+
| `/lyt-handoff` | work-management + handoff | Writing the next session's handoff brief. |
|
|
57
|
+
| `/lyt-decision` | decision-log + decision | Recording a decision + rationale pair. |
|
|
58
|
+
| `/lyt-pattern` | meta-skill over `lyt pattern *` | Listing, installing, linking patterns from an agent context. |
|
|
59
|
+
|
|
60
|
+
Each skill autodetects the active vault + project via `lyt vault info --by-path`, the `LYT_ACTIVE_VAULT` env var, or an explicit `--vault` flag, then calls `lyt pattern run <pattern> <verb>` to write the file at the resolved path.
|
|
61
|
+
|
|
62
|
+
## The capture contract
|
|
63
|
+
|
|
64
|
+
`/lyt-capture` enforces an 8-field frontmatter contract on every captured Figment:
|
|
65
|
+
|
|
66
|
+
| Field | Source | Default |
|
|
67
|
+
| -------------------------------------- | ------------------------------------------------ | -------- |
|
|
68
|
+
| `title`, `created`, `modified`, `tags` | Auto-filled by the skill | — |
|
|
69
|
+
| `purpose` | Handler-prompted (1 line — what the note is for) | required |
|
|
70
|
+
| `topic` | Handler-prompted (semantic category) | required |
|
|
71
|
+
| `mesh-visibility` | Handler-overridable | `local` |
|
|
72
|
+
| `weight` | Handler-overridable (1–5) | `3` |
|
|
73
|
+
|
|
74
|
+
A `meta:` escape-hatch blob accepts free-form fields without schema churn. The result: every note an agent saves is structured, searchable, and legible to the next agent that reads it.
|
|
75
|
+
|
|
76
|
+
## Patterns vs skills
|
|
77
|
+
|
|
78
|
+
- A **pattern** is data: a `pattern.yon` descriptor + a `templates/` folder of markdown templates with frontmatter. Patterns live at `~/lyt/patterns/`.
|
|
79
|
+
- A **skill** is a thin SKILL.md adapter an agent harness loads; it calls the pattern runtime.
|
|
80
|
+
|
|
81
|
+
Fork any default pattern (`lyt pattern fork work-management --as wm-custom`) without modifying the master. See `lyt help patterns` and `lyt help skills`.
|
|
82
|
+
|
|
83
|
+
## The Lyt toolchain
|
|
84
|
+
|
|
85
|
+
| Package | Role |
|
|
86
|
+
| --- | --- |
|
|
87
|
+
| [`@younndai/lyt`](https://github.com/YounndAI/lyt/tree/main/packages/lyt) | The unified `lyt` CLI (meta package) |
|
|
88
|
+
| [`@younndai/lyt-vault`](https://github.com/YounndAI/lyt/tree/main/packages/lyt-vault) | The vault primitive |
|
|
89
|
+
| [`@younndai/lyt-mesh`](https://github.com/YounndAI/lyt/tree/main/packages/lyt-mesh) | The mesh layer — multi-vault operations |
|
|
90
|
+
| [`@younndai/lyt-skills`](https://github.com/YounndAI/lyt/tree/main/packages/lyt-skills) | **This package** — agent-harness skills |
|
|
91
|
+
| [`@younndai/lyt-mcp`](https://github.com/YounndAI/lyt/tree/main/packages/lyt-mcp) | The MCP server |
|
|
92
|
+
| [`@younndai/lyt-runner`](https://github.com/YounndAI/lyt/tree/main/packages/lyt-runner) | The YON automation runner |
|
|
93
|
+
| [`@younndai/lyt-llm`](https://github.com/YounndAI/lyt/tree/main/packages/lyt-llm) | The LLM gateway |
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
## About YounndAI
|
|
98
|
+
|
|
99
|
+
**YounndAI™ — You and AI, unified.** (pronounced *"yoon-dye"*)
|
|
100
|
+
|
|
101
|
+
A philosophy of intelligence: building with intention, so humans and machines
|
|
102
|
+
think together without losing what makes either whole.
|
|
103
|
+
|
|
104
|
+
## License & Attribution
|
|
105
|
+
|
|
106
|
+
Apache-2.0. © 2026 MARLINK TRADING SRL (YounndAI). See [`LICENSE`](./LICENSE) and [`NOTICE`](./NOTICE).
|
|
107
|
+
|
|
108
|
+
"LYT", "Lyt", and "YounndAI" are trademarks of MARLINK TRADING SRL — see [`TRADEMARK.md`](https://github.com/YounndAI/lyt/blob/main/TRADEMARK.md).
|
|
109
|
+
|
|
110
|
+
Created by [Alexandru Mareș](https://allemaar.com).
|
|
111
|
+
|
|
112
|
+
Website: [linkyourthink.com](https://linkyourthink.com)
|
|
113
|
+
|
|
114
|
+
<p align="center"><em>Structure before scale. Harmony above all.</em></p>
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
| | |
|
|
119
|
+
| ------------- | ------------------------------------------------------- |
|
|
120
|
+
| **Project** | [Lyt — Link Your Think](https://linkyourthink.com) |
|
|
121
|
+
| **Author** | [Alexandru Mareș](https://allemaar.com) |
|
|
122
|
+
| **Company** | [MARLINK TRADING SRL](https://younndai.com) · YounndAI™ |
|
|
123
|
+
| **License** | [Apache 2.0](./LICENSE) — © 2026 MARLINK TRADING SRL |
|
|
124
|
+
| **Trademark** | [YounndAI™ Trademark Guidelines](https://github.com/YounndAI/lyt/blob/main/TRADEMARK.md) |
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skills-install.d.ts","sourceRoot":"","sources":["../../src/commands/skills-install.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;AAY5C,wBAAgB,4BAA4B,IAAI,OAAO,CAgCtD"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 MARLINK TRADING SRL (YounndAI)
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { Command, Option } from "commander";
|
|
17
|
+
import { symlinkSkillsTriRuntime, ALL_RUNTIMES } from "../symlink.js";
|
|
18
|
+
export function buildSkillsInstallSubcommand() {
|
|
19
|
+
const cmd = new Command("install");
|
|
20
|
+
cmd
|
|
21
|
+
.description("Symlink bundled Lyt skills into Claude Code / Codex / .agents runtimes")
|
|
22
|
+
.addOption(new Option("--runtime <name>", "Target runtime")
|
|
23
|
+
.choices(["claude", "codex", "agents", "all"])
|
|
24
|
+
.default("all"))
|
|
25
|
+
.option("--copy", "Use recursive directory copy instead of symlink", false)
|
|
26
|
+
.option("-f, --force", "Overwrite divergent symlinks or copied directories", false)
|
|
27
|
+
.option("--source <dir>", "Override bundled skills source directory (test seam)")
|
|
28
|
+
.option("--json", "Emit deterministic JSON shape", false)
|
|
29
|
+
.action((opts) => {
|
|
30
|
+
const runtimes = resolveRuntimes(opts.runtime ?? "all");
|
|
31
|
+
const result = symlinkSkillsTriRuntime({
|
|
32
|
+
sourceDir: opts.source,
|
|
33
|
+
runtimes,
|
|
34
|
+
copy: opts.copy ?? false,
|
|
35
|
+
force: opts.force ?? false,
|
|
36
|
+
});
|
|
37
|
+
if (opts.json) {
|
|
38
|
+
process.stdout.write(JSON.stringify(result, null, 2) + "\n");
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
printHuman(result);
|
|
42
|
+
}
|
|
43
|
+
const exitCode = pickExitCode(result);
|
|
44
|
+
if (exitCode !== 0)
|
|
45
|
+
process.exitCode = exitCode;
|
|
46
|
+
});
|
|
47
|
+
return cmd;
|
|
48
|
+
}
|
|
49
|
+
function resolveRuntimes(name) {
|
|
50
|
+
if (name === "all")
|
|
51
|
+
return ALL_RUNTIMES;
|
|
52
|
+
return [name];
|
|
53
|
+
}
|
|
54
|
+
function printHuman(result) {
|
|
55
|
+
// eslint-disable-next-line no-console
|
|
56
|
+
console.log(`Installed Lyt skills from ${result.sourceDir}`);
|
|
57
|
+
for (const r of result.results) {
|
|
58
|
+
const msg = r.message ? ` (${r.message})` : "";
|
|
59
|
+
// eslint-disable-next-line no-console
|
|
60
|
+
console.log(` ${r.runtime}/${r.skill}\t${r.status}${msg}`);
|
|
61
|
+
}
|
|
62
|
+
// D30.4 / OD-1 — surface collision renames prominently. The install
|
|
63
|
+
// SUCCEEDED (exit 0, heal never halts), but the handler must know a dir of
|
|
64
|
+
// theirs was set aside so they can recover it if they want.
|
|
65
|
+
const collisions = result.results.filter((r) => r.status === "renamed-collision");
|
|
66
|
+
if (collisions.length > 0) {
|
|
67
|
+
// eslint-disable-next-line no-console
|
|
68
|
+
console.warn(`\n⚠ ${collisions.length} skill target(s) collided with a non-lyt directory and were set aside (nothing deleted):`);
|
|
69
|
+
for (const r of collisions) {
|
|
70
|
+
// eslint-disable-next-line no-console
|
|
71
|
+
console.warn(` ${r.runtime}/${r.skill}: ${r.message ?? ""}`);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
function pickExitCode(result) {
|
|
76
|
+
let exit = 0;
|
|
77
|
+
for (const r of result.results) {
|
|
78
|
+
if (r.status === "target-not-a-directory")
|
|
79
|
+
return 4;
|
|
80
|
+
// `divergent-symlink` is a warn (a symlink points somewhere unexpected and
|
|
81
|
+
// we did NOT touch it without --force). `renamed-collision` is NOT a warn
|
|
82
|
+
// exit: it is a successful, collision-safe install — heal must stay exit 0
|
|
83
|
+
// so a re-aligning `lyt init` never reports failure (D30 never-fail).
|
|
84
|
+
if (r.status === "divergent-symlink")
|
|
85
|
+
exit = 2;
|
|
86
|
+
}
|
|
87
|
+
return exit;
|
|
88
|
+
}
|
|
89
|
+
//# sourceMappingURL=skills-install.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skills-install.js","sourceRoot":"","sources":["../../src/commands/skills-install.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAE5C,OAAO,EAAE,uBAAuB,EAAE,YAAY,EAAgB,MAAM,eAAe,CAAC;AAUpF,MAAM,UAAU,4BAA4B;IAC1C,MAAM,GAAG,GAAG,IAAI,OAAO,CAAC,SA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C,OAAO,EAAE,CAAC;QAC/B,IAAI,CAAC,CAAC,MAAM,KAAK,wBAAwB;YAAE,OAAO,CAAC,CAAC;QACpD,2EAA2E;QAC3E,0EAA0E;QAC1E,2EAA2E;QAC3E,sEAAsE;QACtE,IAAI,CAAC,CAAC,MAAM,KAAK,mBAAmB;YAAE,IAAI,GAAG,CAAC,CAAC;IACjD,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skills-list.d.ts","sourceRoot":"","sources":["../../src/commands/skills-list.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;AAW5C,wBAAgB,yBAAyB,IAAI,OAAO,CAsBnD"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 MARLINK TRADING SRL (YounndAI)
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { Command, Option } from "commander";
|
|
17
|
+
import { listSkillsTriRuntime } from "../list.js";
|
|
18
|
+
import { ALL_RUNTIMES } from "../symlink.js";
|
|
19
|
+
export function buildSkillsListSubcommand() {
|
|
20
|
+
const cmd = new Command("list");
|
|
21
|
+
cmd
|
|
22
|
+
.description("Show per-runtime install state of bundled Lyt skills")
|
|
23
|
+
.addOption(new Option("--runtime <name>", "Filter the report to a single runtime")
|
|
24
|
+
.choices(["claude", "codex", "agents", "all"])
|
|
25
|
+
.default("all"))
|
|
26
|
+
.option("--source <dir>", "Override bundled skills source directory (test seam)")
|
|
27
|
+
.option("--json", "Emit deterministic JSON shape", false)
|
|
28
|
+
.action((opts) => {
|
|
29
|
+
const runtimes = resolveRuntimes(opts.runtime ?? "all");
|
|
30
|
+
const result = listSkillsTriRuntime({ sourceDir: opts.source, runtimes });
|
|
31
|
+
if (opts.json) {
|
|
32
|
+
process.stdout.write(JSON.stringify(result, null, 2) + "\n");
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
printTable(result);
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
return cmd;
|
|
39
|
+
}
|
|
40
|
+
function resolveRuntimes(name) {
|
|
41
|
+
if (name === "all")
|
|
42
|
+
return ALL_RUNTIMES;
|
|
43
|
+
return [name];
|
|
44
|
+
}
|
|
45
|
+
function symbol(state) {
|
|
46
|
+
switch (state) {
|
|
47
|
+
case "symlink":
|
|
48
|
+
return "✓ symlink";
|
|
49
|
+
case "copy":
|
|
50
|
+
return "✓ copy";
|
|
51
|
+
case "missing":
|
|
52
|
+
return "✗ missing";
|
|
53
|
+
case "divergent":
|
|
54
|
+
return "! divergent";
|
|
55
|
+
case "not-a-dir":
|
|
56
|
+
return "! not-a-dir";
|
|
57
|
+
default:
|
|
58
|
+
return state;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
function printTable(result) {
|
|
62
|
+
const cols = ["Skill", "lyt-version", ...result.runtimes];
|
|
63
|
+
const rows = result.skills.map((row) => [
|
|
64
|
+
row.name,
|
|
65
|
+
row.lytVersion ?? "-",
|
|
66
|
+
...result.runtimes.map((rt) => symbol(row.runtimes[rt])),
|
|
67
|
+
]);
|
|
68
|
+
const widths = cols.map((c, i) => Math.max(c.length, ...rows.map((r) => r[i].length)));
|
|
69
|
+
const fmt = (cells) => cells.map((c, i) => c.padEnd(widths[i])).join(" ");
|
|
70
|
+
// eslint-disable-next-line no-console
|
|
71
|
+
console.log(fmt(cols));
|
|
72
|
+
// eslint-disable-next-line no-console
|
|
73
|
+
console.log(fmt(widths.map((w) => "-".repeat(w))));
|
|
74
|
+
for (const row of rows) {
|
|
75
|
+
// eslint-disable-next-line no-console
|
|
76
|
+
console.log(fmt(row));
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=skills-list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skills-list.js","sourceRoot":"","sources":["../../src/commands/skills-list.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAE5C,OAAO,EAAE,oBAAoB,EAAyB,MAAM,YAAY,CAAC;AACzE,OAAO,EAAE,YAAY,EAAgB,MAAM,eAAe,CAAC;AAQ3D,MAAM,UAAU,yBAAyB;IACvC,MAAM,GAAG,GAAG,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAChC,GAAG;SACA,WAAW,CAAC,sDAAsD,CAAC;SACnE,SAAS,CACR,IAAI,MAAM,CAAC,kBAAkB,EAAE,uCAAuC,CAAC;SACpE,OAAO,CAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;SAC7C,OAAO,CAAC,KAAK,CAAC,CAClB;SACA,MAAM,CAAC,gBAAgB,EAAE,sDAAsD,CAAC;SAChF,MAAM,CAAC,QAAQ,EAAE,+BAA+B,EAAE,KAAK,CAAC;SACxD,MAAM,CAAC,CAAC,IAAuB,EAAE,EAAE;QAClC,MAAM,QAAQ,GAAG,eAAe,CAAC,IAAI,CAAC,OAAO,IAAI,KAAK,CAAC,CAAC;QACxD,MAAM,MAAM,GAAG,oBAAoB,CAAC,EAAE,SAAS,EAAE,IAAI,CAAC,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;QAE1E,IAAI,IAAI,CAAC,IAA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AAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,EAAE,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAExF,MAAM,GAAG,GAAG,CAAC,KAAe,EAAU,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAE,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAE7F,sCAAsC;IACtC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;IACvB,sCAAsC;IACtC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACnD,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;QACvB,sCAAsC;QACtC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;IACxB,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skills.d.ts","sourceRoot":"","sources":["../../src/commands/skills.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAKpC,wBAAgB,kBAAkB,IAAI,OAAO,CAM5C"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 MARLINK TRADING SRL (YounndAI)
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { Command } from "commander";
|
|
17
|
+
import { buildSkillsInstallSubcommand } from "./skills-install.js";
|
|
18
|
+
import { buildSkillsListSubcommand } from "./skills-list.js";
|
|
19
|
+
export function buildSkillsCommand() {
|
|
20
|
+
const cmd = new Command("skills");
|
|
21
|
+
cmd.description("Manage Lyt harness skills across Claude Code / Codex / .agents runtimes");
|
|
22
|
+
cmd.addCommand(buildSkillsInstallSubcommand());
|
|
23
|
+
cmd.addCommand(buildSkillsListSubcommand());
|
|
24
|
+
return cmd;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=skills.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skills.js","sourceRoot":"","sources":["../../src/commands/skills.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAE7D,MAAM,UAAU,kBAAkB;IAChC,MAAM,GAAG,GAAG,IAAI,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClC,GAAG,CAAC,WAAW,CAAC,yEAAyE,CAAC,CAAC;IAC3F,GAAG,CAAC,UAAU,CAAC,4BAA4B,EAAE,CAAC,CAAC;IAC/C,GAAG,CAAC,UAAU,CAAC,yBAAyB,EAAE,CAAC,CAAC;IAC5C,OAAO,GAAG,CAAC;AACb,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { symlinkSkillsTriRuntime, getRuntimeTargetDir, getBundledSkillsDir, listBundledSkills, ALL_RUNTIMES, } from "./symlink.js";
|
|
2
|
+
export type { Runtime, SymlinkStatus, SymlinkSkillsOptions, SymlinkResult, SkillRuntimeResult, } from "./symlink.js";
|
|
3
|
+
export { listSkillsTriRuntime } from "./list.js";
|
|
4
|
+
export type { SkillRuntimeState, SkillRuntimeRow, ListSkillsResult, ListSkillsOptions, } from "./list.js";
|
|
5
|
+
export { buildSkillsCommand } from "./commands/skills.js";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,uBAAuB,EACvB,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,GACb,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,OAAO,EACP,aAAa,EACb,oBAAoB,EACpB,aAAa,EACb,kBAAkB,GACnB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACjD,YAAY,EACV,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 MARLINK TRADING SRL (YounndAI)
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export { symlinkSkillsTriRuntime, getRuntimeTargetDir, getBundledSkillsDir, listBundledSkills, ALL_RUNTIMES, } from "./symlink.js";
|
|
17
|
+
export { listSkillsTriRuntime } from "./list.js";
|
|
18
|
+
export { buildSkillsCommand } from "./commands/skills.js";
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,uBAAuB,EACvB,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,GACb,MAAM,cAAc,CAAC;AAStB,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAQjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
|