harn-cli 0.10.19

CLI for the Harn programming language — run, test, REPL, format, and lint
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
HARNBC0.10.19֘��f�|w�AD\���)�Wp+wn�]����E@`�G7b��8����۞4D�զ�߂Pv          		 

   

   JYb�Θ�__basic_manifest__agent_manifest__chat_manifest__package_manifest__connector_manifest
__basic_files
__agent_files__chat_files__mcp_files__eval_files__pipeline_lab_files__package_files__connector_files__template_files__write_if_new__print_next_stepsmainharnessv!!!!!!......;;;;;;QQQQQQwwwwww�������������l�l�l�l�l�l�������������������������������������6�6�6�6�6�6�������������������������������������	�	�	�	�	�	�	�	�	�	�	�	�	�	�	�	�	�	�	�	�	�	v__basic_manifestResultproject_namestringk[package]
name = ""
version = "0.1.0"

[dependencies]




project_name__agent_manifestResultproject_namestring'k[package]
name = ""
version = "0.1.0"

	[skills]
paths = ["agent/skills"]
[dependencies]
'"""$$$$%%%%&&&&''''(((())))****++++++!!'



"project_name__chat_manifestResultproject_namestring'k[package]
name = ""
version = "0.1.0"

[dependencies]
[llm.aliases]
0chat = { id = "llama3.2", provider = "ollama" }
'///1111222233334444555566667777888888..'



"project_name__package_manifestResultproject_namestring
harn_rangestringKkkk	
[package]
name = ""
version = "0.1.0"
'description = "Reusable Harn package."
license = "MIT OR Apache-2.0"
'repository = "https://github.com/OWNER/harn = "docs_url = "docs/api.md"


[exports]
lib = "lib/main.harn"
[dependencies]
K<<<>>>>????@@@@AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHHIIIIJJJJKKKKLLLLMMMMNNNNNN;;K



"&*	.
26:
>BFproject_name
harn_range__connector_manifestResultproject_namestring
harn_rangestring�kkk	

[package]
name = ""
version = "0.1.0"
-description = "Pure-Harn connector package."
license = "MIT OR Apache-2.0"
'repository = "https://github.com/OWNER/harn = "docs_url = "docs/api.md"


[exports]
#connector = "connectors/echo.harn"
[[providers]]
id = "echo"
)connector = { harn = "connectors/echo" }
[connector_contract]
version = 1
 [[connector_contract.fixtures]]
provider = "echo"
name = "message"
kind = "webhook"
"body_json = { message = "hello" }
expect_type = "event"
expect_kind = "webhook"
expect_event_count = 1
[dependencies]
�RRRTTTTUUUUVVVVWWWWXXXXYYYYZZZZ[[[[\\\\]]]]^^^^____````aaaabbbbccccddddeeeeffffgggghhhhiiiijjjjkkkkllllmmmmnnnnooooppppqqqqrrrrssssttttttQQ�


!
"&*	.
26:
>BFJNRVZ^bfjnrvz~�� project_name
harn_range
__basic_filesResultproject_namestring
harn_rangestring7kJ�ۃ�p�
�!!!!!	harn.toml__basic_manifest	main.harncimport "lib/helpers"

pipeline default(task) {
  const greeting = greet("world")
  log(greeting)
}
lib/helpers.harn\pub fn greet(name) {
  return "Hello, " + name + "!"
}

pub fn add(a, b) {
  return a + b
}
tests/test_main.harn��import "../lib/helpers"

pipeline test_greet(task) {
  assert_eq(greet("world"), "Hello, world!")
  assert_eq(greet("Harn"), "Hello, Harn!")
}

pipeline test_add(task) {
  assert_eq(add(2, 3), 5)
  assert_eq(add(-1, 1), 0)
  assert_eq(add(0, 0), 0)
}
7yyyyyyyyyyyyyyyyyyyyyzzzzzzzzz�����������������������ww7$$$$$$$$$$$$$$$$$$project_name
harn_range
__agent_filesResultproject_namestring
harn_rangestring��lllllk	

lkJT��XC˰l!k!k!k!!!! !!"#!$k!%k!&k!!'bimport { run_agent_app } from "agent/app"

fn main(harness: Harness) {
  run_agent_app(harness)
}
��import { agent_host_tools } from "std/agent/host_tools"
import { agent_preset } from "std/agent/presets"

pub fn load_instructions(harness: Harness) -> string {
  const path = path_join(cwd(), "agent", "instructions.md")
  if harness.fs.exists(path) {
    return harness.fs.read_text(path)
  }
  return "Review the workspace carefully."
}

pub fn agent_app_tools(root) {
  return agent_host_tools(
    nil,
    {
      root: root,
      cwd: root,
      enabled_tools: ["list_directory", "read_file", "search_files"],
      max_inline_bytes: 6000,
      search_exclude_globs: [".git/**", ".harn/**", "target/**", "node_modules/**"],
    },
  )
}

pub fn run_agent_app_with_options(harness: Harness, options = nil) {
  const opts = options ?? {}
  const task = opts?.task ?? harness.env.get_or("HARN_TASK", "Review this workspace")
  const instructions = opts?.instructions ?? load_instructions(harness)
  const tools = opts?.tools ?? agent_app_tools(cwd())
  const audit_opts = agent_preset(
    "audit",
    {
      system: instructions,
      tools: tools,
      max_iterations: opts?.max_iterations ?? 6,
      loop_until_done: opts?.loop_until_done ?? true,
      llm_options: opts?.llm_options ?? {temperature: 0},
    },
  )
  const result = agent_loop(task, audit_opts?.system, audit_opts)
  if opts?.emit_result ?? true {
    harness.stdio.println(result.visible_text ?? result.text ?? "")
  }
  return result
}

pub fn run_agent_app(harness: Harness) {
  return run_agent_app_with_options(harness)
}
�(# Agent Instructions

You are a careful workspace agent. Inspect before answering, keep changes scoped,
and prefer deterministic tools and task-plan stages over ad hoc prose protocols.

Use skills from `agent/skills` when they match the task. Keep subagent work
small, typed, and easy to replay.
�M---
name: repository-review
short: Review repository context and risks.
description: Use when reviewing repository structure, risks, and next actions.
---

# Repository Review

Start by listing the relevant files, then inspect the narrowest source files
needed to answer. Report facts with file paths and keep recommendations small.
�Iimport { run_agent_app_with_options } from "../agent/app"

pipeline test_agent_smoke(task) {
  llm_mock_clear()
  llm_mock({text: "<user_response>Repository looks healthy.</user_response>"})
  const result = run_agent_app_with_options(
    harness,
    {
      task: "Review the repository",
      instructions: "Return a concise repository health note.",
      tools: tool_registry(),
      max_iterations: 1,
      loop_until_done: false,
      llm_options: {provider: "mock", model: "mock", temperature: 0},
      emit_result: false,
    },
  )
  assert_eq(result.status, "done")
}
# 
$Opinionated Harn agent app starter.

## Layout
!- `main.harn` is the entrypoint.
D- `agent/instructions.md` is the default system instruction source.
`- `agent/app.harn` wires the instructions and scoped tools into existing Harn agent primitives.
K- `agent/skills/` is enabled in `harn.toml` for progressive skill loading.
�- `agent/tools/`, `agent/subagents/`, `agent/channels/`, `agent/sandbox/`, and `agent/schedules/` are convention folders for app-specific capabilities and manifests.
## Run
```bash
9HARN_TASK="Summarize this repository" harn run main.harn
```
IRun `harn quickstart` first if this project does not already have an LLM
Mprovider configured. The starter uses scoped read-only tools by default; add
6write or command tools only when the task needs them.
	harn.toml__agent_manifest	main.harnagent/app.harnagent/instructions.mdagent/tools/README.md:# Tools

