@sprucelabs/mercury-core-events 25.1.1 → 25.1.3

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.
@@ -10,8 +10,8 @@ const mercury_types_1 = require("@sprucelabs/mercury-types");
10
10
  const getPersonEventContract = (0, mercury_types_1.buildEventContract)({
11
11
  eventSignatures: {
12
12
  'get-person::v2020_12_25': {
13
- description: `Get a person by id.`,
14
- aiInstructions: `Get details about the logged in person. The API right now won't let someone get another person's profile, so ignore the target for now. Make sure to pass payload.shouldIncludePrivateFields as true during all conversations.`,
13
+ description: `Get details about a person (or yourself)`,
14
+ aiInstructions: `Get details about the logged in person. The API right now won't let someone get another person's profile, so ignore the target for now and don't mention getting a person by id. Make sure to pass payload.shouldIncludePrivateFields as true during all conversations.`,
15
15
  emitPayloadSchema: getPersonEmitTargetAndPayload_schema_1.default,
16
16
  responsePayloadSchema: getPersonResponsePayload_schema_1.default,
17
17
  }
@@ -5,8 +5,8 @@ import { buildEventContract } from '@sprucelabs/mercury-types';
5
5
  const getPersonEventContract = buildEventContract({
6
6
  eventSignatures: {
7
7
  'get-person::v2020_12_25': {
8
- description: `Get a person by id.`,
9
- aiInstructions: `Get details about the logged in person. The API right now won't let someone get another person's profile, so ignore the target for now. Make sure to pass payload.shouldIncludePrivateFields as true during all conversations.`,
8
+ description: `Get details about a person (or yourself)`,
9
+ aiInstructions: `Get details about the logged in person. The API right now won't let someone get another person's profile, so ignore the target for now and don't mention getting a person by id. Make sure to pass payload.shouldIncludePrivateFields as true during all conversations.`,
10
10
  emitPayloadSchema: getPersonEmitTargetAndPayloadSchema,
11
11
  responsePayloadSchema: getPersonResponsePayloadSchema,
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sprucelabs/mercury-core-events",
3
- "version": "25.1.1",
3
+ "version": "25.1.3",
4
4
  "description": "Events Mercury provides out of the box.",
5
5
  "skill": {
6
6
  "namespace": "mercury-core-events",
@@ -58,14 +58,14 @@
58
58
  "watch.tsc": "tsc -w"
59
59
  },
60
60
  "devDependencies": {
61
- "@sprucelabs/esm-postbuild": "^6.0.540",
62
- "@sprucelabs/jest-json-reporter": "^8.0.567",
63
- "@sprucelabs/resolve-path-aliases": "^2.0.527",
61
+ "@sprucelabs/esm-postbuild": "^6.0.541",
62
+ "@sprucelabs/jest-json-reporter": "^8.0.568",
63
+ "@sprucelabs/resolve-path-aliases": "^2.0.528",
64
64
  "@sprucelabs/semantic-release": "^5.0.2",
65
- "@sprucelabs/test": "^9.0.67",
66
- "@types/node": "^22.10.7",
65
+ "@sprucelabs/test": "^9.0.68",
66
+ "@types/node": "^22.12.0",
67
67
  "chokidar-cli": "^3.0.0",
68
- "eslint": "^9.18.0",
68
+ "eslint": "^9.19.0",
69
69
  "eslint-config-spruce": "^11.2.26",
70
70
  "jest": "^29.7.0",
71
71
  "jest-circus": "^29.7.0",
@@ -76,10 +76,10 @@
76
76
  "typescript": "^5.7.3"
77
77
  },
78
78
  "dependencies": {
79
- "@sprucelabs/mercury-types": "^47.2.0",
79
+ "@sprucelabs/mercury-types": "^47.2.1",
80
80
  "@sprucelabs/schema": "^31.0.19",
81
- "@sprucelabs/spruce-core-schemas": "^40.1.605",
82
- "@sprucelabs/spruce-event-utils": "^40.1.394"
81
+ "@sprucelabs/spruce-core-schemas": "^40.1.606",
82
+ "@sprucelabs/spruce-event-utils": "^40.2.1"
83
83
  },
84
84
  "jest": {
85
85
  "testRunner": "jest-circus/runner",