@inixiative/config 0.5.237 → 0.5.239
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 +1 -2
- package/dist/cli.js +5 -10
- package/package.json +2 -2
- package/versions.json +3 -4
package/README.md
CHANGED
|
@@ -121,8 +121,7 @@ The train runs every repo's check through `bounded` (the re-lock check, the chec
|
|
|
121
121
|
| `signetDemo`, `medicalQuestionStep` | every doc | nothing; demos live in template-workbench |
|
|
122
122
|
| `kingdom-workspace`, `foundry-lab`, `native-candidate` | every doc | the canonical repos |
|
|
123
123
|
| foundry-oracle | every doc | Foundry and Oracle, two products |
|
|
124
|
-
|
|
|
125
|
-
| Cartographer, Librarian, Artificer, Steward (capitalised) | READMEs, package descriptions, site pages only | say what it does; Foundry's code still has a Librarian and a Cartographer |
|
|
124
|
+
| Cartographer, Librarian, Artificer, Steward (capitalised) | READMEs, package descriptions, site pages only | say what it does: Wardens remind your agent of what already exists; your agent decides |
|
|
126
125
|
|
|
127
126
|
Left out on purpose, because a pattern would flag mostly legitimate text: "medical" (the doctor's-visit story is allowed in marketing), "Connection" and `connectionId` (WebSocket and database connections; Foundry's viewer has a live per-socket `connectionId`), "principal" (the permissions README's glossary word for any holder, job titles, the principal–agent problem), and "Cursor as a runtime" or "token savings" (a phrase can't tell a claim from a comparison).
|
|
128
127
|
|
package/dist/cli.js
CHANGED
|
@@ -116,7 +116,8 @@ var REQUIRED_SCRIPTS = {
|
|
|
116
116
|
check: "bun run typecheck && bun run lint && bun run test"
|
|
117
117
|
};
|
|
118
118
|
var DEP_FIELDS = ["dependencies", "devDependencies", "peerDependencies"];
|
|
119
|
-
var LEFTHOOK_PREPARE =
|
|
119
|
+
var LEFTHOOK_PREPARE = 'if git rev-parse --git-dir >/dev/null 2>&1; then root="$(dirname "$(git rev-parse --path-format=absolute --git-common-dir)")"; if [ -x "$root/node_modules/.bin/lefthook" ]; then (cd "$root" && ./node_modules/.bin/lefthook install); fi; fi';
|
|
120
|
+
var lefthookInstallInPrepare = /if [^;]*; then lefthook install; fi|lefthook install/;
|
|
120
121
|
var loadManifest = () => JSON.parse(readFileSync(join(packageRoot, "versions.json"), "utf8"));
|
|
121
122
|
var ownVersion = () => JSON.parse(readFileSync(join(packageRoot, "package.json"), "utf8")).version;
|
|
122
123
|
var stripJsonc = (text) => {
|
|
@@ -662,10 +663,10 @@ function inspect(dir2, manifest2, presetOverride) {
|
|
|
662
663
|
} else if (prepare.includes("lefthook install") && !prepare.includes(LEFTHOOK_PREPARE)) {
|
|
663
664
|
findings.push({
|
|
664
665
|
level: "error",
|
|
665
|
-
message: `scripts.prepare runs lefthook install
|
|
666
|
+
message: `scripts.prepare runs lefthook install outside the main-checkout guard (fails builds without .git; a worktree install points the shared hooks at itself) \u2192 "${LEFTHOOK_PREPARE}"`,
|
|
666
667
|
fix: () => {
|
|
667
668
|
pkg.scripts ??= {};
|
|
668
|
-
pkg.scripts.prepare = prepare.replace(
|
|
669
|
+
pkg.scripts.prepare = prepare.replace(lefthookInstallInPrepare, LEFTHOOK_PREPARE);
|
|
669
670
|
touch();
|
|
670
671
|
}
|
|
671
672
|
});
|
|
@@ -1350,17 +1351,11 @@ var RETIRED_TERMS = [
|
|
|
1350
1351
|
scope: "docs",
|
|
1351
1352
|
instead: "Foundry and Oracle, two products"
|
|
1352
1353
|
},
|
|
1353
|
-
{
|
|
1354
|
-
id: "own-llm-keys",
|
|
1355
|
-
pattern: /\byour own (?:LLM|model|API) keys?\b/gi,
|
|
1356
|
-
scope: "docs",
|
|
1357
|
-
instead: "your own subscriptions (Foundry runs on subscription logins)"
|
|
1358
|
-
},
|
|
1359
1354
|
{
|
|
1360
1355
|
id: "foundry-roles",
|
|
1361
1356
|
pattern: /\b(?:Cartographer|Librarian|Artificer|Steward)s?\b/g,
|
|
1362
1357
|
scope: "public",
|
|
1363
|
-
instead: "say what it does: Wardens
|
|
1358
|
+
instead: "say what it does: Wardens remind your agent of what already exists; your agent decides"
|
|
1364
1359
|
}
|
|
1365
1360
|
];
|
|
1366
1361
|
var RETIRED_TERMS_DIR = "scripts/ci/retired-terms";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inixiative/config",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.239",
|
|
4
4
|
"description": "Shared toolchain and theme for the inixiative packages: tsconfig/biome/tsup presets, theme CSS, a version manifest (BOM), and a sync/check/train CLI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"./theme/fonts/*": "./theme/fonts/*"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
|
-
"prepare": "if git rev-parse --git-dir >/dev/null 2>&1; then lefthook install; fi",
|
|
48
|
+
"prepare": "if git rev-parse --git-dir >/dev/null 2>&1; then root=\"$(dirname \"$(git rev-parse --path-format=absolute --git-common-dir)\")\"; if [ -x \"$root/node_modules/.bin/lefthook\" ]; then (cd \"$root\" && ./node_modules/.bin/lefthook install); fi; fi",
|
|
49
49
|
"build": "tsup",
|
|
50
50
|
"test": "bun test",
|
|
51
51
|
"typecheck": "tsc --noEmit",
|
package/versions.json
CHANGED
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
"@types/bun"
|
|
14
14
|
],
|
|
15
15
|
"ecosystem": {
|
|
16
|
-
"@inixiative/config": "0.5.
|
|
16
|
+
"@inixiative/config": "0.5.239",
|
|
17
17
|
"@inixiative/field-map": "0.1.1",
|
|
18
18
|
"@inixiative/json-rules": "3.16.0",
|
|
19
|
-
"@inixiative/permissions": "0.
|
|
19
|
+
"@inixiative/permissions": "0.25.0",
|
|
20
20
|
"@inixiative/transitions": "0.8.0",
|
|
21
21
|
"@inixiative/rules-builder": "0.33.0",
|
|
22
22
|
"@inixiative/prisma-map": "0.4.1",
|
|
@@ -54,8 +54,7 @@
|
|
|
54
54
|
"candidates": {
|
|
55
55
|
"@inixiative/atlas": "0.5.1",
|
|
56
56
|
"@inixiative/json-rules": "4.3.0",
|
|
57
|
-
"@inixiative/
|
|
58
|
-
"@inixiative/agent-session": "0.21.0",
|
|
57
|
+
"@inixiative/agent-session": "0.22.0",
|
|
59
58
|
"@inixiative/field-map": "0.1.2",
|
|
60
59
|
"@inixiative/archive": "0.35.0"
|
|
61
60
|
}
|