@hasna/assistants 0.6.14

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,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Hasna
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,69 @@
1
+ # assistants
2
+
3
+ Your personal AI assistant - terminal first, connector powered.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ bun add -g @hasna/assistants
9
+ ```
10
+
11
+ **Requirements:**
12
+ - [Bun](https://bun.sh) 1.0+
13
+
14
+ ## Quick Start
15
+
16
+ ```bash
17
+ # Set your API key (or add to ~/.secrets)
18
+ export ANTHROPIC_API_KEY="your-key"
19
+
20
+ # Run
21
+ assistants
22
+ ```
23
+
24
+ Or add to `~/.secrets`:
25
+ ```bash
26
+ export ANTHROPIC_API_KEY="your-key"
27
+ ```
28
+
29
+ ## Features
30
+
31
+ - **Terminal-first**: Ink-based TUI
32
+ - **Connector-powered**: Uses `connect-*` CLIs (Notion, Google Drive, Gmail, etc.)
33
+ - **Skills**: Reusable instructions with `SKILL.md` files
34
+ - **Hooks**: Event-driven automation
35
+
36
+ ## Configuration
37
+
38
+ User config: `~/.assistants/config.json`
39
+ Project config: `.assistants/config.json`
40
+
41
+ ```json
42
+ {
43
+ "llm": {
44
+ "provider": "anthropic",
45
+ "model": "claude-sonnet-4-20250514"
46
+ },
47
+ "connectors": ["notion", "googledrive", "gmail", "linear", "slack"]
48
+ }
49
+ ```
50
+
51
+ ## Skills
52
+
53
+ Skills are `SKILL.md` files with YAML frontmatter:
54
+
55
+ ```yaml
56
+ ---
57
+ name: daily-standup
58
+ description: Generate daily standup
59
+ allowed-tools: bash, googlecalendar, linear
60
+ ---
61
+
62
+ Generate a daily standup report for $ARGUMENTS
63
+ ```
64
+
65
+ Invoke with `/skill-name`.
66
+
67
+ ## License
68
+
69
+ MIT
@@ -0,0 +1,15 @@
1
+ {
2
+ "hooks": {
3
+ "SessionStart": [
4
+ {
5
+ "matcher": "*",
6
+ "hooks": [
7
+ {
8
+ "type": "command",
9
+ "command": "echo '{\"continue\": true, \"additionalContext\": \"Session started at '$(date)'\"}'"
10
+ }
11
+ ]
12
+ }
13
+ ]
14
+ }
15
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "llm": {
3
+ "provider": "anthropic",
4
+ "model": "claude-sonnet-4-20250514",
5
+ "maxTokens": 8192
6
+ },
7
+ "voice": {
8
+ "enabled": false,
9
+ "stt": {
10
+ "provider": "whisper",
11
+ "model": "whisper-1",
12
+ "language": "en"
13
+ },
14
+ "tts": {
15
+ "provider": "elevenlabs",
16
+ "voiceId": "",
17
+ "model": "eleven_turbo_v2_5"
18
+ }
19
+ },
20
+ "connectors": [
21
+ "anthropic",
22
+ "brandsight",
23
+ "clickbank",
24
+ "cloudflare",
25
+ "discord",
26
+ "gmail",
27
+ "googlecalendar",
28
+ "googlecontacts",
29
+ "googledrive",
30
+ "linear",
31
+ "maropost",
32
+ "mercury",
33
+ "mistral",
34
+ "notion",
35
+ "openai",
36
+ "perplexity",
37
+ "sedo",
38
+ "slack",
39
+ "x",
40
+ "xai",
41
+ "zendesk"
42
+ ]
43
+ }