harness-agents 0.1.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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 DEVfancybear
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,13 @@
1
+ # harness-agents
2
+
3
+ `ha` is a local coding agent written in Rust. It runs in your terminal against your project, calls a model provider (DeepSeek by default), reads and edits code through approval-gated tools, and keeps every conversation, tool result and learned fact in a local SQLite store, so a session can be resumed, inspected or continued later.
4
+
5
+ ```powershell
6
+ npm install -g harness-agents
7
+ ha --version
8
+ ha # open the app, then /login to pick a provider
9
+ ```
10
+
11
+ Windows 10/11 x64 only for now; Linux is not supported yet. The package carries `ha.exe`, the pinned `uv.exe` its Python kernel uses, `ha.release.json` (version, rustc, source revision and the executable's digest) and `checksums.txt`.
12
+
13
+ Documentation, source and releases: https://github.com/DEVfancybear/harness-agents
package/bin/ha.js ADDED
@@ -0,0 +1,31 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';
3
+
4
+ // Starts the `ha.exe` that ships in this package and hands the terminal over;
5
+ // ha itself does everything else. `os`/`cpu` in package.json make npm refuse the
6
+ // install anywhere but Windows x64, so there is no other platform to handle here.
7
+
8
+ const { spawn } = require('node:child_process');
9
+ const path = require('node:path');
10
+
11
+ const executable = path.join(__dirname, '..', 'ha.exe');
12
+
13
+ // A Ctrl+C typed in the console reaches this process too; ha decides what it
14
+ // means (it pauses a goal, it cancels a turn), so this process must not exit
15
+ // before it does.
16
+ for (const signal of ['SIGINT', 'SIGTERM', 'SIGBREAK']) {
17
+ process.on(signal, () => {});
18
+ }
19
+
20
+ const child = spawn(executable, process.argv.slice(2), { stdio: 'inherit' });
21
+ child.on('error', (error) => {
22
+ process.stderr.write(`ha: cannot start ${executable}: ${error.message}\n`);
23
+ process.exit(1);
24
+ });
25
+ child.on('exit', (code, signal) => {
26
+ if (signal) {
27
+ process.kill(process.pid, signal);
28
+ return;
29
+ }
30
+ process.exit(code ?? 1);
31
+ });
package/checksums.txt ADDED
@@ -0,0 +1,3 @@
1
+ 61a9c12f3de0c23c1a10be061fd00745700d4caba7204160c75c8bfdfdceeeb8 ha.exe
2
+ 4684eb7dd3be6414c6fcadaeaeffb3e6d31f95f3753eec980ca4ebf89cee778c ha.release.json
3
+ f94eddb81f3addca6ef8f2361a70c3edde31adcbd1000a55fc6674306ae0b1e7 uv.exe
package/ha.exe ADDED
@@ -0,0 +1,4 @@
1
+ [diffend] Oversized file quarantined before diffing.
2
+ name: package/ha.exe
3
+ size: 41242624 bytes
4
+ sha256: 61a9c12f3de0c23c1a10be061fd00745700d4caba7204160c75c8bfdfdceeeb8
@@ -0,0 +1,13 @@
1
+ {
2
+ "schema_version": 1,
3
+ "name": "ha",
4
+ "version": "ha 0.1.0",
5
+ "target": "x86_64-pc-windows-msvc",
6
+ "executable": "ha.exe",
7
+ "sha256": "61a9c12f3de0c23c1a10be061fd00745700d4caba7204160c75c8bfdfdceeeb8",
8
+ "profile": "Release",
9
+ "build_commit": "e987356b5eb9a1a5417d5811c1f36ad576c48cb5",
10
+ "rustc": "rustc 1.97.1 (8bab26f4f 2026-07-14)",
11
+ "built_at": "2026-09-30T01:56:52Z",
12
+ "published": false
13
+ }
package/package.json ADDED
@@ -0,0 +1,46 @@
1
+ {
2
+ "name": "harness-agents",
3
+ "version": "0.1.1",
4
+ "description": "ha - a local coding agent in Rust: terminal app, approval-gated tools, persistent memory in SQLite, resumable sessions.",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/DEVfancybear/harness-agents.git"
9
+ },
10
+ "homepage": "https://github.com/DEVfancybear/harness-agents#readme",
11
+ "bugs": "https://github.com/DEVfancybear/harness-agents/issues",
12
+ "keywords": [
13
+ "coding-agent",
14
+ "ai-agent",
15
+ "llm",
16
+ "cli",
17
+ "tui",
18
+ "deepseek",
19
+ "mcp",
20
+ "rust"
21
+ ],
22
+ "os": [
23
+ "win32"
24
+ ],
25
+ "cpu": [
26
+ "x64"
27
+ ],
28
+ "bin": {
29
+ "ha": "bin/ha.js"
30
+ },
31
+ "files": [
32
+ "bin/ha.js",
33
+ "ha.exe",
34
+ "uv.exe",
35
+ "ha.release.json",
36
+ "checksums.txt",
37
+ "README.md",
38
+ "LICENSE"
39
+ ],
40
+ "engines": {
41
+ "node": ">=18"
42
+ },
43
+ "publishConfig": {
44
+ "access": "public"
45
+ }
46
+ }
package/uv.exe ADDED
@@ -0,0 +1,4 @@
1
+ [diffend] Oversized file quarantined before diffing.
2
+ name: package/uv.exe
3
+ size: 42417456 bytes
4
+ sha256: f94eddb81f3addca6ef8f2361a70c3edde31adcbd1000a55fc6674306ae0b1e7