@remnic/capture-screen 9.24.0

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/dist/index.js ADDED
@@ -0,0 +1,132 @@
1
+ // openclaw-engram: Local-first memory plugin
2
+ import {
3
+ CAPTURE_SCREEN_VERSION,
4
+ CaptureConfigError,
5
+ CaptureInputError,
6
+ CaptureProcessor,
7
+ DEFAULT_DENY_APPS,
8
+ DEFAULT_DENY_TITLES,
9
+ DEFAULT_DENY_URLS,
10
+ DEFAULT_HOST,
11
+ DEFAULT_PORT,
12
+ DEFAULT_TERMINAL_APPS,
13
+ DedupCache,
14
+ NativeHelper,
15
+ REDACTION_PLACEHOLDER,
16
+ REPLAY_COMMIT_BATCH,
17
+ SECURE_ROLE,
18
+ SPOOL_SCHEMA_VERSION,
19
+ Spool,
20
+ activityDayWindow,
21
+ assertValidTimezone,
22
+ bearerFromHeader,
23
+ captureBaseDir,
24
+ capturePaths,
25
+ captureViaHelper,
26
+ compileRedactionPatterns,
27
+ computeStats,
28
+ contentHash,
29
+ createRequestHandler,
30
+ decodeCursor,
31
+ defaultDaemonConfig,
32
+ encodeCursor,
33
+ expandTilde,
34
+ extractAxText,
35
+ generateToken,
36
+ globToRegExp,
37
+ hammingDistance,
38
+ helperPackageName,
39
+ ingestReplayDir,
40
+ ingestReplayDirResponsive,
41
+ isProcessAlive,
42
+ isTerminalApp,
43
+ loadDaemonConfig,
44
+ loadOrCreateToken,
45
+ matchDenyRule,
46
+ matchesAnyGlob,
47
+ parseDaemonConfig,
48
+ parseLimit,
49
+ parseSnapshotDate,
50
+ readPidFile,
51
+ readPidRecord,
52
+ redactText,
53
+ removePidFile,
54
+ removePidFileIfOwner,
55
+ resolveHelperBinaryPath,
56
+ runCapture,
57
+ runHelperCommand,
58
+ serializeDaemonConfig,
59
+ simhash,
60
+ simhashFromHex,
61
+ simhashToHex,
62
+ startDaemon,
63
+ superviseReplay,
64
+ tokensMatch,
65
+ writePidFile
66
+ } from "./chunk-5EJ57MSJ.js";
67
+ export {
68
+ CAPTURE_SCREEN_VERSION,
69
+ CaptureConfigError,
70
+ CaptureInputError,
71
+ CaptureProcessor,
72
+ DEFAULT_DENY_APPS,
73
+ DEFAULT_DENY_TITLES,
74
+ DEFAULT_DENY_URLS,
75
+ DEFAULT_HOST,
76
+ DEFAULT_PORT,
77
+ DEFAULT_TERMINAL_APPS,
78
+ DedupCache,
79
+ NativeHelper,
80
+ REDACTION_PLACEHOLDER,
81
+ REPLAY_COMMIT_BATCH,
82
+ SECURE_ROLE,
83
+ SPOOL_SCHEMA_VERSION,
84
+ Spool,
85
+ activityDayWindow,
86
+ assertValidTimezone,
87
+ bearerFromHeader,
88
+ captureBaseDir,
89
+ capturePaths,
90
+ captureViaHelper,
91
+ compileRedactionPatterns,
92
+ computeStats,
93
+ contentHash,
94
+ createRequestHandler,
95
+ decodeCursor,
96
+ defaultDaemonConfig,
97
+ encodeCursor,
98
+ expandTilde,
99
+ extractAxText,
100
+ generateToken,
101
+ globToRegExp,
102
+ hammingDistance,
103
+ helperPackageName,
104
+ ingestReplayDir,
105
+ ingestReplayDirResponsive,
106
+ isProcessAlive,
107
+ isTerminalApp,
108
+ loadDaemonConfig,
109
+ loadOrCreateToken,
110
+ matchDenyRule,
111
+ matchesAnyGlob,
112
+ parseDaemonConfig,
113
+ parseLimit,
114
+ parseSnapshotDate,
115
+ readPidFile,
116
+ readPidRecord,
117
+ redactText,
118
+ removePidFile,
119
+ removePidFileIfOwner,
120
+ resolveHelperBinaryPath,
121
+ runCapture,
122
+ runHelperCommand,
123
+ serializeDaemonConfig,
124
+ simhash,
125
+ simhashFromHex,
126
+ simhashToHex,
127
+ startDaemon,
128
+ superviseReplay,
129
+ tokensMatch,
130
+ writePidFile
131
+ };
132
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
package/package.json ADDED
@@ -0,0 +1,66 @@
1
+ {
2
+ "name": "@remnic/capture-screen",
3
+ "version": "9.24.0",
4
+ "description": "Desktop screen-activity capture daemon for Remnic — local spool, loopback HTTP API, and replay ingestion for the activity source `screen` (à-la-carte)",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "bin": {
9
+ "remnic-capture-screen": "./dist/cli-bin.js"
10
+ },
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/index.js"
15
+ }
16
+ },
17
+ "files": [
18
+ "dist"
19
+ ],
20
+ "scripts": {
21
+ "build": "tsup src/index.ts src/cli-bin.ts --format esm --dts",
22
+ "check-types": "tsc --noEmit",
23
+ "test": "tsx --test src/simhash.test.ts src/dedup.test.ts src/daywindow.test.ts src/denylist.test.ts src/axtree.test.ts src/redact.test.ts src/config.test.ts src/validate.test.ts src/util.test.ts src/token.test.ts src/spool.test.ts src/capture.test.ts src/helper.test.ts src/replay.test.ts src/scheduler.test.ts src/daemon.test.ts src/cli.test.ts",
24
+ "prepublishOnly": "npm run build"
25
+ },
26
+ "publishConfig": {
27
+ "access": "public",
28
+ "provenance": true
29
+ },
30
+ "engines": {
31
+ "node": ">=22.13.0"
32
+ },
33
+ "peerDependencies": {
34
+ "@remnic/capture-native-darwin-arm64": "^9.24.0",
35
+ "@remnic/capture-native-darwin-x64": "^9.24.0"
36
+ },
37
+ "peerDependenciesMeta": {
38
+ "@remnic/capture-native-darwin-arm64": {
39
+ "optional": true
40
+ },
41
+ "@remnic/capture-native-darwin-x64": {
42
+ "optional": true
43
+ }
44
+ },
45
+ "devDependencies": {
46
+ "@types/node": "^22.10.0",
47
+ "tsup": "^8.0.0",
48
+ "typescript": "^5.7.0",
49
+ "tsx": "^4.0.0"
50
+ },
51
+ "license": "MIT",
52
+ "repository": {
53
+ "type": "git",
54
+ "url": "https://github.com/joshuaswarren/remnic.git",
55
+ "directory": "packages/capture-screen"
56
+ },
57
+ "keywords": [
58
+ "remnic",
59
+ "memory",
60
+ "activity",
61
+ "desktop",
62
+ "screen",
63
+ "capture",
64
+ "accessibility"
65
+ ]
66
+ }