Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .codex/environments/environment.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version = 1
name = "ClawHub"

[setup]
script = "bun run setup:worktree -- --quiet && bun scripts/dev-worktree.ts --detach"
script = "bun run setup:worktree -- --quiet && bun run --cwd packages/schema build && bun scripts/dev-worktree.ts --detach"

[[actions]]
name = "Run"
Expand All @@ -13,7 +13,7 @@ command = "bun run dev:worktree"
[[actions]]
name = "Convex Dev"
icon = "tool"
command = "bun run setup:worktree -- --quiet && bunx convex dev --typecheck=disable"
command = "bun run setup:worktree -- --quiet && bun run --cwd packages/schema build && bunx convex dev --typecheck=disable"

[[actions]]
name = "Seed Dev DB"
Expand Down
3 changes: 3 additions & 0 deletions .config/wt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ env = "wt step copy-ignored || true; bun run setup:worktree -- --quiet --force -
[[pre-start]]
deps = "test -x node_modules/.bin/vite || bun install"

[[pre-start]]
schema = "bun run --cwd packages/schema build"

[post-start]
dev = "bun scripts/dev-worktree.ts --detach --seed --port {{ (repo ~ '-' ~ branch) | hash_port }}"

Expand Down
6 changes: 0 additions & 6 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,6 @@
/packages/schema/src/routes.ts @openclaw/openclaw-secops @Patrick-Erichsen
/packages/schema/src/schemas.ts @openclaw/openclaw-secops @Patrick-Erichsen
/packages/schema/src/textFiles.ts @openclaw/openclaw-secops @Patrick-Erichsen
/packages/schema/dist/index.d.ts @openclaw/openclaw-secops @Patrick-Erichsen
/packages/schema/dist/index.js @openclaw/openclaw-secops @Patrick-Erichsen
/packages/schema/dist/index.js.map @openclaw/openclaw-secops @Patrick-Erichsen
/packages/schema/dist/pluginCategories.d.ts @openclaw/openclaw-secops @Patrick-Erichsen
/packages/schema/dist/pluginCategories.js @openclaw/openclaw-secops @Patrick-Erichsen
/packages/schema/dist/pluginCategories.js.map @openclaw/openclaw-secops @Patrick-Erichsen

# Security, auth, API, webhook, and deployment documentation.
/docs/acceptable-usage.md @openclaw/openclaw-secops @Patrick-Erichsen
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ node_modules
bin/docs-list
dist
dist-ssr
!packages/schema/dist
!packages/schema/dist/**
*.local
.vercel
count.txt
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@

- CI: batch main CodeQL scans every six hours while preserving PR and manual scans; include local composite actions and attribute-only PR changes.

- Tooling: generate schema build output during workspace install and Worktrunk setup instead of tracking compiled files; installs that skip scripts must build the schema package before use.

## 0.25.1 - 2026-11-03

### Fixes
Expand Down
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ bun install
cp .env.local.example .env.local
```

The root install builds the ignored schema output in `packages/schema/dist`. Install
with development dependencies before running the app, Convex, workers, or checks.
After editing schema sources, or when reusing copied dependencies or installing
with `--ignore-scripts`, run `bun run --cwd packages/schema build` first.
Do not commit generated schema files.

Edit `.env.local` with the following values for **local Convex**:

```bash
Expand Down
4 changes: 2 additions & 2 deletions convex/packages.public.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14447,12 +14447,12 @@ describe("packages public queries", () => {
})
.mockResolvedValueOnce(null),
runMutation,
runAction: vi.fn(async function (this: PublishScanStorage, ref: unknown, args: unknown) {
runAction: vi.fn(async (ref: unknown, args: unknown) => {
const name = getFunctionName(ref as FunctionReference<"action">);
if (name === "packageInspectorNode:runPackageInspectorForPublishInternal") {
return await inspectorRunAction(ref, args);
}
return await makePublishRunActionMock().call(this, ref, args);
return await makePublishRunActionMock()();
}),
scheduler: { runAfter: vi.fn() },
storage: {
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"lint:oxlint": "oxlint --type-aware --tsconfig ./tsconfig.oxlint.json ./src ./convex ./packages/clawhub/src ./packages/clawhub-admin/src ./packages/schema/src",
"llms:check": "bun scripts/generate-llms-txt.ts --check",
"llms:generate": "bun scripts/generate-llms-txt.ts",
"postinstall": "bun run --cwd packages/schema build",
"preinstall": "bunx --bun only-allow@1.2.2 bun",
"preview": "bun --bun vite preview",
"proof:ui": "node scripts/ui-proof.mjs",
Expand All @@ -64,8 +65,8 @@
"search:prove-test": "bun scripts/canonical-search/prove-test.ts",
"security:codex-worker": "bun scripts/security/run-codex-scan-worker.ts",
"seed": "bun scripts/seed.ts",
"seed:dev": "bun run setup:worktree -- --quiet && bun scripts/dev-worktree.ts --seed-only",
"seed:public-corpus": "bun run setup:worktree -- --quiet && bunx convex dev --once --typecheck=disable && bun scripts/public-corpus/seed-public-corpus.ts",
"seed:dev": "bun run setup:worktree -- --quiet && bun run --cwd packages/schema build && bun scripts/dev-worktree.ts --seed-only",
"seed:public-corpus": "bun run setup:worktree -- --quiet && bun run --cwd packages/schema build && bunx convex dev --once --typecheck=disable && bun scripts/public-corpus/seed-public-corpus.ts",
"seed:test": "bun scripts/seed-test.ts",
"seed:test:import-snapshot": "bun scripts/staging-seed/import-test-snapshot.ts",
"seed:test:ranking-export": "bun scripts/ranking-metrics/export-prod-ranking-metrics.ts",
Expand Down
4 changes: 0 additions & 4 deletions packages/schema/dist/ark.d.ts

This file was deleted.

26 changes: 0 additions & 26 deletions packages/schema/dist/ark.js

This file was deleted.

1 change: 0 additions & 1 deletion packages/schema/dist/ark.js.map

This file was deleted.

222 changes: 0 additions & 222 deletions packages/schema/dist/catalogFeed.d.ts

This file was deleted.

Loading
Loading