Skip to content

feat: new export / import via base64 data format#319

Draft
FFengIll wants to merge 12 commits intomainfrom
feat/export
Draft

feat: new export / import via base64 data format#319
FFengIll wants to merge 12 commits intomainfrom
feat/export

Conversation

@FFengIll
Copy link
Contributor

@FFengIll FFengIll commented Feb 9, 2026

No description provided.

@FFengIll FFengIll changed the title feat: new export / import via base64 data. feat: new export / import via base64 data format Feb 9, 2026
@FFengIll FFengIll marked this pull request as draft February 9, 2026 13:28
FFengIll and others added 12 commits February 10, 2026 19:02
- Add internal/export package with JSONL and Base64 format exporters
- Add internal/dataimport package with auto-detection and format-specific importers
- Add ExportRule() method to AppManager for unified export API
- Update ImportRule() to support format auto-detection
- Add CLI export command with --format flag (jsonl|base64)
- Update CLI import command to support --format flag and auto-detection

Base64 format: TGB64:1.0:<base64_encoded_jsonl>
- Enables easy copy-paste sharing of configurations
- Maintains backward compatibility with JSONL format
- Auto-detects format from input data prefix

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…at support

- Add export command to CLI with --format and --output flags
- Update import command to support --format flag (auto|jsonl|base64)
- Add format auto-detection from input data (TGB64: prefix)
- Update command documentation with Base64 examples

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add ExportFormat type (jsonl|base64) to utils
- Add exportRuleAsBase64ToClipboard() for copy-paste functionality
- Add encodeBase64Export() and decodeBase64Export() utilities
- Update useRuleExport hook to support format parameter
- Add export submenu to GraphSettingsMenu with options:
  - Download as JSONL
  - Download as Base64
  - Copy Base64 to Clipboard
- Update RuleCard to use new export handlers

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add comprehensive specification for Base64 format support including:
- Format design (TGB64:1.0:<base64_payload>)
- Module structure and interfaces
- Implementation phases
- Testing requirements

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments