@keystrokehq/cli 0.1.96 → 0.1.97

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/dist/index.mjs CHANGED
@@ -6853,7 +6853,7 @@ function registerBuildCommand(program) {
6853
6853
  try {
6854
6854
  const root = resolveProjectRoot(options.dir);
6855
6855
  await ensureSdkCurrent(root);
6856
- const { buildApp } = await import("./dist-BbKeSmsJ.mjs");
6856
+ const { buildApp } = await import("./dist-CaiTZ-ZO.mjs");
6857
6857
  await buildApp({ root });
6858
6858
  process.stdout.write(`Built ${root}\n`);
6859
6859
  } catch (error) {
@@ -6978,7 +6978,7 @@ async function sleep(ms) {
6978
6978
  }
6979
6979
  async function buildDeployArchive(client, root, projectId, filter) {
6980
6980
  if (filter?.length) {
6981
- const { buildFilteredApp } = await import("./dist-BbKeSmsJ.mjs");
6981
+ const { buildFilteredApp } = await import("./dist-CaiTZ-ZO.mjs");
6982
6982
  const filtered = await buildFilteredApp({
6983
6983
  root,
6984
6984
  filter,
@@ -7000,7 +7000,7 @@ async function buildDeployArchive(client, root, projectId, filter) {
7000
7000
  sourceFiles: filtered.sourceFiles
7001
7001
  };
7002
7002
  }
7003
- const { buildApp } = await import("./dist-BbKeSmsJ.mjs");
7003
+ const { buildApp } = await import("./dist-CaiTZ-ZO.mjs");
7004
7004
  const { sourceFiles } = await buildApp({
7005
7005
  root,
7006
7006
  collectSources: true,
@@ -7122,7 +7122,7 @@ function runtimeChildEnv(parentEnv, overrides) {
7122
7122
  //#region src/project/bootstrap-run.ts
7123
7123
  /** Node args + env for `@keystrokehq/build` bootstrap (shared by start + dev). */
7124
7124
  async function resolveBootstrapRun(options) {
7125
- const { resolveRuntimeBuildArtifact } = await import("./dist-BbKeSmsJ.mjs");
7125
+ const { resolveRuntimeBuildArtifact } = await import("./dist-CaiTZ-ZO.mjs");
7126
7126
  const loader = pathToFileURL(resolveRuntimeBuildArtifact(options.runtimeNodeModules, "dist/runtime-loader.mjs")).href;
7127
7127
  const bootstrap = resolveRuntimeBuildArtifact(options.runtimeNodeModules, "dist/standalone-bootstrap.mjs");
7128
7128
  const args = [`--import=${loader}`];
@@ -7271,7 +7271,7 @@ async function runDev(options) {
7271
7271
  process.on("SIGINT", shutdown);
7272
7272
  process.on("SIGTERM", shutdown);
7273
7273
  try {
7274
- const { watchApp } = await import("./dist-BbKeSmsJ.mjs");
7274
+ const { watchApp } = await import("./dist-CaiTZ-ZO.mjs");
7275
7275
  await watchApp({
7276
7276
  root,
7277
7277
  clean: false,
@@ -8313,7 +8313,7 @@ async function runStart(options) {
8313
8313
  const apiPort = Number(new URL(serverUrl).port || 80);
8314
8314
  const runtimeNodeModules = resolveCliRuntimeNodeModules(resolveCliRoot(import.meta.url));
8315
8315
  ensureNativeDeps(runtimeNodeModules);
8316
- const { buildApp } = await import("./dist-BbKeSmsJ.mjs");
8316
+ const { buildApp } = await import("./dist-CaiTZ-ZO.mjs");
8317
8317
  await buildApp({
8318
8318
  root,
8319
8319
  clean: false
@@ -2,9 +2,12 @@ import { describe, expect, it } from "vitest";
2
2
  import hello from "./hello";
3
3
 
4
4
  describe("hello agent", () => {
5
- it.skipIf(!process.env.ANTHROPIC_API_KEY)("responds to a prompt", async () => {
6
- const result = await hello.prompt({ message: "Say hi in one word." });
5
+ it.skipIf(!process.env.AI_GATEWAY_API_KEY && !process.env.OPENAI_API_KEY)(
6
+ "responds to a prompt",
7
+ async () => {
8
+ const result = await hello.prompt({ message: "Say hi in one word." });
7
9
 
8
- expect(result.messages.some((message) => message.role === "assistant")).toBe(true);
9
- });
10
+ expect(result.messages.some((message) => message.role === "assistant")).toBe(true);
11
+ },
12
+ );
10
13
  });
@@ -5,5 +5,5 @@ export default defineAgent({
5
5
  description: "Hello description.",
6
6
  slug: "hello",
7
7
  systemPrompt: "You are a friendly hello-world agent. Keep replies short.",
8
- model: "anthropic/claude-sonnet-4.6",
8
+ model: "openai/gpt-5.6-luna",
9
9
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/cli",
3
- "version": "0.1.96",
3
+ "version": "0.1.97",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/keystrokehq/keystroke.git",