fix: workspace + dep-manager + dts build fixes#1509
Open
abcxff wants to merge 3 commits into
Open
Conversation
… packages on macOS
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>
|
🚅 Deployed to the agentos-pr-1509 environment in agentos
🚅 Deployed to the agentos-pr-1509 environment in rivet-frontend
|
…te and regenerate lockfile
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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— addpackages/agentosto the workspace globs. The@rivet-dev/agentospackage was added but never registered, soworkspace:*consumers (e.g.examples/agentos-typecheck) failed to resolve it andpnpm installerrored.scripts/secure-exec-dep.mjs— the dep-name regexes still matched the pre-rename@agent-os-pkgsscope, so the tool silently skipped every@agentos-software/*package in bothlocalandpinnedmodes. Updated to the current scope.packages/agentos/src/mod.ts—tsupdts rollup failed with TS4023 because the events map's inferred type referenced RivetKit's internalEventTypeToken. Annotate through the exportedType<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