@pulse-compute/provider-fastly 1.0.0-beta.6 → 1.0.0-beta.7

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/README.md CHANGED
@@ -7,9 +7,9 @@
7
7
  > **Supported entry points:** `@pulse-compute/provider-fastly`, `@pulse-compute/provider-fastly/contract`, `@pulse-compute/provider-fastly/toolchain`, `@pulse-compute/provider-fastly/config-schema`, `@pulse-compute/provider-fastly/runtime/canonical-api-runtime`, `@pulse-compute/provider-fastly/build/canonical-target`, `@pulse-compute/provider-fastly/testing/fastly-cli`<br>
8
8
  > **Stability:** The listed entry points are supported for the Beta; all other exported subpaths are implementation-only.<br>
9
9
  > **npm:** [`@pulse-compute/provider-fastly`](https://www.npmjs.com/package/@pulse-compute/provider-fastly)<br>
10
- > **Canonical documentation:** [Package guide](https://pulsecompute.io/v1.0.0-beta.6/packages/provider-fastly/)
10
+ > **Canonical documentation:** [Package guide](https://pulsecompute.io/v1.0.0-beta.7/packages/provider-fastly/)
11
11
  >
12
- > This release-status block is generated from the synchronized `Pulse 1.0.0-beta.6` package policy.
12
+ > This release-status block is generated from the synchronized `Pulse 1.0.0-beta.7` package policy.
13
13
  <!-- pulse-package-status:end -->
14
14
 
15
15
  Fastly provider configuration, canonical capability lowering, local conformance execution, Compute target generation, and explicit external-tool boundaries.
@@ -49,7 +49,7 @@ trusted wall-clock authority. It does not fall back to Node execution.
49
49
 
50
50
  ## Documentation
51
51
 
52
- - [Fastly package guide](https://pulsecompute.io/v1.0.0-beta.6/packages/provider-fastly/)
53
- - [Project configuration](https://pulsecompute.io/v1.0.0-beta.6/reference/project-config/#fastly-provider-options)
54
- - [Fastly capabilities guide](https://pulsecompute.io/v1.0.0-beta.6/guides/fastly-capabilities/)
55
- - [Environment variables](https://pulsecompute.io/v1.0.0-beta.6/reference/environment/#pulse-fastly-bin)
52
+ - [Fastly package guide](https://pulsecompute.io/v1.0.0-beta.7/packages/provider-fastly/)
53
+ - [Project configuration](https://pulsecompute.io/v1.0.0-beta.7/reference/project-config/#fastly-provider-options)
54
+ - [Fastly capabilities guide](https://pulsecompute.io/v1.0.0-beta.7/guides/fastly-capabilities/)
55
+ - [Environment variables](https://pulsecompute.io/v1.0.0-beta.7/reference/environment/#pulse-fastly-bin)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulse-compute/provider-fastly",
3
- "version": "1.0.0-beta.6",
3
+ "version": "1.0.0-beta.7",
4
4
  "license": "Apache-2.0",
5
5
  "engines": {
6
6
  "node": "^22.14.0 || ^24.0.0"
@@ -59,15 +59,15 @@
59
59
  }
60
60
  },
61
61
  "dependencies": {
62
- "@pulse-compute/crypto": "1.0.0-beta.6",
63
- "@pulse-compute/jwt": "1.0.0-beta.6",
64
- "@pulse-compute/runtime": "1.0.0-beta.6",
65
- "@pulse-compute/s3": "1.0.0-beta.6",
66
- "@pulse-compute/wasm-build-support": "1.0.0-beta.6",
67
- "@pulse-compute/wasm-contracts": "1.0.0-beta.6",
68
- "@pulse-compute/wasm-guest-link": "1.0.0-beta.6",
69
- "@pulse-compute/wasm-host-runtime": "1.0.0-beta.6",
70
- "@pulse-compute/wasm-runtime-core-as": "1.0.0-beta.6",
62
+ "@pulse-compute/crypto": "1.0.0-beta.7",
63
+ "@pulse-compute/jwt": "1.0.0-beta.7",
64
+ "@pulse-compute/runtime": "1.0.0-beta.7",
65
+ "@pulse-compute/s3": "1.0.0-beta.7",
66
+ "@pulse-compute/wasm-build-support": "1.0.0-beta.7",
67
+ "@pulse-compute/wasm-contracts": "1.0.0-beta.7",
68
+ "@pulse-compute/wasm-guest-link": "1.0.0-beta.7",
69
+ "@pulse-compute/wasm-host-runtime": "1.0.0-beta.7",
70
+ "@pulse-compute/wasm-runtime-core-as": "1.0.0-beta.7",
71
71
  "esbuild": "0.28.1"
72
72
  },
73
73
  "types": "./dist/index.d.ts",
@@ -87,7 +87,7 @@
87
87
  "url": "git+https://github.com/pulse-compute/pulse.git",
88
88
  "directory": "packages/provider-fastly"
89
89
  },
90
- "homepage": "https://pulsecompute.io/v1.0.0-beta.6/packages/provider-fastly/",
90
+ "homepage": "https://pulsecompute.io/v1.0.0-beta.7/packages/provider-fastly/",
91
91
  "bugs": {
92
92
  "url": "https://github.com/pulse-compute/pulse/issues"
93
93
  },
@@ -22,6 +22,7 @@ const {
22
22
  } = require('@pulse-compute/wasm-contracts/package/package-contract');
23
23
  const {
24
24
  EXPERIMENTAL_NATIVE_SIZE_OPTIMIZATION,
25
+ prepareReportCapture,
25
26
  appendAssemblyScriptOptimizationArgs
26
27
  } = require('@pulse-compute/wasm-build-support/native-optimization');
27
28
 
@@ -2087,6 +2088,10 @@ function generateFastlyNativePlatformCapabilitiesAssemblyScript(plan, options =
2087
2088
  portableGeneratorVersion: portable.version,
2088
2089
  portableSourceHash: portable.sourceHash,
2089
2090
  schemaCodecs: portable.manifest.schemaCodecs,
2091
+ handlerBodies: portable.manifest.handlerBodies,
2092
+ dispatcher: portable.manifest.dispatcher,
2093
+ stages: portable.manifest.stages,
2094
+ helperBodies: portable.manifest.helperBodies,
2090
2095
  crypto: portable.manifest.crypto,
2091
2096
  jwt: jwtSource
2092
2097
  ? Object.freeze({
@@ -2299,6 +2304,8 @@ function compileFastlyNativePlatformCapabilitiesPlan(plan, options = {}) {
2299
2304
  '--path', jsonAs.dependencyRoot
2300
2305
  );
2301
2306
  }
2307
+ const readReportCapture = options.reportCapture === false ? () => null : prepareReportCapture(args, stagingDir, generated.manifest,
2308
+ require(path.join(asc.packageRoot, 'package.json')).version, 'fastly-native-platform-capabilities.as/');
2302
2309
  const startedAt = Date.now();
2303
2310
  const result = spawnSync(asc.executable, args, {
2304
2311
  cwd: stagingDir,
@@ -2471,6 +2478,7 @@ function compileFastlyNativePlatformCapabilitiesPlan(plan, options = {}) {
2471
2478
  return Object.freeze({
2472
2479
  version: FASTLY_NATIVE_PLATFORM_CAPABILITIES_VERSION,
2473
2480
  compilerVersion: FASTLY_NATIVE_PLATFORM_CAPABILITIES_COMPILER_VERSION,
2481
+ reportAttribution: readReportCapture(wasm),
2474
2482
  plan,
2475
2483
  generated,
2476
2484
  source: generated.source,
@@ -350,7 +350,7 @@ function createDriver() {
350
350
  providerPackage: providerBuild.packageFile,
351
351
  providerSourceEntry: providerBuild.sourceEntryFile
352
352
  }),
353
- build: providerBuild.build,
353
+ build: { ...providerBuild.build, reportAttribution: native.reportAttribution },
354
354
  realization: publicRealization,
355
355
  packaging: audit ? Object.freeze({
356
356
  version: PROVIDER_PACKAGING_AUDIT_VERSION,