@link-assistant/agent 0.6.1 → 0.6.3
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/package.json +1 -1
- package/src/auth/plugins.ts +0 -2
- package/src/file/ignore.ts +30 -0
- package/src/index.js +4 -4
package/package.json
CHANGED
package/src/auth/plugins.ts
CHANGED
|
@@ -858,8 +858,6 @@ const GOOGLE_OAUTH_SCOPES = [
|
|
|
858
858
|
'https://www.googleapis.com/auth/cloud-platform',
|
|
859
859
|
'https://www.googleapis.com/auth/userinfo.email',
|
|
860
860
|
'https://www.googleapis.com/auth/userinfo.profile',
|
|
861
|
-
'https://www.googleapis.com/auth/generative-language.tuning',
|
|
862
|
-
'https://www.googleapis.com/auth/generative-language.retriever',
|
|
863
861
|
];
|
|
864
862
|
|
|
865
863
|
// Google OAuth endpoints
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export namespace FileIgnore {
|
|
2
|
+
export const PATTERNS = [
|
|
3
|
+
'.git',
|
|
4
|
+
'node_modules',
|
|
5
|
+
'.DS_Store',
|
|
6
|
+
'*.log',
|
|
7
|
+
'dist',
|
|
8
|
+
'build',
|
|
9
|
+
'.next',
|
|
10
|
+
'.nuxt',
|
|
11
|
+
'.output',
|
|
12
|
+
'.vercel',
|
|
13
|
+
'.netlify',
|
|
14
|
+
'coverage',
|
|
15
|
+
'.nyc_output',
|
|
16
|
+
'.cache',
|
|
17
|
+
'.tmp',
|
|
18
|
+
'tmp',
|
|
19
|
+
'*.tmp',
|
|
20
|
+
'*.swp',
|
|
21
|
+
'*.swo',
|
|
22
|
+
'*~',
|
|
23
|
+
'.env',
|
|
24
|
+
'.env.local',
|
|
25
|
+
'.env.*.local',
|
|
26
|
+
'.vscode',
|
|
27
|
+
'.idea',
|
|
28
|
+
'*.tsbuildinfo',
|
|
29
|
+
];
|
|
30
|
+
}
|
package/src/index.js
CHANGED
|
@@ -247,7 +247,7 @@ async function readSystemMessages(argv) {
|
|
|
247
247
|
|
|
248
248
|
async function runAgentMode(argv, request) {
|
|
249
249
|
// Log version and command info in verbose mode using lazy logging
|
|
250
|
-
Log.Default.
|
|
250
|
+
Log.Default.info(() => ({
|
|
251
251
|
message: 'Agent started',
|
|
252
252
|
version: pkg.version,
|
|
253
253
|
command: process.argv.join(' '),
|
|
@@ -255,7 +255,7 @@ async function runAgentMode(argv, request) {
|
|
|
255
255
|
scriptPath: import.meta.path,
|
|
256
256
|
}));
|
|
257
257
|
if (Flag.OPENCODE_DRY_RUN) {
|
|
258
|
-
Log.Default.
|
|
258
|
+
Log.Default.info(() => ({
|
|
259
259
|
message: 'Dry run mode enabled',
|
|
260
260
|
mode: 'dry-run',
|
|
261
261
|
}));
|
|
@@ -318,7 +318,7 @@ async function runAgentMode(argv, request) {
|
|
|
318
318
|
async function runContinuousAgentMode(argv) {
|
|
319
319
|
const compactJson = argv['compact-json'] === true;
|
|
320
320
|
// Log version and command info in verbose mode using lazy logging
|
|
321
|
-
Log.Default.
|
|
321
|
+
Log.Default.info(() => ({
|
|
322
322
|
message: 'Agent started (continuous mode)',
|
|
323
323
|
version: pkg.version,
|
|
324
324
|
command: process.argv.join(' '),
|
|
@@ -326,7 +326,7 @@ async function runContinuousAgentMode(argv) {
|
|
|
326
326
|
scriptPath: import.meta.path,
|
|
327
327
|
}));
|
|
328
328
|
if (Flag.OPENCODE_DRY_RUN) {
|
|
329
|
-
Log.Default.
|
|
329
|
+
Log.Default.info(() => ({
|
|
330
330
|
message: 'Dry run mode enabled',
|
|
331
331
|
mode: 'dry-run',
|
|
332
332
|
}));
|