@guuey/create-agentic-app 0.16.2 → 0.16.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.
@@ -178,6 +178,20 @@ async function defaultFetchTarball() {
178
178
  }
179
179
  return Readable.from(Buffer.from(await res.arrayBuffer()));
180
180
  }
181
+ async function stripDeploymentFacts(projectDir) {
182
+ const manifestPath = join2(projectDir, "guuey.json");
183
+ const parsed = JSON.parse(await fs3.readFile(manifestPath, "utf8"));
184
+ if (typeof parsed !== "object" || parsed === null || !("agent" in parsed)) return;
185
+ const agent = parsed.agent;
186
+ if (typeof agent !== "object" || agent === null || !("deploy" in agent)) return;
187
+ const strippedAgent = Object.fromEntries(
188
+ Object.entries(agent).filter(([key]) => key !== "deploy")
189
+ );
190
+ await fs3.writeFile(
191
+ manifestPath,
192
+ JSON.stringify({ ...parsed, agent: strippedAgent }, null, 2) + "\n"
193
+ );
194
+ }
181
195
  async function saveTarball(fetchTarball) {
182
196
  const file = join2(await fs3.mkdtemp(join2(tmpdir(), "guuey-example-")), "demos.tar.gz");
183
197
  await pipeline(await fetchTarball(), createWriteStream(file));
@@ -221,6 +235,7 @@ async function scaffoldExample(opts) {
221
235
  `Extraction produced no guuey.json in ${projectDir} \u2014 the "${opts.example}" example looks malformed; please report this.`
222
236
  );
223
237
  }
238
+ await stripDeploymentFacts(projectDir);
224
239
  await seedEnvLocal(projectDir);
225
240
  if (opts.git !== false) await initGit(projectDir);
226
241
  if (opts.install) await runInstall(projectDir);
package/dist/cli.cjs CHANGED
@@ -186,6 +186,20 @@ async function defaultFetchTarball() {
186
186
  }
187
187
  return import_node_stream.Readable.from(Buffer.from(await res.arrayBuffer()));
188
188
  }
189
+ async function stripDeploymentFacts(projectDir) {
190
+ const manifestPath = (0, import_node_path2.join)(projectDir, "guuey.json");
191
+ const parsed = JSON.parse(await import_node_fs3.promises.readFile(manifestPath, "utf8"));
192
+ if (typeof parsed !== "object" || parsed === null || !("agent" in parsed)) return;
193
+ const agent = parsed.agent;
194
+ if (typeof agent !== "object" || agent === null || !("deploy" in agent)) return;
195
+ const strippedAgent = Object.fromEntries(
196
+ Object.entries(agent).filter(([key]) => key !== "deploy")
197
+ );
198
+ await import_node_fs3.promises.writeFile(
199
+ manifestPath,
200
+ JSON.stringify({ ...parsed, agent: strippedAgent }, null, 2) + "\n"
201
+ );
202
+ }
189
203
  async function saveTarball(fetchTarball) {
190
204
  const file = (0, import_node_path2.join)(await import_node_fs3.promises.mkdtemp((0, import_node_path2.join)((0, import_node_os.tmpdir)(), "guuey-example-")), "demos.tar.gz");
191
205
  await (0, import_promises.pipeline)(await fetchTarball(), (0, import_node_fs3.createWriteStream)(file));
@@ -229,6 +243,7 @@ async function scaffoldExample(opts) {
229
243
  `Extraction produced no guuey.json in ${projectDir} \u2014 the "${opts.example}" example looks malformed; please report this.`
230
244
  );
231
245
  }
246
+ await stripDeploymentFacts(projectDir);
232
247
  await seedEnvLocal(projectDir);
233
248
  if (opts.git !== false) await initGit(projectDir);
234
249
  if (opts.install) await runInstall(projectDir);
package/dist/cli.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  scaffold,
4
4
  scaffoldExample
5
- } from "./chunk-5V2IFXD4.js";
5
+ } from "./chunk-SUERHYH3.js";
6
6
 
7
7
  // src/cli.ts
8
8
  import { createInterface } from "readline/promises";
package/dist/index.cjs CHANGED
@@ -208,6 +208,20 @@ async function defaultFetchTarball() {
208
208
  }
209
209
  return import_node_stream.Readable.from(Buffer.from(await res.arrayBuffer()));
210
210
  }
