@alexkroman1/aai-cli 0.9.2 → 0.9.3

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.
@@ -57,12 +57,10 @@ async function bundleAgent(agent, opts) {
57
57
  root: agent.dir,
58
58
  logLevel: "warn",
59
59
  build: {
60
- rollupOptions: {
61
- input: path.join(agent.dir, "agent.ts"),
62
- output: {
63
- format: "es",
64
- entryFileNames: "worker.js"
65
- }
60
+ lib: {
61
+ entry: path.join(agent.dir, "agent.ts"),
62
+ formats: ["es"],
63
+ fileName: () => "worker.js"
66
64
  },
67
65
  outDir: buildDir,
68
66
  emptyOutDir: true,
package/dist/cli.mjs CHANGED
@@ -16,7 +16,7 @@ function findPkgJson(dir) {
16
16
  const VERSION = JSON.parse(findPkgJson(cliDir)).version;
17
17
  async function ensureAgent(cwd, yes) {
18
18
  if (!await fileExists(path.join(cwd, "agent.ts"))) {
19
- const { runInitCommand } = await import("./init-z8-W0Q1u.mjs");
19
+ const { runInitCommand } = await import("./init-nHgDq3Om.mjs");
20
20
  await runInitCommand({ yes }, { quiet: true });
21
21
  }
22
22
  }
@@ -56,7 +56,7 @@ const init = defineCommand({
56
56
  }
57
57
  },
58
58
  async run({ args }) {
59
- const { runInitCommand } = await import("./init-z8-W0Q1u.mjs");
59
+ const { runInitCommand } = await import("./init-nHgDq3Om.mjs");
60
60
  await runInitCommand({
61
61
  dir: args.dir,
62
62
  template: args.template,
@@ -93,7 +93,7 @@ const dev = defineCommand({
93
93
  const cwd = resolveCwd();
94
94
  await ensureAgent(cwd, args.yes);
95
95
  await getApiKey();
96
- const { runDevCommand } = await import("./dev-DhHd1FRP.mjs");
96
+ const { runDevCommand } = await import("./dev-BIgNj8Dt.mjs");
97
97
  await runDevCommand({
98
98
  cwd,
99
99
  port: args.port,
@@ -114,7 +114,7 @@ const build = defineCommand({
114
114
  async run({ args }) {
115
115
  const cwd = resolveCwd();
116
116
  await ensureAgent(cwd, args.yes);
117
- const { runBuildCommand } = await import("./_build-Dw66C1m4.mjs");
117
+ const { runBuildCommand } = await import("./_build-Cf_bB5Vl.mjs");
118
118
  await runBuildCommand(cwd);
119
119
  }
120
120
  });
@@ -142,7 +142,7 @@ const deploy = defineCommand({
142
142
  async run({ args }) {
143
143
  const cwd = resolveCwd();
144
144
  await ensureAgent(cwd, args.yes);
145
- const { runDeployCommand } = await import("./deploy-D_TBrC3r.mjs");
145
+ const { runDeployCommand } = await import("./deploy-2OxZpIfj.mjs");
146
146
  await runDeployCommand({
147
147
  cwd,
148
148
  ...args.server ? { server: args.server } : {},
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { l as resolveServerUrl, n as generateSlug, r as getApiKey, s as readProjectConfig, u as writeProjectConfig } from "./_discover-DsorPpR_.mjs";
3
3
  import { a as step, i as runCommand, o as stepInfo } from "./_ui-kJIua5L9.mjs";
4
- import { buildAgentBundle } from "./_build-Dw66C1m4.mjs";
4
+ import { buildAgentBundle } from "./_build-Cf_bB5Vl.mjs";
5
5
  //#region _deploy.ts
6
6
  async function attemptDeploy(fetchFn, url, slug, apiKey, env, worker, clientFiles) {
7
7
  try {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import "./_discover-DsorPpR_.mjs";
3
3
  import { a as step, i as runCommand, n as info } from "./_ui-kJIua5L9.mjs";
4
- import { buildAgentBundle } from "./_build-Dw66C1m4.mjs";
4
+ import { buildAgentBundle } from "./_build-Cf_bB5Vl.mjs";
5
5
  import { n as loadAgentDef, r as resolveServerEnv, t as bootServer } from "./_server-common-CpK4rWGs.mjs";
6
6
  //#region dev.ts
7
7
  async function _startDevServer(cwd, port, log, opts) {
@@ -56,7 +56,7 @@ async function runInitCommand(opts, extra) {
56
56
  process.chdir(cwd);
57
57
  delete process.env.INIT_CWD;
58
58
  if (!(opts.skipDeploy || extra?.quiet)) {
59
- const { runDeployCommand } = await import("./deploy-D_TBrC3r.mjs");
59
+ const { runDeployCommand } = await import("./deploy-2OxZpIfj.mjs");
60
60
  await runDeployCommand({ cwd });
61
61
  }
62
62
  return cwd;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexkroman1/aai-cli",
3
- "version": "0.9.2",
3
+ "version": "0.9.3",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "aai": "dist/cli.mjs"
@@ -22,7 +22,7 @@
22
22
  "picocolors": "^1.1.1",
23
23
  "vite": "^8.0.2",
24
24
  "zod": "^4.3.6",
25
- "@alexkroman1/aai": "0.9.2"
25
+ "@alexkroman1/aai": "0.9.3"
26
26
  },
27
27
  "devDependencies": {
28
28
  "playwright": "^1.58.2",
@@ -8,8 +8,8 @@
8
8
  "lint:fix": "biome check --write ."
9
9
  },
10
10
  "dependencies": {
11
- "@alexkroman1/aai": "0.9.2",
12
- "@alexkroman1/aai-ui": "0.9.2",
11
+ "@alexkroman1/aai": "0.9.3",
12
+ "@alexkroman1/aai-ui": "0.9.3",
13
13
  "@preact/signals": "^2.8.2",
14
14
  "preact": "^10.29.0",
15
15
  "tailwindcss": "^4.2.1",