@buzzni/saycode-cli 0.2.2 → 0.3.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/README.md +22 -3
- package/index.mjs +802 -96
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -109,6 +109,25 @@ saycode chat -p <프로젝트> --voice-file ./prompt.wav
|
|
|
109
109
|
`-m`은 머신 id 접두사 또는 host 부분 문자열로 매칭합니다. 여러 개가 걸리면 후보를 보여주고 멈춥니다 —
|
|
110
110
|
엉뚱한 머신에서 작업을 시작하는 것보다 낫기 때문입니다.
|
|
111
111
|
|
|
112
|
+
## 세션 안에서 자식 에이전트 제어
|
|
113
|
+
|
|
114
|
+
Happy CLI 설치본은 동일한 agent 명령을 `happy agent` facade로 제공하므로 saycode-cli를 별도로
|
|
115
|
+
설치하지 않아도 됩니다. 이 명령군은 `SAYCODE_AGENT_ENV`가 주입된 Saycode 세션 안에서만 동작하며,
|
|
116
|
+
먼저 `happy agent whoami`로 capability와 spawn 한도를 확인해야 합니다.
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
happy agent spawn --prompt "변경사항을 읽기 전용으로 리뷰해줘"
|
|
120
|
+
happy agent prompt <id> "리뷰 근거를 더 설명해줘"
|
|
121
|
+
happy agent steer <id> <text> # 지금 생성 중인 응답의 방향만 수정
|
|
122
|
+
happy agent stop <id> # 사용자가 명시한 경우에만 현재 응답 중단
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
`steer` 성공의 `accepted:true`는 세션 RPC가 요청을 받았다는 뜻이며 실제 transcript 전달 완료를
|
|
126
|
+
뜻하지 않습니다(`delivered:false`). 끝난 턴의 후속 작업에는 `prompt`를 사용합니다. `steer`와
|
|
127
|
+
`stop`은 원장으로 소유권이 증명된 최대 2단계 자식만 허용하며, `stop`은 보관·삭제를 하지 않습니다.
|
|
128
|
+
같은 worktree에는 동시에 둘 이상의 쓰기 자식을 만들지 말고 격리가 필요하면 Desktop의 관리형
|
|
129
|
+
worktree 병렬 실행을 사용하세요.
|
|
130
|
+
|
|
112
131
|
## 긴 prompt 작성과 재사용
|
|
113
132
|
|
|
114
133
|
TTY의 유휴 chat prompt에서 `/edit-prompt`를 입력하면 외부 편집기가 열립니다. 편집기는 `$VISUAL`,
|
|
@@ -236,11 +255,11 @@ GitHub Actions 가 태그로 발행합니다 (`.github/workflows/publish-saycode
|
|
|
236
255
|
|
|
237
256
|
```bash
|
|
238
257
|
# 1. 버전 올리기 — 데스크탑 앱 버전과 무관합니다
|
|
239
|
-
vi cli/manifest.json # "version": "0.
|
|
258
|
+
vi cli/manifest.json # "version": "0.3.0"
|
|
240
259
|
|
|
241
260
|
# 2. 커밋하고 태그를 밀면 끝
|
|
242
|
-
git tag -a saycode-cli-v0.
|
|
243
|
-
git push origin saycode-cli-v0.
|
|
261
|
+
git tag -a saycode-cli-v0.3.0 -m "Release saycode-cli 0.3.0"
|
|
262
|
+
git push origin saycode-cli-v0.3.0
|
|
244
263
|
```
|
|
245
264
|
|
|
246
265
|
워크플로는 발행 전에 이 순서로 막습니다:
|