@soederpop/luca 0.0.17 → 0.0.20
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/assistants/codingAssistant/CORE.md +25 -0
- package/assistants/codingAssistant/hooks.ts +3 -0
- package/assistants/codingAssistant/tools.ts +108 -0
- package/package.json +2 -2
- package/src/agi/features/assistant.ts +48 -0
- package/src/bootstrap/generated.ts +1 -1
- package/src/commands/chat.ts +42 -6
- package/src/commands/describe.ts +557 -94
- package/src/introspection/generated.agi.ts +471 -471
- package/src/introspection/generated.node.ts +1176 -1176
- package/src/introspection/generated.web.ts +1 -1
- package/src/introspection/index.ts +7 -0
- package/src/registry.ts +12 -1
- package/src/scaffolds/generated.ts +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { setBuildTimeData, setContainerBuildTimeData } from './index.js';
|
|
2
2
|
|
|
3
3
|
// Auto-generated introspection registry data
|
|
4
|
-
// Generated at: 2026-03-
|
|
4
|
+
// Generated at: 2026-03-21T01:13:42.185Z
|
|
5
5
|
|
|
6
6
|
setBuildTimeData('features.containerLink', {
|
|
7
7
|
"id": "features.containerLink",
|
|
@@ -122,6 +122,13 @@ export type ContainerIntrospection = {
|
|
|
122
122
|
export const __INTROSPECTION__ = new Map<string, HelperIntrospection>()
|
|
123
123
|
export const __CONTAINER_INTROSPECTION__ = new Map<string, Partial<ContainerIntrospection>>()
|
|
124
124
|
|
|
125
|
+
/**
|
|
126
|
+
* Separate introspection store for browser/web features.
|
|
127
|
+
* Used by the describe command to show web feature data in node
|
|
128
|
+
* without colliding with the main introspection map.
|
|
129
|
+
*/
|
|
130
|
+
export const __BROWSER_INTROSPECTION__ = new Map<string, HelperIntrospection>()
|
|
131
|
+
|
|
125
132
|
/** Option keys inherited from base schemas that are internal and should be hidden from introspection output */
|
|
126
133
|
const INTERNAL_OPTION_KEYS = new Set(['name', '_cacheKey', 'cached', 'enable'])
|
|
127
134
|
|
package/src/registry.ts
CHANGED
|
@@ -69,7 +69,18 @@ abstract class Registry<T extends Helper> {
|
|
|
69
69
|
return constructor
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
/**
|
|
72
|
+
/**
|
|
73
|
+
* Remove a helper from this registry.
|
|
74
|
+
*
|
|
75
|
+
* @param id - The id of the helper to unregister.
|
|
76
|
+
* @returns True if the helper was removed, false if it wasn't registered.
|
|
77
|
+
*/
|
|
78
|
+
unregister(id: string) : boolean {
|
|
79
|
+
const key = id.replace(`${this.scope}.`, '')
|
|
80
|
+
return this.members.delete(key)
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/**
|
|
73
84
|
* Check if a helper is registered in this registry.
|
|
74
85
|
*
|
|
75
86
|
* @param id - The id of the helper to check.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Auto-generated scaffold and MCP readme content
|
|
2
|
-
// Generated at: 2026-03-
|
|
2
|
+
// Generated at: 2026-03-21T01:13:43.075Z
|
|
3
3
|
// Source: docs/scaffolds/*.md, docs/examples/assistant/, and docs/mcp/readme.md
|
|
4
4
|
//
|
|
5
5
|
// Do not edit manually. Run: luca build-scaffolds
|