@plumbus/core 0.6.8 → 0.6.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/README.md +1 -11
- package/dist/.tsbuildinfo +1 -1
- package/dist/ai/provider.d.ts.map +1 -1
- package/dist/ai/provider.js +19 -2
- package/dist/ai/provider.js.map +1 -1
- package/dist/ai/types/enums.d.ts +1 -0
- package/dist/api/authentication-http.d.ts +17 -0
- package/dist/api/authentication-http.d.ts.map +1 -0
- package/dist/api/authentication-http.js +51 -0
- package/dist/api/authentication-http.js.map +1 -0
- package/dist/api/cookies.d.ts +2 -0
- package/dist/api/cookies.d.ts.map +1 -0
- package/dist/api/cookies.js +29 -0
- package/dist/api/cookies.js.map +1 -0
- package/dist/api/index.d.ts +2 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +2 -0
- package/dist/api/index.js.map +1 -1
- package/dist/api/route-generator.d.ts +3 -0
- package/dist/api/route-generator.d.ts.map +1 -1
- package/dist/api/route-generator.js +107 -19
- package/dist/api/route-generator.js.map +1 -1
- package/dist/audit/index.d.ts +1 -0
- package/dist/audit/index.d.ts.map +1 -1
- package/dist/audit/index.js +1 -0
- package/dist/audit/index.js.map +1 -1
- package/dist/audit/service.d.ts +2 -1
- package/dist/audit/service.d.ts.map +1 -1
- package/dist/audit/service.js +7 -6
- package/dist/audit/service.js.map +1 -1
- package/dist/audit/writer.d.ts +4 -0
- package/dist/audit/writer.d.ts.map +1 -0
- package/dist/audit/writer.js +17 -0
- package/dist/audit/writer.js.map +1 -0
- package/dist/auth/http-authentication.d.ts +33 -0
- package/dist/auth/http-authentication.d.ts.map +1 -0
- package/dist/auth/http-authentication.js +37 -0
- package/dist/auth/http-authentication.js.map +1 -0
- package/dist/auth/index.d.ts +2 -0
- package/dist/auth/index.d.ts.map +1 -1
- package/dist/auth/index.js +1 -0
- package/dist/auth/index.js.map +1 -1
- package/dist/cli/commands/init.d.ts +1 -1
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +64 -2
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/migrate.js +3 -3
- package/dist/cli/commands/migrate.js.map +1 -1
- package/dist/cli/commands/ui.d.ts +5 -0
- package/dist/cli/commands/ui.d.ts.map +1 -1
- package/dist/cli/commands/ui.js +26 -3
- package/dist/cli/commands/ui.js.map +1 -1
- package/dist/cli/discover.d.ts +1 -0
- package/dist/cli/discover.d.ts.map +1 -1
- package/dist/cli/discover.js +34 -1
- package/dist/cli/discover.js.map +1 -1
- package/dist/config/duration.d.ts +4 -0
- package/dist/config/duration.d.ts.map +1 -0
- package/dist/config/duration.js +22 -0
- package/dist/config/duration.js.map +1 -0
- package/dist/config/index.d.ts +1 -0
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/index.js +1 -0
- package/dist/config/index.js.map +1 -1
- package/dist/config/loader.d.ts.map +1 -1
- package/dist/config/loader.js +6 -1
- package/dist/config/loader.js.map +1 -1
- package/dist/data/migration.d.ts +1 -1
- package/dist/data/migration.d.ts.map +1 -1
- package/dist/data/migration.js +31 -2
- package/dist/data/migration.js.map +1 -1
- package/dist/errors/http.d.ts.map +1 -1
- package/dist/errors/http.js +1 -0
- package/dist/errors/http.js.map +1 -1
- package/dist/errors/index.d.ts +3 -0
- package/dist/errors/index.d.ts.map +1 -1
- package/dist/errors/index.js +6 -0
- package/dist/errors/index.js.map +1 -1
- package/dist/flows/engine.d.ts.map +1 -1
- package/dist/flows/engine.js +2 -22
- package/dist/flows/engine.js.map +1 -1
- package/dist/index.d.ts +8 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/jobs/routes.d.ts +2 -0
- package/dist/jobs/routes.d.ts.map +1 -1
- package/dist/jobs/routes.js +36 -5
- package/dist/jobs/routes.js.map +1 -1
- package/dist/server/authentication-runtime.d.ts +14 -0
- package/dist/server/authentication-runtime.d.ts.map +1 -0
- package/dist/server/authentication-runtime.js +2 -0
- package/dist/server/authentication-runtime.js.map +1 -0
- package/dist/server/bootstrap.d.ts +3 -0
- package/dist/server/bootstrap.d.ts.map +1 -1
- package/dist/server/bootstrap.js +45 -14
- package/dist/server/bootstrap.js.map +1 -1
- package/dist/server/index.d.ts +1 -0
- package/dist/server/index.d.ts.map +1 -1
- package/dist/testing/e2e.d.ts +3 -0
- package/dist/testing/e2e.d.ts.map +1 -1
- package/dist/testing/e2e.js +1 -0
- package/dist/testing/e2e.js.map +1 -1
- package/dist/types/audit.d.ts +13 -0
- package/dist/types/audit.d.ts.map +1 -1
- package/dist/types/enums.d.ts +1 -0
- package/dist/types/enums.d.ts.map +1 -1
- package/dist/types/enums.js +1 -0
- package/dist/types/enums.js.map +1 -1
- package/dist/types/security.d.ts +2 -0
- package/dist/types/security.d.ts.map +1 -1
- package/instructions/peer-dependencies.md +4 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @plumbus/core changelog
|
|
2
2
|
|
|
3
|
+
## 0.6.10
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- **OpenAI `gpt-5.5+` temperature** — the OpenAI adapter no longer sends `temperature` for `gpt-5.5` and later models (including `-pro` and dated snapshots). Those models only accept the API default (`1`); sending Plumbus's `0.7` default (or any other value) caused HTTP 400 `unsupported_value`. Earlier `gpt-5` lines such as `gpt-5.4-mini` still receive the configured temperature. `max_completion_tokens` mapping for the broader `gpt-5*` / `o*` family is unchanged.
|
|
8
|
+
|
|
9
|
+
## 0.6.9
|
|
10
|
+
|
|
11
|
+
### Added (M5 — authentication contract)
|
|
12
|
+
|
|
13
|
+
- **Request-authentication contract** — `AuthenticationRequest`, `AuthenticationResult`, `RequestAuthenticator`, `wrapAuthAdapter`, and `createCompositeRequestAuthenticator` with bearer-over-cookie precedence.
|
|
14
|
+
- **`HttpAuthenticationRuntime`** — optional `createServer({ authenticationRuntime })` seam for session/OIDC packages.
|
|
15
|
+
- **`AuthContext.providerId`** — configured provider registration id for multi-provider mechanisms.
|
|
16
|
+
- **`AuditWriter`** — injectable audit sink with `createDatabaseAuditWriter`.
|
|
17
|
+
- **`parseCookieHeader` and `parseDurationToMs`** — shared HTTP cookie parsing and duration normalization utilities.
|
|
18
|
+
- **Migrate `app/schemas/` seam** — `discoverResources` collects extra Drizzle tables for migration generation.
|
|
19
|
+
- **`unauthorized` error code** — `UnauthorizedError` maps to HTTP 401.
|
|
20
|
+
|
|
21
|
+
### Added (M6 — auth packages, docs, agent wiring)
|
|
22
|
+
|
|
23
|
+
- **`@plumbus/auth` and `@plumbus/auth-cognito` publish steps** — CI publishes both packages after `@plumbus/core`.
|
|
24
|
+
- **`docs/auth/`** — full OIDC session runtime documentation (getting started, configuration, providers, CSRF, Cognito, security, testing, migration, deployment).
|
|
25
|
+
- **Consumer AI guidance includes auth** — `plumbus init` wires `@plumbus/auth/instructions/*` and `@plumbus/auth-cognito/instructions/*`. `AGENT_WIRING_VERSION` bumped to **9**. Run `plumbus init --patch` on existing projects.
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
- **`auth.secret` no longer required** when a custom `authAdapter` or `authenticationRuntime` is supplied (§22.4).
|
|
30
|
+
|
|
3
31
|
## 0.6.8
|
|
4
32
|
|
|
5
33
|
### Added
|
package/README.md
CHANGED
|
@@ -170,17 +170,7 @@ Full documentation: [github.com/plumbus-framework/plumbus/docs](https://github.c
|
|
|
170
170
|
|
|
171
171
|
## The Plumbus ecosystem
|
|
172
172
|
|
|
173
|
-
|
|
174
|
-
|---|---|---|
|
|
175
|
-
| **`@plumbus/core`** | **You are here.** Foundation — capabilities, entities, events, flows, prompts, translations, runtime, CLI, audit, governance. | Always (required). |
|
|
176
|
-
| [`@plumbus/ui`](../ui/) | Next.js/React UI — typed API clients, auth helpers, form metadata, scaffolds. | When building a Plumbus web UI. |
|
|
177
|
-
| [`@plumbus/api`](../api/) | Partner external API — manifest, OpenAPI, docs, compatibility diff, test intent. | Optional peer `0.1.x` — when publishing a documented partner-facing HTTP API. |
|
|
178
|
-
| [`@plumbus/mcp`](../mcp/) | MCP runtime — serve capabilities to AI agents (`tools/*`, `tasks/*`, transports). | Optional peer `0.5.x \|\| 0.6.x` — when exposing capabilities to MCP clients. |
|
|
179
|
-
| [`@plumbus/chat`](../chat/) | Conversational runtime — `defineChat`, policy guards, context sources, streamed events. | Optional peer `0.1.x` — when adding a chat surface. |
|
|
180
|
-
| [`@plumbus/chat-ui`](../chat-ui/) | React chat UI — hooks and `<ChatPanel />` for the `@plumbus/chat` turn protocol. | Peer of `@plumbus/chat` — when adding a browser chat client. |
|
|
181
|
-
| [`@plumbus/knowledge-base`](../knowledge-base/) | Knowledge providers — scoped sources, registry, chat `knowledgeContext` integration. | Optional peer of `@plumbus/chat` `0.1.x` — when sharing named knowledge across features. |
|
|
182
|
-
| [`@plumbus/voice`](../voice/) | Real-time voice runtime — `defineVoice`, STT/TTS/transport providers, session worker, cost ledger. | Optional peer `0.3.x` on `@plumbus/core` `0.6.x` — when adding speech I/O (not speech-to-speech); complements `@plumbus/chat` text surfaces. |
|
|
183
|
-
| [`@plumbus/browser-extension`](../browser-extension/) | Extension scaffolder — WXT Chrome/Firefox project wired to your capabilities. | With `@plumbus/ui` (`0.1.x`) — when shipping a browser extension UI. |
|
|
173
|
+
`@plumbus/core` is one package in the Plumbus framework. For the full list of packages and when to use each, see the [Plumbus monorepo README](https://github.com/plumbus-framework/plumbus#packages).
|
|
184
174
|
|
|
185
175
|
## License
|
|
186
176
|
|