@pulse-compute/grip 0.0.0 → 1.0.0-beta.2
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 +44 -1
- package/as/README.md +10 -0
- package/as/index.as.ts +28 -0
- package/conformance/native.json +22 -0
- package/dist/index.d.ts +45 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +135 -0
- package/dist/index.js.map +1 -0
- package/dist/pulsewasm.d.ts +51 -0
- package/dist/pulsewasm.d.ts.map +1 -0
- package/dist/pulsewasm.js +39 -0
- package/dist/pulsewasm.js.map +1 -0
- package/grip.framing-contract.json +76 -0
- package/package.json +60 -5
- package/pulse.package.json +73 -0
- package/pulsewasm.compiler.cjs +1063 -0
- package/pulsewasm.manifest.cjs +70 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const pulseWasmManifest = Object.freeze({
|
|
4
|
+
version: 'pulsewasm.lowerable-library-manifest.v2',
|
|
5
|
+
kind: 'pulsewasm.lowerable-library-manifest',
|
|
6
|
+
contractId: 'pulse.grip',
|
|
7
|
+
npmPackage: '@pulse-compute/grip',
|
|
8
|
+
lowerableSubpath: '@pulse-compute/grip',
|
|
9
|
+
facade: Object.freeze({
|
|
10
|
+
namespace: 'grip',
|
|
11
|
+
import: '@pulse-compute/grip',
|
|
12
|
+
symbols: Object.freeze(['broadcast', 'handoff', 'isWebSocket', 'subscribe'])
|
|
13
|
+
}),
|
|
14
|
+
publicApi: Object.freeze({
|
|
15
|
+
package: '@pulse-compute/grip',
|
|
16
|
+
symbols: Object.freeze(['broadcast', 'grip', 'handoff', 'isWebSocket', 'subscribe']),
|
|
17
|
+
compatibilitySubpaths: Object.freeze(['@pulse-compute/grip/pulsewasm']),
|
|
18
|
+
loweringIntentionallyNarrow: true
|
|
19
|
+
}),
|
|
20
|
+
description: 'Package-owned Native lowering manifest for bounded stateless GRIP framing and request-bound broadcast.',
|
|
21
|
+
compiler: Object.freeze({
|
|
22
|
+
version: 'pulsewasm.lowerable-compiler-builder.v1',
|
|
23
|
+
entry: './pulsewasm.compiler.cjs',
|
|
24
|
+
export: 'buildGripLoweringPlan',
|
|
25
|
+
artifact: 'grip-lowering-plan.json',
|
|
26
|
+
builderOwner: '@pulse-compute/grip',
|
|
27
|
+
trust: 'first-party',
|
|
28
|
+
inputs: Object.freeze([
|
|
29
|
+
'typescript.SourceFile',
|
|
30
|
+
'pulsewasm.lowerable-library-manifest',
|
|
31
|
+
'pulse.grip contracts'
|
|
32
|
+
])
|
|
33
|
+
}),
|
|
34
|
+
modes: Object.freeze({
|
|
35
|
+
typescript: Object.freeze({ entry: './dist/index.js' }),
|
|
36
|
+
jsEngine: Object.freeze({ entry: './dist/index.js', behavior: 'javascript-package-runtime' }),
|
|
37
|
+
wasm: Object.freeze({
|
|
38
|
+
mode: 'wasm-sidecar',
|
|
39
|
+
sidecar: './as/index.as.ts',
|
|
40
|
+
lowerings: Object.freeze([
|
|
41
|
+
Object.freeze({ tsSymbol: 'grip.isWebSocket', asSymbol: 'pulse_grip_is_websocket', callShape: 'request-classification', hostCapabilities: Object.freeze(['headers']) }),
|
|
42
|
+
Object.freeze({ tsSymbol: 'grip.subscribe', asSymbol: 'pulse_grip_subscribe', callShape: 'response-static-options', hostCapabilities: Object.freeze(['headers', 'result']) }),
|
|
43
|
+
Object.freeze({ tsSymbol: 'grip.handoff', asSymbol: 'pulse_grip_handoff', callShape: 'static-options', hostCapabilities: Object.freeze(['headers', 'result']) }),
|
|
44
|
+
Object.freeze({ tsSymbol: 'grip.broadcast', asSymbol: 'pulse_grip_broadcast', callShape: 'context-static-message', hostCapabilities: Object.freeze(['broadcaster']) }),
|
|
45
|
+
Object.freeze({ tsSymbol: 'grip.hold', asSymbol: 'pulse_grip_hold', callShape: 'literal-mode', hostCapabilities: Object.freeze(['headers']) }),
|
|
46
|
+
Object.freeze({ tsSymbol: 'grip.channel', asSymbol: 'pulse_grip_channel', callShape: 'literal-channel', hostCapabilities: Object.freeze(['headers', 'channel', 'broadcaster']) }),
|
|
47
|
+
Object.freeze({ tsSymbol: 'grip.publish', asSymbol: 'pulse_grip_publish', callShape: 'declared-channel-message', hostCapabilities: Object.freeze(['broadcaster', 'clock']) })
|
|
48
|
+
]),
|
|
49
|
+
hostCapabilities: Object.freeze(['headers', 'channel', 'broadcaster', 'clock', 'result'])
|
|
50
|
+
})
|
|
51
|
+
}),
|
|
52
|
+
protocol: Object.freeze({
|
|
53
|
+
contractId: 'pulse.grip',
|
|
54
|
+
payloadRulesOwner: '@pulse-compute/wasm-contracts/grip/contracts'
|
|
55
|
+
}),
|
|
56
|
+
policy: Object.freeze({
|
|
57
|
+
effectRuntimeRequired: true,
|
|
58
|
+
providerRuntimeImplemented: true,
|
|
59
|
+
loweringIntentionallyNarrow: true,
|
|
60
|
+
packageOwnsFacadeMapping: true,
|
|
61
|
+
betaProofOnly: false,
|
|
62
|
+
canonicalRootLowering: true,
|
|
63
|
+
statelessFraming: true,
|
|
64
|
+
arbitraryChannelExpressions: false,
|
|
65
|
+
arbitraryPublishPayloads: false,
|
|
66
|
+
automaticFallback: false
|
|
67
|
+
})
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
module.exports = pulseWasmManifest;
|