wolli 0.0.1 → 0.0.2

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/LICENSE ADDED
@@ -0,0 +1,182 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction, and
10
+ distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by the
13
+ copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all other entities
16
+ that control, are controlled by, or are under common control with that entity.
17
+ For the purposes of this definition, "control" means (i) the power, direct or
18
+ indirect, to cause the direction or management of such entity, whether by
19
+ contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
20
+ outstanding shares, or (iii) beneficial ownership of such entity.
21
+
22
+ "You" (or "Your") shall mean an individual or Legal Entity exercising
23
+ permissions granted by this License.
24
+
25
+ "Source" form shall mean the preferred form for making modifications, including
26
+ but not limited to software source code, documentation source, and configuration
27
+ files.
28
+
29
+ "Object" form shall mean any form resulting from mechanical transformation or
30
+ translation of a Source form, including but not limited to compiled object code,
31
+ generated documentation, and conversions to other media types.
32
+
33
+ "Work" shall mean the work of authorship, whether in Source or Object form,
34
+ made available under the License, as indicated by a copyright notice that is
35
+ included in or attached to the work (an example is provided in the Appendix
36
+ below).
37
+
38
+ "Derivative Works" shall mean any work, whether in Source or Object form, that
39
+ is based on (or derived from) the Work and for which the editorial revisions,
40
+ annotations, elaborations, or other modifications represent, as a whole, an
41
+ original work of authorship. For the purposes of this License, Derivative Works
42
+ shall not include works that remain separable from, or merely link (or bind by
43
+ name) to the interfaces of, the Work and Derivative Works thereof.
44
+
45
+ "Contribution" shall mean any work of authorship, including the original
46
+ version of the Work and any modifications or additions to that Work or
47
+ Derivative Works thereof, that is intentionally submitted to Licensor for
48
+ inclusion in the Work by the copyright owner or by an individual or Legal Entity
49
+ authorized to submit on behalf of the copyright owner. For the purposes of this
50
+ definition, "submitted" means any form of electronic, verbal, or written
51
+ communication sent to the Licensor or its representatives, including but not
52
+ limited to communication on electronic mailing lists, source code control
53
+ systems, and issue tracking systems that are managed by, or on behalf of, the
54
+ Licensor for the purpose of discussing and improving the Work, but excluding
55
+ communication that is conspicuously marked or otherwise designated in writing by
56
+ the copyright owner as "Not a Contribution."
57
+
58
+ "Contributor" shall mean Licensor and any individual or Legal Entity on behalf
59
+ of whom a Contribution has been received by Licensor and subsequently
60
+ incorporated within the Work.
61
+
62
+ 2. Grant of Copyright License. Subject to the terms and conditions of this
63
+ License, each Contributor hereby grants to You a perpetual, worldwide,
64
+ non-exclusive, no-charge, royalty-free, irrevocable copyright license to
65
+ reproduce, prepare Derivative Works of, publicly display, publicly perform,
66
+ sublicense, and distribute the Work and such Derivative Works in Source or
67
+ Object form.
68
+
69
+ 3. Grant of Patent License. Subject to the terms and conditions of this License,
70
+ each Contributor hereby grants to You a perpetual, worldwide, non-exclusive,
71
+ no-charge, royalty-free, irrevocable (except as stated in this section) patent
72
+ license to make, have made, use, offer to sell, sell, import, and otherwise
73
+ transfer the Work, where such license applies only to those patent claims
74
+ licensable by such Contributor that are necessarily infringed by their
75
+ Contribution(s) alone or by combination of their Contribution(s) with the Work
76
+ to which such Contribution(s) was submitted. If You institute patent litigation
77
+ against any entity (including a cross-claim or counterclaim in a lawsuit)
78
+ alleging that the Work or a Contribution incorporated within the Work
79
+ constitutes direct or contributory patent infringement, then any patent licenses
80
+ granted to You under this License for that Work shall terminate as of the date
81
+ such litigation is filed.
82
+
83
+ 4. Redistribution. You may reproduce and distribute copies of the Work or
84
+ Derivative Works thereof in any medium, with or without modifications, and in
85
+ Source or Object form, provided that You meet the following conditions:
86
+
87
+ (a) You must give any other recipients of the Work or Derivative Works a copy of
88
+ this License; and
89
+
90
+ (b) You must cause any modified files to carry prominent notices stating that
91
+ You changed the files; and
92
+
93
+ (c) You must retain, in the Source form of any Derivative Works that You
94
+ distribute, all copyright, patent, trademark, and attribution notices from the
95
+ Source form of the Work, excluding those notices that do not pertain to any part
96
+ of the Derivative Works; and
97
+
98
+ (d) If the Work includes a "NOTICE" text file as part of its distribution, then
99
+ any Derivative Works that You distribute must include a readable copy of the
100
+ attribution notices contained within such NOTICE file, excluding those notices
101
+ that do not pertain to any part of the Derivative Works, in at least one of the
102
+ following places: within a NOTICE text file distributed as part of the Derivative
103
+ Works; within the Source form or documentation, if provided along with the
104
+ Derivative Works; or, within a display generated by the Derivative Works, if and
105
+ wherever such third-party notices normally appear. The contents of the NOTICE
106
+ file are for informational purposes only and do not modify the License. You may
107
+ add Your own attribution notices within Derivative Works that You distribute,
108
+ alongside or as an addendum to the NOTICE text from the Work, provided that such
109
+ additional attribution notices cannot be construed as modifying the License.
110
+
111
+ You may add Your own copyright statement to Your modifications and may provide
112
+ additional or different license terms and conditions for use, reproduction, or
113
+ distribution of Your modifications, or for any such Derivative Works as a whole,
114
+ provided Your use, reproduction, and distribution of the Work otherwise complies
115
+ with the conditions stated in this License.
116
+
117
+ 5. Submission of Contributions. Unless You explicitly state otherwise, any
118
+ Contribution intentionally submitted for inclusion in the Work by You to the
119
+ Licensor shall be under the terms and conditions of this License, without any
120
+ additional terms or conditions. Notwithstanding the above, nothing herein shall
121
+ supersede or modify the terms of any separate license agreement you may have
122
+ executed with Licensor regarding such Contributions.
123
+
124
+ 6. Trademarks. This License does not grant permission to use the trade names,
125
+ trademarks, service marks, or product names of the Licensor, except as required
126
+ for reasonable and customary use in describing the origin of the Work and
127
+ reproducing the content of the NOTICE file.
128
+
129
+ 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in
130
+ writing, Licensor provides the Work (and each Contributor provides its
131
+ Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
132
+ KIND, either express or implied, including, without limitation, any warranties or
133
+ conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
134
+ PARTICULAR PURPOSE. You are solely responsible for determining the
135
+ appropriateness of using or redistributing the Work and assume any risks
136
+ associated with Your exercise of permissions under this License.
137
+
138
+ 8. Limitation of Liability. In no event and under no legal theory, whether in
139
+ tort (including negligence), contract, or otherwise, unless required by
140
+ applicable law (such as deliberate and grossly negligent acts) or agreed to in
141
+ writing, shall any Contributor be liable to You for damages, including any
142
+ direct, indirect, special, incidental, or consequential damages of any character
143
+ arising as a result of this License or out of the use or inability to use the
144
+ Work (including but not limited to damages for loss of goodwill, work stoppage,
145
+ computer failure or malfunction, or any and all other commercial damages or
146
+ losses), even if such Contributor has been advised of the possibility of such
147
+ damages.
148
+
149
+ 9. Accepting Warranty or Additional Liability. While redistributing the Work or
150
+ Derivative Works thereof, You may choose to offer, and charge a fee for,
151
+ acceptance of support, warranty, indemnity, or other liability obligations
152
+ and/or rights consistent with this License. However, in accepting such
153
+ obligations, You may act only on Your own behalf and on Your sole
154
+ responsibility, not on behalf of any other Contributor, and only if You agree to
155
+ indemnify, defend, and hold each Contributor harmless for any liability incurred
156
+ by, or claims asserted against, such Contributor by reason of your accepting any
157
+ such warranty or additional liability.
158
+
159
+ END OF TERMS AND CONDITIONS
160
+
161
+ APPENDIX: How to apply the Apache License to your work.
162
+
163
+ To apply the Apache License to your work, attach the following boilerplate
164
+ notice, with the fields enclosed by brackets "[]" replaced with your own
165
+ identifying information. (Don't include the brackets!) The text should be
166
+ enclosed in the appropriate comment syntax for the file format. We also
167
+ recommend that a file or class name and description of purpose be included on
168
+ the same "printed page" as the copyright notice for easier identification
169
+ within third-party archives.
170
+
171
+ Copyright [yyyy] [name of copyright owner]
172
+
173
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
174
+ this file except in compliance with the License. You may obtain a copy of the
175
+ License at
176
+
177
+ http://www.apache.org/licenses/LICENSE-2.0
178
+
179
+ Unless required by applicable law or agreed to in writing, software distributed
180
+ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
181
+ CONDITIONS OF ANY KIND, either express or implied. See the License for the
182
+ specific language governing permissions and limitations under the License.
package/README.md CHANGED
@@ -1,3 +1,126 @@
1
- # wolli
1
+ <div align="center">
2
2
 
3
- Placeholder package. Real implementation coming soon.
3
+ # Wolli
4
+
5
+ **Build persistent, purposeful AI agents.**
6
+
7
+ [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)
8
+ [![npm](https://img.shields.io/npm/v/wolli.svg)](https://www.npmjs.com/package/wolli)
9
+ [![CI](https://github.com/opsyhq/wolli/actions/workflows/ci.yml/badge.svg)](https://github.com/opsyhq/wolli/actions/workflows/ci.yml)
10
+
11
+ [Install](#install) · [How it works](#how-it-works) · [Roadmap](ROADMAP.md)
12
+
13
+ </div>
14
+
15
+ ---
16
+
17
+ > **What is my purpose?**
18
+
19
+ Wolli lets you create purposeful agents. That purpose becomes the organizing
20
+ principle of an agent's life: it remembers across sessions, runs on a schedule,
21
+ acts on events, and extends itself to do its job better over time, writing its
22
+ own skills, integrations, and extensions as the work demands.
23
+
24
+ ## Install
25
+
26
+ ```sh
27
+ npm install -g wolli
28
+ wolli
29
+ ```
30
+
31
+ The first run sets up your provider and creates your first agent. A new agent
32
+ starts in a **forming** state: it interviews you to work out its purpose and
33
+ records what it learns, and does not act unattended until you deploy it. Agents and
34
+ state live under `~/.wolli`.
35
+
36
+ ## How it works
37
+
38
+ - **Purpose-built.** You state the agent's purpose at birth. It decides what the
39
+ agent stores, when it speaks up, and what it does unattended.
40
+ - **Self-extending.** The agent builds itself out for its purpose. It curates its
41
+ own memory and authors and installs its own skills, tools, and extensions; they
42
+ live in its home and load on reload. The agent grows more capable at its job
43
+ instead of staying a fixed tool.
44
+ - **Persistent.** Sessions are an append-only JSONL tree, the agent's lifetime
45
+ memory. Nothing is rewritten; context is reconstructed deterministically and the
46
+ latest leaf resumes by default.
47
+ - **Curated memory.** Three files are read once and frozen into the system prompt
48
+ per session, and the agent maintains them through a memory tool:
49
+
50
+ | File | Holds |
51
+ | --- | --- |
52
+ | `SOUL.md` | Identity, authored at deploy. |
53
+ | `MEMORY.md` | Durable notes the agent keeps. |
54
+ | `USER.md` | Facts about its human. |
55
+
56
+ - **Always on, locally.** A per-agent daemon supervised by launchd (macOS) or
57
+ systemd (linux) runs the agent on schedules and events while your machine is on.
58
+ - **Sandboxed.** The agent runs in a sandbox by default: `srt` (Apple Seatbelt /
59
+ bubblewrap), or optional Docker. Reaching your real machine is an explicit,
60
+ approval-gated escalation.
61
+ - **Any model.** Multi-provider via OAuth `/login` (Anthropic, OpenAI, and others).
62
+
63
+ ## Lifecycle
64
+
65
+ | State | What happens |
66
+ | --- | --- |
67
+ | **forming** | Interviews its human and records memory. Does not act unattended. |
68
+ | **deployed** | The agent has authored its purpose and `SOUL.md`, and you confirmed `/deploy`, the single human-held latch. It now runs on schedules and events. |
69
+
70
+ `wolli delete <name>` removes an agent and its state.
71
+
72
+ ## Extending an agent
73
+
74
+ An agent's capabilities are plugins under its own home, so deleting the agent
75
+ removes them with it:
76
+
77
+ | Type | What it adds |
78
+ | --- | --- |
79
+ | **Extensions** | TypeScript modules: tools, commands, events, UI. |
80
+ | **Skills** | The Agent Skills standard. |
81
+ | **Prompt templates** | `/name` slash commands. |
82
+ | **Themes** | TUI appearance. |
83
+
84
+ Two integrations ship bundled: **Telegram** (bidirectional chat) and a
85
+ **scheduler** (cron). Manage plugins with `wolli <agent> plugins ...`.
86
+
87
+ ## CLI
88
+
89
+ | Command | Action |
90
+ | --- | --- |
91
+ | `wolli` | Set up on first run; otherwise pick an agent and open it |
92
+ | `wolli new <name>` | Create and birth a new agent |
93
+ | `wolli <agent>` | Open a specific agent interactively |
94
+ | `wolli <agent> "msg" --print` | One-shot, non-interactive reply |
95
+ | `wolli list` | List agents |
96
+ | `wolli restart <name>` | Restart an agent's daemon |
97
+ | `wolli delete <name>` | Remove an agent and its state |
98
+ | `wolli <agent> plugins ...` | Manage an agent's plugins |
99
+
100
+ ## Documentation
101
+
102
+ Full documentation is in [`packages/wolli/docs`](packages/wolli/docs/index.md):
103
+ extensions, skills, prompt templates, themes, integrations, plugins, and the SDK.
104
+ The integration/extension split is covered in [INTEGRATION.md](INTEGRATION.md).
105
+
106
+ ## Roadmap
107
+
108
+ Cloud sync, hosted email identity, agent-to-agent messaging, durable runtimes, and
109
+ more inbound integrations are not built yet. Shipped versus planned is tracked in
110
+ [ROADMAP.md](ROADMAP.md).
111
+
112
+ ## Contributing
113
+
114
+ Wolli is a pnpm + TypeScript monorepo (Node >= 22.19).
115
+
116
+ ```sh
117
+ pnpm install
118
+ pnpm build
119
+ pnpm test
120
+ ```
121
+
122
+ See [AGENTS.md](AGENTS.md) for development rules before opening a pull request.
123
+
124
+ ## License
125
+
126
+ [Apache-2.0](LICENSE)