@sprucelabs/spruce-core-schemas 41.3.1 → 41.3.2

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.
@@ -1546,6 +1546,7 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1546
1546
  /** . */
1547
1547
  'source': {
1548
1548
  type: 'schema';
1549
+ isPrivate: true;
1549
1550
  options: {
1550
1551
  schema: SpruceSchemas.Spruce.v2020_07_22.AgentSourceSchema;
1551
1552
  };
@@ -33,6 +33,7 @@ const agentSchema = {
33
33
  /** . */
34
34
  'source': {
35
35
  type: 'schema',
36
+ isPrivate: true,
36
37
  options: { schema: agentSource_schema_1.default, }
37
38
  },
38
39
  }
@@ -1546,6 +1546,7 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1546
1546
  /** . */
1547
1547
  'source': {
1548
1548
  type: 'schema';
1549
+ isPrivate: true;
1549
1550
  options: {
1550
1551
  schema: SpruceSchemas.Spruce.v2020_07_22.AgentSourceSchema;
1551
1552
  };
@@ -0,0 +1,3 @@
1
+ import { SpruceSchemas } from '../../core.schemas.types';
2
+ declare const agentSchema: SpruceSchemas.Spruce.v2020_07_22.AgentSchema;
3
+ export default agentSchema;
@@ -0,0 +1,37 @@
1
+ import { SchemaRegistry } from '@sprucelabs/schema';
2
+ import agentSourceSchema_v2020_07_22 from './agentSource.schema.js';
3
+ const agentSchema = {
4
+ id: 'agent',
5
+ version: 'v2020_07_22',
6
+ namespace: 'Spruce',
7
+ name: 'Agent',
8
+ moduleToImportFromWhenRemote: '@sprucelabs/spruce-core-schemas',
9
+ fields: {
10
+ /** . */
11
+ 'id': {
12
+ type: 'id',
13
+ isRequired: true,
14
+ options: undefined
15
+ },
16
+ /** . */
17
+ 'name': {
18
+ type: 'text',
19
+ isRequired: true,
20
+ options: undefined
21
+ },
22
+ /** . */
23
+ 'systemPrompt': {
24
+ type: 'text',
25
+ isRequired: true,
26
+ options: undefined
27
+ },
28
+ /** . */
29
+ 'source': {
30
+ type: 'schema',
31
+ isPrivate: true,
32
+ options: { schema: agentSourceSchema_v2020_07_22, }
33
+ },
34
+ }
35
+ };
36
+ SchemaRegistry.getInstance().trackSchema(agentSchema);
37
+ export default agentSchema;
@@ -0,0 +1,3 @@
1
+ import { SpruceSchemas } from '../../core.schemas.types';
2
+ declare const agentSourceSchema: SpruceSchemas.Spruce.v2020_07_22.AgentSourceSchema;
3
+ export default agentSourceSchema;
@@ -0,0 +1,22 @@
1
+ import { SchemaRegistry } from '@sprucelabs/schema';
2
+ const agentSourceSchema = {
3
+ id: 'agentSource',
4
+ version: 'v2020_07_22',
5
+ namespace: 'Spruce',
6
+ name: '',
7
+ moduleToImportFromWhenRemote: '@sprucelabs/spruce-core-schemas',
8
+ fields: {
9
+ /** . */
10
+ 'personId': {
11
+ type: 'id',
12
+ options: undefined
13
+ },
14
+ /** . */
15
+ 'skillId': {
16
+ type: 'id',
17
+ options: undefined
18
+ },
19
+ }
20
+ };
21
+ SchemaRegistry.getInstance().trackSchema(agentSourceSchema);
22
+ export default agentSourceSchema;
@@ -16,6 +16,7 @@ export { default as feedItemTargetSchema } from './.spruce/schemas/spruce/v2020_
16
16
  export { default as linkSchema } from './.spruce/schemas/spruce/v2020_07_22/link.schema';
17
17
  export { default as feedItemSchema } from './.spruce/schemas/spruce/v2020_07_22/feedItem.schema';
18
18
  export { default as choiceSchema } from './.spruce/schemas/spruce/v2020_07_22/choice.schema';
19
+ export { default as agentSchema } from './.spruce/schemas/spruce/v2020_07_22/agent.schema';
19
20
  export { timezoneChoices } from './timezoneChoices';
20
21
  export * from './constants';
21
22
  export * from './core.types';
@@ -16,6 +16,7 @@ export { default as feedItemTargetSchema } from './.spruce/schemas/spruce/v2020_
16
16
  export { default as linkSchema } from './.spruce/schemas/spruce/v2020_07_22/link.schema.js';
17
17
  export { default as feedItemSchema } from './.spruce/schemas/spruce/v2020_07_22/feedItem.schema.js';
18
18
  export { default as choiceSchema } from './.spruce/schemas/spruce/v2020_07_22/choice.schema.js';
19
+ export { default as agentSchema } from './.spruce/schemas/spruce/v2020_07_22/agent.schema.js';
19
20
  export { timezoneChoices } from './timezoneChoices.js';
20
21
  export * from './constants.js';
21
22
  export * from './core.types.js';
@@ -16,6 +16,7 @@ declare const _default: {
16
16
  };
17
17
  source: {
18
18
  type: "schema";
19
+ isPrivate: true;
19
20
  options: {
20
21
  schema: {
21
22
  id: string;
@@ -17,6 +17,7 @@ export default buildSchema({
17
17
  },
18
18
  source: {
19
19
  type: 'schema',
20
+ isPrivate: true,
20
21
  options: {
21
22
  schema: buildSchema({
22
23
  id: 'agentSource',
package/build/index.d.ts CHANGED
@@ -16,6 +16,7 @@ export { default as feedItemTargetSchema } from './.spruce/schemas/spruce/v2020_
16
16
  export { default as linkSchema } from './.spruce/schemas/spruce/v2020_07_22/link.schema';
17
17
  export { default as feedItemSchema } from './.spruce/schemas/spruce/v2020_07_22/feedItem.schema';
18
18
  export { default as choiceSchema } from './.spruce/schemas/spruce/v2020_07_22/choice.schema';
19
+ export { default as agentSchema } from './.spruce/schemas/spruce/v2020_07_22/agent.schema';
19
20
  export { timezoneChoices } from './timezoneChoices';
20
21
  export * from './constants';
21
22
  export * from './core.types';
package/build/index.js CHANGED
@@ -17,7 +17,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
17
17
  return (mod && mod.__esModule) ? mod : { "default": mod };
18
18
  };
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.timezoneChoices = exports.choiceSchema = exports.feedItemSchema = exports.linkSchema = exports.feedItemTargetSchema = exports.feedSchema = exports.sendMessageSchema = exports.messageTargetSchema = exports.messageSourceSchema = exports.messageSchema = exports.roleSchema = exports.personLocationSchema = exports.personOrganizationSchema = exports.organizationSchema = exports.locationSchema = exports.skillCreatorSchema = exports.skillSchema = exports.personSchema = void 0;
20
+ exports.timezoneChoices = exports.agentSchema = exports.choiceSchema = exports.feedItemSchema = exports.linkSchema = exports.feedItemTargetSchema = exports.feedSchema = exports.sendMessageSchema = exports.messageTargetSchema = exports.messageSourceSchema = exports.messageSchema = exports.roleSchema = exports.personLocationSchema = exports.personOrganizationSchema = exports.organizationSchema = exports.locationSchema = exports.skillCreatorSchema = exports.skillSchema = exports.personSchema = void 0;
21
21
  __exportStar(require("./.spruce/schemas/core.schemas.types"), exports);
22
22
  var person_schema_1 = require("./.spruce/schemas/spruce/v2020_07_22/person.schema");
23
23
  Object.defineProperty(exports, "personSchema", { enumerable: true, get: function () { return __importDefault(person_schema_1).default; } });
@@ -53,6 +53,8 @@ var feedItem_schema_1 = require("./.spruce/schemas/spruce/v2020_07_22/feedItem.s
53
53
  Object.defineProperty(exports, "feedItemSchema", { enumerable: true, get: function () { return __importDefault(feedItem_schema_1).default; } });
54
54
  var choice_schema_1 = require("./.spruce/schemas/spruce/v2020_07_22/choice.schema");
55
55
  Object.defineProperty(exports, "choiceSchema", { enumerable: true, get: function () { return __importDefault(choice_schema_1).default; } });
56
+ var agent_schema_1 = require("./.spruce/schemas/spruce/v2020_07_22/agent.schema");
57
+ Object.defineProperty(exports, "agentSchema", { enumerable: true, get: function () { return __importDefault(agent_schema_1).default; } });
56
58
  var timezoneChoices_1 = require("./timezoneChoices");
57
59
  Object.defineProperty(exports, "timezoneChoices", { enumerable: true, get: function () { return timezoneChoices_1.timezoneChoices; } });
58
60
  __exportStar(require("./constants"), exports);
@@ -16,6 +16,7 @@ declare const _default: {
16
16
  };
17
17
  source: {
18
18
  type: "schema";
19
+ isPrivate: true;
19
20
  options: {
20
21
  schema: {
21
22
  id: string;
@@ -19,6 +19,7 @@ exports.default = (0, schema_1.buildSchema)({
19
19
  },
20
20
  source: {
21
21
  type: 'schema',
22
+ isPrivate: true,
22
23
  options: {
23
24
  schema: (0, schema_1.buildSchema)({
24
25
  id: 'agentSource',
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "41.3.1",
6
+ "version": "41.3.2",
7
7
  "files": [
8
8
  "build/**/*",
9
9
  "tsconfig.json"