@pheem49/mint 1.8.2 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Cargo.lock +55 -3
- package/Cargo.toml +2 -1
- package/Release_Note.md +297 -107
- package/bin/mint +0 -0
- package/crates/mint-cli/Cargo.toml +1 -0
- package/crates/mint-cli/src/actions.rs +233 -0
- package/crates/mint-cli/src/agent.rs +382 -127
- package/crates/mint-cli/src/gmail.rs +22 -2
- package/crates/mint-cli/src/image.rs +8 -8
- package/crates/mint-cli/src/interactive.rs +2888 -0
- package/crates/mint-cli/src/main.rs +391 -2506
- package/crates/mint-cli/src/markdown.rs +294 -0
- package/crates/mint-cli/src/onboard.rs +152 -109
- package/crates/mint-cli/src/setup.rs +143 -143
- package/crates/mint-cli/src/updater.rs +48 -6
- package/crates/mint-core/Cargo.toml +1 -0
- package/crates/mint-core/src/agent_loop.rs +1 -0
- package/crates/mint-core/src/api_server.rs +431 -65
- package/crates/mint-core/src/browser.rs +630 -102
- package/crates/mint-core/src/channels.rs +105 -6
- package/crates/mint-core/src/chat.rs +174 -11
- package/crates/mint-core/src/code_tools.rs +47 -31
- package/crates/mint-core/src/config.rs +302 -17
- package/crates/mint-core/src/image_gen.rs +299 -38
- package/crates/mint-core/src/lib.rs +10 -7
- package/crates/mint-core/src/mcp.rs +119 -6
- package/crates/mint-core/src/memory.rs +6 -1
- package/crates/mint-core/src/orchestration.rs +237 -96
- package/crates/mint-core/src/pictures.rs +67 -5
- package/crates/mint-core/src/semantic.rs +1 -1
- package/crates/mint-core/src/shell.rs +1 -1
- package/crates/mint-core/src/skills.rs +128 -25
- package/crates/mint-core/src/video_gen.rs +235 -0
- package/package.json +8 -2
- package/shared-modules/linux-audio/fluidsynth2-static.json +9 -3
- package/shared-modules/linux-audio/fluidsynth2.json +8 -2
- package/shared-modules/linux-audio/lilv.json +26 -19
- package/shared-modules/linux-audio/lv2.json +0 -1
- package/shared-modules/luajit/luajit.json +2 -2
- package/skills-lock.json +41 -0
- package/src/renderer/index-web.html +1 -1
- package/src/renderer/index.html +1 -1
- package/src/renderer/shared/components/AgentActivityTable.tsx +25 -6
- package/src/renderer/shared/constants/slashCommands.ts +27 -0
- package/src/renderer/shared/platform.ts +3 -0
- package/src/renderer/shared/types.ts +4 -0
- package/src/renderer/shared/utils/approval.tsx +86 -7
- package/src/renderer/shared/utils/fileIcons.ts +135 -0
- package/src/renderer/shared/utils/markdown.tsx +217 -88
- package/src/renderer/shared/utils/slashCommandProcessor.ts +239 -0
- package/src/renderer/src/components/ChatPanel.tsx +486 -69
- package/src/renderer/src/components/DashboardSidebar.tsx +11 -2
- package/src/renderer/src/components/ImageStudioPanel.tsx +87 -4
- package/src/renderer/src/components/MintDashboard.tsx +195 -7
- package/src/renderer/src/components/PicturesLibrary.tsx +156 -15
- package/src/renderer/src/components/Settings/AgentsTab.tsx +21 -2
- package/src/renderer/src/components/Settings/AutomationTab.tsx +316 -18
- package/src/renderer/src/components/Settings/GeneralTab.tsx +795 -413
- package/src/renderer/src/components/Settings/PluginsTab.tsx +304 -70
- package/src/renderer/src/components/Settings/ThemeTab.tsx +6 -1
- package/src/renderer/src/components/SettingsWindow.tsx +106 -3
- package/src/renderer/src/components/VeoStudioPanel.tsx +549 -0
- package/src/renderer/src/components/WorkspacePanel.tsx +7 -125
- package/src/renderer/src/css/image-studio.css +106 -0
- package/src/renderer/src/css/settings.css +158 -0
- package/src/renderer/src/css/styles.css +368 -1
- package/src/renderer/src/css/veo-studio.css +626 -0
- package/src/renderer/src/index.css +1 -0
- package/src/renderer/src/tauri.ts +144 -17
- package/src/renderer/src-web/components/ChatPanel.tsx +385 -93
- package/src/renderer/src-web/components/DashboardSidebar.tsx +16 -1
- package/src/renderer/src-web/components/ImageStudioPanel.tsx +87 -4
- package/src/renderer/src-web/components/MintDashboard.tsx +156 -5
- package/src/renderer/src-web/components/PicturesLibrary.tsx +155 -15
- package/src/renderer/src-web/components/Settings/AgentsTab.tsx +21 -2
- package/src/renderer/src-web/components/Settings/AutomationTab.tsx +316 -18
- package/src/renderer/src-web/components/Settings/GeneralTab.tsx +795 -411
- package/src/renderer/src-web/components/Settings/PluginsTab.tsx +304 -70
- package/src/renderer/src-web/components/Settings/ThemeTab.tsx +6 -1
- package/src/renderer/src-web/components/SettingsWindow.tsx +110 -3
- package/src/renderer/src-web/components/VeoStudioPanel.tsx +549 -0
- package/src/renderer/src-web/css/image-studio.css +106 -0
- package/src/renderer/src-web/css/settings.css +158 -0
- package/src/renderer/src-web/css/styles.css +369 -1
- package/src/renderer/src-web/css/veo-studio.css +650 -0
- package/src/renderer/src-web/index.css +1 -0
- package/src/renderer/src-web/tauri.ts +135 -16
- package/src-tauri/src/desktop.rs +18 -16
- package/src-tauri/src/discord_rpc.rs +1 -1
- package/src-tauri/src/lib.rs +155 -25
- package/src-tauri/src/webhooks.rs +45 -31
- package/src-tauri/src/workflows.rs +1 -0
- package/src-tauri/tauri.conf.json +1 -1
- package/temp_gridgeist/AGENTS.md +8 -0
- package/temp_gridgeist/CHANGELOG.md +130 -0
- package/temp_gridgeist/LICENSE +21 -0
- package/temp_gridgeist/README.md +323 -0
- package/temp_gridgeist/README.th.md +325 -0
- package/temp_gridgeist/skills/gridgeist/SKILL.md +88 -0
- package/temp_gridgeist/skills/gridgeist/agents/openai.yaml +9 -0
- package/temp_gridgeist/skills/gridgeist/assets/gridgeist-small.svg +10 -0
- package/temp_gridgeist/skills/gridgeist/assets/gridgeist.png +0 -0
- package/temp_gridgeist/skills/gridgeist/assets/gridgeist.svg +18 -0
- package/temp_gridgeist/skills/gridgeist/references/design-language.md +88 -0
- package/temp_gridgeist/skills/gridgeist/references/review-checklist.md +128 -0
- package/temp_gridgeist/skills/gridgeist/references/system-contract.md +109 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# Gridgeist Review Checklist
|
|
2
|
+
|
|
3
|
+
Use this checklist after implementation or for a review-only request. Report only meaningful findings and distinguish observed evidence from inference.
|
|
4
|
+
|
|
5
|
+
## 1. Product clarity and truth
|
|
6
|
+
|
|
7
|
+
- Can a first-time user identify the product, audience, primary task, and next action quickly?
|
|
8
|
+
- Does each section or workflow stage answer a distinct question?
|
|
9
|
+
- Is copy specific rather than interchangeable SaaS language?
|
|
10
|
+
- Are authentic product evidence and outcomes visible?
|
|
11
|
+
- Are sample, fictional, estimated, or unverified claims labeled honestly?
|
|
12
|
+
|
|
13
|
+
## 2. Brand fidelity and direction
|
|
14
|
+
|
|
15
|
+
- Does the interface preserve recognizable voice, imagery, geometry, palette, and interaction character?
|
|
16
|
+
- Was a brand-derived direction supported by converging visual implementation,
|
|
17
|
+
assets, or documented conventions rather than product content alone?
|
|
18
|
+
- If a broad replacement direction was provisional, did implementation wait for
|
|
19
|
+
the user to choose or authorize the recommendation?
|
|
20
|
+
- Does the visual thesis fit the audience and task rather than merely looking fashionable?
|
|
21
|
+
- Is the grid visible, quiet, or invisible for a clear reason?
|
|
22
|
+
- Would the product remain recognizable after removing generic technical chrome?
|
|
23
|
+
|
|
24
|
+
## 3. Composition and hierarchy
|
|
25
|
+
|
|
26
|
+
- Is there one clear dominant element in each viewport or workflow stage?
|
|
27
|
+
- Do related elements share alignment and proximity?
|
|
28
|
+
- Does the page alternate density and breathing room intentionally?
|
|
29
|
+
- Do sections vary without losing shared structural logic?
|
|
30
|
+
- Are rules, overlap, asymmetry, or empty space explaining structure rather than adding noise?
|
|
31
|
+
|
|
32
|
+
## 4. Color and theming
|
|
33
|
+
|
|
34
|
+
- Do foundation, semantic, and component colors have distinct roles rather than
|
|
35
|
+
accumulating one-off values?
|
|
36
|
+
- Are foreground/background pairs, borders, focus, destructive actions, and status
|
|
37
|
+
colors mapped consistently across applicable themes and states?
|
|
38
|
+
- Do hover, active, selected, disabled, loading, success, warning, and error
|
|
39
|
+
relationships remain coherent without relying on color alone?
|
|
40
|
+
- Are light, dark, forced-color, or user-defined themes handled when the product
|
|
41
|
+
supports them, without undocumented component exceptions?
|
|
42
|
+
- Does rendered contrast support hierarchy and readability rather than merely
|
|
43
|
+
passing a token-level calculation?
|
|
44
|
+
|
|
45
|
+
## 5. Typography, spacing, and geometry
|
|
46
|
+
|
|
47
|
+
- Are type roles limited, consistent, and appropriate to the brand?
|
|
48
|
+
- Is body text comfortable to read at the rendered width?
|
|
49
|
+
- Do headings wrap deliberately at common breakpoints?
|
|
50
|
+
- Are gaps drawn from a coherent token scale?
|
|
51
|
+
- Are radius, border, shadow, crop, and aspect-ratio choices systematic?
|
|
52
|
+
- Are optical misalignments corrected where mathematical alignment looks wrong?
|
|
53
|
+
|
|
54
|
+
## 6. Component system
|
|
55
|
+
|
|
56
|
+
- Do related components share intentional anatomy, tokens, variants, size or
|
|
57
|
+
density rules, and state behavior?
|
|
58
|
+
- Are variants named from product purpose rather than isolated visual treatments?
|
|
59
|
+
- Do reusable components preserve behavior with long labels, localization, missing
|
|
60
|
+
media, dynamic data, and loading or error content?
|
|
61
|
+
- Are near-duplicate components or magic values symptoms of a missing shared rule?
|
|
62
|
+
- Are intentional local exceptions documented by product, content, or interaction
|
|
63
|
+
need instead of convenience?
|
|
64
|
+
- Do component APIs and composition rules preserve semantics, focus, touch, and
|
|
65
|
+
recovery behavior?
|
|
66
|
+
|
|
67
|
+
## 7. Responsive behavior
|
|
68
|
+
|
|
69
|
+
Inspect project-defined widths or, when absent, approximately 360, 768, 1280, and 1600 px.
|
|
70
|
+
|
|
71
|
+
- Does content and control order still match priority?
|
|
72
|
+
- Do navigation and controls remain usable by touch and keyboard?
|
|
73
|
+
- Are grids and narratives recomposed instead of squeezed or blindly stacked?
|
|
74
|
+
- Are code, tables, artwork, canvas, and media handled without unintended overflow?
|
|
75
|
+
- Do long translated labels, language expansion, zoom, dynamic content, document and in-content language/direction, logical order and properties, and locale-aware dates and numbers remain resilient across LTR and RTL?
|
|
76
|
+
- Do reusable components adapt to narrow and wide containers when viewport-only breakpoints are insufficient? Use container queries only when they fit project conventions and browser support.
|
|
77
|
+
|
|
78
|
+
## 8. Interaction states and recovery
|
|
79
|
+
|
|
80
|
+
- Inventory default, hover, focus, active, selected, disabled, loading, empty, error, success, and destructive states when applicable.
|
|
81
|
+
- Does the primary task remain clear in every important state?
|
|
82
|
+
- Do errors explain recovery without destroying valid input?
|
|
83
|
+
- Are destructive actions confirmed or reversible in proportion to risk?
|
|
84
|
+
- Do overlays close with Escape and restore focus correctly?
|
|
85
|
+
- Do pointer, touch, keyboard, and resize behavior preserve the same underlying task?
|
|
86
|
+
|
|
87
|
+
## 9. Accessibility and constraints
|
|
88
|
+
|
|
89
|
+
- Use semantic landmarks, headings, buttons, links, labels, and lists.
|
|
90
|
+
- Verify keyboard order, visible and unobscured focus, accessible names, contrast, and non-color state cues around sticky regions, overlays, and scroll containers.
|
|
91
|
+
- Check applicable target-size and spacing requirements, provide a single-pointer alternative for nonessential dragging, and ensure boundaries and state cues survive forced-colors or user-defined high-contrast palettes.
|
|
92
|
+
- Provide useful alternative text or mark decorative visuals appropriately.
|
|
93
|
+
- Respect reduced motion without removing essential feedback.
|
|
94
|
+
- Preserve privacy, safety, data, and platform constraints.
|
|
95
|
+
- Do not turn automated checks into claims of usability, compliance, safety, or user research.
|
|
96
|
+
|
|
97
|
+
## 10. Implementation quality
|
|
98
|
+
|
|
99
|
+
- Follow existing component and styling conventions.
|
|
100
|
+
- Reuse real tokens rather than duplicating magic values.
|
|
101
|
+
- Keep components focused and avoid premature abstraction.
|
|
102
|
+
- Avoid unnecessary dependencies and layout-specific JavaScript.
|
|
103
|
+
- Reserve media geometry and inspect font, image, and dynamic-content loading for unintended layout shift; when performance is in scope, measure relevant LCP, INP, and CLS evidence and distinguish local or lab observations from field results.
|
|
104
|
+
- Run the relevant formatter, typecheck, lint, tests, and build.
|
|
105
|
+
- Inspect the rendered result after automated checks pass.
|
|
106
|
+
|
|
107
|
+
## 11. Verification evidence
|
|
108
|
+
|
|
109
|
+
Record:
|
|
110
|
+
|
|
111
|
+
- Viewports and themes actually rendered.
|
|
112
|
+
- Primary flows, input methods, and states actually exercised.
|
|
113
|
+
- Automated commands run and their results.
|
|
114
|
+
- Visual, interaction, accessibility, or content issues observed and corrected.
|
|
115
|
+
- Remaining gaps, assumptions, and checks requiring real users or domain experts.
|
|
116
|
+
|
|
117
|
+
Never write “verified,” “accessible,” “safe,” or “compliant” when only code inspection or automated checks support the claim.
|
|
118
|
+
|
|
119
|
+
## Prioritizing findings
|
|
120
|
+
|
|
121
|
+
| Priority | Meaning |
|
|
122
|
+
|---|---|
|
|
123
|
+
| Critical | Blocks use, comprehension, accessibility, or core responsive behavior |
|
|
124
|
+
| High | Damages hierarchy, brand trust, or a primary workflow |
|
|
125
|
+
| Medium | Creates inconsistency or friction but has a clear workaround |
|
|
126
|
+
| Low | Polish improvement with limited user impact |
|
|
127
|
+
|
|
128
|
+
For each finding, state the location, evidence, impact, and smallest coherent correction. Group repeated symptoms under one system-level cause.
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# Gridgeist System Contract
|
|
2
|
+
|
|
3
|
+
Use this reference when Create or Redesign work introduces or changes visual-system
|
|
4
|
+
decisions. Apply it proportionally: a narrow repair may need only the affected
|
|
5
|
+
tokens, component, and states; a greenfield or multi-surface interface needs a
|
|
6
|
+
broader contract.
|
|
7
|
+
|
|
8
|
+
## Reconcile sources before defining values
|
|
9
|
+
|
|
10
|
+
Inspect the sources that actually exist:
|
|
11
|
+
|
|
12
|
+
- explicit user constraints and the selected or aligned direction;
|
|
13
|
+
- established visual implementation, brand assets, and documented brand rules;
|
|
14
|
+
- product content, tasks, data, and other authentic evidence;
|
|
15
|
+
- rendered desktop and mobile behavior;
|
|
16
|
+
- CSS variables, theme configuration, utility conventions, and design tokens;
|
|
17
|
+
- component libraries, local primitives, variants, and state implementations;
|
|
18
|
+
- design documentation, including `DESIGN.md` when present.
|
|
19
|
+
|
|
20
|
+
Treat disagreement as a finding. Do not silently let an aspirational document
|
|
21
|
+
override working product behavior, or let accidental implementation drift erase an
|
|
22
|
+
intentional brand rule. Mark meaningful signals as preserve, evolve, or replace and
|
|
23
|
+
state the product reason for a replacement.
|
|
24
|
+
|
|
25
|
+
Source reconciliation does not authorize a visual thesis. Content and product facts
|
|
26
|
+
may determine hierarchy, density, and authentic material, but do not by themselves
|
|
27
|
+
make a broad replacement direction brand-derived. Complete the alignment gate before
|
|
28
|
+
defining replacement tokens or component rules when materially different theses
|
|
29
|
+
remain credible.
|
|
30
|
+
|
|
31
|
+
## Define the smallest complete contract
|
|
32
|
+
|
|
33
|
+
Record decisions in the project's native implementation format whenever possible.
|
|
34
|
+
Use this compact contract in reasoning or handoff when several dimensions change:
|
|
35
|
+
|
|
36
|
+
| Dimension | Minimum relevant decisions |
|
|
37
|
+
|---|---|
|
|
38
|
+
| Color and themes | Canvas, surface, text, muted, border, accent, destructive, focus, and applicable status roles; foreground/background pairs; light, dark, forced-color, or user-theme behavior when supported |
|
|
39
|
+
| Typography | Display, heading, body, label, metadata, and code roles only when needed; family and fallback, size, weight, line height, tracking, measure, language coverage, and loading behavior |
|
|
40
|
+
| Layout and spacing | Container behavior, tracks, gutters, spacing rhythm, section density, alignment anchors, and transformations across viewport or container ranges |
|
|
41
|
+
| Shape, surface, and depth | Radius, border, shadow, texture, elevation, and adjacency roles; avoid values that differ without a product or state reason |
|
|
42
|
+
| Component grammar | Shared anatomy, variants, sizes or density, state behavior, content limits, composition rules, and narrow-container behavior |
|
|
43
|
+
| Media and motion | Crop, aspect ratio, loading and empty behavior, motion causality, duration or easing roles, and reduced-motion treatment |
|
|
44
|
+
|
|
45
|
+
Do not invent every category for completeness. Omit roles the product does not need,
|
|
46
|
+
but cover every dimension changed by the work.
|
|
47
|
+
|
|
48
|
+
## Use token layers deliberately
|
|
49
|
+
|
|
50
|
+
- **Foundation tokens** hold raw palette, type, spacing, radius, and motion values.
|
|
51
|
+
- **Semantic tokens** express purpose such as canvas, text-muted, border-strong,
|
|
52
|
+
action-primary, focus-ring, success, warning, or destructive.
|
|
53
|
+
- **Component tokens or variants** bind semantic roles to a component only when a
|
|
54
|
+
shared component needs a stable exception.
|
|
55
|
+
|
|
56
|
+
Prefer semantic tokens in implementation. Keep foreground/background pairs and
|
|
57
|
+
interaction-state relationships explicit. Reuse an existing scale when it is
|
|
58
|
+
coherent; consolidate accidental near-duplicates instead of adding another magic
|
|
59
|
+
value. A token file is evidence of intent, not proof that rendered contrast,
|
|
60
|
+
hierarchy, or behavior is correct.
|
|
61
|
+
|
|
62
|
+
## Define component grammar
|
|
63
|
+
|
|
64
|
+
For each component family affected by the work:
|
|
65
|
+
|
|
66
|
+
1. Identify its product job and required anatomy.
|
|
67
|
+
2. Keep variants task-based, such as primary, secondary, quiet, or destructive,
|
|
68
|
+
rather than naming them after isolated visual treatments.
|
|
69
|
+
3. Define only justified sizes or density modes and preserve usable targets.
|
|
70
|
+
4. Cover applicable default, hover, focus, active, selected, disabled, loading,
|
|
71
|
+
empty, error, success, and destructive behavior.
|
|
72
|
+
5. Keep state cues visible without relying on color alone.
|
|
73
|
+
6. Define content stress behavior: long labels, missing media, localization,
|
|
74
|
+
dynamic data, overflow, and narrow or wide containers.
|
|
75
|
+
7. Reuse existing primitives and repository conventions unless changing them is an
|
|
76
|
+
explicit, system-level decision.
|
|
77
|
+
|
|
78
|
+
Do not require a particular component library. A coherent local primitive is better
|
|
79
|
+
than importing a dependency solely to make the contract look formal.
|
|
80
|
+
|
|
81
|
+
## Treat DESIGN.md as optional interoperability
|
|
82
|
+
|
|
83
|
+
When a `DESIGN.md` file exists:
|
|
84
|
+
|
|
85
|
+
- inspect its tokens and rationale during discovery;
|
|
86
|
+
- trace relevant values into the theme, components, and rendered interface;
|
|
87
|
+
- report stale, conflicting, unreachable, or one-off values;
|
|
88
|
+
- preserve or update it only within the user's authorized scope.
|
|
89
|
+
|
|
90
|
+
When it does not exist, do not create one automatically. Create or update a
|
|
91
|
+
`DESIGN.md` only when the user requests a portable design-system artifact or the
|
|
92
|
+
authorized work explicitly requires durable system documentation. Keep exact values
|
|
93
|
+
machine-readable and explain the rationale in prose. Use an existing validator when
|
|
94
|
+
available, but do not add a package, CLI, or network dependency without need and
|
|
95
|
+
authorization.
|
|
96
|
+
|
|
97
|
+
The project implementation remains the delivery target. A portable artifact does
|
|
98
|
+
not replace rendered, responsive, interaction, or accessibility verification.
|
|
99
|
+
|
|
100
|
+
## Keep the contract proportional
|
|
101
|
+
|
|
102
|
+
- **Narrow repair:** preserve the established system; document only the affected
|
|
103
|
+
token, component rule, and states.
|
|
104
|
+
- **Single surface:** define the system decisions needed for that page or workflow
|
|
105
|
+
and map them to reusable project tokens and primitives.
|
|
106
|
+
- **Multiple surfaces or greenfield:** define the broader contract, show how shared
|
|
107
|
+
components inherit it, and identify any intentional local exceptions.
|
|
108
|
+
- **Review:** diagnose drift and recommend the smallest coherent correction; do not
|
|
109
|
+
create or edit an artifact without authorization.
|