@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 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
- (`Provenance.lint`) for this one invocation, without touching the
56
- project's `[lint]` table — the same effect as `generated_at_drift = "off"`
57
- in config, scoped to a single run. The Claude Code plugin's PostToolUse
58
- hook passes it on every edit-time `validate` call so a git spawn per
59
- concept never runs on every keystroke-level edit; CI and the MCP
60
- `validate_bundle` tool omit the flag and keep the lint.
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.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.2.0",
56
- "@okfit/engine": "0.1.0",
57
- "@okfit/profiles": "0.2.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": {
package/version.js CHANGED
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * @public
10
10
  */
11
- const CLI_VERSION = "0.3.0";
11
+ const CLI_VERSION = "0.4.0";
12
12
 
13
13
  //#endregion
14
14
  export { CLI_VERSION };