@keystrokehq/cli 0.1.83 → 0.1.85
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/{dist-Digu3xY8.mjs → dist-BBhY5irR.mjs} +18 -4
- package/dist/dist-BBhY5irR.mjs.map +1 -0
- package/dist/{dist-CnsvKhw-.mjs → dist-CdlTh3Xw.mjs} +3 -3
- package/dist/{dist-CnsvKhw-.mjs.map → dist-CdlTh3Xw.mjs.map} +1 -1
- package/dist/dist-D1_ubR_K.mjs +3 -0
- package/dist/dist-uPQD-3bl.mjs.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/skills-bundle/_AGENTS.md +2 -2
- package/package.json +1 -1
- package/dist/dist-CnRkj0Dr.mjs +0 -3
- package/dist/dist-Digu3xY8.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -6759,7 +6759,7 @@ function registerBuildCommand(program) {
|
|
|
6759
6759
|
try {
|
|
6760
6760
|
const root = resolveProjectRoot(options.dir);
|
|
6761
6761
|
await ensureSdkCurrent(root);
|
|
6762
|
-
const { buildApp } = await import("./dist-
|
|
6762
|
+
const { buildApp } = await import("./dist-CdlTh3Xw.mjs");
|
|
6763
6763
|
await buildApp({ root });
|
|
6764
6764
|
process.stdout.write(`Built ${root}\n`);
|
|
6765
6765
|
} catch (error) {
|
|
@@ -6884,7 +6884,7 @@ async function sleep(ms) {
|
|
|
6884
6884
|
}
|
|
6885
6885
|
async function buildDeployArchive(client, root, projectId, filter) {
|
|
6886
6886
|
if (filter?.length) {
|
|
6887
|
-
const { buildFilteredApp } = await import("./dist-
|
|
6887
|
+
const { buildFilteredApp } = await import("./dist-CdlTh3Xw.mjs");
|
|
6888
6888
|
const filtered = await buildFilteredApp({
|
|
6889
6889
|
root,
|
|
6890
6890
|
filter,
|
|
@@ -6906,7 +6906,7 @@ async function buildDeployArchive(client, root, projectId, filter) {
|
|
|
6906
6906
|
sourceFiles: filtered.sourceFiles
|
|
6907
6907
|
};
|
|
6908
6908
|
}
|
|
6909
|
-
const { buildApp } = await import("./dist-
|
|
6909
|
+
const { buildApp } = await import("./dist-CdlTh3Xw.mjs");
|
|
6910
6910
|
const { sourceFiles } = await buildApp({
|
|
6911
6911
|
root,
|
|
6912
6912
|
collectSources: true,
|
|
@@ -7028,7 +7028,7 @@ function runtimeChildEnv(parentEnv, overrides) {
|
|
|
7028
7028
|
//#region src/project/bootstrap-run.ts
|
|
7029
7029
|
/** Node args + env for `@keystrokehq/build` bootstrap (shared by start + dev). */
|
|
7030
7030
|
async function resolveBootstrapRun(options) {
|
|
7031
|
-
const { resolveRuntimeBuildArtifact } = await import("./dist-
|
|
7031
|
+
const { resolveRuntimeBuildArtifact } = await import("./dist-CdlTh3Xw.mjs");
|
|
7032
7032
|
const loader = pathToFileURL(resolveRuntimeBuildArtifact(options.runtimeNodeModules, "dist/runtime-loader.mjs")).href;
|
|
7033
7033
|
const bootstrap = resolveRuntimeBuildArtifact(options.runtimeNodeModules, "dist/standalone-bootstrap.mjs");
|
|
7034
7034
|
const args = [`--import=${loader}`];
|
|
@@ -7177,7 +7177,7 @@ async function runDev(options) {
|
|
|
7177
7177
|
process.on("SIGINT", shutdown);
|
|
7178
7178
|
process.on("SIGTERM", shutdown);
|
|
7179
7179
|
try {
|
|
7180
|
-
const { watchApp } = await import("./dist-
|
|
7180
|
+
const { watchApp } = await import("./dist-CdlTh3Xw.mjs");
|
|
7181
7181
|
await watchApp({
|
|
7182
7182
|
root,
|
|
7183
7183
|
clean: false,
|
|
@@ -8220,7 +8220,7 @@ async function runStart(options) {
|
|
|
8220
8220
|
const apiPort = Number(new URL(serverUrl).port || 80);
|
|
8221
8221
|
const runtimeNodeModules = resolveCliRuntimeNodeModules(resolveCliRoot(import.meta.url));
|
|
8222
8222
|
ensureNativeDeps(runtimeNodeModules);
|
|
8223
|
-
const { buildApp } = await import("./dist-
|
|
8223
|
+
const { buildApp } = await import("./dist-CdlTh3Xw.mjs");
|
|
8224
8224
|
await buildApp({
|
|
8225
8225
|
root,
|
|
8226
8226
|
clean: false
|
|
@@ -217,9 +217,9 @@ export default defineWebhookSource({
|
|
|
217
217
|
|
|
218
218
|
| Source | Use when |
|
|
219
219
|
| --- | --- |
|
|
220
|
-
| **Schedule** (`defineCronSource`) | The workflow should run **every** tick, unconditionally — no filters exist on cron
|
|
220
|
+
| **Schedule** (`defineCronSource`) | The workflow should run **every** tick, unconditionally — no filters exist on cron. Cron fields are wall-clock times in optional `timezone` (IANA, e.g. `America/New_York`); omit for UTC. Prefer `timezone` for local times like "9am". Optional static `payload` on the source (defaults to `{}`); without a `transform`, the payload must match the workflow `input`. |
|
|
221
221
|
| **Webhook** (`defineWebhookSource`) | Another system pushes events. Best option when available. |
|
|
222
|
-
| **Poll** (`definePollSource`) | Check an external system each tick and fire **only when the result passes `.filter(...)`**. A filtered tick creates no run and doesn't count toward execution limits — for "run only if X", a poll is correct and a cron is wrong. |
|
|
222
|
+
| **Poll** (`definePollSource`) | Check an external system each tick and fire **only when the result passes `.filter(...)`**. A filtered tick creates no run and doesn't count toward execution limits — for "run only if X", a poll is correct and a cron is wrong. Same optional `timezone` as cron. |
|
|
223
223
|
|
|
224
224
|
Webhook match lives in the source `payload` schema; poll filters live on the source; `transform` lives on the workflow attachment. Agents use `.attach({ agent, prompt })` (not `transform`). Attachment id: `{sourceSlug}:{targetSlug}`.
|
|
225
225
|
|
package/package.json
CHANGED
package/dist/dist-CnRkj0Dr.mjs
DELETED