@nylorun/core 0.35.0-beta → 0.36.0-beta

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://docs.nylorun.com/schemas/agent-manifest/v8.3.json",
3
+ "$id": "https://docs.nylorun.com/schemas/agent-manifest/v8.4.json",
4
4
  "title": "Nylorun agent manifest 8",
5
5
  "type": "object",
6
6
  "properties": {
@@ -1873,6 +1873,50 @@
1873
1873
  ],
1874
1874
  "additionalProperties": false
1875
1875
  }
1876
+ },
1877
+ "plugins": {
1878
+ "description": "The Runtime's plugins the agent declares (agent-folder/3, ADR-106): each with the tools left on and the hash of its files",
1879
+ "type": "array",
1880
+ "items": {
1881
+ "type": "object",
1882
+ "properties": {
1883
+ "name": {
1884
+ "type": "string",
1885
+ "enum": [
1886
+ "nylorun-memory",
1887
+ "nylorun-triggers",
1888
+ "nylorun-plan",
1889
+ "nylorun-interactions",
1890
+ "nylorun-artifacts",
1891
+ "nylorun-sandbox"
1892
+ ]
1893
+ },
1894
+ "tools": {
1895
+ "type": "array",
1896
+ "items": {
1897
+ "type": "string",
1898
+ "minLength": 1
1899
+ }
1900
+ },
1901
+ "sha256": {
1902
+ "type": "string",
1903
+ "pattern": "^sha256:[0-9a-f]{64}$"
1904
+ },
1905
+ "hosts": {
1906
+ "type": "array",
1907
+ "items": {
1908
+ "type": "string",
1909
+ "minLength": 1
1910
+ }
1911
+ }
1912
+ },
1913
+ "required": [
1914
+ "name",
1915
+ "tools",
1916
+ "sha256"
1917
+ ],
1918
+ "additionalProperties": false
1919
+ }
1876
1920
  }
1877
1921
  },
1878
1922
  "additionalProperties": false
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://docs.nylorun.com/schemas/harness-manifest/v1.3.json",
3
+ "$id": "https://docs.nylorun.com/schemas/harness-manifest/v1.4.json",
4
4
  "title": "Nylorun harness manifest 1",
5
5
  "type": "object",
6
6
  "properties": {
@@ -1400,6 +1400,50 @@
1400
1400
  ],
1401
1401
  "additionalProperties": false
1402
1402
  }
1403
+ },
1404
+ "plugins": {
1405
+ "description": "The Runtime's plugins the agent declares (agent-folder/3, ADR-106): each with the tools left on and the hash of its files",
1406
+ "type": "array",
1407
+ "items": {
1408
+ "type": "object",
1409
+ "properties": {
1410
+ "name": {
1411
+ "type": "string",
1412
+ "enum": [
1413
+ "nylorun-memory",
1414
+ "nylorun-triggers",
1415
+ "nylorun-plan",
1416
+ "nylorun-interactions",
1417
+ "nylorun-artifacts",
1418
+ "nylorun-sandbox"
1419
+ ]
1420
+ },
1421
+ "tools": {
1422
+ "type": "array",
1423
+ "items": {
1424
+ "type": "string",
1425
+ "minLength": 1
1426
+ }
1427
+ },
1428
+ "sha256": {
1429
+ "type": "string",
1430
+ "pattern": "^sha256:[0-9a-f]{64}$"
1431
+ },
1432
+ "hosts": {
1433
+ "type": "array",
1434
+ "items": {
1435
+ "type": "string",
1436
+ "minLength": 1
1437
+ }
1438
+ }
1439
+ },
1440
+ "required": [
1441
+ "name",
1442
+ "tools",
1443
+ "sha256"
1444
+ ],
1445
+ "additionalProperties": false
1446
+ }
1403
1447
  }
1404
1448
  },
1405
1449
  "additionalProperties": false
@@ -190,6 +190,18 @@ export interface HarnessEngine {
190
190
  readonly instructions?: Readonly<Partial<Record<EngineBlockName, string>>>;
191
191
  /** The engine text blocks the agent gets, each with its version and the hash of its text. */
192
192
  readonly blocks?: readonly EngineBlockRef[];
193
+ /**
194
+ * The Runtime's plugins the agent declares (`agent-folder/3`, ADR-106), each with the tools left
195
+ * on and the hash of its files. With it, the engine presents its tools as the server `nylorun`.
196
+ */
197
+ readonly plugins?: readonly HarnessEnginePlugin[];
198
+ }
199
+ /** One of the Runtime's plugins as a manifest records it (`harness.engine.plugins`). */
200
+ export interface HarnessEnginePlugin {
201
+ readonly name: "nylorun-memory" | "nylorun-triggers" | "nylorun-plan" | "nylorun-interactions" | "nylorun-artifacts" | "nylorun-sandbox";
202
+ readonly tools: readonly string[];
203
+ readonly sha256: string;
204
+ readonly hosts?: readonly string[];
193
205
  }
194
206
  /** One engine text block an agent gets: `memory@1`, the SHA-256 of its text, and its source. */
195
207
  export interface EngineBlockRef {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nylorun/core",
3
- "version": "0.35.0-beta",
3
+ "version": "0.36.0-beta",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "Shared agent definitions and wire contracts",