@dtmd/temper 0.0.11 → 0.0.12

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.
@@ -816,12 +816,16 @@ export declare const skillDefaultContract: readonly Clause[];
816
816
  */
817
817
  export declare const supportingDocDefaultContract: readonly Clause[];
818
818
  /**
819
- * The default contract for `command` — `skillDefaultContract`'s clauses minus `nameMatchesDir`: a
820
- * command is a lone file with no parent directory to match, so the one clause
821
- * that ranges over the directory relationship does not apply; every other
822
- * documented skill-schema recommendation, name-requiredness included, still
823
- * governs a command by the same import (code.claude.com/docs/en/skills,
824
- * retrieved 2026-07-15).
819
+ * The default contract for `command` — deliberately empty. A command is a lone
820
+ * markdown file whose frontmatter is entirely optional, matching the Claude Code
821
+ * runtime's documented flexibility. Where a skill requires `name` and
822
+ * `description` by the Agent Skills open standard, a command file may carry any,
823
+ * all, or none of them — identity comes from the filename stem, not a field
824
+ * (code.claude.com/docs/en/slash-commands, retrieved 2026-07-22).
825
+ *
826
+ * A command that passes here holds no contract constraint and loads everywhere
827
+ * the format is honored. The strictness stays with the skill kind, which enforces
828
+ * the portable profile for skill directories.
825
829
  */
826
830
  export declare const commandDefaultContract: readonly Clause[];
827
831
  /**
@@ -762,14 +762,18 @@ export const supportingDocDefaultContract = [
762
762
  }),
763
763
  ];
764
764
  /**
765
- * The default contract for `command` — `skillDefaultContract`'s clauses minus `nameMatchesDir`: a
766
- * command is a lone file with no parent directory to match, so the one clause
767
- * that ranges over the directory relationship does not apply; every other
768
- * documented skill-schema recommendation, name-requiredness included, still
769
- * governs a command by the same import (code.claude.com/docs/en/skills,
770
- * retrieved 2026-07-15).
771
- */
772
- export const commandDefaultContract = skillDefaultContract.filter((entry) => entry.predicate.key !== "name-matches-dir");
765
+ * The default contract for `command` — deliberately empty. A command is a lone
766
+ * markdown file whose frontmatter is entirely optional, matching the Claude Code
767
+ * runtime's documented flexibility. Where a skill requires `name` and
768
+ * `description` by the Agent Skills open standard, a command file may carry any,
769
+ * all, or none of them — identity comes from the filename stem, not a field
770
+ * (code.claude.com/docs/en/slash-commands, retrieved 2026-07-22).
771
+ *
772
+ * A command that passes here holds no contract constraint and loads everywhere
773
+ * the format is honored. The strictness stays with the skill kind, which enforces
774
+ * the portable profile for skill directories.
775
+ */
776
+ export const commandDefaultContract = [];
773
777
  /**
774
778
  * The default contract for `agent` — Anthropic's documented subagent contract
775
779
  * (code.claude.com/docs/en/sub-agents, retrieved 2026-07-15): `name` and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dtmd/temper",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "The temper authoring face — the six-noun model as typed modules: harness(), kind<T>(), clause values, needs, and file()/text/blocks(). Emit compiles to the declaration rows the engine reads, a byte-faithful projection, and the lock.",
5
5
  "license": "(MIT OR Apache-2.0)",
6
6
  "repository": {
@@ -52,7 +52,7 @@
52
52
  "temper": "bin/temper.js"
53
53
  },
54
54
  "optionalDependencies": {
55
- "@dtmd/temper-linux-x64": "0.0.11",
56
- "@dtmd/temper-win32-x64": "0.0.11"
55
+ "@dtmd/temper-linux-x64": "0.0.12",
56
+ "@dtmd/temper-win32-x64": "0.0.12"
57
57
  }
58
58
  }