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
5 changes: 0 additions & 5 deletions .changeset/browser-pay-event-redaction.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/browser-pay-intercept-diagnostics.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/browser-pay-refusal-pass-through.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/core-remove-list-transactions-params.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/drop-retired-docs-links.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/mcp-platform-events-subscribable.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/run-connectors-selection.md

This file was deleted.

38 changes: 0 additions & 38 deletions .changeset/sdk-shared-credential-transport.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/slack-history-whoami.md

This file was deleted.

45 changes: 45 additions & 0 deletions packages/agent-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,50 @@
# @sapiom/orchestration-core

## 0.16.0

### Minor Changes

- a76b8bd: The tenant API key now only travels over HTTPS, or plain HTTP to a loopback
host, from every SDK client, and never follows a redirect to another origin.
One function, `credentialFetch` from the new `@sapiom/analytics-core/credential`
subpath, is the only code that sets the key header.

Behavior changes, shipped as 0.x minor bumps: a plain `http://` URL to a
non-loopback host is now refused, and the key headers are stripped on a
cross-origin redirect. `@sapiom/core` and `@sapiom/browser-pay` gain their
first runtime dependency, `@sapiom/analytics-core`.

- `@sapiom/core`, `@sapiom/agent-core` and `@sapiom/mcp`: a plain `http://`
URL to a non-loopback host (for example a Docker service name or a LAN IP)
now fails before the request is sent. On a trusted private network, opt in
with `new SapiomClient({ allowInsecureHttp: true })` (core),
`createClient({ allowInsecureHttp: true })` (agent-core) or
`SAPIOM_ALLOW_INSECURE_HTTP=1` (all clients). `localhost`, `*.localhost`,
`127.0.0.1` and `[::1]` work as before. Core does not retry a refused channel.
- `@sapiom/analytics-core`: on such an endpoint the batch is still sent, without
the key. A redirect to a refused channel drops the batch.
- Every client follows redirects itself: the first hop to another origin drops
`x-api-key`, `x-sapiom-api-key` and every `x-sapiom-*` header.
- `@sapiom/core`: `getHttpClient().defaults.headers` no longer carries the key;
read `defaults.credential` instead.
- `@sapiom/browser-pay`: the payment relay uses the shared rule, so a
`*.localhost` base URL and `SAPIOM_ALLOW_INSECURE_HTTP=1` are now accepted, and
a refused base URL throws a `CredentialChannelError`. Redirects are still
refused.
- `@sapiom/tools`: no behavior change. A refused call now throws a
`CredentialChannelError`, a `TypeError` subclass that keeps `name: "TypeError"`.

### Patch Changes

- 1b9a5f6: Stop linking docs.sapiom.ai pages that no longer exist. The `sapiom-agent-authoring` skill and its scaffold copies, the Agent Studio system prompt, help palette and welcome screen, and the `@sapiom/agent` README drop links to the agent quick start, authoring guide, MCP setup, call-surface, credentials and signals guides. The first-run telemetry notice drops its link to a `/telemetry` page that never existed. Links to `/capabilities` pages are unchanged.
- Updated dependencies [1b9a5f6]
- Updated dependencies [89f1829]
- Updated dependencies [a76b8bd]
- Updated dependencies [ec08398]
- @sapiom/agent@0.14.12
- @sapiom/analytics-core@0.3.0
- @sapiom/tools@0.48.0

## 0.15.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/agent-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sapiom/agent-core",
"version": "0.15.7",
"version": "0.16.0",
"description": "Pure, stateless core functions for scaffolding, validating, and operating Sapiom agents — shared by the CLI and MCP packages.",
"license": "MIT",
"author": "Sapiom",
Expand Down
4 changes: 2 additions & 2 deletions packages/agent-core/src/version-fallback.generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
// @sapiom/agent + @sapiom/tools versions and the offline scaffold fallback can no
// longer drift.
export const VERSION_FALLBACK = {
agent: "0.14.11",
tools: "0.47.0",
agent: "0.14.12",
tools: "0.48.0",
} as const;
7 changes: 7 additions & 0 deletions packages/agent-studio/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @sapiom/agent-studio

## 0.1.39

### Patch Changes

- Updated dependencies [1b9a5f6]
- @sapiom/harness@0.22.1

