cli-jaw 1.3.6 → 1.4.0-preview.20260307160721

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 (52) hide show
  1. package/dist/lib/stt.js +39 -9
  2. package/dist/lib/stt.js.map +1 -1
  3. package/dist/server.js +127 -5
  4. package/dist/server.js.map +1 -1
  5. package/dist/src/agent/spawn.js +38 -2
  6. package/dist/src/agent/spawn.js.map +1 -1
  7. package/dist/src/cli/acp-client.js +5 -3
  8. package/dist/src/cli/acp-client.js.map +1 -1
  9. package/dist/src/cli/command-context.js +11 -1
  10. package/dist/src/cli/command-context.js.map +1 -1
  11. package/dist/src/cli/handlers.js +72 -0
  12. package/dist/src/cli/handlers.js.map +1 -1
  13. package/dist/src/core/config.js +15 -0
  14. package/dist/src/core/config.js.map +1 -1
  15. package/dist/src/core/settings-merge.js +11 -2
  16. package/dist/src/core/settings-merge.js.map +1 -1
  17. package/dist/src/memory/advanced.js +1108 -0
  18. package/dist/src/memory/advanced.js.map +1 -0
  19. package/dist/src/memory/heartbeat-schedule.js +347 -0
  20. package/dist/src/memory/heartbeat-schedule.js.map +1 -0
  21. package/dist/src/memory/heartbeat.js +47 -6
  22. package/dist/src/memory/heartbeat.js.map +1 -1
  23. package/dist/src/memory/memory.js +2 -0
  24. package/dist/src/memory/memory.js.map +1 -1
  25. package/dist/src/orchestrator/distribute.js +2 -1
  26. package/dist/src/orchestrator/distribute.js.map +1 -1
  27. package/dist/src/orchestrator/pipeline.js +85 -7
  28. package/dist/src/orchestrator/pipeline.js.map +1 -1
  29. package/dist/src/orchestrator/research.js +149 -0
  30. package/dist/src/orchestrator/research.js.map +1 -0
  31. package/dist/src/orchestrator/state-machine.js +2 -2
  32. package/dist/src/orchestrator/state-machine.js.map +1 -1
  33. package/dist/src/prompt/builder.js +51 -18
  34. package/dist/src/prompt/builder.js.map +1 -1
  35. package/dist/src/prompt/templates/a1-system.md +3 -1
  36. package/dist/src/prompt/templates/a2-default.md +8 -0
  37. package/dist/src/prompt/templates/research-worker.md +37 -0
  38. package/dist/src/prompt/templates/worker-context.md +3 -0
  39. package/package.json +1 -1
  40. package/public/css/modals.css +46 -1
  41. package/public/dist/bundle.js +68 -57
  42. package/public/dist/bundle.js.map +4 -4
  43. package/public/index.html +142 -3
  44. package/public/js/constants.ts +1 -0
  45. package/public/js/features/employees.ts +2 -0
  46. package/public/js/features/heartbeat.ts +153 -27
  47. package/public/js/features/memory.ts +364 -52
  48. package/public/js/main.ts +72 -5
  49. package/public/js/state.ts +18 -1
  50. package/public/locales/en.json +14 -1
  51. package/public/locales/ko.json +14 -1
  52. package/scripts/release-preview.sh +48 -0
@@ -15,3 +15,11 @@
15
15
 
16
16
  ## Working Directory
17
17
  - ~/.cli-jaw
