@allocator-one/harness-cli 1.17.0 → 1.17.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/README.md +12 -4
- package/dist/{chunk-W7BVOQQG.js → chunk-XA5UDNJI.js} +1 -1
- package/dist/cli.js +263 -88
- package/dist/{infraone-V3IKKVBG.js → infraone-7TAHY4RN.js} +1 -1
- package/dist/infraone-SLZXBJCV.js +22133 -0
- package/dist/infraone.js +3 -3
- package/package.json +1 -1
- package/dist/infraone-A3KDADRM.js +0 -249
- /package/dist/{chunk-A4WZAC7L.js → chunk-67NX7MJ2.js} +0 -0
package/README.md
CHANGED
|
@@ -959,8 +959,12 @@ source scanning. Source content is never included in diagnostics.
|
|
|
959
959
|
grammar: each line is trimmed; `#` and `!` lines are skipped; and a backslash
|
|
960
960
|
is literal. The CLI reports warnings for skipped `!` lines and backslashes.
|
|
961
961
|
Patterns are case-sensitive, limited to 256 bytes and eight `*` characters,
|
|
962
|
-
and an ignore file has at most 1,000 patterns and 64 KiB.
|
|
963
|
-
|
|
962
|
+
and an ignore file has at most 1,000 patterns and 64 KiB. Matching uses the
|
|
963
|
+
server's UTF-8 byte semantics (`?` matches one byte), ASCII-only case folding
|
|
964
|
+
for deny globs, and linear-time wildcard matching. Unicode whitespace is trimmed;
|
|
965
|
+
a byte-order mark is literal. The client refuses ignore files above 64 KiB and
|
|
966
|
+
Git metadata above 16 MiB. The server's indexed extensions are exact, so `.TS`
|
|
967
|
+
is distinct from `.ts`.
|
|
964
968
|
|
|
965
969
|
The working copy's `.harnesscodeignore` governs its view. The CLI compares it with
|
|
966
970
|
the committed ignore file: newly ignored base paths become delete entries, and
|
|
@@ -970,7 +974,7 @@ It never reads unchanged source content from the base. If ignore changes exceed
|
|
|
970
974
|
|
|
971
975
|
View/session state is isolated by server, organization, repository and worktree
|
|
972
976
|
under the user’s cache directory. `HARNESS_CODE_STATE_DIR` overrides the directory
|
|
973
|
-
and must be absolute. It stores control metadata and hashes, not source bytes or
|
|
977
|
+
and must be absolute when non-empty (an empty override is unset). It stores control metadata and hashes, not source bytes or
|
|
974
978
|
tokens. Retrying the same interrupted overlay reuses its client ID. An uncertain
|
|
975
979
|
activation retains its opened sync ID and timestamp; the CLI reads that sync and
|
|
976
980
|
records its original pending version once it is no longer receiving. A missing sync
|
|
@@ -982,7 +986,11 @@ second sync is refused while one is running, because opening a sync can replace
|
|
|
982
986
|
unactivated syncs on the server. If the process is forcibly interrupted, its error
|
|
983
987
|
message names the lock directory; remove it only after confirming no sync is running.
|
|
984
988
|
The server refuses overlays above 20,000 paths; sync against a newer base commit. A failed index is reported as `failed` with exit
|
|
985
|
-
code 1
|
|
989
|
+
code 1. A worktree with no active or pending version, or a removed cached view,
|
|
990
|
+
is `not_synced`; an existing active snapshot that no longer matches is `stale`.
|
|
991
|
+
An activation receipt records an assigned version, including a superseded or
|
|
992
|
+
failed one; only `code status` reporting `current` proves that the indexed active
|
|
993
|
+
version matches the local snapshot.
|
|
986
994
|
|
|
987
995
|
### Query the active view
|
|
988
996
|
|
|
@@ -1376,7 +1376,7 @@ async function loadSpec(config) {
|
|
|
1376
1376
|
return { spec: await bundledSpec(), fingerprint: null, source: "bundled" };
|
|
1377
1377
|
}
|
|
1378
1378
|
async function bundledSpec() {
|
|
1379
|
-
const module = await import("./infraone-
|
|
1379
|
+
const module = await import("./infraone-SLZXBJCV.js");
|
|
1380
1380
|
const spec = module.default;
|
|
1381
1381
|
if (!isSpec(spec)) throw new Error("the bundled spec/infraone.json is not an OpenAPI document");
|
|
1382
1382
|
return spec;
|