kibi-runtime 2.10.0 → 2.11.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.
@@ -2,7 +2,7 @@
2
2
  id: kibi-usage
3
3
  name: Kibi Usage
4
4
  description: Use Kibi's source-first, exact-Git, migration-aware, proof-aware operations safely across MCP or the trusted local CLI, including partial completion repair.
5
- version: 2.8.0
5
+ version: 2.9.0
6
6
  kibiCompatibility: ">=1.0.0"
7
7
  tags:
8
8
  - kibi
@@ -260,7 +260,11 @@ constants) or `examples`, and why the current value was refused. With a
260
260
  `requirementId` whose requirement `constrains` one subject fact, the `subject`
261
261
  argument is already bound to that fact's `subject_key` (provenance
262
262
  `requirement`); keep it, so the predicate and the subject fact name one
263
- subject. Bind them
263
+ subject. A schema without a `subject` argument (`permission_rule`) records
264
+ that key as the planned fact's `subject_key` instead; when the requirement
265
+ constrains several subjects, an unbound `subject_key` asks you to pass
266
+ `subjectHint` with one of them. A participant (`actor`, `resource`, entity)
267
+ is a short noun, never a clause of the claim. Bind them
264
268
  from the claim's own words and call again with the same `text` and
265
269
  `requirementId`, plus `schemaId` and `argumentBindings` keyed by
266
270
  `argument_names` (reuse `argument_constants` values when the schema has them).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kibi-runtime",
3
- "version": "2.10.0",
3
+ "version": "2.11.0",
4
4
  "description": "Narrow first-party runtime contracts and adapters for Kibi operations.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -13,12 +13,12 @@
13
13
  },
14
14
  "files": ["dist"],
15
15
  "scripts": {
16
- "build": "tsc -p tsconfig.json && bun build src/index.ts --outfile dist/index.js --target node --format esm --packages bundle --external kibi-core --external kibi-plugin-builtin --external kibi-swipl --external 'kibi-swipl-*' && bun build ../cli/src/engine-daemon.ts --outfile dist/engine-daemon.js --target node --format esm --packages bundle --external kibi-core --external kibi-swipl --external 'kibi-swipl-*' && rm -rf dist/skills && mkdir -p dist/skills && cp -r src/skills/. dist/skills/",
16
+ "build": "tsc -p tsconfig.json && bun build src/index.ts --outfile dist/index.js --target node --format esm --packages bundle --define \"$(node scripts/cli-version-define.mjs)\" --external kibi-core --external kibi-plugin-builtin --external kibi-swipl --external 'kibi-swipl-*' && bun build ../cli/src/engine-daemon.ts --outfile dist/engine-daemon.js --target node --format esm --packages bundle --define \"$(node scripts/cli-version-define.mjs)\" --external kibi-core --external kibi-swipl --external 'kibi-swipl-*' && rm -rf dist/skills && mkdir -p dist/skills && cp -r src/skills/. dist/skills/",
17
17
  "typecheck": "tsc -p tsconfig.json --noEmit"
18
18
  },
19
19
  "dependencies": {
20
20
  "gray-matter": "^4.0.3",
21
- "kibi-core": "^0.17.1",
21
+ "kibi-core": "^0.17.2",
22
22
  "kibi-plugin-builtin": "^0.4.2",
23
23
  "kibi-swipl": "^1.0.1"
24
24
  },