va-claw 0.1.2 → 0.1.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.
Files changed (57) hide show
  1. package/README.md +134 -0
  2. package/README.zh-CN.md +478 -0
  3. package/dist/va-claw-bundle.mjs +561 -64
  4. package/docs/comic.svg +264 -0
  5. package/docs/releases/v0.1.3.md +20 -0
  6. package/index.html +269 -8
  7. package/package.json +1 -1
  8. package/packages/cli/dist/.tsbuildinfo +1 -1
  9. package/packages/cli/dist/claw-store.d.ts +38 -0
  10. package/packages/cli/dist/claw-store.d.ts.map +1 -0
  11. package/packages/cli/dist/claw-store.js +139 -0
  12. package/packages/cli/dist/claw-store.js.map +1 -0
  13. package/packages/cli/dist/deps.d.ts.map +1 -1
  14. package/packages/cli/dist/deps.js +2 -1
  15. package/packages/cli/dist/deps.js.map +1 -1
  16. package/packages/cli/dist/handlers.d.ts +20 -0
  17. package/packages/cli/dist/handlers.d.ts.map +1 -1
  18. package/packages/cli/dist/handlers.js +148 -1
  19. package/packages/cli/dist/handlers.js.map +1 -1
  20. package/packages/cli/dist/index.d.ts +2 -2
  21. package/packages/cli/dist/index.d.ts.map +1 -1
  22. package/packages/cli/dist/index.js +2 -2
  23. package/packages/cli/dist/index.js.map +1 -1
  24. package/packages/cli/dist/install-files.d.ts +1 -0
  25. package/packages/cli/dist/install-files.d.ts.map +1 -1
  26. package/packages/cli/dist/install-files.js +3 -0
  27. package/packages/cli/dist/install-files.js.map +1 -1
  28. package/packages/cli/dist/output.d.ts +2 -0
  29. package/packages/cli/dist/output.d.ts.map +1 -1
  30. package/packages/cli/dist/output.js +21 -0
  31. package/packages/cli/dist/output.js.map +1 -1
  32. package/packages/cli/dist/program.d.ts.map +1 -1
  33. package/packages/cli/dist/program.js +40 -1
  34. package/packages/cli/dist/program.js.map +1 -1
  35. package/packages/cli/dist/test-helpers.d.ts.map +1 -1
  36. package/packages/cli/dist/test-helpers.js +1 -0
  37. package/packages/cli/dist/test-helpers.js.map +1 -1
  38. package/packages/cli/dist/types.d.ts +1 -0
  39. package/packages/cli/dist/types.d.ts.map +1 -1
  40. package/packages/daemon/dist/.tsbuildinfo +1 -1
  41. package/packages/daemon/dist/wake-cycle.d.ts +19 -2
  42. package/packages/daemon/dist/wake-cycle.d.ts.map +1 -1
  43. package/packages/daemon/dist/wake-cycle.js +209 -30
  44. package/packages/daemon/dist/wake-cycle.js.map +1 -1
  45. package/packages/identity/dist/.tsbuildinfo +1 -1
  46. package/packages/identity/dist/defaults.d.ts +1 -0
  47. package/packages/identity/dist/defaults.d.ts.map +1 -1
  48. package/packages/identity/dist/defaults.js +6 -0
  49. package/packages/identity/dist/defaults.js.map +1 -1
  50. package/packages/identity/dist/render.d.ts.map +1 -1
  51. package/packages/identity/dist/render.js +15 -0
  52. package/packages/identity/dist/render.js.map +1 -1
  53. package/packages/identity/dist/types.d.ts +1 -0
  54. package/packages/identity/dist/types.d.ts.map +1 -1
  55. package/skills/claw-fleet-protocol.md +58 -0
  56. package/skills/install-va-claw.md +4 -0
  57. package/skills/migrate-to-va-claw.md +141 -0
@@ -1,48 +1,227 @@
1
- import { spawnSync } from "node:child_process";
1
+ import { spawn } from "node:child_process";
2
+ import { appendFile, mkdir } from "node:fs/promises";
3
+ import { homedir } from "node:os";
4
+ import { dirname, resolve } from "node:path";
2
5
  import { store } from "../../memory/dist/index.js";
