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
7 changes: 4 additions & 3 deletions packages/webapp.core/tests/web-app-module-server.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,10 @@ describe("newWebAppModuleServer", () => {

expect(response.status).toBe(200);
const body = await response.text();
// The bare `tiny` import was rewritten to a same-origin URL under `/deps/`, pinned
// to the locked version — no CDN, no bare specifier.
expect(body).toContain("deps/tiny@1.0.0/index.js");
// The bare `tiny` import was rewritten to a same-origin `~deps` proxy module (the ~deps
// proxy layer) — no CDN, no bare specifier. The proxy pins the locked `deps/tiny@1.0.0`
// version (verified directly in @statewalker/webrun-modules' own suite).
expect(body).toContain("~deps/main.ts/deps.tiny.js");
expect(body).not.toContain("http");
expect(body).not.toContain('from "tiny"');
});
Expand Down
2 changes: 1 addition & 1 deletion packages/wiki.core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ Flags: `--format <none|json|yaml>` (data channel; default `json`), `--log-level

### Dependencies

- `@statewalker/workspace.core` — the `Workspace`/`Project`/`Resource` model, `ResourceAdapter`/`ProjectAdapter`, and the `ProjectBuilder` signal-driven build engine the whole pipeline rides on.
- `@statewalker/workspace.core` — the `Workspace`/`Project`/`Resource` model, `ResourceAdapter`/`ProjectAdapter`, and the `ProjectBuilder` build adapter (a `BuildEngine<Project>` from `@statewalker/webrun-builder`) the whole pipeline rides on.
- `@statewalker/content-extractors` — mime-aware text extraction registry (`createDefaultRegistry`) behind `ContentAdapter`.
- `@statewalker/indexer-api` / `-fulltext` / `-vector` / `-mem-flexsearch` — the FTS + vector index abstractions and the in-memory FlexSearch backend behind `SearchAdapter`.
- `@statewalker/fsm` (+ `-validator` in dev) — the query retrieval state machine.
Expand Down
1 change: 0 additions & 1 deletion packages/wiki.core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"@statewalker/indexer-fulltext": "catalog:",
"@statewalker/indexer-mem-flexsearch": "catalog:",
"@statewalker/indexer-vector": "catalog:",
"@statewalker/shared-dataflow": "catalog:",
"@statewalker/shared-logger": "catalog:",
"@statewalker/webrun-files": "catalog:",
"@uwdata/flechette": "catalog:",
Expand Down
7 changes: 5 additions & 2 deletions packages/workspace.core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ hierarchy (the consolidation of `@statewalker/resources-workspace`):
> **Transitional:** `@statewalker/resources-workspace` and
> `@statewalker/resources-wiki` still exist and build unchanged; the wiki
> migration onto this model and the deletion of `resources-workspace` are a
> follow-up step. `ProjectBuilder` (the signal-driven build engine + `BuilderProvider`
> "nature") is being ported here next.
> follow-up step. The signal-driven build engine now lives in
> `@statewalker/webrun-builder` as `BuildEngine<THost>`; this package provides the
> `ProjectBuilder` Project-bound adapter (`extends BuildEngine<Project>`) plus the
> `BuilderProvider` "nature", re-exported from `./builders` and resolved via
> `project.requireAdapter(ProjectBuilder)`.

## What it exports

Expand Down
3 changes: 2 additions & 1 deletion packages/workspace.core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@
"@statewalker/shared-adapters": "catalog:",
"@statewalker/shared-baseclass": "catalog:",
"@statewalker/shared-commands": "catalog:",
"@statewalker/shared-dataflow": "catalog:",
"@statewalker/shared-logger": "catalog:",
"@statewalker/webrun-builder": "workspace:*",
"@statewalker/webrun-dataflow": "workspace:*",
"@statewalker/webrun-files": "catalog:",
"@statewalker/webrun-files-composite": "catalog:"
},
Expand Down
16 changes: 12 additions & 4 deletions packages/workspace.core/src/public/builders/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
// Re-export the generic engine surface (values + host-agnostic types)…
export * from "@statewalker/webrun-builder";
// …then explicitly re-export the Project-bound builder-type aliases. Explicit named
// exports shadow the star-exported generic names, so consumers keep their
// unparameterized `RegisteredBuilder` / `BuilderProvider` / `BuilderHandler` usage
// bound to `Project`.
export type { BuilderHandler, BuilderProvider, RegisteredBuilder } from "./types.js";
// The engine's structural `Logger` / `NULL_LOGGER` collide with workspace.core's own
// (from `@statewalker/shared-logger`). Explicitly re-export the canonical ones so the
// package root keeps a single, unambiguous `Logger` — the engine only needs a logger
// injected, it never asks consumers to import its structural interface.
export { type Logger, NULL_LOGGER } from "../types/logger.js";
export * from "./nature.js";
export * from "./project-builder.js";
export * from "./project-ignore.js";
export * from "./project-watcher.js";
export * from "./transaction-store.js";
export * from "./types.js";
export * from "./updates-store.js";
31 changes: 0 additions & 31 deletions packages/workspace.core/src/public/builders/json-io.test.ts

This file was deleted.

38 changes: 0 additions & 38 deletions packages/workspace.core/src/public/builders/json-io.ts

This file was deleted.

Loading
Loading