Skip to content

fix: workspace + dep-manager + dts build fixes#1509

Open
abcxff wants to merge 3 commits into
mainfrom
macos-support
Open

fix: workspace + dep-manager + dts build fixes#1509
abcxff wants to merge 3 commits into
mainfrom
macos-support

Conversation

@abcxff

@abcxff abcxff commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Three independent fixes needed to install and build the workspace cleanly. (Surfaced while getting the native stack building on macOS, but all platform-independent.)

Changes

  • pnpm-workspace.yaml — add packages/agentos to the workspace globs. The @rivet-dev/agentos package was added but never registered, so workspace:* consumers (e.g. examples/agentos-typecheck) failed to resolve it and pnpm install errored.
  • scripts/secure-exec-dep.mjs — the dep-name regexes still matched the pre-rename @agent-os-pkgs scope, so the tool silently skipped every @agentos-software/* package in both local and pinned modes. Updated to the current scope.
  • packages/agentos/src/mod.tstsup dts rollup failed with TS4023 because the events map's inferred type referenced RivetKit's internal EventTypeToken. Annotate through the exported Type<T> alias, which preserves per-event payload inference while keeping the emitted type nameable.

Notes

These are the install/build blockers only; the macOS native work lives in the companion secure-exec PR. The agent-os ↔ secure-exec TS version skew (tool→binding) is tracked separately and not addressed here.

🤖 Generated with Claude Code

abcxff and others added 2 commits June 22, 2026 18:30
Three independent fixes needed to install/build the workspace cleanly:

- pnpm-workspace.yaml: add packages/agentos to the workspace globs. The
  @rivet-dev/agentos package was added but never registered, so
  workspace:* consumers (e.g. the typecheck example) failed to resolve it.
- scripts/secure-exec-dep.mjs: the dep-name regexes still matched the
  pre-rename @agent-os-pkgs scope, so the tool silently skipped every
  @agentos-software/* package in both `local` and `pinned` modes. Match the
  current scope.
- packages/agentos/src/mod.ts: tsup dts rollup failed (TS4023) because the
  events map's inferred type referenced RivetKit's internal EventTypeToken.
  Annotate through the exported `Type<T>` alias, preserving per-event payload
  inference while keeping the type nameable.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@railway-app railway-app Bot temporarily deployed to agentos / agentos-pr-1509 June 22, 2026 20:27 Destroyed
@railway-app railway-app Bot temporarily deployed to rivet-frontend / agentos-pr-1509 June 22, 2026 20:27 Destroyed
@railway-app

railway-app Bot commented Jun 22, 2026

Copy link
Copy Markdown

🚅 Deployed to the agentos-pr-1509 environment in agentos

Service Status Web Updated (UTC)
agentos 😴 Sleeping (View Logs) Web Jun 22, 2026 at 9:07 pm

🚅 Deployed to the agentos-pr-1509 environment in rivet-frontend

Service Status Web Updated (UTC)
agent-os 😴 Sleeping (View Logs) Jun 22, 2026 at 9:05 pm

NathanFlurry added a commit that referenced this pull request Jun 23, 2026
Plus: fold in the dts build fix (from #1509): annotate agentOSEvents via
rivetkit's exported Type<T> instead of the internal EventTypeToken (TS4023 in
the tsup dts rollup), unblocking the npm publish.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant