Compare commits
4 Commits
c0535bc9a6
...
687a8b076f
| Author | SHA1 | Date | |
|---|---|---|---|
| 687a8b076f | |||
| eb347d6b01 | |||
| 74737b0f70 | |||
| e9e5e29065 |
+54
-6
@@ -417,13 +417,44 @@ def _strip_cache_controls(history: list[dict]):
|
|||||||
if isinstance(block, dict):
|
if isinstance(block, dict):
|
||||||
block.pop("cache_control", None)
|
block.pop("cache_control", None)
|
||||||
|
|
||||||
|
def _repair_anthropic_history(history: list[dict]):
|
||||||
|
"""
|
||||||
|
If history ends with an assistant message that contains tool_use blocks
|
||||||
|
without a following user tool_result message, append a synthetic tool_result
|
||||||
|
message so the history is valid before the next request.
|
||||||
|
"""
|
||||||
|
if not history:
|
||||||
|
return
|
||||||
|
last = history[-1]
|
||||||
|
if last.get("role") != "assistant":
|
||||||
|
return
|
||||||
|
content = last.get("content", [])
|
||||||
|
# Find tool_use blocks (content may be a list of dicts or SDK objects)
|
||||||
|
tool_use_ids = []
|
||||||
|
for block in content:
|
||||||
|
if isinstance(block, dict):
|
||||||
|
if block.get("type") == "tool_use":
|
||||||
|
tool_use_ids.append(block["id"])
|
||||||
|
else:
|
||||||
|
# SDK object
|
||||||
|
if getattr(block, "type", None) == "tool_use":
|
||||||
|
tool_use_ids.append(block.id)
|
||||||
|
if not tool_use_ids:
|
||||||
|
return
|
||||||
|
# Append a synthetic tool_result for each dangling tool_use
|
||||||
|
history.append({
|
||||||
|
"role": "user",
|
||||||
|
"content": [
|
||||||
|
{
|
||||||
|
"type": "tool_result",
|
||||||
|
"tool_use_id": tid,
|
||||||
|
"content": "Tool call was not completed (session interrupted).",
|
||||||
|
}
|
||||||
|
for tid in tool_use_ids
|
||||||
|
],
|
||||||
|
})
|
||||||
|
|
||||||
def _send_anthropic(md_content: str, user_message: str, base_dir: str) -> str:
|
def _send_anthropic(md_content: str, user_message: str, base_dir: str) -> str:
|
||||||
"""
|
|
||||||
Send via Anthropic using chunked inline text.
|
|
||||||
Context is split into <=_ANTHROPIC_CHUNK_SIZE char blocks with
|
|
||||||
cache_control:ephemeral on the last block, then the user message is appended.
|
|
||||||
"""
|
|
||||||
try:
|
try:
|
||||||
_ensure_anthropic_client()
|
_ensure_anthropic_client()
|
||||||
|
|
||||||
@@ -434,6 +465,7 @@ def _send_anthropic(md_content: str, user_message: str, base_dir: str) -> str:
|
|||||||
]
|
]
|
||||||
|
|
||||||
_strip_cache_controls(_anthropic_history)
|
_strip_cache_controls(_anthropic_history)
|
||||||
|
_repair_anthropic_history(_anthropic_history)
|
||||||
_anthropic_history.append({"role": "user", "content": user_content})
|
_anthropic_history.append({"role": "user", "content": user_content})
|
||||||
|
|
||||||
n_chunks = len(context_blocks)
|
n_chunks = len(context_blocks)
|
||||||
@@ -513,9 +545,25 @@ def _send_anthropic(md_content: str, user_message: str, base_dir: str) -> str:
|
|||||||
"tool_use_id": block.id,
|
"tool_use_id": block.id,
|
||||||
"content": output,
|
"content": output,
|
||||||
})
|
})
|
||||||
|
elif block.type == "tool_use":
|
||||||
|
# Unknown tool - return an error result so history stays valid
|
||||||
|
tool_results.append({
|
||||||
|
"type": "tool_result",
|
||||||
|
"tool_use_id": block.id,
|
||||||
|
"content": f"ERROR: unknown tool '{block.name}'",
|
||||||
|
})
|
||||||
|
|
||||||
|
# Always append tool_results when stop_reason was tool_use,
|
||||||
|
# even if the list is somehow empty (shouldn't happen, but be safe)
|
||||||
if not tool_results:
|
if not tool_results:
|
||||||
break
|
# Synthesise a result for every tool_use block to keep history valid
|
||||||
|
for block in response.content:
|
||||||
|
if block.type == "tool_use":
|
||||||
|
tool_results.append({
|
||||||
|
"type": "tool_result",
|
||||||
|
"tool_use_id": block.id,
|
||||||
|
"content": "ERROR: tool could not be executed.",
|
||||||
|
})
|
||||||
|
|
||||||
_anthropic_history.append({
|
_anthropic_history.append({
|
||||||
"role": "user",
|
"role": "user",
|
||||||
|
|||||||
+22
-51
@@ -16,63 +16,34 @@ paths = [
|
|||||||
"C:/projects/manual_slop/session_logger.py",
|
"C:/projects/manual_slop/session_logger.py",
|
||||||
"C:/projects/manual_slop/file_cache.py",
|
"C:/projects/manual_slop/file_cache.py",
|
||||||
"C:/projects/manual_slop/theme.py",
|
"C:/projects/manual_slop/theme.py",
|
||||||
|
"C:/projects/manual_slop/project_manager.py",
|
||||||
|
"C:/projects/manual_slop/manual_slop.toml",
|
||||||
]
|
]
|
||||||
|
|
||||||
[screenshots]
|
[screenshots]
|
||||||
base_dir = "C:/Users/Ed/scoop/apps/sharex/current/ShareX/Screenshots/2026-02"
|
base_dir = "C:/Users/Ed/scoop/apps/sharex/current/ShareX/Screenshots/2026-02"
|
||||||
paths = []
|
paths = [
|
||||||
|
"C:/Users/Ed/scoop/apps/sharex/current/ShareX/Screenshots/2026-02/2026-02-21_19-40-16.png",
|
||||||
|
]
|
||||||
|
|
||||||
[discussion]
|
[discussion]
|
||||||
history = [
|
history = [
|
||||||
"User:\nAdd support for properly handling files that we have in config with anthropics api (your context will have documentation reguarding it). This will allow us to free up the main markdown file were sending as a message.\nWe also want to make sure the messaging of that giant markdown is chunked as anthropic does have an upper limit per messages.",
|
"User:\nLets add multiple project support. currently this project would be the \"manual_slop\" project. \nI need to make a separate \"manual_slop.toml\" for this and offload things that would be within a per project to it.\nI also want to have several discussion histories that I can label. \nThis would allow me to stash and continue separate effort's histories..\nIt would be important if these discussions saved the last git commit they were on. (I'll need a buton to manually update it).\nAnd timestamps on each discussion entry to give an idea of the duration involved and \nhow the project has evolved since the discussion stream's effort was last done.\nBasically preserve context so ai can use that as valuable information in its working memory.\n\nTo load a project I'll need to hoist it into the config by providing the path.\nMaybe allow multiple project tomls to be specified path wise in the array.",
|
||||||
"AI:\nGood. Now the big rewrite of `ai_client.py`. The strategy:\n\n- Add a new `_send_anthropic_files` path that uses `file_cache.get_file_id()` to upload files individually as `document`/`image` content blocks, keeping the context message lean\n- The fallback (and also for oversized content) uses chunked text blocks — split the markdown into ≤180k-char chunks (well under the ~200k token limit with headroom for overhead), each sent as a separate `text` content block with `cache_control` on the last one\n- `send()` now accepts an optional `file_items` parameter from aggregate\n- `reset_session()` also resets the file_cache client",
|
"AI:\nAnnotated by user:\nNo response from AI, taking sceenshot of scripts run... and directory's state",
|
||||||
"User:\ncontinue. Also got this error when trying to run latest version of this program. However I can use an old version for now.",
|
"User:\nHey it seems like you were not done want to continue?",
|
||||||
"AI:\nNow fix `gui.py` — patch the three 2-tuple unpack sites and thread `file_items` through to `send()`:",
|
"AI:\nDid work, No response from AI (this is an annotated entry by the user), made project_manager.py, adding it to md context.",
|
||||||
"User:\ncontinue. My bad the error in comms was shown int he screenshot I linked. in the md context. Make sure to update MainContext.md when done.",
|
"User:\ncontinue. You made a file but no changes have been made yet to gui.py. Still in progress to add all the multiple project support wishlist from user message earlier.",
|
||||||
"AI:\nfinished without sending a response...",
|
"AI:\nNo response yet again maybe the response box is broken (User annotated)",
|
||||||
"User:\nSeems to be working...! \nMake a richer discussioon history editor, with structual support for the user/ai message nodes and buttons in the reponse and message panels for adding their entries to it on click.",
|
"User:\ncontinue. Sending multiple project wishlist more concise here:\n- Adding multiple project support. \n- Currently this project would be the \"manual_slop\" project. \n- Make a separate \"manual_slop.toml\" for this and offload things that would be within a per project to it.\n- Want to have several discussion histories that I can label. \n- This would allow me to stash and continue separate effort's histories..\n- It would be important if these discussions saved the last git commit they were on. (I'll need a buton to manually update it).\n- And timestamps on each discussion entry to give an idea of the duration involved and indicate if the project has evolved since the discussion stream's effort was last done.\n - Basically preserve context so ai can use that as valuable information in its working memory.\n- To load a project I'll need to hoist it into the config by providing the path.\n- Maybe allow multiple project tomls to be specified path wise in the array.",
|
||||||
"AI:\nThe existing format already uses `[User]\\n...` and `[AI]\\n...` prefixes. The new structured editor will parse those naturally and write them back in the same format. Now let me implement the full changes:",
|
"AI:\nGood. I have a complete picture. Here's the plan:\n\n**What we need to do:**\n\n1. **Create `manual_slop.toml`** — the per-project file, migrated from `config.toml`, with the new project structure (`project_manager.default_project` shape)\n2. **Update `config.toml`** — strip out project-specific sections, add `[projects]` array pointing to `manual_slop.toml`, keep `[ai]` and `[theme]` here as \"global\" app config\n3. **Rewrite `gui.py`** with a Python patch script that adds:\n - Project loading/switching panel (load from path, list of loaded projects, active project indicator)\n - Discussion switcher (list discussions by label, new/rename/delete discussion)\n - Git commit display + \"Update Commit\" button per discussion\n - Timestamps on entries (wired to `project_manager.entry_to_str/str_to_entry`)\n - All save/flush operations target the active project `.toml` via `project_manager.save_project()`\n - `App` state restructured: `self.proj` (active project dict), `self.proj_path`, `self.active_disc_name`\n\nI'll use a Python patch script to avoid PowerShell escaping issues. Let me write it:",
|
||||||
"User:\nYou had failres in your last few called scripts. Git diff shows now changes to python files.\nI'll add the comms and tool logs to your context. \nWe should remove the script content from the tool log and just save the script name so that it doesn't bloat it. \nSame with omitting full message sent in the comms log, very expensive to send to you or read manually.",
|
"User:\nYep, write that file! No need to backup they've been done multiple times!",
|
||||||
"Vendor API:\nERROR: Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'A maximum of 4 blocks with cache_control may be provided. Found 5.'}, 'request_id': 'req_011CYMxgMXvcZUVFNyFz1Lx8'}",
|
"AI:\nWriting the new `gui.py` via a Python script to avoid PowerShell escaping issues. This is a full rewrite with multi-project support.",
|
||||||
"User:\nI'm not able to send a message for a while now...\n(Message finally sent)",
|
]
|
||||||
"AI:\nCompleted without a response message showing up.",
|
roles = [
|
||||||
"User:\nRestarts custom prompting program.",
|
"User",
|
||||||
"User:\nOk lets try this again...\nLets do the discussion history improvmeents. I want a sort of visual editor where each entry is its own block. \nThere should be a role field and a content filed and I should have buttons for appending the current response or current message to it\n. I should be able to insert or remove anywhere as well.",
|
"AI",
|
||||||
"Vendor API:\nERROR: Error code: 500 - {'type': 'error', 'error': {'type': 'api_error', 'message': 'Internal server error'}, 'request_id': 'req_011CYMyjgyfDn2b6JnPD6rvJ'}",
|
"Vendor API",
|
||||||
"User:\ncontinue...",
|
"System",
|
||||||
"Vendor API:\nERROR: Error code: 404 - {'type': 'error', 'error': {'type': 'not_found_error', 'message': 'File not found: file_011CYMyjXYsf951nBgTvQmkE'}, 'request_id': 'req_011CYMysoSaH2xPxVtZurjSc'}",
|
|
||||||
"User:\nreverting to older editor...\nOk I'm back on an older prompting editor. Lets get this working again... with latest..",
|
|
||||||
"AI:\nGood. Now I'll rewrite the Discussion History panel in `gui.py`. The changes are:\n\n1. Add `_parse_history_entries()` — converts the raw TOML string array into `[{role, content}]` dicts\n2. Add `self.disc_entries` list of dicts to `App.__init__`\n3. Replace `_build_ui`'s Discussion window with a structured block editor inside a scrollable child window\n4. Add `_rebuild_disc_list()` — full redraw of the structured editor\n5. Add `_make_disc_*` callbacks for insert/remove/role-change/content-change\n6. Add `cb_append_message_to_history()` and `cb_append_response_to_history()`\n7. Add **→ History** buttons to Message and Response panels\n8. Update `_flush_to_config()` to serialise `disc_entries` back to the string array format\n9. Remove the old `cb_add_excerpt` / `cb_clear_discussion` / `cb_save_discussion` callbacks (replaced)",
|
|
||||||
"User:\nsounds good, continue!",
|
|
||||||
"Vendor API:\nERROR: Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'messages.10: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01BjaPJPVFoNnNoRCLvPA8qF. Each `tool_use` block must have a corresponding `tool_result` block in the next message.'}, 'request_id': 'req_011CYMzHG47TKTPp7iLcE5NP'}",
|
|
||||||
"User:\nreverting to an even older version..",
|
|
||||||
"User:\nOk lets see if we can get it to work with this version and get everything fixed on latest...",
|
|
||||||
"AI:\nThe cache_control logic looks correct already (system=1, tools=1, context_last=1 = 3 total, under the limit of 4). The error seen previously was likely from an older version. Good.\n\nNow let me fix the **comms log** (omit full message from OUT/request) and **tool log** (omit script body from `session_logger`):",
|
|
||||||
"AI:\nNo response",
|
|
||||||
"User:\nOnly see changes done to gui.py...\nrestarting...",
|
|
||||||
"User:\nIs everything fixed? not sure?",
|
|
||||||
"AI:\nNow I have a clear picture. The files on disk match the context documents closely. The outstanding tasks from the discussion history are:\n\n1. **`session_logger.py`** — omit the script body from the tool-call log (just save script name/path, not contents)\n2. **`ai_client.py`** — omit full message from OUT/request comms log (already mostly done — Gemini still uses `summary` key; Anthropic uses `message` with a summary. The Gemini one sends `summary` but the renderer looks for `message`. Fix that too.)\n3. **`gui.py`** — Discussion History structured block editor (the big one that kept failing)\n\nLet me tackle all three cleanly now.\n\n**First: `session_logger.py`** — remove script body from toolcalls log, just reference the `.ps1` file:",
|
|
||||||
"Vendor API:\nERROR: Error code: 404 - {'type': 'error', 'error': {'type': 'not_found_error', 'message': 'File not found: file_011CYN4ecyVxDg7ujLUYWeD3'}, 'request_id': 'req_011CYN4kpavNrA5KYXnMqKLq'}\nUser (Background):\nConstraining the discussion history to one entry...",
|
|
||||||
"Vendor API:\nERROR: Error code: 404 - {'type': 'error', 'error': {'type': 'not_found_error', 'message': 'File not found: file_011CYN4ecyVxDg7ujLUYWeD3'}, 'request_id': 'req_011CYN4rxjETKA5B9ACMkm2T'}",
|
|
||||||
"User:\nSigh, here we go again.\nAI - Observed by user:\nDoes many actions (recorded in screenshot but no direct response from them).",
|
|
||||||
"Vendor API:\nERROR: Error code: 404 - {'type': 'error', 'error': {'type': 'not_found_error', 'message': 'File not found: file_011CYN4wQpEzM4W4KFA48HDz'}, 'request_id': 'req_011CYN59c31BxJsgDZ6Rzqby'}\nUser (Background):\nOk definitely not...",
|
|
||||||
"User:\nAttempt to fix these error with files were getting... maybe this file usage thing with anthropic was a bad idea...",
|
|
||||||
"Vendor API:\nERROR: Error code: 500 - {'type': 'error', 'error': {'type': 'api_error', 'message': 'Internal server error'}, 'request_id': 'req_011CYN5PqDQLs5d1B9QS8inZ'}\nUser (Background):\nWeird it got pretty far and gutted the file_cache.py file. Not sure why that error popped up for the service...\nrestarting prompting editor to latest instance...",
|
|
||||||
"Vendor API:\nERROR: send() takes from 2 to 3 positional arguments but 4 were given",
|
|
||||||
"User:\nok... maybe I cant use latest...\nI applied a fix to gui.py line 658 was using the files arg with the send call thats no longer used.",
|
|
||||||
"AI:\nThe file has `\\r\\n` line endings mixed in. I'll write the replacement using a Python one-liner to avoid PowerShell line-ending issues:",
|
|
||||||
"User:\nSure, if you want also enforce LF if you want on all files. I manually attempted so in vscode.",
|
|
||||||
"AI:\nDoes work... (Noted by user)\n- Reponse:\nNow clean up the temp patch scripts and do a quick sanity check:",
|
|
||||||
"User:\nLets add some theming to this. Add options to change the ui dpi scale and the font used, also add the ability to change the palette I guess. We can reference my 10x editor settings for inspiration:\n```\n[Omitted as its already been utilized]\n\n```",
|
|
||||||
"AI:\nGood. Now I'll patch `gui.py` — adding the Theme window and wiring it up. I'll make targeted insertions rather than a full rewrite:\n\n1. Add `import theme` at the top\n2. Add `_build_theme_window()` and its callbacks to `App`\n3. Call `theme.load_from_config()` at startup (in `run()`)\n4. Call `theme.save_to_config()` in `_flush_to_config()`\n5. Add `win_theme` to `_build_ui()`",
|
|
||||||
"User:\nSure lets patch gui.py.",
|
|
||||||
"AI:\nGood. Now I have a clear picture. I'll do the full patch in one Python script to avoid PowerShell string escaping issues:\n(Finished the job)",
|
|
||||||
"User:\nOk so the implementation works but when switching fonts it tends to crash (FiraCode, MapleMono, etc).",
|
|
||||||
"AI:\nThe em-dash in the docstring differs. Let me match by a more robust regex:",
|
|
||||||
"User:\nOk it seems fixed now... (themeing for fonts, nice job). \nNow lets do those adjustments to discussion history:\nIt'd also be nice if we can collapse the discussion entries indvidual and with a collapse/expand all button.\nAlso there is no way right now for me to define new roles for the discussion other than by editing the source.\nShould at least be configurable frm the config.toml...",
|
|
||||||
"AI:\nGood, I have a clear picture. Here's the plan:\n\n**Changes needed:**\n1. **`config.toml`** — add `[discussion] roles = [...]` so roles are configurable\n2. **`gui.py`** — 4 targeted edits:\n - `DISC_ROLES` becomes a module-level fallback; the real list comes from config at load time and lives on `App`\n - `_parse_history_entries()` takes `roles` as a parameter\n - `_rebuild_disc_list()` — add collapse/expand per entry (using a `bool` `collapsed` flag in each dict), Collapse All / Expand All buttons in the toolbar\n - Add a \"Roles\" sub-section in the Discussion window for adding/removing role names from the config list, and wire it into `_flush_to_config()`\n\nI'll do this as a Python patch script to avoid PowerShell string escaping issues:",
|
|
||||||
"User:\nSure, go ahead and make to those change patches and apply them.",
|
|
||||||
"AI:\nAll 16 checks pass. Now update `MainContext.md` and clean up the patch file:\n(Note from user: the AI did so!)",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[ai]
|
[ai]
|
||||||
@@ -83,4 +54,4 @@ model = "claude-sonnet-4-6"
|
|||||||
palette = "10x Dark"
|
palette = "10x Dark"
|
||||||
font_path = "C:/Users/Ed/AppData/Local/uv/cache/archive-v0/WSthkYsQ82b_ywV6DkiaJ/pygame_gui/data/FiraCode-Regular.ttf"
|
font_path = "C:/Users/Ed/AppData/Local/uv/cache/archive-v0/WSthkYsQ82b_ywV6DkiaJ/pygame_gui/data/FiraCode-Regular.ttf"
|
||||||
font_size = 18.0
|
font_size = 18.0
|
||||||
scale = 1.25
|
scale = 1.0
|
||||||
|
|||||||
+251
-55
@@ -10,15 +10,15 @@ Collapsed=0
|
|||||||
|
|
||||||
[Window][###22]
|
[Window][###22]
|
||||||
Pos=0,0
|
Pos=0,0
|
||||||
Size=609,326
|
Size=498,253
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x0000002F,0
|
DockId=0x00000039,0
|
||||||
|
|
||||||
[Window][###30]
|
[Window][###30]
|
||||||
Pos=0,654
|
Pos=0,654
|
||||||
Size=609,696
|
Size=498,853
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000027,0
|
DockId=0x0000003B,0
|
||||||
|
|
||||||
[Window][###66]
|
[Window][###66]
|
||||||
Pos=0,1491
|
Pos=0,1491
|
||||||
@@ -62,8 +62,8 @@ Size=700,440
|
|||||||
Collapsed=0
|
Collapsed=0
|
||||||
|
|
||||||
[Window][###126]
|
[Window][###126]
|
||||||
Pos=611,0
|
Pos=396,0
|
||||||
Size=699,2137
|
Size=783,2137
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000031,0
|
DockId=0x00000031,0
|
||||||
|
|
||||||
@@ -104,17 +104,17 @@ DockId=0x00000014,0
|
|||||||
Pos=2531,0
|
Pos=2531,0
|
||||||
Size=1309,1690
|
Size=1309,1690
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000032,0
|
DockId=0x0000001F,0
|
||||||
|
|
||||||
[Window][###106]
|
[Window][###106]
|
||||||
Pos=601,0
|
Pos=601,0
|
||||||
Size=922,2137
|
Size=922,2137
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000012,0
|
DockId=0x00000037,0
|
||||||
|
|
||||||
[Window][###100]
|
[Window][###100]
|
||||||
Pos=611,0
|
Pos=396,0
|
||||||
Size=699,2137
|
Size=783,2137
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000031,1
|
DockId=0x00000031,1
|
||||||
|
|
||||||
@@ -147,11 +147,11 @@ Collapsed=0
|
|||||||
Pos=376,0
|
Pos=376,0
|
||||||
Size=942,2137
|
Size=942,2137
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000012,2
|
DockId=0x00000037,2
|
||||||
|
|
||||||
[Window][###78]
|
[Window][###78]
|
||||||
Pos=0,1422
|
Pos=0,1422
|
||||||
Size=549,715
|
Size=498,715
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x0000001E,0
|
DockId=0x0000001E,0
|
||||||
|
|
||||||
@@ -165,7 +165,7 @@ DockId=0x00000015,0
|
|||||||
Pos=551,0
|
Pos=551,0
|
||||||
Size=1060,2137
|
Size=1060,2137
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000032,1
|
DockId=0x0000001F,1
|
||||||
|
|
||||||
[Window][###110]
|
[Window][###110]
|
||||||
Pos=2438,0
|
Pos=2438,0
|
||||||
@@ -174,10 +174,10 @@ Collapsed=0
|
|||||||
DockId=0x00000016,0
|
DockId=0x00000016,0
|
||||||
|
|
||||||
[Window][###112]
|
[Window][###112]
|
||||||
Pos=376,0
|
Pos=500,0
|
||||||
Size=942,2137
|
Size=745,2137
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000012,1
|
DockId=0x00000037,0
|
||||||
|
|
||||||
[Window][###145]
|
[Window][###145]
|
||||||
Pos=1578,868
|
Pos=1578,868
|
||||||
@@ -213,25 +213,25 @@ Collapsed=0
|
|||||||
Pos=351,0
|
Pos=351,0
|
||||||
Size=645,1548
|
Size=645,1548
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000012,0
|
DockId=0x00000037,0
|
||||||
|
|
||||||
[Window][###75]
|
[Window][###75]
|
||||||
Pos=0,1352
|
Pos=0,1352
|
||||||
Size=609,785
|
Size=394,785
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000022,0
|
DockId=0x00000022,0
|
||||||
|
|
||||||
[Window][###85]
|
[Window][###85]
|
||||||
Pos=1312,0
|
Pos=1181,0
|
||||||
Size=1187,2137
|
Size=1224,2137
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000032,0
|
DockId=0x0000001F,0
|
||||||
|
|
||||||
[Window][###92]
|
[Window][###92]
|
||||||
Pos=376,0
|
Pos=376,0
|
||||||
Size=942,2137
|
Size=942,2137
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000012,0
|
DockId=0x00000037,0
|
||||||
|
|
||||||
[Window][###107]
|
[Window][###107]
|
||||||
Pos=1525,1414
|
Pos=1525,1414
|
||||||
@@ -240,14 +240,14 @@ Collapsed=0
|
|||||||
DockId=0x0000001A,0
|
DockId=0x0000001A,0
|
||||||
|
|
||||||
[Window][###109]
|
[Window][###109]
|
||||||
Pos=351,0
|
Pos=500,0
|
||||||
Size=645,1548
|
Size=858,2137
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000012,2
|
DockId=0x00000037,0
|
||||||
|
|
||||||
[Window][###142]
|
[Window][###142]
|
||||||
Pos=0,328
|
Pos=0,328
|
||||||
Size=609,324
|
Size=394,324
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000030,0
|
DockId=0x00000030,0
|
||||||
|
|
||||||
@@ -302,19 +302,19 @@ DockId=0x00000028,0
|
|||||||
Pos=998,0
|
Pos=998,0
|
||||||
Size=853,602
|
Size=853,602
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000032,0
|
DockId=0x0000001F,0
|
||||||
|
|
||||||
[Window][###89]
|
[Window][###89]
|
||||||
Pos=351,0
|
Pos=351,0
|
||||||
Size=645,1548
|
Size=645,1548
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000012,1
|
DockId=0x00000037,1
|
||||||
|
|
||||||
[Window][###97]
|
[Window][###97]
|
||||||
Pos=998,604
|
Pos=1247,0
|
||||||
Size=1745,944
|
Size=1055,2137
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000020,0
|
DockId=0x00000031,0
|
||||||
|
|
||||||
[Window][###139]
|
[Window][###139]
|
||||||
Pos=1578,868
|
Pos=1578,868
|
||||||
@@ -472,8 +472,8 @@ Size=700,440
|
|||||||
Collapsed=0
|
Collapsed=0
|
||||||
|
|
||||||
[Window][###108]
|
[Window][###108]
|
||||||
Pos=2501,0
|
Pos=2407,0
|
||||||
Size=1339,1331
|
Size=1433,968
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x0000002B,0
|
DockId=0x0000002B,0
|
||||||
|
|
||||||
@@ -559,58 +559,254 @@ Size=700,440
|
|||||||
Collapsed=0
|
Collapsed=0
|
||||||
|
|
||||||
[Window][###116]
|
[Window][###116]
|
||||||
Pos=2501,1333
|
Pos=2407,970
|
||||||
Size=1339,804
|
Size=1433,1167
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x0000002C,0
|
DockId=0x0000002C,0
|
||||||
|
|
||||||
[Window][###120]
|
[Window][###120]
|
||||||
Pos=611,0
|
Pos=2304,1071
|
||||||
Size=699,2137
|
Size=1536,1066
|
||||||
|
Collapsed=0
|
||||||
|
DockId=0x00000020,0
|
||||||
|
|
||||||
|
[Window][###12467]
|
||||||
|
Pos=1578,868
|
||||||
|
Size=700,440
|
||||||
|
Collapsed=0
|
||||||
|
|
||||||
|
[Window][###12567]
|
||||||
|
Pos=1578,868
|
||||||
|
Size=700,440
|
||||||
|
Collapsed=0
|
||||||
|
|
||||||
|
[Window][###12668]
|
||||||
|
Pos=1578,868
|
||||||
|
Size=700,440
|
||||||
|
Collapsed=0
|
||||||
|
|
||||||
|
[Window][###12773]
|
||||||
|
Pos=1578,868
|
||||||
|
Size=700,440
|
||||||
|
Collapsed=0
|
||||||
|
|
||||||
|
[Window][###12885]
|
||||||
|
Pos=1578,868
|
||||||
|
Size=700,440
|
||||||
|
Collapsed=0
|
||||||
|
|
||||||
|
[Window][###13228]
|
||||||
|
Pos=1578,868
|
||||||
|
Size=700,440
|
||||||
|
Collapsed=0
|
||||||
|
|
||||||
|
[Window][###13348]
|
||||||
|
Pos=1578,868
|
||||||
|
Size=700,440
|
||||||
|
Collapsed=0
|
||||||
|
|
||||||
|
[Window][###13469]
|
||||||
|
Pos=1578,868
|
||||||
|
Size=700,440
|
||||||
|
Collapsed=0
|
||||||
|
|
||||||
|
[Window][###13597]
|
||||||
|
Pos=1578,868
|
||||||
|
Size=700,440
|
||||||
|
Collapsed=0
|
||||||
|
|
||||||
|
[Window][###13729]
|
||||||
|
Pos=1578,868
|
||||||
|
Size=700,440
|
||||||
|
Collapsed=0
|
||||||
|
|
||||||
|
[Window][###14084]
|
||||||
|
Pos=1578,868
|
||||||
|
Size=700,440
|
||||||
|
Collapsed=0
|
||||||
|
|
||||||
|
[Window][###14224]
|
||||||
|
Pos=1578,868
|
||||||
|
Size=700,440
|
||||||
|
Collapsed=0
|
||||||
|
|
||||||
|
[Window][###14368]
|
||||||
|
Pos=1578,868
|
||||||
|
Size=700,440
|
||||||
|
Collapsed=0
|
||||||
|
|
||||||
|
[Window][###14513]
|
||||||
|
Pos=1578,868
|
||||||
|
Size=700,440
|
||||||
|
Collapsed=0
|
||||||
|
|
||||||
|
[Window][###14662]
|
||||||
|
Pos=1578,868
|
||||||
|
Size=700,440
|
||||||
|
Collapsed=0
|
||||||
|
|
||||||
|
[Window][###15029]
|
||||||
|
Pos=1578,868
|
||||||
|
Size=700,440
|
||||||
|
Collapsed=0
|
||||||
|
|
||||||
|
[Window][###15189]
|
||||||
|
Pos=1578,868
|
||||||
|
Size=700,440
|
||||||
|
Collapsed=0
|
||||||
|
|
||||||
|
[Window][###151]
|
||||||
|
Pos=0,255
|
||||||
|
Size=498,397
|
||||||
|
Collapsed=0
|
||||||
|
DockId=0x00000034,0
|
||||||
|
|
||||||
|
[Window][###94]
|
||||||
|
Pos=1360,0
|
||||||
|
Size=959,2137
|
||||||
|
Collapsed=0
|
||||||
|
DockId=0x00000038,0
|
||||||
|
|
||||||
|
[Window][###117]
|
||||||
|
Pos=2321,0
|
||||||
|
Size=1519,1158
|
||||||
|
Collapsed=0
|
||||||
|
DockId=0x00000035,0
|
||||||
|
|
||||||
|
[Window][###125]
|
||||||
|
Pos=2321,1160
|
||||||
|
Size=1519,977
|
||||||
|
Collapsed=0
|
||||||
|
DockId=0x0000001F,0
|
||||||
|
|
||||||
|
[Window][###129]
|
||||||
|
Pos=500,0
|
||||||
|
Size=858,2137
|
||||||
|
Collapsed=0
|
||||||
|
DockId=0x00000037,2
|
||||||
|
|
||||||
|
[Window][###135]
|
||||||
|
Pos=500,0
|
||||||
|
Size=858,2137
|
||||||
|
Collapsed=0
|
||||||
|
DockId=0x00000037,1
|
||||||
|
|
||||||
|
[Window][###341]
|
||||||
|
Pos=1578,868
|
||||||
|
Size=700,440
|
||||||
|
Collapsed=0
|
||||||
|
|
||||||
|
[Window][###416]
|
||||||
|
Pos=1578,868
|
||||||
|
Size=700,440
|
||||||
|
Collapsed=0
|
||||||
|
|
||||||
|
[Window][###506]
|
||||||
|
Pos=1578,868
|
||||||
|
Size=700,440
|
||||||
|
Collapsed=0
|
||||||
|
|
||||||
|
[Window][###589]
|
||||||
|
Pos=1578,868
|
||||||
|
Size=700,440
|
||||||
|
Collapsed=0
|
||||||
|
|
||||||
|
[Window][###154]
|
||||||
|
Pos=0,412
|
||||||
|
Size=498,240
|
||||||
|
Collapsed=0
|
||||||
|
DockId=0x0000003A,0
|
||||||
|
|
||||||
|
[Window][###81]
|
||||||
|
Pos=0,1509
|
||||||
|
Size=498,628
|
||||||
|
Collapsed=0
|
||||||
|
DockId=0x0000003C,0
|
||||||
|
|
||||||
|
[Window][###128]
|
||||||
|
Pos=2304,0
|
||||||
|
Size=1536,1069
|
||||||
|
Collapsed=0
|
||||||
|
DockId=0x0000001F,0
|
||||||
|
|
||||||
|
[Window][###132]
|
||||||
|
Pos=500,0
|
||||||
|
Size=745,2137
|
||||||
|
Collapsed=0
|
||||||
|
DockId=0x00000037,2
|
||||||
|
|
||||||
|
[Window][###138]
|
||||||
|
Pos=500,0
|
||||||
|
Size=745,2137
|
||||||
|
Collapsed=0
|
||||||
|
DockId=0x00000037,1
|
||||||
|
|
||||||
|
[Window][###358]
|
||||||
|
Pos=1578,868
|
||||||
|
Size=700,440
|
||||||
|
Collapsed=0
|
||||||
|
|
||||||
|
[Window][###458]
|
||||||
|
Pos=1578,868
|
||||||
|
Size=700,440
|
||||||
|
Collapsed=0
|
||||||
|
|
||||||
|
[Window][###369]
|
||||||
|
Pos=1578,868
|
||||||
|
Size=700,440
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000031,2
|
|
||||||
|
|
||||||
[Docking][Data]
|
[Docking][Data]
|
||||||
DockSpace ID=0x7C6B3D9B Window=0xA87D555D Pos=0,0 Size=3840,2137 Split=X Selected=0x40484D8F
|
DockSpace ID=0x7C6B3D9B Window=0xA87D555D Pos=0,0 Size=3840,2137 Split=X Selected=0x40484D8F
|
||||||
DockNode ID=0x00000003 Parent=0x7C6B3D9B SizeRef=609,1161 Split=Y Selected=0xEE087978
|
DockNode ID=0x00000003 Parent=0x7C6B3D9B SizeRef=498,1161 Split=Y Selected=0xEE087978
|
||||||
DockNode ID=0x00000005 Parent=0x00000003 SizeRef=235,354 Split=Y Selected=0xEE087978
|
DockNode ID=0x00000005 Parent=0x00000003 SizeRef=235,354 Split=Y Selected=0xEE087978
|
||||||
DockNode ID=0x0000002D Parent=0x00000005 SizeRef=374,239 Split=Y Selected=0xEE087978
|
DockNode ID=0x0000002D Parent=0x00000005 SizeRef=374,239 Split=Y Selected=0xEE087978
|
||||||
DockNode ID=0x0000002F Parent=0x0000002D SizeRef=374,326 Selected=0xEE087978
|
DockNode ID=0x0000002F Parent=0x0000002D SizeRef=374,326 Split=Y Selected=0xEE087978
|
||||||
|
DockNode ID=0x00000033 Parent=0x0000002F SizeRef=394,253 Split=Y Selected=0xEE087978
|
||||||
|
DockNode ID=0x00000039 Parent=0x00000033 SizeRef=498,410 Selected=0xEE087978
|
||||||
|
DockNode ID=0x0000003A Parent=0x00000033 SizeRef=498,240 Selected=0x2DE5F58C
|
||||||
|
DockNode ID=0x00000034 Parent=0x0000002F SizeRef=394,397 Selected=0xE5057AFC
|
||||||
DockNode ID=0x00000030 Parent=0x0000002D SizeRef=374,324 Selected=0x69F9D389
|
DockNode ID=0x00000030 Parent=0x0000002D SizeRef=374,324 Selected=0x69F9D389
|
||||||
DockNode ID=0x0000002E Parent=0x00000005 SizeRef=374,411 Selected=0xFBBC1691
|
DockNode ID=0x0000002E Parent=0x00000005 SizeRef=374,411 Selected=0xFBBC1691
|
||||||
DockNode ID=0x00000006 Parent=0x00000003 SizeRef=235,805 Split=Y Selected=0x5F94F9BD
|
DockNode ID=0x00000006 Parent=0x00000003 SizeRef=235,805 Split=Y Selected=0x5F94F9BD
|
||||||
DockNode ID=0x00000009 Parent=0x00000006 SizeRef=235,453 Split=Y Selected=0x5F94F9BD
|
DockNode ID=0x00000009 Parent=0x00000006 SizeRef=235,453 Split=Y Selected=0x5F94F9BD
|
||||||
DockNode ID=0x0000001D Parent=0x00000009 SizeRef=364,766 Split=Y Selected=0x5F94F9BD
|
DockNode ID=0x0000001D Parent=0x00000009 SizeRef=364,766 Split=Y Selected=0x5F94F9BD
|
||||||
DockNode ID=0x00000021 Parent=0x0000001D SizeRef=549,696 Split=Y Selected=0x5F94F9BD
|
DockNode ID=0x00000021 Parent=0x0000001D SizeRef=549,696 Split=Y Selected=0x5F94F9BD
|
||||||
DockNode ID=0x00000027 Parent=0x00000021 SizeRef=549,793 Selected=0x5F94F9BD
|
DockNode ID=0x00000027 Parent=0x00000021 SizeRef=549,793 Split=Y Selected=0x5F94F9BD
|
||||||
|
DockNode ID=0x0000003B Parent=0x00000027 SizeRef=498,853 Selected=0x5F94F9BD
|
||||||
|
DockNode ID=0x0000003C Parent=0x00000027 SizeRef=498,628 Selected=0x083320CE
|
||||||
DockNode ID=0x00000028 Parent=0x00000021 SizeRef=549,688 Selected=0xBEC5E8CB
|
DockNode ID=0x00000028 Parent=0x00000021 SizeRef=549,688 Selected=0xBEC5E8CB
|
||||||
DockNode ID=0x00000022 Parent=0x0000001D SizeRef=549,785 Selected=0x0CE534DB
|
DockNode ID=0x00000022 Parent=0x0000001D SizeRef=549,785 Selected=0x0CE534DB
|
||||||
DockNode ID=0x0000001E Parent=0x00000009 SizeRef=364,715 Selected=0xF475F06A
|
DockNode ID=0x0000001E Parent=0x00000009 SizeRef=364,715 Selected=0xF475F06A
|
||||||
DockNode ID=0x0000000A Parent=0x00000006 SizeRef=235,350 Selected=0x80199DAE
|
DockNode ID=0x0000000A Parent=0x00000006 SizeRef=235,350 Selected=0x80199DAE
|
||||||
DockNode ID=0x00000004 Parent=0x7C6B3D9B SizeRef=3229,1161 Split=X
|
DockNode ID=0x00000004 Parent=0x7C6B3D9B SizeRef=3340,1161 Split=X
|
||||||
DockNode ID=0x00000001 Parent=0x00000004 SizeRef=1060,1161 Split=Y Selected=0x40484D8F
|
DockNode ID=0x00000001 Parent=0x00000004 SizeRef=1060,1161 Split=Y Selected=0x40484D8F
|
||||||
DockNode ID=0x00000007 Parent=0x00000001 SizeRef=595,492 Selected=0xBA13FCDE
|
DockNode ID=0x00000007 Parent=0x00000001 SizeRef=595,492 Selected=0xBA13FCDE
|
||||||
DockNode ID=0x00000008 Parent=0x00000001 SizeRef=595,1643 Split=X Selected=0x40484D8F
|
DockNode ID=0x00000008 Parent=0x00000001 SizeRef=595,1643 Split=X Selected=0x40484D8F
|
||||||
DockNode ID=0x0000000F Parent=0x00000008 SizeRef=942,2137 Split=Y Selected=0x07E8375F
|
DockNode ID=0x0000000F Parent=0x00000008 SizeRef=1819,2137 Split=Y Selected=0x07E8375F
|
||||||
DockNode ID=0x00000011 Parent=0x0000000F SizeRef=835,425 Selected=0x72F373AE
|
DockNode ID=0x00000011 Parent=0x0000000F SizeRef=835,425 Selected=0x72F373AE
|
||||||
DockNode ID=0x00000012 Parent=0x0000000F SizeRef=835,1710 Selected=0x73845A9B
|
DockNode ID=0x00000012 Parent=0x0000000F SizeRef=835,1710 Split=X Selected=0xC6DC3F21
|
||||||
DockNode ID=0x00000010 Parent=0x00000008 SizeRef=2520,2137 Split=Y Selected=0xCE7F911A
|
DockNode ID=0x00000037 Parent=0x00000012 SizeRef=858,2137 Selected=0xC6DC3F21
|
||||||
|
DockNode ID=0x00000038 Parent=0x00000012 SizeRef=959,2137 Selected=0x0B8F7C1B
|
||||||
|
DockNode ID=0x00000010 Parent=0x00000008 SizeRef=1519,2137 Split=Y Selected=0xCE7F911A
|
||||||
DockNode ID=0x00000013 Parent=0x00000010 SizeRef=1967,1690 Split=X Selected=0xCE7F911A
|
DockNode ID=0x00000013 Parent=0x00000010 SizeRef=1967,1690 Split=X Selected=0xCE7F911A
|
||||||
DockNode ID=0x00000017 Parent=0x00000013 SizeRef=1314,1749 Selected=0x4B454E0B
|
DockNode ID=0x00000017 Parent=0x00000013 SizeRef=1314,1749 Selected=0x4B454E0B
|
||||||
DockNode ID=0x00000018 Parent=0x00000013 SizeRef=1309,1749 Split=Y Selected=0x88A8C2FF
|
DockNode ID=0x00000018 Parent=0x00000013 SizeRef=1309,1749 Split=Y Selected=0x88A8C2FF
|
||||||
DockNode ID=0x00000019 Parent=0x00000018 SizeRef=2440,1412 Split=X Selected=0x88A8C2FF
|
DockNode ID=0x00000019 Parent=0x00000018 SizeRef=2440,1412 Split=X Selected=0x88A8C2FF
|
||||||
DockNode ID=0x00000023 Parent=0x00000019 SizeRef=1888,737 Split=Y Selected=0x4F935A1E
|
DockNode ID=0x00000023 Parent=0x00000019 SizeRef=2009,737 Split=Y Selected=0x4F935A1E
|
||||||
DockNode ID=0x0000001F Parent=0x00000023 SizeRef=2315,1191 Split=Y Selected=0x4F935A1E
|
DockNode ID=0x00000025 Parent=0x00000023 SizeRef=2315,1244 Split=X Selected=0x4F935A1E
|
||||||
DockNode ID=0x00000025 Parent=0x0000001F SizeRef=2315,1244 Split=X Selected=0x4F935A1E
|
|
||||||
DockNode ID=0x00000029 Parent=0x00000025 SizeRef=853,1867 Split=X Selected=0xFDB3860E
|
DockNode ID=0x00000029 Parent=0x00000025 SizeRef=853,1867 Split=X Selected=0xFDB3860E
|
||||||
DockNode ID=0x00000031 Parent=0x00000029 SizeRef=699,2137 Selected=0xC56063F4
|
DockNode ID=0x00000031 Parent=0x00000029 SizeRef=1055,2137 Selected=0x4C2F06CB
|
||||||
DockNode ID=0x00000032 Parent=0x00000029 SizeRef=1187,2137 CentralNode=1 Selected=0xFDB3860E
|
DockNode ID=0x00000032 Parent=0x00000029 SizeRef=1536,2137 Split=Y Selected=0x0D80EC84
|
||||||
|
DockNode ID=0x00000035 Parent=0x00000032 SizeRef=2500,1158 Selected=0xF1D4CD4A
|
||||||
|
DockNode ID=0x00000036 Parent=0x00000032 SizeRef=2500,977 Split=Y Selected=0xF5102835
|
||||||
|
DockNode ID=0x0000001F Parent=0x00000036 SizeRef=1325,1069 CentralNode=1 Selected=0x0D80EC84
|
||||||
|
DockNode ID=0x00000020 Parent=0x00000036 SizeRef=1325,1066 Selected=0xC56063F4
|
||||||
DockNode ID=0x0000002A Parent=0x00000025 SizeRef=890,1867 Selected=0x40484D8F
|
DockNode ID=0x0000002A Parent=0x00000025 SizeRef=890,1867 Selected=0x40484D8F
|
||||||
DockNode ID=0x00000026 Parent=0x0000001F SizeRef=2315,621 Selected=0x7D28643F
|
DockNode ID=0x00000026 Parent=0x00000023 SizeRef=2315,621 Selected=0x7D28643F
|
||||||
DockNode ID=0x00000020 Parent=0x00000023 SizeRef=2315,944 Selected=0x4C2F06CB
|
DockNode ID=0x00000024 Parent=0x00000019 SizeRef=1433,737 Split=Y Selected=0xB8D8893E
|
||||||
DockNode ID=0x00000024 Parent=0x00000019 SizeRef=1339,737 Split=Y Selected=0xB8D8893E
|
DockNode ID=0x0000002B Parent=0x00000024 SizeRef=1153,968 Selected=0xB8D8893E
|
||||||
DockNode ID=0x0000002B Parent=0x00000024 SizeRef=1153,1331 Selected=0xB8D8893E
|
DockNode ID=0x0000002C Parent=0x00000024 SizeRef=1153,1167 Selected=0xCCB4E4FA
|
||||||
DockNode ID=0x0000002C Parent=0x00000024 SizeRef=1153,804 Selected=0xCCB4E4FA
|
|
||||||
DockNode ID=0x0000001A Parent=0x00000018 SizeRef=2440,723 Selected=0x3A881EEF
|
DockNode ID=0x0000001A Parent=0x00000018 SizeRef=2440,723 Selected=0x3A881EEF
|
||||||
DockNode ID=0x00000014 Parent=0x00000010 SizeRef=1967,445 Selected=0xC36FF36B
|
DockNode ID=0x00000014 Parent=0x00000010 SizeRef=1967,445 Selected=0xC36FF36B
|
||||||
DockNode ID=0x00000002 Parent=0x00000004 SizeRef=2227,1161 Split=X Selected=0x714F2F7B
|
DockNode ID=0x00000002 Parent=0x00000004 SizeRef=2227,1161 Split=X Selected=0x714F2F7B
|
||||||
|
|||||||
@@ -0,0 +1,59 @@
|
|||||||
|
[project]
|
||||||
|
name = "manual_slop"
|
||||||
|
git_dir = "C:/projects/manual_slop"
|
||||||
|
|
||||||
|
[output]
|
||||||
|
namespace = "manual_slop"
|
||||||
|
output_dir = "./md_gen"
|
||||||
|
|
||||||
|
[files]
|
||||||
|
base_dir = "C:/projects/manual_slop"
|
||||||
|
paths = [
|
||||||
|
"config.toml",
|
||||||
|
"ai_client.py",
|
||||||
|
"aggregate.py",
|
||||||
|
"gemini.py",
|
||||||
|
"gui.py",
|
||||||
|
"pyproject.toml",
|
||||||
|
"MainContext.md",
|
||||||
|
"C:/projects/manual_slop/shell_runner.py",
|
||||||
|
"C:/projects/manual_slop/session_logger.py",
|
||||||
|
"C:/projects/manual_slop/file_cache.py",
|
||||||
|
"C:/projects/manual_slop/theme.py",
|
||||||
|
"C:/projects/manual_slop/project_manager.py",
|
||||||
|
"C:/projects/manual_slop/manual_slop.toml",
|
||||||
|
]
|
||||||
|
|
||||||
|
[screenshots]
|
||||||
|
base_dir = "C:/Users/Ed/scoop/apps/sharex/current/ShareX/Screenshots/2026-02"
|
||||||
|
paths = []
|
||||||
|
|
||||||
|
[discussion]
|
||||||
|
roles = [
|
||||||
|
"User",
|
||||||
|
"AI",
|
||||||
|
"Vendor API",
|
||||||
|
"System",
|
||||||
|
]
|
||||||
|
active = "main"
|
||||||
|
|
||||||
|
[discussion.discussions.main]
|
||||||
|
git_commit = ""
|
||||||
|
last_updated = "2026-02-21T19:26:54"
|
||||||
|
history = [
|
||||||
|
"AI:\nGood. Now I'll patch `gui.py` — adding the Theme window and wiring it up. I'll make targeted insertions rather than a full rewrite:\n\n1. Add `import theme` at the top\n2. Add `_build_theme_window()` and its callbacks to `App`\n3. Call `theme.load_from_config()` at startup (in `run()`)\n4. Call `theme.save_to_config()` in `_flush_to_config()`\n5. Add `win_theme` to `_build_ui()`",
|
||||||
|
"User:\nSure lets patch gui.py.",
|
||||||
|
"AI:\nGood. Now I have a clear picture. I'll do the full patch in one Python script to avoid PowerShell string escaping issues:\n(Finished the job)",
|
||||||
|
"User:\nOk so the implementation works but when switching fonts it tends to crash (FiraCode, MapleMono, etc).",
|
||||||
|
"AI:\nThe em-dash in the docstring differs. Let me match by a more robust regex:",
|
||||||
|
"User:\nOk it seems fixed now... (themeing for fonts, nice job). \nNow lets do those adjustments to discussion history:\nIt'd also be nice if we can collapse the discussion entries indvidual and with a collapse/expand all button.\nAlso there is no way right now for me to define new roles for the discussion other than by editing the source.\nShould at least be configurable frm the config.toml...",
|
||||||
|
"AI:\nGood, I have a clear picture. Here's the plan:\n\n**Changes needed:**\n1. **`config.toml`** — add `[discussion] roles = [...]` so roles are configurable\n2. **`gui.py`** — 4 targeted edits:\n - `DISC_ROLES` becomes a module-level fallback; the real list comes from config at load time and lives on `App`\n - `_parse_history_entries()` takes `roles` as a parameter\n - `_rebuild_disc_list()` — add collapse/expand per entry (using a `bool` `collapsed` flag in each dict), Collapse All / Expand All buttons in the toolbar\n - Add a \"Roles\" sub-section in the Discussion window for adding/removing role names from the config list, and wire it into `_flush_to_config()`\n\nI'll do this as a Python patch script to avoid PowerShell string escaping issues:",
|
||||||
|
"User:\nSure, go ahead and make to those change patches and apply them.",
|
||||||
|
"AI:\nAll 16 checks pass. Now update `MainContext.md` and clean up the patch file:\n(Note from user: the AI did so!)",
|
||||||
|
"User:\nLets add multiple project support. currently this project would be the \"manual_slop\" project. \nI need to make a separate \"manual_slop.toml\" for this and offload things that would be within a per project to it.\nI also want to have several discussion histories that I can label. \nThis would allow me to stash and continue separate effort's histories..\nIt would be important if these discussions saved the last git commit they were on. (I'll need a buton to manually update it).\nAnd timestamps on each discussion entry to give an idea of the duration involved and \nhow the project has evolved since the discussion stream's effort was last done.\nBasically preserve context so ai can use that as valuable information in its working memory.\n\nTo load a project I'll need to hoist it into the config by providing the path.\nMaybe allow multiple project tomls to be specified path wise in the array.",
|
||||||
|
"AI:\nAnnotated by user:\nNo response from AI, taking sceenshot of scripts run... and directory's state",
|
||||||
|
"User:\nHey it seems like you were not done want to continue?\n",
|
||||||
|
"AI:\nDid work, No response from AI (this is an annotated entry by the user), made project_manager.py, adding it to md context.",
|
||||||
|
"User:\ncontinue. You made a file but no changes have been made yet to gui.py. Still in progress to add all the multiple project support wishlist from user message earlier.",
|
||||||
|
"AI:\nNo response yet again maybe the response box is broken (User annotated)",
|
||||||
|
]
|
||||||
@@ -0,0 +1,128 @@
|
|||||||
|
# project_manager.py
|
||||||
|
import subprocess, datetime, tomllib, tomli_w, re
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
|
TS_FMT = "%Y-%m-%dT%H:%M:%S"
|
||||||
|
|
||||||
|
def now_ts() -> str:
|
||||||
|
return datetime.datetime.now().strftime(TS_FMT)
|
||||||
|
|
||||||
|
def parse_ts(s: str):
|
||||||
|
try: return datetime.datetime.strptime(s, TS_FMT)
|
||||||
|
except: return None
|
||||||
|
|
||||||
|
# ── entry serialisation ───────────────────────────────────────────────────────
|
||||||
|
|
||||||
|
def entry_to_str(entry: dict) -> str:
|
||||||
|
"""Serialise a disc entry dict -> stored string. Always uses real newlines."""
|
||||||
|
ts = entry.get("ts", "")
|
||||||
|
role = entry.get("role", "User")
|
||||||
|
content = entry.get("content", "")
|
||||||
|
if ts:
|
||||||
|
return f"@{ts}\n{role}:\n{content}"
|
||||||
|
return f"{role}:\n{content}"
|
||||||
|
|
||||||
|
def str_to_entry(raw: str, roles: list[str]) -> dict:
|
||||||
|
"""Parse a stored string back to a disc entry dict."""
|
||||||
|
ts = ""
|
||||||
|
rest = raw
|
||||||
|
# Strip optional leading @timestamp line
|
||||||
|
if rest.startswith("@"):
|
||||||
|
nl = rest.find("\n")
|
||||||
|
if nl != -1:
|
||||||
|
ts = rest[1:nl]
|
||||||
|
rest = rest[nl + 1:]
|
||||||
|
known = roles or ["User", "AI", "Vendor API", "System"]
|
||||||
|
role_pat = re.compile(
|
||||||
|
r"^(?:\[)?(" + "|".join(re.escape(r) for r in known) + r")(?:\])?:?\s*$",
|
||||||
|
re.IGNORECASE,
|
||||||
|
)
|
||||||
|
parts = rest.split("\n", 1)
|
||||||
|
matched_role = "User"
|
||||||
|
content = rest.strip()
|
||||||
|
if parts:
|
||||||
|
m = role_pat.match(parts[0].strip())
|
||||||
|
if m:
|
||||||
|
raw_role = m.group(1)
|
||||||
|
matched_role = next((r for r in known if r.lower() == raw_role.lower()), raw_role)
|
||||||
|
content = parts[1].strip() if len(parts) > 1 else ""
|
||||||
|
return {"role": matched_role, "content": content, "collapsed": False, "ts": ts}
|
||||||
|
|
||||||
|
# ── git helpers ───────────────────────────────────────────────────────────────
|
||||||
|
|
||||||
|
def get_git_commit(git_dir: str) -> str:
|
||||||
|
try:
|
||||||
|
r = subprocess.run(["git", "rev-parse", "HEAD"],
|
||||||
|
capture_output=True, text=True, cwd=git_dir, timeout=5)
|
||||||
|
return r.stdout.strip() if r.returncode == 0 else ""
|
||||||
|
except Exception:
|
||||||
|
return ""
|
||||||
|
|
||||||
|
def get_git_log(git_dir: str, n: int = 5) -> str:
|
||||||
|
try:
|
||||||
|
r = subprocess.run(["git", "log", "--oneline", f"-{n}"],
|
||||||
|
capture_output=True, text=True, cwd=git_dir, timeout=5)
|
||||||
|
return r.stdout.strip() if r.returncode == 0 else ""
|
||||||
|
except Exception:
|
||||||
|
return ""
|
||||||
|
|
||||||
|
# ── default structures ────────────────────────────────────────────────────────
|
||||||
|
|
||||||
|
def default_discussion() -> dict:
|
||||||
|
return {"git_commit": "", "last_updated": now_ts(), "history": []}
|
||||||
|
|
||||||
|
def default_project(name: str = "unnamed") -> dict:
|
||||||
|
return {
|
||||||
|
"project": {"name": name, "git_dir": ""},
|
||||||
|
"output": {"namespace": name, "output_dir": "./md_gen"},
|
||||||
|
"files": {"base_dir": ".", "paths": []},
|
||||||
|
"screenshots": {"base_dir": ".", "paths": []},
|
||||||
|
"discussion": {
|
||||||
|
"roles": ["User", "AI", "Vendor API", "System"],
|
||||||
|
"active": "main",
|
||||||
|
"discussions": {"main": default_discussion()},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
# ── load / save ───────────────────────────────────────────────────────────────
|
||||||
|
|
||||||
|
def load_project(path) -> dict:
|
||||||
|
with open(path, "rb") as f:
|
||||||
|
return tomllib.load(f)
|
||||||
|
|
||||||
|
def save_project(proj: dict, path):
|
||||||
|
with open(path, "wb") as f:
|
||||||
|
tomli_w.dump(proj, f)
|
||||||
|
|
||||||
|
# ── migration helper ─────────────────────────────────────────────────────────
|
||||||
|
|
||||||
|
def migrate_from_legacy_config(cfg: dict) -> dict:
|
||||||
|
"""Build a fresh project dict from a legacy flat config.toml. Does NOT save."""
|
||||||
|
name = cfg.get("output", {}).get("namespace", "project")
|
||||||
|
proj = default_project(name)
|
||||||
|
for key in ("output", "files", "screenshots"):
|
||||||
|
if key in cfg:
|
||||||
|
proj[key] = dict(cfg[key])
|
||||||
|
disc = cfg.get("discussion", {})
|
||||||
|
proj["discussion"]["roles"] = disc.get("roles", ["User", "AI", "Vendor API", "System"])
|
||||||
|
main = proj["discussion"]["discussions"]["main"]
|
||||||
|
main["history"] = disc.get("history", [])
|
||||||
|
main["last_updated"] = now_ts()
|
||||||
|
return proj
|
||||||
|
|
||||||
|
# ── flat config for aggregate.run() ─────────────────────────────────────────
|
||||||
|
|
||||||
|
def flat_config(proj: dict, disc_name: str | None = None) -> dict:
|
||||||
|
"""Return a flat config dict compatible with aggregate.run()."""
|
||||||
|
disc_sec = proj.get("discussion", {})
|
||||||
|
name = disc_name or disc_sec.get("active", "main")
|
||||||
|
disc_data = disc_sec.get("discussions", {}).get(name, {})
|
||||||
|
return {
|
||||||
|
"output": proj.get("output", {}),
|
||||||
|
"files": proj.get("files", {}),
|
||||||
|
"screenshots": proj.get("screenshots", {}),
|
||||||
|
"discussion": {
|
||||||
|
"roles": disc_sec.get("roles", []),
|
||||||
|
"history": disc_data.get("history", []),
|
||||||
|
},
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user