M12: Browser Extension - Chrome/Edge Manifest V3 extension - Popup UI for saving pages - Context menu integration (save page/selection/link) - Background service worker - Content script for extraction M13: Shell Completions - Bash, Zsh, Fish, PowerShell completions - Dynamic node ID completion - Dynamic tag completion - Dynamic graph completion - Auto-install command (--install)
56 lines
1.3 KiB
HTML
56 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<link rel="stylesheet" href="popup.css">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<h1>Save to Cortex</h1>
|
|
|
|
<div id="status" class="status"></div>
|
|
|
|
<div class="field">
|
|
<label for="title">Title</label>
|
|
<input type="text" id="title" placeholder="Page title">
|
|
</div>
|
|
|
|
<div class="field">
|
|
<label for="kind">Kind</label>
|
|
<select id="kind">
|
|
<option value="memory">Memory</option>
|
|
<option value="component">Component</option>
|
|
<option value="decision">Decision</option>
|
|
<option value="task">Task</option>
|
|
</select>
|
|
</div>
|
|
|
|
<div class="field">
|
|
<label for="tags">Tags</label>
|
|
<input type="text" id="tags" placeholder="comma, separated, tags">
|
|
</div>
|
|
|
|
<div class="field checkbox">
|
|
<label>
|
|
<input type="checkbox" id="includeContent" checked>
|
|
Include page content
|
|
</label>
|
|
</div>
|
|
|
|
<div class="field checkbox">
|
|
<label>
|
|
<input type="checkbox" id="selectionOnly">
|
|
Selection only
|
|
</label>
|
|
</div>
|
|
|
|
<div class="actions">
|
|
<button id="save" class="primary">Save</button>
|
|
<button id="cancel">Cancel</button>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="popup.js"></script>
|
|
</body>
|
|
</html>
|