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
1 change: 0 additions & 1 deletion .changeset/bright-wolves-explain.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
"@triplex-build/triplex": minor
"@triplex-build/triplex-cli": minor
---

Expose raw transaction preview through the database subpath, sharing the client's constraint
Expand Down
3 changes: 1 addition & 2 deletions .changeset/calm-http-diagnostics.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
"@triplex-build/triplex-cli": minor
"@triplex-build/triplex-http": minor
"@triplex-build/triplex": minor
---

Replace CLI and HTTP failure bodies with stable core Diagnostic envelopes.
Expand Down
4 changes: 0 additions & 4 deletions .changeset/cheap-live-preconditions.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
---
"@triplex-build/triplex": minor
"@triplex-build/triplex-sql": minor
"@triplex-build/triplex-sqlite": patch
"@triplex-build/triplex-postgres": patch
"@triplex-build/triplex-testkit": minor
---

Add atomic `AttributeValue`, `AttributeAbsent`, and `EntityAbsent` transaction
Expand Down
2 changes: 1 addition & 1 deletion .changeset/cli-config-help.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@triplex-build/triplex-cli": patch
"@triplex-build/triplex": patch
---

Fix the `config` command description in CLI help, which read "Splunk configuration objects".
4 changes: 0 additions & 4 deletions .changeset/commit-validators.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
---
"@triplex-build/triplex": minor
"@triplex-build/triplex-sqlite": patch
"@triplex-build/triplex-postgres": patch
"@triplex-build/triplex-testkit": minor
"@triplex-build/triplex-http": patch
---

Add commit validators: host checks that run inside `Triples.transact` after operations and the
Expand Down
15 changes: 14 additions & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,18 @@
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
"ignore": [
"@triplex-internal/core",
"@triplex-build/triplex-sql",
"@triplex-build/triplex-sqlite",
"@triplex-build/triplex-postgres",
"@triplex-build/triplex-cloudflare",
"@triplex-build/triplex-foundationdb",
"@triplex-build/triplex-host",
"@triplex-build/triplex-http",
"@triplex-build/triplex-testkit",
"@triplex-build/triplex-cli",
"@triplex-build/triplex-mcp",
"@triplex-build/triplex-dashboard"
]
}
4 changes: 0 additions & 4 deletions .changeset/datalog-valid-intervals.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
---
"@triplex-build/triplex": minor
"@triplex-build/triplex-sql": minor
"@triplex-build/triplex-testkit": minor
"@triplex-build/triplex-sqlite": minor
"@triplex-build/triplex-postgres": minor
---

Add Datalog interval patterns (`{ pattern, valid: { from?, to? } }`) and query-wide
Expand Down
11 changes: 11 additions & 0 deletions .changeset/durable-derivation-runner.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@triplex-build/triplex": minor
---

Add the browser-safe `/runner` subpath for durable derivation diff handlers, acknowledged candidate
snapshots, Outbox recovery, bounded retries, scoped supervision and offline temporal boundary replay.
Publish the ordinary runner control schema, runner conformance helpers and a compliance host using
schema-bound commands. Add `KvTriples.layerWithClock` for deterministic commit/runner clock wiring.

Consumer checkpoints now read unretracted facts and write `validFrom: 0`, preserving durable
progress when the wall clock rolls backwards.
6 changes: 0 additions & 6 deletions .changeset/effect-foldkit-411.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
---
"@triplex-build/triplex": minor
"@triplex-build/triplex-sql": minor
"@triplex-build/triplex-sqlite": minor
"@triplex-build/triplex-postgres": minor
"@triplex-build/triplex-testkit": minor
"@triplex-build/triplex-cli": minor
"@triplex-build/triplex-http": minor
---

Require the tested Effect 4.1.1 peer and align the platform, SQL, and Vitest
Expand Down
6 changes: 0 additions & 6 deletions .changeset/effect-foldkit-stable.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
---
"@triplex-build/triplex": minor
"@triplex-build/triplex-sql": minor
"@triplex-build/triplex-sqlite": minor
"@triplex-build/triplex-postgres": minor
"@triplex-build/triplex-testkit": minor
"@triplex-build/triplex-cli": minor
"@triplex-build/triplex-http": minor
---

Require the tested Effect 4.0.3 peer version and migrate SQL, HTTP, HTTP API, CLI,
Expand Down
5 changes: 0 additions & 5 deletions .changeset/entity-prefix-transaction-feed.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
---
"@triplex-build/triplex": minor
"@triplex-build/triplex-sql": minor
"@triplex-build/triplex-sqlite": patch
"@triplex-build/triplex-postgres": patch
"@triplex-build/triplex-host": minor
"@triplex-build/triplex-testkit": minor
---