211
+ async function stripDeploymentFacts(projectDir) {
212
+ const manifestPath = (0, import_node_path2.join)(projectDir, "guuey.json");
213
+ const parsed = JSON.parse(await import_node_fs3.promises.readFile(manifestPath, "utf8"));
214
+ if (typeof parsed !== "object" || parsed === null || !("agent" in parsed)) return;
215
+ const agent = parsed.agent;
216
+ if (typeof agent !== "object" || agent === null || !("deploy" in agent)) return;
217
+ const strippedAgent = Object.fromEntries(
218
+ Object.entries(agent).filter(([key]) => key !== "deploy")
219
+ );
220
+ await import_node_fs3.promises.writeFile(
221
+ manifestPath,
222
+ JSON.stringify({ ...parsed, agent: strippedAgent }, null, 2) + "\n"
223
+ );
224
+ }
211
225
  async function saveTarball(fetchTarball) {
212
226
  const file = (0, import_node_path2.join)(await import_node_fs3.promises.mkdtemp((0, import_node_path2.join)((0, import_node_os.tmpdir)(), "guuey-example-")), "demos.tar.gz");
213
227
  await (0, import_promises.pipeline)(await fetchTarball(), (0, import_node_fs3.createWriteStream)(file));
@@ -251,6 +265,7 @@ async function scaffoldExample(opts) {
251
265
  `Extraction produced no guuey.json in ${projectDir} \u2014 the "${opts.example}" example looks malformed; please report this.`
252
266
  );
253
267
  }
268
+ await stripDeploymentFacts(projectDir);
254
269
  await seedEnvLocal(projectDir);
255
270
  if (opts.git !== false) await initGit(projectDir);
256
271
  if (opts.install) await runInstall(projectDir);
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  scaffold,
4
4
  scaffoldExample,
5
5
  scaffoldMcp
6
- } from "./chunk-5V2IFXD4.js";
6
+ } from "./chunk-SUERHYH3.js";
7
7
  export {
8
8
  isNpmSafeName,
9
9
  scaffold,
@@ -12,12 +12,12 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "@anthropic-ai/claude-agent-sdk": "^0.3.199",
15
- "@guuey/config": "0.16.2",
16
- "@guuey/worker": "0.16.2"
15
+ "@guuey/config": "0.16.4",
16
+ "@guuey/worker": "0.16.4"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@ggui-ai/cli": "0.12.0",
20
- "@guuey/cli": "0.16.2",
20
+ "@guuey/cli": "0.16.4",
21
21
  "tsup": "^8.5.0",
22
22
  "tsx": "^4.19.0",
23
23
  "typescript": "^5.8.0"
@@ -9,9 +9,9 @@
9
9
  "typecheck": "tsc --noEmit"
10
10
  },
11
11
  "dependencies": {
12
- "@guuey/agent-layout": "0.16.2",
13
- "@guuey/chat": "0.16.2",
14
- "@guuey/mcp-apps-host": "0.16.2",
12
+ "@guuey/agent-layout": "0.16.4",
13
+ "@guuey/chat": "0.16.4",
14
+ "@guuey/mcp-apps-host": "0.16.4",
15
15
  "oidc-client-ts": "^3.1.0",
16
16
  "qrcode": "^1.5.4",
17
17
  "react": "^19.0.0",
@@ -16,8 +16,8 @@
16
16
  },
17
17
  "devDependencies": {
18
18
  "@ggui-ai/cli": "0.12.0",
19
- "@guuey/cli": "0.16.2",
20
- "@guuey/config": "0.16.2",
19
+ "@guuey/cli": "0.16.4",
20
+ "@guuey/config": "0.16.4",
21
21
  "tsup": "^8.5.0",
22
22
  "tsx": "^4.19.0",
23
23
  "typescript": "^5.8.0"
@@ -9,9 +9,9 @@
9
9
  "typecheck": "tsc --noEmit"
10
10
  },
11
11
  "dependencies": {
12
- "@guuey/agent-layout": "0.16.2",
13
- "@guuey/chat": "0.16.2",
14
- "@guuey/mcp-apps-host": "0.16.2",
12
+ "@guuey/agent-layout": "0.16.4",
13
+ "@guuey/chat": "0.16.4",
14
+ "@guuey/mcp-apps-host": "0.16.4",
15
15
  "oidc-client-ts": "^3.1.0",
16
16
  "qrcode": "^1.5.4",
17
17
  "react": "^19.0.0",
@@ -12,12 +12,12 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "@openai/agents": "^0.12.0",
15
- "@guuey/config": "0.16.2",
16
- "@guuey/worker": "0.16.2"
15
+ "@guuey/config": "0.16.4",
16
+ "@guuey/worker": "0.16.4"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@ggui-ai/cli": "0.12.0",
20
- "@guuey/cli": "0.16.2",
20
+ "@guuey/cli": "0.16.4",
21
21
  "tsup": "^8.5.0",
22
22
  "tsx": "^4.19.0",
23
23
  "typescript": "^5.8.0"
@@ -9,9 +9,9 @@
9
9
  "typecheck": "tsc --noEmit"
10
10
  },
