@litfamily/litopencode 1.0.3 → 1.0.4
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/CHANGELOG.md +4 -0
- package/README-Ko-KR.md +8 -8
- package/README.md +8 -8
- package/dist/ignition.d.ts +1 -1
- package/dist/ignition.js +2 -6
- package/docs/assets/readme/badge-version.svg +1 -1
- package/docs/lit-mark.md +5 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,10 @@ are tracked separately from this product history.
|
|
|
5
5
|
|
|
6
6
|
## Unreleased
|
|
7
7
|
|
|
8
|
+
## 1.0.4
|
|
9
|
+
|
|
10
|
+
- Remove the repeated discipline label from completion marks so the model's bold ignition line appears once.
|
|
11
|
+
|
|
8
12
|
## 1.0.3
|
|
9
13
|
|
|
10
14
|
- Replace the activation probe with a bold LIT ignition line; show a color-free six-second warning toast with the micro mark and discipline label when mark glyphs are supported, and use the label alone otherwise.
|
package/README-Ko-KR.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<p align="center"><picture><source media="(prefers-reduced-motion: reduce)" srcset="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.
|
|
2
|
-
<p align="center"><a href="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.
|
|
1
|
+
<p align="center"><picture><source media="(prefers-reduced-motion: reduce)" srcset="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.4/docs/assets/cover.webp" /><img src="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.4/docs/assets/cover-motion.webp" width="100%" alt="LitOpenCode cover art. A lime signal moves through orbital paths above the OPENCODE wordmark. The static family cover appears for reduced-motion preference." /></picture></p>
|
|
2
|
+
<p align="center"><a href="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.4/docs/assets/cover.webp">정지 표지 보기</a></p>
|
|
3
3
|
|
|
4
4
|
# LitOpenCode
|
|
5
5
|
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
**Keep the work lit.**
|
|
9
9
|
|
|
10
|
-
<p align="center"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.
|
|
11
|
-
<p align="center"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.
|
|
10
|
+
<p align="center"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.4/docs/assets/readme/litopencode-wordmark.svg" width="480" alt="LITOPENCODE 디스플레이 타입" /></p>
|
|
11
|
+
<p align="center"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.4/docs/assets/readme/litopencode-clay-icon.png" width="160" alt="LitOpenCode 클레이 마크" /></p>
|
|
12
12
|
|
|
13
13
|
> **불씨를 건네받았다.**<br>
|
|
14
14
|
> **이제, 당신의 작업에 옮길 차례다.**
|
|
@@ -60,7 +60,7 @@ canonical 경로를 사용합니다. 번호가 붙은 license·provenance 파일
|
|
|
60
60
|
|
|
61
61
|
Lit 경로가 활성화되면 답변이 굵은 점화 문구로 시작합니다. 플러그인은 글리프를 지원하는 환경에서 다섯 줄의 micro 로고와 마지막 `🔥 LIT IGNITED · <discipline> 🔥` 문구를 6초 동안 경고 토스트로 표시하도록 요청합니다. 글리프를 지원하지 않으면 문구만 표시합니다.
|
|
62
62
|
|
|
63
|
-
<p align="center"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.
|
|
63
|
+
<p align="center"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.4/docs/assets/litopencode-ignition-1600.webp" width="48%" alt="LitOpenCode 점화 장치" /><img src="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.4/docs/assets/litopencode-continuity-1600.webp" width="48%" alt="LitOpenCode 연속 장치" /></p>
|
|
64
64
|
|
|
65
65
|
<p align="center"><a href="docs/assets/readme/ignition-film.mp4"><img src="docs/assets/readme/poster.png" width="720" alt="Ignition 모션 포스터" /></a></p>
|
|
66
66
|
|
|
@@ -94,7 +94,7 @@ route 파일은 `~/.config/opencode/litopencode.json`이며 `XDG_CONFIG_HOME`을
|
|
|
94
94
|
설정 루트가 달라집니다. 기존 custom route는 사용자 소유로 유지됩니다.
|
|
95
95
|
custom root, 모델 선택, 터미널 정책, 무인 설치는 [상세 안내](docs/reference-Ko-KR.md#설치)를 참고하세요.
|
|
96
96
|
|
|
97
|
-
이 checkout의 패키지는 `@litfamily/litopencode@1.0.
|
|
97
|
+
이 checkout의 패키지는 `@litfamily/litopencode@1.0.4`입니다. registry의 `@latest`는 다를 수 있으므로
|
|
98
98
|
정확한 버전이 필요하면 `npm view @litfamily/litopencode version`으로 확인하세요.
|
|
99
99
|
|
|
100
100
|
## 처음 사용하기
|
|
@@ -152,8 +152,8 @@ primitive가 없으므로 이 프로젝트별 로컬 기록으로 작업을 재
|
|
|
152
152
|
</details>
|
|
153
153
|
|
|
154
154
|
<p align="center">
|
|
155
|
-
<a href="#30초-설치"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.
|
|
156
|
-
<a href="LICENSE"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.
|
|
155
|
+
<a href="#30초-설치"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.4/docs/assets/readme/badge-version.svg" alt="1.0.4" /></a>
|
|
156
|
+
<a href="LICENSE"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.4/docs/assets/readme/badge-license.svg" alt="MIT 라이선스" /></a>
|
|
157
157
|
</p>
|
|
158
158
|
|
|
159
159
|
<p align="center">
|
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<p align="center"><picture><source media="(prefers-reduced-motion: reduce)" srcset="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.
|
|
2
|
-
<p align="center"><a href="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.
|
|
1
|
+
<p align="center"><picture><source media="(prefers-reduced-motion: reduce)" srcset="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.4/docs/assets/cover.webp" /><img src="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.4/docs/assets/cover-motion.webp" width="100%" alt="LitOpenCode cover art. A lime signal moves through orbital paths above the OPENCODE wordmark. The static family cover appears for reduced-motion preference." /></picture></p>
|
|
2
|
+
<p align="center"><a href="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.4/docs/assets/cover.webp">View the static cover</a></p>
|
|
3
3
|
|
|
4
4
|
# LitOpenCode
|
|
5
5
|
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
**Keep the work lit.**
|
|
9
9
|
|
|
10
|
-
<p align="center"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.
|
|
11
|
-
<p align="center"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.
|
|
10
|
+
<p align="center"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.4/docs/assets/readme/litopencode-wordmark.svg" width="480" alt="LITOPENCODE display type" /></p>
|
|
11
|
+
<p align="center"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.4/docs/assets/readme/litopencode-clay-icon.png" width="160" alt="LitOpenCode clay mark" /></p>
|
|
12
12
|
|
|
13
13
|
> **The spark is yours.**<br>
|
|
14
14
|
> **Bring it to your work.**
|
|
@@ -60,7 +60,7 @@ Use `lit` or `/lit` to start a bounded task; `handoff` or `/lit-handoff` carries
|
|
|
60
60
|
|
|
61
61
|
When a Lit route activates, the reply starts with a bold ignition line. The plugin requests a six-second warning toast with five micro-logo rows and a final `🔥 LIT IGNITED · <discipline> 🔥` line when the environment supports mark glyphs; otherwise, it shows only that line.
|
|
62
62
|
|
|
63
|
-
<p align="center"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.
|
|
63
|
+
<p align="center"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.4/docs/assets/litopencode-ignition-1600.webp" width="48%" alt="LitOpenCode ignition apparatus" /><img src="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.4/docs/assets/litopencode-continuity-1600.webp" width="48%" alt="LitOpenCode continuity apparatus" /></p>
|
|
64
64
|
|
|
65
65
|
<p align="center"><a href="docs/assets/readme/ignition-film.mp4"><img src="docs/assets/readme/poster.png" width="720" alt="Ignition motion poster" /></a></p>
|
|
66
66
|
|
|
@@ -95,7 +95,7 @@ changes that root. Existing custom routes remain user-owned. See the
|
|
|
95
95
|
[installation and model reference](docs/reference.md#install) for custom roots,
|
|
96
96
|
provider choices, terminal policy, and unattended setup.
|
|
97
97
|
|
|
98
|
-
This checkout is `@litfamily/litopencode@1.0.
|
|
98
|
+
This checkout is `@litfamily/litopencode@1.0.4`. Registry `@latest` can differ; inspect it with
|
|
99
99
|
`npm view @litfamily/litopencode version` when an exact version matters.
|
|
100
100
|
|
|
101
101
|
## First use
|
|
@@ -153,8 +153,8 @@ skills provide guidance when their documented routes select them.
|
|
|
153
153
|
</details>
|
|
154
154
|
|
|
155
155
|
<p align="center">
|
|
156
|
-
<a href="#install-in-30-seconds"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.
|
|
157
|
-
<a href="LICENSE"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.
|
|
156
|
+
<a href="#install-in-30-seconds"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.4/docs/assets/readme/badge-version.svg" alt="1.0.4" /></a>
|
|
157
|
+
<a href="LICENSE"><img src="https://cdn.jsdelivr.net/npm/@litfamily/litopencode@1.0.4/docs/assets/readme/badge-license.svg" alt="MIT license" /></a>
|
|
158
158
|
</p>
|
|
159
159
|
|
|
160
160
|
<p align="center">
|
package/dist/ignition.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare function ignitionMark(first: boolean,
|
|
1
|
+
export declare function ignitionMark(first: boolean, _discipline: string, env?: NodeJS.ProcessEnv): string;
|
|
2
2
|
export declare function createIgnitionState(): {
|
|
3
3
|
activate(sessionID: string, skillId: string): void;
|
|
4
4
|
resetDiscipline(sessionID: string): void;
|
package/dist/ignition.js
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { activationDiscipline } from "./activation-probe.js";
|
|
2
1
|
import { micro, standard, supportsMarkGlyphs } from "./lit-mark.js";
|
|
3
2
|
import { stripUserFacingBlankHtmlCommentLines } from "./user-facing-markdown.js";
|
|
4
3
|
// OpenCode renders completion text as Markdown, so never send terminal escape codes here.
|
|
5
|
-
export function ignitionMark(first,
|
|
6
|
-
const
|
|
7
|
-
const rows = !supportsMarkGlyphs(env) ? ["LIT", label]
|
|
8
|
-
: first ? [...standard, label]
|
|
9
|
-
: micro.map((row, index) => row + (index === 2 ? ` ${label}` : ""));
|
|
4
|
+
export function ignitionMark(first, _discipline, env = process.env) {
|
|
5
|
+
const rows = !supportsMarkGlyphs(env) ? ["LIT"] : first ? standard : micro;
|
|
10
6
|
return ["```text", ...rows, "```"].join("\n");
|
|
11
7
|
}
|
|
12
8
|
export function createIgnitionState() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="146" height="20" role="img" aria-label="release: 1.0.
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="146" height="20" role="img" aria-label="release: 1.0.4"><title>release: 1.0.4</title><g shape-rendering="crispEdges"><rect width="49" height="20" fill="#080d14"/><rect x="49" width="97" height="20" fill="#ff6337"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text x="255" y="140" textLength="390" transform="scale(.1)">release</text><text x="965" y="140" textLength="870" transform="scale(.1)" fill="#080D14">1.0.4</text></g></svg>
|
package/docs/lit-mark.md
CHANGED
|
@@ -30,10 +30,11 @@ progress, and success colors keep their own existing policy and values.
|
|
|
30
30
|
non-TTY output and JSON also disable ANSI. A non-UTF-8 locale or `TERM=dumb` selects a plain `LIT` line.
|
|
31
31
|
Locale precedence is `LC_ALL`, `LC_CTYPE`, then `LANG`; an absent locale is conservative.
|
|
32
32
|
|
|
33
|
-
OpenCode's first `experimental.text.complete` for each session displays the standard
|
|
34
|
-
mark. Each later completion displays
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
OpenCode's first `experimental.text.complete` for each session displays only the standard
|
|
34
|
+
mark rows. Each later completion displays only the micro rows; neither completion mark
|
|
35
|
+
repeats a discipline label, leaving the model's bold ignition line as the sole label.
|
|
36
|
+
The completion hook is the session-start surface because plugin initialization has no
|
|
37
|
+
session ID. Deleting a session clears both its first-completion
|
|
37
38
|
and discipline state; plugin disposal clears all state. A new root user turn resets the prior discipline,
|
|
38
39
|
and a trusted chat, command, or successful activation-tool result selects the current
|
|
39
40
|
one. Status and blocked tool results do not change the discipline. Unactivated turns use `lit-loop`.
|