@nodrift/cli 0.0.1
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 +21 -0
- package/README.md +41 -0
- package/bin/nodrift.js +12 -0
- package/package.json +28 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Prism Labs (prismlabs.tech)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# nodrift
|
|
2
|
+
|
|
3
|
+
> Flight recorder + bisect for AI agent behavior. Your agent got worse overnight — find out why in 10 seconds.
|
|
4
|
+
|
|
5
|
+
Agent behavior is determined by a composite nobody version-controls as a system: `CLAUDE.md`, skills, `.cursor/rules`, MCP server versions, harness/CLI version, model. Any of these can change without you — marketplace skills auto-update, harnesses ship silent changes, providers update models. nodrift snapshots the full composite, shows you exactly what changed, ranks the suspects, and rolls back the culprit.
|
|
6
|
+
|
|
7
|
+
**Status: pre-release.** First public release targeted before 2026-07-28 (the MCP spec RC ships six breaking changes that day — `nodrift scan mcp` will tell you what breaks for you).
|
|
8
|
+
|
|
9
|
+
## Quick start (once released)
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
npx @nodrift/cli init # snapshot your full agent-config composite, <60s, no login
|
|
13
|
+
nodrift diff # git status for your agent config — incl. global files
|
|
14
|
+
nodrift blame --since "last friday" # ranked candidate causes for "it got worse"
|
|
15
|
+
nodrift rollback skill:<name> --to <version>
|
|
16
|
+
nodrift scan mcp # what the 2026-07-28 MCP RC breaks in your config
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## What it does — and what it honestly can't
|
|
20
|
+
|
|
21
|
+
- `blame` produces **candidate causes, not verdicts** — correlation from timing, change magnitude, and source. Verdicts require running your eval suite across states (`bisect`, coming in v1.1).
|
|
22
|
+
- Harness internals are unobservable: we can detect *that* behavior-determining state changed, not always *what* a vendor changed inside a release.
|
|
23
|
+
- Canary evals (v1.1) are smoke detectors, not MRIs: they catch gross regressions (ignored instructions, skills not firing), not every subtle shift.
|
|
24
|
+
|
|
25
|
+
## Supported harnesses
|
|
26
|
+
|
|
27
|
+
Claude Code and Cursor at launch; Codex CLI and Copilot next. Adapters are read-only — nodrift never wraps, hooks, or instruments your agent at runtime.
|
|
28
|
+
|
|
29
|
+
## Telemetry
|
|
30
|
+
|
|
31
|
+
Opt-in only, and inspectable: `nodrift telemetry --show-payload` prints exactly what would be sent (event names, config hashes, version strings — never file contents, paths, or prompts). `--no-telemetry`, config, and `NODRIFT_TELEMETRY=0` are all honored, forever.
|
|
32
|
+
|
|
33
|
+
## Docs
|
|
34
|
+
|
|
35
|
+
- [Roadmap](docs/roadmap.md) — what's coming, in order
|
|
36
|
+
- [Decisions](docs/decisions.md) — public architecture decision records
|
|
37
|
+
- [Contributing](CONTRIBUTING.md) · [Security](SECURITY.md)
|
|
38
|
+
|
|
39
|
+
## License
|
|
40
|
+
|
|
41
|
+
[MIT](LICENSE). Contributions accepted under the [Developer Certificate of Origin](CONTRIBUTING.md#developer-certificate-of-origin).
|
package/bin/nodrift.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
console.log(`
|
|
3
|
+
nodrift — flight recorder + bisect for AI agent behavior
|
|
4
|
+
|
|
5
|
+
Your agent got worse overnight. Was it your skill edit, a marketplace
|
|
6
|
+
auto-update, the harness release, or the model?
|
|
7
|
+
|
|
8
|
+
v0.0.1 is a placeholder. First real release lands before 2026-07-28.
|
|
9
|
+
|
|
10
|
+
→ https://nodrift.dev
|
|
11
|
+
→ https://github.com/nodrift-dev/nodrift
|
|
12
|
+
`);
|
package/package.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nodrift/cli",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Flight recorder + bisect for AI agent behavior. Coming soon — nodrift.dev",
|
|
5
|
+
"bin": {
|
|
6
|
+
"nodrift": "bin/nodrift.js"
|
|
7
|
+
},
|
|
8
|
+
"files": [
|
|
9
|
+
"bin"
|
|
10
|
+
],
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/nodrift-dev/nodrift.git"
|
|
15
|
+
},
|
|
16
|
+
"homepage": "https://nodrift.dev",
|
|
17
|
+
"keywords": [
|
|
18
|
+
"ai-agents",
|
|
19
|
+
"claude-code",
|
|
20
|
+
"cursor",
|
|
21
|
+
"config-drift",
|
|
22
|
+
"regression",
|
|
23
|
+
"cli"
|
|
24
|
+
],
|
|
25
|
+
"engines": {
|
|
26
|
+
"node": ">=20"
|
|
27
|
+
}
|
|
28
|
+
}
|