@nogataka/smart-edit 0.0.15 → 0.0.16

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.
@@ -4,10 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
- <title>Serena Dashboard</title>
8
- <link rel="icon" type="image/png" sizes="16x16" href="serena-icon-16.png">
9
- <link rel="icon" type="image/png" sizes="32x32" href="serena-icon-32.png">
10
- <link rel="icon" type="image/png" sizes="48x48" href="serena-icon-48.png">
7
+ <title>Smart Edit Dashboard</title>
11
8
  <script src="jquery.min.js"></script>
12
9
  <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
13
10
  <script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-datalabels@2"></script>
@@ -255,17 +252,13 @@
255
252
 
256
253
  <body>
257
254
  <div class="header">
258
- <img id="serena-logo" src="serena-logs.png" alt="Serena" style="max-width: 400px; height: auto;">
255
+ Smart Edit Dashboard
259
256
  </div>
260
257
 
261
258
  <div class="controls">
262
259
  <button id="load-logs" class="btn">Reload Log</button>
263
260
  <button id="shutdown" class="btn">Shutdown Server</button>
264
261
  <button id="toggle-stats" class="btn">Show Stats</button>
265
- <div id="theme-toggle" class="theme-toggle" title="Toggle theme">
266
- <span class="icon" id="theme-icon">🌙</span>
267
- <span id="theme-text">Dark</span>
268
- </div>
269
262
  </div>
270
263
 
