@vibesdotdev/host-cef 0.0.0-stage → 1.0.0-rc.4
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/LICENSE +18 -0
- package/README.md +101 -2
- package/dist/cef-environment.impl.d.ts +58 -0
- package/dist/cef-environment.impl.d.ts.map +1 -0
- package/dist/cef-environment.impl.js +117 -0
- package/dist/cef-environment.impl.js.map +1 -0
- package/dist/contracts.d.ts +65 -0
- package/dist/contracts.d.ts.map +1 -0
- package/dist/contracts.js +235 -0
- package/dist/contracts.js.map +1 -0
- package/dist/docs/plugin.d.ts +10 -0
- package/dist/docs/plugin.d.ts.map +1 -0
- package/dist/docs/plugin.js +17 -0
- package/dist/docs/plugin.js.map +1 -0
- package/dist/docs/runtime-environment-cef.docs.descriptor.d.ts +20 -0
- package/dist/docs/runtime-environment-cef.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/runtime-environment-cef.docs.descriptor.js +174 -0
- package/dist/docs/runtime-environment-cef.docs.descriptor.js.map +1 -0
- package/dist/environment.d.ts +11 -0
- package/dist/environment.d.ts.map +1 -0
- package/dist/environment.js +10 -0
- package/dist/environment.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/native-host.client.d.ts +15 -0
- package/dist/native-host.client.d.ts.map +1 -0
- package/dist/native-host.client.descriptor.d.ts +27 -0
- package/dist/native-host.client.descriptor.d.ts.map +1 -0
- package/dist/native-host.client.descriptor.js +8 -0
- package/dist/native-host.client.descriptor.js.map +1 -0
- package/dist/native-host.client.impl.browser.d.ts +24 -0
- package/dist/native-host.client.impl.browser.d.ts.map +1 -0
- package/dist/native-host.client.impl.browser.js +279 -0
- package/dist/native-host.client.impl.browser.js.map +1 -0
- package/dist/native-host.client.js +5 -0
- package/dist/native-host.client.js.map +1 -0
- package/dist/native-host.plugin.d.ts +5 -0
- package/dist/native-host.plugin.d.ts.map +1 -0
- package/dist/native-host.plugin.js +15 -0
- package/dist/native-host.plugin.js.map +1 -0
- package/dist/runtime-environment-cef.plugin.d.ts +14 -0
- package/dist/runtime-environment-cef.plugin.d.ts.map +1 -0
- package/dist/runtime-environment-cef.plugin.js +31 -0
- package/dist/runtime-environment-cef.plugin.js.map +1 -0
- package/dist/schemas/facts.d.ts +48 -0
- package/dist/schemas/facts.d.ts.map +1 -0
- package/dist/schemas/facts.js +35 -0
- package/dist/schemas/facts.js.map +1 -0
- package/dist/schemas/failure.d.ts +17 -0
- package/dist/schemas/failure.d.ts.map +1 -0
- package/dist/schemas/failure.js +7 -0
- package/dist/schemas/failure.js.map +1 -0
- package/dist/schemas/namespace.d.ts +56 -0
- package/dist/schemas/namespace.d.ts.map +1 -0
- package/dist/schemas/namespace.js +32 -0
- package/dist/schemas/namespace.js.map +1 -0
- package/dist/schemas/native-host.d.ts +43 -0
- package/dist/schemas/native-host.d.ts.map +1 -0
- package/dist/schemas/native-host.js +55 -0
- package/dist/schemas/native-host.js.map +1 -0
- package/dist/schemas/options.d.ts +88 -0
- package/dist/schemas/options.d.ts.map +1 -0
- package/dist/schemas/options.js +22 -0
- package/dist/schemas/options.js.map +1 -0
- package/dist/schemas/readiness.d.ts +10 -0
- package/dist/schemas/readiness.d.ts.map +1 -0
- package/dist/schemas/readiness.js +11 -0
- package/dist/schemas/readiness.js.map +1 -0
- package/package.json +91 -4
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as z from 'zod/v4';
|
|
2
|
+
export const CefAbortSignalSchema = z.custom((value) => z.object({
|
|
3
|
+
aborted: z.boolean(),
|
|
4
|
+
addEventListener: z.function(),
|
|
5
|
+
removeEventListener: z.function()
|
|
6
|
+
}).safeParse(value).success);
|
|
7
|
+
export const CefReadinessOptionsSchema = z.object({
|
|
8
|
+
signal: CefAbortSignalSchema.optional(),
|
|
9
|
+
lifecycle: z.object({ signal: CefAbortSignalSchema }).optional()
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=readiness.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readiness.js","sourceRoot":"","sources":["../../src/schemas/readiness.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAc,CAAC,KAAK,EAAE,EAAE,CACnE,CAAC,CAAC,MAAM,CAAC;IACR,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,gBAAgB,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9B,mBAAmB,EAAE,CAAC,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,MAAM,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IACvC,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,oBAAoB,EAAE,CAAC,CAAC,QAAQ,EAAE;CAChE,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,93 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibesdotdev/host-cef",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"version": "1.0.0-rc.4",
|
|
4
|
+
"dependencies": {
|
|
5
|
+
"@vibesdotdev/kernel": "^1.0.0-rc.8",
|
|
6
|
+
"zod": "^4.6.7"
|
|
7
|
+
},
|
|
8
|
+
"peerDependencies": {
|
|
9
|
+
"@vibesdotdev/surface-sveltekit": "^1.0.0-rc.0"
|
|
10
|
+
},
|
|
11
|
+
"main": "./dist/index.js",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"bun": "./dist/index.js",
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"import": "./dist/index.js",
|
|
17
|
+
"default": "./dist/index.js"
|
|
18
|
+
},
|
|
19
|
+
"./environment": {
|
|
20
|
+
"bun": "./dist/environment.js",
|
|
21
|
+
"types": "./dist/environment.d.ts",
|
|
22
|
+
"import": "./dist/environment.js",
|
|
23
|
+
"default": "./dist/environment.js"
|
|
24
|
+
},
|
|
25
|
+
"./plugin": {
|
|
26
|
+
"bun": "./dist/runtime-environment-cef.plugin.js",
|
|
27
|
+
"types": "./dist/runtime-environment-cef.plugin.d.ts",
|
|
28
|
+
"import": "./dist/runtime-environment-cef.plugin.js",
|
|
29
|
+
"default": "./dist/runtime-environment-cef.plugin.js"
|
|
30
|
+
},
|
|
31
|
+
"./native-host/plugin": {
|
|
32
|
+
"bun": "./dist/native-host.plugin.js",
|
|
33
|
+
"types": "./dist/native-host.plugin.d.ts",
|
|
34
|
+
"import": "./dist/native-host.plugin.js",
|
|
35
|
+
"default": "./dist/native-host.plugin.js"
|
|
36
|
+
},
|
|
37
|
+
"./docs/plugin": {
|
|
38
|
+
"bun": "./dist/docs/plugin.js",
|
|
39
|
+
"types": "./dist/docs/plugin.d.ts",
|
|
40
|
+
"import": "./dist/docs/plugin.js",
|
|
41
|
+
"default": "./dist/docs/plugin.js"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"files": [
|
|
45
|
+
"dist",
|
|
46
|
+
"README.md",
|
|
47
|
+
"LICENSE",
|
|
48
|
+
"!dist/**/*.tsbuildinfo",
|
|
49
|
+
"!dist/**/__tests__/**",
|
|
50
|
+
"!dist/**/*.test.js",
|
|
51
|
+
"!dist/**/*.test.d.ts"
|
|
52
|
+
],
|
|
53
|
+
"scripts": {
|
|
54
|
+
"lint": "node ../node_modules/@vibesdotdev/internal-oxlint-toolchain/ratchet.mjs .",
|
|
55
|
+
"test": "${BUN:-bun} test src/__tests__/",
|
|
56
|
+
"check": "${BUN:-bun} --bun tsc -p tsconfig.json",
|
|
57
|
+
"build": "${BUN:-bun} --bun tsc -p tsconfig.build.json",
|
|
58
|
+
"prepack": "${BUN:-bun} --bun tsc -p tsconfig.build.json"
|
|
59
|
+
},
|
|
60
|
+
"repository": {
|
|
61
|
+
"type": "git",
|
|
62
|
+
"url": "ssh://git@git.vibes.dev/vibesdotdev/framework.git",
|
|
63
|
+
"directory": "host-cef"
|
|
64
|
+
},
|
|
65
|
+
"publishConfig": {
|
|
66
|
+
"registry": "https://packages.vibes.dev",
|
|
67
|
+
"access": "public"
|
|
68
|
+
},
|
|
69
|
+
"vibes": {
|
|
70
|
+
"visibility": "public",
|
|
71
|
+
"registry": {
|
|
72
|
+
"repositoryId": "4b1374d4-6830-4bfd-98e3-de66416368a8",
|
|
73
|
+
"directory": "host-cef"
|
|
74
|
+
},
|
|
75
|
+
"handedRuntimeLogging": true,
|
|
76
|
+
"host": true
|
|
77
|
+
},
|
|
78
|
+
"description": "Credential-dark CEF renderer environment facts and lifecycle for Vibes runtime surfaces.",
|
|
79
|
+
"type": "module",
|
|
80
|
+
"types": "./dist/index.d.ts",
|
|
81
|
+
"license": "MIT",
|
|
82
|
+
"peerDependenciesMeta": {
|
|
83
|
+
"@vibesdotdev/surface-sveltekit": {
|
|
84
|
+
"optional": true
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"gitHead": "f1ff526c235b10c970497738beb16b0651c428c8",
|
|
88
|
+
"_vibes_source": {
|
|
89
|
+
"repo": "ssh://git@git.vibes.dev/vibesdotdev/framework.git",
|
|
90
|
+
"sha": "f1ff526c235b10c970497738beb16b0651c428c8",
|
|
91
|
+
"workspaceDigest": "sha256:98f400362faea97e9731a4eafab2e1a4f54f3f316e155024e5cd0c9c61b637b8"
|
|
92
|
+
}
|
|
93
|
+
}
|