|
|
@@ -9,6 +9,7 @@ import { registerRememberSkill } from './remember.js'
|
|
|
import { registerSimplifySkill } from './simplify.js'
|
|
|
import { registerSkillifySkill } from './skillify.js'
|
|
|
import { registerStuckSkill } from './stuck.js'
|
|
|
+import { registerLoopSkill } from './loop.js'
|
|
|
import { registerUpdateConfigSkill } from './updateConfig.js'
|
|
|
import { registerVerifySkill } from './verify.js'
|
|
|
|
|
|
@@ -32,6 +33,7 @@ export function initBundledSkills(): void {
|
|
|
registerSimplifySkill()
|
|
|
registerBatchSkill()
|
|
|
registerStuckSkill()
|
|
|
+ registerLoopSkill()
|
|
|
if (feature('KAIROS') || feature('KAIROS_DREAM')) {
|
|
|
/* eslint-disable @typescript-eslint/no-require-imports */
|
|
|
const { registerDreamSkill } = require('./dream.js')
|
|
|
@@ -44,15 +46,6 @@ export function initBundledSkills(): void {
|
|
|
/* eslint-enable @typescript-eslint/no-require-imports */
|
|
|
registerHunterSkill()
|
|
|
}
|
|
|
- if (feature('AGENT_TRIGGERS')) {
|
|
|
- /* eslint-disable @typescript-eslint/no-require-imports */
|
|
|
- const { registerLoopSkill } = require('./loop.js')
|
|
|
- /* eslint-enable @typescript-eslint/no-require-imports */
|
|
|
- // /loop's isEnabled delegates to isKairosCronEnabled() — same lazy
|
|
|
- // per-invocation pattern as the cron tools. Registered unconditionally;
|
|
|
- // the skill's own isEnabled callback decides visibility.
|
|
|
- registerLoopSkill()
|
|
|
- }
|
|
|
if (feature('AGENT_TRIGGERS_REMOTE')) {
|
|
|
/* eslint-disable @typescript-eslint/no-require-imports */
|
|
|
const {
|