@soederpop/luca 0.1.1 → 0.1.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.
@@ -1,2 +1,9 @@
1
+ import type { Assistant } from "@/agi"
2
+
1
3
  export function started() {
4
+ assistant.state.set('startedHookRan', true)
5
+ }
6
+
7
+ export function created(assistant: Assistant) {
8
+ assistant.use(container.feature('skillsLibrary'))
2
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soederpop/luca",
3
- "version": "0.1.1",
3
+ "version": "0.1.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>",
@@ -0,0 +1,13 @@
1
+ import container from '@soederpop/luca/agi'
2
+
3
+ const coder = container.feature('assistant', { folder: 'assistants/codingAssistant' })
4
+
5
+ await coder.start()
6
+ console.log("Available Tools", coder.availableTools)
7
+
8
+ if (coder.state.get('startedHookRan')) {
9
+ console.log('Started Hook Ran')
10
+ }
11
+
12
+
13
+
@@ -3,6 +3,7 @@ import { FeatureStateSchema, FeatureOptionsSchema, FeatureEventsSchema } from '.
3
3
  import { type AvailableFeatures, Feature } from '@soederpop/luca/feature'
4
4
  import { parse } from 'contentbase'
5
5
  import type { DocsReader } from './docs-reader.js'
6
+ import type Assistant from './assistant.js'
6
7
 
7
8
  declare module '@soederpop/luca/feature' {
8
9
  interface AvailableFeatures {
@@ -100,6 +101,12 @@ export class SkillsLibrary extends Feature<SkillsLibraryState, SkillsLibraryOpti
100
101
  skills: {},
101
102
  }
102
103
  }
104
+
105
+ override setupToolsConsumer(assistant: Assistant) {
106
+ console.log('setting up tools consumer', assistant.uuid)
107
+ assistant.state.set('toolsSetup', true)
108
+ return assistant
109
+ }
103
110
 
104
111
  /** Discovered skills keyed by name. */
105
112
  get skills(): Record<string, SkillInfo> {
@@ -1,5 +1,5 @@
1
1
  // Auto-generated bootstrap content
2
- // Generated at: 2026-03-28T06:19:50.048Z
2
+ // Generated at: 2026-03-30T06:52:56.930Z
3
3
  // Source: docs/bootstrap/*.md, docs/bootstrap/templates/*, docs/examples/*.md, docs/tutorials/*.md
4
4
  //
5
5
  // Do not edit manually. Run: luca build-bootstrap
@@ -1,4 +1,4 @@
1
1
  // Generated at compile time — do not edit manually
2
- export const BUILD_SHA = 'a3cadf8'
2
+ export const BUILD_SHA = 'e1b45a8'
3
3
  export const BUILD_BRANCH = 'main'
4
- export const BUILD_DATE = '2026-03-28T06:19:50Z'
4
+ export const BUILD_DATE = '2026-03-30T06:52:57Z'