@soederpop/luca 0.0.11 → 0.0.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/package.json +8 -3
- package/src/agi/features/claude-code.ts +7 -0
- package/src/bootstrap/generated.ts +1 -1
- package/src/commands/prompt.ts +3 -0
- package/src/introspection/generated.agi.ts +1002 -986
- package/src/introspection/generated.node.ts +469 -469
- package/src/introspection/generated.web.ts +1 -1
- package/src/scaffolds/generated.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soederpop/luca",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"website": "https://luca.soederpop.com",
|
|
5
5
|
"description": "lightweight universal conversational architecture AKA Le Ultimate Component Architecture AKA Last Universal Common Ancestor, part AI part Human",
|
|
6
6
|
"author": "jon soeder aka the people's champ <jon@soederpop.com>",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"chokidar": "^3.5.3",
|
|
103
103
|
"cli-markdown": "^3.5.0",
|
|
104
104
|
"compromise": "^14.14.5",
|
|
105
|
-
"contentbase": "^0.1.
|
|
105
|
+
"contentbase": "^0.1.5",
|
|
106
106
|
"cors": "^2.8.5",
|
|
107
107
|
"detect-port": "^1.5.1",
|
|
108
108
|
"dotenv": "^17.2.4",
|
|
@@ -154,6 +154,11 @@
|
|
|
154
154
|
"node-llama-cpp": "^3.17.1"
|
|
155
155
|
},
|
|
156
156
|
"luca": {
|
|
157
|
-
"aliases": [
|
|
157
|
+
"aliases": [
|
|
158
|
+
"luca",
|
|
159
|
+
"framework",
|
|
160
|
+
"container",
|
|
161
|
+
"runtime"
|
|
162
|
+
]
|
|
158
163
|
}
|
|
159
164
|
}
|
|
@@ -182,6 +182,8 @@ export const ClaudeCodeOptionsSchema = FeatureOptionsSchema.extend({
|
|
|
182
182
|
settingsFile: z.string().optional().describe('Path to a custom settings file'),
|
|
183
183
|
/** Directories containing Claude Code skills (SKILL.md files) to load into sessions. Passed as --add-dir. */
|
|
184
184
|
skillsFolders: z.array(z.string()).optional().describe('Directories containing Claude Code skills to load into sessions'),
|
|
185
|
+
/** Launch Claude Code with a Chrome browser tool. */
|
|
186
|
+
chrome: z.boolean().optional().describe('Launch Claude Code with a Chrome browser tool'),
|
|
185
187
|
})
|
|
186
188
|
|
|
187
189
|
export const ClaudeCodeEventsSchema = FeatureEventsSchema.extend({
|
|
@@ -265,6 +267,8 @@ export interface RunOptions {
|
|
|
265
267
|
debugFile?: string
|
|
266
268
|
/** Path to a custom settings file. */
|
|
267
269
|
settingsFile?: string
|
|
270
|
+
/** Launch Claude Code with a Chrome browser tool. */
|
|
271
|
+
chrome?: boolean
|
|
268
272
|
}
|
|
269
273
|
|
|
270
274
|
/**
|
|
@@ -597,6 +601,9 @@ export class ClaudeCode extends Feature<ClaudeCodeState, ClaudeCodeOptions> {
|
|
|
597
601
|
|
|
598
602
|
if (options.debugFile) args.push('--debug-file', options.debugFile)
|
|
599
603
|
|
|
604
|
+
const chrome = options.chrome ?? this.options.chrome
|
|
605
|
+
if (chrome) args.push('--chrome')
|
|
606
|
+
|
|
600
607
|
if (options.extraArgs?.length) {
|
|
601
608
|
args.push(...options.extraArgs)
|
|
602
609
|
}
|
package/src/commands/prompt.ts
CHANGED
|
@@ -21,6 +21,7 @@ export const argsSchema = CommandOptionsSchema.extend({
|
|
|
21
21
|
'repeat-anyway': z.boolean().default(false).describe('Run even if repeatable is false and the prompt has already been run'),
|
|
22
22
|
'parallel': z.boolean().default(false).describe('Run multiple prompt files in parallel with side-by-side terminal UI'),
|
|
23
23
|
'exclude-sections': z.string().optional().describe('Comma-separated list of section headings to exclude from the prompt'),
|
|
24
|
+
'chrome': z.boolean().default(false).describe('Launch Claude Code with a Chrome browser tool'),
|
|
24
25
|
})
|
|
25
26
|
|
|
26
27
|
const CLI_TARGETS = new Set(['claude', 'codex'])
|
|
@@ -125,6 +126,7 @@ async function runClaudeOrCodex(target: 'claude' | 'codex', promptContent: strin
|
|
|
125
126
|
|
|
126
127
|
if (target === 'claude') {
|
|
127
128
|
runOptions.permissionMode = options['permission-mode']
|
|
129
|
+
if (options.chrome) runOptions.chrome = true
|
|
128
130
|
}
|
|
129
131
|
|
|
130
132
|
const startTime = Date.now()
|
|
@@ -273,6 +275,7 @@ async function runParallel(
|
|
|
273
275
|
|
|
274
276
|
if (target === 'claude') {
|
|
275
277
|
runOptions.permissionMode = options['permission-mode']
|
|
278
|
+
if (options.chrome) runOptions.chrome = true
|
|
276
279
|
}
|
|
277
280
|
|
|
278
281
|
feature.on('session:message', ({ sessionId, message }: { sessionId: string; message: any }) => {
|