Add `entityIdPrefix` to `transactions({ after, limit })` and tenant-protocol
Expand Down
4 changes: 0 additions & 4 deletions .changeset/exact-position-reads.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
---
"@triplex-build/triplex": minor
"@triplex-build/triplex-sql": minor
"@triplex-build/triplex-postgres": patch
"@triplex-build/triplex-sqlite": patch
"@triplex-build/triplex-testkit": minor
---

Expose `recordedPosition` on the shared temporal read basis for entity, batch,
Expand Down
1 change: 0 additions & 1 deletion .changeset/explain-assertion-history.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
"@triplex-build/triplex": minor
"@triplex-build/triplex-testkit": minor
---

Add the `why` subpath with the `Why` service for exact-cut explanations of facts,
Expand Down
3 changes: 1 addition & 2 deletions .changeset/host-position-basis.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
"@triplex-build/triplex-host": patch
"@triplex-build/triplex-http": minor
"@triplex-build/triplex": minor
---

Preserve `recordedPosition` when forwarding tenant-protocol `Query` and `QueryPage`
Expand Down
4 changes: 0 additions & 4 deletions .changeset/indexed-live-facts.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
---
"@triplex-build/triplex": minor
"@triplex-build/triplex-sql": minor
"@triplex-build/triplex-sqlite": patch
"@triplex-build/triplex-postgres": patch
"@triplex-build/triplex-testkit": patch
---

Add `Triples.liveFacts(entityId)`, an indexed read of unretracted assertions across all valid time, and use it for command `tx.get` entity-state observations. Sensitive and commit-validation decorators preserve sealed values through this read. Existing KV stores require the existing `KvTriples.migrateLiveFacts` backfill.
Expand Down
2 changes: 1 addition & 1 deletion .changeset/live-query-async-corpus.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@triplex-build/triplex-testkit": patch
"@triplex-build/triplex": patch
---

Drive the live-query coalescing case's test clock until its pull completes so asynchronous backends can finish reading the head before scheduling the coalescing delay. Keep the existing coverage and result assertions unchanged.
1 change: 0 additions & 1 deletion .changeset/live-query-observations.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
"@triplex-build/triplex": minor
"@triplex-build/triplex-testkit": minor
---

Add the browser-safe `live-query` subpath with scoped `LiveQuery.watch`, complete exact-cut snapshots, resume tokens, deadline scheduling, optional coalescing and pull backpressure. Export a shared KV/SQLite/PostgreSQL observation corpus from testkit.
Expand Down
2 changes: 1 addition & 1 deletion .changeset/live-release-describe.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@triplex-build/triplex-cli": minor
"@triplex-build/triplex": minor
---

Read the selected database release in `describe`, defaulting to `live` with a `--ref` override.
Expand Down
3 changes: 1 addition & 2 deletions .changeset/narrow-backend-layer-outputs.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
"@triplex-build/triplex-sqlite": minor
"@triplex-build/triplex-postgres": minor
"@triplex-build/triplex": minor
---

Expose only the documented services from backend convenience layers. This is a breaking type and runtime change: SQLite's `layer`, `layerMemory`, and `layerMemoryWithScope`, and PostgreSQL's `layer` and `layerFromUrl`, now output only `Triples`. SQLite no longer exposes its SQL client, storage adapter, query executor, dialect, clock, or ID generator through these layers. PostgreSQL standalone layers no longer expose their SQL client or backend-specific client.
Expand Down
3 changes: 1 addition & 2 deletions .changeset/numeric-due-work-index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
"@triplex-build/triplex-sql": patch
"@triplex-build/triplex-testkit": patch
"@triplex-build/triplex": patch
---

Provision a shared numeric/datetime expression index through an additive SQL migration, enabling
Expand Down
25 changes: 25 additions & 0 deletions .changeset/one-triplex-package.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
"@triplex-build/triplex": minor
---

Consolidate all published APIs into one package. Install `@triplex-build/triplex effect`
and the driver for your backend. Replace imports as follows:

- `@triplex-build/triplex-sql` → `@triplex-build/triplex/sql`
- `@triplex-build/triplex-sqlite` → `@triplex-build/triplex/sqlite`
- `@triplex-build/triplex-postgres` → `@triplex-build/triplex/postgres`
- `@triplex-build/triplex-cloudflare` → `@triplex-build/triplex/cloudflare`
- `@triplex-build/triplex-foundationdb` → `@triplex-build/triplex/foundationdb`
- `@triplex-build/triplex-host` → `@triplex-build/triplex/host`
- `@triplex-build/triplex-http` → `@triplex-build/triplex/http`
- `@triplex-build/triplex-testkit` → `@triplex-build/triplex/testkit`
- `@triplex-build/triplex-testkit/postgres` → `@triplex-build/triplex/testkit/postgres`
- `@triplex-build/triplex-mcp` → `@triplex-build/triplex/mcp`

