couchloop-eq-mcp 2.0.7 → 2.0.9

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 (74) hide show
  1. package/dist/developer/managers/context-manager.d.ts +3 -3
  2. package/dist/developer/managers/context-manager.d.ts.map +1 -1
  3. package/dist/developer/managers/context-manager.js +21 -12
  4. package/dist/developer/managers/context-manager.js.map +1 -1
  5. package/dist/index.js +3 -0
  6. package/dist/index.js.map +1 -1
  7. package/dist/server/http-mcp.js +1 -1
  8. package/dist/server/http-mcp.js.map +1 -1
  9. package/dist/server/index.js +6 -6
  10. package/dist/server/index.js.map +1 -1
  11. package/dist/server/middleware/auth.d.ts +6 -0
  12. package/dist/server/middleware/auth.d.ts.map +1 -1
  13. package/dist/server/middleware/auth.js +24 -1
  14. package/dist/server/middleware/auth.js.map +1 -1
  15. package/dist/server/sse.d.ts.map +1 -1
  16. package/dist/server/sse.js +54 -0
  17. package/dist/server/sse.js.map +1 -1
  18. package/dist/tools/checkpoint.d.ts.map +1 -1
  19. package/dist/tools/checkpoint.js +4 -1
  20. package/dist/tools/checkpoint.js.map +1 -1
  21. package/dist/tools/comprehensive-code-review.js +2 -2
  22. package/dist/tools/comprehensive-code-review.js.map +1 -1
  23. package/dist/tools/comprehensive-package-audit.d.ts.map +1 -1
  24. package/dist/tools/comprehensive-package-audit.js +7 -5
  25. package/dist/tools/comprehensive-package-audit.js.map +1 -1
  26. package/dist/tools/insight.d.ts +6 -1
  27. package/dist/tools/insight.d.ts.map +1 -1
  28. package/dist/tools/insight.js +1 -1
  29. package/dist/tools/insight.js.map +1 -1
  30. package/dist/tools/preserve-context.d.ts +13 -3
  31. package/dist/tools/preserve-context.d.ts.map +1 -1
  32. package/dist/tools/preserve-context.js +74 -9
  33. package/dist/tools/preserve-context.js.map +1 -1
  34. package/dist/tools/primary-tools.d.ts +5 -1
  35. package/dist/tools/primary-tools.d.ts.map +1 -1
  36. package/dist/tools/primary-tools.js +180 -92
  37. package/dist/tools/primary-tools.js.map +1 -1
  38. package/dist/tools/session-manager.d.ts +14 -0
  39. package/dist/tools/session-manager.d.ts.map +1 -1
  40. package/dist/tools/session-manager.js +112 -12
  41. package/dist/tools/session-manager.js.map +1 -1
  42. package/dist/tools/smart-context.d.ts.map +1 -1
  43. package/dist/tools/smart-context.js +9 -3
  44. package/dist/tools/smart-context.js.map +1 -1
  45. package/dist/tools/status.d.ts +21 -0
  46. package/dist/tools/status.d.ts.map +1 -1
  47. package/dist/tools/status.js +31 -15
  48. package/dist/tools/status.js.map +1 -1
  49. package/dist/tools/verify.d.ts.map +1 -1
  50. package/dist/tools/verify.js +9 -3
  51. package/dist/tools/verify.js.map +1 -1
  52. package/dist/types/auth.d.ts +3 -0
  53. package/dist/types/auth.d.ts.map +1 -1
  54. package/dist/types/auth.js +30 -6
  55. package/dist/types/auth.js.map +1 -1
  56. package/dist/types/checkpoint.d.ts +5 -0
  57. package/dist/types/checkpoint.d.ts.map +1 -1
  58. package/dist/types/context.d.ts +36 -0
  59. package/dist/types/context.d.ts.map +1 -1
  60. package/dist/types/context.js +3 -0
  61. package/dist/types/context.js.map +1 -1
  62. package/dist/types/insight.d.ts +10 -0
  63. package/dist/types/insight.d.ts.map +1 -1
  64. package/dist/types/journey.d.ts +5 -0
  65. package/dist/types/journey.d.ts.map +1 -1
  66. package/dist/types/session.d.ts +10 -0
  67. package/dist/types/session.d.ts.map +1 -1
  68. package/dist/workflows/definitions/daily-reflection.js +16 -16
  69. package/dist/workflows/definitions/daily-reflection.js.map +1 -1
  70. package/dist/workflows/definitions/gratitude-practice.js +15 -15
  71. package/dist/workflows/definitions/gratitude-practice.js.map +1 -1
  72. package/dist/workflows/definitions/weekly-review.js +21 -21
  73. package/dist/workflows/definitions/weekly-review.js.map +1 -1
  74. package/package.json +3 -2
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ import { AuthContextSchema } from './auth.js';
2
3
  export const ContextCategory = z.enum([
3
4
  'architecture',
4
5
  'requirements',
@@ -13,5 +14,7 @@ export const PreserveContextSchema = z.object({
13
14
  content: z.string().optional().describe('Content to store'),
14
15
  search_term: z.string().optional().describe('Search term for retrieving context'),
15
16
  include_metadata: z.boolean().default(false).describe('Include usage metadata in response'),
17
+ session_id: z.string().uuid().optional().describe('Optional session used to resolve the backing thread scope'),
18
+ auth: AuthContextSchema.optional().describe('Authentication or thread context used for scoping'),
16
19
  });
17
20
  //# sourceMappingURL=context.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","sourceRoot":"","sources":["../../src/types/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC;IACpC,cAAc;IACd,cAAc;IACd,aAAa;IACb,WAAW;IACX,oBAAoB;IACpB,kBAAkB;CACnB,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,mBAAmB,CAAC;IACvF,QAAQ,EAAE,eAAe,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,yDAAyD,CAAC;IACxG,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IAC3D,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;IACjF,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,oCAAoC,CAAC;CAC5F,CAAC,CAAC"}
1
+ {"version":3,"file":"context.js","sourceRoot":"","sources":["../../src/types/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE9C,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC;IACpC,cAAc;IACd,cAAc;IACd,aAAa;IACb,WAAW;IACX,oBAAoB;IACpB,kBAAkB;CACnB,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,mBAAmB,CAAC;IACvF,QAAQ,EAAE,eAAe,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,yDAAyD,CAAC;IACxG,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IAC3D,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;IACjF,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,oCAAoC,CAAC;IAC3F,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2DAA2D,CAAC;IAC9G,IAAI,EAAE,iBAAiB,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,mDAAmD,CAAC;CACjG,CAAC,CAAC"}
@@ -8,14 +8,17 @@ export declare const SaveInsightSchema: z.ZodObject<{
8
8
  token: z.ZodOptional<z.ZodString>;
9
9
  user_id: z.ZodOptional<z.ZodString>;
10
10
  client_id: z.ZodOptional<z.ZodString>;
11
+ thread_id: z.ZodOptional<z.ZodString>;
11
12
  conversation_id: z.ZodOptional<z.ZodString>;
12
13
  }, "strip", z.ZodTypeAny, {
13
14
  user_id?: string | undefined;
15
+ thread_id?: string | undefined;
14
16
  token?: string | undefined;
15
17
  client_id?: string | undefined;
16
18
  conversation_id?: string | undefined;
17
19
  }, {
18
20
  user_id?: string | undefined;
21
+ thread_id?: string | undefined;
19
22
  token?: string | undefined;
20
23
  client_id?: string | undefined;
21
24
  conversation_id?: string | undefined;
@@ -26,6 +29,7 @@ export declare const SaveInsightSchema: z.ZodObject<{
26
29
  session_id?: string | undefined;
27
30
  auth?: {
28
31
  user_id?: string | undefined;
32
+ thread_id?: string | undefined;
29
33
  token?: string | undefined;
30
34
  client_id?: string | undefined;
31
35
  conversation_id?: string | undefined;
@@ -36,6 +40,7 @@ export declare const SaveInsightSchema: z.ZodObject<{
36
40
  tags?: string[] | undefined;
37
41
  auth?: {
38
42
  user_id?: string | undefined;
43
+ thread_id?: string | undefined;
39
44
  token?: string | undefined;
40
45
  client_id?: string | undefined;
41
46
  conversation_id?: string | undefined;
@@ -49,14 +54,17 @@ export declare const GetUserContextSchema: z.ZodObject<{
49
54
  token: z.ZodOptional<z.ZodString>;
50
55
  user_id: z.ZodOptional<z.ZodString>;
51
56
  client_id: z.ZodOptional<z.ZodString>;
57
+ thread_id: z.ZodOptional<z.ZodString>;
52
58
  conversation_id: z.ZodOptional<z.ZodString>;
53
59
  }, "strip", z.ZodTypeAny, {
54
60
  user_id?: string | undefined;
61
+ thread_id?: string | undefined;
55
62
  token?: string | undefined;
56
63
  client_id?: string | undefined;
57
64
  conversation_id?: string | undefined;
58
65
  }, {
59
66
  user_id?: string | undefined;
67
+ thread_id?: string | undefined;
60
68
  token?: string | undefined;
61
69
  client_id?: string | undefined;
62
70
  conversation_id?: string | undefined;
@@ -66,6 +74,7 @@ export declare const GetUserContextSchema: z.ZodObject<{
66
74
  include_session_history: boolean;
67
75
  auth?: {
68
76
  user_id?: string | undefined;
77
+ thread_id?: string | undefined;
69
78
  token?: string | undefined;
70
79
  client_id?: string | undefined;
71
80
  conversation_id?: string | undefined;
@@ -73,6 +82,7 @@ export declare const GetUserContextSchema: z.ZodObject<{
73
82
  }, {
74
83
  auth?: {
75
84
  user_id?: string | undefined;
85
+ thread_id?: string | undefined;
76
86
  token?: string | undefined;
77
87
  client_id?: string | undefined;
78
88
  conversation_id?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"insight.d.ts","sourceRoot":"","sources":["../../src/types/insight.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE9D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK5B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEjE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI/B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEvE,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,IAAI,CAAC;IACX,eAAe,EAAE,OAAO,EAAE,CAAC;IAC3B,eAAe,EAAE,OAAO,EAAE,CAAC;IAC3B,cAAc,EAAE,OAAO,GAAG,IAAI,CAAC;CAChC"}
1
+ {"version":3,"file":"insight.d.ts","sourceRoot":"","sources":["../../src/types/insight.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE9D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK5B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEjE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI/B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEvE,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,IAAI,CAAC;IACX,eAAe,EAAE,OAAO,EAAE,CAAC;IAC3B,eAAe,EAAE,OAAO,EAAE,CAAC;IAC3B,cAAc,EAAE,OAAO,GAAG,IAAI,CAAC;CAChC"}
@@ -140,14 +140,17 @@ export declare const GetJourneyStatusSchema: z.ZodObject<{
140
140
  token: z.ZodOptional<z.ZodString>;
141
141
  user_id: z.ZodOptional<z.ZodString>;
142
142
  client_id: z.ZodOptional<z.ZodString>;
143
+ thread_id: z.ZodOptional<z.ZodString>;
143
144
  conversation_id: z.ZodOptional<z.ZodString>;
144
145
  }, "strip", z.ZodTypeAny, {
145
146
  user_id?: string | undefined;
147
+ thread_id?: string | undefined;
146
148
  token?: string | undefined;
147
149
  client_id?: string | undefined;
148
150
  conversation_id?: string | undefined;
149
151
  }, {
150
152
  user_id?: string | undefined;
153
+ thread_id?: string | undefined;
151
154
  token?: string | undefined;
152
155
  client_id?: string | undefined;
153
156
  conversation_id?: string | undefined;
@@ -156,6 +159,7 @@ export declare const GetJourneyStatusSchema: z.ZodObject<{
156
159
  session_id: string;
157
160
  auth?: {
158
161
  user_id?: string | undefined;
162
+ thread_id?: string | undefined;
159
163
  token?: string | undefined;
160
164
  client_id?: string | undefined;
161
165
  conversation_id?: string | undefined;
@@ -164,6 +168,7 @@ export declare const GetJourneyStatusSchema: z.ZodObject<{
164
168
  session_id: string;
165
169
  auth?: {
166
170
  user_id?: string | undefined;
171
+ thread_id?: string | undefined;
167
172
  token?: string | undefined;
168
173
  client_id?: string | undefined;
169
174
  conversation_id?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"journey.d.ts","sourceRoot":"","sources":["../../src/types/journey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAG3D,eAAO,MAAM,qBAAqB,gDAA8C,CAAC;AACjF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQxB,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD,eAAO,MAAM,kBAAkB;;;;;;EAE7B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEnE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGjC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE3E,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IACxB,QAAQ,EAAE;QACR,YAAY,EAAE,MAAM,CAAC;QACrB,WAAW,EAAE,MAAM,CAAC;QACpB,gBAAgB,EAAE,MAAM,CAAC;KAC1B,CAAC;IACF,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,oBAAoB,EAAE,MAAM,CAAC;CAC9B"}
1
+ {"version":3,"file":"journey.d.ts","sourceRoot":"","sources":["../../src/types/journey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAG3D,eAAO,MAAM,qBAAqB,gDAA8C,CAAC;AACjF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQxB,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD,eAAO,MAAM,kBAAkB;;;;;;EAE7B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEnE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGjC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE3E,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IACxB,QAAQ,EAAE;QACR,YAAY,EAAE,MAAM,CAAC;QACrB,WAAW,EAAE,MAAM,CAAC;QACpB,gBAAgB,EAAE,MAAM,CAAC;KAC1B,CAAC;IACF,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,oBAAoB,EAAE,MAAM,CAAC;CAC9B"}
@@ -9,14 +9,17 @@ export declare const CreateSessionSchema: z.ZodObject<{
9
9
  token: z.ZodOptional<z.ZodString>;
10
10
  user_id: z.ZodOptional<z.ZodString>;
11
11
  client_id: z.ZodOptional<z.ZodString>;
12
+ thread_id: z.ZodOptional<z.ZodString>;
12
13
  conversation_id: z.ZodOptional<z.ZodString>;
13
14
  }, "strip", z.ZodTypeAny, {
14
15
  user_id?: string | undefined;
16
+ thread_id?: string | undefined;
15
17
  token?: string | undefined;
16
18
  client_id?: string | undefined;
17
19
  conversation_id?: string | undefined;
18
20
  }, {
19
21
  user_id?: string | undefined;
22
+ thread_id?: string | undefined;
20
23
  token?: string | undefined;
21
24
  client_id?: string | undefined;
22
25
  conversation_id?: string | undefined;
@@ -24,6 +27,7 @@ export declare const CreateSessionSchema: z.ZodObject<{
24
27
  }, "strip", z.ZodTypeAny, {
25
28
  auth?: {
26
29
  user_id?: string | undefined;
30
+ thread_id?: string | undefined;
27
31
  token?: string | undefined;
28
32
  client_id?: string | undefined;
29
33
  conversation_id?: string | undefined;
@@ -33,6 +37,7 @@ export declare const CreateSessionSchema: z.ZodObject<{
33
37
  }, {
34
38
  auth?: {
35
39
  user_id?: string | undefined;
40
+ thread_id?: string | undefined;
36
41
  token?: string | undefined;
37
42
  client_id?: string | undefined;
38
43
  conversation_id?: string | undefined;
@@ -47,14 +52,17 @@ export declare const ResumeSessionSchema: z.ZodObject<{
47
52
  token: z.ZodOptional<z.ZodString>;
48
53
  user_id: z.ZodOptional<z.ZodString>;
49
54
  client_id: z.ZodOptional<z.ZodString>;
55
+ thread_id: z.ZodOptional<z.ZodString>;
50
56
  conversation_id: z.ZodOptional<z.ZodString>;
51
57
  }, "strip", z.ZodTypeAny, {
52
58
  user_id?: string | undefined;
59
+ thread_id?: string | undefined;
53
60
  token?: string | undefined;
54
61
  client_id?: string | undefined;
55
62
  conversation_id?: string | undefined;
56
63
  }, {
57
64
  user_id?: string | undefined;
65
+ thread_id?: string | undefined;
58
66
  token?: string | undefined;
59
67
  client_id?: string | undefined;
60
68
  conversation_id?: string | undefined;
@@ -63,6 +71,7 @@ export declare const ResumeSessionSchema: z.ZodObject<{
63
71
  session_id?: string | undefined;
64
72
  auth?: {
65
73
  user_id?: string | undefined;
74
+ thread_id?: string | undefined;
66
75
  token?: string | undefined;
67
76
  client_id?: string | undefined;
68
77
  conversation_id?: string | undefined;
@@ -71,6 +80,7 @@ export declare const ResumeSessionSchema: z.ZodObject<{
71
80
  session_id?: string | undefined;
72
81
  auth?: {
73
82
  user_id?: string | undefined;
83
+ thread_id?: string | undefined;
74
84
  token?: string | undefined;
75
85
  client_id?: string | undefined;
76
86
  conversation_id?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../src/types/session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAEpE,eAAO,MAAM,mBAAmB,2DAAyD,CAAC;AAC1F,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI9B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAErE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG9B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAErE,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IACxB,YAAY,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC9C,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IACxB,YAAY,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC9C,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../src/types/session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAEpE,eAAO,MAAM,mBAAmB,2DAAyD,CAAC;AAC1F,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI9B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAErE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG9B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAErE,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IACxB,YAAY,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC9C,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IACxB,YAAY,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC9C,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;CACjB"}
@@ -1,18 +1,18 @@
1
1
  export const dailyReflection = {
2
- slug: 'daily-reflection',
3
- name: 'Daily Reflection',
4
- description: 'A brief check-in to process your day and capture key moments.',
5
- estimatedMinutes: 5,
6
- tags: ['reflection', 'daily', 'short'],
2
+ slug: 'daily-standup',
3
+ name: 'Developer Daily Standup',
4
+ description: 'Quick self-check: what you shipped, what is blocking you, and what is next.',
5
+ estimatedMinutes: 3,
6
+ tags: ['developer', 'daily', 'short'],
7
7
  steps: [
8
8
  {
9
9
  id: 'step_1',
10
10
  order: 1,
11
11
  type: 'prompt',
12
12
  content: {
13
- prompt: 'How are you feeling right now? Take a moment to notice.',
14
- checkpoint_key: 'initial_mood',
15
- instructions: 'Gently invite the user to check in with their current state. Accept any response - single words, emotions, physical sensations.'
13
+ prompt: 'What did you ship or make progress on since last check-in?',
14
+ checkpoint_key: 'shipped',
15
+ instructions: 'Accept anything: a PR, a fix, a design decision, even research. If they did not ship, that is fine too.'
16
16
  },
17
17
  optional: false
18
18
  },
@@ -21,9 +21,9 @@ export const dailyReflection = {
21
21
  order: 2,
22
22
  type: 'prompt',
23
23
  content: {
24
- prompt: 'What\'s one thing that happened today that you want to remember?',
25
- checkpoint_key: 'memorable_moment',
26
- instructions: 'Help the user identify something meaningful - positive or negative. The goal is noticing, not evaluating.'
24
+ prompt: 'Is anything blocking you right now?',
25
+ checkpoint_key: 'blockers',
26
+ instructions: 'Could be technical (failing CI, unclear API), human (waiting on review), or personal (energy, context switching). Offer to save blockers as constraints.'
27
27
  },
28
28
  optional: false
29
29
  },
@@ -32,18 +32,18 @@ export const dailyReflection = {
32
32
  order: 3,
33
33
  type: 'prompt',
34
34
  content: {
35
- prompt: 'Is there anything you\'d like to let go of before tomorrow?',
36
- checkpoint_key: 'release',
37
- instructions: 'This is optional and can be skipped. No pressure to identify something.'
35
+ prompt: 'What is the one thing you want to finish today?',
36
+ checkpoint_key: 'today_goal',
37
+ instructions: 'Encourage a single, concrete deliverable. Save it as a checkpoint so they can recall it later.'
38
38
  },
39
- optional: true
39
+ optional: false
40
40
  },
41
41
  {
42
42
  id: 'step_4',
43
43
  order: 4,
44
44
  type: 'summary',
45
45
  content: {
46
- instructions: 'Briefly summarize what was shared. Acknowledge their reflection without excessive praise. Offer to save any insights that emerged.'
46
+ instructions: 'Recap shipped work, blockers, and today\'s goal. If blockers were mentioned, suggest saving them to memory. Keep it brief and actionable.'
47
47
  },
48
48
  optional: false
49
49
  }
@@ -1 +1 @@
1
- {"version":3,"file":"daily-reflection.js","sourceRoot":"","sources":["../../../src/workflows/definitions/daily-reflection.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,eAAe,GAAY;IACtC,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE,kBAAkB;IACxB,WAAW,EAAE,+DAA+D;IAC5E,gBAAgB,EAAE,CAAC;IACnB,IAAI,EAAE,CAAC,YAAY,EAAE,OAAO,EAAE,OAAO,CAAC;IACtC,KAAK,EAAE;QACL;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,MAAM,EAAE,yDAAyD;gBACjE,cAAc,EAAE,cAAc;gBAC9B,YAAY,EAAE,iIAAiI;aAChJ;YACD,QAAQ,EAAE,KAAK;SAChB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,MAAM,EAAE,kEAAkE;gBAC1E,cAAc,EAAE,kBAAkB;gBAClC,YAAY,EAAE,2GAA2G;aAC1H;YACD,QAAQ,EAAE,KAAK;SAChB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,MAAM,EAAE,6DAA6D;gBACrE,cAAc,EAAE,SAAS;gBACzB,YAAY,EAAE,yEAAyE;aACxF;YACD,QAAQ,EAAE,IAAI;SACf;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,SAAS;YACf,OAAO,EAAE;gBACP,YAAY,EAAE,oIAAoI;aACnJ;YACD,QAAQ,EAAE,KAAK;SAChB;KACF;CACF,CAAC"}
1
+ {"version":3,"file":"daily-reflection.js","sourceRoot":"","sources":["../../../src/workflows/definitions/daily-reflection.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,eAAe,GAAY;IACtC,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE,yBAAyB;IAC/B,WAAW,EAAE,6EAA6E;IAC1F,gBAAgB,EAAE,CAAC;IACnB,IAAI,EAAE,CAAC,WAAW,EAAE,OAAO,EAAE,OAAO,CAAC;IACrC,KAAK,EAAE;QACL;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,MAAM,EAAE,4DAA4D;gBACpE,cAAc,EAAE,SAAS;gBACzB,YAAY,EAAE,yGAAyG;aACxH;YACD,QAAQ,EAAE,KAAK;SAChB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,MAAM,EAAE,qCAAqC;gBAC7C,cAAc,EAAE,UAAU;gBAC1B,YAAY,EAAE,0JAA0J;aACzK;YACD,QAAQ,EAAE,KAAK;SAChB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,MAAM,EAAE,iDAAiD;gBACzD,cAAc,EAAE,YAAY;gBAC5B,YAAY,EAAE,gGAAgG;aAC/G;YACD,QAAQ,EAAE,KAAK;SAChB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,SAAS;YACf,OAAO,EAAE;gBACP,YAAY,EAAE,2IAA2I;aAC1J;YACD,QAAQ,EAAE,KAAK;SAChB;KACF;CACF,CAAC"}
@@ -1,18 +1,18 @@
1
1
  export const gratitudePractice = {
2
- slug: 'gratitude-practice',
3
- name: 'Gratitude Practice',
4
- description: 'Notice and name three things you appreciate right now.',
5
- estimatedMinutes: 3,
6
- tags: ['gratitude', 'daily', 'short'],
2
+ slug: 'debug-postmortem',
3
+ name: 'Debug Postmortem',
4
+ description: 'Just fixed a tricky bug? Capture what happened and what you learned so you never hit it again.',
5
+ estimatedMinutes: 5,
6
+ tags: ['developer', 'debugging', 'short'],
7
7
  steps: [
8
8
  {
9
9
  id: 'step_1',
10
10
  order: 1,
11
11
  type: 'prompt',
12
12
  content: {
13
- prompt: 'What\'s something small that made today a little better?',
14
- checkpoint_key: 'gratitude_1',
15
- instructions: 'Start with something easy and concrete. A cup of coffee, a text from a friend, a moment of quiet. Small is good.'
13
+ prompt: 'What was the bug or issue? Describe the symptoms you saw.',
14
+ checkpoint_key: 'bug_symptoms',
15
+ instructions: 'Error messages, wrong behavior, failing test. Get the observable facts first.'
16
16
  },
17
17
  optional: false
18
18
  },
@@ -21,9 +21,9 @@ export const gratitudePractice = {
21
21
  order: 2,
22
22
  type: 'prompt',
23
23
  content: {
24
- prompt: 'What\'s something about yourself you\'re grateful for today?',
25
- checkpoint_key: 'gratitude_2',
26
- instructions: 'This can be harder. A quality, a decision they made, something they didn\'t do. Self-directed gratitude.'
24
+ prompt: 'What was the root cause?',
25
+ checkpoint_key: 'root_cause',
26
+ instructions: 'The actual underlying problem. Could be a logic error, wrong assumption, stale cache, race condition, misconfiguration. Dig past the symptom.'
27
27
  },
28
28
  optional: false
29
29
  },
@@ -32,9 +32,9 @@ export const gratitudePractice = {
32
32
  order: 3,
33
33
  type: 'prompt',
34
34
  content: {
35
- prompt: 'Who is someone you appreciate, even if you haven\'t told them?',
36
- checkpoint_key: 'gratitude_3',
37
- instructions: 'A person - named or described. Can be someone present in their life or from their past.'
35
+ prompt: 'How did you find it? What debugging steps led you to the fix?',
36
+ checkpoint_key: 'debug_path',
37
+ instructions: 'The process matters as much as the fix. Logging, bisect, reading source, rubber ducking, checking Stack Overflow. Capture the technique.'
38
38
  },
39
39
  optional: false
40
40
  },
@@ -43,7 +43,7 @@ export const gratitudePractice = {
43
43
  order: 4,
44
44
  type: 'summary',
45
45
  content: {
46
- instructions: 'Reflect back the three gratitudes simply. Note any patterns if obvious. Don\'t over-praise or make it performative.'
46
+ instructions: 'Write a compact postmortem: symptom, root cause, fix, and lesson learned. Offer to save the root cause and lesson as a decision or constraint in memory so the AI (and the user) does not repeat this mistake.'
47
47
  },
48
48
  optional: false
49
49
  }
@@ -1 +1 @@
1
- {"version":3,"file":"gratitude-practice.js","sourceRoot":"","sources":["../../../src/workflows/definitions/gratitude-practice.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,iBAAiB,GAAY;IACxC,IAAI,EAAE,oBAAoB;IAC1B,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE,wDAAwD;IACrE,gBAAgB,EAAE,CAAC;IACnB,IAAI,EAAE,CAAC,WAAW,EAAE,OAAO,EAAE,OAAO,CAAC;IACrC,KAAK,EAAE;QACL;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,MAAM,EAAE,0DAA0D;gBAClE,cAAc,EAAE,aAAa;gBAC7B,YAAY,EAAE,kHAAkH;aACjI;YACD,QAAQ,EAAE,KAAK;SAChB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,MAAM,EAAE,8DAA8D;gBACtE,cAAc,EAAE,aAAa;gBAC7B,YAAY,EAAE,0GAA0G;aACzH;YACD,QAAQ,EAAE,KAAK;SAChB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,MAAM,EAAE,gEAAgE;gBACxE,cAAc,EAAE,aAAa;gBAC7B,YAAY,EAAE,yFAAyF;aACxG;YACD,QAAQ,EAAE,KAAK;SAChB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,SAAS;YACf,OAAO,EAAE;gBACP,YAAY,EAAE,qHAAqH;aACpI;YACD,QAAQ,EAAE,KAAK;SAChB;KACF;CACF,CAAC"}
1
+ {"version":3,"file":"gratitude-practice.js","sourceRoot":"","sources":["../../../src/workflows/definitions/gratitude-practice.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,iBAAiB,GAAY;IACxC,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE,kBAAkB;IACxB,WAAW,EAAE,gGAAgG;IAC7G,gBAAgB,EAAE,CAAC;IACnB,IAAI,EAAE,CAAC,WAAW,EAAE,WAAW,EAAE,OAAO,CAAC;IACzC,KAAK,EAAE;QACL;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,MAAM,EAAE,2DAA2D;gBACnE,cAAc,EAAE,cAAc;gBAC9B,YAAY,EAAE,+EAA+E;aAC9F;YACD,QAAQ,EAAE,KAAK;SAChB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,MAAM,EAAE,0BAA0B;gBAClC,cAAc,EAAE,YAAY;gBAC5B,YAAY,EAAE,+IAA+I;aAC9J;YACD,QAAQ,EAAE,KAAK;SAChB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,MAAM,EAAE,+DAA+D;gBACvE,cAAc,EAAE,YAAY;gBAC5B,YAAY,EAAE,0IAA0I;aACzJ;YACD,QAAQ,EAAE,KAAK;SAChB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,SAAS;YACf,OAAO,EAAE;gBACP,YAAY,EAAE,gNAAgN;aAC/N;YACD,QAAQ,EAAE,KAAK;SAChB;KACF;CACF,CAAC"}
@@ -1,18 +1,18 @@
1
1
  export const weeklyReview = {
2
- slug: 'weekly-review',
3
- name: 'Weekly Review',
4
- description: 'Look back on your week and set intentions for the next one.',
5
- estimatedMinutes: 10,
6
- tags: ['reflection', 'weekly', 'medium'],
2
+ slug: 'sprint-retro',
3
+ name: 'Sprint Retrospective',
4
+ description: 'Reflect on what worked, what did not, and capture decisions for next sprint.',
5
+ estimatedMinutes: 8,
6
+ tags: ['developer', 'weekly', 'medium'],
7
7
  steps: [
8
8
  {
9
9
  id: 'step_1',
10
10
  order: 1,
11
11
  type: 'prompt',
12
12
  content: {
13
- prompt: 'How would you describe this past week in a few words?',
14
- checkpoint_key: 'week_summary',
15
- instructions: 'Get a quick temperature read. Could be emotional tone, pace, theme. No right answer.'
13
+ prompt: 'What went well this sprint? What are you proud of?',
14
+ checkpoint_key: 'went_well',
15
+ instructions: 'Shipped features, solved tricky bugs, good team dynamics, learned something new. Anything positive.'
16
16
  },
17
17
  optional: false
18
18
  },
@@ -21,9 +21,9 @@ export const weeklyReview = {
21
21
  order: 2,
22
22
  type: 'prompt',
23
23
  content: {
24
- prompt: 'What\'s one thing you accomplished that you want to acknowledge?',
25
- checkpoint_key: 'accomplishment',
26
- instructions: 'Help them find something - doesn\'t have to be big. Finishing something, showing up, making progress.'
24
+ prompt: 'What did not go well? What slowed you down?',
25
+ checkpoint_key: 'went_poorly',
26
+ instructions: 'Flaky tests, unclear requirements, scope creep, burnout, bad estimates. Be honest, no judgment.'
27
27
  },
28
28
  optional: false
29
29
  },
@@ -32,9 +32,9 @@ export const weeklyReview = {
32
32
  order: 3,
33
33
  type: 'prompt',
34
34
  content: {
35
- prompt: 'What challenged you this week? How did you respond?',
36
- checkpoint_key: 'challenge',
37
- instructions: 'Not looking for silver linings. Just noticing what was hard and how they navigated it.'
35
+ prompt: 'Did you make any architectural or design decisions this sprint? What were the tradeoffs?',
36
+ checkpoint_key: 'decisions',
37
+ instructions: 'DB schema choices, library picks, API design, refactor strategies. Offer to save these as decisions in memory so they persist.'
38
38
  },
39
39
  optional: false
40
40
  },
@@ -43,9 +43,9 @@ export const weeklyReview = {
43
43
  order: 4,
44
44
  type: 'prompt',
45
45
  content: {
46
- prompt: 'Is there anything left unfinished that\'s weighing on you?',
47
- checkpoint_key: 'unfinished',
48
- instructions: 'Open loops, incomplete tasks, things they\'re avoiding. Optional to answer but worth asking.'
46
+ prompt: 'Any recurring mistakes or patterns you want to stop repeating?',
47
+ checkpoint_key: 'anti_patterns',
48
+ instructions: 'Forgetting to add tests, skipping error handling, over-engineering. Offer to save these as constraints (tagged "ai-mistake" if AI-related).'
49
49
  },
50
50
  optional: true
51
51
  },
@@ -54,9 +54,9 @@ export const weeklyReview = {
54
54
  order: 5,
55
55
  type: 'prompt',
56
56
  content: {
57
- prompt: 'What\'s one intention you want to carry into next week?',
58
- checkpoint_key: 'intention',
59
- instructions: 'Not a goal or task. An intention - how they want to show up, what they want to prioritize, a quality to embody.'
57
+ prompt: 'What is one thing you want to do differently next sprint?',
58
+ checkpoint_key: 'action_item',
59
+ instructions: 'A concrete, actionable change. Not a vague aspiration. Save as a decision if the user is committed.'
60
60
  },
61
61
  optional: false
62
62
  },
@@ -65,7 +65,7 @@ export const weeklyReview = {
65
65
  order: 6,
66
66
  type: 'summary',
67
67
  content: {
68
- instructions: 'Summarize the arc: how the week felt, what they accomplished, what challenged them, and their intention going forward. Keep it grounded.'
68
+ instructions: 'Summarize wins, pain points, key decisions, and the action item. Offer to save decisions and anti-patterns to memory for cross-session recall. Keep it structured and developer-friendly.'
69
69
  },
70
70
  optional: false
71
71
  }
@@ -1 +1 @@
1
- {"version":3,"file":"weekly-review.js","sourceRoot":"","sources":["../../../src/workflows/definitions/weekly-review.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAY;IACnC,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,6DAA6D;IAC1E,gBAAgB,EAAE,EAAE;IACpB,IAAI,EAAE,CAAC,YAAY,EAAE,QAAQ,EAAE,QAAQ,CAAC;IACxC,KAAK,EAAE;QACL;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,MAAM,EAAE,uDAAuD;gBAC/D,cAAc,EAAE,cAAc;gBAC9B,YAAY,EAAE,sFAAsF;aACrG;YACD,QAAQ,EAAE,KAAK;SAChB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,MAAM,EAAE,kEAAkE;gBAC1E,cAAc,EAAE,gBAAgB;gBAChC,YAAY,EAAE,uGAAuG;aACtH;YACD,QAAQ,EAAE,KAAK;SAChB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,MAAM,EAAE,qDAAqD;gBAC7D,cAAc,EAAE,WAAW;gBAC3B,YAAY,EAAE,wFAAwF;aACvG;YACD,QAAQ,EAAE,KAAK;SAChB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,MAAM,EAAE,4DAA4D;gBACpE,cAAc,EAAE,YAAY;gBAC5B,YAAY,EAAE,8FAA8F;aAC7G;YACD,QAAQ,EAAE,IAAI;SACf;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,MAAM,EAAE,yDAAyD;gBACjE,cAAc,EAAE,WAAW;gBAC3B,YAAY,EAAE,iHAAiH;aAChI;YACD,QAAQ,EAAE,KAAK;SAChB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,SAAS;YACf,OAAO,EAAE;gBACP,YAAY,EAAE,0IAA0I;aACzJ;YACD,QAAQ,EAAE,KAAK;SAChB;KACF;CACF,CAAC"}
1
+ {"version":3,"file":"weekly-review.js","sourceRoot":"","sources":["../../../src/workflows/definitions/weekly-review.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAY;IACnC,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE,8EAA8E;IAC3F,gBAAgB,EAAE,CAAC;IACnB,IAAI,EAAE,CAAC,WAAW,EAAE,QAAQ,EAAE,QAAQ,CAAC;IACvC,KAAK,EAAE;QACL;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,MAAM,EAAE,oDAAoD;gBAC5D,cAAc,EAAE,WAAW;gBAC3B,YAAY,EAAE,qGAAqG;aACpH;YACD,QAAQ,EAAE,KAAK;SAChB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,MAAM,EAAE,6CAA6C;gBACrD,cAAc,EAAE,aAAa;gBAC7B,YAAY,EAAE,iGAAiG;aAChH;YACD,QAAQ,EAAE,KAAK;SAChB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,MAAM,EAAE,0FAA0F;gBAClG,cAAc,EAAE,WAAW;gBAC3B,YAAY,EAAE,gIAAgI;aAC/I;YACD,QAAQ,EAAE,KAAK;SAChB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,MAAM,EAAE,gEAAgE;gBACxE,cAAc,EAAE,eAAe;gBAC/B,YAAY,EAAE,6IAA6I;aAC5J;YACD,QAAQ,EAAE,IAAI;SACf;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,MAAM,EAAE,2DAA2D;gBACnE,cAAc,EAAE,aAAa;gBAC7B,YAAY,EAAE,qGAAqG;aACpH;YACD,QAAQ,EAAE,KAAK;SAChB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,SAAS;YACf,OAAO,EAAE;gBACP,YAAY,EAAE,2LAA2L;aAC1M;YACD,QAAQ,EAAE,KAAK;SAChB;KACF;CACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "couchloop-eq-mcp",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "description": "Behavioral governance layer for LLMs - monitors for hallucination, inconsistency, tone drift, and unsafe reasoning while managing stateful AI sessions",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -62,7 +62,8 @@
62
62
  "server:dev": "tsx watch src/server/index.ts",
63
63
  "server:v2": "FF_V2_ROLLOUT_PCT=100 tsx src/server/index.ts",
64
64
  "smithery:publish:url": "smithery mcp publish \"https://mcp.couchloop.com/mcp\" -n @wisenbergg/couchloop-mcp --config-schema '{\"type\":\"object\",\"properties\":{},\"additionalProperties\":false}'",
65
- "security:check": "npm run security:secrets && npm run security:audit && npm run security:package",
65
+ "security:check": "npm run security:repo-secrets && npm run security:secrets && npm run security:audit && npm run security:package",
66
+ "security:repo-secrets": "node scripts/scan-repo-secrets.mjs",
66
67
  "security:secrets": "node -e \"const{execSync}=require('child_process');try{const r=execSync('grep -rE \\\"(sk-|pk_live_|AKIA)[A-Za-z0-9]{20,}\\\" dist/ --include=*.js 2>/dev/null',{encoding:'utf8'});if(r.trim()){console.log(r);console.log('❌ Hardcoded secrets found!');process.exit(1)}}catch(e){}console.log('✅ No hardcoded secrets found')\"",
67
68
  "security:audit": "npm audit --audit-level=high || true",
68
69
  "security:package": "npm pack --dry-run 2>&1 | grep -E 'schema\\.|seed\\.|migrate\\.|oauth/' && echo '❌ Sensitive files in package!' && exit 1 || echo '✅ Package clean'",