18
+
19
+ ## Tool Usage: Non-ASCII Paths
20
+
21
+ When creating or editing files whose path contains non-ASCII characters (Korean, CJK, etc.):
22
+
23
+ - **Prefer built-in file editing tools** (write_file, create, edit) over shell commands
24
+ - **Avoid**: bash heredoc (`cat << 'EOF'`), shell redirection (`echo > file`), Python/Node file-write scripts
25
+ - **Reason**: shell quoting, heredoc boundary detection, and escape sequences break with Unicode paths
@@ -0,0 +1,37 @@
1
+ ## Phase 1 — Research
2
+ You are a RESEARCH worker. Your sole job is to investigate, explore, and report.
3
+
4
+ ### What You Do
5
+ - Search the codebase (files, imports, exports, function signatures)
6
+ - Read worklog, memory, and devlog for historical context
7
+ - Use web search or documentation lookup when needed
8
+ - Produce a structured Research Report
9
+
10
+ ### Output Format (REQUIRED)
11
+ ```markdown
12
+ ## Research Report
13
+ ### Context
14
+ (Background information gathered)
15
+
16
+ ### Options
17
+ (Numbered list of approaches or answers)
18
+
19
+ ### Recommendation
20
+ (Your recommended approach with reasoning)
21
+
22
+ ### Unknowns
23
+ (Things you could not determine)
24
+ ```
25
+
26
+ ### ⛔ Rules (MANDATORY)
27
+ - Do NOT create, modify, or delete ANY files
28
+ - Do NOT write implementation code or diffs
29
+ - Do NOT suggest specific code changes (describe approaches instead)
30
+ - Do NOT execute destructive commands (rm, git reset, etc.)
31
+ - You are READ-ONLY. Observe and report only.
32
+
33
+ ### Search Priority Order
34
+ 1. Local codebase (grep, glob, file reads)
35
+ 2. Memory / worklog / devlog
36
+ 3. External documentation (Context7, web search)
37
+ 4. Package registries (version checks)
@@ -1,3 +1,6 @@
1
+ ## Phase 1 — Research
2
+ You are a RESEARCH worker. Investigate, explore, and report. Do NOT create/modify/delete files. Read-only search and structured reporting only. Output: Context, Options, Recommendation, Unknowns.
3
+
1
4
  ## Phase 2 — Plan Audit
2
5
  You are a PLAN AUDIT worker. Verify THE PLAN (not code): dependency validation, API integrity, integration risks. Verdict: PASS or FAIL with itemized issues.
3
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cli-jaw",
3
- "version": "1.3.6",
3
+ "version": "1.4.0-preview.20260307160721",
4
4
  "description": "Personal AI assistant powered by 5 engines (Claude, Codex, Gemini, OpenCode, Copilot) — Web, Terminal, and Telegram interfaces with 107 built-in skills",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -99,6 +99,51 @@
99
99
  width: 50px;
100
100
  }
101
101
 
102
+ .hb-job-schedule {
103
+ display: flex;
104
+ align-items: center;
105
+ gap: 6px;
106
+ flex-wrap: wrap;
107
+ margin-bottom: 6px;
108
+ }
109
+
110
+ .hb-job-schedule select,
111
+ .hb-job-schedule input[type=number],
112
+ .hb-job-schedule input[type=text] {
113
+ background: var(--bg);
114
+ border: 1px solid var(--border);
115
+ color: var(--text);
116
+ padding: 4px 6px;
117
+ border-radius: 4px;
118
+ font-size: 11px;
119
+ }
120
+
121
+ .hb-job-schedule input[type=number] {
122
+ width: 72px;
123
+ }
124
+
125
+ .hb-job-schedule input[type=text] {
126
+ flex: 1 1 120px;
127
+ }
128
+
129
+ .hb-chip {
130
+ font-size: 11px;
131
+ color: var(--text-dim);
132
+ }
133
+
134
+ .hb-schedule-meta {
135
+ font-size: 11px;
136
+ margin: -2px 0 6px;
137
+ }
138
+
139
+ .hb-help {
140
+ color: var(--text-dim);
141
+ }
142
+
143
+ .hb-error {
144
+ color: #f87171;
145
+ }
146
+
102
147
  .hb-toggle {
103
148
  width: 32px;
104
149
  height: 18px;
@@ -169,4 +214,4 @@
169
214
 
170
215
  .hb-add:hover {
171
216
  opacity: .9;
172
- }
217
+ }