actoviq-agent-sdk 0.4.8 → 0.4.10
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/CHANGELOG.md +77 -21
- package/README-zh.md +28 -31
- package/README.md +36 -39
- package/SECURITY.md +3 -3
- package/bin/hadamard-app-server.js +5 -0
- package/bin/{actoviq-gui.js → hadamard-gui.js} +4 -4
- package/bin/{actoviq-interactive-agent.js → hadamard-interactive-agent.js} +1 -1
- package/bin/{actoviq-link-runtime.js → hadamard-link-runtime.js} +10 -10
- package/bin/hadamard-react.js +5 -0
- package/bin/hadamard-tui.js +5 -0
- package/dist/src/app-server/appServer.d.ts +14 -0
- package/dist/src/app-server/appServer.d.ts.map +1 -0
- package/dist/src/app-server/appServer.js +228 -0
- package/dist/src/app-server/appServer.js.map +1 -0
- package/dist/src/app-server/cli.d.ts +3 -0
- package/dist/src/app-server/cli.d.ts.map +1 -0
- package/dist/src/app-server/cli.js +29 -0
- package/dist/src/app-server/cli.js.map +1 -0
- package/dist/src/app-server/index.d.ts +5 -0
- package/dist/src/app-server/index.d.ts.map +1 -0
- package/dist/src/app-server/index.js +5 -0
- package/dist/src/app-server/index.js.map +1 -0
- package/dist/src/app-server/protocol.d.ts +24 -0
- package/dist/src/app-server/protocol.d.ts.map +1 -0
- package/dist/src/app-server/protocol.js +14 -0
- package/dist/src/app-server/protocol.js.map +1 -0
- package/dist/src/app-server/transports/stdioTransport.d.ts +11 -0
- package/dist/src/app-server/transports/stdioTransport.d.ts.map +1 -0
- package/dist/src/app-server/transports/stdioTransport.js +37 -0
- package/dist/src/app-server/transports/stdioTransport.js.map +1 -0
- package/dist/src/app-server/transports/webSocketTransport.d.ts +13 -0
- package/dist/src/app-server/transports/webSocketTransport.d.ts.map +1 -0
- package/dist/src/app-server/transports/webSocketTransport.js +43 -0
- package/dist/src/app-server/transports/webSocketTransport.js.map +1 -0
- package/dist/src/browser/browserSettings.d.ts +4 -4
- package/dist/src/browser/browserSettings.d.ts.map +1 -1
- package/dist/src/browser/browserSettings.js +3 -3
- package/dist/src/browser/browserSettings.js.map +1 -1
- package/dist/src/browser/{actoviqBrowserSession.d.ts → hadamardBrowserSession.d.ts} +12 -12
- package/dist/src/browser/hadamardBrowserSession.d.ts.map +1 -0
- package/dist/src/browser/{actoviqBrowserSession.js → hadamardBrowserSession.js} +9 -9
- package/dist/src/browser/hadamardBrowserSession.js.map +1 -0
- package/dist/src/browser/{actoviqBrowserTools.d.ts → hadamardBrowserTools.d.ts} +10 -10
- package/dist/src/browser/hadamardBrowserTools.d.ts.map +1 -0
- package/dist/src/browser/{actoviqBrowserTools.js → hadamardBrowserTools.js} +11 -11
- package/dist/src/browser/hadamardBrowserTools.js.map +1 -0
- package/dist/src/buddy/hadamardBuddy.d.ts +20 -0
- package/dist/src/buddy/hadamardBuddy.d.ts.map +1 -0
- package/dist/src/buddy/{actoviqBuddy.js → hadamardBuddy.js} +23 -23
- package/dist/src/buddy/hadamardBuddy.js.map +1 -0
- package/dist/src/checkpoint/checkpointTools.d.ts +8 -0
- package/dist/src/checkpoint/checkpointTools.d.ts.map +1 -0
- package/dist/src/checkpoint/checkpointTools.js +36 -0
- package/dist/src/checkpoint/checkpointTools.js.map +1 -0
- package/dist/src/checkpoint/fileChangeJournal.d.ts +15 -0
- package/dist/src/checkpoint/fileChangeJournal.d.ts.map +1 -0
- package/dist/src/checkpoint/fileChangeJournal.js +16 -0
- package/dist/src/checkpoint/fileChangeJournal.js.map +1 -0
- package/dist/src/checkpoint/fileCheckpointService.d.ts +46 -0
- package/dist/src/checkpoint/fileCheckpointService.d.ts.map +1 -0
- package/dist/src/checkpoint/fileCheckpointService.js +342 -0
- package/dist/src/checkpoint/fileCheckpointService.js.map +1 -0
- package/dist/src/checkpoint/index.d.ts +5 -0
- package/dist/src/checkpoint/index.d.ts.map +1 -0
- package/dist/src/checkpoint/index.js +5 -0
- package/dist/src/checkpoint/index.js.map +1 -0
- package/dist/src/checkpoint/types.d.ts +64 -0
- package/dist/src/checkpoint/types.d.ts.map +1 -0
- package/dist/src/checkpoint/types.js +2 -0
- package/dist/src/checkpoint/types.js.map +1 -0
- package/dist/src/cli/bridge-interactive-agent.js +12 -12
- package/dist/src/cli/bridge-interactive-agent.js.map +1 -1
- package/dist/src/cli/hadamard-react.d.ts +3 -0
- package/dist/src/cli/hadamard-react.d.ts.map +1 -0
- package/dist/src/cli/{actoviq-react.js → hadamard-react.js} +631 -36
- package/dist/src/cli/hadamard-react.js.map +1 -0
- package/dist/src/cli/hadamard-tui.d.ts +3 -0
- package/dist/src/cli/hadamard-tui.d.ts.map +1 -0
- package/dist/src/cli/{actoviq-tui.js → hadamard-tui.js} +11 -11
- package/dist/src/cli/hadamard-tui.js.map +1 -0
- package/dist/src/codeIntel/codeIntelligenceService.d.ts +26 -0
- package/dist/src/codeIntel/codeIntelligenceService.d.ts.map +1 -0
- package/dist/src/codeIntel/codeIntelligenceService.js +211 -0
- package/dist/src/codeIntel/codeIntelligenceService.js.map +1 -0
- package/dist/src/codeIntel/codeIntelligenceTools.d.ts +4 -0
- package/dist/src/codeIntel/codeIntelligenceTools.d.ts.map +1 -0
- package/dist/src/codeIntel/codeIntelligenceTools.js +36 -0
- package/dist/src/codeIntel/codeIntelligenceTools.js.map +1 -0
- package/dist/src/codeIntel/index.d.ts +6 -0
- package/dist/src/codeIntel/index.d.ts.map +1 -0
- package/dist/src/codeIntel/index.js +6 -0
- package/dist/src/codeIntel/index.js.map +1 -0
- package/dist/src/codeIntel/languageServerRegistry.d.ts +9 -0
- package/dist/src/codeIntel/languageServerRegistry.d.ts.map +1 -0
- package/dist/src/codeIntel/languageServerRegistry.js +49 -0
- package/dist/src/codeIntel/languageServerRegistry.js.map +1 -0
- package/dist/src/codeIntel/lspProcess.d.ts +26 -0
- package/dist/src/codeIntel/lspProcess.d.ts.map +1 -0
- package/dist/src/codeIntel/lspProcess.js +141 -0
- package/dist/src/codeIntel/lspProcess.js.map +1 -0
- package/dist/src/codeIntel/types.d.ts +36 -0
- package/dist/src/codeIntel/types.d.ts.map +1 -0
- package/dist/src/codeIntel/types.js +2 -0
- package/dist/src/codeIntel/types.js.map +1 -0
- package/dist/src/compat/diagnostics.js +1 -1
- package/dist/src/compat/diagnostics.js.map +1 -1
- package/dist/src/computer/hadamardComputerUse.d.ts +11 -0
- package/dist/src/computer/hadamardComputerUse.d.ts.map +1 -0
- package/dist/src/computer/{actoviqComputerUse.js → hadamardComputerUse.js} +11 -11
- package/dist/src/computer/hadamardComputerUse.js.map +1 -0
- package/dist/src/config/agentProfiles.d.ts +6 -6
- package/dist/src/config/agentProfiles.d.ts.map +1 -1
- package/dist/src/config/agentProfiles.js +12 -12
- package/dist/src/config/agentProfiles.js.map +1 -1
- package/dist/src/config/anthropicEnvMapping.d.ts +5 -5
- package/dist/src/config/anthropicEnvMapping.d.ts.map +1 -1
- package/dist/src/config/anthropicEnvMapping.js +20 -16
- package/dist/src/config/anthropicEnvMapping.js.map +1 -1
- package/dist/src/config/hadamardHome.d.ts +47 -0
- package/dist/src/config/hadamardHome.d.ts.map +1 -0
- package/dist/src/config/{actoviqHome.js → hadamardHome.js} +84 -29
- package/dist/src/config/hadamardHome.js.map +1 -0
- package/dist/src/config/hadamardSettingsStore.d.ts +13 -0
- package/dist/src/config/hadamardSettingsStore.d.ts.map +1 -0
- package/dist/src/config/{actoviqSettingsStore.js → hadamardSettingsStore.js} +11 -11
- package/dist/src/config/hadamardSettingsStore.js.map +1 -0
- package/dist/src/config/loadDefaultHadamardSettings.d.ts +7 -0
- package/dist/src/config/loadDefaultHadamardSettings.d.ts.map +1 -0
- package/dist/src/config/{loadDefaultActoviqSettings.js → loadDefaultHadamardSettings.js} +4 -4
- package/dist/src/config/loadDefaultHadamardSettings.js.map +1 -0
- package/dist/src/config/loadHadamardSettings.d.ts +8 -0
- package/dist/src/config/loadHadamardSettings.d.ts.map +1 -0
- package/dist/src/config/{loadActoviqSettings.js → loadHadamardSettings.js} +3 -3
- package/dist/src/config/loadHadamardSettings.js.map +1 -0
- package/dist/src/config/modelTiers.d.ts +7 -7
- package/dist/src/config/modelTiers.d.ts.map +1 -1
- package/dist/src/config/modelTiers.js +7 -7
- package/dist/src/config/modelTiers.js.map +1 -1
- package/dist/src/config/projectSessionDirectory.d.ts +6 -6
- package/dist/src/config/projectSessionDirectory.d.ts.map +1 -1
- package/dist/src/config/projectSessionDirectory.js +15 -15
- package/dist/src/config/projectSessionDirectory.js.map +1 -1
- package/dist/src/config/resolveRuntimeConfig.d.ts.map +1 -1
- package/dist/src/config/resolveRuntimeConfig.js +102 -29
- package/dist/src/config/resolveRuntimeConfig.js.map +1 -1
- package/dist/src/context/ruleCommandService.d.ts +14 -0
- package/dist/src/context/ruleCommandService.d.ts.map +1 -0
- package/dist/src/context/ruleCommandService.js +54 -0
- package/dist/src/context/ruleCommandService.js.map +1 -0
- package/dist/src/context/ruleResolver.d.ts +3 -0
- package/dist/src/context/ruleResolver.d.ts.map +1 -0
- package/dist/src/context/ruleResolver.js +27 -0
- package/dist/src/context/ruleResolver.js.map +1 -0
- package/dist/src/context/ruleStore.d.ts +11 -0
- package/dist/src/context/ruleStore.d.ts.map +1 -0
- package/dist/src/context/ruleStore.js +76 -0
- package/dist/src/context/ruleStore.js.map +1 -0
- package/dist/src/context/ruleTypes.d.ts +16 -0
- package/dist/src/context/ruleTypes.d.ts.map +1 -0
- package/dist/src/context/ruleTypes.js +2 -0
- package/dist/src/context/ruleTypes.js.map +1 -0
- package/dist/src/errors.d.ts +10 -10
- package/dist/src/errors.d.ts.map +1 -1
- package/dist/src/errors.js +13 -13
- package/dist/src/errors.js.map +1 -1
- package/dist/src/events/openTelemetry.js +8 -8
- package/dist/src/events/openTelemetry.js.map +1 -1
- package/dist/src/goal/goalPrompt.d.ts +16 -0
- package/dist/src/goal/goalPrompt.d.ts.map +1 -0
- package/dist/src/goal/goalPrompt.js +51 -0
- package/dist/src/goal/goalPrompt.js.map +1 -0
- package/dist/src/goal/goalService.d.ts +92 -0
- package/dist/src/goal/goalService.d.ts.map +1 -0
- package/dist/src/goal/goalService.js +291 -0
- package/dist/src/goal/goalService.js.map +1 -0
- package/dist/src/goal/goalStore.d.ts +82 -0
- package/dist/src/goal/goalStore.d.ts.map +1 -0
- package/dist/src/goal/goalStore.js +231 -0
- package/dist/src/goal/goalStore.js.map +1 -0
- package/dist/src/goal/goalTools.d.ts +12 -0
- package/dist/src/goal/goalTools.d.ts.map +1 -0
- package/dist/src/goal/goalTools.js +131 -0
- package/dist/src/goal/goalTools.js.map +1 -0
- package/dist/src/goal/index.d.ts +15 -0
- package/dist/src/goal/index.d.ts.map +1 -0
- package/dist/src/goal/index.js +6 -0
- package/dist/src/goal/index.js.map +1 -0
- package/dist/src/goal/types.d.ts +89 -0
- package/dist/src/goal/types.d.ts.map +1 -0
- package/dist/src/goal/types.js +16 -0
- package/dist/src/goal/types.js.map +1 -0
- package/dist/src/gui/contextRailStore.js +2 -2
- package/dist/src/gui/contextRailStore.js.map +1 -1
- package/dist/src/gui/electronMain.js +55 -22
- package/dist/src/gui/electronMain.js.map +1 -1
- package/dist/src/gui/externalCliAgentMonitor.js +3 -3
- package/dist/src/gui/externalCliAgentMonitor.js.map +1 -1
- package/dist/src/gui/guiAssets.d.ts +2 -2
- package/dist/src/gui/guiAssets.d.ts.map +1 -1
- package/dist/src/gui/guiAssets.js +6 -6
- package/dist/src/gui/guiAssets.js.map +1 -1
- package/dist/src/gui/{actoviqGui.d.ts → hadamardGui.d.ts} +14 -11
- package/dist/src/gui/hadamardGui.d.ts.map +1 -0
- package/dist/src/gui/{actoviqGui.js → hadamardGui.js} +4142 -1269
- package/dist/src/gui/hadamardGui.js.map +1 -0
- package/dist/src/gui/projectMeta.js +2 -2
- package/dist/src/gui/projectMeta.js.map +1 -1
- package/dist/src/gui/transcript/clientBundle.js +11 -11
- package/dist/src/gui/workspaceNote.js +2 -2
- package/dist/src/gui/workspaceNote.js.map +1 -1
- package/dist/src/gui/workspaceRegistry.d.ts +14 -0
- package/dist/src/gui/workspaceRegistry.d.ts.map +1 -1
- package/dist/src/gui/workspaceRegistry.js +140 -13
- package/dist/src/gui/workspaceRegistry.js.map +1 -1
- package/dist/src/hooks/hadamardHooks.d.ts +9 -0
- package/dist/src/hooks/hadamardHooks.d.ts.map +1 -0
- package/dist/src/hooks/{actoviqHooks.js → hadamardHooks.js} +7 -7
- package/dist/src/hooks/hadamardHooks.js.map +1 -0
- package/dist/src/hooks/handlers/commandHook.d.ts +3 -0
- package/dist/src/hooks/handlers/commandHook.d.ts.map +1 -0
- package/dist/src/hooks/handlers/commandHook.js +28 -0
- package/dist/src/hooks/handlers/commandHook.js.map +1 -0
- package/dist/src/hooks/handlers/httpHook.d.ts +3 -0
- package/dist/src/hooks/handlers/httpHook.d.ts.map +1 -0
- package/dist/src/hooks/handlers/httpHook.js +29 -0
- package/dist/src/hooks/handlers/httpHook.js.map +1 -0
- package/dist/src/hooks/handlers/promptHook.d.ts +8 -0
- package/dist/src/hooks/handlers/promptHook.d.ts.map +1 -0
- package/dist/src/hooks/handlers/promptHook.js +13 -0
- package/dist/src/hooks/handlers/promptHook.js.map +1 -0
- package/dist/src/hooks/hookConfig.d.ts +6 -0
- package/dist/src/hooks/hookConfig.d.ts.map +1 -0
- package/dist/src/hooks/hookConfig.js +78 -0
- package/dist/src/hooks/hookConfig.js.map +1 -0
- package/dist/src/hooks/hookRunner.d.ts +14 -0
- package/dist/src/hooks/hookRunner.d.ts.map +1 -0
- package/dist/src/hooks/hookRunner.js +77 -0
- package/dist/src/hooks/hookRunner.js.map +1 -0
- package/dist/src/hooks/hookTypes.d.ts +48 -0
- package/dist/src/hooks/hookTypes.d.ts.map +1 -0
- package/dist/src/hooks/hookTypes.js +2 -0
- package/dist/src/hooks/hookTypes.js.map +1 -0
- package/dist/src/hooks/userHooks.d.ts +2 -2
- package/dist/src/hooks/userHooks.d.ts.map +1 -1
- package/dist/src/hooks/userHooks.js +11 -11
- package/dist/src/hooks/userHooks.js.map +1 -1
- package/dist/src/index.d.ts +101 -56
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +89 -48
- package/dist/src/index.js.map +1 -1
- package/dist/src/issues/issueExecution.d.ts +4 -4
- package/dist/src/issues/issueExecution.d.ts.map +1 -1
- package/dist/src/issues/issueExecution.js +8 -8
- package/dist/src/issues/issueExecution.js.map +1 -1
- package/dist/src/issues/issueStore.js +3 -3
- package/dist/src/issues/issueStore.js.map +1 -1
- package/dist/src/manager/assistantGlobalTools.d.ts +56 -0
- package/dist/src/manager/assistantGlobalTools.d.ts.map +1 -0
- package/dist/src/manager/assistantGlobalTools.js +657 -0
- package/dist/src/manager/assistantGlobalTools.js.map +1 -0
- package/dist/src/manager/projectManager.d.ts +7 -3
- package/dist/src/manager/projectManager.d.ts.map +1 -1
- package/dist/src/manager/projectManager.js +32 -25
- package/dist/src/manager/projectManager.js.map +1 -1
- package/dist/src/mcp/mcpServerConfig.js +3 -3
- package/dist/src/mcp/mcpServerConfig.js.map +1 -1
- package/dist/src/memory/hadamardDream.d.ts +61 -0
- package/dist/src/memory/hadamardDream.d.ts.map +1 -0
- package/dist/src/memory/{actoviqDream.js → hadamardDream.js} +27 -27
- package/dist/src/memory/hadamardDream.js.map +1 -0
- package/dist/src/memory/hadamardMemory.d.ts +63 -0
- package/dist/src/memory/hadamardMemory.d.ts.map +1 -0
- package/dist/src/memory/{actoviqMemory.js → hadamardMemory.js} +32 -32
- package/dist/src/memory/hadamardMemory.js.map +1 -0
- package/dist/src/memory/{actoviqRelevantMemories.d.ts → hadamardRelevantMemories.d.ts} +7 -7
- package/dist/src/memory/hadamardRelevantMemories.d.ts.map +1 -0
- package/dist/src/memory/{actoviqRelevantMemories.js → hadamardRelevantMemories.js} +1 -1
- package/dist/src/memory/hadamardRelevantMemories.js.map +1 -0
- package/dist/src/memory/hadamardSessionMemoryState.d.ts +14 -0
- package/dist/src/memory/hadamardSessionMemoryState.d.ts.map +1 -0
- package/dist/src/memory/{actoviqSessionMemoryState.js → hadamardSessionMemoryState.js} +19 -19
- package/dist/src/memory/hadamardSessionMemoryState.js.map +1 -0
- package/dist/src/memory/{actoviqTranscriptLogger.d.ts → hadamardTranscriptLogger.d.ts} +1 -1
- package/dist/src/memory/hadamardTranscriptLogger.d.ts.map +1 -0
- package/dist/src/memory/{actoviqTranscriptLogger.js → hadamardTranscriptLogger.js} +1 -1
- package/dist/src/memory/hadamardTranscriptLogger.js.map +1 -0
- package/dist/src/memory/memoryProposalCommandService.d.ts +13 -0
- package/dist/src/memory/memoryProposalCommandService.d.ts.map +1 -0
- package/dist/src/memory/memoryProposalCommandService.js +36 -0
- package/dist/src/memory/memoryProposalCommandService.js.map +1 -0
- package/dist/src/memory/memoryProposalService.d.ts +33 -0
- package/dist/src/memory/memoryProposalService.d.ts.map +1 -0
- package/dist/src/memory/memoryProposalService.js +121 -0
- package/dist/src/memory/memoryProposalService.js.map +1 -0
- package/dist/src/memory/memoryProposalTools.d.ts +8 -0
- package/dist/src/memory/memoryProposalTools.d.ts.map +1 -0
- package/dist/src/memory/memoryProposalTools.js +35 -0
- package/dist/src/memory/memoryProposalTools.js.map +1 -0
- package/dist/src/memory/sessionHistory.js +2 -2
- package/dist/src/memory/sessionHistory.js.map +1 -1
- package/dist/src/parity/bridgeConfigs.js +3 -3
- package/dist/src/parity/bridgeConfigs.js.map +1 -1
- package/dist/src/parity/bridgeEventAdapter.d.ts +6 -6
- package/dist/src/parity/bridgeEventAdapter.d.ts.map +1 -1
- package/dist/src/parity/bridgeEventAdapter.js +3 -3
- package/dist/src/parity/bridgeEventAdapter.js.map +1 -1
- package/dist/src/parity/bridgeExecResolver.d.ts +1 -1
- package/dist/src/parity/bridgeExecResolver.js +1 -1
- package/dist/src/parity/bridgeProviders.d.ts +12 -12
- package/dist/src/parity/bridgeProviders.d.ts.map +1 -1
- package/dist/src/parity/bridgeProviders.js +31 -31
- package/dist/src/parity/bridgeProviders.js.map +1 -1
- package/dist/src/parity/codewhaleRuntimeAdapter.d.ts +4 -4
- package/dist/src/parity/codewhaleRuntimeAdapter.d.ts.map +1 -1
- package/dist/src/parity/codewhaleRuntimeAdapter.js +9 -9
- package/dist/src/parity/codewhaleRuntimeAdapter.js.map +1 -1
- package/dist/src/parity/crushManagedClient.d.ts +4 -4
- package/dist/src/parity/crushManagedClient.d.ts.map +1 -1
- package/dist/src/parity/crushManagedClient.js +3 -3
- package/dist/src/parity/crushManagedClient.js.map +1 -1
- package/dist/src/parity/crushSessionHistory.d.ts +1 -1
- package/dist/src/parity/crushSessionHistory.d.ts.map +1 -1
- package/dist/src/parity/crushSessionHistory.js +1 -1
- package/dist/src/parity/crushSessionHistory.js.map +1 -1
- package/dist/src/parity/externalCliRuntimeManager.d.ts +13 -13
- package/dist/src/parity/externalCliRuntimeManager.d.ts.map +1 -1
- package/dist/src/parity/externalCliRuntimeManager.js +9 -9
- package/dist/src/parity/externalCliRuntimeManager.js.map +1 -1
- package/dist/src/parity/externalCliSessions.d.ts +3 -3
- package/dist/src/parity/externalCliSessions.d.ts.map +1 -1
- package/dist/src/parity/externalCliSessions.js +10 -10
- package/dist/src/parity/externalCliSessions.js.map +1 -1
- package/dist/src/parity/hadamardBridgeEvents.d.ts +7 -0
- package/dist/src/parity/hadamardBridgeEvents.d.ts.map +1 -0
- package/dist/src/parity/{actoviqBridgeEvents.js → hadamardBridgeEvents.js} +11 -11
- package/dist/src/parity/hadamardBridgeEvents.js.map +1 -0
- package/dist/src/parity/hadamardBridgeSdk.d.ts +194 -0
- package/dist/src/parity/hadamardBridgeSdk.d.ts.map +1 -0
- package/dist/src/parity/{actoviqBridgeSdk.js → hadamardBridgeSdk.js} +126 -126
- package/dist/src/parity/hadamardBridgeSdk.js.map +1 -0
- package/dist/src/parity/hadamardCleanBridgeCompatSdk.d.ts +277 -0
- package/dist/src/parity/hadamardCleanBridgeCompatSdk.d.ts.map +1 -0
- package/dist/src/parity/{actoviqCleanBridgeCompatSdk.js → hadamardCleanBridgeCompatSdk.js} +46 -46
- package/dist/src/parity/hadamardCleanBridgeCompatSdk.js.map +1 -0
- package/dist/src/parity/hadamardTranscripts.d.ts +44 -0
- package/dist/src/parity/hadamardTranscripts.d.ts.map +1 -0
- package/dist/src/parity/{actoviqTranscripts.js → hadamardTranscripts.js} +12 -12
- package/dist/src/parity/hadamardTranscripts.js.map +1 -0
- package/dist/src/parity/portableSessions.js +2 -2
- package/dist/src/parity/portableSessions.js.map +1 -1
- package/dist/src/parity/reasonixAcpSession.d.ts +3 -3
- package/dist/src/parity/reasonixAcpSession.d.ts.map +1 -1
- package/dist/src/parity/reasonixAcpSession.js +1 -1
- package/dist/src/parity/reasonixAcpSession.js.map +1 -1
- package/dist/src/parity/reasonixManagedClient.d.ts +3 -3
- package/dist/src/parity/reasonixManagedClient.d.ts.map +1 -1
- package/dist/src/parity/reasonixManagedClient.js.map +1 -1
- package/dist/src/plugins/imageGenPlugin.d.ts +30 -0
- package/dist/src/plugins/imageGenPlugin.d.ts.map +1 -0
- package/dist/src/plugins/imageGenPlugin.js +225 -0
- package/dist/src/plugins/imageGenPlugin.js.map +1 -0
- package/dist/src/plugins/kimiWebBridgePlugin.d.ts +1 -1
- package/dist/src/plugins/kimiWebBridgePlugin.d.ts.map +1 -1
- package/dist/src/plugins/kimiWebBridgePlugin.js +1 -1
- package/dist/src/plugins/kimiWebBridgePlugin.js.map +1 -1
- package/dist/src/plugins/managedPluginCatalog.d.ts +5 -2
- package/dist/src/plugins/managedPluginCatalog.d.ts.map +1 -1
- package/dist/src/plugins/managedPluginCatalog.js +87 -7
- package/dist/src/plugins/managedPluginCatalog.js.map +1 -1
- package/dist/src/plugins/managedPluginHealth.d.ts.map +1 -1
- package/dist/src/plugins/managedPluginHealth.js +25 -2
- package/dist/src/plugins/managedPluginHealth.js.map +1 -1
- package/dist/src/plugins/managedPluginRuntime.d.ts.map +1 -1
- package/dist/src/plugins/managedPluginRuntime.js +36 -5
- package/dist/src/plugins/managedPluginRuntime.js.map +1 -1
- package/dist/src/plugins/mediaGenProfiles.d.ts +74 -0
- package/dist/src/plugins/mediaGenProfiles.d.ts.map +1 -0
- package/dist/src/plugins/mediaGenProfiles.js +305 -0
- package/dist/src/plugins/mediaGenProfiles.js.map +1 -0
- package/dist/src/plugins/mediaGenPromptGuidance.d.ts +17 -0
- package/dist/src/plugins/mediaGenPromptGuidance.d.ts.map +1 -0
- package/dist/src/plugins/mediaGenPromptGuidance.js +53 -0
- package/dist/src/plugins/mediaGenPromptGuidance.js.map +1 -0
- package/dist/src/plugins/meshGenPlugin.d.ts +28 -0
- package/dist/src/plugins/meshGenPlugin.d.ts.map +1 -0
- package/dist/src/plugins/meshGenPlugin.js +267 -0
- package/dist/src/plugins/meshGenPlugin.js.map +1 -0
- package/dist/src/plugins/packageManifest.d.ts +16 -0
- package/dist/src/plugins/packageManifest.d.ts.map +1 -0
- package/dist/src/plugins/packageManifest.js +53 -0
- package/dist/src/plugins/packageManifest.js.map +1 -0
- package/dist/src/plugins/pluginLoader.d.ts +9 -0
- package/dist/src/plugins/pluginLoader.d.ts.map +1 -0
- package/dist/src/plugins/pluginLoader.js +32 -0
- package/dist/src/plugins/pluginLoader.js.map +1 -0
- package/dist/src/plugins/pluginManager.d.ts +21 -0
- package/dist/src/plugins/pluginManager.d.ts.map +1 -0
- package/dist/src/plugins/pluginManager.js +119 -0
- package/dist/src/plugins/pluginManager.js.map +1 -0
- package/dist/src/plugins/pluginPackageStore.d.ts +24 -0
- package/dist/src/plugins/pluginPackageStore.d.ts.map +1 -0
- package/dist/src/plugins/pluginPackageStore.js +191 -0
- package/dist/src/plugins/pluginPackageStore.js.map +1 -0
- package/dist/src/plugins/pluginRegistryClient.d.ts +12 -0
- package/dist/src/plugins/pluginRegistryClient.d.ts.map +1 -0
- package/dist/src/plugins/pluginRegistryClient.js +34 -0
- package/dist/src/plugins/pluginRegistryClient.js.map +1 -0
- package/dist/src/plugins/pluginResolver.d.ts +7 -0
- package/dist/src/plugins/pluginResolver.d.ts.map +1 -0
- package/dist/src/plugins/pluginResolver.js +18 -0
- package/dist/src/plugins/pluginResolver.js.map +1 -0
- package/dist/src/plugins/pluginTrustStore.d.ts +16 -0
- package/dist/src/plugins/pluginTrustStore.d.ts.map +1 -0
- package/dist/src/plugins/pluginTrustStore.js +47 -0
- package/dist/src/plugins/pluginTrustStore.js.map +1 -0
- package/dist/src/plugins/videoGenPlugin.d.ts +33 -0
- package/dist/src/plugins/videoGenPlugin.d.ts.map +1 -0
- package/dist/src/plugins/videoGenPlugin.js +299 -0
- package/dist/src/plugins/videoGenPlugin.js.map +1 -0
- package/dist/src/policy/approvalPolicy.d.ts +16 -0
- package/dist/src/policy/approvalPolicy.d.ts.map +1 -0
- package/dist/src/policy/approvalPolicy.js +38 -0
- package/dist/src/policy/approvalPolicy.js.map +1 -0
- package/dist/src/policy/auditLog.d.ts +14 -0
- package/dist/src/policy/auditLog.d.ts.map +1 -0
- package/dist/src/policy/auditLog.js +39 -0
- package/dist/src/policy/auditLog.js.map +1 -0
- package/dist/src/policy/index.d.ts +8 -0
- package/dist/src/policy/index.d.ts.map +1 -0
- package/dist/src/policy/index.js +8 -0
- package/dist/src/policy/index.js.map +1 -0
- package/dist/src/policy/policyLoader.d.ts +7 -0
- package/dist/src/policy/policyLoader.d.ts.map +1 -0
- package/dist/src/policy/policyLoader.js +70 -0
- package/dist/src/policy/policyLoader.js.map +1 -0
- package/dist/src/policy/policyResolver.d.ts +4 -0
- package/dist/src/policy/policyResolver.d.ts.map +1 -0
- package/dist/src/policy/policyResolver.js +67 -0
- package/dist/src/policy/policyResolver.js.map +1 -0
- package/dist/src/policy/policyStore.d.ts +13 -0
- package/dist/src/policy/policyStore.d.ts.map +1 -0
- package/dist/src/policy/policyStore.js +79 -0
- package/dist/src/policy/policyStore.js.map +1 -0
- package/dist/src/policy/runtimePolicy.d.ts +6 -0
- package/dist/src/policy/runtimePolicy.d.ts.map +1 -0
- package/dist/src/policy/runtimePolicy.js +30 -0
- package/dist/src/policy/runtimePolicy.js.map +1 -0
- package/dist/src/policy/types.d.ts +24 -0
- package/dist/src/policy/types.d.ts.map +1 -0
- package/dist/src/policy/types.js +2 -0
- package/dist/src/policy/types.js.map +1 -0
- package/dist/src/profiles/index.js +1 -1
- package/dist/src/profiles/index.js.map +1 -1
- package/dist/src/prompts/systemPrompt.d.ts +1 -1
- package/dist/src/prompts/systemPrompt.js +2 -2
- package/dist/src/prompts/systemPrompt.js.map +1 -1
- package/dist/src/provider/client.d.ts +10 -10
- package/dist/src/provider/client.d.ts.map +1 -1
- package/dist/src/provider/client.js +8 -8
- package/dist/src/provider/client.js.map +1 -1
- package/dist/src/provider/json-parse.js +3 -3
- package/dist/src/provider/json-parse.js.map +1 -1
- package/dist/src/provider/openai-client.js +4 -4
- package/dist/src/provider/openai-client.js.map +1 -1
- package/dist/src/remote/artifactTransfer.d.ts +17 -0
- package/dist/src/remote/artifactTransfer.d.ts.map +1 -0
- package/dist/src/remote/artifactTransfer.js +52 -0
- package/dist/src/remote/artifactTransfer.js.map +1 -0
- package/dist/src/remote/index.d.ts +6 -0
- package/dist/src/remote/index.d.ts.map +1 -0
- package/dist/src/remote/index.js +6 -0
- package/dist/src/remote/index.js.map +1 -0
- package/dist/src/remote/localWorkerServer.d.ts +15 -0
- package/dist/src/remote/localWorkerServer.d.ts.map +1 -0
- package/dist/src/remote/localWorkerServer.js +33 -0
- package/dist/src/remote/localWorkerServer.js.map +1 -0
- package/dist/src/remote/protocol.d.ts +63 -0
- package/dist/src/remote/protocol.d.ts.map +1 -0
- package/dist/src/remote/protocol.js +46 -0
- package/dist/src/remote/protocol.js.map +1 -0
- package/dist/src/remote/remoteJobStore.d.ts +21 -0
- package/dist/src/remote/remoteJobStore.d.ts.map +1 -0
- package/dist/src/remote/remoteJobStore.js +175 -0
- package/dist/src/remote/remoteJobStore.js.map +1 -0
- package/dist/src/remote/remoteWorkerClient.d.ts +15 -0
- package/dist/src/remote/remoteWorkerClient.d.ts.map +1 -0
- package/dist/src/remote/remoteWorkerClient.js +34 -0
- package/dist/src/remote/remoteWorkerClient.js.map +1 -0
- package/dist/src/review/index.d.ts +4 -0
- package/dist/src/review/index.d.ts.map +1 -0
- package/dist/src/review/index.js +4 -0
- package/dist/src/review/index.js.map +1 -0
- package/dist/src/review/reviewStore.d.ts +12 -0
- package/dist/src/review/reviewStore.d.ts.map +1 -0
- package/dist/src/review/reviewStore.js +74 -0
- package/dist/src/review/reviewStore.js.map +1 -0
- package/dist/src/review/threadDiffService.d.ts +16 -0
- package/dist/src/review/threadDiffService.d.ts.map +1 -0
- package/dist/src/review/threadDiffService.js +118 -0
- package/dist/src/review/threadDiffService.js.map +1 -0
- package/dist/src/review/types.d.ts +42 -0
- package/dist/src/review/types.d.ts.map +1 -0
- package/dist/src/review/types.js +2 -0
- package/dist/src/review/types.js.map +1 -0
- package/dist/src/router/modelRouter.d.ts +1 -7
- package/dist/src/router/modelRouter.d.ts.map +1 -1
- package/dist/src/router/modelRouter.js +7 -37
- package/dist/src/router/modelRouter.js.map +1 -1
- package/dist/src/runtime/agentClient.d.ts +76 -38
- package/dist/src/runtime/agentClient.d.ts.map +1 -1
- package/dist/src/runtime/agentClient.js +573 -225
- package/dist/src/runtime/agentClient.js.map +1 -1
- package/dist/src/runtime/agentRuntimeDiscovery.js +2 -2
- package/dist/src/runtime/agentRuntimeDiscovery.js.map +1 -1
- package/dist/src/runtime/agentSession.d.ts +33 -26
- package/dist/src/runtime/agentSession.d.ts.map +1 -1
- package/dist/src/runtime/agentSession.js +16 -7
- package/dist/src/runtime/agentSession.js.map +1 -1
- package/dist/src/runtime/conversationEngine.d.ts +12 -2
- package/dist/src/runtime/conversationEngine.d.ts.map +1 -1
- package/dist/src/runtime/conversationEngine.js +190 -27
- package/dist/src/runtime/conversationEngine.js.map +1 -1
- package/dist/src/runtime/defaultHadamardAgents.d.ts +3 -0
- package/dist/src/runtime/defaultHadamardAgents.d.ts.map +1 -0
- package/dist/src/runtime/{defaultActoviqAgents.js → defaultHadamardAgents.js} +8 -8
- package/dist/src/runtime/defaultHadamardAgents.js.map +1 -0
- package/dist/src/runtime/externalSkillCatalog.d.ts +34 -34
- package/dist/src/runtime/externalSkillCatalog.d.ts.map +1 -1
- package/dist/src/runtime/externalSkillCatalog.js +17 -17
- package/dist/src/runtime/externalSkillCatalog.js.map +1 -1
- package/dist/src/runtime/externalSkillPreferences.d.ts +12 -12
- package/dist/src/runtime/externalSkillPreferences.d.ts.map +1 -1
- package/dist/src/runtime/externalSkillPreferences.js +15 -15
- package/dist/src/runtime/externalSkillPreferences.js.map +1 -1
- package/dist/src/runtime/externalSkillRuntime.d.ts +13 -13
- package/dist/src/runtime/externalSkillRuntime.d.ts.map +1 -1
- package/dist/src/runtime/externalSkillRuntime.js +13 -13
- package/dist/src/runtime/externalSkillRuntime.js.map +1 -1
- package/dist/src/runtime/hadamardAgentDefinitions.d.ts +8 -0
- package/dist/src/runtime/hadamardAgentDefinitions.d.ts.map +1 -0
- package/dist/src/runtime/{actoviqAgentDefinitions.js → hadamardAgentDefinitions.js} +4 -4
- package/dist/src/runtime/hadamardAgentDefinitions.js.map +1 -0
- package/dist/src/runtime/{actoviqAgentExecutions.d.ts → hadamardAgentExecutions.d.ts} +6 -6
- package/dist/src/runtime/hadamardAgentExecutions.d.ts.map +1 -0
- package/dist/src/runtime/{actoviqAgentExecutions.js → hadamardAgentExecutions.js} +23 -23
- package/dist/src/runtime/hadamardAgentExecutions.js.map +1 -0
- package/dist/src/runtime/{actoviqAgents.d.ts → hadamardAgents.d.ts} +32 -32
- package/dist/src/runtime/hadamardAgents.d.ts.map +1 -0
- package/dist/src/runtime/{actoviqAgents.js → hadamardAgents.js} +24 -24
- package/dist/src/runtime/hadamardAgents.js.map +1 -0
- package/dist/src/runtime/hadamardApiMicrocompact.d.ts +18 -0
- package/dist/src/runtime/hadamardApiMicrocompact.d.ts.map +1 -0
- package/dist/src/runtime/{actoviqApiMicrocompact.js → hadamardApiMicrocompact.js} +8 -8
- package/dist/src/runtime/hadamardApiMicrocompact.js.map +1 -0
- package/dist/src/runtime/hadamardBackgroundTasks.d.ts +78 -0
- package/dist/src/runtime/hadamardBackgroundTasks.d.ts.map +1 -0
- package/dist/src/runtime/{actoviqBackgroundTasks.js → hadamardBackgroundTasks.js} +5 -5
- package/dist/src/runtime/hadamardBackgroundTasks.js.map +1 -0
- package/dist/src/runtime/{actoviqCompact.d.ts → hadamardCompact.d.ts} +27 -27
- package/dist/src/runtime/hadamardCompact.d.ts.map +1 -0
- package/dist/src/runtime/{actoviqCompact.js → hadamardCompact.js} +64 -64
- package/dist/src/runtime/hadamardCompact.js.map +1 -0
- package/dist/src/runtime/hadamardModelApi.d.ts +10 -0
- package/dist/src/runtime/hadamardModelApi.d.ts.map +1 -0
- package/dist/src/runtime/{actoviqModelApi.js → hadamardModelApi.js} +6 -6
- package/dist/src/runtime/hadamardModelApi.js.map +1 -0
- package/dist/src/runtime/{actoviqPermissions.d.ts → hadamardPermissions.d.ts} +9 -9
- package/dist/src/runtime/hadamardPermissions.d.ts.map +1 -0
- package/dist/src/runtime/{actoviqPermissions.js → hadamardPermissions.js} +10 -10
- package/dist/src/runtime/hadamardPermissions.js.map +1 -0
- package/dist/src/runtime/hadamardSessionPermissions.d.ts +5 -0
- package/dist/src/runtime/hadamardSessionPermissions.d.ts.map +1 -0
- package/dist/src/runtime/{actoviqSessionPermissions.js → hadamardSessionPermissions.js} +5 -5
- package/dist/src/runtime/hadamardSessionPermissions.js.map +1 -0
- package/dist/src/runtime/{actoviqSkills.d.ts → hadamardSkills.d.ts} +27 -27
- package/dist/src/runtime/hadamardSkills.d.ts.map +1 -0
- package/dist/src/runtime/{actoviqSkills.js → hadamardSkills.js} +29 -29
- package/dist/src/runtime/hadamardSkills.js.map +1 -0
- package/dist/src/runtime/hadamardSlashCommands.d.ts +46 -0
- package/dist/src/runtime/hadamardSlashCommands.d.ts.map +1 -0
- package/dist/src/runtime/{actoviqSlashCommands.js → hadamardSlashCommands.js} +20 -20
- package/dist/src/runtime/hadamardSlashCommands.js.map +1 -0
- package/dist/src/runtime/hadamardToolCatalog.d.ts +19 -0
- package/dist/src/runtime/hadamardToolCatalog.d.ts.map +1 -0
- package/dist/src/runtime/{actoviqToolCatalog.js → hadamardToolCatalog.js} +9 -9
- package/dist/src/runtime/hadamardToolCatalog.js.map +1 -0
- package/dist/src/runtime/messageUtils.d.ts +3 -3
- package/dist/src/runtime/messageUtils.d.ts.map +1 -1
- package/dist/src/runtime/messageUtils.js.map +1 -1
- package/dist/src/runtime/parallel.js +7 -7
- package/dist/src/runtime/parallel.js.map +1 -1
- package/dist/src/runtime/safetyChecks.js +1 -1
- package/dist/src/runtime/safetyChecks.js.map +1 -1
- package/dist/src/sandbox/index.d.ts +8 -0
- package/dist/src/sandbox/index.d.ts.map +1 -0
- package/dist/src/sandbox/index.js +8 -0
- package/dist/src/sandbox/index.js.map +1 -0
- package/dist/src/sandbox/linuxSandbox.d.ts +3 -0
- package/dist/src/sandbox/linuxSandbox.d.ts.map +1 -0
- package/dist/src/sandbox/linuxSandbox.js +17 -0
- package/dist/src/sandbox/linuxSandbox.js.map +1 -0
- package/dist/src/sandbox/macosSandbox.d.ts +3 -0
- package/dist/src/sandbox/macosSandbox.d.ts.map +1 -0
- package/dist/src/sandbox/macosSandbox.js +16 -0
- package/dist/src/sandbox/macosSandbox.js.map +1 -0
- package/dist/src/sandbox/networkPolicy.d.ts +4 -0
- package/dist/src/sandbox/networkPolicy.d.ts.map +1 -0
- package/dist/src/sandbox/networkPolicy.js +18 -0
- package/dist/src/sandbox/networkPolicy.js.map +1 -0
- package/dist/src/sandbox/policyResolver.d.ts +16 -0
- package/dist/src/sandbox/policyResolver.d.ts.map +1 -0
- package/dist/src/sandbox/policyResolver.js +106 -0
- package/dist/src/sandbox/policyResolver.js.map +1 -0
- package/dist/src/sandbox/sandboxExecutor.d.ts +12 -0
- package/dist/src/sandbox/sandboxExecutor.d.ts.map +1 -0
- package/dist/src/sandbox/sandboxExecutor.js +308 -0
- package/dist/src/sandbox/sandboxExecutor.js.map +1 -0
- package/dist/src/sandbox/types.d.ts +54 -0
- package/dist/src/sandbox/types.d.ts.map +1 -0
- package/dist/src/sandbox/types.js +2 -0
- package/dist/src/sandbox/types.js.map +1 -0
- package/dist/src/sandbox/windowsSandbox.d.ts +3 -0
- package/dist/src/sandbox/windowsSandbox.d.ts.map +1 -0
- package/dist/src/sandbox/windowsSandbox.js +12 -0
- package/dist/src/sandbox/windowsSandbox.js.map +1 -0
- package/dist/src/scheduling/taskPersistence.js +1 -1
- package/dist/src/scheduling/taskPersistence.js.map +1 -1
- package/dist/src/storage/backgroundTaskStore.d.ts +6 -6
- package/dist/src/storage/backgroundTaskStore.d.ts.map +1 -1
- package/dist/src/storage/backgroundTaskStore.js.map +1 -1
- package/dist/src/storage/mailboxStore.d.ts +4 -4
- package/dist/src/storage/mailboxStore.d.ts.map +1 -1
- package/dist/src/storage/mailboxStore.js.map +1 -1
- package/dist/src/storage/pathSafety.js +3 -3
- package/dist/src/storage/pathSafety.js.map +1 -1
- package/dist/src/storage/sessionBranchSummary.d.ts +13 -0
- package/dist/src/storage/sessionBranchSummary.d.ts.map +1 -0
- package/dist/src/storage/sessionBranchSummary.js +15 -0
- package/dist/src/storage/sessionBranchSummary.js.map +1 -0
- package/dist/src/storage/sessionCatalog.d.ts +94 -0
- package/dist/src/storage/sessionCatalog.d.ts.map +1 -0
- package/dist/src/storage/sessionCatalog.js +359 -0
- package/dist/src/storage/sessionCatalog.js.map +1 -0
- package/dist/src/storage/sessionForkService.d.ts +16 -0
- package/dist/src/storage/sessionForkService.d.ts.map +1 -0
- package/dist/src/storage/sessionForkService.js +98 -0
- package/dist/src/storage/sessionForkService.js.map +1 -0
- package/dist/src/storage/sessionGraph.d.ts +22 -0
- package/dist/src/storage/sessionGraph.d.ts.map +1 -0
- package/dist/src/storage/sessionGraph.js +69 -0
- package/dist/src/storage/sessionGraph.js.map +1 -0
- package/dist/src/storage/sessionStore.d.ts +3 -1
- package/dist/src/storage/sessionStore.d.ts.map +1 -1
- package/dist/src/storage/sessionStore.js +32 -22
- package/dist/src/storage/sessionStore.js.map +1 -1
- package/dist/src/storage/teammateStore.d.ts +5 -5
- package/dist/src/storage/teammateStore.d.ts.map +1 -1
- package/dist/src/storage/teammateStore.js.map +1 -1
- package/dist/src/storage-v2/migration.js +1 -1
- package/dist/src/storage-v2/migration.js.map +1 -1
- package/dist/src/swarm/hadamardSwarm.d.ts +80 -0
- package/dist/src/swarm/hadamardSwarm.d.ts.map +1 -0
- package/dist/src/swarm/{actoviqSwarm.js → hadamardSwarm.js} +8 -8
- package/dist/src/swarm/hadamardSwarm.js.map +1 -0
- package/dist/src/team/assistantTeamTools.d.ts +14 -0
- package/dist/src/team/assistantTeamTools.d.ts.map +1 -0
- package/dist/src/team/assistantTeamTools.js +122 -0
- package/dist/src/team/assistantTeamTools.js.map +1 -0
- package/dist/src/team/pricing.d.ts +1 -1
- package/dist/src/team/pricing.js +2 -2
- package/dist/src/team/pricing.js.map +1 -1
- package/dist/src/team/teamDefinitions.d.ts.map +1 -1
- package/dist/src/team/teamDefinitions.js +8 -9
- package/dist/src/team/teamDefinitions.js.map +1 -1
- package/dist/src/team/teamGraph.js +2 -2
- package/dist/src/team/teamGraph.js.map +1 -1
- package/dist/src/team/teamGraphLayout.d.ts +31 -0
- package/dist/src/team/teamGraphLayout.d.ts.map +1 -1
- package/dist/src/team/teamGraphLayout.js +156 -27
- package/dist/src/team/teamGraphLayout.js.map +1 -1
- package/dist/src/team/teamPreferences.js +1 -1
- package/dist/src/team/teamProposalService.d.ts +58 -0
- package/dist/src/team/teamProposalService.d.ts.map +1 -0
- package/dist/src/team/teamProposalService.js +282 -0
- package/dist/src/team/teamProposalService.js.map +1 -0
- package/dist/src/team/teamPropose.js +2 -2
- package/dist/src/team/teamRuntime.js +4 -4
- package/dist/src/team/teamRuntime.js.map +1 -1
- package/dist/src/tools/bash/BashTool.d.ts +6 -6
- package/dist/src/tools/bash/BashTool.d.ts.map +1 -1
- package/dist/src/tools/bash/BashTool.js +54 -18
- package/dist/src/tools/bash/BashTool.js.map +1 -1
- package/dist/src/tools/bash/prompt.d.ts +1 -1
- package/dist/src/tools/bash/prompt.d.ts.map +1 -1
- package/dist/src/tools/bash/prompt.js +1 -1
- package/dist/src/tools/enterWorktree.js +1 -1
- package/dist/src/tools/enterWorktree.js.map +1 -1
- package/dist/src/tools/exaSearch.d.ts +2 -2
- package/dist/src/tools/{actoviqCoreTools.d.ts → hadamardCoreTools.d.ts} +5 -5
- package/dist/src/tools/hadamardCoreTools.d.ts.map +1 -0
- package/dist/src/tools/{actoviqCoreTools.js → hadamardCoreTools.js} +12 -12
- package/dist/src/tools/hadamardCoreTools.js.map +1 -0
- package/dist/src/tools/hadamardFileTools.d.ts +9 -0
- package/dist/src/tools/hadamardFileTools.d.ts.map +1 -0
- package/dist/src/tools/{actoviqFileTools.js → hadamardFileTools.js} +37 -12
- package/dist/src/tools/hadamardFileTools.js.map +1 -0
- package/dist/src/tools/{actoviqMiscTools.d.ts → hadamardMiscTools.d.ts} +2 -2
- package/dist/src/tools/hadamardMiscTools.d.ts.map +1 -0
- package/dist/src/tools/{actoviqMiscTools.js → hadamardMiscTools.js} +2 -2
- package/dist/src/tools/hadamardMiscTools.js.map +1 -0
- package/dist/src/tools/{actoviqNotebookEdit.d.ts → hadamardNotebookEdit.d.ts} +1 -1
- package/dist/src/tools/hadamardNotebookEdit.d.ts.map +1 -0
- package/dist/src/tools/{actoviqNotebookEdit.js → hadamardNotebookEdit.js} +17 -2
- package/dist/src/tools/hadamardNotebookEdit.js.map +1 -0
- package/dist/src/tools/{actoviqShellTools.d.ts → hadamardShellTools.d.ts} +1 -1
- package/dist/src/tools/hadamardShellTools.d.ts.map +1 -0
- package/dist/src/tools/{actoviqShellTools.js → hadamardShellTools.js} +19 -1
- package/dist/src/tools/hadamardShellTools.js.map +1 -0
- package/dist/src/tools/{actoviqTaskTools.d.ts → hadamardTaskTools.d.ts} +2 -2
- package/dist/src/tools/hadamardTaskTools.d.ts.map +1 -0
- package/dist/src/tools/{actoviqTaskTools.js → hadamardTaskTools.js} +3 -3
- package/dist/src/tools/hadamardTaskTools.js.map +1 -0
- package/dist/src/tools/{actoviqWebTools.d.ts → hadamardWebTools.d.ts} +3 -3
- package/dist/src/tools/hadamardWebTools.d.ts.map +1 -0
- package/dist/src/tools/{actoviqWebTools.js → hadamardWebTools.js} +5 -5
- package/dist/src/tools/hadamardWebTools.js.map +1 -0
- package/dist/src/tools/planMode/PlanModeTools.d.ts +2 -2
- package/dist/src/tools/planMode/PlanModeTools.d.ts.map +1 -1
- package/dist/src/tools/planMode/PlanModeTools.js +16 -12
- package/dist/src/tools/planMode/PlanModeTools.js.map +1 -1
- package/dist/src/tools/todo/TodoWriteTool.d.ts +2 -2
- package/dist/src/tools/todo/TodoWriteTool.d.ts.map +1 -1
- package/dist/src/tools/todo/TodoWriteTool.js +3 -3
- package/dist/src/tools/todo/TodoWriteTool.js.map +1 -1
- package/dist/src/tui/ansi.d.ts +1 -1
- package/dist/src/tui/ansi.js +1 -1
- package/dist/src/tui/editor.js +1 -1
- package/dist/src/tui/{actoviqTui.d.ts → hadamardTui.d.ts} +5 -5
- package/dist/src/tui/hadamardTui.d.ts.map +1 -0
- package/dist/src/tui/{actoviqTui.js → hadamardTui.js} +713 -152
- package/dist/src/tui/hadamardTui.js.map +1 -0
- package/dist/src/tui/pluginCatalog.d.ts +3 -3
- package/dist/src/tui/pluginCatalog.d.ts.map +1 -1
- package/dist/src/tui/pluginCatalog.js +5 -5
- package/dist/src/tui/pluginCatalog.js.map +1 -1
- package/dist/src/tui/screen.js +1 -1
- package/dist/src/tui/transcript.js +1 -1
- package/dist/src/types.d.ts +415 -347
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js +5 -5
- package/dist/src/types.js.map +1 -1
- package/dist/src/ui/commandSurface.d.ts +1 -1
- package/dist/src/ui/commandSurface.d.ts.map +1 -1
- package/dist/src/ui/commandSurface.js +62 -4
- package/dist/src/ui/commandSurface.js.map +1 -1
- package/dist/src/update/appUpdateService.d.ts +58 -0
- package/dist/src/update/appUpdateService.d.ts.map +1 -0
- package/dist/src/update/appUpdateService.js +190 -0
- package/dist/src/update/appUpdateService.js.map +1 -0
- package/dist/src/workflow/workflowBuilder.d.ts +2 -2
- package/dist/src/workflow/workflowBuilder.d.ts.map +1 -1
- package/dist/src/workflow/workflowBuilder.js.map +1 -1
- package/dist/src/workflow/workflowEngine.d.ts +2 -2
- package/dist/src/workflow/workflowEngine.d.ts.map +1 -1
- package/dist/src/workflow/workflowEngine.js.map +1 -1
- package/dist/src/workflow/workflowPersistence.js +7 -7
- package/dist/src/workflow/workflowPersistence.js.map +1 -1
- package/dist/src/workflow/workflowScriptRuntime.d.ts +2 -2
- package/dist/src/workflow/workflowScriptRuntime.d.ts.map +1 -1
- package/dist/src/workflow/workflowScriptRuntime.js.map +1 -1
- package/dist/src/workflow-v2/localProcessChild.js +17 -17
- package/dist/src/workflow-v2/localProcessChild.js.map +1 -1
- package/dist/src/workflow-v2/trustedCompatibilityExecutor.js +13 -13
- package/dist/src/workflow-v2/trustedCompatibilityExecutor.js.map +1 -1
- package/dist/src/workspace/hadamardWorkspace.d.ts +17 -0
- package/dist/src/workspace/hadamardWorkspace.d.ts.map +1 -0
- package/dist/src/workspace/{actoviqWorkspace.js → hadamardWorkspace.js} +11 -11
- package/dist/src/workspace/hadamardWorkspace.js.map +1 -0
- package/dist/src/worktree/taskWorktreeCoordinator.d.ts +34 -0
- package/dist/src/worktree/taskWorktreeCoordinator.d.ts.map +1 -0
- package/dist/src/worktree/taskWorktreeCoordinator.js +120 -0
- package/dist/src/worktree/taskWorktreeCoordinator.js.map +1 -0
- package/dist/src/worktree/worktreeHooks.d.ts +4 -4
- package/dist/src/worktree/worktreeHooks.d.ts.map +1 -1
- package/dist/src/worktree/worktreeHooks.js +3 -3
- package/dist/src/worktree/worktreeHooks.js.map +1 -1
- package/dist/src/worktree/worktreeService.d.ts +1 -1
- package/dist/src/worktree/worktreeService.d.ts.map +1 -1
- package/dist/src/worktree/worktreeService.js +13 -13
- package/dist/src/worktree/worktreeService.js.map +1 -1
- package/package.json +54 -45
- package/vendor/{actoviq-runtime → hadamard-runtime}/cli.js +11 -9
- package/bin/actoviq-react.js +0 -5
- package/bin/actoviq-tui.js +0 -5
- package/dist/src/browser/actoviqBrowserSession.d.ts.map +0 -1
- package/dist/src/browser/actoviqBrowserSession.js.map +0 -1
- package/dist/src/browser/actoviqBrowserTools.d.ts.map +0 -1
- package/dist/src/browser/actoviqBrowserTools.js.map +0 -1
- package/dist/src/buddy/actoviqBuddy.d.ts +0 -20
- package/dist/src/buddy/actoviqBuddy.d.ts.map +0 -1
- package/dist/src/buddy/actoviqBuddy.js.map +0 -1
- package/dist/src/cli/actoviq-react.d.ts +0 -3
- package/dist/src/cli/actoviq-react.d.ts.map +0 -1
- package/dist/src/cli/actoviq-react.js.map +0 -1
- package/dist/src/cli/actoviq-tui.d.ts +0 -3
- package/dist/src/cli/actoviq-tui.d.ts.map +0 -1
- package/dist/src/cli/actoviq-tui.js.map +0 -1
- package/dist/src/computer/actoviqComputerUse.d.ts +0 -11
- package/dist/src/computer/actoviqComputerUse.d.ts.map +0 -1
- package/dist/src/computer/actoviqComputerUse.js.map +0 -1
- package/dist/src/config/actoviqHome.d.ts +0 -32
- package/dist/src/config/actoviqHome.d.ts.map +0 -1
- package/dist/src/config/actoviqHome.js.map +0 -1
- package/dist/src/config/actoviqSettingsStore.d.ts +0 -13
- package/dist/src/config/actoviqSettingsStore.d.ts.map +0 -1
- package/dist/src/config/actoviqSettingsStore.js.map +0 -1
- package/dist/src/config/loadActoviqSettings.d.ts +0 -8
- package/dist/src/config/loadActoviqSettings.d.ts.map +0 -1
- package/dist/src/config/loadActoviqSettings.js.map +0 -1
- package/dist/src/config/loadDefaultActoviqSettings.d.ts +0 -7
- package/dist/src/config/loadDefaultActoviqSettings.d.ts.map +0 -1
- package/dist/src/config/loadDefaultActoviqSettings.js.map +0 -1
- package/dist/src/gui/actoviqGui.d.ts.map +0 -1
- package/dist/src/gui/actoviqGui.js.map +0 -1
- package/dist/src/hooks/actoviqHooks.d.ts +0 -9
- package/dist/src/hooks/actoviqHooks.d.ts.map +0 -1
- package/dist/src/hooks/actoviqHooks.js.map +0 -1
- package/dist/src/memory/actoviqDream.d.ts +0 -61
- package/dist/src/memory/actoviqDream.d.ts.map +0 -1
- package/dist/src/memory/actoviqDream.js.map +0 -1
- package/dist/src/memory/actoviqMemory.d.ts +0 -63
- package/dist/src/memory/actoviqMemory.d.ts.map +0 -1
- package/dist/src/memory/actoviqMemory.js.map +0 -1
- package/dist/src/memory/actoviqRelevantMemories.d.ts.map +0 -1
- package/dist/src/memory/actoviqRelevantMemories.js.map +0 -1
- package/dist/src/memory/actoviqSessionMemoryState.d.ts +0 -14
- package/dist/src/memory/actoviqSessionMemoryState.d.ts.map +0 -1
- package/dist/src/memory/actoviqSessionMemoryState.js.map +0 -1
- package/dist/src/memory/actoviqTranscriptLogger.d.ts.map +0 -1
- package/dist/src/memory/actoviqTranscriptLogger.js.map +0 -1
- package/dist/src/parity/actoviqBridgeEvents.d.ts +0 -7
- package/dist/src/parity/actoviqBridgeEvents.d.ts.map +0 -1
- package/dist/src/parity/actoviqBridgeEvents.js.map +0 -1
- package/dist/src/parity/actoviqBridgeSdk.d.ts +0 -194
- package/dist/src/parity/actoviqBridgeSdk.d.ts.map +0 -1
- package/dist/src/parity/actoviqBridgeSdk.js.map +0 -1
- package/dist/src/parity/actoviqCleanBridgeCompatSdk.d.ts +0 -277
- package/dist/src/parity/actoviqCleanBridgeCompatSdk.d.ts.map +0 -1
- package/dist/src/parity/actoviqCleanBridgeCompatSdk.js.map +0 -1
- package/dist/src/parity/actoviqTranscripts.d.ts +0 -44
- package/dist/src/parity/actoviqTranscripts.d.ts.map +0 -1
- package/dist/src/parity/actoviqTranscripts.js.map +0 -1
- package/dist/src/runtime/actoviqAgentDefinitions.d.ts +0 -8
- package/dist/src/runtime/actoviqAgentDefinitions.d.ts.map +0 -1
- package/dist/src/runtime/actoviqAgentDefinitions.js.map +0 -1
- package/dist/src/runtime/actoviqAgentExecutions.d.ts.map +0 -1
- package/dist/src/runtime/actoviqAgentExecutions.js.map +0 -1
- package/dist/src/runtime/actoviqAgents.d.ts.map +0 -1
- package/dist/src/runtime/actoviqAgents.js.map +0 -1
- package/dist/src/runtime/actoviqApiMicrocompact.d.ts +0 -18
- package/dist/src/runtime/actoviqApiMicrocompact.d.ts.map +0 -1
- package/dist/src/runtime/actoviqApiMicrocompact.js.map +0 -1
- package/dist/src/runtime/actoviqBackgroundTasks.d.ts +0 -78
- package/dist/src/runtime/actoviqBackgroundTasks.d.ts.map +0 -1
- package/dist/src/runtime/actoviqBackgroundTasks.js.map +0 -1
- package/dist/src/runtime/actoviqCompact.d.ts.map +0 -1
- package/dist/src/runtime/actoviqCompact.js.map +0 -1
- package/dist/src/runtime/actoviqModelApi.d.ts +0 -10
- package/dist/src/runtime/actoviqModelApi.d.ts.map +0 -1
- package/dist/src/runtime/actoviqModelApi.js.map +0 -1
- package/dist/src/runtime/actoviqPermissions.d.ts.map +0 -1
- package/dist/src/runtime/actoviqPermissions.js.map +0 -1
- package/dist/src/runtime/actoviqSessionPermissions.d.ts +0 -5
- package/dist/src/runtime/actoviqSessionPermissions.d.ts.map +0 -1
- package/dist/src/runtime/actoviqSessionPermissions.js.map +0 -1
- package/dist/src/runtime/actoviqSkills.d.ts.map +0 -1
- package/dist/src/runtime/actoviqSkills.js.map +0 -1
- package/dist/src/runtime/actoviqSlashCommands.d.ts +0 -46
- package/dist/src/runtime/actoviqSlashCommands.d.ts.map +0 -1
- package/dist/src/runtime/actoviqSlashCommands.js.map +0 -1
- package/dist/src/runtime/actoviqToolCatalog.d.ts +0 -19
- package/dist/src/runtime/actoviqToolCatalog.d.ts.map +0 -1
- package/dist/src/runtime/actoviqToolCatalog.js.map +0 -1
- package/dist/src/runtime/defaultActoviqAgents.d.ts +0 -3
- package/dist/src/runtime/defaultActoviqAgents.d.ts.map +0 -1
- package/dist/src/runtime/defaultActoviqAgents.js.map +0 -1
- package/dist/src/swarm/actoviqSwarm.d.ts +0 -80
- package/dist/src/swarm/actoviqSwarm.d.ts.map +0 -1
- package/dist/src/swarm/actoviqSwarm.js.map +0 -1
- package/dist/src/tools/actoviqCoreTools.d.ts.map +0 -1
- package/dist/src/tools/actoviqCoreTools.js.map +0 -1
- package/dist/src/tools/actoviqFileTools.d.ts +0 -9
- package/dist/src/tools/actoviqFileTools.d.ts.map +0 -1
- package/dist/src/tools/actoviqFileTools.js.map +0 -1
- package/dist/src/tools/actoviqMiscTools.d.ts.map +0 -1
- package/dist/src/tools/actoviqMiscTools.js.map +0 -1
- package/dist/src/tools/actoviqNotebookEdit.d.ts.map +0 -1
- package/dist/src/tools/actoviqNotebookEdit.js.map +0 -1
- package/dist/src/tools/actoviqShellTools.d.ts.map +0 -1
- package/dist/src/tools/actoviqShellTools.js.map +0 -1
- package/dist/src/tools/actoviqTaskTools.d.ts.map +0 -1
- package/dist/src/tools/actoviqTaskTools.js.map +0 -1
- package/dist/src/tools/actoviqWebTools.d.ts.map +0 -1
- package/dist/src/tools/actoviqWebTools.js.map +0 -1
- package/dist/src/tui/actoviqTui.d.ts.map +0 -1
- package/dist/src/tui/actoviqTui.js.map +0 -1
- package/dist/src/workspace/actoviqWorkspace.d.ts +0 -17
- package/dist/src/workspace/actoviqWorkspace.d.ts.map +0 -1
- package/dist/src/workspace/actoviqWorkspace.js.map +0 -1
- /package/assets/{actoviq-icon.ico → hadamard-icon.ico} +0 -0
- /package/assets/{actoviq-icon.png → hadamard-icon.png} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,62 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on Keep a Changelog, with automated updates from GitHub Releases.
|
|
6
6
|
|
|
7
|
+
## Unreleased
|
|
8
|
+
|
|
9
|
+
## v0.4.10 - 2026-07-31
|
|
10
|
+
|
|
11
|
+
### Product / docs
|
|
12
|
+
|
|
13
|
+
- Rebrand the product, repository, CLIs, GUI, and config paths from **Actoviq** to **Hadamard** (`hadamard-*`, `~/.hadamard`, project-local `.hadamard/`). The published npm package name remains **`actoviq-agent-sdk`**.
|
|
14
|
+
- Migrate legacy `~/.actoviq` and project-local `.actoviq/` into the new Hadamard paths on first use.
|
|
15
|
+
- Point GitHub Pages / VitePress at `/hadamard/` with Hadamard branding; clarify package-vs-product naming in README.
|
|
16
|
+
|
|
17
|
+
### GUI
|
|
18
|
+
|
|
19
|
+
- Do not auto-register the process cwd / install / source tree as a Project on bare GUI launch. First open shows an empty Projects list until the user opens or creates one.
|
|
20
|
+
|
|
21
|
+
### Sandbox / CI
|
|
22
|
+
|
|
23
|
+
- Harden OS sandbox adapters: honor `enforcement: 'off'`, keep host tool PATH roots readable, and use allow-default write isolation on macOS seatbelt so CI (including macOS) stays usable.
|
|
24
|
+
|
|
25
|
+
### Notes
|
|
26
|
+
|
|
27
|
+
- This release stays on the **0.4.x** line. **1.0.0 is not published yet.**
|
|
28
|
+
- GitHub repository: https://github.com/DeconBear/hadamard — docs: https://deconbear.github.io/hadamard/
|
|
29
|
+
|
|
30
|
+
## v0.4.9 - 2026-07-30
|
|
31
|
+
|
|
32
|
+
### Platform
|
|
33
|
+
|
|
34
|
+
- **Policy / sandbox / hooks** — host/user/project policy resolution, OS sandbox adapters (Linux bubblewrap / macOS sandbox-exec / Windows degraded), and typed lifecycle hooks.
|
|
35
|
+
- **Checkpoints / goals / session graph** — durable file+conversation checkpoints, goal contracts, and session fork/tree/catalog primitives.
|
|
36
|
+
- **App-server / remote / VS Code** — stdio/WebSocket JSON app-server, file-backed remote job leases, and a VS Code extension client.
|
|
37
|
+
- **Plugin packages** — versioned installable plugins with integrity-required trust grants.
|
|
38
|
+
- **Code intel / updates / worktrees / proposals** — LSP tools, app update service, task worktree coordination, context rules, review/diff stores, memory and team proposals.
|
|
39
|
+
|
|
40
|
+
### GUI
|
|
41
|
+
|
|
42
|
+
- Upgrade the bottom-right FAB to a global **Assistant**: always visible, chat icon, Global/Project scope. Global mode lists project briefs and can change settings/plugins/bridge/automation/MCP (no source Write/Edit/Bash); Project mode keeps Manager update/plan/issues.
|
|
43
|
+
- Remove the redundant sidebar **New chat** button; start chats from project detail **+ New conversation**.
|
|
44
|
+
- Fix opening local workspace paths: strip quotes / `file://`, require directories, surface API errors in the Open workspace dialog, roll back on failure, and allow credentialless opens (External CLI).
|
|
45
|
+
- Remove Settings → **Automation** / **Browser** / **Computer control**. Configure schedules in the main **Automation** region; configure Playwright and Computer Use under **Customize → Plugins**.
|
|
46
|
+
|
|
47
|
+
### Managed plugins
|
|
48
|
+
|
|
49
|
+
- Add **Image Generation**, **Video Generation**, and **3D Generation** managed plugins with multi-profile / multi-key configuration (Gemini Nano Banana, GPT Image 2, Qwen-Image; Seedance, Hailuo, HappyHorse; Meshy, Tripo, Rodin).
|
|
50
|
+
- Agent tools `generate_image` / `generate_video` / `generate_mesh` inject Qwen-style professional prompt-rewrite guidance and let the model choose among configured profiles.
|
|
51
|
+
- Customize → Plugins includes a profile list editor with **Get API Key** links to each provider console.
|
|
52
|
+
|
|
53
|
+
### Bridge / tests / CI
|
|
54
|
+
|
|
55
|
+
- Add regression coverage for consecutive `HadamardBridgeSession.stream()` calls so the second turn uses `--resume` (GitHub #8).
|
|
56
|
+
- Harden GUI publish update-metadata validation (`workflow_dispatch` may rebuild an existing tag with the current builder).
|
|
57
|
+
|
|
58
|
+
### Notes
|
|
59
|
+
|
|
60
|
+
- This release stays on the **0.4.x** line. **1.0.0 is not published yet.**
|
|
61
|
+
- Windows shell sandbox remains best-effort/degraded; `enforcement: required` fails closed when OS isolation is unavailable.
|
|
62
|
+
|
|
7
63
|
## v0.4.8 - 2026-07-27
|
|
8
64
|
|
|
9
65
|
### Runtime / prompt cache
|
|
@@ -89,12 +145,12 @@ The format is based on Keep a Changelog, with automated updates from GitHub Rele
|
|
|
89
145
|
|
|
90
146
|
- **Subagent infrastructure**: `Agent`/`Task` tool with Task compatibility alias, persistent sessions, and `SendMessage` continuation
|
|
91
147
|
- **Background agents**: automatic completion notifications, progress tracking, cancellation, and lifecycle reconciliation
|
|
92
|
-
- **Markdown agent definitions**: user-level (`~/.
|
|
148
|
+
- **Markdown agent definitions**: user-level (`~/.hadamard/agents/`) and project-level (`.hadamard/agents/`) `.md` files with tool/skill/permission/MCP/effort controls
|
|
93
149
|
- **Worktree isolation**: `isolation: "worktree"` for parallel agents editing overlapping files; dirty worktrees retained, clean ones auto-removed
|
|
94
150
|
- **Nested delegation controls**: configurable depth limit (`maxSubagentDepth`), fanout limit (`maxSubagentFanout`), and per-definition allowed agents
|
|
95
151
|
- **Built-in agent definitions**: Explore, Plan, and general-purpose agents with Claude Code-compatible profiles
|
|
96
152
|
- **Windows Bash tool**: now uses Git Bash for POSIX commands on Windows
|
|
97
|
-
- **TUI**: full-screen terminal UI (`
|
|
153
|
+
- **TUI**: full-screen terminal UI (`hadamard-tui`) with session management, permission mode switching, and provider configuration
|
|
98
154
|
- **Model tiers**: `min`/`medium`/`max` tier resolution with `ACTVIQ_DEFAULT_{TIER}_MODEL` env vars
|
|
99
155
|
- **Enhanced Agent tool prompt**: Claude Code-level subagent guidance (foreground/background, parallel delegation, "never delegate understanding")
|
|
100
156
|
|
|
@@ -105,7 +161,7 @@ The format is based on Keep a Changelog, with automated updates from GitHub Rele
|
|
|
105
161
|
- Background task `cancel()`: re-reads store after abort to prevent TOCTOU race with terminal state
|
|
106
162
|
- `forwardStreamResult`: captures both pump and result errors instead of silently losing one
|
|
107
163
|
- Agent definition loader: logs a warning for malformed `.md` files instead of silently skipping them
|
|
108
|
-
- `
|
|
164
|
+
- `encodeHadamardProjectPath` test made platform-aware (was hardcoded to Windows paths)
|
|
109
165
|
|
|
110
166
|
### Benchmark
|
|
111
167
|
|
|
@@ -116,17 +172,17 @@ The format is based on Keep a Changelog, with automated updates from GitHub Rele
|
|
|
116
172
|
|
|
117
173
|
### TUI Branding
|
|
118
174
|
|
|
119
|
-
- Display name changed from `
|
|
175
|
+
- Display name changed from `Hadamard TUI` to `Hadamard Agent` (3 visible strings; all internal names, env vars, and config paths unchanged)
|
|
120
176
|
|
|
121
|
-
**Full Changelog**: https://github.com/DeconBear/
|
|
177
|
+
**Full Changelog**: https://github.com/DeconBear/hadamard/compare/v0.3.1...v0.4.0
|
|
122
178
|
|
|
123
179
|
## v0.3.1 - 2026-06-11
|
|
124
180
|
|
|
125
|
-
**Full Changelog**: https://github.com/DeconBear/
|
|
181
|
+
**Full Changelog**: https://github.com/DeconBear/hadamard/compare/v0.3.0...v0.3.1
|
|
126
182
|
|
|
127
183
|
## v0.3.0 - 2026-05-11
|
|
128
184
|
|
|
129
|
-
**Full Changelog**: https://github.com/DeconBear/
|
|
185
|
+
**Full Changelog**: https://github.com/DeconBear/hadamard/commits/v0.3.0
|
|
130
186
|
|
|
131
187
|
## v0.2.0 - 2026-05-08
|
|
132
188
|
|
|
@@ -159,61 +215,61 @@ The format is based on Keep a Changelog, with automated updates from GitHub Rele
|
|
|
159
215
|
|
|
160
216
|
- Added `workflow-annotated.ts` — annotated walkthrough of every API parameter
|
|
161
217
|
- Added `workflow-agent-orchestration.ts` — Agent autonomously designs and executes workflows
|
|
162
|
-
- Added `
|
|
218
|
+
- Added `hadamard-platform.ts` — consolidated workspaces + swarm + session memory + dream
|
|
163
219
|
- Removed 8 redundant examples (buddy, computer-use, dream, memory, session-memory, skills, swarm, workspaces)
|
|
164
220
|
- 12 focused examples remaining
|
|
165
221
|
|
|
166
222
|
### Fixes
|
|
167
223
|
|
|
168
224
|
- 18 bugs across provider layer, runtime, and workflow engine
|
|
169
|
-
- Missing public API exports (trackRecentFile,
|
|
225
|
+
- Missing public API exports (trackRecentFile, resolveHadamardStopHooks, etc.)
|
|
170
226
|
|
|
171
227
|
### Internal
|
|
172
228
|
|
|
173
229
|
- Fixed regex for hyphenated step IDs in variable interpolation (`\w+` → `[\w-]+`)
|
|
174
230
|
- Defensive `?.` checks on optional `dependsOn` and `steps` fields across workflow engine
|
|
175
|
-
- `getTool()` public method on `
|
|
231
|
+
- `getTool()` public method on `HadamardAgentClient` for tool registry lookup
|
|
176
232
|
|
|
177
233
|
## v0.1.12 - 2026-05-06
|
|
178
234
|
|
|
179
|
-
**Full Changelog**: https://github.com/DeconBear/
|
|
235
|
+
**Full Changelog**: https://github.com/DeconBear/hadamard/compare/v0.1.11...v0.1.12
|
|
180
236
|
|
|
181
237
|
## v0.1.11 - 2026-04-04
|
|
182
238
|
|
|
183
|
-
**Full Changelog**: https://github.com/DeconBear/
|
|
239
|
+
**Full Changelog**: https://github.com/DeconBear/hadamard/compare/v0.1.9...v0.1.11
|
|
184
240
|
|
|
185
241
|
## v0.1.10 - 2026-04-03
|
|
186
242
|
|
|
187
|
-
**Full Changelog**: https://github.com/DeconBear/
|
|
243
|
+
**Full Changelog**: https://github.com/DeconBear/hadamard/compare/v0.1.9...v0.1.10
|
|
188
244
|
|
|
189
245
|
## v0.1.9 - 2026-04-03
|
|
190
246
|
|
|
191
|
-
**Full Changelog**: https://github.com/DeconBear/
|
|
247
|
+
**Full Changelog**: https://github.com/DeconBear/hadamard/compare/v0.1.8...v0.1.9
|
|
192
248
|
|
|
193
249
|
## v0.1.8 - 2026-04-03
|
|
194
250
|
|
|
195
|
-
**Full Changelog**: https://github.com/DeconBear/
|
|
251
|
+
**Full Changelog**: https://github.com/DeconBear/hadamard/compare/v0.1.7...v0.1.8
|
|
196
252
|
|
|
197
253
|
## v0.1.7 - 2026-04-02
|
|
198
254
|
|
|
199
|
-
**Full Changelog**: https://github.com/DeconBear/
|
|
255
|
+
**Full Changelog**: https://github.com/DeconBear/hadamard/compare/v0.1.6...v0.1.7
|
|
200
256
|
|
|
201
257
|
## v0.1.6 - 2026-04-02
|
|
202
258
|
|
|
203
|
-
**Full Changelog**: https://github.com/DeconBear/
|
|
259
|
+
**Full Changelog**: https://github.com/DeconBear/hadamard/compare/v0.1.5...v0.1.6
|
|
204
260
|
|
|
205
261
|
## v0.1.5 - 2026-04-02
|
|
206
262
|
|
|
207
|
-
**Full Changelog**: https://github.com/DeconBear/
|
|
263
|
+
**Full Changelog**: https://github.com/DeconBear/hadamard/compare/v0.1.4...v0.1.5
|
|
208
264
|
|
|
209
265
|
## v0.1.4 - 2026-04-02
|
|
210
266
|
|
|
211
|
-
**Full Changelog**: https://github.com/DeconBear/
|
|
267
|
+
**Full Changelog**: https://github.com/DeconBear/hadamard/compare/v0.1.3...v0.1.4
|
|
212
268
|
|
|
213
269
|
## v0.1.3 - 2026-04-01
|
|
214
270
|
|
|
215
|
-
**Full Changelog**: https://github.com/DeconBear/
|
|
271
|
+
**Full Changelog**: https://github.com/DeconBear/hadamard/compare/v0.1.2...v0.1.3
|
|
216
272
|
|
|
217
273
|
## v0.1.2 - 2026-04-01
|
|
218
274
|
|
|
219
|
-
**Full Changelog**: https://github.com/DeconBear/
|
|
275
|
+
**Full Changelog**: https://github.com/DeconBear/hadamard/compare/v0.1.1...v0.1.2
|
package/README-zh.md
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Hadamard Agent SDK
|
|
2
2
|
|
|
3
|
-
[](https://github.com/DeconBear/hadamard/actions/workflows/ci.yml)
|
|
4
|
+
[](https://github.com/DeconBear/hadamard/actions/workflows/publish-npm.yml)
|
|
5
5
|
[](https://www.npmjs.com/package/actoviq-agent-sdk)
|
|
6
|
-
[](https://deconbear.github.io/
|
|
6
|
+
[](https://deconbear.github.io/hadamard/)
|
|
7
7
|
|
|
8
8
|
[English](./README.md) | [中文](./README-zh.md)
|
|
9
9
|
|
|
10
|
-
文档站地址:https://deconbear.github.io/
|
|
10
|
+
文档站地址:https://deconbear.github.io/hadamard/
|
|
11
11
|
|
|
12
|
-
**
|
|
12
|
+
**Hadamard**(`0.4.x`)是 TypeScript agent SDK 与 agent-team 平台,含 TUI、GUI、Bridge 与多 agent 协作。未来的 **1.0** 线将稳定 package subpath 契约;该表面**尚未发布**。
|
|
13
|
+
|
|
14
|
+
> **包名说明:** npm 发布名仍为 [`actoviq-agent-sdk`](https://www.npmjs.com/package/actoviq-agent-sdk)。产品、仓库、CLI 与配置路径统一为 **Hadamard**(`hadamard-*`、`~/.hadamard`、`.hadamard/`)。
|
|
13
15
|
|
|
14
16
|
> **说明:** 桌面端 **Agent graph** 编排 UI(可视化团队 / 图编辑器)**仍在持续迭代与优化中**,交互与行为可能变化。生产工作流请优先使用 `/team`、已保存的 team 定义,以及 SDK 的 `createTeam()` / graph runtime。详见 `CHANGELOG.md`。
|
|
15
17
|
|
|
16
|
-
受 Claude Code、Codex、Deepagents 等项目启发。
|
|
18
|
+
受 Claude Code、Codex、Deepagents 等项目启发。Hadamard 保持独立,拥有自己的公开 API 与文档。
|
|
17
19
|
|
|
18
20
|
## 愿景
|
|
19
21
|
|
|
@@ -24,11 +26,11 @@
|
|
|
24
26
|
## 亮点
|
|
25
27
|
|
|
26
28
|
- **Model Team** — `panel-analysis`(并行调查 + 收敛)和 `reviewer`(只报告可验证问题的审计者)。runtime-owned 成员池、流式 `TeamEvent`、成员 provider 配置,以及继承的权限/重试边界。
|
|
27
|
-
- **Model Router / Leader-Dispatch** — 每轮由 leader 分派到最佳 specialist(任意模型/提供商),执行者自身也可召集 team。Profile 位于 `~/.
|
|
29
|
+
- **Model Router / Leader-Dispatch** — 每轮由 leader 分派到最佳 specialist(任意模型/提供商),执行者自身也可召集 team。Profile 位于 `~/.hadamard/routers/`。
|
|
28
30
|
- **Dynamic Workflows** — 显式信任等级的 JS 编排:trusted 兼容执行、隔离 local-process,或由 host 提供的远程/container 强 sandbox;local process 不宣传为对抗性多租户沙箱。
|
|
29
31
|
- **Bridge(命名运行时配置)** — 可选 `Direct API` 做 provider/API 级复用,也可选 `External CLI` 直接启动已安装的 Claude Code、Codex、Pi、CodeWhale、Reasonix 或 Crush,继承各 CLI 的原生登录和配置、流式显示规范化后的工具与回答事件、终止后台任务,并浏览/恢复受支持的原生会话。单独填写的 key 只注入子进程,不写入 CLI 的凭据库;Pi、CodeWhale、Reasonix 与 Crush 会使用按配置隔离的持久会话目录,因此 key 模式重启后仍可读取历史,同时不会读取原生登录凭据。
|
|
30
|
-
- **桌面 GUI (`
|
|
31
|
-
- **TUI (`
|
|
32
|
+
- **桌面 GUI (`hadamard-gui`)** — Electron 聊天 UI:流式 transcript、对话历史、命令面板、设置、每工具权限提示。安全增强。全局 **Assistant** FAB(Global/Project 作用域)。可视化 **Agent graph** 编排 UI 仍在迭代中,暂勿当作稳定产品面。
|
|
33
|
+
- **TUI (`hadamard-tui`)** — 终端 UI,25+ 斜杠命令,Claude Code 风格 UX:`/team`、`/bridge`、`/plan`、`/hooks`、`/mcp`、`/review`、`/context`、`/cost`、`/doctor` 等。实时状态旋转器、滚动 transcript、todo 面板、项目/用户级权限对话框、子命令自动补全。
|
|
32
34
|
- **计划模式 + hooks** — `EnterPlanMode`/`ExitPlanMode` 工具 + 计划文件;`settings.json` 中的 `PreToolUse`/`PostToolUse`/`SessionStart` hooks。
|
|
33
35
|
- **Worktree 工具** — `EnterWorktree`/`ExitWorktree`,栈式 cwd,`.worktreeinclude`,PR checkout。
|
|
34
36
|
- **TavilySearch** — AI 优化网络搜索,纯 TypeScript。
|
|
@@ -63,7 +65,7 @@ npm install actoviq-agent-sdk zod
|
|
|
63
65
|
本地使用,请将配置放在:
|
|
64
66
|
|
|
65
67
|
```text
|
|
66
|
-
~/.
|
|
68
|
+
~/.hadamard/settings.json
|
|
67
69
|
```
|
|
68
70
|
|
|
69
71
|
也可以使用 `loadJsonConfigFile(...)` 预加载自定义 JSON 文件。
|
|
@@ -95,13 +97,13 @@ try {
|
|
|
95
97
|
}
|
|
96
98
|
```
|
|
97
99
|
|
|
98
|
-
0.x 应用可继续从 package root 或 `/compat` 导入 `createAgentSdk
|
|
100
|
+
0.x 应用可继续从 package root 或 `/compat` 导入 `createAgentSdk`;新应用应使用上述职责 subpath。
|
|
99
101
|
|
|
100
102
|
运行仓库示例:
|
|
101
103
|
|
|
102
104
|
```bash
|
|
103
|
-
npm run example:
|
|
104
|
-
npm run example:
|
|
105
|
+
npm run example:hadamard-quickstart
|
|
106
|
+
npm run example:hadamard-agent-helpers
|
|
105
107
|
npm run example:profiles
|
|
106
108
|
```
|
|
107
109
|
|
|
@@ -110,18 +112,18 @@ npm run example:profiles
|
|
|
110
112
|
安装包后,可以直接从终端启动交互式 scrollback 模式 REPL:
|
|
111
113
|
|
|
112
114
|
```bash
|
|
113
|
-
npx
|
|
115
|
+
npx hadamard-react [工作目录]
|
|
114
116
|
```
|
|
115
117
|
|
|
116
118
|
## 终端 UI (TUI)
|
|
117
119
|
|
|
118
|
-
`
|
|
120
|
+
`hadamard-tui` 是全功能终端 UI,模拟 Claude Code 的 REPL 设计:
|
|
119
121
|
|
|
120
122
|
```bash
|
|
121
|
-
npx
|
|
123
|
+
npx hadamard-tui [工作目录] [选项]
|
|
122
124
|
|
|
123
125
|
# 选项
|
|
124
|
-
# --config <路径> 加载指定的
|
|
126
|
+
# --config <路径> 加载指定的 Hadamard 设置 JSON 文件
|
|
125
127
|
# --permission-mode <模式> default | acceptEdits | plan | bypassPermissions (默认)
|
|
126
128
|
# --model <模型> 覆盖已配置的模型
|
|
127
129
|
# --resume <会话ID> 恢复已存储的 Hadamard SDK 会话
|
|
@@ -130,19 +132,19 @@ npx actoviq-tui [工作目录] [选项]
|
|
|
130
132
|
|
|
131
133
|
特性与英文 README 一致,包括上下文管理(append-only 前缀以利于 DeepSeek 等自动缓存;超阈值走整段摘要 compact)、bridge config、计划模式、hooks、MCP、诊断等。六种 External CLI 都可使用 `/bridge status`、`/bridge background`、`/bridge runs` 和 `/bridge stop`;`/bridge history` 与 `/bridge resume` 在 TUI 和 GUI 中共享同一套校验逻辑,但原生历史/恢复能力仍取决于已安装 CLI 的协议与版本。
|
|
132
134
|
|
|
133
|
-
## 桌面 GUI (`
|
|
135
|
+
## 桌面 GUI (`hadamard-gui`)
|
|
134
136
|
|
|
135
137
|
```bash
|
|
136
|
-
npx
|
|
138
|
+
npx hadamard-gui [工作目录] [选项]
|
|
137
139
|
```
|
|
138
140
|
|
|
139
141
|
- Project 详情提供 `Document` / `Issues` 双 Tab。Issue 支持优先级、标签、验收标准、评论,以及受守卫保护的 `backlog → todo → in_progress → in_review/blocked → done` 生命周期。
|
|
140
142
|
- **Agent graph 编排 UI**(GUI **Agent** 区域的可视化团队/图编辑器)**仍在持续迭代和优化中**,请勿当作已定稿产品面;稳定工作流请用已保存 team + `/team` / SDK API。
|
|
141
143
|
- Settings → Models & routing 可创建 Agent Profile,将 bridge config 与模型绑定。`/issues start <id> [agent-profile]` 会先让 Project Manager 生成任务书,再创建关联会话;执行 agent 通过 `IssueReport` 汇报待审或阻塞状态。
|
|
142
|
-
- Issue 与会话可双向跳转。Issue 默认保存在 `<data-root>/projects/<workspace-key>/issues.json`,也可切换到受保护的工作区文件 `.
|
|
144
|
+
- Issue 与会话可双向跳转。Issue 默认保存在 `<data-root>/projects/<workspace-key>/issues.json`,也可切换到受保护的工作区文件 `.hadamard/issues.json`。
|
|
143
145
|
- Settings → General 可将完整数据根目录迁移到空目录:复制并校验数据、写入 bootstrap 指针、重建 SDK/session store,并保留旧目录供手动清理。
|
|
144
146
|
|
|
145
|
-
数据根目录解析优先级为:显式 SDK `homeDir` → `
|
|
147
|
+
数据根目录解析优先级为:显式 SDK `homeDir` → `HADAMARD_HOME` → `~/.hadamard/data-root.json` → `~/.hadamard`。
|
|
146
148
|
|
|
147
149
|
## 开发者笔记
|
|
148
150
|
|
|
@@ -155,21 +157,16 @@ npx actoviq-gui [工作目录] [选项]
|
|
|
155
157
|
|
|
156
158
|
- 英文教程:[docs/en/README.md](./docs/en/README.md)
|
|
157
159
|
- 中文教程:[docs/zh/README.md](./docs/zh/README.md)
|
|
158
|
-
- GitHub Pages 文档站:https://deconbear.github.io/
|
|
160
|
+
- GitHub Pages 文档站:https://deconbear.github.io/hadamard/
|
|
159
161
|
|
|
160
162
|
入口示例:
|
|
161
|
-
- [examples/
|
|
162
|
-
- [examples/
|
|
163
|
-
- [examples/
|
|
163
|
+
- [examples/hadamard-quickstart.ts](./examples/hadamard-quickstart.ts)
|
|
164
|
+
- [examples/hadamard-workflow.ts](./examples/hadamard-workflow.ts)
|
|
165
|
+
- [examples/hadamard-agent-helpers.ts](./examples/hadamard-agent-helpers.ts)
|
|
164
166
|
- [examples/profiles/all-profiles.ts](./examples/profiles/all-profiles.ts)
|
|
165
167
|
|
|
166
168
|
架构与运维文档:
|
|
167
169
|
|
|
168
|
-
- [架构审计与实施规划](./docs/zh/08-sdk-architecture-audit-and-optimization-plan.md)
|
|
169
|
-
- [1.0 迁移指南](./docs/zh/09-sdk-v2-migration-guide.md)
|
|
170
|
-
- [支持、安全、SemVer 与 failure model](./docs/zh/10-support-security-semver-and-failure-model.md)
|
|
171
|
-
- [JSON v1 → SQLite 迁移 Runbook](./docs/zh/11-json-v1-to-sqlite-migration-runbook.md)
|
|
172
|
-
- [1.0 实施与端到端验收报告](./docs/zh/12-sdk-1.0-implementation-and-verification-report.md)
|
|
173
170
|
- [安全报告政策](./SECURITY.md)
|
|
174
171
|
|
|
175
172
|
## 参与贡献
|
package/README.md
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Hadamard Agent SDK
|
|
2
2
|
|
|
3
|
-
[](https://github.com/DeconBear/hadamard/actions/workflows/ci.yml)
|
|
4
|
+
[](https://github.com/DeconBear/hadamard/actions/workflows/publish-npm.yml)
|
|
5
5
|
[](https://www.npmjs.com/package/actoviq-agent-sdk)
|
|
6
|
-
[](https://deconbear.github.io/
|
|
6
|
+
[](https://deconbear.github.io/hadamard/)
|
|
7
7
|
|
|
8
8
|
[English](./README.md) | [Chinese](./README-zh.md)
|
|
9
9
|
|
|
10
|
-
Documentation site: https://deconbear.github.io/
|
|
10
|
+
Documentation site: https://deconbear.github.io/hadamard/
|
|
11
11
|
|
|
12
|
-
**
|
|
12
|
+
**Hadamard** (`0.4.x`) is a TypeScript agent SDK and agent-team platform with TUI, GUI, Bridge, and multi-agent collaboration. A future **1.0** line will stabilize package subpath contracts; that surface is **not published yet**.
|
|
13
|
+
|
|
14
|
+
> **Package name:** the published npm package remains [`actoviq-agent-sdk`](https://www.npmjs.com/package/actoviq-agent-sdk). Product, repo, CLI, and config paths use **Hadamard** (`hadamard-*`, `~/.hadamard`, `.hadamard/`).
|
|
13
15
|
|
|
14
16
|
> **Note:** The desktop **Agent graph** orchestration UI (visual team / graph editor) is **still under active iteration and optimization** — expect UX and API changes. Prefer `/team`, saved team definitions, and the SDK `createTeam()` / graph runtime for production workflows today. See `CHANGELOG.md`.
|
|
15
17
|
|
|
16
|
-
Inspired by Claude Code, Codex, Deepagents, and the broader agent ecosystem.
|
|
18
|
+
Inspired by Claude Code, Codex, Deepagents, and the broader agent ecosystem. Hadamard remains independent with its own public surface and documentation.
|
|
17
19
|
|
|
18
20
|
## Vision
|
|
19
21
|
|
|
@@ -24,11 +26,11 @@ Inspired by Claude Code, Codex, Deepagents, and the broader agent ecosystem. Act
|
|
|
24
26
|
## Highlights
|
|
25
27
|
|
|
26
28
|
- **Model Team** — `panel-analysis` (parallel investigation + convergence) and `reviewer` (verifiable-issues-only auditor). Runtime-owned member pooling, streamed `TeamEvent`s, per-member provider config, and inherited permission/retry boundaries.
|
|
27
|
-
- **Model Router / Leader-Dispatch** — a leader classifies each turn and dispatches it to the best specialist route (any model/provider), runs normally, and the executor may itself convene a team. Profiles in `~/.
|
|
29
|
+
- **Model Router / Leader-Dispatch** — a leader classifies each turn and dispatches it to the best specialist route (any model/provider), runs normally, and the executor may itself convene a team. Profiles in `~/.hadamard/routers/`.
|
|
28
30
|
- **Dynamic Workflows** — JS script-based orchestration with explicit trust levels: trusted compatibility execution, isolated local-process execution, or a host-supplied remote/container sandbox for adversarial inputs.
|
|
29
31
|
- **Bridge (named runtime configs)** — choose `Direct API` for provider-level reuse, or `External CLI` to launch installed Claude Code, Codex, Pi, CodeWhale, Reasonix, or Crush; reuse each CLI's native login/config, stream normalized tool and assistant events, stop background work, and browse/resume supported native conversations. An explicit key override is injected only into the child and is not written to the CLI's credential store; Pi, CodeWhale, Reasonix, and Crush keep isolated per-config session profiles so that key-mode history survives restarts without reading the native login store.
|
|
30
|
-
- **Desktop GUI (`
|
|
31
|
-
- **TUI (`
|
|
32
|
+
- **Desktop GUI (`hadamard-gui`)** — Electron chat UI: streamed transcript, conversation history, command palette, settings, per-tool permission prompts. Security-hardened. Global **Assistant** FAB (Global/Project scope). The visual **Agent graph** orchestration UI is shipping in-progress and continues to be iterated (not a stable product surface yet).
|
|
33
|
+
- **TUI (`hadamard-tui`)** — Terminal UI with 25+ slash commands, Claude Code-style UX: `/team`, `/bridge`, `/plan`, `/hooks`, `/mcp`, `/review`, `/context`, `/cost`, `/doctor`, and more. Live status spinner, scrollback transcript, todo panel, permission dialogs with project/user scope, sub-command autocomplete.
|
|
32
34
|
- **Plan mode + hooks** — `EnterPlanMode`/`ExitPlanMode` tools with plan file; user-configurable `PreToolUse`/`PostToolUse`/`SessionStart` hooks from `settings.json`.
|
|
33
35
|
- **Worktree Tools** — `EnterWorktree`/`ExitWorktree` with stack-based cwd, `.worktreeinclude`, PR checkout.
|
|
34
36
|
- **TavilySearch** — AI-optimized web search, pure TypeScript.
|
|
@@ -64,7 +66,7 @@ npm install actoviq-agent-sdk zod
|
|
|
64
66
|
For local examples, place your config at:
|
|
65
67
|
|
|
66
68
|
```text
|
|
67
|
-
~/.
|
|
69
|
+
~/.hadamard/settings.json
|
|
68
70
|
```
|
|
69
71
|
|
|
70
72
|
You can also preload a custom JSON file with `loadJsonConfigFile(...)`.
|
|
@@ -96,13 +98,13 @@ try {
|
|
|
96
98
|
}
|
|
97
99
|
```
|
|
98
100
|
|
|
99
|
-
Existing 0.x applications may keep importing `createAgentSdk` from the package root or `/compat
|
|
101
|
+
Existing 0.x applications may keep importing `createAgentSdk` from the package root or `/compat`; new applications should use the responsibility subpaths above.
|
|
100
102
|
|
|
101
103
|
Run the repository examples with:
|
|
102
104
|
|
|
103
105
|
```bash
|
|
104
|
-
npm run example:
|
|
105
|
-
npm run example:
|
|
106
|
+
npm run example:hadamard-quickstart
|
|
107
|
+
npm run example:hadamard-agent-helpers
|
|
106
108
|
npm run example:profiles
|
|
107
109
|
```
|
|
108
110
|
|
|
@@ -111,7 +113,7 @@ npm run example:profiles
|
|
|
111
113
|
After installing the package, you can start an interactive scrollback-mode REPL directly from the terminal:
|
|
112
114
|
|
|
113
115
|
```bash
|
|
114
|
-
npx
|
|
116
|
+
npx hadamard-react [work-dir]
|
|
115
117
|
```
|
|
116
118
|
|
|
117
119
|
This launches a readline-based interactive agent with:
|
|
@@ -120,17 +122,17 @@ This launches a readline-based interactive agent with:
|
|
|
120
122
|
- Command history via ↑↓ arrow keys
|
|
121
123
|
- Ctrl+C to abort the current request, press twice to exit
|
|
122
124
|
|
|
123
|
-
**Note:** `
|
|
125
|
+
**Note:** `hadamard-react` is a lightweight scrollback REPL, **not a full-featured TUI**. It does not use an alternate screen buffer, ScrollBox, or rich terminal rendering. It is designed for quick interaction and debugging. For the full terminal UI, use `hadamard-tui` below.
|
|
124
126
|
|
|
125
127
|
## Terminal UI (TUI)
|
|
126
128
|
|
|
127
|
-
`
|
|
129
|
+
`hadamard-tui` is the full terminal UI, modeled on Claude Code's REPL design: the transcript prints into native scrollback while a redrawable bottom region hosts the status line, a Claude-style prompt bar, the slash-command menu, and permission dialogs.
|
|
128
130
|
|
|
129
131
|
```bash
|
|
130
|
-
npx
|
|
132
|
+
npx hadamard-tui [work-dir] [options]
|
|
131
133
|
|
|
132
134
|
# Options
|
|
133
|
-
# --config <path> Load a specific
|
|
135
|
+
# --config <path> Load a specific Hadamard settings JSON file
|
|
134
136
|
# --permission-mode <mode> default | acceptEdits | plan | bypassPermissions (default)
|
|
135
137
|
# --model <model> Override the configured model
|
|
136
138
|
# --resume <session-id> Resume a stored Hadamard SDK session
|
|
@@ -151,25 +153,25 @@ Features:
|
|
|
151
153
|
- **Bridge configs** — `/bridge config` manages named API or External CLI profiles for all six managed CLIs. `/bridge status`, `/bridge background`, `/bridge runs`, `/bridge stop`, `/bridge history`, and `/bridge resume` expose the same runtime lifecycle in the TUI and GUI; native history/resume remains subject to each installed CLI's protocol/version support.
|
|
152
154
|
- **Diagnostics + inspection** — `/doctor` checks config health; `/context` inspects the context window; `/cost`/`/usage` track token + spend (per-config breakdown); `/review` reviews the git diff; `/stats` shows session stats.
|
|
153
155
|
- **Context management built in** — the Hadamard SDK auto-compacts long sessions mid-run (full summary compact) and reactively recovers when a provider rejects an oversized prompt; notices surface as ∿ context compacted. History stays **append-only** between turns so automatic prefix caches (e.g. DeepSeek Context Caching) stay hot; Anthropic hosts still get explicit cache_control breakpoints. Oversized tool outputs are artifacted at write time rather than rewriting earlier messages.
|
|
154
|
-
- **MCP management** — `/mcp add`/`/mcp remove` manage stdio + remote HTTP MCP servers, persisted to `~/.
|
|
156
|
+
- **MCP management** — `/mcp add`/`/mcp remove` manage stdio + remote HTTP MCP servers, persisted to `~/.hadamard/mcp.json`.
|
|
155
157
|
- **Image attachments** — `@<path>.png` tokens expand into image content blocks (in-process, read as base64).
|
|
156
158
|
|
|
157
|
-
Both CLIs share the same Hadamard SDK runtime defaults (
|
|
159
|
+
Both CLIs share the same Hadamard SDK runtime defaults (Hadamard settings from `~/.hadamard/settings.json`, core tools, `bypassPermissions`, uncapped tool iterations) and run against any Anthropic-compatible or OpenAI-compatible provider.
|
|
158
160
|
|
|
159
|
-
By default, Hadamard SDK sessions are scoped to the current workspace under `~/.
|
|
161
|
+
By default, Hadamard SDK sessions are scoped to the current workspace under `~/.hadamard/projects/<workspace-key>`. Explicit `sessionDirectory` settings still take precedence.
|
|
160
162
|
|
|
161
|
-
Model tiers are provider-neutral aliases. Configure them with `
|
|
163
|
+
Model tiers are provider-neutral aliases. Configure them with `HADAMARD_DEFAULT_MIN_MODEL`, `HADAMARD_DEFAULT_MEDIUM_MODEL`, and `HADAMARD_DEFAULT_MAX_MODEL`, then use `min`, `medium`, or `max` anywhere a model can be selected.
|
|
162
164
|
|
|
163
|
-
## Desktop GUI (`
|
|
165
|
+
## Desktop GUI (`hadamard-gui`)
|
|
164
166
|
|
|
165
167
|
A local Electron desktop chat UI for the Hadamard SDK.
|
|
166
168
|
|
|
167
169
|
```bash
|
|
168
|
-
npx
|
|
170
|
+
npx hadamard-gui [work-dir] [options]
|
|
169
171
|
|
|
170
172
|
# Options
|
|
171
173
|
# --port <port> Internal port to bind (default: 4174, auto-fallback if busy)
|
|
172
|
-
# --config <path> Load a specific
|
|
174
|
+
# --config <path> Load a specific Hadamard settings JSON file
|
|
173
175
|
# --permission-mode <mode> default | acceptEdits | plan | bypassPermissions (default)
|
|
174
176
|
# --model <model> Override the configured model
|
|
175
177
|
# --resume <session-id> Resume a stored session
|
|
@@ -185,21 +187,21 @@ It opens an Electron window backed by a localhost-only HTTP server. Features:
|
|
|
185
187
|
- **Project Documents + Issues** — each Project detail page has `Document` and `Issues` tabs. Issues use the guarded `backlog → todo → in_progress → in_review/blocked → done` lifecycle, support priorities, labels, acceptance criteria, comments, and links back to their worker sessions.
|
|
186
188
|
- **Agent graph orchestration UI** — visual team/graph editor lives in the GUI **Agent** region; **it is still being iterated and optimized** and should not be treated as a finished product surface. Prefer saved teams + `/team` / SDK APIs for stable workflows.
|
|
187
189
|
- **Agent Profiles for issue dispatch** — Settings → Models & routing can bind a named profile to a saved bridge config and model. `/issues start <id> [agent-profile]` asks the Project Manager for a worker brief, starts a linked session without changing the globally active runtime, and requires the worker to report through `IssueReport`.
|
|
188
|
-
- **Movable data root** — Settings → General can copy the complete
|
|
190
|
+
- **Movable data root** — Settings → General can copy the complete Hadamard data root to an empty directory, validate it, write the bootstrap pointer, rebuild the SDK/session store, and retain the previous directory for manual cleanup.
|
|
189
191
|
|
|
190
192
|
**Security model:** the internal API is reachable only from loopback (Host + Origin allowlist, which defeats DNS-rebinding / CSRF) and requires a per-process token; the page ships a strict Content-Security-Policy. Electron runs with `sandbox`, `contextIsolation`, and no `nodeIntegration`.
|
|
191
193
|
|
|
192
|
-
|
|
194
|
+
Hadamard resolves its data root in this order: an explicit SDK `homeDir`, `HADAMARD_HOME`, `~/.hadamard/data-root.json`, then `~/.hadamard`. Project issues default to `<data-root>/projects/<workspace-key>/issues.json`; a project can instead use the protected workspace file `.hadamard/issues.json`.
|
|
193
195
|
|
|
194
196
|
> `electron` and `bun` are **optional** dependencies — installed only if you use the GUI / bridge runtime. The core SDK does not require them.
|
|
195
197
|
>
|
|
196
|
-
> **Bridge env overrides:** `
|
|
198
|
+
> **Bridge env overrides:** `HADAMARD_CLAUDE_PATH`, `HADAMARD_PI_PATH`, … (one per provider) to point the bridge at a specific runtime binary when it's not on `PATH`. See `docs/en/05-bridge-runtime.md`.
|
|
197
199
|
|
|
198
200
|
## Developer notes
|
|
199
201
|
|
|
200
202
|
- **Build before launching the CLIs/GUI:** `npm run build` (clean + `tsc`). Type-check only with `npm run typecheck`; run the suite with `npm test -- --run`.
|
|
201
203
|
- **Team behavior is centralized:** extend teams through `src/team/teamRuntime.ts` (`runMemberAgent` / `buildMemberIdentities` / `preflightMember`) rather than duplicating per-mode logic. Observe a run via `team.ask(prompt, signal, { onEvent })` and inspect `result.memberStatuses` / `result.incompleteReason`.
|
|
202
|
-
- **Router profiles are leader/dispatch configs:** a `RouterProfile` is a leader (`routerModel`) + a roster of specialist `routes` (each with `when` and optional `role` / `description`). `BUILT_IN_ROUTER_PROFILES` ships a ready-made `dispatch` profile; a user file of the same name in `.
|
|
204
|
+
- **Router profiles are leader/dispatch configs:** a `RouterProfile` is a leader (`routerModel`) + a roster of specialist `routes` (each with `when` and optional `role` / `description`). `BUILT_IN_ROUTER_PROFILES` ships a ready-made `dispatch` profile; a user file of the same name in `.hadamard/routers/` shadows it.
|
|
203
205
|
- **`CLAUDE.md` is intentionally git-ignored** in this repo — keep contributor-facing docs here in the README (or under `docs/`), not in `CLAUDE.md`.
|
|
204
206
|
|
|
205
207
|
## Tutorials
|
|
@@ -207,22 +209,17 @@ Actoviq resolves its data root in this order: an explicit SDK `homeDir`, `ACTOVI
|
|
|
207
209
|
- English tutorial: [docs/en/README.md](./docs/en/README.md)
|
|
208
210
|
- Chinese tutorial: [docs/zh/README.md](./docs/zh/README.md)
|
|
209
211
|
- GitHub Pages docs site:
|
|
210
|
-
- https://deconbear.github.io/
|
|
212
|
+
- https://deconbear.github.io/hadamard/
|
|
211
213
|
|
|
212
214
|
Start with these examples:
|
|
213
215
|
|
|
214
|
-
- [examples/
|
|
215
|
-
- [examples/
|
|
216
|
-
- [examples/
|
|
216
|
+
- [examples/hadamard-quickstart.ts](./examples/hadamard-quickstart.ts)
|
|
217
|
+
- [examples/hadamard-workflow.ts](./examples/hadamard-workflow.ts)
|
|
218
|
+
- [examples/hadamard-agent-helpers.ts](./examples/hadamard-agent-helpers.ts)
|
|
217
219
|
- [examples/profiles/all-profiles.ts](./examples/profiles/all-profiles.ts)
|
|
218
220
|
|
|
219
221
|
Architecture and operations:
|
|
220
222
|
|
|
221
|
-
- [Architecture audit and implementation plan](./docs/zh/08-sdk-architecture-audit-and-optimization-plan.md)
|
|
222
|
-
- [1.0 migration guide](./docs/zh/09-sdk-v2-migration-guide.md)
|
|
223
|
-
- [Support, security, SemVer, and failure model](./docs/zh/10-support-security-semver-and-failure-model.md)
|
|
224
|
-
- [JSON v1 to SQLite migration runbook](./docs/zh/11-json-v1-to-sqlite-migration-runbook.md)
|
|
225
|
-
- [1.0 implementation and verification report](./docs/zh/12-sdk-1.0-implementation-and-verification-report.md)
|
|
226
223
|
- [Security policy](./SECURITY.md)
|
|
227
224
|
|
|
228
225
|
## Contributing
|
package/SECURITY.md
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
## Supported versions
|
|
4
4
|
|
|
5
|
-
Security fixes are provided for the latest
|
|
5
|
+
Security fixes are provided for the latest Hadamard Agent SDK 1.x minor release. The legacy root compatibility façade remains supported throughout 1.x. Node.js 22.5+ and Node.js 24 are the supported runtime lines.
|
|
6
6
|
|
|
7
7
|
## Reporting a vulnerability
|
|
8
8
|
|
|
9
|
-
Do not open a public issue for a suspected vulnerability. Use the repository's [private vulnerability reporting form](https://github.com/DeconBear/
|
|
9
|
+
Do not open a public issue for a suspected vulnerability. Use the repository's [private vulnerability reporting form](https://github.com/DeconBear/hadamard/security/advisories/new). Include:
|
|
10
10
|
|
|
11
11
|
- affected version/commit, Node version, and operating system;
|
|
12
12
|
- the smallest reproducible scenario and required configuration;
|
|
@@ -16,7 +16,7 @@ Do not open a public issue for a suspected vulnerability. Use the repository's [
|
|
|
16
16
|
|
|
17
17
|
Avoid including real credentials or private user data. If private reporting is unavailable, open a public issue containing no exploit details and ask a maintainer to establish a private channel.
|
|
18
18
|
|
|
19
|
-
The maintainers will acknowledge receipt, validate severity, coordinate remediation and disclosure, and publish an advisory when appropriate.
|
|
19
|
+
The maintainers will acknowledge receipt, validate severity, coordinate remediation and disclosure, and publish an advisory when appropriate.
|
|
20
20
|
|
|
21
21
|
## Security boundaries
|
|
22
22
|
|
|
@@ -13,12 +13,12 @@ const prepareLauncher = fileURLToPath(new URL('../scripts/prepare-gui-launcher.m
|
|
|
13
13
|
function resolveElectronExecutable() {
|
|
14
14
|
const electronExe = require('electron');
|
|
15
15
|
if (process.platform === 'win32') {
|
|
16
|
-
const brandedLauncher = join(dirname(electronExe), '
|
|
16
|
+
const brandedLauncher = join(dirname(electronExe), 'Hadamard.exe');
|
|
17
17
|
if (!existsSync(brandedLauncher)) {
|
|
18
18
|
const prep = spawnSync(process.execPath, [prepareLauncher], { stdio: 'inherit' });
|
|
19
19
|
if (prep.status !== 0) {
|
|
20
20
|
process.stderr.write(
|
|
21
|
-
'
|
|
21
|
+
'Hadamard: branded launcher unavailable; taskbar may show the Electron icon.\n',
|
|
22
22
|
);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -33,7 +33,7 @@ const child = spawn(electron, [main, ...process.argv.slice(2)], {
|
|
|
33
33
|
stdio: 'inherit',
|
|
34
34
|
env: {
|
|
35
35
|
...process.env,
|
|
36
|
-
|
|
36
|
+
HADAMARD_GUI_ROOT: rootDir,
|
|
37
37
|
},
|
|
38
38
|
windowsHide: false,
|
|
39
39
|
});
|
|
@@ -44,6 +44,6 @@ child.on('exit', (code, signal) => {
|
|
|
44
44
|
});
|
|
45
45
|
|
|
46
46
|
child.on('error', (error) => {
|
|
47
|
-
console.error('Failed to start
|
|
47
|
+
console.error('Failed to start hadamard-gui:', error);
|
|
48
48
|
process.exit(1);
|
|
49
49
|
});
|