## 0.1.38

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/agent-studio/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sapiom/agent-studio",
"version": "0.1.38",
"version": "0.1.39",
"description": "Agent Studio — build, test, deploy, and run Sapiom agents with your coding agent in a local workspace.",
"keywords": [
"sapiom",
Expand Down
10 changes: 10 additions & 0 deletions packages/agent/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @sapiom/orchestration

## 0.14.12

### Patch Changes

- 1b9a5f6: Stop linking docs.sapiom.ai pages that no longer exist. The `sapiom-agent-authoring` skill and its scaffold copies, the Agent Studio system prompt, help palette and welcome screen, and the `@sapiom/agent` README drop links to the agent quick start, authoring guide, MCP setup, call-surface, credentials and signals guides. The first-run telemetry notice drops its link to a `/telemetry` page that never existed. Links to `/capabilities` pages are unchanged.
- Updated dependencies [89f1829]
- Updated dependencies [a76b8bd]
- Updated dependencies [ec08398]
- @sapiom/tools@0.48.0

## 0.14.11

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/agent/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sapiom/agent",
"version": "0.14.11",
"version": "0.14.12",
"description": "Versioned public contract for authoring Sapiom agents: types, directive constructors/guards, defineAgent, defineStep, InMemoryContextStore. Shared by customer agent definitions, the sandbox step-runner, and the engine.",
"license": "MIT",
"author": "Sapiom",
Expand Down
38 changes: 38 additions & 0 deletions packages/analytics-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# @sapiom/analytics-core

## 0.3.0

### Minor Changes

- a76b8bd: The tenant API key now only travels over HTTPS, or plain HTTP to a loopback
host, from every SDK client, and never follows a redirect to another origin.
One function, `credentialFetch` from the new `@sapiom/analytics-core/credential`
subpath, is the only code that sets the key header.

Behavior changes, shipped as 0.x minor bumps: a plain `http://` URL to a
non-loopback host is now refused, and the key headers are stripped on a
cross-origin redirect. `@sapiom/core` and `@sapiom/browser-pay` gain their
first runtime dependency, `@sapiom/analytics-core`.

- `@sapiom/core`, `@sapiom/agent-core` and `@sapiom/mcp`: a plain `http://`
URL to a non-loopback host (for example a Docker service name or a LAN IP)
now fails before the request is sent. On a trusted private network, opt in
with `new SapiomClient({ allowInsecureHttp: true })` (core),
`createClient({ allowInsecureHttp: true })` (agent-core) or
`SAPIOM_ALLOW_INSECURE_HTTP=1` (all clients). `localhost`, `*.localhost`,
`127.0.0.1` and `[::1]` work as before. Core does not retry a refused channel.
- `@sapiom/analytics-core`: on such an endpoint the batch is still sent, without
the key. A redirect to a refused channel drops the batch.
- Every client follows redirects itself: the first hop to another origin drops
`x-api-key`, `x-sapiom-api-key` and every `x-sapiom-*` header.
- `@sapiom/core`: `getHttpClient().defaults.headers` no longer carries the key;
read `defaults.credential` instead.
- `@sapiom/browser-pay`: the payment relay uses the shared rule, so a
`*.localhost` base URL and `SAPIOM_ALLOW_INSECURE_HTTP=1` are now accepted, and
a refused base URL throws a `CredentialChannelError`. Redirects are still
refused.
- `@sapiom/tools`: no behavior change. A refused call now throws a
`CredentialChannelError`, a `TypeError` subclass that keeps `name: "TypeError"`.

### Patch Changes

- 1b9a5f6: Stop linking docs.sapiom.ai pages that no longer exist. The `sapiom-agent-authoring` skill and its scaffold copies, the Agent Studio system prompt, help palette and welcome screen, and the `@sapiom/agent` README drop links to the agent quick start, authoring guide, MCP setup, call-surface, credentials and signals guides. The first-run telemetry notice drops its link to a `/telemetry` page that never existed. Links to `/capabilities` pages are unchanged.

## 0.2.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/analytics-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sapiom/analytics-core",
"version": "0.2.1",
"version": "0.3.0",
"description": "Zero-dependency usage analytics emitter shared by Sapiom SDK packages — consent-aware, batched, and guaranteed to never throw or block the host application.",
"license": "MIT",
"author": "Sapiom",
Expand Down
8 changes: 8 additions & 0 deletions packages/axios/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @sapiom/axios

## 0.5.2

### Patch Changes

- Updated dependencies [a8068d8]
- Updated dependencies [a76b8bd]
- @sapiom/core@0.6.0

## 0.5.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/axios/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sapiom/axios",
"version": "0.5.1",
"version": "0.5.2",
"description": "Axios integration for Sapiom SDK",
"keywords": [
"sapiom",
Expand Down
46 changes: 46 additions & 0 deletions packages/browser-pay/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,51 @@
# @sapiom/browser-pay

## 0.2.0

### Minor Changes

- b386258: Interceptor event URLs are origin-only, and refusal reasons on events are sanitized. CDP attach errors use fixed messages to avoid forwarding transport details.
- 8d77192: A refused event may include optional `retryable` and `requestId`. When `retryable` is missing, the event leaves it unset. The SDK does not invent it, and polling still follows only `relay_in_progress`.

A reason on that event passes through when it matches `/^[a-z]+(_[a-z]+)*$/` and is at most 48 characters, including a reason this package does not list. Every other reason is `unrecognized`. `RefusalReason` is that open set. `KnownRefusalReason` names the reasons the relay emits today.

- a76b8bd: The tenant API key now only travels over HTTPS, or plain HTTP to a loopback
host, from every SDK client, and never follows a redirect to another origin.
One function, `credentialFetch` from the new `@sapiom/analytics-core/credential`
subpath, is the only code that sets the key header.

Behavior changes, shipped as 0.x minor bumps: a plain `http://` URL to a
non-loopback host is now refused, and the key headers are stripped on a
cross-origin redirect. `@sapiom/core` and `@sapiom/browser-pay` gain their
first runtime dependency, `@sapiom/analytics-core`.

- `@sapiom/core`, `@sapiom/agent-core` and `@sapiom/mcp`: a plain `http://`
URL to a non-loopback host (for example a Docker service name or a LAN IP)
now fails before the request is sent. On a trusted private network, opt in
with `new SapiomClient({ allowInsecureHttp: true })` (core),
`createClient({ allowInsecureHttp: true })` (agent-core) or
`SAPIOM_ALLOW_INSECURE_HTTP=1` (all clients). `localhost`, `*.localhost`,
`127.0.0.1` and `[::1]` work as before. Core does not retry a refused channel.
- `@sapiom/analytics-core`: on such an endpoint the batch is still sent, without
the key. A redirect to a refused channel drops the batch.
- Every client follows redirects itself: the first hop to another origin drops
`x-api-key`, `x-sapiom-api-key` and every `x-sapiom-*` header.
- `@sapiom/core`: `getHttpClient().defaults.headers` no longer carries the key;
read `defaults.credential` instead.
- `@sapiom/browser-pay`: the payment relay uses the shared rule, so a
`*.localhost` base URL and `SAPIOM_ALLOW_INSECURE_HTTP=1` are now accepted, and
a refused base URL throws a `CredentialChannelError`. Redirects are still
refused.
- `@sapiom/tools`: no behavior change. A refused call now throws a
`CredentialChannelError`, a `TypeError` subclass that keeps `name: "TypeError"`.

### Patch Changes

- 150bbd7: Better debug logging for browser-pay: an optional logger now receives browser step failures, and CDP errors name the method.
- Updated dependencies [1b9a5f6]
- Updated dependencies [a76b8bd]
- @sapiom/analytics-core@0.3.0

## 0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/browser-pay/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sapiom/browser-pay",
"version": "0.1.1",
"version": "0.2.0",
"description": "Browser-side payment interceptor. Pause a placeholder card request over CDP and relay it.",
"keywords": [
"sapiom",
Expand Down
12 changes: 12 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @sapiom/cli

## 21.0.1

### Patch Changes

- Updated dependencies [1b9a5f6]
- Updated dependencies [a76b8bd]
- @sapiom/agent-core@0.16.0
- @sapiom/agent@0.14.12
- @sapiom/harness@0.22.1
- @sapiom/analytics-core@0.3.0
- @sapiom/sandbox-preview@0.1.34

## 21.0.0

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sapiom/cli",
"version": "21.0.0",
"version": "21.0.1",
"description": "The Sapiom command-line interface — scaffold, validate, and ship Sapiom agents.",
"license": "MIT",
"author": "Sapiom",
Expand Down Expand Up @@ -46,7 +46,7 @@
"zod": "^3.25.76"
},
"peerDependencies": {
"@sapiom/harness": ">=0.22.0"
"@sapiom/harness": ">=0.22.1"
},
"peerDependenciesMeta": {
"@sapiom/harness": {
Expand Down
Loading
Loading