zam-core 0.3.2 โ†’ 0.3.5

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/README.md CHANGED
@@ -1,86 +1,147 @@
1
- # ZAM (Zusammen) ๐Ÿค
2
-
3
- **The Symbiotic Learning Kernel: Elevating Human Intelligence through AI Collaboration.**
4
-
5
- > *ZAM is Bavarian for "together".*
6
-
7
- ZAM is an open-source framework that creates a deep symbiosis between humans and AI. While conventional AI often renders people passive, ZAM harnesses technological progress to deepen human knowledge, prevent cognitive decline caused by automation, and organically connect communities.
8
-
9
- ---
10
-
11
- ## ๐Ÿš€ Phase 1: Individual Symbiosis *(Current Focus)*
12
-
13
- Phase 1 centers on the interaction between a person and their personal agent. The goal: solve tasks efficiently while actively acquiring and retaining valuable knowledge.
14
-
15
- > **"Don't just automate โ€” Elevate."**
16
-
17
- When the AI takes on tasks, the ZAM Learning Kernel ensures the human stays in control and in the loop:
18
-
19
- - **Knowledge Retention** โ€” Through Active Recall and Spaced Repetition, ZAM reminds you of the domain knowledge you need for your work, so that growing automation doesn't mean growing dependence.
20
- - **Competence Transfer** โ€” While ZAM handles the routine (emails, contact lists, scheduling), your agent simultaneously teaches you concepts from modern project management, volunteer coordination, or whatever domain you're working in.
21
- - **Time Reinvestment** โ€” The time you gain is not consumed by passivity, but reinvested in learning new, more challenging skills.
22
-
23
- ### Example: Organizing a Parish Festival
24
-
25
- | Step | What ZAM does | What you do |
26
- |---|---|---|
27
- | **Planning** | Structures the agenda and timeline | Define the vision and priorities |
28
- | **Learning** | Teaches you effective PR and volunteer motivation | Engage with the concepts |
29
- | **Automation** | Drafts invitations, manages documents | Focus on human connection |
30
-
31
- ---
32
-
33
- ## ๐ŸŒ Phase 2: The Connected Community *(Outlook)*
34
-
35
- Once your personal agent knows your knowledge level, interests, and growth goals, ZAM expands to the community layer.
36
-
37
- ### Agent-to-Agent Marketplace
38
-
39
- Agents communicate with each other to match community needs and offerings:
40
-
41
- 1. **Need Broadcasting** โ€” Your agent signals: *"We're looking for a cook and a musician for the parish festival."*
42
- 2. **Growth-Aware Matching** โ€” Other agents scan their people's profiles โ€” not just for availability, but for learning potential:
43
- > *"My person wants to practice cooking at scale (learning goal) โ€” the festival is the perfect opportunity for active knowledge application."*
44
- 3. **Accredited Communities** โ€” Matching is prioritized within trusted circles (e.g. your own parish) to foster genuine human encounters.
45
-
46
- ---
47
-
48
- ## ๐Ÿ›  Technical Architecture: The Learning Kernel
49
-
50
- ZAM is designed as an **AI-agnostic kernel** โ€” a CLI tool that integrates seamlessly into existing workflows:
51
-
52
- - **CLI Integration** โ€” Compatible with `Claude Code`, `Copilot CLI`, and `Gemini CLI`.
53
- - **Modularity** โ€” The system can be forked for region- or culture-specific adaptations (*Social Forking*).
54
-
55
- ### Two Repositories, One System
56
-
57
- ZAM is split into two concerns:
58
-
59
- - **Core** ([`zam-os/zam`](https://github.com/zam-os/zam)) โ€” The AI-agnostic learning kernel, CLI, bridge protocol, and system beliefs. Shared by everyone.
60
- - **Personal** (fork of [`zam-os/zam-personal`](templates/personal/)) โ€” Your beliefs, your goals, your identity. You fork it, you own it.
61
-
62
- Get started: `zam whoami --set <your-id>`
63
-
64
- ---
65
-
66
- ## ๐Ÿ› Vision: A Flourishing Future
67
-
68
- ZAM is a tool for the transition to a world where care and shared growth are the common currency.
69
-
70
- - **Resource Stewardship** โ€” Agents help manage community finances (e.g. a 10% solidarity model) and optimize collective purchasing.
71
- - **Human Proximity** โ€” Technology steps back to enable genuine person-to-person exchange.
72
- - **Global Scalability** โ€” Supported by institutions like the global church, ZAM aims to become a standard for a just, educated, and caring world community.
73
-
74
- ---
75
-
76
- ## ๐Ÿ“– Documentation
77
-
78
- - [Deutsche Version](README.de.md)
79
- - [Contributing Guide](CONTRIBUTING.md)
80
- - [Architecture](docs/ARCHITECTURE.md)
81
-
82
- ---
83
-
84
- ## ๐Ÿ“„ License
85
-
86
- Apache 2.0 License โ€” see [LICENSE](LICENSE) for details.
1
+ # ZAM (Zusammen) ๐Ÿค
2
+
3
+ **The Symbiotic Learning Kernel: Elevating Human Intelligence through AI Collaboration.**
4
+
5
+ > *ZAM is Bavarian for "together".*
6
+
7
+ ZAM is an open-source framework that creates a deep symbiosis between humans and AI. While conventional AI often renders people passive, ZAM harnesses technological progress to deepen human knowledge, prevent cognitive decline caused by automation, and organically connect communities.
8
+
9
+ ---
10
+
11
+ ## ๐Ÿš€ Phase 1: Individual Symbiosis *(Current Focus)*
12
+
13
+ Phase 1 centers on the interaction between a person and their personal agent. The goal: solve tasks efficiently while actively acquiring and retaining valuable knowledge.
14
+
15
+ > **"Don't just automate โ€” Elevate."**
16
+
17
+ When the AI takes on tasks, the ZAM Learning Kernel ensures the human stays in control and in the loop:
18
+
19
+ - **Knowledge Retention** โ€” Through Active Recall and Spaced Repetition, ZAM reminds you of the domain knowledge you need for your work, so that growing automation doesn't mean growing dependence.
20
+ - **Competence Transfer** โ€” While ZAM handles the routine (emails, contact lists, scheduling), your agent simultaneously teaches you concepts from modern project management, volunteer coordination, or whatever domain you're working in.
21
+ - **Time Reinvestment** โ€” The time you gain is not consumed by passivity, but reinvested in learning new, more challenging skills.
22
+
23
+ ### Example: Organizing a Parish Festival
24
+
25
+ | Step | What ZAM does | What you do |
26
+ |---|---|---|
27
+ | **Planning** | Structures the agenda and timeline | Define the vision and priorities |
28
+ | **Learning** | Teaches you effective PR and volunteer motivation | Engage with the concepts |
29
+ | **Automation** | Drafts invitations, manages documents | Focus on human connection |
30
+
31
+ ---
32
+
33
+ ## ๐ŸŒ Phase 2: The Connected Community *(Outlook)*
34
+
35
+ Once your personal agent knows your knowledge level, interests, and growth goals, ZAM expands to the community layer.
36
+
37
+ ### Agent-to-Agent Marketplace
38
+
39
+ Agents communicate with each other to match community needs and offerings:
40
+
41
+ 1. **Need Broadcasting** โ€” Your agent signals: *"We're looking for a cook and a musician for the parish festival."*
42
+ 2. **Growth-Aware Matching** โ€” Other agents scan their people's profiles โ€” not just for availability, but for learning potential:
43
+ > *"My person wants to practice cooking at scale (learning goal) โ€” the festival is the perfect opportunity for active knowledge application."*
44
+ 3. **Accredited Communities** โ€” Matching is prioritized within trusted circles (e.g. your own parish) to foster genuine human encounters.
45
+
46
+ ---
47
+
48
+ ## ๐Ÿ›  Technical Architecture: The Learning Kernel
49
+
50
+ ZAM is designed as an **AI-agnostic kernel** โ€” a CLI tool that integrates seamlessly into existing workflows:
51
+
52
+ - **CLI Integration** โ€” Compatible with `Claude Code`, `Codex`, `Copilot CLI`, and `Gemini CLI`.
53
+ - **Modularity** โ€” The system can be forked for region- or culture-specific adaptations (*Social Forking*).
54
+
55
+ ### Two Repositories, One System
56
+
57
+ ZAM is split into two concerns:
58
+
59
+ - **Core** ([`zam-os/zam`](https://github.com/zam-os/zam)) โ€” The AI-agnostic learning kernel, CLI, bridge protocol, and system beliefs. Shared by everyone.
60
+ - **Personal** (fork of [`zam-os/zam-personal`](templates/personal/)) โ€” Your beliefs, your goals, your identity. You fork it, you own it.
61
+
62
+ Get started: `zam whoami --set <your-id>`
63
+
64
+ ---
65
+
66
+ ## ๐Ÿงน Review maintenance
67
+
68
+ Review sessions are not limited to `1`-`4` recall ratings anymore. When a card is wrong, obsolete, or unwanted, the review flow can now:
69
+
70
+ - edit token fields inline
71
+ - deprecate the token
72
+ - hard-delete the token after an impact preview + confirmation
73
+ - delete only your personal card while keeping the token
74
+
75
+ The same maintenance actions are also available from the CLI:
76
+
77
+ - `zam token edit --slug <slug> ...`
78
+ - `zam token delete --slug <slug>` for preview, then `--force` to delete
79
+ - `zam card delete --user <id> --token <slug>`
80
+ - `zam bridge review-action ...` for AI clients
81
+
82
+ Token deletion is global. Card deletion is per-user.
83
+
84
+ ---
85
+
86
+ ## ๐Ÿ› Vision: A Flourishing Future
87
+
88
+ ZAM is a tool for the transition to a world where care and shared growth are the common currency.
89
+
90
+ - **Resource Stewardship** โ€” Agents help manage community finances (e.g. a 10% solidarity model) and optimize collective purchasing.
91
+ - **Human Proximity** โ€” Technology steps back to enable genuine person-to-person exchange.
92
+ - **Global Scalability** โ€” Supported by institutions like the global church, ZAM aims to become a standard for a just, educated, and caring world community.
93
+
94
+ ---
95
+
96
+ ## ๐Ÿ–ฅ ZAM Desktop Studio
97
+
98
+ ZAM now includes a cross-platform desktop application inside the [`desktop/`](desktop/) directory. Built with **Tauri v2**, **Vite**, **TypeScript**, and **Vanilla CSS**, it provides a premium dark-mode dashboard and active-recall learning studio that securely shares the same SQLite database as the CLI.
99
+
100
+ ### How to Run on Windows or macOS:
101
+
102
+ 1. **Build the CLI Bridge**:
103
+ Ensure you have compiled the latest CLI code in the repository root:
104
+ ```bash
105
+ npm install
106
+ npm run build
107
+ ```
108
+
109
+ 2. **Launch the Desktop Application**:
110
+ Navigate to the `desktop/` directory, install dependencies, and run Tauri:
111
+ ```bash
112
+ cd desktop
113
+ npm install
114
+ npm run tauri dev
115
+ ```
116
+
117
+ This will compile the secure Rust backend, spin up the Vite development server, and open the native desktop window. For detailed settings, key bindings, and local AI (Ollama/FastFlowLM) configurations, see the [Desktop README](desktop/README.md).
118
+
119
+ ### ๐Ÿ“ฆ Automated GitHub Releases & Native Installers
120
+
121
+ We have integrated a **GitHub Actions CI/CD workflow** that automatically compiles and packages native installers (Windows `.msi`/`.exe`, macOS Intel/Silicon `.dmg`, and Linux `.deb`/`.AppImage`) when a new git tag is pushed.
122
+
123
+ To release a new version (e.g., `v0.1.0`):
124
+
125
+ ```bash
126
+ # Tag the current commit
127
+ git tag v0.1.0
128
+
129
+ # Push the tag to GitHub
130
+ git push origin v0.1.0
131
+ ```
132
+
133
+ This automatically spins up the multi-platform compiler environments on GitHub and creates a drafted GitHub Release containing the native redistributables for all platforms!
134
+
135
+ ---
136
+
137
+ ## ๐Ÿ“– Documentation
138
+
139
+ - [Deutsche Version](README.de.md)
140
+ - [Contributing Guide](CONTRIBUTING.md)
141
+ - [Architecture](docs/ARCHITECTURE.md)
142
+
143
+ ---
144
+
145
+ ## ๐Ÿ“„ License
146
+
147
+ Apache 2.0 License โ€” see [LICENSE](LICENSE) for details.