@alexkroman1/aai-cli 3.0.0 → 3.2.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.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { n as log, u as ok } from "./_ui-CKEIHAtB.mjs";
3
3
  import { c as validateAgentExport, r as errorMessage } from "./_utils-C502jKo8.mjs";
4
- import { t as buildClient } from "./client-bundler-B5HYJYYP.mjs";
4
+ import { t as buildClient } from "./client-bundler-DO3GgO6p.mjs";
5
5
  import { buildWorker } from "./worker-bundler.mjs";
6
6
  import path from "node:path";
7
7
  import { pathToFileURL } from "node:url";
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { n as log } from "./_ui-CKEIHAtB.mjs";
3
3
  import { r as errorMessage, t as errorCode } from "./_utils-C502jKo8.mjs";
4
- import { n as fallbackHtmlPlugin } from "./client-bundler-B5HYJYYP.mjs";
4
+ import { n as fallbackHtmlPlugin } from "./client-bundler-DO3GgO6p.mjs";
5
5
  import { buildWorker } from "./worker-bundler.mjs";
6
- import { createWorkerEvaluator } from "./_bundler-Bp2vFV16.mjs";
6
+ import { createWorkerEvaluator } from "./_bundler-DnZnKsIU.mjs";
7
7
  import { n as ensureApiKey } from "./_config-BWYgLjiI.mjs";
8
8
  import { t as resolveServerEnv } from "./_server-common-Bv-4Rskq.mjs";
9
9
  import { createRequire } from "node:module";
package/dist/cli.mjs CHANGED
@@ -119,7 +119,7 @@ const init = defineCommand({
119
119
  },
120
120
  async run({ args }) {
121
121
  await runCommand(args, async (mode) => {
122
- const { executeInit } = await import("./init-PIlI20Af.mjs");
122
+ const { executeInit } = await import("./init-mdG0rdRZ.mjs");
123
123
  return executeInit({
124
124
  dir: args.dir,
125
125
  force: args.force,
@@ -143,7 +143,7 @@ const dev = defineCommand({
143
143
  async run({ args }) {
144
144
  await runCommand(args, async () => {
145
145
  const cwd = await setup({ agent: true });
146
- const { executeDev } = await import("./dev-DKDCcOb8.mjs");
146
+ const { executeDev } = await import("./dev-DlseKVVF.mjs");
147
147
  return executeDev({
148
148
  cwd,
149
149
  port: args.port
@@ -192,7 +192,7 @@ const build = defineCommand({
192
192
  throw toCliError(err);
193
193
  }
194
194
  }
195
- const { executeBuild } = await import("./_bundler-Bp2vFV16.mjs");
195
+ const { executeBuild } = await import("./_bundler-DnZnKsIU.mjs");
196
196
  return executeBuild(cwd);
197
197
  });
198
198
  }
@@ -209,7 +209,7 @@ const deploy = defineCommand({
209
209
  async run({ args }) {
210
210
  await runCommand(args, async () => {
211
211
  const cwd = await setup({ agent: true });
212
- const { executeDeploy } = await import("./deploy-kqBQT2kZ.mjs");
212
+ const { executeDeploy } = await import("./deploy-CQ69yWAK.mjs");
213
213
  return executeDeploy({
214
214
  cwd,
215
215
  ...args.server ? { server: args.server } : {}
@@ -18,7 +18,7 @@ const DEFAULT_HTML = `<!DOCTYPE html>
18
18
  <meta charset="UTF-8" />
19
19
  <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
20
20
  <title>aai</title>
21
- <link rel="icon" href="data:," />
21
+ <link rel="icon" href="./favicon.ico" />
22
22
  <style>html, body { background: #FBF8F2; margin: 0; }</style>
23
23
  </head>
24
24
  <body>
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
- import { t as buildClient } from "./client-bundler-B5HYJYYP.mjs";
2
+ import { t as buildClient } from "./client-bundler-DO3GgO6p.mjs";
3
3
  export { buildClient };
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { n as log, t as fmtUrl, u as ok } from "./_ui-CKEIHAtB.mjs";
3
3
  import { r as errorMessage } from "./_utils-C502jKo8.mjs";
4
- import { buildAgentBundle } from "./_bundler-Bp2vFV16.mjs";
4
+ import { buildAgentBundle } from "./_bundler-DnZnKsIU.mjs";
5
5
  import { o as writeProjectConfig } from "./_config-BWYgLjiI.mjs";
6
6
  import { t as resolveServerEnv } from "./_server-common-Bv-4Rskq.mjs";
7
7
  import { i as resolveDeployTarget } from "./_agent-4rsUGPhx.mjs";
@@ -11,7 +11,7 @@ import pc from "picocolors";
11
11
  async function executeDev(opts) {
12
12
  const port = parsePort(opts.port);
13
13
  const agentName = path.basename(path.resolve(opts.cwd));
14
- const { startDevServer } = await import("./_dev-server-D5A4qGbj.mjs");
14
+ const { startDevServer } = await import("./_dev-server-C8lcQOXt.mjs");
15
15
  let cleanup;
16
16
  let shuttingDown = false;
17
17
  const onSignal = () => {
@@ -74,7 +74,7 @@ function resolveTargetDir(dir) {
74
74
  }
75
75
  /** Run deploy after init and return deploy metadata if successful. */
76
76
  async function tryDeploy(cwd, server) {
77
- const { executeDeploy } = await import("./deploy-kqBQT2kZ.mjs");
77
+ const { executeDeploy } = await import("./deploy-CQ69yWAK.mjs");
78
78
  try {
79
79
  const result = await executeDeploy({
80
80
  cwd,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexkroman1/aai-cli",
3
- "version": "3.0.0",
3
+ "version": "3.2.0",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "aai": "dist/cli.mjs"
@@ -32,8 +32,8 @@
32
32
  "rolldown": "~1.1.4",
33
33
  "vite": "^8.1.5",
34
34
  "zod": "^4.4.3",
35
- "@alexkroman1/aai-ui": "3.0.0",
36
- "@alexkroman1/aai": "3.0.0"
35
+ "@alexkroman1/aai": "3.2.0",
36
+ "@alexkroman1/aai-ui": "3.2.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "playwright": "^1.61.1",