@elizaos/plugin-goals 2.0.0-alpha.8 → 2.0.3-beta.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.
Files changed (44) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +89 -0
  3. package/assets/hero.svg +69 -0
  4. package/package.json +72 -110
  5. package/dist/__tests__/e2e/goals-plugin.d.ts +0 -3
  6. package/dist/__tests__/e2e/goals-plugin.d.ts.map +0 -1
  7. package/dist/actions/cancelGoal.d.ts +0 -4
  8. package/dist/actions/cancelGoal.d.ts.map +0 -1
  9. package/dist/actions/completeGoal.d.ts +0 -4
  10. package/dist/actions/completeGoal.d.ts.map +0 -1
  11. package/dist/actions/confirmGoal.d.ts +0 -4
  12. package/dist/actions/confirmGoal.d.ts.map +0 -1
  13. package/dist/actions/createGoal.d.ts +0 -4
  14. package/dist/actions/createGoal.d.ts.map +0 -1
  15. package/dist/actions/updateGoal.d.ts +0 -4
  16. package/dist/actions/updateGoal.d.ts.map +0 -1
  17. package/dist/apis.d.ts +0 -4
  18. package/dist/apis.d.ts.map +0 -1
  19. package/dist/build.d.ts +0 -3
  20. package/dist/build.d.ts.map +0 -1
  21. package/dist/frontend/utils.d.ts +0 -3
  22. package/dist/frontend/utils.d.ts.map +0 -1
  23. package/dist/generated/prompts/typescript/prompts.d.ts +0 -22
  24. package/dist/generated/prompts/typescript/prompts.d.ts.map +0 -1
  25. package/dist/generated/specs/spec-helpers.d.ts +0 -49
  26. package/dist/generated/specs/spec-helpers.d.ts.map +0 -1
  27. package/dist/generated/specs/specs.d.ts +0 -113
  28. package/dist/generated/specs/specs.d.ts.map +0 -1
  29. package/dist/index.browser.d.ts +0 -4
  30. package/dist/index.browser.d.ts.map +0 -1
  31. package/dist/index.d.ts +0 -7
  32. package/dist/index.d.ts.map +0 -1
  33. package/dist/node/index.node.js +0 -5876
  34. package/dist/node/index.node.js.map +0 -103
  35. package/dist/providers/goals.d.ts +0 -4
  36. package/dist/providers/goals.d.ts.map +0 -1
  37. package/dist/schema.d.ts +0 -825
  38. package/dist/schema.d.ts.map +0 -1
  39. package/dist/services/goalDataService.d.ts +0 -68
  40. package/dist/services/goalDataService.d.ts.map +0 -1
  41. package/dist/tests.d.ts +0 -6
  42. package/dist/tests.d.ts.map +0 -1
  43. package/dist/vitest.config.d.ts +0 -3
  44. package/dist/vitest.config.d.ts.map +0 -1
