@dns-data/remote 0.2.14 → 0.2.16
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 +49 -0
- package/bin/dns-data.js +9 -9
- package/bin/native-platform.js +11 -0
- package/native/macos-arm64 +0 -0
- package/native/macos-x64 +0 -0
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -34,3 +34,52 @@ The desktop shortcut always executes npm @latest, not a fixed local binary.
|
|
|
34
34
|
Repeated runs do not duplicate it; unrelated user files and symlinks are
|
|
35
35
|
not replaced. Failure to write the Desktop does not prevent service startup.
|
|
36
36
|
No extra Mac app, SSH, SMB, file relay or changes to account entitlements.
|
|
37
|
+
|
|
38
|
+
## Version 0.2.15 candidate - macOS context continuation
|
|
39
|
+
|
|
40
|
+
macOS Agent adds memory_context_checkpoint, memory_context_resume, and
|
|
41
|
+
memory_context_list on top of the existing encrypted LAN-synchronized
|
|
42
|
+
memory mechanism already validated on Windows. This version does not
|
|
43
|
+
change the Windows binary, Windows client UI, or account entitlements.
|
|
44
|
+
MCP clients must call checkpoint tools; the Agent does not have access to
|
|
45
|
+
provider chat messages not supplied to it. A new AI conversation will not
|
|
46
|
+
necessarily resume unless its AI provider calls memory_context_resume.
|
|
47
|
+
No browser auto-open is introduced.
|
|
48
|
+
|
|
49
|
+
Mac 0.4.11 context management: the localhost management page now shows
|
|
50
|
+
active task continuation, next action, milestones, and explicit checkpoint
|
|
51
|
+
updates. Concurrent device edits can be reviewed and resolved by choosing
|
|
52
|
+
a version with confirmation. All operations use the existing authenticated
|
|
53
|
+
Agent memory tools and encrypted LAN sync. No independent memory store,
|
|
54
|
+
cloud relay, new persistent port, Windows binary update, or browser auto-open.
|
|
55
|
+
|
|
56
|
+
AI-provider automatic checkpoint creation remains dependent on that AI
|
|
57
|
+
client invoking MCP memory tools; a native Agent cannot observe provider
|
|
58
|
+
conversations the provider never sends.
|
|
59
|
+
|
|
60
|
+
## 0.2.16 candidate: macOS unified MCP knowledge tools
|
|
61
|
+
|
|
62
|
+
The macOS native Agent restores the six knowledge interfaces already present
|
|
63
|
+
in the established Windows Agent: knowledge_index_path, knowledge_search,
|
|
64
|
+
knowledge_watch_add, knowledge_watch_remove, knowledge_watch_status and
|
|
65
|
+
knowledge_remove_source. Document chunks and index metadata use authenticated
|
|
66
|
+
encrypted memory events and the existing account LAN synchronization. This
|
|
67
|
+
candidate deliberately excludes earlier plaintext SQLite index code and
|
|
68
|
+
does not change the Windows executable.
|
|
69
|
+
|
|
70
|
+
The three new task-checkpoint interfaces remain on macOS. AI platform tool
|
|
71
|
+
discovery also depends on the provider's external MCP connector catalog.
|
|
72
|
+
|
|
73
|
+
## Unified npm startup - Windows x64 and macOS Apple Silicon/Intel
|
|
74
|
+
|
|
75
|
+
All supported OS/CPU combinations use the identical command:
|
|
76
|
+
|
|
77
|
+
npx -y @dns-data/remote@latest
|
|
78
|
+
|
|
79
|
+
The npm wrapper selects the verified native Agent for Windows x64,
|
|
80
|
+
macOS ARM64 or macOS x64. The existing Windows native Agent and independent
|
|
81
|
+
Windows client are unchanged. Both macOS architectures install into distinct
|
|
82
|
+
stable per-user Agent paths. The package performs no automatic browser launch.
|
|
83
|
+
Unsupported CPU/OS combinations receive an explicit error instead of silently
|
|
84
|
+
loading an incorrect binary. No change to account entitlements or native
|
|
85
|
+
Windows functionality is made by this cross-platform entrypoint.
|
package/bin/dns-data.js
CHANGED
|
@@ -6,14 +6,14 @@ const crypto=require('crypto');
|
|
|
6
6
|
const os=require('os');
|
|
7
7
|
const {spawn}=require('child_process');
|
|
8
8
|
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
'
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
const nativeName=
|
|
16
|
-
|
|
9
|
+
const {selectNative}=require('./native-platform');
|
|
10
|
+
const nativeSpec=selectNative(process.platform,process.arch);
|
|
11
|
+
if(!nativeSpec){
|
|
12
|
+
console.error('[ERROR] Unsupported DNS-DATA platform '+process.platform+'-'+process.arch+'. Supported: Windows x64, macOS Apple Silicon and Intel.');
|
|
13
|
+
process.exit(2);
|
|
14
|
+
}
|
|
15
|
+
const nativeName=nativeSpec.file;
|
|
16
|
+
const expected={[nativeName]:nativeSpec.sha256};
|
|
17
17
|
const binary=path.resolve(__dirname,'..','native',nativeName);
|
|
18
18
|
try{
|
|
19
19
|
const hash=crypto.createHash('sha256').update(fs.readFileSync(binary)).digest('hex');
|
|
@@ -29,7 +29,7 @@ let runtimeBinary=binary;
|
|
|
29
29
|
if(process.platform==='darwin'){
|
|
30
30
|
const stableDir=path.join(os.homedir(),'Library','Application Support',
|
|
31
31
|
'DNS-DATA','Remote-Agent');
|
|
32
|
-
const stableBinary=path.join(stableDir,'dns-data-agent-
|
|
32
|
+
const stableBinary=path.join(stableDir,'dns-data-agent-'+nativeName);
|
|
33
33
|
const digest=(p)=>crypto.createHash('sha256').update(fs.readFileSync(p)).digest('hex');
|
|
34
34
|
try {
|
|
35
35
|
fs.mkdirSync(stableDir,{recursive:true,mode:0o700});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
// One universal NPM command, with an exact per-platform verified Agent.
|
|
3
|
+
const nativeByPlatform=Object.freeze({
|
|
4
|
+
'win32-x64':Object.freeze({file:'windows-x64.exe',sha256:'8f54d053ad08bcb7afe906bba6c6fd12ab5b465121f18d351a58b79076ab3cb0'}),
|
|
5
|
+
'darwin-arm64':Object.freeze({file:'macos-arm64',sha256:'a623772545c8644e8222b38889dd84858ae22c1bfa1c3ea548cfc2280b023328'}),
|
|
6
|
+
'darwin-x64':Object.freeze({file:'macos-x64',sha256:'10df6c9fb57edb11b82cef00218feaf2a7a9a68d1a5ac2a51caee747aeacb89b'})
|
|
7
|
+
});
|
|
8
|
+
function selectNative(platform,arch){
|
|
9
|
+
return nativeByPlatform[platform+'-'+arch]||null;
|
|
10
|
+
}
|
|
11
|
+
module.exports={selectNative,nativeByPlatform};
|
package/native/macos-arm64
CHANGED
|
Binary file
|
package/native/macos-x64
ADDED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dns-data/remote",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "DNS-DATA
|
|
3
|
+
"version": "0.2.16",
|
|
4
|
+
"description": "DNS-DATA unified npm launcher for Windows x64 and macOS Apple Silicon/Intel with automatic native Agent selection",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"private": false,
|
|
7
7
|
"bin": {
|
|
@@ -16,9 +16,11 @@
|
|
|
16
16
|
],
|
|
17
17
|
"files": [
|
|
18
18
|
"bin/dns-data.js",
|
|
19
|
+
"bin/native-platform.js",
|
|
19
20
|
"bin/desktop-shortcut.js",
|
|
20
21
|
"native/windows-x64.exe",
|
|
21
22
|
"native/macos-arm64",
|
|
23
|
+
"native/macos-x64",
|
|
22
24
|
"README.md",
|
|
23
25
|
"DISCLOSURE"
|
|
24
26
|
],
|