minimal-agent 0.18.6 → 0.18.8
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 +1 -1
- package/plugins/workflow-runner/src/runtime/context.js +5 -17
- package/plugins/workflow-runner/src/runtime/context.ts +4 -15
- package/plugins/workflow-runner/src/runtime/model.js +4 -2
- package/plugins/workflow-runner/src/runtime/model.ts +3 -2
- package/plugins/workflow-runner/test/api.test.ts +4 -2
- package/plugins/workflow-runner/test/embeddedExecution.test.ts +5 -6
- package/plugins/workflow-runner/test/modelOutcome.test.ts +36 -0
- package/skills/dynamic-ui/SKILL.md +38 -278
- package/skills/dynamic-ui/mermaid.md +32 -0
- package/skills/dynamic-ui/scenes/architecture-and-flow.md +4 -1
- package/skills/dynamic-ui/scenes/data-visualization.md +5 -2
- package/skills/dynamic-ui/svg-design.md +251 -0
- package/skills/dynamic-ui/templates/README.md +2 -1
- package/skills/dynamic-ui/tokens/visual-tokens.md +4 -5
- package/src/advisor/README.md +24 -0
- package/src/advisor/advisorCoordinator.js +101 -45
- package/src/advisor/advisorCoordinator.ts +90 -51
- package/src/advisor/deliveryReview.js +35 -0
- package/src/advisor/deliveryReview.ts +30 -0
- package/src/advisor/presentation.js +10 -0
- package/src/advisor/presentation.ts +12 -0
- package/src/advisor/reviewContext.js +60 -0
- package/src/advisor/reviewContext.ts +72 -0
- package/src/context/persistContext.js +5 -1
- package/src/context/persistContext.ts +5 -2
- package/src/context/tokenCounter.js +3 -0
- package/src/context/tokenCounter.ts +2 -0
- package/src/llm/messageProvenance.js +1 -1
- package/src/llm/messageProvenance.ts +1 -1
- package/src/loop.js +226 -31
- package/src/loop.ts +205 -31
- package/src/memory/fileStore.js +2 -34
- package/src/memory/fileStore.ts +2 -26
- package/src/prompts/policyRegistry.js +13 -9
- package/src/prompts/policyRegistry.ts +15 -9
- package/src/prompts/promptAssembly.js +16 -23
- package/src/prompts/promptAssembly.ts +22 -27
- package/src/prompts/visualPresentation.js +28 -0
- package/src/prompts/visualPresentation.ts +26 -0
- package/src/runtime/agentRuntimeContext.js +3 -0
- package/src/runtime/agentRuntimeContext.ts +4 -0
- package/src/runtime/answerPreparation.js +9 -0
- package/src/runtime/answerPreparation.ts +11 -0
- package/src/runtime/eventSemantics.js +2 -0
- package/src/runtime/eventSemantics.ts +2 -0
- package/src/runtime/fileLock.js +75 -0
- package/src/runtime/fileLock.ts +73 -0
- package/src/runtime/finalAnswer.js +9 -0
- package/src/runtime/finalAnswer.ts +13 -0
- package/src/runtime/lifecycleTrace.js +16 -0
- package/src/runtime/lifecycleTrace.ts +22 -0
- package/src/runtime/outputContract.js +17 -0
- package/src/runtime/outputContract.ts +34 -0
- package/src/session/runAgentTurn.js +7 -2
- package/src/session/runAgentTurn.ts +7 -2
- package/src/session/runTurn.js +15 -1
- package/src/session/runTurn.ts +13 -1
- package/src/session/runtimeStore.js +11 -28
- package/src/session/runtimeStore.ts +9 -23
- package/src/tools/advisor/advisor.js +56 -40
- package/src/tools/advisor/advisor.ts +57 -39
- package/src/tools/advisor/advisorDecision.js +6 -3
- package/src/tools/advisor/advisorDecision.ts +6 -3
- package/src/tools/agent/agent.js +14 -6
- package/src/tools/agent/agent.ts +14 -5
- package/src/tools/bash/semantics.js +91 -26
- package/src/tools/bash/semantics.ts +63 -33
- package/src/tools/index.js +4 -1
- package/src/tools/index.ts +4 -1
- package/src/tools/skill/searchSkills.js +2 -2
- package/src/tools/skill/searchSkills.ts +2 -2
- package/src/tools/skill/skill.js +4 -0
- package/src/tools/skill/skill.ts +3 -0
- package/src/types.ts +19 -6
- package/src/ui/LiveArea.js +2 -1
- package/src/ui/LiveArea.tsx +2 -1
- package/src/ui/MessageList.js +18 -5
- package/src/ui/MessageList.tsx +25 -3
- package/src/ui/draftNotice.js +1 -8
- package/src/ui/draftNotice.ts +1 -10
- package/src/ui/hooks/useChat.js +25 -1
- package/src/ui/hooks/useChat.ts +22 -1
- package/src/web/protocol.ts +3 -1
package/src/web/protocol.ts
CHANGED
|
@@ -292,6 +292,7 @@ export interface SkillInfo {
|
|
|
292
292
|
name: string;
|
|
293
293
|
description: string;
|
|
294
294
|
source?: 'builtin' | 'workspace';
|
|
295
|
+
unavailableReason?: string;
|
|
295
296
|
}
|
|
296
297
|
|
|
297
298
|
export type ApiFormat = 'openai' | 'anthropic';
|
|
@@ -2195,6 +2196,7 @@ export type ClientFrame =
|
|
|
2195
2196
|
| { t: 'answer'; requestId: string; answers: AskAnswer[] }
|
|
2196
2197
|
| { t: 'cancelAsk'; requestId: string }
|
|
2197
2198
|
| { t: 'abort' }
|
|
2199
|
+
| { t: 'compact/abort'; requestId: string }
|
|
2198
2200
|
| { t: 'new'; dir: string; sessionId?: string }
|
|
2199
2201
|
| { t: 'compact'; dir: string; sessionId?: string; requestId?: string }
|
|
2200
2202
|
| { t: 'listDirs' }
|
|
@@ -3060,7 +3062,7 @@ export type ServerFrame =
|
|
|
3060
3062
|
ok: boolean;
|
|
3061
3063
|
message: string;
|
|
3062
3064
|
}
|
|
3063
|
-
| { t: 'skills'; skills: SkillInfo[] }
|
|
3065
|
+
| { t: 'skills'; skills: SkillInfo[]; dir?: string | null }
|
|
3064
3066
|
| { t: 'server_error'; message: string }
|
|
3065
3067
|
| { t: 'resource/crons/list'; tasks: CronTaskWithRuns[]; missedCount: number }
|
|
3066
3068
|
| { t: 'resource/crons/draft'; draft: CronDraftResult }
|