cueloop 0.1.0-alpha.98 → 0.1.0-alpha.99

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cueloop",
3
- "version": "0.1.0-alpha.98",
3
+ "version": "0.1.0-alpha.99",
4
4
  "description": "Terminal review surface for coding agents: annotate plans and diffs, return a message, send structured feedback back",
5
5
  "homepage": "https://github.com/mmurakaru/cueloop#readme",
6
6
  "bugs": {
@@ -30,12 +30,12 @@
30
30
  "build:binary": "bun build --compile --minify --external cpu-features ./src/main.ts --outfile dist/cueloop"
31
31
  },
32
32
  "dependencies": {
33
- "@cueloop/adapters": "0.1.0-alpha.98",
34
- "@cueloop/client": "0.1.0-alpha.98",
35
- "@cueloop/daemon": "0.1.0-alpha.98",
36
- "@cueloop/extension-api": "0.1.0-alpha.98",
37
- "@cueloop/schema": "0.1.0-alpha.98",
38
- "@modelcontextprotocol/server": "2.0.0",
33
+ "@cueloop/adapters": "0.1.0-alpha.99",
34
+ "@cueloop/client": "0.1.0-alpha.99",
35
+ "@cueloop/daemon": "0.1.0-alpha.99",
36
+ "@cueloop/extension-api": "0.1.0-alpha.99",
37
+ "@cueloop/schema": "0.1.0-alpha.99",
38
+ "@modelcontextprotocol/server": "2.1.0",
39
39
  "@valibot/to-json-schema": "1.8.0",
40
40
  "valibot": "^1.5.0"
41
41
  },
@@ -85,6 +85,7 @@ export async function codexMcpCommand(): Promise<number> {
85
85
  const server = serveStdio(() => createCodexMcpServer(), {
86
86
  onerror: (error) => console.error(`cueloop Codex MCP: ${String(error)}`),
87
87
  });
88
+
88
89
  await new Promise<void>((resolve) => process.stdin.once("end", resolve));
89
90
  delivery.stop();
90
91
  await server.close();
@@ -84,6 +84,7 @@ async function refreshDevSeed(client: DaemonClient, home: string): Promise<void>
84
84
  const versionFile = join(home, ".seed-version");
85
85
  const stored = existsSync(versionFile) ? Number(readFileSync(versionFile, "utf8").trim()) : 0;
86
86
  const existing = await client.sessionList();
87
+
87
88
  if (existing.length > 0 && stored === SEED_VERSION) return;
88
89
 
89
90
  await Promise.all(
@@ -104,6 +105,7 @@ export async function devCommand(): Promise<number> {
104
105
 
105
106
  let sessionId: string | undefined;
106
107
  const client = await DaemonClient.connect({ autostart: true });
108
+
107
109
  try {
108
110
  await refreshDevSeed(client, home);
109
111
  if (threadAgentEnabled(process.cwd()))
@@ -92,6 +92,7 @@ export async function installExtensionCommand(
92
92
 
93
93
  if (!installed) {
94
94
  const error = discovered.errors.find((message) => message.includes(` ${name}:`));
95
+
95
96
  console.error(`cueloop install: ${error ?? `extension ${name} has no valid cueloop manifest`}`);
96
97
  const restored = await runCommand(
97
98
  previousSpec
@@ -43,6 +43,7 @@ async function sessionCreate({ client, flags }: SessionContext): Promise<number>
43
43
 
44
44
  if (!isArtifactType(type)) {
45
45
  console.error(`unknown artifact type "${type}" - one of: ${ARTIFACT_TYPES.join(", ")}`);
46
+
46
47
  return 2;
47
48
  }
48
49
  const contentFile = stringFlag(flags, "content-file");
@@ -178,6 +179,7 @@ async function sessionAnnotateCommand({
178
179
  if (replyTo !== undefined) base.replyTo = replyTo;
179
180
  const annotation: Omit<Annotation, "createdAt"> =
180
181
  target === undefined ? base : { ...base, target };
182
+
181
183
  out(await client.sessionAnnotate(id, annotation, stringFlag(flags, "author-name")));
182
184
 
183
185
  return 0;