@jcheesepkg/nanobot 0.5.1 → 0.5.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.
@@ -70,31 +70,31 @@ declare const ChannelsConfigSchema: z.ZodObject<{
70
70
  channelAccessToken?: string | undefined;
71
71
  }>>;
72
72
  }, "strip", z.ZodTypeAny, {
73
- telegram: {
74
- enabled: boolean;
75
- token: string;
76
- allowFrom: string[];
77
- proxy?: string | null | undefined;
78
- };
79
73
  line: {
80
74
  enabled: boolean;
81
75
  allowFrom: string[];
82
76
  channelSecret: string;
83
77
  channelAccessToken: string;
84
78
  };
85
- }, {
86
- telegram?: {
87
- enabled?: boolean | undefined;
88
- token?: string | undefined;
89
- allowFrom?: string[] | undefined;
79
+ telegram: {
80
+ enabled: boolean;
81
+ token: string;
82
+ allowFrom: string[];
90
83
  proxy?: string | null | undefined;
91
- } | undefined;
84
+ };
85
+ }, {
92
86
  line?: {
93
87
  enabled?: boolean | undefined;
94
88
  allowFrom?: string[] | undefined;
95
89
  channelSecret?: string | undefined;
96
90
  channelAccessToken?: string | undefined;
97
91
  } | undefined;
92
+ telegram?: {
93
+ enabled?: boolean | undefined;
94
+ token?: string | undefined;
95
+ allowFrom?: string[] | undefined;
96
+ proxy?: string | null | undefined;
97
+ } | undefined;
98
98
  }>;
99
99
  type ChannelsConfig = z.infer<typeof ChannelsConfigSchema>;
100
100
  declare const AgentDefaultsSchema: z.ZodObject<{
@@ -648,31 +648,31 @@ declare const ConfigSchema: z.ZodObject<{
648
648
  channelAccessToken?: string | undefined;
649
649
  }>>;
650
650
  }, "strip", z.ZodTypeAny, {
651
- telegram: {
652
- enabled: boolean;
653
- token: string;
654
- allowFrom: string[];
655
- proxy?: string | null | undefined;
656
- };
657
651
  line: {
658
652
  enabled: boolean;
659
653
  allowFrom: string[];
660
654
  channelSecret: string;
661
655
  channelAccessToken: string;
662
656
  };
663
- }, {
664
- telegram?: {
665
- enabled?: boolean | undefined;
666
- token?: string | undefined;
667
- allowFrom?: string[] | undefined;
657
+ telegram: {
658
+ enabled: boolean;
659
+ token: string;
660
+ allowFrom: string[];
668
661
  proxy?: string | null | undefined;
669
- } | undefined;
662
+ };
663
+ }, {
670
664
  line?: {
671
665
  enabled?: boolean | undefined;
672
666
  allowFrom?: string[] | undefined;
673
667
  channelSecret?: string | undefined;
674
668
  channelAccessToken?: string | undefined;
675
669
  } | undefined;
670
+ telegram?: {
671
+ enabled?: boolean | undefined;
672
+ token?: string | undefined;
673
+ allowFrom?: string[] | undefined;
674
+ proxy?: string | null | undefined;
675
+ } | undefined;
676
676
  }>>;
677
677
  providers: z.ZodDefault<z.ZodObject<{
678
678
  anthropic: z.ZodDefault<z.ZodObject<{
@@ -1035,18 +1035,18 @@ declare const ConfigSchema: z.ZodObject<{
1035
1035
  };
1036
1036
  };
1037
1037
  channels: {
1038
- telegram: {
1039
- enabled: boolean;
1040
- token: string;
1041
- allowFrom: string[];
1042
- proxy?: string | null | undefined;
1043
- };
1044
1038
  line: {
1045
1039
  enabled: boolean;
1046
1040
  allowFrom: string[];
1047
1041
  channelSecret: string;
1048
1042
  channelAccessToken: string;
1049
1043
  };
1044
+ telegram: {
1045
+ enabled: boolean;
1046
+ token: string;
1047
+ allowFrom: string[];
1048
+ proxy?: string | null | undefined;
1049
+ };
1050
1050
  };
1051
1051
  providers: {
1052
1052
  anthropic: {
@@ -1139,18 +1139,18 @@ declare const ConfigSchema: z.ZodObject<{
1139
1139
  } | undefined;
1140
1140
  } | undefined;
1141
1141
  channels?: {
1142
- telegram?: {
1143
- enabled?: boolean | undefined;
1144
- token?: string | undefined;
1145
- allowFrom?: string[] | undefined;
1146
- proxy?: string | null | undefined;
1147
- } | undefined;
1148
1142
  line?: {
1149
1143
  enabled?: boolean | undefined;
1150
1144
  allowFrom?: string[] | undefined;
1151
1145
  channelSecret?: string | undefined;
1152
1146
  channelAccessToken?: string | undefined;
1153
1147
  } | undefined;
1148
+ telegram?: {
1149
+ enabled?: boolean | undefined;
1150
+ token?: string | undefined;
1151
+ allowFrom?: string[] | undefined;
1152
+ proxy?: string | null | undefined;
1153
+ } | undefined;
1154
1154
  } | undefined;
1155
1155
  providers?: {
1156
1156
  anthropic?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jcheesepkg/nanobot",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Lightweight AI assistant - TypeScript port",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",
@@ -15,22 +15,6 @@ Use this skill when the user:
15
15
  - Asks to transcribe or summarize a YouTube video
16
16
  - Sends a PDF and asks for a summary
17
17
 
18
- ## First-time setup
19
-
20
- Before using, check if `summarize` is installed:
21
-
22
- ```bash
23
- which summarize
24
- ```
25
-
26
- If not found, install it:
27
-
28
- ```bash
29
- npm install -g @steipete/summarize
30
- ```
31
-
32
- This only needs to be done once per container.
33
-
34
18
  ## Quick start
35
19
 
36
20
  Always use `--model openrouter/meta-llama/llama-3.3-70b-instruct:free` for summarization.