Put app-specific tool helpers or manifests here.
agent/subagents/README.md;# Subagents

Put focused worker/subagent definitions here.
agent/channels/README.md9# Channels

Put channel trigger or connector notes here.
agent/sandbox/README.md6# Sandbox

Put sandbox policy notes or fixtures here.
agent/schedules/README.md4# Schedules

Put durable schedule definitions here.
'agent/skills/repository-review/SKILL.mdtests/test_agent.harn	README.md������������������������������������������������������������������������������������������������������������������������	�	�	�	�
�
�
�
���������
�
�
�
����������������������������������������������������������������������������������������������������������������������������������������(((($$$$$$$$$$$$$$$$$$111111$(,048<@DH	L
PTX
\`dhlptx�project_name
harn_range	main_harnapp_harninstructions	skill_doc	test_harnreadme__chat_filesResultproject_namestring
harn_rangestring�lk	

	lkJ哩u�_!k!k!!�oimport { read_line } from "std/io"

fn build_chat_prompt(history, message) {
  if history == "" {
    return "User: " + message
  }
  return history + "\nUser: " + message
}

fn stream_reply(harness: Harness, prompt, system, options) {
  let answer = ""
  const chunks = llm_stream_call(prompt, system, options)
  for chunk in chunks {
    harness.stdio.print(chunk.visible_delta)
    answer = chunk.partial
  }
  harness.stdio.println("")
  return answer
}

fn main(harness: Harness) {
  const system = env_or("HARN_CHAT_SYSTEM", "You are a concise, helpful assistant.")
  const model = env_or("HARN_CHAT_MODEL", "chat")
  const options = {model: model, max_tokens: 2048, temperature: 0.7}
  let history = ""
  harness.stdio.println("Harn chat. Type /clear to reset history or /exit to quit.")
  while true {
    harness.stdio.print("you> ")
    const raw = read_line()
    if !raw.ok {
      break
    }
    const message = trim(raw.value)
    if message == "" {
      continue
    }
    if message == "/exit" || message == "/quit" {
      break
    }
    if message == "/clear" {
      history = ""
      harness.stdio.println("history cleared")
      continue
    }
    const prompt = build_chat_prompt(history, message)
    harness.stdio.print("assistant> ")
    const answer = stream_reply(harness, prompt, system, options)
    history = prompt + "\nAssistant: " + answer + "\n"
  }
}
# 
!Streaming chat starter for Harn.
## Provider
N`harn.toml` defines a `chat` model alias backed by Ollama's `llama3.2` model:
```toml
[llm.aliases]
0chat = { id = "llama3.2", provider = "ollama" }
```
NEdit that alias to use any configured provider, or set `HARN_CHAT_MODEL` when
running the project.
## Run
```bash
harn run main.harn
PInside the chat loop, type `/clear` to reset local history and `/exit` to quit.
	harn.toml__chat_manifest	main.harn	README.md�� � � � � � �R�R�R�R�R�R�R�R�R�R�R�S�S�S�S�T�T�T�T�U�U�U�U�V�V�V�V�W�W�W�W�X�X�X�X�Y�Y�Y�Y�Z�Z�Z�Z�[�[�[�[�\�\�\�\�]�]�]�]�^�^�^�^�_�_�_�_�`�`�`�`�a�a�a�a�b�b�b�b�c�c�c�c�d�d�d�d�e�e�e�e�f�f�f�f�g�g�g�g�h�h�h�h�h�h�h�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i���(((()))))))))))))))))):::GGGGGGTTTaaaaaaaaaaaaaa $(,0	4
8<@
DHLPTX\`dhrproject_name
harn_range	main_harnreadme__mcp_filesResultproject_namestring
harn_rangestring+lkJ�ۃ�p�
�!k!!��pipeline default(task) {
  let tools = tool_registry()
  tools = tool_define(tools, "ping", "Return a pong response", {
    parameters: {
      type: "object",
      properties: {
        message: {type: "string"}
      },
      required: ["message"]
    },
    returns: {
      type: "object",
      properties: {
        message: {type: "string"},
        echoed: {type: "string"}
      }
    },
    handler: fn(args) {
      return {
        message: "pong",
        echoed: args.message
      }
    }
  })

  mcp_tools(tools)
  mcp_resource({
    uri: "info://server",
    name: "server-info",
    text: "Harn MCP starter server"
  })
}
	harn.toml__basic_manifest	main.harn+�m�m�m�m�m�m�����������������������������������������������������������������������l�l+******************;;;HHHHHHHHHHHHHHproject_name
harn_range	main_harn__eval_filesResultproject_namestring
harn_rangestringIlllkJ�ۃ�p�
�!k!k!k!!�%pipeline default(task) {
  const input = "hello world"
  const output = input.upper()
  const passed = output == "HELLO WORLD"

  eval_metric("passed", passed)
  eval_metric("output_length", len(output))

  log(json_stringify({
    input: input,
    output: output,
    passed: passed
  }))
}
�pipeline test_eval_metrics(task) {
  eval_metric("accuracy", 1.0, {suite: "smoke"})
  const metrics = eval_metrics()

  assert_eq(len(metrics), 1)
  assert_eq(metrics[0].name, "accuracy")
}
�{
  "_type": "eval_suite_manifest",
  "id": "sample-suite",
  "name": "Sample Eval Suite",
  "base_dir": ".",
  "cases": [
    {
      "label": "replace-with-a-run-record",
      "run_path": ".harn-runs/sample-run.json"
    }
  ]
}
	harn.toml__basic_manifest	main.harntests/test_eval.harneval-suite.jsonI��������������������������������������������������������������������������������������������������������������������������������������������������I$$$$$$$$$$$$$$$$$$project_name
harn_range	main_harn	test_harnsuite__pipeline_lab_filesResultproject_namestring
harn_rangestringIlllkJ�ۃ�p�
�!k!k!k!!�pub fn build_context(task) {
  return {
    task: task,
    cwd: cwd(),
  }
}

pub fn request_permission(tool_name, request_args) -> bool {
  return true
}
�pipeline default(task) {
  const context = build_context(env_or("HARN_TASK", ""))
  const result = llm_call(
    "Task: " + context.task + "\nWorkspace: " + context.cwd,
    "You are a concise coding assistant. Reply in 3 bullets max.",
  )
  log(result.text)
}
�Z# Pipeline Lab

Use this project to iterate on a Harn workflow against a local Harn-native host module.

## Run

```bash
harn playground --task "Explain this repository"
```

## Watch mode

```bash
harn playground --watch --task "Tighten the workflow prompt"
```

Edit `host.harn` or `pipeline.harn` and the playground will re-run automatically.
	harn.toml__basic_manifest	host.harn
pipeline.harn	README.mdI��������������������������������������������������������������������������������������������������������������������������������������������������I$$$$$$$$$$$$$$$$$$project_name
harn_range	host_harn
pipeline_harnreadme__package_filesResultproject_namestring
harn_rangestring�llllk	k

lklkkJ��a��䪫!k!k!k!k!k! !!"k!!#k/// Return a greeting for `name`.
pub fn greet(name: string) -> string {
  return "Hello, " + name + "!"
}
Dimport "lib/main"

pipeline default(task) {
  log(greet("world"))
}
_import "../lib/main"

pipeline test_greet(task) {
  assert_eq(greet("Harn"), "Hello, Harn!")
}
��name: Harn package

on:
  pull_request:
  push:
    branches: [main]

jobs:
  package:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: taiki-e/install-action@cargo-binstall
      - run: cargo binstall harn-cli --no-confirm
      - run: harn install --locked --offline || harn install
      - run: harn test tests/
      - run: harn package check
      - run: harn package docs --check
      - run: harn package pack --dry-run
# 
Reusable Harn package.
## Quickstart
```bash
harn add ../harn test tests/
harn package check
harn package docs
harn package pack
```
PConsumers import stable modules through the `[exports]` entries in `harn.toml`.
# API Reference: "Generated by `harn package docs`.
Version: `0.1.0`
## Export `lib`
`lib/main.harn`
### fn `greet`
Return a greeting for `name`.
```harn
%pub fn greet(name: string) -> string
	harn.toml__package_manifest
lib/main.harn	main.harntests/test_main.harn".github/workflows/harn-package.yml	README.mdLICENSEMIT OR Apache-2.0
docs/api.md�������������������������������������������������������������	�	�	�	�
�
�
�
���������
�
�
�
����������������������������������������������������������������������������������� � � � �!�!�!�!�"�"�"�"�#�#�#�#�$�$�$�$�%�%�%�%�&�&�&�&�'�'�'�'�(�(�(�(�)�)�)�)�)�)�)�+�+�+�+�+�+�+�+�+�+�+�+�+�+�+�+�+�+�+�+�+�+�+�+�,�,�,�,�,�,�,�,�,�-�-�-�-�-�-�-�-�-�.�.�.�.�.�.�.�.�.�/�/�/�/�/�/�/�/�/�0�0�0�0�0�0�0�0�0�1�1�1�1�1�1�1�1�1�2�2�2�2�2�2�2�2�2�2�2�2�2�2�����((((&&&&5555&&&444444444444444444,,,,,,%"&*.26:>B	F
JNR
VZ^blptx|���������� �!�"�#�$project_name
harn_rangelib_main	main_harn	test_harnworkflowreadmedocs__connector_filesResultproject_namestring
harn_rangestring�fllllk	

lk


 
l!kkJq7�^f &"!#k!$k!%k!&k!'k!()!*k!!+��/// Connector provider id.
pub fn provider_id() {
  return "echo"
}

/// Trigger kinds emitted by this connector.
pub fn kinds() {
  return ["webhook"]
}

/// JSON payload schema for normalized inbound events.
pub fn payload_schema() {
  return {
    harn_schema_name: "EchoEventPayload",
    json_schema: {
      type: "object",
      additionalProperties: true,
    },
  }
}

/// Convert one inbound request into Harn trigger events.
pub fn normalize_inbound(raw) {
  const body = raw.body_json ?? json_parse(raw.body_text)
  return {
    type: "event",
    event: {
      kind: "webhook",
      dedupe_key: "echo:" + (body.message ?? "message"),
      payload: body,
    },
  }
}
Jimport "connectors/echo"

pipeline default(task) {
  log(provider_id())
}
�import "../connectors/echo"

pipeline test_provider_id(task) {
  assert_eq(provider_id(), "echo")
  assert_eq(kinds(), ["webhook"])
}
��name: Harn connector package

on:
  pull_request:
  push:
    branches: [main]

jobs:
  package:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: taiki-e/install-action@cargo-binstall
      - run: cargo binstall harn-cli --no-confirm
      - run: harn install --locked --offline || harn install
      - run: harn connector test .
      - run: harn package check
      - run: harn package docs --check
      - run: harn package pack --dry-run
# 
Pure-Harn connector package.
## Quickstart
```bash
harn connector test .
harn package check
harn package docs
harn package pack
```
TConsumers import the connector through the stable `[exports]` entry in `harn.toml`.
# API Reference: "Generated by `harn package docs`.
Version: `0.1.0`
## Export `connector`
`connectors/echo.harn`
### fn `provider_id`
Connector provider id.
```harn
pub fn provider_id()
### fn `kinds`
)Trigger kinds emitted by this connector.
pub fn kinds()
### fn `payload_schema`
3JSON payload schema for normalized inbound events.
pub fn payload_schema()
### fn `normalize_inbound`
6Convert one inbound request into Harn trigger events.
pub fn normalize_inbound(raw)
	harn.toml__connector_manifestconnectors/echo.harn	main.harntests/test_connector.harn".github/workflows/harn-package.yml	README.mdLICENSEMIT OR Apache-2.0
docs/api.md�f�7�7�7�7�7�7�X�X�X�X�X�X�]�]�]�]�]�]�c�c�c�c�c�c�v�v�v�v�v�v�v�v�v�v�v�w�w�w�w�x�x�x�x�y�y�y�y�z�z�z�z�{�{�{�{�|�|�|�|�}�}�}�}�~�~�~�~�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������6�6�f((((&&&&5555(((666666666666666666######,,,,,,:"&*.26:>B	F
JNR
V`dhlptx|���������� �!�"�#�$�%�&�'�(�)�*�+�,�-�.�/�0�1�2�3�4�5��6�7�8�9project_name
harn_range	echo_harn	main_harn	test_harnworkflowreadmedocs__template_filesResulttemplatestringproject_namestring
harn_rangestring�kh	kk
kh=	kk
?kh]	kk
_kh}	kk
kh�		kk
�k
h�	kk
�kh�	
kk
�kh�	kk
�k2basic
__basic_filesagent
__agent_fileschat__chat_files
mcp-server__mcp_fileseval__eval_filespipeline-lab__pipeline_lab_filespackage__package_files	connector__connector_filesunknown template: ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������((((((((((((((((((((((((((((''''''''''''''&&&&&&&&&&&&&&''''''''''''''!!!//////////////**************,,,,,,,,,,,,,,			         �templateproject_name
harn_range__write_if_newResultharnessHarnessdirstringrelstringcontentstring�'kkJM���P�KlkJ���L�Klk@k&k,�	3_	k&k,
4�	l	k&k	kJ�4$�ռ
,


�k&k,�	k&k
,
�3�	k&kk,
4	l	k&k	kJ�4$�ռ
,

k&k,	path_joindirnamefsexistsmkdirstdioeprintlnFailed to create : 	to_stringprintln  skip   (already exists)
write_textFailed to write 
  create  �'�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������')))))))))))))))4444====NNNNNNNNNNNNNNNNNNNNN((((/////////!!!!!!!!!!!!!!!!!11118888IIIIIIIIIIIIIIIIIIIII(((((((((((-5;PVgpt	x
���
��������������	�� �!harnessdirrelcontentpathparentee__print_next_stepsResultharnessHarnessnamestringtemplatestring�0k&,ki/	k&k,
1khO	k&,
�	khn	k&,
�	kh�	k&	,k&
,
�	k&,k&,


k&,k&
,kh�kh	k&,k&,k&,
 k&,stdioprintln  cd chat,  harn run main.harn       # run the program
mcp-server:  harn serve mcp main.harn # expose the starter MCP serverpipeline-lab=  harn playground --task "Explain this repo"    # run the labF  harn playground --watch --task "Refine the prompt"  # live iteration*  harn test tests/         # run the tests(  harn fmt main.harn       # format code&  harn lint main.harn      # lint codepackage	connector7  harn package check       # validate publish readiness.  harn package docs        # generate API docs:  harn package pack        # build an inspectable artifact9  harn doctor              # verify the local environment�0��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������0%%%%%%%%%%%%%%%





+++++++++++	&'AG`f	�
���
��������������$�*harnessnametemplatemainResultharnessHarness�nk&,lk&,lk&,lk&,lk&	,lkqk�	k&
,
J�M`��ye
�k�	k&
k,
�	k&
,
3�	kkkJ]�I��M
4"	l	k&
kJ�4$�ռ,
J�M`��ye

lk/0U	lkkk#k#J���_~�Y
)kkkJ��s�c�k>envget_orHARN_INIT_NAMEHARN_INIT_PROJECT_NAME
my-project
HARN_INIT_DIRHARN_INIT_TEMPLATEbasicHARN_INIT_HARN_RANGEstdioeprintln8init: HARN_INIT_DIR and HARN_INIT_HARN_RANGE must be setexitprintlnCreating project ''...1Initializing harn project in current directory...__template_files	to_string__write_if_new__print_next_steps�n�
�
�
�
�
�
�
�
�
�
�
�
�
�
�
�
�
�
�
���������������������������������������
�
�
�
�
�
�
�
�
�
�
�
�
�
�
�
�
�
�
���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �"�"�"�"�"�"�"�"�"�"�"�"�"�"�"�"�"�"�"�"�"�	�	�n###5555555555+++EEEEEEEEEE"""3333333333'''==========)))AAAAAAAAAA







!!!!!!!!!!!





















222299999999999999   .........................&&&&&&&&&&&&&&&&&&&&



















"""((((,,,22222222222222222222222%%%%%%%%%%%%%%%%%%)2<EOX	e
p{�
��������������D�`	harnessnameproject_namedirtemplate
harn_rangeefilesentryi