3
6
  import { injectSkillIntoPrompt, listSkills, matchesSkillQuery } from "../../skills/dist/index.js";
4
7
  import { detectCliAdapter } from "./cli-adapter.js";
5
8
  const DEFAULT_WARN = (message) => console.warn(message);
9
+ const DEFAULT_WAKE_TIMEOUT_MS = 300_000;
10
+ const OUTPUT_TAIL_LIMIT = 2_000;
11
+ const OUTPUT_BUFFER_LIMIT = 10 * 1024 * 1024; // 10 MB, same as old spawnSync maxBuffer
12
+ let wakeRunning = false;
6
13
  export async function runWakeCycle(config, deps = {}) {
7
- const adapter = await (deps.detect ?? detectCliAdapter)({ warn: deps.warn });
8
- if (!adapter) {
14
+ if (wakeRunning) {
15
+ (deps.warn ?? DEFAULT_WARN)("[va-claw/daemon] skipping wake: previous wake still running");
9
16
  return null;
10
17
  }
11
- const prompt = await resolveWakePrompt(config, deps);
12
- const spawnOptions = {
13
- cwd: process.cwd(),
14
- encoding: "utf8",
15
- env: {
16
- ...readProcessEnv(),
17
- CLAUDECODE: undefined,
18
- CLAUDE_CODE_SESSION: undefined,
19
- },
20
- maxBuffer: 10 * 1024 * 1024,
21
- };
22
- const result = (deps.spawn ?? spawnSync)(adapter.command, [...adapter.args, prompt], spawnOptions);
23
- if (result.status !== 0) {
24
- (deps.warn ?? DEFAULT_WARN)(`[va-claw/daemon] ${adapter.name} wake failed: ${readStderr(result.stderr)}`);
18
+ wakeRunning = true;
19
+ try {
20
+ return await _runWakeCycleInner(config, deps);
21
+ }
22
+ finally {
23
+ wakeRunning = false;
24
+ }
25
+ }
26
+ async function _runWakeCycleInner(config, deps = {}) {
27
+ const now = deps.now ?? (() => new Date());
28
+ const startedAt = now();
29
+ let combinedOutput = "";
30
+ try {
31
+ const adapter = await (deps.detect ?? detectCliAdapter)({ warn: deps.warn });
32
+ if (!adapter) {
33
+ return null;
34
+ }
35
+ const prompt = await resolveWakePrompt(config, deps);
36
+ const timeoutMs = resolveWakeTimeoutMs(config);
37
+ const wakeArgs = [...adapter.args, prompt];
38
+ const wakeOptions = {
39
+ cwd: process.cwd(),
40
+ env: {
41
+ ...readProcessEnv(),
42
+ CLAUDECODE: undefined,
43
+ CLAUDE_CODE_SESSION: undefined,
44
+ },
45
+ };
46
+ const result = await (deps.executeWake ?? executeWakeProcess)(adapter.command, wakeArgs, wakeOptions, timeoutMs);
47
+ combinedOutput = result.combinedOutput;
48
+ const finishedAt = now();
49
+ const durationMs = finishedAt.getTime() - startedAt.getTime();
50
+ if (result.exitCode !== 0) {
51
+ await writeWakeLogSafe({
52
+ ts: startedAt.toISOString(),
53
+ duration_ms: Math.max(0, durationMs),
54
+ exit_code: result.exitCode,
55
+ output_tail: tailOutput(result.combinedOutput),
56
+ }, deps);
57
+ (deps.warn ?? DEFAULT_WARN)(result.exitCode === "timeout"
58
+ ? `[va-claw/daemon] ${adapter.name} wake timed out after ${timeoutMs}ms.`
59
+ : `[va-claw/daemon] ${adapter.name} wake failed: ${readFailureOutput(result.stderr, result.combinedOutput)}`);
60
+ return null;
61
+ }
62
+ await (deps.storeMemory ?? store)(result.stdout, {
63
+ source: "va-claw-daemon",
64
+ kind: "wake",
65
+ cli: adapter.name,
66
+ identity: config.name,
67
+ wokeAt: finishedAt.toISOString(),
68
+ });
69
+ await writeWakeLogSafe({
70
+ ts: startedAt.toISOString(),
71
+ duration_ms: Math.max(0, durationMs),
72
+ exit_code: 0,
73
+ output_tail: tailOutput(result.combinedOutput),
74
+ }, deps);
75
+ return finishedAt;
76
+ }
77
+ catch (error) {
78
+ const failedAt = now();
79
+ await writeWakeLogSafe({
80
+ ts: startedAt.toISOString(),
81
+ duration_ms: Math.max(0, failedAt.getTime() - startedAt.getTime()),
82
+ exit_code: "crash",
83
+ output_tail: tailOutput(combinedOutput),
84
+ }, deps);
85
+ (deps.warn ?? DEFAULT_WARN)(`[va-claw/daemon] wake crashed: ${String(error)}`);
25
86
  return null;
26
87
  }
27
- const wokeAt = (deps.now ?? (() => new Date()))();
28
- await (deps.storeMemory ?? store)(result.stdout ?? "", {
29
- source: "va-claw-daemon",
30
- kind: "wake",
31
- cli: adapter.name,
32
- identity: config.name,
33
- wokeAt: wokeAt.toISOString(),
34
- });
35
- return wokeAt;
36
88
  }
37
- function readStderr(stderr) {
38
- if (typeof stderr === "string" && stderr.trim() !== "") {
39
- return stderr.trim();
89
+ async function executeWakeProcess(command, args, options, timeoutMs) {
90
+ let child;
91
+ try {
92
+ child = spawn(command, args, {
93
+ cwd: options.cwd,
94
+ env: options.env,
95
+ stdio: ["ignore", "pipe", "pipe"],
96
+ });
40
97
  }
41
- return "unknown error";
98
+ catch (error) {
99
+ return {
100
+ combinedOutput: String(error),
101
+ exitCode: "spawn_error",
102
+ stderr: String(error),
103
+ stdout: "",
104
+ };
105
+ }
106
+ let stdout = "";
107
+ let stderr = "";
108
+ let combinedOutput = "";
109
+ let settled = false;
110
+ let combinedSize = 0;
111
+ let stdoutSize = 0;
112
+ let stderrSize = 0;
113
+ child.stdout.on("data", (chunk) => {
114
+ const text = String(chunk);
115
+ if (stdoutSize < OUTPUT_BUFFER_LIMIT) {
116
+ stdout += text;
117
+ stdoutSize += text.length;
118
+ }
119
+ if (combinedSize < OUTPUT_BUFFER_LIMIT) {
120
+ combinedOutput += text;
121
+ combinedSize += text.length;
122
+ }
123
+ });
124
+ child.stderr.on("data", (chunk) => {
125
+ const text = String(chunk);
126
+ if (stderrSize < OUTPUT_BUFFER_LIMIT) {
127
+ stderr += text;
128
+ stderrSize += text.length;
129
+ }
130
+ if (combinedSize < OUTPUT_BUFFER_LIMIT) {
131
+ combinedOutput += text;
132
+ combinedSize += text.length;
133
+ }
134
+ });
135
+ return await new Promise((resolve) => {
136
+ const timer = setTimeout(() => {
137
+ if (settled) {
138
+ return;
139
+ }
140
+ settled = true;
141
+ clearTimeout(timer);
142
+ // Send SIGTERM; give the child 5 s to exit gracefully, then SIGKILL.
143
+ // We do NOT resolve until the child closes so that the caller's
144
+ // serialization guard (wakeRunning) is held for the full cleanup window.
145
+ child.kill("SIGTERM");
146
+ const killTimer = setTimeout(() => {
147
+ try {
148
+ child.kill("SIGKILL");
149
+ }
150
+ catch { /* already gone */ }
151
+ }, 5_000);
152
+ // Capture result values now (before the child closes) and resolve only
153
+ // after the "close" event fires, ensuring the process is truly gone.
154
+ const timeoutResult = {
155
+ combinedOutput,
156
+ exitCode: "timeout",
157
+ stderr,
158
+ stdout,
159
+ };
160
+ child.once("close", () => {
161
+ clearTimeout(killTimer);
162
+ resolve(timeoutResult);
163
+ });
164
+ }, timeoutMs);
165
+ child.on("error", (error) => {
166
+ if (settled) {
167
+ return;
168
+ }
169
+ settled = true;
170
+ clearTimeout(timer);
171
+ const message = String(error);
172
+ stderr = stderr === "" ? message : `${stderr}\n${message}`;
173
+ combinedOutput += message;
174
+ resolve({
175
+ combinedOutput,
176
+ exitCode: "spawn_error",
177
+ stderr,
178
+ stdout,
179
+ });
180
+ });
181
+ child.on("close", (code) => {
182
+ if (settled) {
183
+ return;
184
+ }
185
+ settled = true;
186
+ clearTimeout(timer);
187
+ resolve({
188
+ combinedOutput,
189
+ exitCode: typeof code === "number" ? code : 1,
190
+ stderr,
191
+ stdout,
192
+ });
193
+ });
194
+ });
42
195
  }
43
196
  function readProcessEnv() {
44
197
  return (process.env ?? {});
45
198
  }
199
+ function readFailureOutput(stderr, combinedOutput) {
200
+ const candidate = stderr.trim() !== "" ? stderr : combinedOutput;
201
+ const text = candidate.trim();
202
+ return text === "" ? "unknown error" : tailOutput(text, 200);
203
+ }
204
+ function resolveWakeTimeoutMs(config) {
205
+ return typeof config.wakeTimeoutMs === "number" && Number.isFinite(config.wakeTimeoutMs) && config.wakeTimeoutMs > 0
206
+ ? config.wakeTimeoutMs
207
+ : DEFAULT_WAKE_TIMEOUT_MS;
208
+ }
209
+ function tailOutput(text, limit = OUTPUT_TAIL_LIMIT) {
210
+ return text.length <= limit ? text : text.slice(-limit);
211
+ }
212
+ async function writeWakeLogSafe(entry, deps) {
213
+ try {
214
+ await (deps.writeWakeLog ?? writeWakeLog)(entry);
215
+ }
216
+ catch (error) {
217
+ (deps.warn ?? DEFAULT_WARN)(`[va-claw/daemon] failed to write wake.log: ${String(error)}`);
218
+ }
219
+ }
220
+ async function writeWakeLog(entry) {
221
+ const logPath = resolve(homedir(), ".va-claw", "wake.log");
222
+ await mkdir(dirname(logPath), { recursive: true });
223
+ await appendFile(logPath, `${JSON.stringify(entry)}\n`, "utf8");
224
+ }
46
225
  async function resolveWakePrompt(config, deps) {
47
226
  try {
48
227
  const skills = await (deps.listSkills ?? listSkills)();
@@ -1 +1 @@
1
- {"version":3,"file":"wake-cycle.js","sourceRoot":"","sources":["../src/wake-cycle.ts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AAC"}
@@ -1 +1 @@
1
- {"fileNames":["../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.dom.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.full.d.ts","../src/types.ts","../src/defaults.ts","../src/path.ts","../src/storage.ts","../src/render.ts","../../../node_modules/.pnpm/@clack+prompts@file+packages+identity+vendor+clack-prompts/node_modules/@clack/prompts/index.d.ts","../src/wizard.ts","../src/index.ts","../src/node-shims.d.ts"],"fileIdsList":[[64],[64,66,67,68,70],[72],[64,65],[64,65,66,72],[64,65,66,67,69]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7a3c8b952931daebdfc7a2897c53c0a1c73624593fa070e46bd537e64dcd20a","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"3cbad9a1ba4453443026ed38e4b8be018abb26565fa7c944376463ad9df07c41","impliedFormat":1},{"version":"52a3d3b056fc6672c71d157a432fd0682b116b00772a6087207d29d58b85dc2c","signature":"c482a05324bdb183855141754506b813194543afd068d934f4797c4a0299c67a","impliedFormat":99},{"version":"947b88b8d8a67f53cd15d07c3855d9448453ffc05c5e532df9c6a930efffa62a","signature":"e75d131033c262462c9d95cb452927bedec45d178ce7b4ae2344bb1277882b12","impliedFormat":99},{"version":"89f4981143c17db5aa1abacc85ba1d9607fb206114ea41dd4eb1452f4f053957","signature":"0c97e331361352bccfa2d24e2e46625953a190534cf16e8e566b9a84e07b12ff","impliedFormat":99},{"version":"ba2b17b0ed3742fdce7d63772ea3dfe14f419aa432fe8e784a377df7f08d9e04","signature":"7fbec62b38299205ec520f27fc18ab5315733001fb166a2523f32bd856fafea8","impliedFormat":99},{"version":"fcf1d5f15aef71294ca90c5321f68e94897757485a914d91465846032e6ced9d","signature":"7c5ed18df40661edfa1151e3002efde32b1cdf16818ba650fc1b55427274b020","impliedFormat":99},{"version":"84108a5e5393943ab7dfef25ce18098a69f91de0bb3e3453fc13adecf5fb6dbe","impliedFormat":99},{"version":"a37e9b076f8c51fea781dc3f2ce85bb01f7adb34c68f29d097ad6b563a533c40","signature":"184e07268b0c62bc9585ef90c2fb3971dd033e9a9d6b857768ecd5417a92d8ab","impliedFormat":99},{"version":"5f147b64f55d06de0028de65d93d1e63fc7e94b2376ceb44650e52c320e6dc74","signature":"fe19936f3b0e52495d441d5de9b5b00acb8816cd8d9db7523dd388dc9978ff3b","impliedFormat":99},{"version":"9ca565e3d4f92b82583b916dcd08c16b8b0a81b6ce0faa3dce644bacbf3a2ae8","impliedFormat":99}],"root":[[64,68],[70,72]],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":199,"noEmitOnError":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[65,1],[71,2],[66,3],[68,4],[67,5],[70,6]],"latestChangedDtsFile":"./types.d.ts","version":"5.9.3"}
1
+ {"fileNames":["../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.dom.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.full.d.ts","../src/types.ts","../src/defaults.ts","../src/path.ts","../src/storage.ts","../src/render.ts","../../../node_modules/.pnpm/@clack+prompts@file+packages+identity+vendor+clack-prompts/node_modules/@clack/prompts/index.d.ts","../src/wizard.ts","../src/index.ts","../src/node-shims.d.ts"],"fileIdsList":[[64],[64,66,67,68,70],[72],[64,65],[64,65,66,72],[64,65,66,67,69]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7a3c8b952931daebdfc7a2897c53c0a1c73624593fa070e46bd537e64dcd20a","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"3cbad9a1ba4453443026ed38e4b8be018abb26565fa7c944376463ad9df07c41","impliedFormat":1},{"version":"04a49f2924a51d451c347e52fd989f596641ec59751f4d9068a4b690c1632a52","signature":"df5420544d0ae454f2938eff54e03d34383c1e2c8a1c964fcd21028f491ac285","impliedFormat":99},{"version":"6de05fac70c27b7d072eb95bfc047663750c430539b32468aa25b40bdeb01e4e","signature":"0556188b935146351e07c109e3f1fe560b8fc9eeb32a3e0c773953a0a88dcfa6","impliedFormat":99},{"version":"89f4981143c17db5aa1abacc85ba1d9607fb206114ea41dd4eb1452f4f053957","signature":"0c97e331361352bccfa2d24e2e46625953a190534cf16e8e566b9a84e07b12ff","impliedFormat":99},{"version":"ba2b17b0ed3742fdce7d63772ea3dfe14f419aa432fe8e784a377df7f08d9e04","signature":"7fbec62b38299205ec520f27fc18ab5315733001fb166a2523f32bd856fafea8","impliedFormat":99},{"version":"774428249b128d9ad737ea0be4de1d5840de8cef606b3d1570d8db50e4d3ca03","signature":"7c5ed18df40661edfa1151e3002efde32b1cdf16818ba650fc1b55427274b020","impliedFormat":99},{"version":"84108a5e5393943ab7dfef25ce18098a69f91de0bb3e3453fc13adecf5fb6dbe","impliedFormat":99},{"version":"a37e9b076f8c51fea781dc3f2ce85bb01f7adb34c68f29d097ad6b563a533c40","signature":"184e07268b0c62bc9585ef90c2fb3971dd033e9a9d6b857768ecd5417a92d8ab","impliedFormat":99},{"version":"5f147b64f55d06de0028de65d93d1e63fc7e94b2376ceb44650e52c320e6dc74","signature":"fe19936f3b0e52495d441d5de9b5b00acb8816cd8d9db7523dd388dc9978ff3b","impliedFormat":99},{"version":"9ca565e3d4f92b82583b916dcd08c16b8b0a81b6ce0faa3dce644bacbf3a2ae8","impliedFormat":99}],"root":[[64,68],[70,72]],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":199,"noEmitOnError":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[65,1],[71,2],[66,3],[68,4],[67,5],[70,6]],"latestChangedDtsFile":"./defaults.d.ts","version":"5.9.3"}
@@ -1,5 +1,6 @@
1
1
  import type { VaClawConfig } from "./types.js";
2
2
  export declare const DEFAULT_LOOP_INTERVAL = "0 * * * *";
3
+ export declare const DEFAULT_WAKE_TIMEOUT_MS = 300000;
3
4
  export declare function getDefaultIdentity(): VaClawConfig;
4
5
  export declare function normalizeConfig(input: unknown): VaClawConfig;
5
6
  //# sourceMappingURL=defaults.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../src/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE/C,eAAO,MAAM,qBAAqB,cAAc,CAAC;AAqCjD,wBAAgB,kBAAkB,IAAI,YAAY,CAEjD;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,YAAY,CAsC5D"}
1
+ {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../src/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE/C,eAAO,MAAM,qBAAqB,cAAc,CAAC;AACjD,eAAO,MAAM,uBAAuB,SAAU,CAAC;AA0C/C,wBAAgB,kBAAkB,IAAI,YAAY,CAEjD;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,YAAY,CAuC5D"}
@@ -1,9 +1,11 @@
1
1
  export const DEFAULT_LOOP_INTERVAL = "0 * * * *";
2
+ export const DEFAULT_WAKE_TIMEOUT_MS = 300_000;
2
3
  const DEFAULT_CONFIG = {
3
4
  name: "va-claw",
4
5
  persona: "A pragmatic CLI identity that values clarity, rigor, and continuity.",
5
6
  systemPrompt: "You are va-claw. Be direct, honest about uncertainty, and keep actions aligned with the saved identity.",
6
7
  wakePrompt: "Wake up, load the saved identity, and continue from the most recent remembered state.",
8
+ wakeTimeoutMs: DEFAULT_WAKE_TIMEOUT_MS,
7
9
  loopInterval: DEFAULT_LOOP_INTERVAL,
8
10
  channels: {
9
11
  discord: {
@@ -29,6 +31,9 @@ function pickString(value, fallback) {
29
31
  function pickBoolean(value, fallback) {
30
32
  return typeof value === "boolean" ? value : fallback;
31
33
  }
34
+ function pickNumber(value, fallback) {
35
+ return typeof value === "number" && Number.isFinite(value) && value > 0 ? value : fallback;
36
+ }
32
37
  export function getDefaultIdentity() {
33
38
  return { ...DEFAULT_CONFIG };
34
39
  }
@@ -44,6 +49,7 @@ export function normalizeConfig(input) {
44
49
  persona: pickString(Reflect.get(data, "persona"), base.persona),
45
50
  systemPrompt: pickString(Reflect.get(data, "systemPrompt"), base.systemPrompt),
46
51
  wakePrompt: pickString(Reflect.get(data, "wakePrompt"), base.wakePrompt),
52
+ wakeTimeoutMs: pickNumber(Reflect.get(data, "wakeTimeoutMs"), base.wakeTimeoutMs ?? DEFAULT_WAKE_TIMEOUT_MS),
47
53
  loopInterval: pickString(Reflect.get(data, "loopInterval"), base.loopInterval),
48
54
  channels: {
49
55
  discord: {
@@ -1 +1 @@
1
- {"version":3,"file":"defaults.js","sourceRoot":"","sources":["../src/defaults.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,qBAAqB,GAAG,WAAW,CAAC;AAEjD,MAAM,cAAc,GAAiB;IACnC,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,sEAAsE;IAC/E,YAAY,EACV,yGAAyG;IAC3G,UAAU,EACR,uFAAuF;IACzF,YAAY,EAAE,qBAAqB;IACnC,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,KAAK,EAAE,EAAE;YACT,QAAQ,EAAE,EAAE;YACZ,UAAU,EAAE,EAAE;YACd,SAAS,EAAE,KAAK;SACjB;QACD,QAAQ,EAAE;YACR,KAAK,EAAE,EAAE;YACT,UAAU,EAAE,EAAE;SACf;QACD,KAAK,EAAE;YACL,QAAQ,EAAE,EAAE;YACZ,QAAQ,EAAE,EAAE;YACZ,UAAU,EAAE,EAAE;SACf;KACF;CACF,CAAC;AAEF,SAAS,UAAU,CAAC,KAAc,EAAE,QAAgB;IAClD,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC;AACtD,CAAC;AAED,SAAS,WAAW,CAAC,KAAc,EAAE,QAAiB;IACpD,OAAO,OAAO,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC;AACvD,CAAC;AAED,MAAM,UAAU,kBAAkB;IAChC,OAAO,EAAE,GAAG,cAAc,EAAE,CAAC;AAC/B,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,KAAc;IAC5C,MAAM,IAAI,GAAG,kBAAkB,EAAE,CAAC;IAClC,MAAM,IAAI,GAAG,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EA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AAU,EAAE,UAAU,CACpB,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE,YAAY,CAAC,EAChC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,UAAU,CAC/B;aACF;SACF;KACF,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,KAAc;IAChC,OAAO,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAE,KAAiC,CAAC,CAAC,CAAC,EAAE,CAAC;AACtF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../src/render.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAM/C,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,CAc9D;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,CAehE"}
1
+ {"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../src/render.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAM/C,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,CAqB9D;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,CAuBhE"}
@@ -13,6 +13,13 @@ export function toClaudeMdSnippet(config) {
13
13
  normalized.persona,
14
14
  "",
15
15
  textBlock("System Prompt:", normalized.systemPrompt),
16
+ "",
17
+ "Operational protocol:",
18
+ "- Check long-running claw status with `va-claw protocol`.",
19
+ "- For readable text use `va-claw protocol --text`.",
20
+ "- Manage claws with `va-claw claw list | add | set | remove | heartbeat`.",
21
+ "- If asked \"va/claw 在干什么\" / \"my claws are doing what\" / similar fleet questions, call `va-claw protocol --text` and answer from it.",
22
+ "- If the user asks a non-technical phrasing like \"现在都在干嘛\", interpret it as a fleet status request and run `va-claw protocol --text`.",
16
23
  "<!-- va-claw:identity:end -->",
17
24
  ].join("\n");
18
25
  }
@@ -28,7 +35,15 @@ export function toCodexSystemPrompt(config) {
28
35
  "Wake prompt:",
29
36
  normalized.wakePrompt,
30
37
  "",
38
+ `Wake timeout (ms): ${normalized.wakeTimeoutMs ?? 300000}`,
39
+ "",
31
40
  `Loop interval: ${normalized.loopInterval}`,
41
+ "",
42
+ "Operational protocol:",
43
+ "Use `va-claw protocol` in terminal to get long-running claw state.",
44
+ "Use `va-claw protocol --text` when a user asks in plain language, including Chinese phrases like \"va/claw 在干什么\".",
45
+ "Use `va-claw claw list` and `va-claw claw set <name> --status <status>` to manage claws.",
46
+ "If the user asks what claws are doing, run `va-claw protocol --text` and summarize only from that output.",
32
47
  ].join("\n");
33
48
  }
34
49
  //# sourceMappingURL=render.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"render.js","sourceRoot":"","sources":["../src/render.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAGhD,SAAS,SAAS,CAAC,KAAa,EAAE,KAAa;IAC7C,OAAO,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,IAAI,SAAS,EAAE,KAAK,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAClE,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,MAAoB;IACpD,MAAM,UAAU,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;IAE3C,OAAO;QACL,iCAAiC;QACjC,oBAAoB;QACpB,WAAW,UAAU,CAAC,IAAI,EAAE;QAC5B,EAAE;QACF,UAAU;QACV,UAAU,CAAC,OAAO;QAClB,EAAE;QACF,SAAS,CAAC,gBAAgB,EAAE,UAAU,CAAC,YAAY,CAAC;QACpD,+BAA+B;KAChC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,MAAoB;IACtD,MAAM,UAAU,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;IAE3C,OAAO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AY;QACvB,EAAE;QACF,cAAc;QACd,UAAU,CAAC,UAAU;QACrB,EAAE;QACF,sBAAsB,UAAU,CAAC,aAAa,IAAI,MAAM,EAAE;QAC1D,EAAE;QACF,kBAAkB,UAAU,CAAC,YAAY,EAAE;QAC3C,EAAE;QACF,uBAAuB;QACvB,oEAAoE;QACpE,oHAAoH;QACpH,0FAA0F;QAC1F,2GAA2G;KAC5G,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC"}
@@ -23,6 +23,7 @@ export type VaClawConfig = {
23
23
  persona: string;
24
24
  systemPrompt: string;
25
25
  wakePrompt: string;
26
+ wakeTimeoutMs?: number;
26
27
  loopInterval: string;
27
28
  channels: ChannelConfig;
28
29
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,aAAa,CAAC;IACvB,QAAQ,EAAE,cAAc,CAAC;IACzB,KAAK,EAAE,WAAW,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,aAAa,CAAC;CACzB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,aAAa,CAAC;IACvB,QAAQ,EAAE,cAAc,CAAC;IACzB,KAAK,EAAE,WAAW,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,aAAa,CAAC;CACzB,CAAC"}
@@ -0,0 +1,58 @@
1
+ ---
2
+ name: claw-fleet-protocol
3
+ description: Operate and inspect long-running va-claw claws from natural language prompts
4
+ version: 1.0.0
5
+ triggers:
6
+ - 我的 va/claw 们都在干什么
7
+ - 我的 va claw 在干什么
8
+ - 我的 claw 在干什么
9
+ - claw 在干什么
10
+ - 我这边有哪些 claw
11
+ - 我的 claw 状态
12
+ - show my claws
13
+ - what are my claws doing
14
+ - check claw status
15
+ - list my claws
16
+ - claw fleet
17
+ ---
18
+
19
+ # Claw Fleet Protocol
20
+
21
+ This skill translates user intent about long-running va-claw claws into CLI commands.
22
+
23
+ When the user asks for current status, run:
24
+
25
+ ```bash
26
+ va-claw protocol --text
27
+ ```
28
+
29
+ Then report:
30
+ - whether daemon/service are running
31
+ - memory and wake information
32
+ - every registered claw with status, goal, last seen, and notes
33
+
34
+ For management intents:
35
+
36
+ - `list claws` → `va-claw claw list`
37
+ - `add claw <name> ...` → `va-claw claw add <name> --goal <goal> --status <status>`
38
+ - `set / update claw <name> ...` → `va-claw claw set <name> --status <status> [--goal ...] [--cli-command ...] [--note ...] [--tags ...]`
39
+ - `remove claw <name>` → `va-claw claw remove <name>`
40
+ - `heartbeat claw <name>` → `va-claw claw heartbeat <name>`
41
+
42
+ Default response style:
43
+
44
+ 1. If status is needed, always use `va-claw protocol --text` first.
45
+ 2. For unknown commands, ask for one of:
46
+ - `va-claw protocol --text`
47
+ - `va-claw claw list`
48
+ - `va-claw claw add <name> --goal ...`
49
+ - `va-claw claw set <name> --status ...`
50
+ 3. Use concise summaries; do not invent data not present in CLI output.
51
+
52
+ Recommended status phrasing:
53
+
54
+ > "Current fleet report:"
55
+ > - Daemon: running / stopped
56
+ > - Total claws: N
57
+ > - Active: running/working
58
+ > - Idle/waiting: list by name
@@ -124,6 +124,10 @@ va-claw channel slack start
124
124
 
125
125
  Create a Slack app at: https://api.slack.com/apps
126
126
 
127
+ ## Natural-language claw-fleet checks are enabled on install
128
+
129
+ `va-claw install` will automatically install a built-in skill so you can ask for claw status in natural language (for example, "我的 va/claw 在干什么" or "what are my claws doing").
130
+
127
131
  ## Verify everything is working
128
132
 
129
133
  ```bash