@tineira/apc-protocol 0.7.0 → 0.7.1

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 CHANGED
@@ -2,7 +2,15 @@
2
2
 
3
3
  This file records the contract that an app and an agent share in Agent Pointed Context: the view an app reports, the pin (focus) a person drops on a target, presence, the format of the focus, `wait_for_focus`, the tools an app and a hub expose, the drag payload and pairing. It does not record the software (Pulse, the dock, Signals, the extension, the desktop apps); that is [`CHANGELOG.md`](../../CHANGELOG.md) at the root.
4
4
 
5
- The standard has its own semver, `APC_STANDARD_VERSION` in `@apc/protocol`, separate from the software release. It stays 0.x while the standard is a draft and becomes 1.0.0 when it is published. The version of the paper (V1, the apc.tineira.com demo) is not a 1.x of this standard. Every change to the contract adds an entry here and bumps the constant.
5
+ The standard has its own semver, `APC_STANDARD_VERSION` in `@tineira/apc-protocol`, separate from the software release. It stays 0.x while the standard is a draft and becomes 1.0.0 when it is published. The version of the paper (V1, the apc.tineira.com demo) is not a 1.x of this standard. Every change to the contract adds an entry here and bumps the constant: a new minor (or, from 1.0, a major) version. A patch (0.7.0 to 0.7.1) never changes the contract; it fixes the packages or the wording, so an app that implements 0.7.0 implements every 0.7.x.
6
+
7
+ ## 0.7.1 (draft, 2026-11-04)
8
+
9
+ No change to the contract: an app or a hub that implements 0.7.0 implements 0.7.1, and `standard` in `apc.json` may say either. This is the first release of `@tineira/apc-protocol`, `@tineira/apc-server`, `@tineira/apc-web` and `@tineira/apc-conformance` published by `.github/workflows/publish.yml` (npm trusted publishing) rather than from a maintainer's machine.
10
+
11
+ - **The package names in the doc comments are the published ones.** `core.ts` and `manifest.ts` (and so the `.d.ts` files in `dist/`) named `@apc/server`, `@apc/web` and `@apc/conformance`, from before the rename; they now say `@tineira/apc-server`, `@tineira/apc-web` and `@tineira/apc-conformance`.
12
+ - **The conformance checks take a newer patch of their own standard.** An app whose `apc.json` says a newer patch of the minor `@tineira/apc-conformance` knows (0.7.2 against 0.7.1) passes the standard check with a note, since a patch never changes the contract; a newer minor still fails until the checks are updated. Before, an app that moved to 0.7.1 failed against the 0.7.0 checks. The in-process suite keeps the note too: after `run()`, the check's `note` says it, and `runConformance` puts it on the result. (`standardSupport` in `packages/conformance/src/shared.ts`, `packages/conformance/src/index.ts`)
13
+ - The four packages and `APC_STANDARD_VERSION` are 0.7.1; nothing else in what the packages ship changed.
6
14
 
7
15
  ## 0.7.0 (draft, 2026-11-04)
8
16
 
package/dist/core.d.ts CHANGED
@@ -13,7 +13,7 @@
13
13
  * Consent in the app is the app's server's to check (APC 0.7), never the page's alone: the server makes
14
14
  * a grant for a dock agent it holds none for only on a request that proves the person allowed it on the
15
15
  * app's page just now (the reference apps: a single-use nonce the page shows its consent with,
16
- * `DockConsent` in @apc/server), whatever the page last loaded. A page that missed a revoke must not
16
+ * `DockConsent` in `@tineira/apc-server`), whatever the page last loaded. A page that missed a revoke must not
17
17
  * pair without asking.
18
18
  *
19
19
  * The core is the same on both, and per grant: the hub is one more holder of a grant.
@@ -36,7 +36,7 @@
36
36
  * 9. **Mobile** (APC 0.6): on a phone or any touch viewport (`APC_MOBILE_MEDIA`) the app shows its agents
37
37
  * in its own page, on both profiles (below).
38
38
  *
