@kykiles/opencode-mem 13.10.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.
- package/LICENSE +202 -0
- package/README.md +429 -0
- package/dist/npx-cli/index.js +9798 -0
- package/dist/opencode-plugin/index.js +70 -0
- package/package.json +187 -0
- package/plugin/.mcp.json +12 -0
- package/plugin/bun.lock +160 -0
- package/plugin/hooks/bugfixes-2026-01-10.md +92 -0
- package/plugin/hooks/hooks.json +87 -0
- package/plugin/modes/code--ar.json +24 -0
- package/plugin/modes/code--bn.json +24 -0
- package/plugin/modes/code--chill.json +8 -0
- package/plugin/modes/code--cs.json +24 -0
- package/plugin/modes/code--da.json +24 -0
- package/plugin/modes/code--de.json +24 -0
- package/plugin/modes/code--el.json +24 -0
- package/plugin/modes/code--es.json +24 -0
- package/plugin/modes/code--fi.json +24 -0
- package/plugin/modes/code--fr.json +24 -0
- package/plugin/modes/code--he.json +24 -0
- package/plugin/modes/code--hi.json +24 -0
- package/plugin/modes/code--hu.json +24 -0
- package/plugin/modes/code--id.json +24 -0
- package/plugin/modes/code--it.json +24 -0
- package/plugin/modes/code--ja.json +24 -0
- package/plugin/modes/code--ko.json +24 -0
- package/plugin/modes/code--nl.json +24 -0
- package/plugin/modes/code--no.json +24 -0
- package/plugin/modes/code--pl.json +24 -0
- package/plugin/modes/code--pt-br.json +24 -0
- package/plugin/modes/code--ro.json +24 -0
- package/plugin/modes/code--ru.json +24 -0
- package/plugin/modes/code--sv.json +24 -0
- package/plugin/modes/code--th.json +24 -0
- package/plugin/modes/code--tr.json +24 -0
- package/plugin/modes/code--uk.json +24 -0
- package/plugin/modes/code--ur.json +25 -0
- package/plugin/modes/code--vi.json +24 -0
- package/plugin/modes/code--zh.json +24 -0
- package/plugin/modes/code.json +139 -0
- package/plugin/modes/email-investigation.json +120 -0
- package/plugin/modes/law-study--chill.json +7 -0
- package/plugin/modes/law-study-CLAUDE.md +85 -0
- package/plugin/modes/law-study.json +120 -0
- package/plugin/modes/meme-tokens.json +125 -0
- package/plugin/package.json +45 -0
- package/plugin/scripts/bun-runner.js +238 -0
- package/plugin/scripts/context-generator.cjs +825 -0
- package/plugin/scripts/mcp-server.cjs +249 -0
- package/plugin/scripts/server-service.cjs +9939 -0
- package/plugin/scripts/statusline-counts.js +40 -0
- package/plugin/scripts/transcript-watcher.cjs +29 -0
- package/plugin/scripts/version-check.js +193 -0
- package/plugin/scripts/worker-service.cjs +2238 -0
- package/plugin/scripts/worker-wrapper.cjs +2 -0
- package/plugin/skills/babysit/SKILL.md +87 -0
- package/plugin/skills/design-is/SKILL.md +312 -0
- package/plugin/skills/do/SKILL.md +45 -0
- package/plugin/skills/how-it-works/SKILL.md +22 -0
- package/plugin/skills/how-it-works/onboarding-explainer.md +17 -0
- package/plugin/skills/knowledge-agent/SKILL.md +80 -0
- package/plugin/skills/learn-codebase/SKILL.md +21 -0
- package/plugin/skills/make-plan/SKILL.md +67 -0
- package/plugin/skills/mem-search/SKILL.md +131 -0
- package/plugin/skills/oh-my-issues/SKILL.md +226 -0
- package/plugin/skills/pathfinder/SKILL.md +111 -0
- package/plugin/skills/smart-explore/SKILL.md +193 -0
- package/plugin/skills/standup/SKILL.md +142 -0
- package/plugin/skills/standup/agent-brief.md +47 -0
- package/plugin/skills/standup/standup.mjs +662 -0
- package/plugin/skills/timeline-report/SKILL.md +211 -0
- package/plugin/skills/version-bump/SKILL.md +74 -0
- package/plugin/skills/version-bump/scripts/generate_changelog.js +34 -0
- package/plugin/skills/weekly-digests/SKILL.md +262 -0
- package/plugin/skills/what-the/SKILL.md +6 -0
- package/plugin/skills/wowerpoint/SKILL.md +205 -0
- package/plugin/sqlite/SessionStore.js +764 -0
- package/plugin/sqlite/observations/files.js +10 -0
- package/plugin/ui/assets/fonts/monaspace-radon-var.woff +0 -0
- package/plugin/ui/assets/fonts/monaspace-radon-var.woff2 +0 -0
- package/plugin/ui/claude-mem-logo-for-dark-mode.webp +0 -0
- package/plugin/ui/claude-mem-logo-stylized.png +0 -0
- package/plugin/ui/claude-mem-logomark.webp +0 -0
- package/plugin/ui/icon-thick-completed.svg +8 -0
- package/plugin/ui/icon-thick-investigated.svg +8 -0
- package/plugin/ui/icon-thick-learned.svg +12 -0
- package/plugin/ui/icon-thick-next-steps.svg +8 -0
- package/plugin/ui/viewer-bundle.js +65 -0
- package/plugin/ui/viewer.html +2402 -0
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Law Study",
|
|
3
|
+
"description": "Legal study and exam preparation for law students",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"observation_types": [
|
|
6
|
+
{
|
|
7
|
+
"id": "case-holding",
|
|
8
|
+
"label": "Case Holding",
|
|
9
|
+
"description": "Case brief (2-3 sentences: key facts + holding) with extracted legal rule",
|
|
10
|
+
"emoji": "⚖️",
|
|
11
|
+
"work_emoji": "📖"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"id": "issue-pattern",
|
|
15
|
+
"label": "Issue Pattern",
|
|
16
|
+
"description": "Exam trigger or fact pattern that signals a legal issue to spot",
|
|
17
|
+
"emoji": "🎯",
|
|
18
|
+
"work_emoji": "🔍"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "prof-framework",
|
|
22
|
+
"label": "Prof Framework",
|
|
23
|
+
"description": "Professor's analytical lens, emphasis, or approach to a topic or doctrine",
|
|
24
|
+
"emoji": "🧑🏫",
|
|
25
|
+
"work_emoji": "📝"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "doctrine-rule",
|
|
29
|
+
"label": "Doctrine / Rule",
|
|
30
|
+
"description": "Legal test, standard, or doctrine synthesized from cases, statutes, or restatements",
|
|
31
|
+
"emoji": "📜",
|
|
32
|
+
"work_emoji": "🔍"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"id": "argument-structure",
|
|
36
|
+
"label": "Argument Structure",
|
|
37
|
+
"description": "Legal argument or counter-argument worked through with analytical steps",
|
|
38
|
+
"emoji": "🗣️",
|
|
39
|
+
"work_emoji": "⚖️"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"id": "cross-case-connection",
|
|
43
|
+
"label": "Cross-Case Connection",
|
|
44
|
+
"description": "Insight linking multiple cases, doctrines, or topics that reveals a deeper principle",
|
|
45
|
+
"emoji": "🔗",
|
|
46
|
+
"work_emoji": "🔍"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"observation_concepts": [
|
|
50
|
+
{
|
|
51
|
+
"id": "exam-relevant",
|
|
52
|
+
"label": "Exam Relevant",
|
|
53
|
+
"description": "Flagged by professor or likely to appear on exams based on emphasis"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "minority-position",
|
|
57
|
+
"label": "Minority Position",
|
|
58
|
+
"description": "Dissent, minority rule, or alternative jurisdictional approach worth knowing"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "gotcha",
|
|
62
|
+
"label": "Gotcha",
|
|
63
|
+
"description": "Subtle nuance, counterintuitive result, or common mistake students get wrong"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"id": "unsettled-law",
|
|
67
|
+
"label": "Unsettled Law",
|
|
68
|
+
"description": "Circuit split, open question, or evolving area of law"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"id": "policy-rationale",
|
|
72
|
+
"label": "Policy Rationale",
|
|
73
|
+
"description": "Normative or policy argument underlying a rule or holding"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"id": "course-theme",
|
|
77
|
+
"label": "Course Theme",
|
|
78
|
+
"description": "How this case or rule connects to the overarching narrative or theory of the course"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"prompts": {
|
|
82
|
+
"system_identity": "You are Claude-Mem, a specialized observer tool for creating searchable memory FOR FUTURE SESSIONS.\n\nCRITICAL: Record what was READ, ANALYZED, SYNTHESIZED, or LEARNED about the law, not what you (the observer) are doing.\n\nYou do not have access to tools. All information you need is provided in <observed_from_primary_session> messages. Create observations from what you observe - no investigation needed.",
|
|
83
|
+
"spatial_awareness": "SPATIAL AWARENESS: Tool executions include the working directory (tool_cwd) to help you understand:\n- Which repository/project is being worked on\n- Where files are located relative to the project root\n- How to match requested paths to actual execution paths",
|
|
84
|
+
"observer_role": "Your job is to monitor a different Claude Code session happening RIGHT NOW, with the goal of creating observations and progress summaries as legal study is being done LIVE by the user. You are NOT the one doing the work - you are ONLY observing and recording what is being read, analyzed, briefed, or synthesized in the other session.",
|
|
85
|
+
"recording_focus": "WHAT TO RECORD\n--------------\nFocus on legal knowledge and exam-ready insights:\n- Case holdings distilled to 2-3 sentences (key facts + holding + rule)\n- Legal tests, elements, and standards extracted from cases or statutes\n- Issue-spotting triggers: what fact patterns signal which legal issues\n- Professor's framing, emphasis, or analytical approach to a doctrine\n- Arguments and counter-arguments worked through\n- Connections across cases or doctrines that reveal underlying principles\n\nUse verbs like: held, established, synthesized, identified, distinguished, analyzed, revealed, connected\n\n✅ GOOD EXAMPLES (describes what was learned about the law):\n- \"Palsgraf established proximate cause requires the harm be foreseeable to the defendant at the time of conduct\"\n- \"Prof frames consideration doctrine around the bargain theory, not benefit-detriment — exam answers should reflect this\"\n- \"When fact pattern shows concurrent causation, issue-spot both but-for AND substantial factor tests\"\n\n❌ BAD EXAMPLES (describes observation process - DO NOT DO THIS):\n- \"Analyzed the case and recorded findings about proximate cause\"\n- \"Tracked professor's comments and stored the framework\"\n- \"Monitored discussion of consideration and noted the approach\"",
|
|
86
|
+
"skip_guidance": "WHEN TO SKIP\n------------\nSkip these — not worth recording:\n- Full case briefs (only record the 2-3 sentence distilled version with the rule)\n- Re-reading the same case or passage without new insight\n- Definitions of basic terms the student already knows\n- Routine case brief formatting with no analytical content\n- Simple fact summaries that don't extract a rule or pattern\n- Procedural history details not relevant to the legal rule\n- **No output necessary if skipping.**",
|
|
87
|
+
"type_guidance": "**type**: MUST be EXACTLY one of these 6 options (no other values allowed):\n - case-holding: case brief (2-3 sentences: key facts + holding) with extracted legal rule\n - issue-pattern: exam trigger or fact pattern that signals a legal issue to spot\n - prof-framework: professor's analytical lens, emphasis, or approach to a topic or doctrine\n - doctrine-rule: legal test, standard, or doctrine synthesized from cases, statutes, or restatements\n - argument-structure: legal argument or counter-argument worked through with analytical steps\n - cross-case-connection: insight linking multiple cases, doctrines, or topics that reveals a deeper principle",
|
|
88
|
+
"concept_guidance": "**concepts**: 2-5 knowledge-type categories. MUST use ONLY these exact keywords:\n - exam-relevant: flagged by professor or likely to appear on exams\n - minority-position: dissent, minority rule, or alternative jurisdictional approach\n - gotcha: subtle nuance, counterintuitive result, or common mistake\n - unsettled-law: circuit split, open question, or evolving area\n - policy-rationale: normative or policy argument underlying a rule\n - course-theme: connects to the overarching narrative or theory of the course\n\n IMPORTANT: Do NOT include the observation type (case-holding/issue-pattern/etc.) as a concept.\n Types and concepts are separate dimensions.",
|
|
89
|
+
"field_guidance": "**facts**: Concise, self-contained statements\nEach fact is ONE piece of information\n No pronouns - each fact must stand alone\n Include specific details: case names, rule elements, test names, jurisdiction\n\n**files**: All files or documents read (full paths from project root)",
|
|
90
|
+
"output_format_header": "OUTPUT FORMAT\n-------------\nOutput observations using this XML structure:",
|
|
91
|
+
"format_examples": "",
|
|
92
|
+
"footer": "IMPORTANT! DO NOT do any work right now other than generating this OBSERVATIONS from tool use messages - and remember that you are a memory agent designed to summarize a DIFFERENT claude code session, not this one.\n\nNever reference yourself or your own actions. Do not output anything other than the observation content formatted in the XML structure above. All other output is ignored by the system, and the system has been designed to be smart about token usage. Please spend your tokens wisely on useful observations.\n\nRemember that we record these observations as a way of helping us stay on track with our progress, and to help us keep important decisions and changes at the forefront of our minds! :) Thank you so much for your help!",
|
|
93
|
+
|
|
94
|
+
"xml_title_placeholder": "[**title**: Case name, doctrine name, or short description of the legal insight]",
|
|
95
|
+
"xml_subtitle_placeholder": "[**subtitle**: One sentence capturing the core legal rule or exam relevance (max 24 words)]",
|
|
96
|
+
"xml_fact_placeholder": "[Concise, self-contained legal fact — include case names, rule elements, test names]",
|
|
97
|
+
"xml_narrative_placeholder": "[**narrative**: Full legal context: what the case held or rule requires, how it connects to other doctrine, why it matters for exams or practice]",
|
|
98
|
+
"xml_concept_placeholder": "[exam-relevant | minority-position | gotcha | unsettled-law | policy-rationale | course-theme]",
|
|
99
|
+
"xml_file_placeholder": "[path/to/document]",
|
|
100
|
+
|
|
101
|
+
"xml_summary_request_placeholder": "[Short title capturing the legal topic studied AND what was analyzed or synthesized]",
|
|
102
|
+
"xml_summary_investigated_placeholder": "[What cases, statutes, or doctrines were read or examined in this session?]",
|
|
103
|
+
"xml_summary_learned_placeholder": "[What legal rules, patterns, or frameworks were extracted and understood?]",
|
|
104
|
+
"xml_summary_completed_placeholder": "[What study work was completed? Which cases briefed, which doctrines synthesized, which issue patterns identified?]",
|
|
105
|
+
"xml_summary_next_steps_placeholder": "[What topics, cases, or doctrines are being studied next in this session?]",
|
|
106
|
+
"xml_summary_notes_placeholder": "[Additional insights about exam strategy, professor emphasis, or cross-topic connections observed in this session]",
|
|
107
|
+
|
|
108
|
+
"header_memory_start": "LAW STUDY MEMORY START\n=======================",
|
|
109
|
+
"header_memory_continued": "LAW STUDY MEMORY CONTINUED\n===========================",
|
|
110
|
+
"header_summary_checkpoint": "LAW STUDY SUMMARY CHECKPOINT\n============================",
|
|
111
|
+
|
|
112
|
+
"continuation_greeting": "Hello memory agent, you are continuing to observe the primary Claude session doing legal study and case analysis.",
|
|
113
|
+
"continuation_instruction": "IMPORTANT: Continue generating observations from tool use messages using the XML structure below.",
|
|
114
|
+
|
|
115
|
+
"summary_instruction": "Write progress notes of what legal material was studied, what rules and patterns were extracted, and what's next. This is a checkpoint to capture study progress so far. The session is ongoing - more cases or doctrines may be analyzed after this summary. Write \"next_steps\" as the current study trajectory (what topics or cases are actively being worked through), not as post-session plans. Always write at least a minimal summary explaining current progress, even if study is still early, so that users see a summary output tied to each study block.",
|
|
116
|
+
"summary_context_label": "Claude's Full Response to User:",
|
|
117
|
+
"summary_format_instruction": "Respond in this XML format:",
|
|
118
|
+
"summary_footer": "IMPORTANT! DO NOT do any work right now other than generating this next PROGRESS SUMMARY - and remember that you are a memory agent designed to summarize a DIFFERENT claude code session, not this one.\n\nNever reference yourself or your own actions. Do not output anything other than the summary content formatted in the XML structure above. All other output is ignored by the system, and the system has been designed to be smart about token usage. Please spend your tokens wisely on useful summary content.\n\nThank you, this summary will be very useful for keeping track of legal study progress!"
|
|
119
|
+
}
|
|
120
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Meme Token Trading",
|
|
3
|
+
"description": "Solana memecoin activity monitoring, pump detection, and trading signal analysis",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"observation_types": [
|
|
6
|
+
{
|
|
7
|
+
"id": "pump-detected",
|
|
8
|
+
"label": "Pump Detected",
|
|
9
|
+
"description": "Token showing rapid price increase with high trading activity (U/m surge, multi-timeframe gains)",
|
|
10
|
+
"emoji": "🚀",
|
|
11
|
+
"work_emoji": "📈"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"id": "dump-detected",
|
|
15
|
+
"label": "Dump Detected",
|
|
16
|
+
"description": "Token showing rapid price decline, sell pressure, or activity collapse after a pump",
|
|
17
|
+
"emoji": "💀",
|
|
18
|
+
"work_emoji": "📉"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "signal-change",
|
|
22
|
+
"label": "Signal Change",
|
|
23
|
+
"description": "Token transitioning between signal tiers (FLAT/WATCH/RISING/STRONG) indicating momentum shift",
|
|
24
|
+
"emoji": "🔄",
|
|
25
|
+
"work_emoji": "📊"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "token-profile",
|
|
29
|
+
"label": "Token Profile",
|
|
30
|
+
"description": "Notable token characteristics: pool size, age, buy pressure pattern, liquidity ratio, repeat behavior",
|
|
31
|
+
"emoji": "🪙",
|
|
32
|
+
"work_emoji": "🔍"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"id": "market-condition",
|
|
36
|
+
"label": "Market Condition",
|
|
37
|
+
"description": "Broad market state observation: lull, heating up, multiple pumps, activity distribution across tokens",
|
|
38
|
+
"emoji": "🌡️",
|
|
39
|
+
"work_emoji": "📊"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"id": "algorithm-insight",
|
|
43
|
+
"label": "Algorithm Insight",
|
|
44
|
+
"description": "Observation about sorting behavior, signal accuracy, false positives, filter gaps, or ranking quality",
|
|
45
|
+
"emoji": "⚙️",
|
|
46
|
+
"work_emoji": "🔧"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"observation_concepts": [
|
|
50
|
+
{
|
|
51
|
+
"id": "early-detection",
|
|
52
|
+
"label": "Early Detection",
|
|
53
|
+
"description": "Token caught before or during the initial pump phase"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "lifecycle",
|
|
57
|
+
"label": "Lifecycle",
|
|
58
|
+
"description": "Full pump-hold-dump cycle or multi-wave pattern observed"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "false-signal",
|
|
62
|
+
"label": "False Signal",
|
|
63
|
+
"description": "Token ranked high but not actually pumping, or filter/ranking issue"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"id": "whale-activity",
|
|
67
|
+
"label": "Whale Activity",
|
|
68
|
+
"description": "Large buy pressure relative to pool size suggesting whale involvement"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"id": "repeat-pumper",
|
|
72
|
+
"label": "Repeat Pumper",
|
|
73
|
+
"description": "Token that cycles through multiple pump-dump waves"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"id": "dead-cat-bounce",
|
|
77
|
+
"label": "Dead Cat Bounce",
|
|
78
|
+
"description": "Brief recovery in a dumping token that tricks the ranking into surfacing it"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"id": "sustained-momentum",
|
|
82
|
+
"label": "Sustained Momentum",
|
|
83
|
+
"description": "Token maintaining high activity and gains over extended period (5+ minutes)"
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"prompts": {
|
|
87
|
+
"system_identity": "You are Claude-Mem, a specialized observer for Solana memecoin trading activity.\n\nCRITICAL: Record what is HAPPENING in the token market — pumps, dumps, signal transitions, market conditions, and algorithm behavior. Record token names, symbols, specific metrics (U/m, gains, buy pressure, pool size), and timing.\n\nYou do not have access to tools. All information you need is provided in <observed_from_primary_session> messages. Create observations from what you observe.",
|
|
88
|
+
"spatial_awareness": "SPATIAL AWARENESS: You are observing a live token activity monitor connected to Jupiter DEX on Solana.\n- Tokens are ranked by updatesPerMinute (U/m) as the primary metric\n- Signal tiers: STRONG (45+ U/m), RISING (30+), WATCH (15+), FLAT (<15)\n- Key metrics: U/m, 1-5 minute price gains, buyPressure5m, liquidity pool size, token age\n- The sorting algorithm prioritizes activity (U/m) over price gains\n- Staleness decay: tokens with no updates for 5+ seconds get linearly decayed to 0 U/m over 10 seconds",
|
|
89
|
+
"observer_role": "Your job is to monitor meme token trading activity happening RIGHT NOW, creating observations about pumps, dumps, market conditions, and algorithm behavior. You are tracking the HOT POTATO GAME — which tokens have the most trading activity and whether that activity leads to real price movement.",
|
|
90
|
+
"recording_focus": "WHAT TO RECORD\n--------------\nFocus on trading signals and market behavior:\n- Pump detection: token symbol, U/m, signal tier, price gains across timeframes, buy pressure, pool size\n- Dump detection: activity collapse, negative gains, sell pressure\n- Signal transitions: FLAT→WATCH→RISING→STRONG or reverse\n- Multi-wave pumps: tokens that pump, die, then pump again\n- Market conditions: how many STRONG/RISING tokens, overall activity level\n- Algorithm quality: false positives, tokens that shouldn't be ranked high, filter gaps\n- Buy pressure ratios: buyPressure5m relative to pool liquidity (high ratio = potential whale)\n\nALWAYS INCLUDE SPECIFIC NUMBERS:\n- U/m value and signal tier\n- Price gains (1m%, 2m%, 3m%, 4m%, 5m%)\n- Buy pressure dollar amount\n- Pool liquidity\n- Token age and discovery time\n\n✅ GOOD EXAMPLES:\n- \"MEMEMAN hit 58 U/m STRONG with +82.3% 3m gain, $2.5K buy pressure on $7K pool, discovered 5 minutes ago\"\n- \"Market in deep lull: no STRONG/RISING tokens, all FLAT at 1-9 U/m, only noise-level shuffling\"\n- \"思念熊 appeared for 8th time — repeat pumper cycling FLAT→WATCH→RISING then collapsing within 3 checks\"\n\n❌ BAD EXAMPLES:\n- \"Observed token activity and recorded findings\"\n- \"Monitored market conditions and logged results\"",
|
|
91
|
+
"skip_guidance": "WHEN TO SKIP\n------------\nSkip these:\n- Routine checks with no notable changes from previous observation\n- Tokens at 1-2 U/m with 0% gains (background noise)\n- Repeat observations of the same token at the same signal tier with no meaningful metric change\n- Code file reads or edits (these are algorithm changes, not token observations)\n- **No output necessary if skipping.**",
|
|
92
|
+
"type_guidance": "**type**: MUST be EXACTLY one of these 6 options (no other values allowed):\n - pump-detected: rapid price increase with high trading activity\n - dump-detected: rapid price decline, sell pressure, or activity collapse\n - signal-change: token transitioning between signal tiers (FLAT/WATCH/RISING/STRONG)\n - token-profile: notable token characteristics, patterns, or repeat behavior\n - market-condition: broad market state (lull, heating up, multiple pumps)\n - algorithm-insight: observation about sorting behavior, ranking quality, or filter gaps",
|
|
93
|
+
"concept_guidance": "**concepts**: 2-5 knowledge-type categories. MUST use ONLY these exact keywords:\n - early-detection: token caught before or during initial pump\n - lifecycle: full pump-hold-dump cycle or multi-wave pattern\n - false-signal: token ranked high but not actually pumping\n - whale-activity: large buy pressure relative to pool size\n - repeat-pumper: token cycling through multiple pump-dump waves\n - dead-cat-bounce: brief recovery tricking the ranking\n - sustained-momentum: high activity and gains over 5+ minutes\n\n IMPORTANT: Do NOT include the observation type as a concept.\n Types and concepts are separate dimensions.",
|
|
94
|
+
"field_guidance": "**facts**: Concise, self-contained statements about token activity\nEach fact is ONE piece of information\n No pronouns - each fact must stand alone\n ALWAYS include: token symbol, U/m, signal tier, specific gain percentages, buy pressure, pool size\n Include timing: when discovered, how long at current tier, which check number\n\n**files**: Leave empty for token observations (no files involved)",
|
|
95
|
+
"output_format_header": "OUTPUT FORMAT\n-------------\nOutput observations using this XML structure:",
|
|
96
|
+
"format_examples": "**Token Observation Examples:**\n\n<observation>\n <type>pump-detected</type>\n <title>SIMULAT Reaches RISING at 36 U/m With +45.5% 3m Gain</title>\n <subtitle>6-day-old token building sustained momentum over 5 consecutive checks since discovery at 6 U/m</subtitle>\n <facts>\n <fact>SIMULAT reached 36 U/m RISING signal tier at 10:33 PM</fact>\n <fact>SIMULAT price gains: +15.3% 1m, +33.9% 2m, +45.5% 3m</fact>\n <fact>SIMULAT buy pressure $4.8K on $4K pool (1.2:1 pressure-to-pool ratio)</fact>\n <fact>SIMULAT first detected at 6 U/m FLAT, promoted through WATCH to RISING over 4 minutes</fact>\n </facts>\n <narrative>SIMULAT demonstrated the ideal early-detection pattern for the activity-first algorithm. First appearing at 6 U/m with +15% 1m gain, it steadily built activity through WATCH to RISING over 4 minutes. The 1.2:1 buy-pressure-to-pool ratio suggests concentrated buying interest. This token was surfaced 4 minutes before its biggest price move.</narrative>\n <concepts><concept>early-detection</concept><concept>sustained-momentum</concept></concepts>\n <files></files>\n</observation>",
|
|
97
|
+
"footer": "IMPORTANT! DO NOT do any work right now other than generating OBSERVATIONS from the token monitoring data.\n\nNever reference yourself or your own actions. Focus on what is happening in the market. Include specific numbers — U/m, gains, buy pressure, pool size — in every observation. Token observations without specific metrics are useless.\n\nThese observations help us understand which tokens pump, how the algorithm detects them, and what patterns emerge over time. Thank you!",
|
|
98
|
+
|
|
99
|
+
"xml_title_placeholder": "[Token Symbol + Key Metric Change, e.g. 'MEMEMAN Hits 58 U/m STRONG With +82% 3m Gain']",
|
|
100
|
+
"xml_subtitle_placeholder": "[One sentence with timing and context (max 24 words)]",
|
|
101
|
+
"xml_fact_placeholder": "[Token symbol + specific metric: U/m value, signal tier, gain %, buy pressure $, pool size $]",
|
|
102
|
+
"xml_narrative_placeholder": "[**narrative**: What happened, how fast, what the metrics say about the move, and what it means for the algorithm's detection quality]",
|
|
103
|
+
"xml_concept_placeholder": "[early-detection | lifecycle | false-signal | whale-activity | repeat-pumper | dead-cat-bounce | sustained-momentum]",
|
|
104
|
+
"xml_file_placeholder": "",
|
|
105
|
+
|
|
106
|
+
"xml_summary_request_placeholder": "[Short title: time range + key market events, e.g. '10:18-10:48 PM — MEMEMAN triple pump, SIMULAT +85% slow build']",
|
|
107
|
+
"xml_summary_investigated_placeholder": "[What tokens were tracked? How many checks performed? Total updates processed?]",
|
|
108
|
+
"xml_summary_learned_placeholder": "[What patterns emerged? Which token archetypes appeared? How did the algorithm perform?]",
|
|
109
|
+
"xml_summary_completed_placeholder": "[How long monitored? Key pumps detected? Algorithm changes deployed?]",
|
|
110
|
+
"xml_summary_next_steps_placeholder": "[What to watch for next? Any algorithm improvements identified?]",
|
|
111
|
+
"xml_summary_notes_placeholder": "[Market conditions, unusual patterns, algorithm edge cases observed]",
|
|
112
|
+
|
|
113
|
+
"header_memory_start": "TOKEN MONITORING START\n=======================",
|
|
114
|
+
"header_memory_continued": "TOKEN MONITORING CONTINUED\n===========================",
|
|
115
|
+
"header_summary_checkpoint": "MARKET SUMMARY CHECKPOINT\n===========================",
|
|
116
|
+
|
|
117
|
+
"continuation_greeting": "Hello memory agent, you are continuing to observe live meme token trading activity.",
|
|
118
|
+
"continuation_instruction": "IMPORTANT: Continue generating observations from token monitoring data using the XML structure below. Focus on NEW pumps, dumps, signal changes, and market shifts since your last observation.",
|
|
119
|
+
|
|
120
|
+
"summary_instruction": "Write a market summary covering: tokens that pumped, tokens that dumped, market conditions (hot vs lull periods), algorithm performance, and any patterns observed. Include specific metrics for the most notable tokens. This is a checkpoint — the monitoring session is ongoing.",
|
|
121
|
+
"summary_context_label": "Token Monitoring Data:",
|
|
122
|
+
"summary_format_instruction": "Respond in this XML format:",
|
|
123
|
+
"summary_footer": "IMPORTANT! DO NOT do any work right now other than generating this MARKET SUMMARY.\n\nNever reference yourself or your own actions. Focus on what happened in the token market. Include specific numbers. Thank you!"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "opencode-mem-plugin",
|
|
3
|
+
"version": "13.10.2",
|
|
4
|
+
"private": true,
|
|
5
|
+
"description": "Runtime dependencies for opencode-mem bundled hooks",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"zod": "^4.4.3",
|
|
9
|
+
"tree-sitter-cli": "^0.26.5",
|
|
10
|
+
"tree-sitter-c": "^0.24.1",
|
|
11
|
+
"tree-sitter-cpp": "^0.23.4",
|
|
12
|
+
"tree-sitter-go": "^0.25.0",
|
|
13
|
+
"tree-sitter-java": "^0.23.5",
|
|
14
|
+
"tree-sitter-javascript": "^0.25.0",
|
|
15
|
+
"tree-sitter-python": "^0.25.0",
|
|
16
|
+
"tree-sitter-ruby": "^0.23.1",
|
|
17
|
+
"tree-sitter-rust": "^0.24.0",
|
|
18
|
+
"tree-sitter-typescript": "^0.23.2",
|
|
19
|
+
"tree-sitter-kotlin": "^0.3.8",
|
|
20
|
+
"tree-sitter-swift": "^0.7.1",
|
|
21
|
+
"tree-sitter-php": "^0.24.2",
|
|
22
|
+
"@tree-sitter-grammars/tree-sitter-lua": "^0.4.1",
|
|
23
|
+
"tree-sitter-scala": "^0.24.0",
|
|
24
|
+
"tree-sitter-bash": "^0.25.1",
|
|
25
|
+
"tree-sitter-haskell": "^0.23.1",
|
|
26
|
+
"@tree-sitter-grammars/tree-sitter-zig": "^1.1.2",
|
|
27
|
+
"tree-sitter-css": "^0.25.0",
|
|
28
|
+
"tree-sitter-scss": "^1.0.0",
|
|
29
|
+
"@tree-sitter-grammars/tree-sitter-toml": "^0.7.0",
|
|
30
|
+
"@tree-sitter-grammars/tree-sitter-yaml": "^0.7.1",
|
|
31
|
+
"@derekstride/tree-sitter-sql": "^0.3.11",
|
|
32
|
+
"@tree-sitter-grammars/tree-sitter-markdown": "^0.3.2",
|
|
33
|
+
"shell-quote": "^1.8.3"
|
|
34
|
+
},
|
|
35
|
+
"overrides": {
|
|
36
|
+
"tree-sitter": "^0.25.0"
|
|
37
|
+
},
|
|
38
|
+
"trustedDependencies": [
|
|
39
|
+
"tree-sitter-cli"
|
|
40
|
+
],
|
|
41
|
+
"engines": {
|
|
42
|
+
"node": ">=20.12.0",
|
|
43
|
+
"bun": ">=1.0.0"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { spawnSync, spawn } from 'child_process';
|
|
3
|
+
import { existsSync, readFileSync, mkdirSync, appendFileSync, writeFileSync } from 'fs';
|
|
4
|
+
import { join, dirname, resolve } from 'path';
|
|
5
|
+
import { homedir } from 'os';
|
|
6
|
+
import { fileURLToPath } from 'url';
|
|
7
|
+
|
|
8
|
+
const IS_WINDOWS = process.platform === 'win32';
|
|
9
|
+
|
|
10
|
+
const __bun_runner_dirname = dirname(fileURLToPath(import.meta.url));
|
|
11
|
+
const RESOLVED_PLUGIN_ROOT = process.env.CLAUDE_PLUGIN_ROOT || resolve(__bun_runner_dirname, '..');
|
|
12
|
+
|
|
13
|
+
function fixBrokenScriptPath(argPath) {
|
|
14
|
+
if (argPath.startsWith('/scripts/') && !existsSync(argPath)) {
|
|
15
|
+
const fixedPath = join(RESOLVED_PLUGIN_ROOT, argPath);
|
|
16
|
+
if (existsSync(fixedPath)) {
|
|
17
|
+
return fixedPath;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
return argPath;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
function findBun() {
|
|
24
|
+
const pathCheck = IS_WINDOWS
|
|
25
|
+
? spawnSync('where', ['bun'], {
|
|
26
|
+
encoding: 'utf-8',
|
|
27
|
+
stdio: ['pipe', 'pipe', 'pipe'],
|
|
28
|
+
windowsHide: true
|
|
29
|
+
})
|
|
30
|
+
: spawnSync('which', ['bun'], {
|
|
31
|
+
encoding: 'utf-8',
|
|
32
|
+
stdio: ['pipe', 'pipe', 'pipe']
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
if (pathCheck.status === 0 && pathCheck.stdout.trim()) {
|
|
36
|
+
if (IS_WINDOWS) {
|
|
37
|
+
const bunCmdPath = pathCheck.stdout.split('\n').find(line => line.trim().endsWith('bun.cmd'));
|
|
38
|
+
if (bunCmdPath) {
|
|
39
|
+
return bunCmdPath.trim();
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return 'bun';
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
const bunPaths = IS_WINDOWS
|
|
46
|
+
? [join(homedir(), '.bun', 'bin', 'bun.exe')]
|
|
47
|
+
: [
|
|
48
|
+
join(homedir(), '.bun', 'bin', 'bun'),
|
|
49
|
+
'/usr/local/bin/bun',
|
|
50
|
+
'/opt/homebrew/bin/bun',
|
|
51
|
+
'/home/linuxbrew/.linuxbrew/bin/bun'
|
|
52
|
+
];
|
|
53
|
+
|
|
54
|
+
for (const bunPath of bunPaths) {
|
|
55
|
+
if (existsSync(bunPath)) {
|
|
56
|
+
return bunPath;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return null;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
function isPluginDisabledInClaudeSettings() {
|
|
64
|
+
try {
|
|
65
|
+
const configDir = process.env.CLAUDE_CONFIG_DIR || join(homedir(), '.claude');
|
|
66
|
+
const settingsPath = join(configDir, 'settings.json');
|
|
67
|
+
if (!existsSync(settingsPath)) return false;
|
|
68
|
+
const settings = JSON.parse(readFileSync(settingsPath, 'utf-8'));
|
|
69
|
+
// No optional chaining (?.) here: this launcher must parse on the oldest
|
|
70
|
+
// Node that any host might invoke it with. Some Claude Code installs run
|
|
71
|
+
// hooks under a bundled pre-ES2020 Node whose ESM loader throws
|
|
72
|
+
// "SyntaxError: Unexpected token '.'" on `?.` (issue #2791).
|
|
73
|
+
return Boolean(
|
|
74
|
+
settings &&
|
|
75
|
+
settings.enabledPlugins &&
|
|
76
|
+
settings.enabledPlugins['opencode-mem@thedotmack'] === false
|
|
77
|
+
);
|
|
78
|
+
} catch {
|
|
79
|
+
return false;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
if (isPluginDisabledInClaudeSettings()) {
|
|
84
|
+
process.exit(0);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
const args = process.argv.slice(2);
|
|
88
|
+
|
|
89
|
+
if (args.length === 0) {
|
|
90
|
+
console.error('Usage: node bun-runner.js <script> [args...]');
|
|
91
|
+
process.exit(1);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
args[0] = fixBrokenScriptPath(args[0]);
|
|
95
|
+
|
|
96
|
+
const bunPath = findBun();
|
|
97
|
+
|
|
98
|
+
if (!bunPath) {
|
|
99
|
+
console.error('Error: Bun not found. Please install Bun: https://bun.sh');
|
|
100
|
+
console.error('After installation, restart your terminal.');
|
|
101
|
+
process.exit(1);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
function collectStdin() {
|
|
105
|
+
return new Promise((resolve) => {
|
|
106
|
+
if (process.stdin.isTTY) {
|
|
107
|
+
resolve(null);
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
const chunks = [];
|
|
112
|
+
process.stdin.on('data', (chunk) => chunks.push(chunk));
|
|
113
|
+
process.stdin.on('end', () => {
|
|
114
|
+
resolve(chunks.length > 0 ? Buffer.concat(chunks) : null);
|
|
115
|
+
});
|
|
116
|
+
process.stdin.on('error', () => {
|
|
117
|
+
resolve(null);
|
|
118
|
+
});
|
|
119
|
+
|
|
120
|
+
setTimeout(() => {
|
|
121
|
+
process.stdin.removeAllListeners();
|
|
122
|
+
process.stdin.pause();
|
|
123
|
+
resolve(chunks.length > 0 ? Buffer.concat(chunks) : null);
|
|
124
|
+
}, 5000);
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
const stdinData = await collectStdin();
|
|
129
|
+
|
|
130
|
+
const spawnOptions = {
|
|
131
|
+
stdio: ['pipe', 'inherit', 'inherit'],
|
|
132
|
+
windowsHide: true,
|
|
133
|
+
env: process.env
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
let spawnCmd = bunPath;
|
|
137
|
+
let spawnArgs = args;
|
|
138
|
+
|
|
139
|
+
if (IS_WINDOWS) {
|
|
140
|
+
const quote = (s) => `"${String(s).replace(/"/g, '\\"')}"`;
|
|
141
|
+
spawnOptions.shell = true;
|
|
142
|
+
spawnCmd = [bunPath, ...args].map(quote).join(' ');
|
|
143
|
+
spawnArgs = [];
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
const child = spawn(spawnCmd, spawnArgs, spawnOptions);
|
|
147
|
+
|
|
148
|
+
if (child.stdin) {
|
|
149
|
+
if (stdinData && stdinData.length > 0) {
|
|
150
|
+
child.stdin.write(stdinData);
|
|
151
|
+
child.stdin.end();
|
|
152
|
+
} else {
|
|
153
|
+
// Lifecycle subcommands (start, stop, restart, status) never consume stdin —
|
|
154
|
+
// they manage the worker daemon, not hook payloads. Killing the child here
|
|
155
|
+
// prevents the daemon from starting/stopping on platforms where Claude Code
|
|
156
|
+
// doesn't pipe a payload for SessionStart (e.g. Windows CC ≤ 2.1.145).
|
|
157
|
+
const lifecycleCommands = ['start', 'stop', 'restart', 'status'];
|
|
158
|
+
const isLifecycle = lifecycleCommands.some(cmd => args.includes(cmd));
|
|
159
|
+
|
|
160
|
+
if (isLifecycle) {
|
|
161
|
+
// Lifecycle commands don't need stdin — close pipe and let child run.
|
|
162
|
+
try { child.stdin.end(); } catch {}
|
|
163
|
+
} else {
|
|
164
|
+
// Issue #2188: empty/missing stdin previously masked by `|| '{}'` fallback,
|
|
165
|
+
// which silently hid WSL bash failures (e.g. hooks invoked under a broken
|
|
166
|
+
// shell that never piped a payload). Surface the failure mode instead.
|
|
167
|
+
const dataDir = process.env.OPENCODE_MEM_DATA_DIR || join(homedir(), '.opencode-mem');
|
|
168
|
+
const payloadType = stdinData === null
|
|
169
|
+
? 'null (no data event or stream error)'
|
|
170
|
+
: stdinData === undefined
|
|
171
|
+
? 'undefined'
|
|
172
|
+
: Buffer.isBuffer(stdinData) && stdinData.length === 0
|
|
173
|
+
? 'empty Buffer (zero bytes received)'
|
|
174
|
+
: `unexpected (${typeof stdinData})`;
|
|
175
|
+
const payloadByteLength = (stdinData && typeof stdinData.length === 'number')
|
|
176
|
+
? stdinData.length
|
|
177
|
+
: 0;
|
|
178
|
+
const diagnostic = [
|
|
179
|
+
`[bun-runner] empty stdin payload received — issue #2188`,
|
|
180
|
+
` script: ${args[0]}`,
|
|
181
|
+
` payload byte length: ${payloadByteLength}`,
|
|
182
|
+
` payload type: ${payloadType}`,
|
|
183
|
+
` platform: ${process.platform}`,
|
|
184
|
+
` shell: ${process.env.SHELL || 'n/a'}`,
|
|
185
|
+
` stdin TTY: ${process.stdin.isTTY === true ? 'true' : process.stdin.isTTY === false ? 'false' : 'undefined'}`,
|
|
186
|
+
` timestamp: ${new Date().toISOString()}`,
|
|
187
|
+
` CLAUDE_PLUGIN_ROOT: ${RESOLVED_PLUGIN_ROOT}`,
|
|
188
|
+
].join('\n');
|
|
189
|
+
|
|
190
|
+
// IO discipline (see src/shared/hook-io.ts intent vocabulary):
|
|
191
|
+
// - this stderr write is a USER_HINT (Claude Code surfaces it inline).
|
|
192
|
+
// - the CAPTURE_BROKEN marker file below is a DIAGNOSTIC durable signal for
|
|
193
|
+
// the next session-start hint.
|
|
194
|
+
// - exit 0 below is the EXIT_SIGNAL per CLAUDE.md (Windows Terminal tab
|
|
195
|
+
// management); the marker file, not the exit code, is the durable failure
|
|
196
|
+
// signal. bun-runner runs in its own node process BEFORE hookCommand's
|
|
197
|
+
// stderr buffer is installed, so this write is never swallowed.
|
|
198
|
+
|
|
199
|
+
// Write to stderr so Claude Code surfaces the diagnostic.
|
|
200
|
+
console.error(diagnostic);
|
|
201
|
+
|
|
202
|
+
// Persist diagnostic to the runner-errors log and drop a CAPTURE_BROKEN marker
|
|
203
|
+
// file so the next session-start hint can surface the failure. We exit 0 to
|
|
204
|
+
// honor the project's exit-code strategy (worker/hook errors exit 0 to
|
|
205
|
+
// prevent Windows Terminal tab pileup) — the marker file is the durable
|
|
206
|
+
// signal that something is wrong, not the exit code.
|
|
207
|
+
try {
|
|
208
|
+
const logsDir = join(dataDir, 'logs');
|
|
209
|
+
mkdirSync(logsDir, { recursive: true });
|
|
210
|
+
appendFileSync(join(logsDir, 'runner-errors.log'), diagnostic + '\n\n');
|
|
211
|
+
mkdirSync(dataDir, { recursive: true });
|
|
212
|
+
writeFileSync(join(dataDir, 'CAPTURE_BROKEN'), diagnostic + '\n');
|
|
213
|
+
} catch (writeErr) {
|
|
214
|
+
console.error(`[bun-runner] failed to persist diagnostic: ${writeErr && writeErr.message ? writeErr.message : writeErr}`);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
try { child.stdin.end(); } catch {}
|
|
218
|
+
try { child.kill(); } catch {}
|
|
219
|
+
process.exit(0);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
child.on('error', (err) => {
|
|
225
|
+
// EXCEPTION to CLAUDE.md exit-0-on-error: Bun-not-found is a user environment
|
|
226
|
+
// problem, not a hook execution failure. Surfacing exit 1 here forces Claude
|
|
227
|
+
// Code to display the stderr message rather than silently retrying. This runs
|
|
228
|
+
// before any hook handler, so the exit-0 tab-management rationale doesn't apply.
|
|
229
|
+
console.error(`Failed to start Bun: ${err.message}`);
|
|
230
|
+
process.exit(1);
|
|
231
|
+
});
|
|
232
|
+
|
|
233
|
+
child.on('close', (code, signal) => {
|
|
234
|
+
if ((signal || code > 128) && args.includes('start')) {
|
|
235
|
+
process.exit(0);
|
|
236
|
+
}
|
|
237
|
+
process.exit(code || 0);
|
|
238
|
+
});
|