# Code Harvest Changelog

{% updates format="full" %}
{% update date="2025-12-05" %}

## Version 3.1.0

Major feature update introducing Scene Context export for AI-ready prompts and structured LLM workflows.

<details>

<summary>New Features</summary>

* New **Scene Context** tab in the Code Harvest window.
* Scene hierarchy export including serialized components and optional C# source embedding.
* AI-ready structured format with configurable sections: `ROLE / CONTEXT / UNITY DATA / TASK`.
* Manual hierarchy selection mode under a chosen root with include/exclude control.
* Dedicated UI-specific export toggle for Canvas, UI, and TextMeshPro components.
* Secure source export filters (project scripts only under `Assets/`, excluding plugins and external assets).

</details>

<details>

<summary>Improved</summary>

* Improved toggle readability and spacing in Scene Context UI.
* Two-step workflow: **Generate → Copy / Create File**.
* Consistent status messaging across Scene Context actions.
* Refined labels, tooltips, and terminology for clarity.

</details>

<details>

<summary>Fixe</summary>

* Minor UI inconsistencies in Scene Context interactions.

</details>
{% endupdate %}

{% update date="2025-09-17" %}

## Version 3.0.0

Unified visual refresh aligning Code Harvest with the JulesTools dark theme ecosystem.

<details>

<summary>New Features</summary>

* Background overlay and card-based layout structure.
* Consistent toolbar styling shared across in-house tools.

</details>

<details>

<summary>Improved</summary>

* Improved visual hierarchy and panel separation.

</details>

<details>

<summary>Fixed</summary>

* None (visual refactor only).

</details>
{% endupdate %}

{% update date="2025-07-04" %}

## Version 2.1.0

Major architectural expansion introducing a local HTTP API for automation and CI workflows.

<details>

<summary>New Features</summary>

* Local HTTP API server (`http://localhost:8080`) auto-started in Editor.
* `GET /scripts` endpoint for filtered script listing.
* `GET /export` endpoint with configurable format and filters.
* `POST /export` endpoint for custom payload-driven exports.
* Support for `.txt`, `.md`, `.json`, and `.zip` formats.
* `outputPath` parameter for explicit export destination.
* `return=info` parameter for detailed JSON responses.
* `silent=true` parameter to suppress Unity logs.
* Full curl and PowerShell documentation added.

</details>

<details>

<summary>Improved</summary>

* Improved server lifecycle management (duplicate instance prevention).
* `CodeHarvestServer` isolated into `CodeHarvest.API` namespace.
* Core export logic extracted into `ScriptExportService`.
* General code cleanup and separation of concerns.

</details>

<details>

<summary>Fixed</summary>

* File name collision handling.
* Improved Unicode encoding stability.
* Robust handling of malformed or empty API payloads.

</details>
{% endupdate %}

{% update date="2025-06-18" %}

## Version 2.0.0

Full UI and workflow redesign introducing Custom Export mode.

<details>

<summary>New Features</summary>

* New **Custom Export** mode.
* Fine-grained script selection before export.
* Search bar with Select All / None filters.
* Format selector (`.txt`, `.md`).
* Clear File, Open Folder, and Copy Content actions.
* Status feedback after each action.
* Footer with version and copyright.

</details>

<details>

<summary>Improved</summary>

* Complete UI redesign (neon-dark theme).
* Tab-based navigation (Quick Export / Custom Export).
* Scrollable panels.
* Codebase refactored for maintainability.

</details>

<details>

<summary>Fixed</summary>

* Path normalization and validation.
* Clipboard stability improvements for large exports.
* UI alignment and hover behavior corrections.

</details>
{% endupdate %}

{% update date="2025-06-01" %}

## Version 1.1.0

First public release introducing AI-ready script export.

<details>

<summary>New Features</summary>

* One-click export of all C# scripts.
* Automatic folder tree structure generation.
* Individual script selection.
* `.txt` and `.md` formats.
* Output optimized for ChatGPT and LLM ingestion.
* Folder and extension filtering.
* Clean, intuitive UI.
* Fully read-only operation (no project modification).

</details>

<details>

<summary>Improved</summary>

* None.

</details>

<details>

<summary>Fixed</summary>

* None.

</details>
{% endupdate %}
{% endupdates %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://julestools.gitbook.io/julestools-docs/changelog/readme-2.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