The `triplex` bin replaces installation of `@triplex-build/triplex-cli`.
Run the former `triplex-mcp` executable as `triplex mcp`; run the prebuilt explorer
with `triplex dashboard`. CLI library exports are internal; MCP's `tools` and
`registrations` are available from `/mcp`. Drivers and Node platform adapters are
optional peers loaded only by their backend subpath or executable. Existing root
and core subpaths retain their paths. Cloudflare and FoundationDB ship as frozen,
experimental backends. Only the unified package is versioned and published.
6 changes: 0 additions & 6 deletions .changeset/package-readmes.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
---
"@triplex-build/triplex": patch
"@triplex-build/triplex-sql": patch
"@triplex-build/triplex-sqlite": patch
"@triplex-build/triplex-postgres": patch
"@triplex-build/triplex-testkit": patch
"@triplex-build/triplex-cli": patch
"@triplex-build/triplex-http": patch
---

Update the published package READMEs to reflect npm availability and supported installation paths.
3 changes: 0 additions & 3 deletions .changeset/retained-assertion-read.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
---
"@triplex-build/triplex": minor
"@triplex-build/triplex-sqlite": patch
"@triplex-build/triplex-postgres": patch
"@triplex-build/triplex-cloudflare": patch
---

Add `Triples.assertion(id)` for retained assertions, including retraction metadata.
Expand Down
2 changes: 0 additions & 2 deletions .changeset/retryable-transaction-conflicts.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
"@triplex-build/triplex": minor
"@triplex-build/triplex-postgres": minor
"@triplex-build/triplex-testkit": patch
---

Surface structured PostgreSQL serialization and deadlock failures as
Expand Down
6 changes: 0 additions & 6 deletions .changeset/runtime-peer-ranges.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
---
"@triplex-build/triplex": patch
"@triplex-build/triplex-sql": patch
"@triplex-build/triplex-sqlite": patch
"@triplex-build/triplex-postgres": patch
"@triplex-build/triplex-testkit": patch
"@triplex-build/triplex-cli": patch
"@triplex-build/triplex-http": patch
---

Declare Effect and its platform and SQL companions as compatible peer ranges so
Expand Down
6 changes: 0 additions & 6 deletions .changeset/sensitive-values.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
---
"@triplex-build/triplex": minor
"@triplex-build/triplex-sql": minor
"@triplex-build/triplex-sqlite": minor
"@triplex-build/triplex-postgres": minor
"@triplex-build/triplex-testkit": minor
"@triplex-build/triplex-http": minor
"@triplex-build/triplex-cli": minor
---

Add opt-in sensitive attribute values. `Attribute.sensitive` marks an attribute in its
Expand Down
1 change: 0 additions & 1 deletion .changeset/shared-http-entity-decoder.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
"@triplex-build/triplex": minor
"@triplex-build/triplex-http": patch
---

Add entity decoding options for distinct-value scalar cardinality, aggregate type membership validation, and detailed value diagnostics while keeping strict defaults. Reuse the core entity decoder for HTTP reads with unchanged response bodies and diagnostics.
2 changes: 1 addition & 1 deletion .changeset/tidy-command-invocation.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@triplex-build/triplex-cli": patch
"@triplex-build/triplex": patch
---

Derive failure-envelope command names and value-taking flags from the declared command tree, including aliases and options before subcommands.
4 changes: 0 additions & 4 deletions .changeset/tidy-recorded-reads.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
---
"@triplex-build/triplex": minor
"@triplex-build/triplex-sql": minor
"@triplex-build/triplex-sqlite": minor
"@triplex-build/triplex-postgres": minor
"@triplex-build/triplex-testkit": minor
---

Add indexed `Triples.resolveRecordedBasis` and `Triples.dependencyStateAll` reads.
Expand Down
3 changes: 1 addition & 2 deletions .changeset/tidy-schema-fixtures.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
"@triplex-build/triplex-postgres": minor
"@triplex-build/triplex-testkit": minor
"@triplex-build/triplex": minor
---

Check the current schema version when acquiring an unmigrated PostgreSQL adapter
Expand Down
4 changes: 0 additions & 4 deletions .changeset/transactional-operational-entries.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
---
"@triplex-build/triplex": minor
"@triplex-build/triplex-sql": minor
"@triplex-build/triplex-sqlite": patch
"@triplex-build/triplex-postgres": patch
"@triplex-build/triplex-testkit": minor
---

Add indexed inbox/outbox entries that compose with facts in `transact`, deduplicate
Expand Down
1 change: 0 additions & 1 deletion .changeset/validator-query-response.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
"@triplex-build/triplex": minor
"@triplex-build/triplex-testkit": patch
---

Return `QueryResponse` from `CommitValidation.View.query`, matching the complete
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ coverage/
playwright-report/
test-results/
**/.openai/hosting.json
dist-server/
packages/triplex/publish/
Loading
Loading