271
264
  <div id="error-container"></div>
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
3
+ "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4
+ <svg version="1.0" xmlns="http://www.w3.org/2000/svg"
5
+ width="32.000000pt" height="32.000000pt" viewBox="0 0 32.000000 32.000000"
6
+ preserveAspectRatio="xMidYMid meet">
7
+
8
+ <g transform="translate(0.000000,32.000000) scale(0.100000,-0.100000)"
9
+ fill="#000000" stroke="none">
10
+ <path d="M17 302 c-14 -15 -17 -41 -17 -144 0 -163 -5 -158 162 -158 163 0
11
+ 158 -5 158 162 0 163 5 158 -162 158 -108 0 -127 -2 -141 -18z m192 -23 c27
12
+ -26 27 -94 -1 -94 -9 0 -20 -4 -24 -8 -4 -4 -2 -7 5 -7 7 0 9 -4 6 -10 -11
13
+ -18 -58 -11 -82 12 -28 26 -30 75 -5 106 22 28 71 29 101 1z m-129 -153 c0
14
+ -18 -26 -39 -39 -31 -7 4 -6 12 2 25 14 23 37 27 37 6z m110 -2 c17 9 30 14
15
+ 29 9 -1 -4 1 -16 6 -26 11 -26 0 -32 -71 -33 -66 -2 -69 0 -58 43 6 22 7 22
16
+ 35 6 27 -16 31 -16 59 1z m87 -4 c8 -13 9 -21 2 -25 -13 -8 -39 13 -39 31 0
17
+ 21 23 17 37 -6z m-107 -100 c0 -3 -11 -5 -25 -5 -28 0 -30 7 -14 37 11 21 12
18
+ 21 25 -3 7 -13 13 -26 14 -29z m30 15 c0 -14 -4 -25 -10 -25 -5 0 -10 11 -10
19
+ 25 0 14 5 25 10 25 6 0 10 -11 10 -25z"/>
20
+ <path d="M100 220 c0 -18 7 -20 60 -20 53 0 60 2 60 20 0 18 -7 20 -60 20 -53
21
+ 0 -60 -2 -60 -20z m35 0 c3 -5 1 -10 -4 -10 -6 0 -11 5 -11 10 0 6 2 10 4 10
22
+ 3 0 8 -4 11 -10z m65 0 c0 -5 -5 -10 -11 -10 -5 0 -7 5 -4 10 3 6 8 10 11 10
23
+ 2 0 4 -4 4 -10z"/>
24
+ </g>
25
+ </svg>
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
3
+ "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4
+ <svg version="1.0" xmlns="http://www.w3.org/2000/svg"
5
+ width="32.000000pt" height="32.000000pt" viewBox="0 0 32.000000 32.000000"
6
+ preserveAspectRatio="xMidYMid meet">
7
+
8
+ <g transform="translate(0.000000,32.000000) scale(0.100000,-0.100000)"
9
+ fill="#000000" stroke="none">
10
+ <path d="M17 302 c-14 -15 -17 -41 -17 -144 0 -163 -5 -158 162 -158 163 0
11
+ 158 -5 158 162 0 163 5 158 -162 158 -108 0 -127 -2 -141 -18z m192 -23 c27
12
+ -26 27 -94 -1 -94 -9 0 -20 -4 -24 -8 -4 -4 -2 -7 5 -7 7 0 9 -4 6 -10 -11
13
+ -18 -58 -11 -82 12 -28 26 -30 75 -5 106 22 28 71 29 101 1z m-129 -153 c0
14
+ -18 -26 -39 -39 -31 -7 4 -6 12 2 25 14 23 37 27 37 6z m110 -2 c17 9 30 14
15
+ 29 9 -1 -4 1 -16 6 -26 11 -26 0 -32 -71 -33 -66 -2 -69 0 -58 43 6 22 7 22
16
+ 35 6 27 -16 31 -16 59 1z m87 -4 c8 -13 9 -21 2 -25 -13 -8 -39 13 -39 31 0
17
+ 21 23 17 37 -6z m-107 -100 c0 -3 -11 -5 -25 -5 -28 0 -30 7 -14 37 11 21 12
18
+ 21 25 -3 7 -13 13 -26 14 -29z m30 15 c0 -14 -4 -25 -10 -25 -5 0 -10 11 -10
19
+ 25 0 14 5 25 10 25 6 0 10 -11 10 -25z"/>
20
+ <path d="M100 220 c0 -18 7 -20 60 -20 53 0 60 2 60 20 0 18 -7 20 -60 20 -53
21
+ 0 -60 -2 -60 -20z m35 0 c3 -5 1 -10 -4 -10 -6 0 -11 5 -11 10 0 6 2 10 4 10
22
+ 3 0 8 -4 11 -10z m65 0 c0 -5 -5 -10 -11 -10 -5 0 -7 5 -4 10 3 6 8 10 11 10
23
+ 2 0 4 -4 4 -10z"/>
24
+ </g>
25
+ </svg>
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
3
+ "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4
+ <svg version="1.0" xmlns="http://www.w3.org/2000/svg"
5
+ width="32.000000pt" height="32.000000pt" viewBox="0 0 32.000000 32.000000"
6
+ preserveAspectRatio="xMidYMid meet">
7
+
8
+ <g transform="translate(0.000000,32.000000) scale(0.100000,-0.100000)"
9
+ fill="#000000" stroke="none">
10
+ <path d="M17 302 c-14 -15 -17 -41 -17 -144 0 -163 -5 -158 162 -158 163 0
11
+ 158 -5 158 162 0 163 5 158 -162 158 -108 0 -127 -2 -141 -18z m192 -23 c27
12
+ -26 27 -94 -1 -94 -9 0 -20 -4 -24 -8 -4 -4 -2 -7 5 -7 7 0 9 -4 6 -10 -11
13
+ -18 -58 -11 -82 12 -28 26 -30 75 -5 106 22 28 71 29 101 1z m-129 -153 c0
14
+ -18 -26 -39 -39 -31 -7 4 -6 12 2 25 14 23 37 27 37 6z m110 -2 c17 9 30 14
15
+ 29 9 -1 -4 1 -16 6 -26 11 -26 0 -32 -71 -33 -66 -2 -69 0 -58 43 6 22 7 22
16
+ 35 6 27 -16 31 -16 59 1z m87 -4 c8 -13 9 -21 2 -25 -13 -8 -39 13 -39 31 0
17
+ 21 23 17 37 -6z m-107 -100 c0 -3 -11 -5 -25 -5 -28 0 -30 7 -14 37 11 21 12
18
+ 21 25 -3 7 -13 13 -26 14 -29z m30 15 c0 -14 -4 -25 -10 -25 -5 0 -10 11 -10
19
+ 25 0 14 5 25 10 25 6 0 10 -11 10 -25z"/>
20
+ <path d="M100 220 c0 -18 7 -20 60 -20 53 0 60 2 60 20 0 18 -7 20 -60 20 -53
21
+ 0 -60 -2 -60 -20z m35 0 c3 -5 1 -10 -4 -10 -6 0 -11 5 -11 10 0 6 2 10 4 10
22
+ 3 0 8 -4 11 -10z m65 0 c0 -5 -5 -10 -11 -10 -5 0 -7 5 -4 10 3 6 8 10 11 10
23
+ 2 0 4 -4 4 -10z"/>
24
+ </g>
25
+ </svg>
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
3
+ "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4
+ <svg version="1.0" xmlns="http://www.w3.org/2000/svg"
5
+ width="32.000000pt" height="32.000000pt" viewBox="0 0 32.000000 32.000000"
6
+ preserveAspectRatio="xMidYMid meet">
7
+
8
+ <g transform="translate(0.000000,32.000000) scale(0.100000,-0.100000)"
9
+ fill="#000000" stroke="none">
10
+ <path d="M17 302 c-14 -15 -17 -41 -17 -144 0 -163 -5 -158 162 -158 163 0
11
+ 158 -5 158 162 0 163 5 158 -162 158 -108 0 -127 -2 -141 -18z m192 -23 c27
12
+ -26 27 -94 -1 -94 -9 0 -20 -4 -24 -8 -4 -4 -2 -7 5 -7 7 0 9 -4 6 -10 -11
13
+ -18 -58 -11 -82 12 -28 26 -30 75 -5 106 22 28 71 29 101 1z m-129 -153 c0
14
+ -18 -26 -39 -39 -31 -7 4 -6 12 2 25 14 23 37 27 37 6z m110 -2 c17 9 30 14
15
+ 29 9 -1 -4 1 -16 6 -26 11 -26 0 -32 -71 -33 -66 -2 -69 0 -58 43 6 22 7 22
16
+ 35 6 27 -16 31 -16 59 1z m87 -4 c8 -13 9 -21 2 -25 -13 -8 -39 13 -39 31 0
17
+ 21 23 17 37 -6z m-107 -100 c0 -3 -11 -5 -25 -5 -28 0 -30 7 -14 37 11 21 12
18
+ 21 25 -3 7 -13 13 -26 14 -29z m30 15 c0 -14 -4 -25 -10 -25 -5 0 -10 11 -10
19
+ 25 0 14 5 25 10 25 6 0 10 -11 10 -25z"/>
20
+ <path d="M100 220 c0 -18 7 -20 60 -20 53 0 60 2 60 20 0 18 -7 20 -60 20 -53
21
+ 0 -60 -2 -60 -20z m35 0 c3 -5 1 -10 -4 -10 -6 0 -11 5 -11 10 0 6 2 10 4 10
22
+ 3 0 8 -4 11 -10z m65 0 c0 -5 -5 -10 -11 -10 -5 0 -7 5 -4 10 3 6 8 10 11 10
23
+ 2 0 4 -4 4 -10z"/>
24
+ </g>
25
+ </svg>
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
3
+ "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4
+ <svg version="1.0" xmlns="http://www.w3.org/2000/svg"
5
+ width="32.000000pt" height="32.000000pt" viewBox="0 0 32.000000 32.000000"
6
+ preserveAspectRatio="xMidYMid meet">
7
+
8
+ <g transform="translate(0.000000,32.000000) scale(0.100000,-0.100000)"
9
+ fill="#000000" stroke="none">
10
+ <path d="M17 302 c-14 -15 -17 -41 -17 -144 0 -163 -5 -158 162 -158 163 0
11
+ 158 -5 158 162 0 163 5 158 -162 158 -108 0 -127 -2 -141 -18z m192 -23 c27
12
+ -26 27 -94 -1 -94 -9 0 -20 -4 -24 -8 -4 -4 -2 -7 5 -7 7 0 9 -4 6 -10 -11
13
+ -18 -58 -11 -82 12 -28 26 -30 75 -5 106 22 28 71 29 101 1z m-129 -153 c0
14
+ -18 -26 -39 -39 -31 -7 4 -6 12 2 25 14 23 37 27 37 6z m110 -2 c17 9 30 14
15
+ 29 9 -1 -4 1 -16 6 -26 11 -26 0 -32 -71 -33 -66 -2 -69 0 -58 43 6 22 7 22
16
+ 35 6 27 -16 31 -16 59 1z m87 -4 c8 -13 9 -21 2 -25 -13 -8 -39 13 -39 31 0
17
+ 21 23 17 37 -6z m-107 -100 c0 -3 -11 -5 -25 -5 -28 0 -30 7 -14 37 11 21 12
18
+ 21 25 -3 7 -13 13 -26 14 -29z m30 15 c0 -14 -4 -25 -10 -25 -5 0 -10 11 -10
19
+ 25 0 14 5 25 10 25 6 0 10 -11 10 -25z"/>
20
+ <path d="M100 220 c0 -18 7 -20 60 -20 53 0 60 2 60 20 0 18 -7 20 -60 20 -53
21
+ 0 -60 -2 -60 -20z m35 0 c3 -5 1 -10 -4 -10 -6 0 -11 5 -11 10 0 6 2 10 4 10
22
+ 3 0 8 -4 11 -10z m65 0 c0 -5 -5 -10 -11 -10 -5 0 -7 5 -4 10 3 6 8 10 11 10
23
+ 2 0 4 -4 4 -10z"/>
24
+ </g>
25
+ </svg>
@@ -67,11 +67,11 @@ function resolveInitialPrompt(projectConfig) {
67
67
  function resolveProjectYamlPath(project) {
68
68
  const camelCase = project.pathToProjectYml;
69
69
  if (typeof camelCase === 'function') {
70
- return camelCase();
70
+ return camelCase.call(project);
71
71
  }
72
72
  const snakeCase = project.path_to_project_yml;
73
73
  if (typeof snakeCase === 'function') {
74
- return snakeCase();
74
+ return snakeCase.call(project);
75
75
  }
76
76
  return undefined;
77
77
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nogataka/smart-edit",
3
- "version": "0.0.15",
3
+ "version": "0.0.16",
4
4
  "description": "TypeScript版 Serena",
5
5
  "private": false,
6
6
  "license": "MIT",