diff --git a/.changeset/add-generata-serve.md b/.changeset/add-generata-serve.md deleted file mode 100644 index 03e58f3..0000000 --- a/.changeset/add-generata-serve.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/serve": minor ---- - -Initial release. HTTP server for Generata workflow handlers: auto-discovers user-authored scripts under `serve/`, mounts each at `POST /`, runs them in-process with Bearer auth, 202+status-URL async lifecycle via `runAsync`, and disk-persisted run state. v1 targets solo-dev / single-user automation; webhook signature verifiers and SSE deferred to a future release. diff --git a/.changeset/agent-runner-kill-visibility.md b/.changeset/agent-runner-kill-visibility.md deleted file mode 100644 index 582ccf8..0000000 --- a/.changeset/agent-runner-kill-visibility.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -Capture kill reason and signal in agent metrics. When a timeout fires the runner records `killReason`, the OS signal, and any abnormal close-delay in `metrics.error`, and sets `status: "timeout"`. Previously a SIGTERM kill left only the benign "no stdin data received in 3s" warning and a generic "failure" status, making it impossible to distinguish timeout from crash. diff --git a/.changeset/agent-runner-leaks-grandchild-processes.md b/.changeset/agent-runner-leaks-grandchild-processes.md deleted file mode 100644 index 8dec2d6..0000000 --- a/.changeset/agent-runner-leaks-grandchild-processes.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix(core): prevent child process zombies by detaching and signalling process groups diff --git a/.changeset/agent-runner-monolith.md b/.changeset/agent-runner-monolith.md deleted file mode 100644 index 0496874..0000000 --- a/.changeset/agent-runner-monolith.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -refactor(core): extract emit result-parsing logic into parseCloseResult helper diff --git a/.changeset/bare-agentdef-step-slot-half-supported.md b/.changeset/bare-agentdef-step-slot-half-supported.md deleted file mode 100644 index a41315d..0000000 --- a/.changeset/bare-agentdef-step-slot-half-supported.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix(core): add deprecation warning for bare AgentDef step slot diff --git a/.changeset/build-prepare-scripts-identical.md b/.changeset/build-prepare-scripts-identical.md deleted file mode 100644 index 8c54cef..0000000 --- a/.changeset/build-prepare-scripts-identical.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -Deduplicate build and prepare scripts. Set prepare to call pnpm build so future changes to the build process happen in one place. diff --git a/.changeset/bun-lockfile-not-detected-in-detectpm.md b/.changeset/bun-lockfile-not-detected-in-detectpm.md deleted file mode 100644 index 544c338..0000000 --- a/.changeset/bun-lockfile-not-detected-in-detectpm.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix(cli): detect bun lockfile in detectPm diff --git a/.changeset/catalog-templates-not-version-pinned.md b/.changeset/catalog-templates-not-version-pinned.md deleted file mode 100644 index e0c6178..0000000 --- a/.changeset/catalog-templates-not-version-pinned.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": minor ---- - -feat: pin template catalog entries to core version diff --git a/.changeset/coding-manifest-description-out-of-sync.md b/.changeset/coding-manifest-description-out-of-sync.md deleted file mode 100644 index 0d43f57..0000000 --- a/.changeset/coding-manifest-description-out-of-sync.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -docs(templates): fix coding manifest description to match actual workflow diff --git a/.changeset/coding-readme-references-skills-sync.md b/.changeset/coding-readme-references-skills-sync.md deleted file mode 100644 index ea0f8ef..0000000 --- a/.changeset/coding-readme-references-skills-sync.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -docs: update coding template README to use commands sync instead of deprecated skills sync diff --git a/.changeset/coding-readme-spec-creator-emits-stale-protocol.md b/.changeset/coding-readme-spec-creator-emits-stale-protocol.md deleted file mode 100644 index 2fdaa26..0000000 --- a/.changeset/coding-readme-spec-creator-emits-stale-protocol.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -docs: update spec-creator protocol docs to match current outputs diff --git a/.changeset/commands-sync-not-reachable-via-cli.md b/.changeset/commands-sync-not-reachable-via-cli.md deleted file mode 100644 index 994b1f9..0000000 --- a/.changeset/commands-sync-not-reachable-via-cli.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix: add "commands" to reserved commands for CLI routing diff --git a/.changeset/context-source-has-no-head-only-tail.md b/.changeset/context-source-has-no-head-only-tail.md deleted file mode 100644 index d866bb3..0000000 --- a/.changeset/context-source-has-no-head-only-tail.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": minor ---- - -feat(core): add head field to ContextSource for trimming context to first N lines diff --git a/.changeset/core-readme-skills-sync-and-stale-monorepo-name.md b/.changeset/core-readme-skills-sync-and-stale-monorepo-name.md deleted file mode 100644 index 7ab111e..0000000 --- a/.changeset/core-readme-skills-sync-and-stale-monorepo-name.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -docs: correct stale command and monorepo references in core README diff --git a/.changeset/dedupe-metrics-printing.md b/.changeset/dedupe-metrics-printing.md deleted file mode 100644 index f6b46e8..0000000 --- a/.changeset/dedupe-metrics-printing.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -Dedupe metrics printing in the CLI. Internal refactor that extracts a `printSummary` helper so the today/week/agent metrics commands share one formatter; output is unchanged. diff --git a/.changeset/drop-startup-banner.md b/.changeset/drop-startup-banner.md deleted file mode 100644 index 0547a89..0000000 --- a/.changeset/drop-startup-banner.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -Drop the `generata` ASCII banner and randomised tagline from the start of `generata agent` and `generata workflow` runs. The workflow start header (name, isolation, prompt log) is now the first thing printed. Removes the `logBanner` and `pickWorkflowTagline` exports from `@generata/core/logger`. diff --git a/.changeset/duplicated-template-install-defaults.md b/.changeset/duplicated-template-install-defaults.md deleted file mode 100644 index 520015a..0000000 --- a/.changeset/duplicated-template-install-defaults.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -refactor(core): extract template install defaults to shared utility diff --git a/.changeset/engine-conflates-timeout-and-failure.md b/.changeset/engine-conflates-timeout-and-failure.md deleted file mode 100644 index 9872c5d..0000000 --- a/.changeset/engine-conflates-timeout-and-failure.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix(core): treat timeout status same as failure in retry logic diff --git a/.changeset/engine-plan-move-assumes-code-subdir.md b/.changeset/engine-plan-move-assumes-code-subdir.md deleted file mode 100644 index 7357d30..0000000 --- a/.changeset/engine-plan-move-assumes-code-subdir.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix: remove unreachable plan-move block that assumed code/ subdirectory diff --git a/.changeset/execute-workflow-function-too-long.md b/.changeset/execute-workflow-function-too-long.md deleted file mode 100644 index 9907ceb..0000000 --- a/.changeset/execute-workflow-function-too-long.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix: extract executeWorkflow helpers to reduce function length diff --git a/.changeset/expose-load-ts-and-find-project-root.md b/.changeset/expose-load-ts-and-find-project-root.md deleted file mode 100644 index 37e90e6..0000000 --- a/.changeset/expose-load-ts-and-find-project-root.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@generata/core": minor ---- - -Expose `loadTs` and `findProjectRoot` as public exports so consumer packages (notably `@generata/serve`) can resolve project-relative TypeScript modules. - -Add an optional `serve` field to `GlobalConfig` so `defineConfig({ serve: {...} })` typechecks for users of `@generata/serve`. Core ignores the field; the serve package validates and consumes it. diff --git a/.changeset/factory-bare-error-shows-placeholder-name.md b/.changeset/factory-bare-error-shows-placeholder-name.md deleted file mode 100644 index 42441e1..0000000 --- a/.changeset/factory-bare-error-shows-placeholder-name.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix(core): remove placeholder name from factory-form agent error diff --git a/.changeset/factory-no-inputs-bare-step.md b/.changeset/factory-no-inputs-bare-step.md deleted file mode 100644 index c1c850b..0000000 --- a/.changeset/factory-no-inputs-bare-step.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": minor ---- - -Allow factory-form agents with no declared inputs to be passed bare to `.step()` and `onReject`. Previously, `defineAgent<{}>(() => ({...}))` had to be wrapped as `.step("id", () => agent({}))` even though there were no inputs to thread - the engine now wraps such factories itself, so `.step("id", agent)` works. Factories with declared inputs are still required to be called inside a stepFn so prior-step outputs thread through correctly. diff --git a/.changeset/fallback-config-defaults-diverge-from-schema.md b/.changeset/fallback-config-defaults-diverge-from-schema.md deleted file mode 100644 index 808d656..0000000 --- a/.changeset/fallback-config-defaults-diverge-from-schema.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix: align fallback config defaults with GlobalConfig schema diff --git a/.changeset/filesystem-access-flag-undocumented.md b/.changeset/filesystem-access-flag-undocumented.md deleted file mode 100644 index c9a27ef..0000000 --- a/.changeset/filesystem-access-flag-undocumented.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -docs: document filesystemAccess agent option diff --git a/.changeset/git-url-tag-suffix-not-parsed.md b/.changeset/git-url-tag-suffix-not-parsed.md deleted file mode 100644 index 353ea01..0000000 --- a/.changeset/git-url-tag-suffix-not-parsed.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix: parse @ref suffix from git URLs in classifySpecifier diff --git a/.changeset/global-config-fields-not-documented.md b/.changeset/global-config-fields-not-documented.md deleted file mode 100644 index e05256c..0000000 --- a/.changeset/global-config-fields-not-documented.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -docs: add GlobalConfig field reference table diff --git a/.changeset/haiku-model-id-mismatch-init-vs-fallback.md b/.changeset/haiku-model-id-mismatch-init-vs-fallback.md deleted file mode 100644 index 05a3f7f..0000000 --- a/.changeset/haiku-model-id-mismatch-init-vs-fallback.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix(init): sync haiku model id to match runtime fallback diff --git a/.changeset/help-elides-metrics-subcommands.md b/.changeset/help-elides-metrics-subcommands.md deleted file mode 100644 index 3833c95..0000000 --- a/.changeset/help-elides-metrics-subcommands.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix: show metrics subcommands in help instead of ellipsis diff --git a/.changeset/help-still-advertises-skills-sync.md b/.changeset/help-still-advertises-skills-sync.md deleted file mode 100644 index ae3df75..0000000 --- a/.changeset/help-still-advertises-skills-sync.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix: update help text to reflect 'commands sync' as primary command diff --git a/.changeset/init-writes-deprecated-skills-sync-script.md b/.changeset/init-writes-deprecated-skills-sync-script.md deleted file mode 100644 index 47d3d60..0000000 --- a/.changeset/init-writes-deprecated-skills-sync-script.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix: scaffold "commands:sync" instead of deprecated "skills:sync" in init diff --git a/.changeset/metrics-agent-shorthand-doc-mismatch.md b/.changeset/metrics-agent-shorthand-doc-mismatch.md deleted file mode 100644 index 7f2ea55..0000000 --- a/.changeset/metrics-agent-shorthand-doc-mismatch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -docs: fix metrics command example in README diff --git a/.changeset/metrics-unknown-subcommand-silent.md b/.changeset/metrics-unknown-subcommand-silent.md deleted file mode 100644 index d24fdd3..0000000 --- a/.changeset/metrics-unknown-subcommand-silent.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix: error handling for unknown metrics subcommands diff --git a/.changeset/non-initiator-planners-told-to-emit-params.md b/.changeset/non-initiator-planners-told-to-emit-params.md deleted file mode 100644 index 931f09b..0000000 --- a/.changeset/non-initiator-planners-told-to-emit-params.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix: only emit params instruction for initiator planners diff --git a/.changeset/notify-shell-escape-fix.md b/.changeset/notify-shell-escape-fix.md deleted file mode 100644 index edc250d..0000000 --- a/.changeset/notify-shell-escape-fix.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -Prevent shell injection in macOS notifications by using execFileSync instead of string interpolation. diff --git a/.changeset/plan-name-magic-mapping-in-core-cli.md b/.changeset/plan-name-magic-mapping-in-core-cli.md deleted file mode 100644 index fe73dc0..0000000 --- a/.changeset/plan-name-magic-mapping-in-core-cli.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -refactor(core): remove plan_name auto-mapping from CLI diff --git a/.changeset/preflight-uses-unix-only-which.md b/.changeset/preflight-uses-unix-only-which.md deleted file mode 100644 index 45a2de7..0000000 --- a/.changeset/preflight-uses-unix-only-which.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -Fix preflight uses platform-specific command lookup. Use `where` on Windows and `which` on Unix-like systems to properly detect CLI tools on all platforms. diff --git a/.changeset/profane-taglines-in-published-package.md b/.changeset/profane-taglines-in-published-package.md deleted file mode 100644 index 0e18ef4..0000000 --- a/.changeset/profane-taglines-in-published-package.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix(core): replace profane taglines with professional alternatives diff --git a/.changeset/profile-flag-only-documented-on-validate.md b/.changeset/profile-flag-only-documented-on-validate.md deleted file mode 100644 index d90573c..0000000 --- a/.changeset/profile-flag-only-documented-on-validate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -docs: document --profile flag in CLI help workflow section diff --git a/.changeset/programmatic-prompt-logs.md b/.changeset/programmatic-prompt-logs.md deleted file mode 100644 index 4a82d86..0000000 --- a/.changeset/programmatic-prompt-logs.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@generata/core": minor ---- - -Programmatic `runWorkflow` / `runAgent` now write prompt logs to the same `//-.log` paths the CLI uses, mirroring the CLI's `logPrompts` flow. The path is printed once to stderr at run start as `Full log: file:///...` so callers can click through and tail the file as it streams - this fires for both CLI and programmatic runs, with or without `onEvent`. Pass `promptLogFile` to override the path. - -Silent-mode programmatic runs also print a header to stderr: `workflow: ( steps)` or `agent: []`. Suppressed when `onEvent` is wired (the caller is driving display). - -Auto-derived programmatic log paths now prepend the calling script's basename - e.g. `logs/workflow/batch-script-review-note-.log` instead of `logs/workflow/review-note-.log` - so logs from different scripts driving the same workflow are easy to tell apart. CLI runs and explicit `promptLogFile` overrides are unaffected. - -`consoleSink` no longer prints the prompt log path itself on `workflow-start` / `agent-welcome` - `runWorkflow` / `runAgent` are now the single source for that line. - -The `logPrompts` config default has flipped from `false` to `true` - prompt logs are on by default for both CLI and programmatic runs. Set `logPrompts: false` in `generata.config.ts` to opt out. diff --git a/.changeset/programmatic-run.md b/.changeset/programmatic-run.md deleted file mode 100644 index ee8b8db..0000000 --- a/.changeset/programmatic-run.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@generata/core": minor ---- - -Expose `runWorkflow` and `runAgent` as public API so workflows and agents can be driven from code. Programmatic callers run silently by default and subscribe to structured `EngineEvent`s via `onEvent`. The CLI is unchanged in behaviour. - -`AbortSignal` is now wired through `runWorkflow` end-to-end: a pre-aborted signal short-circuits before precheck/worktree setup, and a signal that fires mid-step bypasses the per-agent retry loop and propagates `AbortError` to the caller. - -The `EngineEvent` union now emits a discrete `halt` event when a worker calls `emit --halt`, and `workflow-start` carries the `runId` (the same id stamped into per-step metric records) so subscribers can correlate events with metrics. - -One internal-behaviour change worth flagging: critic-step max-retries no longer throws inside the engine. The CLI now exits non-zero by checking `result.success`. Same observable outcome for end users; loop-friendly contract for programmatic callers. diff --git a/.changeset/prompt-context-feature-undocumented.md b/.changeset/prompt-context-feature-undocumented.md deleted file mode 100644 index 4569d49..0000000 --- a/.changeset/prompt-context-feature-undocumented.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -docs: document promptContext feature for injecting file context into agent prompts diff --git a/.changeset/read-glob-grep-not-opt-out-able.md b/.changeset/read-glob-grep-not-opt-out-able.md deleted file mode 100644 index f54456a..0000000 --- a/.changeset/read-glob-grep-not-opt-out-able.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": minor ---- - -feat: make Read/Glob/Grep filesystem tools opt-outable for full agents diff --git a/.changeset/read-only-agents-can-write-files.md b/.changeset/read-only-agents-can-write-files.md deleted file mode 100644 index b54bee6..0000000 --- a/.changeset/read-only-agents-can-write-files.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix(core): prevent read-only agents from writing arbitrary files diff --git a/.changeset/read-only-emit-permission-path-syntax.md b/.changeset/read-only-emit-permission-path-syntax.md deleted file mode 100644 index faab987..0000000 --- a/.changeset/read-only-emit-permission-path-syntax.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix(core): use absolute-path syntax for read-only emit permission so the agent's Write call actually matches diff --git a/.changeset/readme-uses-pre-outputs-agent-example.md b/.changeset/readme-uses-pre-outputs-agent-example.md deleted file mode 100644 index bb5dd02..0000000 --- a/.changeset/readme-uses-pre-outputs-agent-example.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -docs: add outputs declaration to README defineAgent example diff --git a/.changeset/redundant-llmtier-and-llmagentdef-aliases.md b/.changeset/redundant-llmtier-and-llmagentdef-aliases.md deleted file mode 100644 index f3b9f08..0000000 --- a/.changeset/redundant-llmtier-and-llmagentdef-aliases.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": minor ---- - -refactor: remove redundant ModelTier and LLMAgentDef aliases diff --git a/.changeset/required-env-prompt-accepts-empty.md b/.changeset/required-env-prompt-accepts-empty.md deleted file mode 100644 index 9108f74..0000000 --- a/.changeset/required-env-prompt-accepts-empty.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix: re-prompt required env variables until non-empty diff --git a/.changeset/scaffolded-config-sets-verbose-true.md b/.changeset/scaffolded-config-sets-verbose-true.md deleted file mode 100644 index cc276d8..0000000 --- a/.changeset/scaffolded-config-sets-verbose-true.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix: remove verboseOutput from scaffolded config diff --git a/.changeset/secret-env-prompts-not-masked.md b/.changeset/secret-env-prompts-not-masked.md deleted file mode 100644 index 270918c..0000000 --- a/.changeset/secret-env-prompts-not-masked.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix(cli): mask secret environment variable input during prompts diff --git a/.changeset/skills-sync-name-misleading.md b/.changeset/skills-sync-name-misleading.md deleted file mode 100644 index f5ecb92..0000000 --- a/.changeset/skills-sync-name-misleading.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": minor ---- - -feat(cli): rename skills sync to commands sync diff --git a/.changeset/slash-command-template-says-skills-sync.md b/.changeset/slash-command-template-says-skills-sync.md deleted file mode 100644 index 3e06b0b..0000000 --- a/.changeset/slash-command-template-says-skills-sync.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -feat: include optional variables in slash-command argument hints diff --git a/.changeset/slash-commands-hardcode-pnpm-runner.md b/.changeset/slash-commands-hardcode-pnpm-runner.md deleted file mode 100644 index 667a372..0000000 --- a/.changeset/slash-commands-hardcode-pnpm-runner.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": minor ---- - -feat(cli): generate slash commands with detected package manager diff --git a/.changeset/standup-template-missing-output-on-final-step.md b/.changeset/standup-template-missing-output-on-final-step.md deleted file mode 100644 index c050584..0000000 --- a/.changeset/standup-template-missing-output-on-final-step.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix: add outputs declaration to standup-writer agent diff --git a/.changeset/starter-readme-references-skills-sync.md b/.changeset/starter-readme-references-skills-sync.md deleted file mode 100644 index 5f8bae1..0000000 --- a/.changeset/starter-readme-references-skills-sync.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix: update starter README to reference 'commands sync' instead of deprecated 'skills sync' diff --git a/.changeset/step-shape-swallows-stepfn-proxy-errors.md b/.changeset/step-shape-swallows-stepfn-proxy-errors.md deleted file mode 100644 index 893c7de..0000000 --- a/.changeset/step-shape-swallows-stepfn-proxy-errors.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix(core): surface errors when resolveStepShape stepFn throws diff --git a/.changeset/structural-halt-protocol-orphaned.md b/.changeset/structural-halt-protocol-orphaned.md deleted file mode 100644 index 2917688..0000000 --- a/.changeset/structural-halt-protocol-orphaned.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix: remove orphaned isStructuralHalt protocol diff --git a/.changeset/template-manifest-not-strict.md b/.changeset/template-manifest-not-strict.md deleted file mode 100644 index fa389a1..0000000 --- a/.changeset/template-manifest-not-strict.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix: make TemplateManifest schema strict to reject unknown keys diff --git a/.changeset/template-manifest-profiles-field-unused.md b/.changeset/template-manifest-profiles-field-unused.md deleted file mode 100644 index e6acdbe..0000000 --- a/.changeset/template-manifest-profiles-field-unused.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix: remove unused profiles field from TemplateManifest diff --git a/.changeset/templates-readme-example-omits-typed-outputs.md b/.changeset/templates-readme-example-omits-typed-outputs.md deleted file mode 100644 index ecc25f7..0000000 --- a/.changeset/templates-readme-example-omits-typed-outputs.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -Expand templates README with typed-output workflow example. Documents how typed outputs flow between workflow steps with full type safety. diff --git a/.changeset/templates-readme-installpaths-defaults-undocumented.md b/.changeset/templates-readme-installpaths-defaults-undocumented.md deleted file mode 100644 index 3dafbeb..0000000 --- a/.changeset/templates-readme-installpaths-defaults-undocumented.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -docs(templates): document installPaths defaults and merge behaviour diff --git a/.changeset/templates-ship-ds-store-files.md b/.changeset/templates-ship-ds-store-files.md deleted file mode 100644 index 94f01fe..0000000 --- a/.changeset/templates-ship-ds-store-files.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -Skip .DS_Store files when copying templates during project initialization, preventing macOS metadata files from being included in user projects. diff --git a/.changeset/tool-name-map-double-includes-base-tools.md b/.changeset/tool-name-map-double-includes-base-tools.md deleted file mode 100644 index d0c8588..0000000 --- a/.changeset/tool-name-map-double-includes-base-tools.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix: deduplicate base tools in buildAllowedTools diff --git a/.changeset/unused-object-form-workflow-step-shapes.md b/.changeset/unused-object-form-workflow-step-shapes.md deleted file mode 100644 index 92b99fc..0000000 --- a/.changeset/unused-object-form-workflow-step-shapes.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -refactor(core): unify workflow step shapes to stepFn-only form diff --git a/.changeset/upgrade-tooling.md b/.changeset/upgrade-tooling.md deleted file mode 100644 index 45551fc..0000000 --- a/.changeset/upgrade-tooling.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@generata/core": patch -"@generata/serve": patch ---- - -Upgrade tooling (TypeScript 6, zod 4, oxlint/oxfmt) and skip template scan during `generata init` when the template's `node_modules` is missing. Avoids confusing import errors during first-run scaffolding before deps are installed. diff --git a/.changeset/validate-without-flag-args-stubs-silently.md b/.changeset/validate-without-flag-args-stubs-silently.md deleted file mode 100644 index 436c489..0000000 --- a/.changeset/validate-without-flag-args-stubs-silently.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix(core): validate all required workflow params in --all mode diff --git a/.changeset/workflow-layout-convention-conflict.md b/.changeset/workflow-layout-convention-conflict.md deleted file mode 100644 index 9e07d99..0000000 --- a/.changeset/workflow-layout-convention-conflict.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -docs: clarify workflow layout convention and starter template usage diff --git a/.changeset/workflow-variables-not-in-stepfn-params.md b/.changeset/workflow-variables-not-in-stepfn-params.md deleted file mode 100644 index dcea44c..0000000 --- a/.changeset/workflow-variables-not-in-stepfn-params.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix: merge workflow.variables defaults into stepFn params diff --git a/.changeset/worktree-cleanup-opt-in.md b/.changeset/worktree-cleanup-opt-in.md deleted file mode 100644 index b757f36..0000000 --- a/.changeset/worktree-cleanup-opt-in.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": minor ---- - -`worktree({...})` now accepts a `cleanup` field (default `false`). When `false`, the worktree and its `generata/wt-` branch are kept on disk after the workflow finishes so you can inspect the run; pass `cleanup: true` to restore the previous teardown-on-exit behaviour. The engine logs `[worktree] cleaned up ` or `[worktree] preserved at ` at end of run. Setup-failure cleanup is unchanged - half-built worktrees are still torn down. Use `generata worktree prune` to clear preserved worktrees. diff --git a/.changeset/worktree-cleanup-tolerance.md b/.changeset/worktree-cleanup-tolerance.md deleted file mode 100644 index 7ea2793..0000000 --- a/.changeset/worktree-cleanup-tolerance.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -`setupWorktree`'s cleanup now probes the throwaway branch with `git rev-parse --verify` before issuing `git branch -D`. Skipping the delete when the branch is gone keeps cleanup quiet for callers (e.g. shippers) that have renamed the worktree branch to a semantic name and pushed it. diff --git a/.changeset/worktree-prompt-and-typed-outputs.md b/.changeset/worktree-prompt-and-typed-outputs.md deleted file mode 100644 index 0ad7553..0000000 --- a/.changeset/worktree-prompt-and-typed-outputs.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@generata/core": minor ---- - -Fix worktree isolation prompt header and surface typed outputs on `WorkflowResult`. - -The prompt's `Working directory:` line (and the agent factory's `${work_dir}` substitution) now reflect the actual cwd the agent runs in, not the user-config workDir. Agents under worktree isolation were previously misled into resolving absolute file paths against the main repo and mutating it instead of the worktree. - -`WorkflowResult` now exposes `outputs: Record` (typed outputs accumulated across steps) and `worktreePath?: string` (when the workflow ran with worktree isolation), so programmatic post-workflow drivers can read what agents emitted and locate the worktree without re-deriving either. diff --git a/.changeset/worktree-prune-command-unreachable.md b/.changeset/worktree-prune-command-unreachable.md deleted file mode 100644 index 69c471f..0000000 --- a/.changeset/worktree-prune-command-unreachable.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -fix(cli): add worktree to reserved commands for proper routing diff --git a/.changeset/worktree-spinner-noise.md b/.changeset/worktree-spinner-noise.md deleted file mode 100644 index 3dea127..0000000 --- a/.changeset/worktree-spinner-noise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@generata/core": patch ---- - -`setupWorktree` no longer wraps `git fetch`, `git worktree add`, and the install command in animated spinners. Each step now prints a plain `→ worktree: ...` line instead. The spinners often appeared frozen on fast operations because the work completed before the animation could cycle, and the cursor blinking on top of the braille frames read as buggy. diff --git a/internal/self-improve/CHANGELOG.md b/internal/self-improve/CHANGELOG.md index ceac4e1..a929ee4 100644 --- a/internal/self-improve/CHANGELOG.md +++ b/internal/self-improve/CHANGELOG.md @@ -1,5 +1,83 @@ # @generata/self-improve +## 0.0.2 + +### Patch Changes + +- Updated dependencies [5613d29] +- Updated dependencies [1a19c00] +- Updated dependencies [3e359d0] +- Updated dependencies [1a3725d] +- Updated dependencies [5f32d49] +- Updated dependencies [fb9b3b3] +- Updated dependencies [16aeb16] +- Updated dependencies [c1f3175] +- Updated dependencies [8305898] +- Updated dependencies [ceb0b72] +- Updated dependencies [94a9684] +- Updated dependencies [9a3a2e2] +- Updated dependencies [ff6b646] +- Updated dependencies [6a2000b] +- Updated dependencies [2686c7b] +- Updated dependencies [a40de4d] +- Updated dependencies [df28c99] +- Updated dependencies [5c8616e] +- Updated dependencies [acf2cfa] +- Updated dependencies [2524d75] +- Updated dependencies [8ee8dc3] +- Updated dependencies [d17256b] +- Updated dependencies [274371d] +- Updated dependencies [7e609ea] +- Updated dependencies [ad8308f] +- Updated dependencies [432df83] +- Updated dependencies [d2d6bc5] +- Updated dependencies [1ffc8b0] +- Updated dependencies [edd4132] +- Updated dependencies [885fdc0] +- Updated dependencies [6fabb5e] +- Updated dependencies [4bd214e] +- Updated dependencies [6925905] +- Updated dependencies [513d89d] +- Updated dependencies [b37a6f8] +- Updated dependencies [a7c5edd] +- Updated dependencies [3d8d50d] +- Updated dependencies [53b5e3f] +- Updated dependencies [66b0511] +- Updated dependencies [18264a7] +- Updated dependencies [74679ef] +- Updated dependencies [be78f7a] +- Updated dependencies [72808cf] +- Updated dependencies [e98bdf4] +- Updated dependencies [37d6d5b] +- Updated dependencies [c6ac72f] +- Updated dependencies [aed48b3] +- Updated dependencies [108ad1d] +- Updated dependencies [6acaa44] +- Updated dependencies [ddab78e] +- Updated dependencies [c04e0ab] +- Updated dependencies [b38d4c9] +- Updated dependencies [1f28af6] +- Updated dependencies [a54a105] +- Updated dependencies [437601d] +- Updated dependencies [8c86320] +- Updated dependencies [a1bf0e4] +- Updated dependencies [1ad51db] +- Updated dependencies [44618b5] +- Updated dependencies [23a035b] +- Updated dependencies [6ebd0a0] +- Updated dependencies [1491d60] +- Updated dependencies [68488b0] +- Updated dependencies [35b0c1d] +- Updated dependencies [508f072] +- Updated dependencies [ec7b526] +- Updated dependencies [d0bfe3f] +- Updated dependencies [27e4f47] +- Updated dependencies [1d9a076] +- Updated dependencies [b9d8165] +- Updated dependencies [832770f] +- Updated dependencies [a59ee2f] + - @generata/core@1.3.0 + ## 0.0.1 ### Patch Changes diff --git a/internal/self-improve/package.json b/internal/self-improve/package.json index a5a5baf..fcbb4ba 100644 --- a/internal/self-improve/package.json +++ b/internal/self-improve/package.json @@ -1,6 +1,6 @@ { "name": "@generata/self-improve", - "version": "0.0.1", + "version": "0.0.2", "private": true, "type": "module", "scripts": { diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index af35910..9972f82 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,108 @@ # @generata/core changelog +## 1.3.0 + +### Minor Changes + +- 16aeb16: feat: pin template catalog entries to core version +- 9a3a2e2: feat(core): add head field to ContextSource for trimming context to first N lines +- 2524d75: Expose `loadTs` and `findProjectRoot` as public exports so consumer packages (notably `@generata/serve`) can resolve project-relative TypeScript modules. + + Add an optional `serve` field to `GlobalConfig` so `defineConfig({ serve: {...} })` typechecks for users of `@generata/serve`. Core ignores the field; the serve package validates and consumes it. + +- d17256b: Allow factory-form agents with no declared inputs to be passed bare to `.step()` and `onReject`. Previously, `defineAgent<{}>(() => ({...}))` had to be wrapped as `.step("id", () => agent({}))` even though there were no inputs to thread - the engine now wraps such factories itself, so `.step("id", agent)` works. Factories with declared inputs are still required to be called inside a stepFn so prior-step outputs thread through correctly. +- 66b0511: Programmatic `runWorkflow` / `runAgent` now write prompt logs to the same `//-.log` paths the CLI uses, mirroring the CLI's `logPrompts` flow. The path is printed once to stderr at run start as `Full log: file:///...` so callers can click through and tail the file as it streams - this fires for both CLI and programmatic runs, with or without `onEvent`. Pass `promptLogFile` to override the path. + + Silent-mode programmatic runs also print a header to stderr: `workflow: ( steps)` or `agent: []`. Suppressed when `onEvent` is wired (the caller is driving display). + + Auto-derived programmatic log paths now prepend the calling script's basename - e.g. `logs/workflow/batch-script-review-note-.log` instead of `logs/workflow/review-note-.log` - so logs from different scripts driving the same workflow are easy to tell apart. CLI runs and explicit `promptLogFile` overrides are unaffected. + + `consoleSink` no longer prints the prompt log path itself on `workflow-start` / `agent-welcome` - `runWorkflow` / `runAgent` are now the single source for that line. + + The `logPrompts` config default has flipped from `false` to `true` - prompt logs are on by default for both CLI and programmatic runs. Set `logPrompts: false` in `generata.config.ts` to opt out. + +- 18264a7: Expose `runWorkflow` and `runAgent` as public API so workflows and agents can be driven from code. Programmatic callers run silently by default and subscribe to structured `EngineEvent`s via `onEvent`. The CLI is unchanged in behaviour. + + `AbortSignal` is now wired through `runWorkflow` end-to-end: a pre-aborted signal short-circuits before precheck/worktree setup, and a signal that fires mid-step bypasses the per-agent retry loop and propagates `AbortError` to the caller. + + The `EngineEvent` union now emits a discrete `halt` event when a worker calls `emit --halt`, and `workflow-start` carries the `runId` (the same id stamped into per-step metric records) so subscribers can correlate events with metrics. + + One internal-behaviour change worth flagging: critic-step max-retries no longer throws inside the engine. The CLI now exits non-zero by checking `result.success`. Same observable outcome for end users; loop-friendly contract for programmatic callers. + +- be78f7a: feat: make Read/Glob/Grep filesystem tools opt-outable for full agents +- c6ac72f: refactor: remove redundant ModelTier and LLMAgentDef aliases +- ddab78e: feat(cli): rename skills sync to commands sync +- b38d4c9: feat(cli): generate slash commands with detected package manager +- 27e4f47: `worktree({...})` now accepts a `cleanup` field (default `false`). When `false`, the worktree and its `generata/wt-` branch are kept on disk after the workflow finishes so you can inspect the run; pass `cleanup: true` to restore the previous teardown-on-exit behaviour. The engine logs `[worktree] cleaned up ` or `[worktree] preserved at ` at end of run. Setup-failure cleanup is unchanged - half-built worktrees are still torn down. Use `generata worktree prune` to clear preserved worktrees. +- b9d8165: Fix worktree isolation prompt header and surface typed outputs on `WorkflowResult`. + + The prompt's `Working directory:` line (and the agent factory's `${work_dir}` substitution) now reflect the actual cwd the agent runs in, not the user-config workDir. Agents under worktree isolation were previously misled into resolving absolute file paths against the main repo and mutating it instead of the worktree. + + `WorkflowResult` now exposes `outputs: Record` (typed outputs accumulated across steps) and `worktreePath?: string` (when the workflow ran with worktree isolation), so programmatic post-workflow drivers can read what agents emitted and locate the worktree without re-deriving either. + +### Patch Changes + +- 5613d29: Capture kill reason and signal in agent metrics. When a timeout fires the runner records `killReason`, the OS signal, and any abnormal close-delay in `metrics.error`, and sets `status: "timeout"`. Previously a SIGTERM kill left only the benign "no stdin data received in 3s" warning and a generic "failure" status, making it impossible to distinguish timeout from crash. +- 1a19c00: fix(core): prevent child process zombies by detaching and signalling process groups +- 3e359d0: refactor(core): extract emit result-parsing logic into parseCloseResult helper +- 1a3725d: fix(core): add deprecation warning for bare AgentDef step slot +- 5f32d49: Deduplicate build and prepare scripts. Set prepare to call pnpm build so future changes to the build process happen in one place. +- fb9b3b3: fix(cli): detect bun lockfile in detectPm +- c1f3175: docs(templates): fix coding manifest description to match actual workflow +- 8305898: docs: update coding template README to use commands sync instead of deprecated skills sync +- ceb0b72: docs: update spec-creator protocol docs to match current outputs +- 94a9684: fix: add "commands" to reserved commands for CLI routing +- ff6b646: docs: correct stale command and monorepo references in core README +- 6a2000b: Dedupe metrics printing in the CLI. Internal refactor that extracts a `printSummary` helper so the today/week/agent metrics commands share one formatter; output is unchanged. +- 2686c7b: Drop the `generata` ASCII banner and randomised tagline from the start of `generata agent` and `generata workflow` runs. The workflow start header (name, isolation, prompt log) is now the first thing printed. Removes the `logBanner` and `pickWorkflowTagline` exports from `@generata/core/logger`. +- a40de4d: refactor(core): extract template install defaults to shared utility +- df28c99: fix(core): treat timeout status same as failure in retry logic +- 5c8616e: fix: remove unreachable plan-move block that assumed code/ subdirectory +- acf2cfa: fix: extract executeWorkflow helpers to reduce function length +- 8ee8dc3: fix(core): remove placeholder name from factory-form agent error +- 274371d: fix: align fallback config defaults with GlobalConfig schema +- 7e609ea: docs: document filesystemAccess agent option +- ad8308f: fix: parse @ref suffix from git URLs in classifySpecifier +- 432df83: docs: add GlobalConfig field reference table +- d2d6bc5: fix(init): sync haiku model id to match runtime fallback +- 1ffc8b0: fix: show metrics subcommands in help instead of ellipsis +- edd4132: fix: update help text to reflect 'commands sync' as primary command +- 885fdc0: fix: scaffold "commands:sync" instead of deprecated "skills:sync" in init +- 6fabb5e: docs: fix metrics command example in README +- 4bd214e: fix: error handling for unknown metrics subcommands +- 6925905: fix: only emit params instruction for initiator planners +- 513d89d: Prevent shell injection in macOS notifications by using execFileSync instead of string interpolation. +- b37a6f8: refactor(core): remove plan_name auto-mapping from CLI +- a7c5edd: Fix preflight uses platform-specific command lookup. Use `where` on Windows and `which` on Unix-like systems to properly detect CLI tools on all platforms. +- 3d8d50d: fix(core): replace profane taglines with professional alternatives +- 53b5e3f: docs: document --profile flag in CLI help workflow section +- 74679ef: docs: document promptContext feature for injecting file context into agent prompts +- 72808cf: fix(core): prevent read-only agents from writing arbitrary files +- e98bdf4: fix(core): use absolute-path syntax for read-only emit permission so the agent's Write call actually matches +- 37d6d5b: docs: add outputs declaration to README defineAgent example +- aed48b3: fix: re-prompt required env variables until non-empty +- 108ad1d: fix: remove verboseOutput from scaffolded config +- 6acaa44: fix(cli): mask secret environment variable input during prompts +- c04e0ab: feat: include optional variables in slash-command argument hints +- 1f28af6: fix: add outputs declaration to standup-writer agent +- a54a105: fix: update starter README to reference 'commands sync' instead of deprecated 'skills sync' +- 437601d: fix(core): surface errors when resolveStepShape stepFn throws +- 8c86320: fix: remove orphaned isStructuralHalt protocol +- a1bf0e4: fix: make TemplateManifest schema strict to reject unknown keys +- 1ad51db: fix: remove unused profiles field from TemplateManifest +- 44618b5: Expand templates README with typed-output workflow example. Documents how typed outputs flow between workflow steps with full type safety. +- 23a035b: docs(templates): document installPaths defaults and merge behaviour +- 6ebd0a0: Skip .DS_Store files when copying templates during project initialization, preventing macOS metadata files from being included in user projects. +- 1491d60: fix: deduplicate base tools in buildAllowedTools +- 68488b0: refactor(core): unify workflow step shapes to stepFn-only form +- 35b0c1d: Upgrade tooling (TypeScript 6, zod 4, oxlint/oxfmt) and skip template scan during `generata init` when the template's `node_modules` is missing. Avoids confusing import errors during first-run scaffolding before deps are installed. +- 508f072: fix(core): validate all required workflow params in --all mode +- ec7b526: docs: clarify workflow layout convention and starter template usage +- d0bfe3f: fix: merge workflow.variables defaults into stepFn params +- 1d9a076: `setupWorktree`'s cleanup now probes the throwaway branch with `git rev-parse --verify` before issuing `git branch -D`. Skipping the delete when the branch is gone keeps cleanup quiet for callers (e.g. shippers) that have renamed the worktree branch to a semantic name and pushed it. +- 832770f: fix(cli): add worktree to reserved commands for proper routing +- a59ee2f: `setupWorktree` no longer wraps `git fetch`, `git worktree add`, and the install command in animated spinners. Each step now prints a plain `→ worktree: ...` line instead. The spinners often appeared frozen on fast operations because the work completed before the animation could cycle, and the cursor blinking on top of the braille frames read as buggy. + ## 1.2.0 ### Minor Changes @@ -15,6 +118,7 @@ - 372554b: Show isolation mode (`local` or `worktree: `) in the workflow start header so the run environment is visible at a glance and the worktree location is discoverable. Adds an optional `isolation` parameter to `logWorkflowStart` and exports a new `WorkflowIsolation` type. - 45d9593: Add `showPricing` config option (default `false`). When off, runtime logs and notifications hide USD costs and show token counts instead. The `generata metrics` subcommand still surfaces cost as before. Set `showPricing: true` in `defineConfig` to restore the previous behaviour. - d24a3b1: Typed outputs, first-class halts, and surgical bin permissions. + - New `outputs: Record` field on agents (key → LLM-facing description). Engine wires a per-agent emit bin with surgical `Bash(:*)` permission, parses the captured values, and merges them into the runtime params bag. Chain builder threads the literal output keys through `TBaseParams` so downstream stepFns destructure them with full type-safety. - First-class halts: agents call `--halt ""` via the emit bin to stop the workflow cleanly (no metric failure, downstream steps skipped, `haltReason` set). Replaces text-sentinel patterns (`STATUS: halt`, `NO_ITEMS`, etc.). - Factory-form `onReject`: `StepOptions.onReject` accepts a typed stepFn `(params) => StepInvocation` with the same contextual typing as `.step()`. Wrap factories in a stepFn to use them as rejection handlers. @@ -66,6 +170,7 @@ - Coding template manifest: dropped `WORKDIR` from `requiredEnv` (the working directory is now set in `generata.config.ts`, no longer prompted as an env var). Tidied bin hints and rewrote `postInstall` to match the current init flow. - Coding README: updated the env table and added a note about configuring `workdir` in `generata.config.ts`. - d0792d8: `@generata/coding` template overhaul: replaced the 13-agent / 4-workflow pipeline with a single spec-driven `build-project` workflow built from 8 flat agents. + - New flow: `dream` (spec-creator) -> `plan` (plan-creator) -> `audit` (plan-reviewer, retries plan up to 2x with feedback) -> `execute` (code-writer) -> `verify` (code-reviewer, archives the project on reject) -> `readme` -> `tidy` (plucks the used idea from NOTES.md). - Each project is self-contained under `projects//` with `SPEC.md`, `PLAN.md`, `README.md`, and code as siblings. The legacy `code/` subdir convention is gone. - Reject path archives the failed project to `projects/_archive//` with a generated `REASON.md`. @@ -81,6 +186,7 @@ - 184d89f: `generata init` now writes a default `generata.config.ts` if one doesn't already exist in the destination. Previously, init scaffolded `agents/`, `package.json`, `.env`, and slash commands but no anchor file, so subsequent commands like `generata help workflows` would fail with "No generata.config.ts found". The default config sets sensible Claude model tiers and points `workdir` at the destination directory; users can edit it freely. Existing config files are preserved. - 0bd93ab: Make `workDir` optional in `defineConfig`. `loadConfig` now back-fills it from the directory containing `generata.config.ts`, so user configs no longer need to repeat the path. - 70d6533: Added two new catalog templates alongside `@generata/coding`: + - **`@generata/starter`** - bare-minimum scaffold (one worker agent, one workflow). Designed to be edited or thrown away as users build their own pipeline. Good for learning the model without inheriting a use case. - **`@generata/standup`** - daily standup generator. Reads yesterday's git activity and drafts a 3-section update (yesterday / today / blockers). Two agents demonstrating two-step composition. diff --git a/packages/core/package.json b/packages/core/package.json index a6f1754..58536c0 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@generata/core", - "version": "1.2.0", + "version": "1.3.0", "description": "Composable multi-agent pipelines on top of the Claude Code CLI.", "keywords": [ "agents", diff --git a/packages/serve/CHANGELOG.md b/packages/serve/CHANGELOG.md new file mode 100644 index 0000000..f2e62e3 --- /dev/null +++ b/packages/serve/CHANGELOG.md @@ -0,0 +1,84 @@ +# @generata/serve + +## 0.2.0 + +### Minor Changes + +- 2524d75: Initial release. HTTP server for Generata workflow handlers: auto-discovers user-authored scripts under `serve/`, mounts each at `POST /`, runs them in-process with Bearer auth, 202+status-URL async lifecycle via `runAsync`, and disk-persisted run state. v1 targets solo-dev / single-user automation; webhook signature verifiers and SSE deferred to a future release. + +### Patch Changes + +- 35b0c1d: Upgrade tooling (TypeScript 6, zod 4, oxlint/oxfmt) and skip template scan during `generata init` when the template's `node_modules` is missing. Avoids confusing import errors during first-run scaffolding before deps are installed. +- Updated dependencies [5613d29] +- Updated dependencies [1a19c00] +- Updated dependencies [3e359d0] +- Updated dependencies [1a3725d] +- Updated dependencies [5f32d49] +- Updated dependencies [fb9b3b3] +- Updated dependencies [16aeb16] +- Updated dependencies [c1f3175] +- Updated dependencies [8305898] +- Updated dependencies [ceb0b72] +- Updated dependencies [94a9684] +- Updated dependencies [9a3a2e2] +- Updated dependencies [ff6b646] +- Updated dependencies [6a2000b] +- Updated dependencies [2686c7b] +- Updated dependencies [a40de4d] +- Updated dependencies [df28c99] +- Updated dependencies [5c8616e] +- Updated dependencies [acf2cfa] +- Updated dependencies [2524d75] +- Updated dependencies [8ee8dc3] +- Updated dependencies [d17256b] +- Updated dependencies [274371d] +- Updated dependencies [7e609ea] +- Updated dependencies [ad8308f] +- Updated dependencies [432df83] +- Updated dependencies [d2d6bc5] +- Updated dependencies [1ffc8b0] +- Updated dependencies [edd4132] +- Updated dependencies [885fdc0] +- Updated dependencies [6fabb5e] +- Updated dependencies [4bd214e] +- Updated dependencies [6925905] +- Updated dependencies [513d89d] +- Updated dependencies [b37a6f8] +- Updated dependencies [a7c5edd] +- Updated dependencies [3d8d50d] +- Updated dependencies [53b5e3f] +- Updated dependencies [66b0511] +- Updated dependencies [18264a7] +- Updated dependencies [74679ef] +- Updated dependencies [be78f7a] +- Updated dependencies [72808cf] +- Updated dependencies [e98bdf4] +- Updated dependencies [37d6d5b] +- Updated dependencies [c6ac72f] +- Updated dependencies [aed48b3] +- Updated dependencies [108ad1d] +- Updated dependencies [6acaa44] +- Updated dependencies [ddab78e] +- Updated dependencies [c04e0ab] +- Updated dependencies [b38d4c9] +- Updated dependencies [1f28af6] +- Updated dependencies [a54a105] +- Updated dependencies [437601d] +- Updated dependencies [8c86320] +- Updated dependencies [a1bf0e4] +- Updated dependencies [1ad51db] +- Updated dependencies [44618b5] +- Updated dependencies [23a035b] +- Updated dependencies [6ebd0a0] +- Updated dependencies [1491d60] +- Updated dependencies [68488b0] +- Updated dependencies [35b0c1d] +- Updated dependencies [508f072] +- Updated dependencies [ec7b526] +- Updated dependencies [d0bfe3f] +- Updated dependencies [27e4f47] +- Updated dependencies [1d9a076] +- Updated dependencies [b9d8165] +- Updated dependencies [832770f] +- Updated dependencies [a59ee2f] + - @generata/core@1.3.0 diff --git a/packages/serve/package.json b/packages/serve/package.json index 6f918c8..5eaaffe 100644 --- a/packages/serve/package.json +++ b/packages/serve/package.json @@ -1,6 +1,6 @@ { "name": "@generata/serve", - "version": "0.1.0", + "version": "0.2.0", "description": "HTTP server for Generata workflow handlers - auto-discovers user scripts and runs them with Bearer auth and disk-persisted run state.", "keywords": [ "ai-agents",