@clossys/butler 0.1.3 → 0.1.5

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/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this package are documented here. Format follows
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
5
5
 
6
+ ## [0.1.5] - 2026-09-17
7
+
8
+ ### Fixed
9
+
10
+ - Removed a doc-comment citation in `src/schema.ts` that pointed at a
11
+ repository-root agent-policy file. `src/` is packed content and compiles
12
+ into `dist/`, so that comment reached an installed consumer while the file
13
+ it named did not: `files` carries `dist`, `src`, this changelog, the README
14
+ and the licence, and nothing from the repository root. The sentence now
15
+ states the hand-rolled-validation convention on its own, which is the part
16
+ a reader of the installed package can actually act on. No type, export,
17
+ signature, or runtime behaviour changed.
18
+
19
+ ## [0.1.4] - 2026-09-16
20
+
21
+ ### Fixed
22
+
23
+ - The Install section told a consumer this package requires a GitHub
24
+ personal access token with `read:packages`, pointing at the repository
25
+ root README for confirmation. That pointer led to a section describing
26
+ an unrelated, still-token-gated set of packages — corroborating evidence
27
+ for a claim that has never been true of `@clossys/butler`, which
28
+ publishes to `https://registry.npmjs.org` with public access and
29
+ installs anonymously. A reader following the instruction as written
30
+ would create a credential this package never asks for. (#924)
31
+
32
+
6
33
  ## [0.1.3] - 2026-09-02
7
34
 
8
35
  ### Fixed
package/README.md CHANGED
@@ -44,8 +44,9 @@ Two rules follow, and both are structural here rather than advisory:
44
44
  npm install @clossys/butler
45
45
  ```
46
46
 
47
- Installing from this registry needs a GitHub personal access token with
48
- `read:packages` see the repository root README.
47
+ The package publishes to the public npm registry
48
+ (`https://registry.npmjs.org`) with public access; installing it needs no
49
+ GitHub token or other credential.
49
50
 
50
51
  ```ts
51
52
  import { checkCurrency, evaluateStandingInstruction } from "@clossys/butler";
package/dist/schema.d.ts CHANGED
@@ -41,11 +41,11 @@
41
41
  * carries nothing else.
42
42
  *
43
43
  * Validation here is hand-rolled over `unknown`, with no schema library,
44
- * matching every other package in this workspace (see the root
45
- * `AGENTS.md`). These validators exist for the boundary where records
46
- * arrive as untyped JSON — a preference-centre route body, a file the CLI
47
- * reads, a value read back out of a host's own store — before anything
48
- * downstream is allowed to trust them.
44
+ * matching every other package in this workspace. These validators exist
45
+ * for the boundary where records arrive as untyped JSON — a
46
+ * preference-centre route body, a file the CLI reads, a value read back out
47
+ * of a host's own store — before anything downstream is allowed to trust
48
+ * them.
49
49
  */
50
50
  import { type ValidationResult } from "./validation.js";
51
51
  /**
package/dist/schema.js CHANGED
@@ -41,11 +41,11 @@
41
41
  * carries nothing else.
42
42
  *
43
43
  * Validation here is hand-rolled over `unknown`, with no schema library,
44
- * matching every other package in this workspace (see the root
45
- * `AGENTS.md`). These validators exist for the boundary where records
46
- * arrive as untyped JSON — a preference-centre route body, a file the CLI
47
- * reads, a value read back out of a host's own store — before anything
48
- * downstream is allowed to trust them.
44
+ * matching every other package in this workspace. These validators exist
45
+ * for the boundary where records arrive as untyped JSON — a
46
+ * preference-centre route body, a file the CLI reads, a value read back out
47
+ * of a host's own store — before anything downstream is allowed to trust
48
+ * them.
49
49
  */
50
50
  import { isOneOf, isPlainObject, pushIssue, optionalTimestamp, requireArrayOf, requireBoolean, requireNumber, requireString, requireTimestamp, } from "./validation.js";
51
51
  /** Every provenance value, for a caller validating untyped input. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clossys/butler",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -77,14 +77,14 @@
77
77
  },
78
78
  "devDependencies": {
79
79
  "@testing-library/react": "^16.3.3",
80
- "@types/node": "^22.10.0",
81
- "@types/react": "^19.2.0",
82
- "@types/react-dom": "^19.2.5",
80
+ "@types/node": "^26.5.1",
81
+ "@types/react": "^19.3.0",
82
+ "@types/react-dom": "^19.3.0",
83
83
  "jsdom": "^26.1.0",
84
- "react": "^19.2.8",
85
- "react-dom": "^19.2.8",
84
+ "react": "^19.3.0",
85
+ "react-dom": "^19.3.0",
86
86
  "typescript": "~6.0.0",
87
- "vitest": "^4.1.9"
87
+ "vitest": "^5.0.0"
88
88
  },
89
89
  "publishConfig": {
90
90
  "registry": "https://registry.npmjs.org",
package/src/schema.ts CHANGED
@@ -41,11 +41,11 @@
41
41
  * carries nothing else.
42
42
  *
43
43
  * Validation here is hand-rolled over `unknown`, with no schema library,
44
- * matching every other package in this workspace (see the root
45
- * `AGENTS.md`). These validators exist for the boundary where records
46
- * arrive as untyped JSON — a preference-centre route body, a file the CLI
47
- * reads, a value read back out of a host's own store — before anything
48
- * downstream is allowed to trust them.
44
+ * matching every other package in this workspace. These validators exist
45
+ * for the boundary where records arrive as untyped JSON — a
46
+ * preference-centre route body, a file the CLI reads, a value read back out
47
+ * of a host's own store — before anything downstream is allowed to trust
48
+ * them.
49
49
  */
50
50
 
51
51
  import {