39
- * `@apc/conformance` checks an app against this core, given its MCP endpoint and a small adapter for
39
+ * `@tineira/apc-conformance` checks an app against this core, given its MCP endpoint and a small adapter for
40
40
  * what happens in the page.
41
41
  */
42
42
  import type { FocusPayload, ViewPayload } from "./types.js";
@@ -31,7 +31,7 @@ export declare const APC_JSON_PATH = "/.well-known/apc.json";
31
31
  /** The most bytes a reader takes of an `apc.json`. */
32
32
  export declare const APC_JSON_MAX_BYTES = 16384;
33
33
  /**
34
- * Where an app's MCP URLs live when it says nothing else: `@apc/server`'s default `mcp.path`, and the
34
+ * Where an app's MCP URLs live when it says nothing else: `@tineira/apc-server`'s default `mcp.path`, and the
35
35
  * path a hub holds a verified app to when it pairs it without a file (its file out of reach, no copy).
36
36
  */
37
37
  export declare const APC_DEFAULT_MCP_PATH = "/mcp/";
@@ -94,7 +94,7 @@ export declare function declaresMcpUrl(manifest: Pick<ApcManifest, "origin" | "m
94
94
  /**
95
95
  * What an app tells a person who drops an agent from their dock on it when it connects agents only
96
96
  * directly (its `apc.json` lists no `"dock"`): the drop is answered, never lost. These are the app's
97
- * own words, on its own page (`@apc/web`); the browser extension, which speaks for itself, puts the
97
+ * own words, on its own page (`@tineira/apc-web`); the browser extension, which speaks for itself, puts the
98
98
  * domain first and the name only as what the page says it is.
99
99
  */
100
100
  export declare function directOnlyNote(name: string): string;
package/dist/manifest.js CHANGED
@@ -3,7 +3,7 @@ export const APC_JSON_PATH = "/.well-known/apc.json";
3
3
  /** The most bytes a reader takes of an `apc.json`. */
4
4
  export const APC_JSON_MAX_BYTES = 16_384;
5
5
  /**
6
- * Where an app's MCP URLs live when it says nothing else: `@apc/server`'s default `mcp.path`, and the
6
+ * Where an app's MCP URLs live when it says nothing else: `@tineira/apc-server`'s default `mcp.path`, and the
7
7
  * path a hub holds a verified app to when it pairs it without a file (its file out of reach, no copy).
8
8
  */
9
9
  export const APC_DEFAULT_MCP_PATH = "/mcp/";
@@ -119,7 +119,7 @@ export function declaresMcpUrl(manifest, mcpUrl) {
119
119
  /**
120
120
  * What an app tells a person who drops an agent from their dock on it when it connects agents only
121
121
  * directly (its `apc.json` lists no `"dock"`): the drop is answered, never lost. These are the app's
122
- * own words, on its own page (`@apc/web`); the browser extension, which speaks for itself, puts the
122
+ * own words, on its own page (`@tineira/apc-web`); the browser extension, which speaks for itself, puts the
123
123
  * domain first and the name only as what the page says it is.
124
124
  */
125
125
  export function directOnlyNote(name) {
package/dist/version.d.ts CHANGED
@@ -7,4 +7,4 @@
7
7
  * and becomes 1.0.0 when the standard is published. Every change to the
8
8
  * contract adds an entry to `packages/protocol/CHANGELOG.md` and bumps this.
9
9
  */
10
- export declare const APC_STANDARD_VERSION = "0.7.0";
10
+ export declare const APC_STANDARD_VERSION = "0.7.1";
package/dist/version.js CHANGED
@@ -7,4 +7,4 @@
7
7
  * and becomes 1.0.0 when the standard is published. Every change to the
8
8
  * contract adds an entry to `packages/protocol/CHANGELOG.md` and bumps this.
9
9
  */
10
- export const APC_STANDARD_VERSION = "0.7.0";
10
+ export const APC_STANDARD_VERSION = "0.7.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tineira/apc-protocol",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Agent Pointed Context (APC): the contract an app and an AI agent share. Wire types, the target grammar, the core, apc.json and the version of the standard.",
5
5
  "keywords": [
6
6
  "apc",