@awareness-sdk/local 0.2.2 → 0.2.4
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.
- package/package.json +1 -1
- package/src/spec/awareness-spec.json +11 -2
package/package.json
CHANGED
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
" Skipping = permanent data loss.",
|
|
34
34
|
"",
|
|
35
35
|
"STEP 4 - CATEGORY GUIDE (for insights.knowledge_cards):",
|
|
36
|
+
" Engineering:",
|
|
36
37
|
" - decision = choice made between alternatives.",
|
|
37
38
|
" - problem_solution = bug/problem plus the fix that resolved it.",
|
|
38
39
|
" - workflow = process, setup, or configuration steps only.",
|
|
@@ -40,6 +41,14 @@
|
|
|
40
41
|
" - insight = reusable pattern or general learning.",
|
|
41
42
|
" - skill = reusable procedure done 2+ times; summary = injectable instruction, methods = steps.",
|
|
42
43
|
" - key_point = important technical fact when nothing else fits.",
|
|
44
|
+
" Personal (use when user shares preferences or personal info):",
|
|
45
|
+
" - personal_preference = user's preferences, style, habits (e.g. 'I prefer dark mode', 'always use TypeScript').",
|
|
46
|
+
" - important_detail = user's role, team, project context, relationships.",
|
|
47
|
+
" - plan_intention = user's goals, plans, upcoming deadlines.",
|
|
48
|
+
" - activity_preference = hobbies, interests, routines.",
|
|
49
|
+
" - health_info = health-related notes shared by user.",
|
|
50
|
+
" - career_info = job, skills, career goals.",
|
|
51
|
+
" - custom_misc = anything personal that doesn't fit above.",
|
|
43
52
|
" Never default everything to workflow.",
|
|
44
53
|
"",
|
|
45
54
|
"STEP 5 - SESSION END:",
|
|
@@ -58,7 +67,7 @@
|
|
|
58
67
|
{
|
|
59
68
|
"name": "awareness_init",
|
|
60
69
|
"short_desc": "Load cross-session project memory and context",
|
|
61
|
-
"long_desc": "Load cross-session project memory. Returns session_id, context (narratives, tasks, knowledge, active_skills, attention_summary), and usage rules. Call ONCE at session start. ATTENTION PROTOCOL: When context.attention_summary.needs_attention is true, review all attention items (stale tasks, high risks) and automatically: (1) remind the user about stale tasks, (2) warn about high risks before starting work, (3) update resolved items via awareness_record."
|
|
70
|
+
"long_desc": "Load cross-session project memory. Returns session_id, user_preferences (personal preferences, identity, career — highest priority, present FIRST), context (narratives, tasks, knowledge, active_skills, attention_summary), and usage rules. Call ONCE at session start. ATTENTION PROTOCOL: When context.attention_summary.needs_attention is true, review all attention items (stale tasks, high risks) and automatically: (1) remind the user about stale tasks, (2) warn about high risks before starting work, (3) update resolved items via awareness_record."
|
|
62
71
|
},
|
|
63
72
|
{
|
|
64
73
|
"name": "awareness_get_agent_prompt",
|
|
@@ -165,7 +174,7 @@
|
|
|
165
174
|
"label": "Claude Code",
|
|
166
175
|
"rules_file": "CLAUDE.md",
|
|
167
176
|
"mcp_path": ".mcp.json",
|
|
168
|
-
"mcp_config_variant": "
|
|
177
|
+
"mcp_config_variant": "http",
|
|
169
178
|
"strategy": "managed_block",
|
|
170
179
|
"conflict_policy": "error_on_invalid_markers",
|
|
171
180
|
"header": "# Project Memory (Awareness MCP)",
|