@soederpop/luca 0.1.3 → 0.2.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.
Files changed (35) hide show
  1. package/.github/workflows/release.yaml +169 -0
  2. package/CNAME +1 -0
  3. package/README.md +3 -0
  4. package/assistants/codingAssistant/ABOUT.md +3 -0
  5. package/assistants/codingAssistant/CORE.md +22 -17
  6. package/assistants/codingAssistant/hooks.ts +19 -2
  7. package/assistants/codingAssistant/tools.ts +1 -106
  8. package/assistants/inkbot/ABOUT.md +5 -0
  9. package/assistants/inkbot/CORE.md +2 -0
  10. package/bun.lock +20 -4
  11. package/commands/release.ts +75 -181
  12. package/docs/CNAME +1 -0
  13. package/docs/ideas/assistant-factory-pattern.md +142 -0
  14. package/index.html +1430 -0
  15. package/package.json +3 -2
  16. package/src/agi/container.server.ts +10 -0
  17. package/src/agi/features/agent-memory.ts +694 -0
  18. package/src/agi/features/assistant.ts +1 -1
  19. package/src/agi/features/assistants-manager.ts +25 -0
  20. package/src/agi/features/browser-use.ts +30 -0
  21. package/src/agi/features/coding-tools.ts +175 -0
  22. package/src/agi/features/file-tools.ts +33 -26
  23. package/src/agi/features/skills-library.ts +28 -11
  24. package/src/bootstrap/generated.ts +1 -1
  25. package/src/cli/build-info.ts +2 -2
  26. package/src/clients/voicebox/index.ts +300 -0
  27. package/src/introspection/generated.agi.ts +2909 -914
  28. package/src/introspection/generated.node.ts +1641 -822
  29. package/src/introspection/generated.web.ts +1 -1
  30. package/src/node/features/content-db.ts +54 -27
  31. package/src/node/features/process-manager.ts +50 -17
  32. package/src/python/generated.ts +1 -1
  33. package/src/scaffolds/generated.ts +1 -1
  34. package/test/assistant.test.ts +14 -5
  35. package/test-integration/memory.test.ts +204 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soederpop/luca",
3
- "version": "0.1.3",
3
+ "version": "0.2.2",
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>",
@@ -109,7 +109,8 @@
109
109
  "build:python-bridge": "bun run src/cli/cli.ts build-python-bridge",
110
110
  "test": "bun test test/*.test.ts",
111
111
  "update-all-docs": "bun run test && bun run build:introspection && bun run src/cli/cli.ts generate-api-docs && bun run build:scaffolds && bun run build:bootstrap && bun run build:python-bridge",
112
- "precommit": "bun run typecheck && bun run update-all-docs && git add docs/apis/ src/introspection/generated.*.ts src/scaffolds/generated.ts src/bootstrap/generated.ts src/python/generated.ts && bun compile",
112
+ "setup": "git update-index --skip-worktree src/introspection/generated.node.ts src/introspection/generated.web.ts src/introspection/generated.agi.ts src/scaffolds/generated.ts src/bootstrap/generated.ts src/python/generated.ts",
113
+ "precommit": "bun run typecheck && bun run update-all-docs && git add docs/apis/ && bun compile",
113
114
  "test:integration": "bun test ./test-integration/"
114
115
  },
115
116
  "devDependencies": {
@@ -3,6 +3,7 @@ import { type NodeFeatures, NodeContainer } from '../node/container'
3
3
  import '@/introspection/generated.agi.js'
4
4
  import { OpenAIClient } from '../clients/openai'
5
5
  import { ElevenLabsClient } from '../clients/elevenlabs'
6
+ import { VoiceBoxClient } from '../clients/voicebox'
6
7
  import { ClaudeCode } from './features/claude-code'
7
8
  import { OpenAICodex } from './features/openai-codex'
8
9
  import { Conversation } from './features/conversation'
@@ -16,6 +17,8 @@ import { SemanticSearch } from '@soederpop/luca/node/features/semantic-search'
16
17
  import { ContentDb } from '@soederpop/luca/node/features/content-db'
17
18
  import { FileTools } from './features/file-tools'
18
19
  import { LucaCoder } from './features/luca-coder'
20
+ import { Memory } from './features/agent-memory'
21
+ import { CodingTools } from './features/coding-tools'
19
22
 
20
23
  import type { ConversationTool } from './features/conversation'
21
24
  import type { ZodType } from 'zod'
@@ -32,6 +35,8 @@ export {
32
35
  BrowserUse,
33
36
  FileTools,
34
37
  LucaCoder,
38
+ Memory,
39
+ CodingTools,
35
40
  SemanticSearch,
36
41
  ContentDb,
37
42
  NodeContainer,
@@ -58,6 +63,8 @@ export interface AGIFeatures extends NodeFeatures {
58
63
  browserUse: typeof BrowserUse
59
64
  fileTools: typeof FileTools
60
65
  lucaCoder: typeof LucaCoder
66
+ memory: typeof Memory
67
+ codingTools: typeof CodingTools
61
68
  }
62
69
 
63
70
  export interface ConversationFactoryOptions {
@@ -122,6 +129,7 @@ export class AGIContainer<
122
129
  const container = new AGIContainer()
123
130
  .use(OpenAIClient)
124
131
  .use(ElevenLabsClient)
132
+ .use(VoiceBoxClient)
125
133
  .use(ClaudeCode)
126
134
  .use(OpenAICodex)
127
135
  .use(Conversation)
@@ -133,6 +141,8 @@ const container = new AGIContainer()
133
141
  .use(BrowserUse)
134
142
  .use(FileTools)
135
143
  .use(LucaCoder)
144
+ .use(Memory)
145
+ .use(CodingTools)
136
146
  .use(SemanticSearch)
137
147
 
138
148
  container.docs = container.feature('contentDb', {