@nettoolskit/det 0.0.1-preview.1 → 0.0.1-preview.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 +15 -2
- package/npm/native/det +0 -0
- package/npm/native/det.exe +0 -0
- package/package.json +9 -3
- package/scripts/npm/guard-preview-publish.js +19 -0
package/README.md
CHANGED
|
@@ -17,10 +17,15 @@ run with semantic grounding, traceability, safety, and measurable performance.
|
|
|
17
17
|
It is not an agent framework and it does not own provider execution, memory
|
|
18
18
|
storage, machine control, or downstream product orchestration.
|
|
19
19
|
|
|
20
|
+
The primary operating model is host-controlled: Codex, Copilot, the CLI, or
|
|
21
|
+
another host invokes DET for semantic planning, admission, verification, and
|
|
22
|
+
traceability. Provider-mediated LLM calls are auxiliary admitted steps inside
|
|
23
|
+
the DET graph, not the product's main control mode.
|
|
24
|
+
|
|
20
25
|
MEVRA proposes operational meaning. Meaning Memory validates and persists
|
|
21
26
|
meaning. Metacognition monitors objective, focus, uncertainty, conflict, and
|
|
22
27
|
risk. Verification validates. Anti-Deception protects. The LLM verbalizes. DET
|
|
23
|
-
arbitrates
|
|
28
|
+
arbitrates the execution graph.
|
|
24
29
|
|
|
25
30
|
---
|
|
26
31
|
|
|
@@ -31,6 +36,7 @@ arbitrates and executes.
|
|
|
31
36
|
- ✅ Meaning Memory integration boundaries for global, catalog, project-registry, and project-local memory layers.
|
|
32
37
|
- ✅ Agent and Codegen consumption boundaries that avoid duplicating deterministic function implementations.
|
|
33
38
|
- ✅ Operational `det run --task` dry-run entrypoint for governed route planning and traceability.
|
|
39
|
+
- ✅ Host-controlled DET invocation model with LLM use limited to admitted auxiliary steps.
|
|
34
40
|
- ✅ Harness-derived evidence, benchmark, and effectiveness contracts inside the DET workspace.
|
|
35
41
|
- ✅ River-first validation model for Rust quality, package validation, and CI/CD governance.
|
|
36
42
|
|
|
@@ -79,6 +85,9 @@ and verification boundaries. It consumes `nettoolskit-agent` and
|
|
|
79
85
|
`nettoolskit-codegen` deterministic functions without duplicating their code.
|
|
80
86
|
It integrates with `nettoolskit-memory` through Meaning Memory contracts and
|
|
81
87
|
keeps storage, indexing, retrieval, and persistence in Memory.
|
|
88
|
+
Shared Rust abstractions come from `nettoolskit-rust` when they are product
|
|
89
|
+
neutral; for example, DET runtime reference validation uses
|
|
90
|
+
`nettoolskit-validation` instead of duplicating relative-path safety logic.
|
|
82
91
|
|
|
83
92
|
`nettoolskit-copilot` is a product surface that can use DET and remote control
|
|
84
93
|
services. DET does not depend on Copilot or Control.
|
|
@@ -137,6 +146,7 @@ Supported operator paths and release-readiness details live in
|
|
|
137
146
|
Operational details are intentionally kept out of the root README:
|
|
138
147
|
|
|
139
148
|
- Basic usage: [docs/getting-started/basic-usage.md](docs/getting-started/basic-usage.md)
|
|
149
|
+
- First real use: [docs/getting-started/first-real-use.md](docs/getting-started/first-real-use.md)
|
|
140
150
|
- Operational task runtime: `det run --task --json <run-task-request.json>`
|
|
141
151
|
- DET home and Meaning Memory layers: [docs/det-home-memory.md](docs/det-home-memory.md)
|
|
142
152
|
- Local validation and CI/CD routing: [docs/operations/local-validation.md](docs/operations/local-validation.md)
|
|
@@ -250,4 +260,7 @@ and Git.
|
|
|
250
260
|
This project is licensed under the MIT License. See the LICENSE file at the
|
|
251
261
|
repository root for details.
|
|
252
262
|
|
|
253
|
-
---
|
|
263
|
+
---
|
|
264
|
+
## Package publication
|
|
265
|
+
|
|
266
|
+
Current source preview target: `@nettoolskit/det@0.0.1-preview.2`. The public npm registry may still expose `0.0.1-preview.1` until an authenticated preview publication runs. Use `npx @nettoolskit/det` for ephemeral execution or `det` or `ntk-det` after global installation. GitRiver stage `river/package` runs package dry-run validation on pull requests, and `river/release` owns mutating publication only from `main` or `v*` source refs.
|
package/npm/native/det
ADDED
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nettoolskit/det",
|
|
3
|
-
"version": "0.0.1-preview.
|
|
3
|
+
"version": "0.0.1-preview.2",
|
|
4
4
|
"description": "NetToolsKit DET command-line wrapper.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -27,14 +27,20 @@
|
|
|
27
27
|
"npm/cli/det.js",
|
|
28
28
|
"npm/native/",
|
|
29
29
|
"npm/runtime/bootstrap.js",
|
|
30
|
+
"scripts/npm/guard-preview-publish.js",
|
|
30
31
|
"scripts/npm/postinstall.js"
|
|
31
32
|
],
|
|
32
33
|
"scripts": {
|
|
33
34
|
"test:postinstall-integrity": "node scripts/npm/test-postinstall-integrity.js",
|
|
34
|
-
"postinstall": "node scripts/npm/postinstall.js"
|
|
35
|
+
"postinstall": "node scripts/npm/postinstall.js",
|
|
36
|
+
"pack:dry-run": "npm pack --ignore-scripts --dry-run",
|
|
37
|
+
"prepublishOnly": "node scripts/npm/guard-preview-publish.js",
|
|
38
|
+
"publish:preview": "npm publish --access public --tag preview",
|
|
39
|
+
"publish:preview:dry-run": "npm publish --dry-run --access public --tag preview"
|
|
35
40
|
},
|
|
36
41
|
"publishConfig": {
|
|
37
|
-
"access": "public"
|
|
42
|
+
"access": "public",
|
|
43
|
+
"tag": "preview"
|
|
38
44
|
},
|
|
39
45
|
"engines": {
|
|
40
46
|
"node": ">=18"
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const packageJson = require("../../package.json");
|
|
4
|
+
|
|
5
|
+
const version = packageJson.version || "";
|
|
6
|
+
const tag = process.env.npm_config_tag || process.env.NPM_CONFIG_TAG || "";
|
|
7
|
+
|
|
8
|
+
function fail(message) {
|
|
9
|
+
console.error(message);
|
|
10
|
+
process.exit(1);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
if (!version.includes("-preview.")) {
|
|
14
|
+
fail(`Refusing npm publish: ${packageJson.name}@${version} is not a preview version.`);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
if (tag !== "preview") {
|
|
18
|
+
fail("Refusing npm publish: preview packages must be published with --tag preview.");
|
|
19
|
+
}
|