@@ -1,113 +0,0 @@
1
- /**
2
- * Auto-generated canonical action/provider/evaluator docs for plugin-goals.
3
- * DO NOT EDIT - Generated from prompts/specs/**.
4
- */
5
- export type ActionDoc = {
6
- name: string;
7
- description: string;
8
- similes?: readonly string[];
9
- parameters?: readonly unknown[];
10
- examples?: readonly (readonly unknown[])[];
11
- };
12
- export type ProviderDoc = {
13
- name: string;
14
- description: string;
15
- position?: number;
16
- dynamic?: boolean;
17
- };
18
- export type EvaluatorDoc = {
19
- name: string;
20
- description: string;
21
- similes?: readonly string[];
22
- alwaysRun?: boolean;
23
- examples?: readonly unknown[];
24
- };
25
- export declare const coreActionsSpec: {
26
- readonly version: "1.0.0";
27
- readonly actions: readonly [{
28
- readonly name: "CREATE_GOAL";
29
- readonly description: "Create a new goal or task for the user to track progress on";
30
- readonly similes: readonly ["ADD_GOAL", "NEW_GOAL", "SET_GOAL", "ADD_TASK", "CREATE_TASK"];
31
- readonly parameters: readonly [];
32
- }, {
33
- readonly name: "UPDATE_GOAL";
34
- readonly description: "Update an existing goal's name, description, or progress";
35
- readonly similes: readonly ["EDIT_GOAL", "MODIFY_GOAL", "CHANGE_GOAL", "UPDATE_TASK"];
36
- readonly parameters: readonly [];
37
- }, {
38
- readonly name: "CANCEL_GOAL";
39
- readonly description: "Cancel or remove an existing goal that is no longer needed";
40
- readonly similes: readonly ["DELETE_GOAL", "REMOVE_GOAL", "ABANDON_GOAL", "CANCEL_TASK"];
41
- readonly parameters: readonly [];
42
- }, {
43
- readonly name: "COMPLETE_GOAL";
44
- readonly description: "Mark a goal as completed when it has been achieved";
45
- readonly similes: readonly ["FINISH_GOAL", "DONE_GOAL", "ACHIEVE_GOAL", "COMPLETE_TASK"];
46
- readonly parameters: readonly [];
47
- }, {
48
- readonly name: "CONFIRM_GOAL";
49
- readonly description: "Confirm and finalize a pending goal that was proposed";
50
- readonly similes: readonly ["APPROVE_GOAL", "ACCEPT_GOAL", "VERIFY_GOAL", "CONFIRM_TASK"];
51
- readonly parameters: readonly [];
52
- }];
53
- };
54
- export declare const allActionsSpec: {
55
- readonly version: "1.0.0";
56
- readonly actions: readonly [{
57
- readonly name: "CREATE_GOAL";
58
- readonly description: "Create a new goal or task for the user to track progress on";
59
- readonly similes: readonly ["ADD_GOAL", "NEW_GOAL", "SET_GOAL", "ADD_TASK", "CREATE_TASK"];
60
- readonly parameters: readonly [];
61
- }, {
62
- readonly name: "UPDATE_GOAL";
63
- readonly description: "Update an existing goal's name, description, or progress";
64
- readonly similes: readonly ["EDIT_GOAL", "MODIFY_GOAL", "CHANGE_GOAL", "UPDATE_TASK"];
65
- readonly parameters: readonly [];
66
- }, {
67
- readonly name: "CANCEL_GOAL";
68
- readonly description: "Cancel or remove an existing goal that is no longer needed";
69
- readonly similes: readonly ["DELETE_GOAL", "REMOVE_GOAL", "ABANDON_GOAL", "CANCEL_TASK"];
70
- readonly parameters: readonly [];
71
- }, {
72
- readonly name: "COMPLETE_GOAL";
73
- readonly description: "Mark a goal as completed when it has been achieved";
74
- readonly similes: readonly ["FINISH_GOAL", "DONE_GOAL", "ACHIEVE_GOAL", "COMPLETE_TASK"];
75
- readonly parameters: readonly [];
76
- }, {
77
- readonly name: "CONFIRM_GOAL";
78
- readonly description: "Confirm and finalize a pending goal that was proposed";
79
- readonly similes: readonly ["APPROVE_GOAL", "ACCEPT_GOAL", "VERIFY_GOAL", "CONFIRM_TASK"];
80
- readonly parameters: readonly [];
81
- }];
82
- };
83
- export declare const coreProvidersSpec: {
84
- readonly version: "1.0.0";
85
- readonly providers: readonly [{
86
- readonly name: "GOALS";
87
- readonly description: "Provides information about active goals and recent achievements";
88
- readonly dynamic: true;
89
- }];
90
- };
91
- export declare const allProvidersSpec: {
92
- readonly version: "1.0.0";
93
- readonly providers: readonly [{
94
- readonly name: "GOALS";
95
- readonly description: "Provides information about active goals and recent achievements";
96
- readonly dynamic: true;
97
- }];
98
- };
99
- export declare const coreEvaluatorsSpec: {
100
- readonly version: "1.0.0";
101
- readonly evaluators: readonly [];
102
- };
103
- export declare const allEvaluatorsSpec: {
104
- readonly version: "1.0.0";
105
- readonly evaluators: readonly [];
106
- };
107
- export declare const coreActionDocs: readonly ActionDoc[];
108
- export declare const allActionDocs: readonly ActionDoc[];
109
- export declare const coreProviderDocs: readonly ProviderDoc[];
110
- export declare const allProviderDocs: readonly ProviderDoc[];
111
- export declare const coreEvaluatorDocs: readonly EvaluatorDoc[];
112
- export declare const allEvaluatorDocs: readonly EvaluatorDoc[];
113
- //# sourceMappingURL=specs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"specs.d.ts","sourceRoot":"","sources":["../../../generated/specs/specs.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,UAAU,CAAC,EAAE,SAAS,OAAO,EAAE,CAAC;IAChC,QAAQ,CAAC,EAAE,SAAS,CAAC,SAAS,OAAO,EAAE,CAAC,EAAE,CAAC;CAC5C,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,OAAO,EAAE,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkClB,CAAC;AACX,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCjB,CAAC;AACX,eAAO,MAAM,iBAAiB;;;;;;;CASpB,CAAC;AACX,eAAO,MAAM,gBAAgB;;;;;;;CASnB,CAAC;AACX,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC;AACX,eAAO,MAAM,iBAAiB;;;CAGpB,CAAC;AAEX,eAAO,MAAM,cAAc,EAAE,SAAS,SAAS,EAA4B,CAAC;AAC5E,eAAO,MAAM,aAAa,EAAE,SAAS,SAAS,EAA2B,CAAC;AAC1E,eAAO,MAAM,gBAAgB,EAAE,SAAS,WAAW,EAAgC,CAAC;AACpF,eAAO,MAAM,eAAe,EAAE,SAAS,WAAW,EAA+B,CAAC;AAClF,eAAO,MAAM,iBAAiB,EAAE,SAAS,YAAY,EAAkC,CAAC;AACxF,eAAO,MAAM,gBAAgB,EAAE,SAAS,YAAY,EAAiC,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { Plugin } from "@elizaos/core";
2
- export declare const goalsPlugin: Plugin;
3
- export default goalsPlugin;
4
- //# sourceMappingURL=index.browser.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.browser.d.ts","sourceRoot":"","sources":["../index.browser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,MAAM,EAAE,MAAM,eAAe,CAAC;AAK3D,eAAO,MAAM,WAAW,EAAE,MAQzB,CAAC;AAEF,eAAe,WAAW,CAAC"}
package/dist/index.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import type { Plugin } from "@elizaos/core";
2
- export declare const GoalsPlugin: Plugin;
3
- export default GoalsPlugin;
4
- export { goalSchema } from "./schema.js";
5
- export type { GoalData } from "./services/goalDataService.js";
6
- export { createGoalDataService, GoalDataServiceWrapper, } from "./services/goalDataService.js";
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAa5C,eAAO,MAAM,WAAW,EAAE,MAyBzB,CAAC;AAEF,eAAe,WAAW,CAAC;AAE3B,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,YAAY,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EACL,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,+BAA+B,CAAC"}