@indexnetwork/protocol 12.0.1-rc.462.1 → 12.1.0-rc.463.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
|
@@ -54,6 +54,9 @@ pin a supported release, use `latest`.
|
|
|
54
54
|
|
|
55
55
|
### Changed
|
|
56
56
|
|
|
57
|
+
- The eval ops sign-in callback accepts only the `api_key` field (protocol
|
|
58
|
+
12.1.0); the legacy `session_token` fallback name was removed together with
|
|
59
|
+
the web cli-auth v1 contract.
|
|
57
60
|
- Keep canonical `get_enrichment_run` and `cancel_enrichment_run` in the fast
|
|
58
61
|
runtime timeout class after retiring their profile-run aliases.
|
|
59
62
|
|
package/IMPLEMENTATION.md
CHANGED
|
@@ -22,25 +22,6 @@ Internal source is domain-first: `signals`, `communities`, `questions`,
|
|
|
22
22
|
`participant-agents`, `contacts`, and `integrations`; opportunity and negotiation
|
|
23
23
|
place state/contracts in `domain/` and workflows/tools in `application/`.
|
|
24
24
|
|
|
25
|
-
## Source-map publication policy
|
|
26
|
-
|
|
27
|
-
Published `@indexnetwork/protocol` tarballs contain **no source maps**: neither
|
|
28
|
-
JavaScript (`*.js.map`) nor declaration (`*.d.ts.map`) maps. The zero-map budget
|
|
29
|
-
is enforced by the `prepack` build (`tsconfig.package.json`) and by
|
|
30
|
-
`architecture:artifacts`; it is intentionally separate from the normal `build`.
|
|
31
|
-
|
|
32
|
-
This is a registry-size and downstream-support tradeoff. The ordinary build keeps
|
|
33
|
-
maps so the deployment Sentry workflow can upload them for first-party debugging,
|
|
34
|
-
but they are not copied into the npm registry. A downstream runtime stack therefore
|
|
35
|
-
names a `dist/*.js` location rather than the original TypeScript source. Consumers
|
|
36
|
-
should retain the package version with an incident and use the matching source
|
|
37
|
-
revision or their own observability mapping when they need source-level diagnosis.
|
|
38
|
-
|
|
39
|
-
Declaration navigation is unchanged: `dist/**/*.d.ts` remains published and is the
|
|
40
|
-
supported editor/type-checking surface. Declaration maps are deliberately omitted
|
|
41
|
-
because they are not required to navigate those declarations and would expose the
|
|
42
|
-
same source-map size cost. This policy is reversible by changing only
|
|
43
|
-
`tsconfig.package.json`; do not add maps to the package file list ad hoc.
|
|
44
25
|
|
|
45
26
|
## Install
|
|
46
27
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* form through the module graph:
|
|
12
12
|
*
|
|
13
13
|
* agent.dispatcher.port (participant-agents) → capabilities/negotiation.facade
|
|
14
|
-
* (the facade
|
|
14
|
+
* (the facade represents the negotiation implementation boundary) →
|
|
15
15
|
* negotiation.graph.ts → shared/interfaces/agent-dispatcher.interface.ts
|
|
16
16
|
* (shim) → participant-agents/ports/index.ts → agent.dispatcher.port
|
|
17
17
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@indexnetwork/protocol",
|
|
3
|
-
"version": "12.0
|
|
3
|
+
"version": "12.1.0-rc.463.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -24,14 +24,9 @@
|
|
|
24
24
|
"test:isolated": "bun test scripts/tests/test-runner.spec.ts && bun scripts/test.ts",
|
|
25
25
|
"test:shared": "bun test",
|
|
26
26
|
"test:architecture": "bun test src/architecture/tests scripts/architecture/tests",
|
|
27
|
-
"architecture:exports": "bun scripts/architecture/export-inventory.ts",
|
|
28
|
-
"architecture:exports:update": "bun scripts/architecture/export-inventory.ts --write",
|
|
29
|
-
"architecture:consumer": "bunx tsc --project architecture/consumer/tsconfig.json",
|
|
30
27
|
"architecture:host-isolation": "bun scripts/architecture/host-isolation.ts",
|
|
31
28
|
"architecture:capabilities": "bun scripts/architecture/capability-boundaries.ts",
|
|
32
|
-
"architecture:
|
|
33
|
-
"architecture:artifacts": "bun run build && bun scripts/architecture/artifact-inventory.ts",
|
|
34
|
-
"architecture:check": "bun run architecture:exports && bun run architecture:consumer && bun run architecture:host-isolation && bun run architecture:capabilities && bun run architecture:cycles && bun run architecture:artifacts && bun run test:architecture",
|
|
29
|
+
"architecture:check": "bun run architecture:host-isolation && bun run architecture:capabilities && bun run test:architecture",
|
|
35
30
|
"prepublishOnly": "bun run build",
|
|
36
31
|
"prepack": "bun run build:package",
|
|
37
32
|
"eval:matching": "bun --env-file=../../.env.test ./eval/matching/matching.eval.ts",
|