@okfit/cli 0.3.0 → 0.4.0
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 +10 -7
- package/index.d.ts +1 -1
- package/package.json +4 -4
- package/version.js +1 -1
package/README.md
CHANGED
|
@@ -51,13 +51,16 @@ diagnostic (no file at all) prints `(bundle)` in place of `<file>`.
|
|
|
51
51
|
Diagnostics sort by file (so `(bundle)` leads), then range-less before
|
|
52
52
|
ranged, then by offset, then by code.
|
|
53
53
|
|
|
54
|
-
`--skip-provenance` skips the `generated-at-drift` lint's git tier
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
54
|
+
`--skip-provenance` skips the `generated-at-drift` lint's git tier for
|
|
55
|
+
this one invocation, without touching the project's `[lint]` table. That
|
|
56
|
+
is `Provenance.lint`'s tier 2 only — the git-derived date comparison used
|
|
57
|
+
for a concept stamped before `generated.body_sha256` existed. The digest
|
|
58
|
+
tier still runs: it compares the recorded digest against the body already
|
|
59
|
+
in memory, so it spawns nothing and still reports a body edited without a
|
|
60
|
+
re-stamp. The Claude Code plugin's PostToolUse hook passes the flag on
|
|
61
|
+
every edit-time `validate` call so a git spawn per concept never runs on
|
|
62
|
+
keystroke-level edits; CI and the MCP `validate_bundle` tool omit it and
|
|
63
|
+
keep both tiers.
|
|
61
64
|
|
|
62
65
|
### `okfit init`
|
|
63
66
|
|
package/index.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ import "effect";
|
|
|
20
20
|
*
|
|
21
21
|
* @public
|
|
22
22
|
*/
|
|
23
|
-
export declare const rootCommand: Command.Command<"okfit", {} | {}, {}, import("@okfit/profiles").AgentActorUnconfiguredError | import("@okfit/core").BundleDepthExceededError | import("@okfit/core").BundleReadError | import("@okfit/core").BundleRootNotFoundError | import("@effected/config-file").ConfigCodecError | import("@effected/config-file").ConfigFileReadError | import("@okfit/engine").ConfigMalformedError | import("@okfit/engine").ConfigPathNotFoundError | import("@effected/config-file").ConfigValidationError | import("@effected/markdown").FrontmatterEncodeError | import("@effected/markdown").FrontmatterFormatMismatchError | import("@effected/markdown").FrontmatterValidationError | import("@effected/git").GitCommandError | import("@okfit/profiles").GitHistoryError | import("@okfit/profiles").HumanActorUnresolvedError | import("@okfit/engine").InitOverwriteError | import("@effected/markdown").MarkdownParseError | import("@effected/git").NotARepositoryError | import("effect/PlatformError").PlatformError | import("effect/Schema").SchemaError | import("@effected/git").UnknownRefError | import("@okfit/engine").VerifyConceptNotFoundError | import("@okfit/engine").VerifyUnsupportedFrontmatterError | import("@effected/yaml").YamlParseError, import("@effected/xdg").AppDirs | import("effect/unstable/process/ChildProcessSpawner").ChildProcessSpawner | import("effect/FileSystem").FileSystem | import("@okfit/engine").Now | import("effect/Path").Path | import("@effected/xdg").Xdg>;
|
|
23
|
+
export declare const rootCommand: Command.Command<"okfit", {} | {}, {}, import("@okfit/profiles").AgentActorUnconfiguredError | import("@okfit/core").BundleDepthExceededError | import("@okfit/core").BundleReadError | import("@okfit/core").BundleRootNotFoundError | import("@effected/config-file").ConfigCodecError | import("@effected/config-file").ConfigFileReadError | import("@okfit/engine").ConfigMalformedError | import("@okfit/engine").ConfigPathNotFoundError | import("@effected/config-file").ConfigValidationError | import("@effected/markdown").FrontmatterEncodeError | import("@effected/markdown").FrontmatterFormatMismatchError | import("@effected/markdown").FrontmatterValidationError | import("@effected/git").GitCommandError | import("@okfit/profiles").GitHistoryError | import("@okfit/profiles").HumanActorUnresolvedError | import("@okfit/engine").InitOverwriteError | import("@effected/markdown").MarkdownParseError | import("@effected/git").NotARepositoryError | import("effect/PlatformError").PlatformError | import("effect/Schema").SchemaError | import("@effected/git").UnknownRefError | import("@okfit/engine").VerifyConceptNotFoundError | import("@okfit/engine").VerifyUnsupportedFrontmatterError | import("@effected/yaml").YamlParseError, import("@effected/xdg").AppDirs | import("effect/unstable/process/ChildProcessSpawner").ChildProcessSpawner | import("effect/Crypto").Crypto | import("effect/FileSystem").FileSystem | import("@okfit/engine").Now | import("effect/Path").Path | import("@effected/xdg").Xdg>;
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region src/errors.d.ts
|
|
26
26
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@okfit/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The okfit command line: validate, lint, index, and inspect Open Knowledge Format (OKF) bundles.",
|
|
6
6
|
"keywords": [
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"@effected/toml": "^0.6.0",
|
|
53
53
|
"@effected/walker": "^0.7.0",
|
|
54
54
|
"@effected/yaml": "^0.14.0",
|
|
55
|
-
"@okfit/core": "0.
|
|
56
|
-
"@okfit/engine": "0.
|
|
57
|
-
"@okfit/profiles": "0.
|
|
55
|
+
"@okfit/core": "0.3.0",
|
|
56
|
+
"@okfit/engine": "0.2.0",
|
|
57
|
+
"@okfit/profiles": "0.3.0",
|
|
58
58
|
"effect": "4.0.0-rc.112"
|
|
59
59
|
},
|
|
60
60
|
"engines": {
|