Commit Graph

41 Commits

Author SHA1 Message Date
Peter Pistorius 2820b5a09f fix: remove test script from ts-runner to unblock release workflow (#180)
The ts-runner package had a "test": "vitest run" script but no test
files. Vitest exits with code 1 when it finds nothing to run, which
has been failing the Release workflow since the package was added,
preventing changesets/action from creating release PRs.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 10:49:00 +02:00
Peter Pistorius ba84b69b96 feat: add ts-runner package scaffold and research docs (#141)
Introduces the packages/ts-runner package skeleton with build config,
planning docs (PLAN.md, SPEC.md), and a research document exploring
RivetKit Agent OS integration. No runtime code yet — this sets up the
foundation for subsequent PRs.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 12:25:21 +02:00
Peter Pistorius be06e223d1 feat(website): add blog section with first post (#113)
* feat(website): add blog section with first post

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* feat(website): integrate blog section with routing and styles

* Add lock file.

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-05 08:51:14 +02:00
Peter Pistorius 6ea8a21e2e Fix website. 2026-03-27 23:29:09 +11:00
Peter Pistorius bf5ff183b4 Move website. 2026-03-27 20:05:24 +11:00
dependabot[bot] 571f8ebe71 chore(deps): bump flatted in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [flatted](https://github.com/WebReflection/flatted).


Updates `flatted` from 3.4.1 to 3.4.2
- [Commits](https://github.com/WebReflection/flatted/compare/v3.4.1...v3.4.2)

---
updated-dependencies:
- dependency-name: flatted
  dependency-version: 3.4.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-26 14:26:15 +00:00
Peter Pistorius 206f712456 Merge pull request #66 from redwoodjs/fix/remove-execa-dep
fix(dtu): replace execa with node:child_process
2026-03-18 08:16:08 +13:00
Peter Pistorius 6233723198 fix(dtu): replace execa with node:child_process
execa was in devDependencies but imported in production code,
causing ERR_MODULE_NOT_FOUND when running via npx. Replaced with
Node's built-in child_process.exec and removed execa entirely.
2026-03-18 08:14:43 +13:00
dependabot[bot] 682829fbb4 chore(deps): bump flatted from 3.3.4 to 3.4.1 in the npm_and_yarn group across 1 directory
Dependabot couldn't find the original pull request head commit, f5e2b3d218a7e704cc378f9aae902dc339f96216.
2026-03-16 05:21:31 +00:00
Peter Pistorius 1ad079b338 chore: remove derive package and clean up references 2026-03-16 10:41:20 +13:00
Peter Pistorius c8dd79f478 chore: move cli and dtu-github-actions into packages/ 2026-03-13 00:07:29 +02:00
Peter Pistorius 3a93aaeb16 Update deps. 2026-03-10 13:43:18 +02:00
Peter Pistorius 0b0573b50f fix(cli): correct step numbering, show runner name, fix layout shift
- Skip 'Complete job' in main loop; add it last with correct number
- Show 'Post Setup' and 'Complete job' only after job finishes
- Display runner name (containerName) in boot spinner and tree
- Remove elapsed timer from workflow root label
- Use renderTree() for boot spinner to prevent layout shift
- Add 1-space left padding to tree renderer output
- Update tree-renderer tests for new padding
2026-03-09 22:53:07 +02:00
Peter Pistorius 9dff4b1955 feat: add retry-proof experiment
Minimal vitest test that reads a fixture file and asserts its value,
designed to validate the pause-on-failure retry mechanism end-to-end.

- .github/workflows/retry-proof.yml
- experiments/retry-proof/ (package, test, fixture)
- Added retry-proof to pnpm workspace
2026-03-09 16:09:51 +02:00
justinvdm 76f0957bef Rename the project to match the new name. 2026-03-09 01:06:01 +02:00
Peter Pistorius d2f83ac215 Removing UI. 2026-03-07 20:59:08 +02:00
Peter Pistorius 9c3608bbc4 Cleanup CLI output. 2026-03-07 18:21:00 +02:00
Peter Pistorius 3cf520033f Cleanup. 2026-03-07 07:46:16 +02:00
Peter Pistorius 07eee7403f fix: exclude ui from typecheck, fix formatting
- Switch typecheck from 'pnpm -r exec tsgo' to 'pnpm -r run typecheck'
  to skip ui package (electrobun ships .ts source with type errors)
- Add typecheck script to cli/package.json
- Fix formatting in cli/src/cli.ts
2026-03-07 00:43:50 +02:00
Peter Pistorius baabf8e0df Rename supervisor to cli. 2026-03-06 22:57:53 +02:00
justinvdm f4eb46d1c3 Implement fake claude binary for deterministic gherkin output. 2026-03-05 23:58:37 +02:00
Peter Pistorius f5d90dee2e feat(supervisor): scope run state to per-repo .machinen/runs/ directory
Each repository now maintains its own isolated run history under
<repo>/.machinen/runs/ instead of the shared global working directory.

run-store.ts:
- getRunsForCommit(): scans <repo>/.machinen/runs/ for machinen-* dirs;
  reads metadata from runs/<name>/logs/metadata.json
- getRecentRuns(): iterates each registered repo's own .machinen/runs/
  instead of the shared logsDir
- getRunDetail() / getRunStats() / getStatsHistory(): resolve runDir via
  resolveRunDir() which checks each repo's .machinen/runs/
- resolveRunDir(): new helper to locate a runId across all known repos
- getRunsDirForRepo(): returns <repo>/.machinen/runs/

runner.ts:
- Uses runDir (co-located runs/<name>/) for work/, shims/, diag/
- Docker network renamed from oa-net-* to machinen-net-*
- Runner container named machinen-<n> instead of oa-runner-<n>

local-job.ts:
- Cleanup now removes the entire runDir on success (single rm)
- On failure, retains runDir so work/, shims/, diag/, logs/ are all
  available for inspection

service-containers.ts / .test.ts: minor reference updates
2026-03-05 18:27:53 +02:00
justinvdm f23ea69308 Update .../justin/worklogs/2026-03-03-machinen-setup.md | and 10 other file(s) 2026-03-03 17:04:25 +02:00
Peter Pistorius fc28e71311 Add secrets. 2026-03-03 12:11:44 +02:00
Peter Pistorius b8e5bd2039 Headless refactor. 2026-02-28 22:08:14 +02:00
Peter Pistorius 9077a7ac85 Add ansi colors. 2026-02-25 19:46:20 +02:00
Peter Pistorius 61c837009e Fix chance. 2026-02-25 16:40:46 +02:00
Peter Pistorius bd4c72bfa7 Fix commit hook. 2026-02-24 18:43:43 +02:00
Peter Pistorius 681f5cf348 Fix workflow. 2026-02-24 18:22:43 +02:00
Peter Pistorius b3815fec4a Handle configs properly. 2026-02-24 14:30:31 +02:00
Peter Pistorius 252a05337c feat: Implement initial Electrobun desktop UI with core components and configuration. 2026-02-21 11:58:35 +02:00
Peter Pistorius c763c304df Rename runner to supervisor. 2026-02-20 11:17:49 +02:00
Peter Pistorius cb19daddbb Refactor DTU to be more maintainable. 2026-02-20 09:52:28 +02:00
Peter Pistorius aaf6572f6b Add pre-commit hook using husky and ensure lint fails on warnings 2026-02-19 19:13:34 +02:00
Peter Pistorius 1bc7b6321e feat: Introduce broad updates across SDK, runner components, and build infrastructure, including new git configuration and documentation. 2026-02-19 18:28:06 +02:00
Peter Pistorius b9dcaa76ac Re-introduce rigor. 2026-02-19 18:12:20 +02:00
Peter Pistorius 3f240542b0 feat: Update various SDK components including Web API contracts, expression engines, workflow parsing, and runner infrastructure. 2026-02-18 20:49:36 +02:00
Peter Pistorius 7462b18b79 Update runner core components, SDKs, tests, documentation, and configuration files. 2026-02-18 16:55:26 +02:00
Peter Pistorius 9a7e24a53b feat: Add GitHub App installation and runner registration mocks to DTU server with tests and CI. 2026-02-14 22:35:25 +02:00
Peter Pistorius 48b339f642 feat: Orchestrate local development with concurrently and wait-on, updating service ports and streamlining DTU scripts. 2026-02-11 11:48:28 +02:00
Peter Pistorius 19dacf5ca9 feat: Initialize pnpm monorepo with workspace configuration, package.json, and .env.example, while removing a placeholder workflow. 2026-02-10 22:00:56 +02:00