11
11
  "dependencies": {
12
- "@guuey/agent-layout": "0.16.2",
13
- "@guuey/chat": "0.16.2",
14
- "@guuey/mcp-apps-host": "0.16.2",
12
+ "@guuey/agent-layout": "0.16.4",
13
+ "@guuey/chat": "0.16.4",
14
+ "@guuey/mcp-apps-host": "0.16.4",
15
15
  "oidc-client-ts": "^3.1.0",
16
16
  "qrcode": "^1.5.4",
17
17
  "react": "^19.0.0",
@@ -12,12 +12,12 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "@anthropic-ai/claude-agent-sdk": "^0.3.199",
15
- "@guuey/config": "0.16.2",
16
- "@guuey/worker": "0.16.2"
15
+ "@guuey/config": "0.16.4",
16
+ "@guuey/worker": "0.16.4"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@ggui-ai/cli": "0.12.0",
20
- "@guuey/cli": "0.16.2",
20
+ "@guuey/cli": "0.16.4",
21
21
  "tsup": "^8.5.0",
22
22
  "tsx": "^4.19.0",
23
23
  "typescript": "^5.8.0"
@@ -9,7 +9,7 @@
9
9
  "typecheck": "tsc --noEmit"
10
10
  },
11
11
  "dependencies": {
12
- "@guuey/chat": "0.16.2",
12
+ "@guuey/chat": "0.16.4",
13
13
  "oidc-client-ts": "^3.1.0",
14
14
  "qrcode": "^1.5.4",
15
15
  "react": "^19.0.0",
@@ -16,8 +16,8 @@
16
16
  },
17
17
  "devDependencies": {
18
18
  "@ggui-ai/cli": "0.12.0",
19
- "@guuey/cli": "0.16.2",
20
- "@guuey/config": "0.16.2",
19
+ "@guuey/cli": "0.16.4",
20
+ "@guuey/config": "0.16.4",
21
21
  "tsup": "^8.5.0",
22
22
  "tsx": "^4.19.0",
23
23
  "typescript": "^5.8.0"
@@ -9,7 +9,7 @@
9
9
  "typecheck": "tsc --noEmit"
10
10
  },
11
11
  "dependencies": {
12
- "@guuey/chat": "0.16.2",
12
+ "@guuey/chat": "0.16.4",
13
13
  "oidc-client-ts": "^3.1.0",
14
14
  "qrcode": "^1.5.4",
15
15
  "react": "^19.0.0",
@@ -12,12 +12,12 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "@openai/agents": "^0.12.0",
15
- "@guuey/config": "0.16.2",
16
- "@guuey/worker": "0.16.2"
15
+ "@guuey/config": "0.16.4",
16
+ "@guuey/worker": "0.16.4"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@ggui-ai/cli": "0.12.0",
20
- "@guuey/cli": "0.16.2",
20
+ "@guuey/cli": "0.16.4",
21
21
  "tsup": "^8.5.0",
22
22
  "tsx": "^4.19.0",
23
23
  "typescript": "^5.8.0"
@@ -9,7 +9,7 @@
9
9
  "typecheck": "tsc --noEmit"
10
10
  },
11
11
  "dependencies": {
12
- "@guuey/chat": "0.16.2",
12
+ "@guuey/chat": "0.16.4",
13
13
  "oidc-client-ts": "^3.1.0",
14
14
  "qrcode": "^1.5.4",
15
15
  "react": "^19.0.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guuey/create-agentic-app",
3
- "version": "0.16.2",
3
+ "version": "0.16.4",
4
4
  "description": "Scaffold a guuey agentic app: code-mode agent + custom MCP + ggui + web, local pnpm dev, one-command guuey deploy.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -25,8 +25,8 @@
25
25
  "tsup": "^8.5.0",
26
26
  "typescript": "^5.8.0",
27
27
  "vitest": "^3.2.7",
28
- "@guuey/config": "0.16.2",
29
- "@guuey/worker": "0.16.2"
28
+ "@guuey/worker": "0.16.4",
29
+ "@guuey/config": "0.16.4"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"