@peerllm/client-core 0.1.0
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 +32 -0
- package/README.md +49 -0
- package/dist/Approvals.d.ts +10 -0
- package/dist/Approvals.d.ts.map +1 -0
- package/dist/Approvals.js +48 -0
- package/dist/Approvals.js.map +1 -0
- package/dist/Connections.d.ts +20 -0
- package/dist/Connections.d.ts.map +1 -0
- package/dist/Connections.js +103 -0
- package/dist/Connections.js.map +1 -0
- package/dist/Offerings.d.ts +8 -0
- package/dist/Offerings.d.ts.map +1 -0
- package/dist/Offerings.js +21 -0
- package/dist/Offerings.js.map +1 -0
- package/dist/Sessions.d.ts +33 -0
- package/dist/Sessions.d.ts.map +1 -0
- package/dist/Sessions.js +221 -0
- package/dist/Sessions.js.map +1 -0
- package/dist/brokers/accounts/AccountBroker.d.ts +13 -0
- package/dist/brokers/accounts/AccountBroker.d.ts.map +1 -0
- package/dist/brokers/accounts/AccountBroker.js +2 -0
- package/dist/brokers/accounts/AccountBroker.js.map +1 -0
- package/dist/brokers/accounts/PeerLlmAccountBroker.d.ts +20 -0
- package/dist/brokers/accounts/PeerLlmAccountBroker.d.ts.map +1 -0
- package/dist/brokers/accounts/PeerLlmAccountBroker.js +109 -0
- package/dist/brokers/accounts/PeerLlmAccountBroker.js.map +1 -0
- package/dist/brokers/brains/BrainBroker.d.ts +5 -0
- package/dist/brokers/brains/BrainBroker.d.ts.map +1 -0
- package/dist/brokers/brains/BrainBroker.js +2 -0
- package/dist/brokers/brains/BrainBroker.js.map +1 -0
- package/dist/brokers/brains/PeerLlmBrainBroker.d.ts +7 -0
- package/dist/brokers/brains/PeerLlmBrainBroker.d.ts.map +1 -0
- package/dist/brokers/brains/PeerLlmBrainBroker.js +38 -0
- package/dist/brokers/brains/PeerLlmBrainBroker.js.map +1 -0
- package/dist/brokers/configs/ConfigBroker.d.ts +8 -0
- package/dist/brokers/configs/ConfigBroker.d.ts.map +1 -0
- package/dist/brokers/configs/ConfigBroker.js +2 -0
- package/dist/brokers/configs/ConfigBroker.js.map +1 -0
- package/dist/brokers/configs/FileConfigBroker.d.ts +9 -0
- package/dist/brokers/configs/FileConfigBroker.d.ts.map +1 -0
- package/dist/brokers/configs/FileConfigBroker.js +41 -0
- package/dist/brokers/configs/FileConfigBroker.js.map +1 -0
- package/dist/brokers/generators/ScriptedGeneratorBroker.d.ts +9 -0
- package/dist/brokers/generators/ScriptedGeneratorBroker.d.ts.map +1 -0
- package/dist/brokers/generators/ScriptedGeneratorBroker.js +17 -0
- package/dist/brokers/generators/ScriptedGeneratorBroker.js.map +1 -0
- package/dist/brokers/mcps/ChildProcessMcpChannel.d.ts +18 -0
- package/dist/brokers/mcps/ChildProcessMcpChannel.d.ts.map +1 -0
- package/dist/brokers/mcps/ChildProcessMcpChannel.js +126 -0
- package/dist/brokers/mcps/ChildProcessMcpChannel.js.map +1 -0
- package/dist/brokers/mcps/CompositeMcpBroker.d.ts +8 -0
- package/dist/brokers/mcps/CompositeMcpBroker.d.ts.map +1 -0
- package/dist/brokers/mcps/CompositeMcpBroker.js +41 -0
- package/dist/brokers/mcps/CompositeMcpBroker.js.map +1 -0
- package/dist/brokers/mcps/McpChannel.d.ts +6 -0
- package/dist/brokers/mcps/McpChannel.d.ts.map +1 -0
- package/dist/brokers/mcps/McpChannel.js +2 -0
- package/dist/brokers/mcps/McpChannel.js.map +1 -0
- package/dist/brokers/mcps/StdioMcpBroker.d.ts +16 -0
- package/dist/brokers/mcps/StdioMcpBroker.d.ts.map +1 -0
- package/dist/brokers/mcps/StdioMcpBroker.js +117 -0
- package/dist/brokers/mcps/StdioMcpBroker.js.map +1 -0
- package/dist/brokers/processes/NodeProcessBroker.d.ts +6 -0
- package/dist/brokers/processes/NodeProcessBroker.d.ts.map +1 -0
- package/dist/brokers/processes/NodeProcessBroker.js +57 -0
- package/dist/brokers/processes/NodeProcessBroker.js.map +1 -0
- package/dist/brokers/processes/ProcessBroker.d.ts +16 -0
- package/dist/brokers/processes/ProcessBroker.d.ts.map +1 -0
- package/dist/brokers/processes/ProcessBroker.js +2 -0
- package/dist/brokers/processes/ProcessBroker.js.map +1 -0
- package/dist/brokers/registries/PeerLlmSkillRegistryBroker.d.ts +13 -0
- package/dist/brokers/registries/PeerLlmSkillRegistryBroker.d.ts.map +1 -0
- package/dist/brokers/registries/PeerLlmSkillRegistryBroker.js +63 -0
- package/dist/brokers/registries/PeerLlmSkillRegistryBroker.js.map +1 -0
- package/dist/brokers/registries/SkillRegistryBroker.d.ts +6 -0
- package/dist/brokers/registries/SkillRegistryBroker.d.ts.map +1 -0
- package/dist/brokers/registries/SkillRegistryBroker.js +2 -0
- package/dist/brokers/registries/SkillRegistryBroker.js.map +1 -0
- package/dist/brokers/secrets/FileSecretBroker.d.ts +12 -0
- package/dist/brokers/secrets/FileSecretBroker.d.ts.map +1 -0
- package/dist/brokers/secrets/FileSecretBroker.js +43 -0
- package/dist/brokers/secrets/FileSecretBroker.js.map +1 -0
- package/dist/brokers/secrets/SecretBroker.d.ts +8 -0
- package/dist/brokers/secrets/SecretBroker.d.ts.map +1 -0
- package/dist/brokers/secrets/SecretBroker.js +2 -0
- package/dist/brokers/secrets/SecretBroker.js.map +1 -0
- package/dist/brokers/skills/CompositeSkillBroker.d.ts +7 -0
- package/dist/brokers/skills/CompositeSkillBroker.d.ts.map +1 -0
- package/dist/brokers/skills/CompositeSkillBroker.js +22 -0
- package/dist/brokers/skills/CompositeSkillBroker.js.map +1 -0
- package/dist/exposers/tools/CreateNewFileTool.d.ts +4 -0
- package/dist/exposers/tools/CreateNewFileTool.d.ts.map +1 -0
- package/dist/exposers/tools/CreateNewFileTool.js +39 -0
- package/dist/exposers/tools/CreateNewFileTool.js.map +1 -0
- package/dist/exposers/tools/DeletePathTool.d.ts +4 -0
- package/dist/exposers/tools/DeletePathTool.d.ts.map +1 -0
- package/dist/exposers/tools/DeletePathTool.js +43 -0
- package/dist/exposers/tools/DeletePathTool.js.map +1 -0
- package/dist/exposers/tools/GitTools.d.ts +5 -0
- package/dist/exposers/tools/GitTools.d.ts.map +1 -0
- package/dist/exposers/tools/GitTools.js +53 -0
- package/dist/exposers/tools/GitTools.js.map +1 -0
- package/dist/exposers/tools/GlobFilesTool.d.ts +4 -0
- package/dist/exposers/tools/GlobFilesTool.d.ts.map +1 -0
- package/dist/exposers/tools/GlobFilesTool.js +41 -0
- package/dist/exposers/tools/GlobFilesTool.js.map +1 -0
- package/dist/exposers/tools/GrepFilesTool.d.ts +4 -0
- package/dist/exposers/tools/GrepFilesTool.d.ts.map +1 -0
- package/dist/exposers/tools/GrepFilesTool.js +56 -0
- package/dist/exposers/tools/GrepFilesTool.js.map +1 -0
- package/dist/exposers/tools/ListDirectoryTool.d.ts +4 -0
- package/dist/exposers/tools/ListDirectoryTool.d.ts.map +1 -0
- package/dist/exposers/tools/ListDirectoryTool.js +45 -0
- package/dist/exposers/tools/ListDirectoryTool.js.map +1 -0
- package/dist/exposers/tools/ReadFileTool.d.ts +4 -0
- package/dist/exposers/tools/ReadFileTool.d.ts.map +1 -0
- package/dist/exposers/tools/ReadFileTool.js +65 -0
- package/dist/exposers/tools/ReadFileTool.js.map +1 -0
- package/dist/exposers/tools/Refusals.d.ts +6 -0
- package/dist/exposers/tools/Refusals.d.ts.map +1 -0
- package/dist/exposers/tools/Refusals.js +91 -0
- package/dist/exposers/tools/Refusals.js.map +1 -0
- package/dist/exposers/tools/RunCommandTool.d.ts +4 -0
- package/dist/exposers/tools/RunCommandTool.d.ts.map +1 -0
- package/dist/exposers/tools/RunCommandTool.js +51 -0
- package/dist/exposers/tools/RunCommandTool.js.map +1 -0
- package/dist/exposers/tools/SingleFindAndReplaceTool.d.ts +4 -0
- package/dist/exposers/tools/SingleFindAndReplaceTool.d.ts.map +1 -0
- package/dist/exposers/tools/SingleFindAndReplaceTool.js +42 -0
- package/dist/exposers/tools/SingleFindAndReplaceTool.js.map +1 -0
- package/dist/exposers/tools/WriteFileTool.d.ts +4 -0
- package/dist/exposers/tools/WriteFileTool.d.ts.map +1 -0
- package/dist/exposers/tools/WriteFileTool.js +54 -0
- package/dist/exposers/tools/WriteFileTool.js.map +1 -0
- package/dist/index.d.ts +64 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +196 -0
- package/dist/index.js.map +1 -0
- package/dist/models/aggregations/doctors/exceptions/DoctorAggregationServiceException.d.ts +6 -0
- package/dist/models/aggregations/doctors/exceptions/DoctorAggregationServiceException.d.ts.map +1 -0
- package/dist/models/aggregations/doctors/exceptions/DoctorAggregationServiceException.js +12 -0
- package/dist/models/aggregations/doctors/exceptions/DoctorAggregationServiceException.js.map +1 -0
- package/dist/models/aggregations/doctors/exceptions/FailedDoctorAggregationServiceException.d.ts +5 -0
- package/dist/models/aggregations/doctors/exceptions/FailedDoctorAggregationServiceException.d.ts.map +1 -0
- package/dist/models/aggregations/doctors/exceptions/FailedDoctorAggregationServiceException.js +11 -0
- package/dist/models/aggregations/doctors/exceptions/FailedDoctorAggregationServiceException.js.map +1 -0
- package/dist/models/brokers/accounts/AccountKey.d.ts +14 -0
- package/dist/models/brokers/accounts/AccountKey.d.ts.map +1 -0
- package/dist/models/brokers/accounts/AccountKey.js +2 -0
- package/dist/models/brokers/accounts/AccountKey.js.map +1 -0
- package/dist/models/brokers/accounts/AccountSession.d.ts +6 -0
- package/dist/models/brokers/accounts/AccountSession.d.ts.map +1 -0
- package/dist/models/brokers/accounts/AccountSession.js +2 -0
- package/dist/models/brokers/accounts/AccountSession.js.map +1 -0
- package/dist/models/brokers/accounts/TokenBalance.d.ts +6 -0
- package/dist/models/brokers/accounts/TokenBalance.d.ts.map +1 -0
- package/dist/models/brokers/accounts/TokenBalance.js +2 -0
- package/dist/models/brokers/accounts/TokenBalance.js.map +1 -0
- package/dist/models/brokers/registries/RegistrySkill.d.ts +15 -0
- package/dist/models/brokers/registries/RegistrySkill.d.ts.map +1 -0
- package/dist/models/brokers/registries/RegistrySkill.js +2 -0
- package/dist/models/brokers/registries/RegistrySkill.js.map +1 -0
- package/dist/models/foundations/accounts/exceptions/AccountDependencyException.d.ts +6 -0
- package/dist/models/foundations/accounts/exceptions/AccountDependencyException.d.ts.map +1 -0
- package/dist/models/foundations/accounts/exceptions/AccountDependencyException.js +11 -0
- package/dist/models/foundations/accounts/exceptions/AccountDependencyException.js.map +1 -0
- package/dist/models/foundations/accounts/exceptions/AccountDependencyValidationException.d.ts +6 -0
- package/dist/models/foundations/accounts/exceptions/AccountDependencyValidationException.d.ts.map +1 -0
- package/dist/models/foundations/accounts/exceptions/AccountDependencyValidationException.js +11 -0
- package/dist/models/foundations/accounts/exceptions/AccountDependencyValidationException.js.map +1 -0
- package/dist/models/foundations/accounts/exceptions/AccountServiceException.d.ts +6 -0
- package/dist/models/foundations/accounts/exceptions/AccountServiceException.d.ts.map +1 -0
- package/dist/models/foundations/accounts/exceptions/AccountServiceException.js +11 -0
- package/dist/models/foundations/accounts/exceptions/AccountServiceException.js.map +1 -0
- package/dist/models/foundations/accounts/exceptions/AccountValidationException.d.ts +6 -0
- package/dist/models/foundations/accounts/exceptions/AccountValidationException.d.ts.map +1 -0
- package/dist/models/foundations/accounts/exceptions/AccountValidationException.js +11 -0
- package/dist/models/foundations/accounts/exceptions/AccountValidationException.js.map +1 -0
- package/dist/models/foundations/accounts/exceptions/FailedAccountDependencyException.d.ts +6 -0
- package/dist/models/foundations/accounts/exceptions/FailedAccountDependencyException.d.ts.map +1 -0
- package/dist/models/foundations/accounts/exceptions/FailedAccountDependencyException.js +10 -0
- package/dist/models/foundations/accounts/exceptions/FailedAccountDependencyException.js.map +1 -0
- package/dist/models/foundations/accounts/exceptions/FailedAccountServiceException.d.ts +6 -0
- package/dist/models/foundations/accounts/exceptions/FailedAccountServiceException.d.ts.map +1 -0
- package/dist/models/foundations/accounts/exceptions/FailedAccountServiceException.js +10 -0
- package/dist/models/foundations/accounts/exceptions/FailedAccountServiceException.js.map +1 -0
- package/dist/models/foundations/accounts/exceptions/InvalidAccountException.d.ts +7 -0
- package/dist/models/foundations/accounts/exceptions/InvalidAccountException.d.ts.map +1 -0
- package/dist/models/foundations/accounts/exceptions/InvalidAccountException.js +22 -0
- package/dist/models/foundations/accounts/exceptions/InvalidAccountException.js.map +1 -0
- package/dist/models/foundations/accounts/exceptions/NotFoundAccountException.d.ts +6 -0
- package/dist/models/foundations/accounts/exceptions/NotFoundAccountException.d.ts.map +1 -0
- package/dist/models/foundations/accounts/exceptions/NotFoundAccountException.js +10 -0
- package/dist/models/foundations/accounts/exceptions/NotFoundAccountException.js.map +1 -0
- package/dist/models/foundations/configs/ConfigDocument.d.ts +50 -0
- package/dist/models/foundations/configs/ConfigDocument.d.ts.map +1 -0
- package/dist/models/foundations/configs/ConfigDocument.js +25 -0
- package/dist/models/foundations/configs/ConfigDocument.js.map +1 -0
- package/dist/models/foundations/configs/LockHolder.d.ts +5 -0
- package/dist/models/foundations/configs/LockHolder.d.ts.map +1 -0
- package/dist/models/foundations/configs/LockHolder.js +2 -0
- package/dist/models/foundations/configs/LockHolder.js.map +1 -0
- package/dist/models/foundations/configs/exceptions/ConfigDependencyException.d.ts +6 -0
- package/dist/models/foundations/configs/exceptions/ConfigDependencyException.d.ts.map +1 -0
- package/dist/models/foundations/configs/exceptions/ConfigDependencyException.js +12 -0
- package/dist/models/foundations/configs/exceptions/ConfigDependencyException.js.map +1 -0
- package/dist/models/foundations/configs/exceptions/ConfigDependencyValidationException.d.ts +6 -0
- package/dist/models/foundations/configs/exceptions/ConfigDependencyValidationException.d.ts.map +1 -0
- package/dist/models/foundations/configs/exceptions/ConfigDependencyValidationException.js +13 -0
- package/dist/models/foundations/configs/exceptions/ConfigDependencyValidationException.js.map +1 -0
- package/dist/models/foundations/configs/exceptions/ConfigServiceException.d.ts +6 -0
- package/dist/models/foundations/configs/exceptions/ConfigServiceException.d.ts.map +1 -0
- package/dist/models/foundations/configs/exceptions/ConfigServiceException.js +12 -0
- package/dist/models/foundations/configs/exceptions/ConfigServiceException.js.map +1 -0
- package/dist/models/foundations/configs/exceptions/ConfigValidationException.d.ts +6 -0
- package/dist/models/foundations/configs/exceptions/ConfigValidationException.d.ts.map +1 -0
- package/dist/models/foundations/configs/exceptions/ConfigValidationException.js +12 -0
- package/dist/models/foundations/configs/exceptions/ConfigValidationException.js.map +1 -0
- package/dist/models/foundations/configs/exceptions/FailedConfigDependencyException.d.ts +5 -0
- package/dist/models/foundations/configs/exceptions/FailedConfigDependencyException.d.ts.map +1 -0
- package/dist/models/foundations/configs/exceptions/FailedConfigDependencyException.js +11 -0
- package/dist/models/foundations/configs/exceptions/FailedConfigDependencyException.js.map +1 -0
- package/dist/models/foundations/configs/exceptions/FailedConfigServiceException.d.ts +5 -0
- package/dist/models/foundations/configs/exceptions/FailedConfigServiceException.d.ts.map +1 -0
- package/dist/models/foundations/configs/exceptions/FailedConfigServiceException.js +11 -0
- package/dist/models/foundations/configs/exceptions/FailedConfigServiceException.js.map +1 -0
- package/dist/models/foundations/configs/exceptions/InvalidConfigException.d.ts +7 -0
- package/dist/models/foundations/configs/exceptions/InvalidConfigException.d.ts.map +1 -0
- package/dist/models/foundations/configs/exceptions/InvalidConfigException.js +25 -0
- package/dist/models/foundations/configs/exceptions/InvalidConfigException.js.map +1 -0
- package/dist/models/foundations/configs/exceptions/LockedConfigException.d.ts +5 -0
- package/dist/models/foundations/configs/exceptions/LockedConfigException.d.ts.map +1 -0
- package/dist/models/foundations/configs/exceptions/LockedConfigException.js +11 -0
- package/dist/models/foundations/configs/exceptions/LockedConfigException.js.map +1 -0
- package/dist/models/foundations/configs/exceptions/NotFoundConfigException.d.ts +5 -0
- package/dist/models/foundations/configs/exceptions/NotFoundConfigException.d.ts.map +1 -0
- package/dist/models/foundations/configs/exceptions/NotFoundConfigException.js +12 -0
- package/dist/models/foundations/configs/exceptions/NotFoundConfigException.js.map +1 -0
- package/dist/models/foundations/processes/exceptions/FailedProcessServiceException.d.ts +5 -0
- package/dist/models/foundations/processes/exceptions/FailedProcessServiceException.d.ts.map +1 -0
- package/dist/models/foundations/processes/exceptions/FailedProcessServiceException.js +10 -0
- package/dist/models/foundations/processes/exceptions/FailedProcessServiceException.js.map +1 -0
- package/dist/models/foundations/processes/exceptions/InvalidProcessException.d.ts +7 -0
- package/dist/models/foundations/processes/exceptions/InvalidProcessException.d.ts.map +1 -0
- package/dist/models/foundations/processes/exceptions/InvalidProcessException.js +23 -0
- package/dist/models/foundations/processes/exceptions/InvalidProcessException.js.map +1 -0
- package/dist/models/foundations/processes/exceptions/NotFoundProcessException.d.ts +5 -0
- package/dist/models/foundations/processes/exceptions/NotFoundProcessException.d.ts.map +1 -0
- package/dist/models/foundations/processes/exceptions/NotFoundProcessException.js +11 -0
- package/dist/models/foundations/processes/exceptions/NotFoundProcessException.js.map +1 -0
- package/dist/models/foundations/processes/exceptions/ProcessDependencyValidationException.d.ts +6 -0
- package/dist/models/foundations/processes/exceptions/ProcessDependencyValidationException.d.ts.map +1 -0
- package/dist/models/foundations/processes/exceptions/ProcessDependencyValidationException.js +12 -0
- package/dist/models/foundations/processes/exceptions/ProcessDependencyValidationException.js.map +1 -0
- package/dist/models/foundations/processes/exceptions/ProcessServiceException.d.ts +6 -0
- package/dist/models/foundations/processes/exceptions/ProcessServiceException.d.ts.map +1 -0
- package/dist/models/foundations/processes/exceptions/ProcessServiceException.js +12 -0
- package/dist/models/foundations/processes/exceptions/ProcessServiceException.js.map +1 -0
- package/dist/models/foundations/processes/exceptions/ProcessValidationException.d.ts +6 -0
- package/dist/models/foundations/processes/exceptions/ProcessValidationException.d.ts.map +1 -0
- package/dist/models/foundations/processes/exceptions/ProcessValidationException.js +12 -0
- package/dist/models/foundations/processes/exceptions/ProcessValidationException.js.map +1 -0
- package/dist/models/foundations/registrySkills/exceptions/FailedRegistrySkillDependencyException.d.ts +6 -0
- package/dist/models/foundations/registrySkills/exceptions/FailedRegistrySkillDependencyException.d.ts.map +1 -0
- package/dist/models/foundations/registrySkills/exceptions/FailedRegistrySkillDependencyException.js +10 -0
- package/dist/models/foundations/registrySkills/exceptions/FailedRegistrySkillDependencyException.js.map +1 -0
- package/dist/models/foundations/registrySkills/exceptions/FailedRegistrySkillServiceException.d.ts +6 -0
- package/dist/models/foundations/registrySkills/exceptions/FailedRegistrySkillServiceException.d.ts.map +1 -0
- package/dist/models/foundations/registrySkills/exceptions/FailedRegistrySkillServiceException.js +10 -0
- package/dist/models/foundations/registrySkills/exceptions/FailedRegistrySkillServiceException.js.map +1 -0
- package/dist/models/foundations/registrySkills/exceptions/InvalidRegistrySkillException.d.ts +7 -0
- package/dist/models/foundations/registrySkills/exceptions/InvalidRegistrySkillException.d.ts.map +1 -0
- package/dist/models/foundations/registrySkills/exceptions/InvalidRegistrySkillException.js +22 -0
- package/dist/models/foundations/registrySkills/exceptions/InvalidRegistrySkillException.js.map +1 -0
- package/dist/models/foundations/registrySkills/exceptions/NotFoundRegistrySkillException.d.ts +6 -0
- package/dist/models/foundations/registrySkills/exceptions/NotFoundRegistrySkillException.d.ts.map +1 -0
- package/dist/models/foundations/registrySkills/exceptions/NotFoundRegistrySkillException.js +10 -0
- package/dist/models/foundations/registrySkills/exceptions/NotFoundRegistrySkillException.js.map +1 -0
- package/dist/models/foundations/registrySkills/exceptions/RegistrySkillDependencyException.d.ts +6 -0
- package/dist/models/foundations/registrySkills/exceptions/RegistrySkillDependencyException.d.ts.map +1 -0
- package/dist/models/foundations/registrySkills/exceptions/RegistrySkillDependencyException.js +11 -0
- package/dist/models/foundations/registrySkills/exceptions/RegistrySkillDependencyException.js.map +1 -0
- package/dist/models/foundations/registrySkills/exceptions/RegistrySkillDependencyValidationException.d.ts +6 -0
- package/dist/models/foundations/registrySkills/exceptions/RegistrySkillDependencyValidationException.d.ts.map +1 -0
- package/dist/models/foundations/registrySkills/exceptions/RegistrySkillDependencyValidationException.js +11 -0
- package/dist/models/foundations/registrySkills/exceptions/RegistrySkillDependencyValidationException.js.map +1 -0
- package/dist/models/foundations/registrySkills/exceptions/RegistrySkillServiceException.d.ts +6 -0
- package/dist/models/foundations/registrySkills/exceptions/RegistrySkillServiceException.d.ts.map +1 -0
- package/dist/models/foundations/registrySkills/exceptions/RegistrySkillServiceException.js +11 -0
- package/dist/models/foundations/registrySkills/exceptions/RegistrySkillServiceException.js.map +1 -0
- package/dist/models/foundations/registrySkills/exceptions/RegistrySkillValidationException.d.ts +6 -0
- package/dist/models/foundations/registrySkills/exceptions/RegistrySkillValidationException.d.ts.map +1 -0
- package/dist/models/foundations/registrySkills/exceptions/RegistrySkillValidationException.js +11 -0
- package/dist/models/foundations/registrySkills/exceptions/RegistrySkillValidationException.js.map +1 -0
- package/dist/models/foundations/secrets/exceptions/FailedSecretDependencyException.d.ts +5 -0
- package/dist/models/foundations/secrets/exceptions/FailedSecretDependencyException.d.ts.map +1 -0
- package/dist/models/foundations/secrets/exceptions/FailedSecretDependencyException.js +10 -0
- package/dist/models/foundations/secrets/exceptions/FailedSecretDependencyException.js.map +1 -0
- package/dist/models/foundations/secrets/exceptions/FailedSecretServiceException.d.ts +5 -0
- package/dist/models/foundations/secrets/exceptions/FailedSecretServiceException.d.ts.map +1 -0
- package/dist/models/foundations/secrets/exceptions/FailedSecretServiceException.js +11 -0
- package/dist/models/foundations/secrets/exceptions/FailedSecretServiceException.js.map +1 -0
- package/dist/models/foundations/secrets/exceptions/InvalidSecretException.d.ts +7 -0
- package/dist/models/foundations/secrets/exceptions/InvalidSecretException.d.ts.map +1 -0
- package/dist/models/foundations/secrets/exceptions/InvalidSecretException.js +24 -0
- package/dist/models/foundations/secrets/exceptions/InvalidSecretException.js.map +1 -0
- package/dist/models/foundations/secrets/exceptions/LockedSecretException.d.ts +5 -0
- package/dist/models/foundations/secrets/exceptions/LockedSecretException.d.ts.map +1 -0
- package/dist/models/foundations/secrets/exceptions/LockedSecretException.js +11 -0
- package/dist/models/foundations/secrets/exceptions/LockedSecretException.js.map +1 -0
- package/dist/models/foundations/secrets/exceptions/NotFoundSecretException.d.ts +5 -0
- package/dist/models/foundations/secrets/exceptions/NotFoundSecretException.d.ts.map +1 -0
- package/dist/models/foundations/secrets/exceptions/NotFoundSecretException.js +12 -0
- package/dist/models/foundations/secrets/exceptions/NotFoundSecretException.js.map +1 -0
- package/dist/models/foundations/secrets/exceptions/SecretDependencyException.d.ts +6 -0
- package/dist/models/foundations/secrets/exceptions/SecretDependencyException.d.ts.map +1 -0
- package/dist/models/foundations/secrets/exceptions/SecretDependencyException.js +12 -0
- package/dist/models/foundations/secrets/exceptions/SecretDependencyException.js.map +1 -0
- package/dist/models/foundations/secrets/exceptions/SecretDependencyValidationException.d.ts +6 -0
- package/dist/models/foundations/secrets/exceptions/SecretDependencyValidationException.d.ts.map +1 -0
- package/dist/models/foundations/secrets/exceptions/SecretDependencyValidationException.js +12 -0
- package/dist/models/foundations/secrets/exceptions/SecretDependencyValidationException.js.map +1 -0
- package/dist/models/foundations/secrets/exceptions/SecretServiceException.d.ts +6 -0
- package/dist/models/foundations/secrets/exceptions/SecretServiceException.d.ts.map +1 -0
- package/dist/models/foundations/secrets/exceptions/SecretServiceException.js +12 -0
- package/dist/models/foundations/secrets/exceptions/SecretServiceException.js.map +1 -0
- package/dist/models/foundations/secrets/exceptions/SecretValidationException.d.ts +6 -0
- package/dist/models/foundations/secrets/exceptions/SecretValidationException.d.ts.map +1 -0
- package/dist/models/foundations/secrets/exceptions/SecretValidationException.js +12 -0
- package/dist/models/foundations/secrets/exceptions/SecretValidationException.js.map +1 -0
- package/dist/models/foundations/workspaceFiles/WorkspaceEntry.d.ts +9 -0
- package/dist/models/foundations/workspaceFiles/WorkspaceEntry.d.ts.map +1 -0
- package/dist/models/foundations/workspaceFiles/WorkspaceEntry.js +2 -0
- package/dist/models/foundations/workspaceFiles/WorkspaceEntry.js.map +1 -0
- package/dist/models/foundations/workspaceFiles/exceptions/FailedWorkspaceFileDependencyException.d.ts +6 -0
- package/dist/models/foundations/workspaceFiles/exceptions/FailedWorkspaceFileDependencyException.d.ts.map +1 -0
- package/dist/models/foundations/workspaceFiles/exceptions/FailedWorkspaceFileDependencyException.js +10 -0
- package/dist/models/foundations/workspaceFiles/exceptions/FailedWorkspaceFileDependencyException.js.map +1 -0
- package/dist/models/foundations/workspaceFiles/exceptions/FailedWorkspaceFileServiceException.d.ts +6 -0
- package/dist/models/foundations/workspaceFiles/exceptions/FailedWorkspaceFileServiceException.d.ts.map +1 -0
- package/dist/models/foundations/workspaceFiles/exceptions/FailedWorkspaceFileServiceException.js +10 -0
- package/dist/models/foundations/workspaceFiles/exceptions/FailedWorkspaceFileServiceException.js.map +1 -0
- package/dist/models/foundations/workspaceFiles/exceptions/InvalidWorkspaceFileException.d.ts +7 -0
- package/dist/models/foundations/workspaceFiles/exceptions/InvalidWorkspaceFileException.d.ts.map +1 -0
- package/dist/models/foundations/workspaceFiles/exceptions/InvalidWorkspaceFileException.js +22 -0
- package/dist/models/foundations/workspaceFiles/exceptions/InvalidWorkspaceFileException.js.map +1 -0
- package/dist/models/foundations/workspaceFiles/exceptions/WorkspaceFileDependencyException.d.ts +6 -0
- package/dist/models/foundations/workspaceFiles/exceptions/WorkspaceFileDependencyException.d.ts.map +1 -0
- package/dist/models/foundations/workspaceFiles/exceptions/WorkspaceFileDependencyException.js +11 -0
- package/dist/models/foundations/workspaceFiles/exceptions/WorkspaceFileDependencyException.js.map +1 -0
- package/dist/models/foundations/workspaceFiles/exceptions/WorkspaceFileServiceException.d.ts +6 -0
- package/dist/models/foundations/workspaceFiles/exceptions/WorkspaceFileServiceException.d.ts.map +1 -0
- package/dist/models/foundations/workspaceFiles/exceptions/WorkspaceFileServiceException.js +11 -0
- package/dist/models/foundations/workspaceFiles/exceptions/WorkspaceFileServiceException.js.map +1 -0
- package/dist/models/foundations/workspaceFiles/exceptions/WorkspaceFileValidationException.d.ts +6 -0
- package/dist/models/foundations/workspaceFiles/exceptions/WorkspaceFileValidationException.d.ts.map +1 -0
- package/dist/models/foundations/workspaceFiles/exceptions/WorkspaceFileValidationException.js +11 -0
- package/dist/models/foundations/workspaceFiles/exceptions/WorkspaceFileValidationException.js.map +1 -0
- package/dist/models/orchestrations/connections/ResolvedConnection.d.ts +7 -0
- package/dist/models/orchestrations/connections/ResolvedConnection.d.ts.map +1 -0
- package/dist/models/orchestrations/connections/ResolvedConnection.js +2 -0
- package/dist/models/orchestrations/connections/ResolvedConnection.js.map +1 -0
- package/dist/models/orchestrations/connections/exceptions/ConnectionDependencyException.d.ts +6 -0
- package/dist/models/orchestrations/connections/exceptions/ConnectionDependencyException.d.ts.map +1 -0
- package/dist/models/orchestrations/connections/exceptions/ConnectionDependencyException.js +12 -0
- package/dist/models/orchestrations/connections/exceptions/ConnectionDependencyException.js.map +1 -0
- package/dist/models/orchestrations/connections/exceptions/ConnectionDependencyValidationException.d.ts +6 -0
- package/dist/models/orchestrations/connections/exceptions/ConnectionDependencyValidationException.d.ts.map +1 -0
- package/dist/models/orchestrations/connections/exceptions/ConnectionDependencyValidationException.js +12 -0
- package/dist/models/orchestrations/connections/exceptions/ConnectionDependencyValidationException.js.map +1 -0
- package/dist/models/orchestrations/connections/exceptions/ConnectionServiceException.d.ts +6 -0
- package/dist/models/orchestrations/connections/exceptions/ConnectionServiceException.d.ts.map +1 -0
- package/dist/models/orchestrations/connections/exceptions/ConnectionServiceException.js +12 -0
- package/dist/models/orchestrations/connections/exceptions/ConnectionServiceException.js.map +1 -0
- package/dist/models/orchestrations/connections/exceptions/ConnectionValidationException.d.ts +6 -0
- package/dist/models/orchestrations/connections/exceptions/ConnectionValidationException.d.ts.map +1 -0
- package/dist/models/orchestrations/connections/exceptions/ConnectionValidationException.js +12 -0
- package/dist/models/orchestrations/connections/exceptions/ConnectionValidationException.js.map +1 -0
- package/dist/models/orchestrations/connections/exceptions/FailedConnectionServiceException.d.ts +5 -0
- package/dist/models/orchestrations/connections/exceptions/FailedConnectionServiceException.d.ts.map +1 -0
- package/dist/models/orchestrations/connections/exceptions/FailedConnectionServiceException.js +10 -0
- package/dist/models/orchestrations/connections/exceptions/FailedConnectionServiceException.js.map +1 -0
- package/dist/models/orchestrations/connections/exceptions/NoConnectionException.d.ts +4 -0
- package/dist/models/orchestrations/connections/exceptions/NoConnectionException.d.ts.map +1 -0
- package/dist/models/orchestrations/connections/exceptions/NoConnectionException.js +10 -0
- package/dist/models/orchestrations/connections/exceptions/NoConnectionException.js.map +1 -0
- package/dist/models/processings/accounts/SignedInAccount.d.ts +7 -0
- package/dist/models/processings/accounts/SignedInAccount.d.ts.map +1 -0
- package/dist/models/processings/accounts/SignedInAccount.js +2 -0
- package/dist/models/processings/accounts/SignedInAccount.js.map +1 -0
- package/dist/models/processings/accounts/exceptions/AccountProcessingDependencyException.d.ts +6 -0
- package/dist/models/processings/accounts/exceptions/AccountProcessingDependencyException.d.ts.map +1 -0
- package/dist/models/processings/accounts/exceptions/AccountProcessingDependencyException.js +11 -0
- package/dist/models/processings/accounts/exceptions/AccountProcessingDependencyException.js.map +1 -0
- package/dist/models/processings/accounts/exceptions/AccountProcessingDependencyValidationException.d.ts +6 -0
- package/dist/models/processings/accounts/exceptions/AccountProcessingDependencyValidationException.d.ts.map +1 -0
- package/dist/models/processings/accounts/exceptions/AccountProcessingDependencyValidationException.js +11 -0
- package/dist/models/processings/accounts/exceptions/AccountProcessingDependencyValidationException.js.map +1 -0
- package/dist/models/processings/accounts/exceptions/AccountProcessingServiceException.d.ts +6 -0
- package/dist/models/processings/accounts/exceptions/AccountProcessingServiceException.d.ts.map +1 -0
- package/dist/models/processings/accounts/exceptions/AccountProcessingServiceException.js +11 -0
- package/dist/models/processings/accounts/exceptions/AccountProcessingServiceException.js.map +1 -0
- package/dist/models/processings/accounts/exceptions/AccountProcessingValidationException.d.ts +6 -0
- package/dist/models/processings/accounts/exceptions/AccountProcessingValidationException.d.ts.map +1 -0
- package/dist/models/processings/accounts/exceptions/AccountProcessingValidationException.js +11 -0
- package/dist/models/processings/accounts/exceptions/AccountProcessingValidationException.js.map +1 -0
- package/dist/models/processings/accounts/exceptions/FailedAccountProcessingServiceException.d.ts +6 -0
- package/dist/models/processings/accounts/exceptions/FailedAccountProcessingServiceException.d.ts.map +1 -0
- package/dist/models/processings/accounts/exceptions/FailedAccountProcessingServiceException.js +10 -0
- package/dist/models/processings/accounts/exceptions/FailedAccountProcessingServiceException.js.map +1 -0
- package/dist/models/processings/accounts/exceptions/InvalidAccountProcessingException.d.ts +7 -0
- package/dist/models/processings/accounts/exceptions/InvalidAccountProcessingException.d.ts.map +1 -0
- package/dist/models/processings/accounts/exceptions/InvalidAccountProcessingException.js +22 -0
- package/dist/models/processings/accounts/exceptions/InvalidAccountProcessingException.js.map +1 -0
- package/dist/models/processings/configs/exceptions/ConfigProcessingDependencyException.d.ts +6 -0
- package/dist/models/processings/configs/exceptions/ConfigProcessingDependencyException.d.ts.map +1 -0
- package/dist/models/processings/configs/exceptions/ConfigProcessingDependencyException.js +12 -0
- package/dist/models/processings/configs/exceptions/ConfigProcessingDependencyException.js.map +1 -0
- package/dist/models/processings/configs/exceptions/ConfigProcessingDependencyValidationException.d.ts +6 -0
- package/dist/models/processings/configs/exceptions/ConfigProcessingDependencyValidationException.d.ts.map +1 -0
- package/dist/models/processings/configs/exceptions/ConfigProcessingDependencyValidationException.js +12 -0
- package/dist/models/processings/configs/exceptions/ConfigProcessingDependencyValidationException.js.map +1 -0
- package/dist/models/processings/configs/exceptions/ConfigProcessingServiceException.d.ts +6 -0
- package/dist/models/processings/configs/exceptions/ConfigProcessingServiceException.d.ts.map +1 -0
- package/dist/models/processings/configs/exceptions/ConfigProcessingServiceException.js +12 -0
- package/dist/models/processings/configs/exceptions/ConfigProcessingServiceException.js.map +1 -0
- package/dist/models/processings/configs/exceptions/ConfigProcessingValidationException.d.ts +6 -0
- package/dist/models/processings/configs/exceptions/ConfigProcessingValidationException.d.ts.map +1 -0
- package/dist/models/processings/configs/exceptions/ConfigProcessingValidationException.js +12 -0
- package/dist/models/processings/configs/exceptions/ConfigProcessingValidationException.js.map +1 -0
- package/dist/models/processings/configs/exceptions/FailedConfigProcessingServiceException.d.ts +5 -0
- package/dist/models/processings/configs/exceptions/FailedConfigProcessingServiceException.d.ts.map +1 -0
- package/dist/models/processings/configs/exceptions/FailedConfigProcessingServiceException.js +10 -0
- package/dist/models/processings/configs/exceptions/FailedConfigProcessingServiceException.js.map +1 -0
- package/dist/models/processings/configs/exceptions/LockUnavailableConfigProcessingException.d.ts +5 -0
- package/dist/models/processings/configs/exceptions/LockUnavailableConfigProcessingException.d.ts.map +1 -0
- package/dist/models/processings/configs/exceptions/LockUnavailableConfigProcessingException.js +11 -0
- package/dist/models/processings/configs/exceptions/LockUnavailableConfigProcessingException.js.map +1 -0
- package/dist/models/processings/health/HealthCheck.d.ts +9 -0
- package/dist/models/processings/health/HealthCheck.d.ts.map +1 -0
- package/dist/models/processings/health/HealthCheck.js +19 -0
- package/dist/models/processings/health/HealthCheck.js.map +1 -0
- package/dist/models/processings/processes/exceptions/FailedProcessProcessingServiceException.d.ts +5 -0
- package/dist/models/processings/processes/exceptions/FailedProcessProcessingServiceException.d.ts.map +1 -0
- package/dist/models/processings/processes/exceptions/FailedProcessProcessingServiceException.js +10 -0
- package/dist/models/processings/processes/exceptions/FailedProcessProcessingServiceException.js.map +1 -0
- package/dist/models/processings/processes/exceptions/ProcessProcessingDependencyException.d.ts +6 -0
- package/dist/models/processings/processes/exceptions/ProcessProcessingDependencyException.d.ts.map +1 -0
- package/dist/models/processings/processes/exceptions/ProcessProcessingDependencyException.js +12 -0
- package/dist/models/processings/processes/exceptions/ProcessProcessingDependencyException.js.map +1 -0
- package/dist/models/processings/processes/exceptions/ProcessProcessingDependencyValidationException.d.ts +6 -0
- package/dist/models/processings/processes/exceptions/ProcessProcessingDependencyValidationException.d.ts.map +1 -0
- package/dist/models/processings/processes/exceptions/ProcessProcessingDependencyValidationException.js +12 -0
- package/dist/models/processings/processes/exceptions/ProcessProcessingDependencyValidationException.js.map +1 -0
- package/dist/models/processings/processes/exceptions/ProcessProcessingServiceException.d.ts +6 -0
- package/dist/models/processings/processes/exceptions/ProcessProcessingServiceException.d.ts.map +1 -0
- package/dist/models/processings/processes/exceptions/ProcessProcessingServiceException.js +12 -0
- package/dist/models/processings/processes/exceptions/ProcessProcessingServiceException.js.map +1 -0
- package/dist/models/processings/processes/exceptions/ProcessProcessingValidationException.d.ts +6 -0
- package/dist/models/processings/processes/exceptions/ProcessProcessingValidationException.d.ts.map +1 -0
- package/dist/models/processings/processes/exceptions/ProcessProcessingValidationException.js +12 -0
- package/dist/models/processings/processes/exceptions/ProcessProcessingValidationException.js.map +1 -0
- package/dist/models/processings/registrySkills/InstalledSkill.d.ts +8 -0
- package/dist/models/processings/registrySkills/InstalledSkill.d.ts.map +1 -0
- package/dist/models/processings/registrySkills/InstalledSkill.js +2 -0
- package/dist/models/processings/registrySkills/InstalledSkill.js.map +1 -0
- package/dist/models/processings/registrySkills/exceptions/FailedRegistrySkillProcessingServiceException.d.ts +6 -0
- package/dist/models/processings/registrySkills/exceptions/FailedRegistrySkillProcessingServiceException.d.ts.map +1 -0
- package/dist/models/processings/registrySkills/exceptions/FailedRegistrySkillProcessingServiceException.js +10 -0
- package/dist/models/processings/registrySkills/exceptions/FailedRegistrySkillProcessingServiceException.js.map +1 -0
- package/dist/models/processings/registrySkills/exceptions/InvalidRegistrySkillProcessingException.d.ts +7 -0
- package/dist/models/processings/registrySkills/exceptions/InvalidRegistrySkillProcessingException.d.ts.map +1 -0
- package/dist/models/processings/registrySkills/exceptions/InvalidRegistrySkillProcessingException.js +22 -0
- package/dist/models/processings/registrySkills/exceptions/InvalidRegistrySkillProcessingException.js.map +1 -0
- package/dist/models/processings/registrySkills/exceptions/RegistrySkillProcessingDependencyException.d.ts +6 -0
- package/dist/models/processings/registrySkills/exceptions/RegistrySkillProcessingDependencyException.d.ts.map +1 -0
- package/dist/models/processings/registrySkills/exceptions/RegistrySkillProcessingDependencyException.js +11 -0
- package/dist/models/processings/registrySkills/exceptions/RegistrySkillProcessingDependencyException.js.map +1 -0
- package/dist/models/processings/registrySkills/exceptions/RegistrySkillProcessingDependencyValidationException.d.ts +6 -0
- package/dist/models/processings/registrySkills/exceptions/RegistrySkillProcessingDependencyValidationException.d.ts.map +1 -0
- package/dist/models/processings/registrySkills/exceptions/RegistrySkillProcessingDependencyValidationException.js +11 -0
- package/dist/models/processings/registrySkills/exceptions/RegistrySkillProcessingDependencyValidationException.js.map +1 -0
- package/dist/models/processings/registrySkills/exceptions/RegistrySkillProcessingServiceException.d.ts +6 -0
- package/dist/models/processings/registrySkills/exceptions/RegistrySkillProcessingServiceException.d.ts.map +1 -0
- package/dist/models/processings/registrySkills/exceptions/RegistrySkillProcessingServiceException.js +11 -0
- package/dist/models/processings/registrySkills/exceptions/RegistrySkillProcessingServiceException.js.map +1 -0
- package/dist/models/processings/registrySkills/exceptions/RegistrySkillProcessingValidationException.d.ts +6 -0
- package/dist/models/processings/registrySkills/exceptions/RegistrySkillProcessingValidationException.d.ts.map +1 -0
- package/dist/models/processings/registrySkills/exceptions/RegistrySkillProcessingValidationException.js +11 -0
- package/dist/models/processings/registrySkills/exceptions/RegistrySkillProcessingValidationException.js.map +1 -0
- package/dist/models/processings/secrets/exceptions/FailedSecretProcessingServiceException.d.ts +5 -0
- package/dist/models/processings/secrets/exceptions/FailedSecretProcessingServiceException.d.ts.map +1 -0
- package/dist/models/processings/secrets/exceptions/FailedSecretProcessingServiceException.js +10 -0
- package/dist/models/processings/secrets/exceptions/FailedSecretProcessingServiceException.js.map +1 -0
- package/dist/models/processings/secrets/exceptions/LockUnavailableSecretProcessingException.d.ts +5 -0
- package/dist/models/processings/secrets/exceptions/LockUnavailableSecretProcessingException.d.ts.map +1 -0
- package/dist/models/processings/secrets/exceptions/LockUnavailableSecretProcessingException.js +11 -0
- package/dist/models/processings/secrets/exceptions/LockUnavailableSecretProcessingException.js.map +1 -0
- package/dist/models/processings/secrets/exceptions/SecretProcessingDependencyException.d.ts +6 -0
- package/dist/models/processings/secrets/exceptions/SecretProcessingDependencyException.d.ts.map +1 -0
- package/dist/models/processings/secrets/exceptions/SecretProcessingDependencyException.js +12 -0
- package/dist/models/processings/secrets/exceptions/SecretProcessingDependencyException.js.map +1 -0
- package/dist/models/processings/secrets/exceptions/SecretProcessingDependencyValidationException.d.ts +6 -0
- package/dist/models/processings/secrets/exceptions/SecretProcessingDependencyValidationException.d.ts.map +1 -0
- package/dist/models/processings/secrets/exceptions/SecretProcessingDependencyValidationException.js +12 -0
- package/dist/models/processings/secrets/exceptions/SecretProcessingDependencyValidationException.js.map +1 -0
- package/dist/models/processings/secrets/exceptions/SecretProcessingServiceException.d.ts +6 -0
- package/dist/models/processings/secrets/exceptions/SecretProcessingServiceException.d.ts.map +1 -0
- package/dist/models/processings/secrets/exceptions/SecretProcessingServiceException.js +12 -0
- package/dist/models/processings/secrets/exceptions/SecretProcessingServiceException.js.map +1 -0
- package/dist/models/processings/secrets/exceptions/SecretProcessingValidationException.d.ts +6 -0
- package/dist/models/processings/secrets/exceptions/SecretProcessingValidationException.d.ts.map +1 -0
- package/dist/models/processings/secrets/exceptions/SecretProcessingValidationException.js +12 -0
- package/dist/models/processings/secrets/exceptions/SecretProcessingValidationException.js.map +1 -0
- package/dist/models/processings/workspaceFiles/AppliedEdit.d.ts +5 -0
- package/dist/models/processings/workspaceFiles/AppliedEdit.d.ts.map +1 -0
- package/dist/models/processings/workspaceFiles/AppliedEdit.js +2 -0
- package/dist/models/processings/workspaceFiles/AppliedEdit.js.map +1 -0
- package/dist/models/processings/workspaceFiles/GrepMatch.d.ts +8 -0
- package/dist/models/processings/workspaceFiles/GrepMatch.d.ts.map +1 -0
- package/dist/models/processings/workspaceFiles/GrepMatch.js +2 -0
- package/dist/models/processings/workspaceFiles/GrepMatch.js.map +1 -0
- package/dist/models/processings/workspaceFiles/PagedFile.d.ts +10 -0
- package/dist/models/processings/workspaceFiles/PagedFile.d.ts.map +1 -0
- package/dist/models/processings/workspaceFiles/PagedFile.js +2 -0
- package/dist/models/processings/workspaceFiles/PagedFile.js.map +1 -0
- package/dist/models/processings/workspaceFiles/RestoredRun.d.ts +5 -0
- package/dist/models/processings/workspaceFiles/RestoredRun.d.ts.map +1 -0
- package/dist/models/processings/workspaceFiles/RestoredRun.js +2 -0
- package/dist/models/processings/workspaceFiles/RestoredRun.js.map +1 -0
- package/dist/models/processings/workspaceFiles/exceptions/FailedWorkspaceFileProcessingServiceException.d.ts +6 -0
- package/dist/models/processings/workspaceFiles/exceptions/FailedWorkspaceFileProcessingServiceException.d.ts.map +1 -0
- package/dist/models/processings/workspaceFiles/exceptions/FailedWorkspaceFileProcessingServiceException.js +10 -0
- package/dist/models/processings/workspaceFiles/exceptions/FailedWorkspaceFileProcessingServiceException.js.map +1 -0
- package/dist/models/processings/workspaceFiles/exceptions/InvalidWorkspaceFileProcessingException.d.ts +7 -0
- package/dist/models/processings/workspaceFiles/exceptions/InvalidWorkspaceFileProcessingException.d.ts.map +1 -0
- package/dist/models/processings/workspaceFiles/exceptions/InvalidWorkspaceFileProcessingException.js +22 -0
- package/dist/models/processings/workspaceFiles/exceptions/InvalidWorkspaceFileProcessingException.js.map +1 -0
- package/dist/models/processings/workspaceFiles/exceptions/WorkspaceFileProcessingDependencyException.d.ts +6 -0
- package/dist/models/processings/workspaceFiles/exceptions/WorkspaceFileProcessingDependencyException.d.ts.map +1 -0
- package/dist/models/processings/workspaceFiles/exceptions/WorkspaceFileProcessingDependencyException.js +11 -0
- package/dist/models/processings/workspaceFiles/exceptions/WorkspaceFileProcessingDependencyException.js.map +1 -0
- package/dist/models/processings/workspaceFiles/exceptions/WorkspaceFileProcessingDependencyValidationException.d.ts +6 -0
- package/dist/models/processings/workspaceFiles/exceptions/WorkspaceFileProcessingDependencyValidationException.d.ts.map +1 -0
- package/dist/models/processings/workspaceFiles/exceptions/WorkspaceFileProcessingDependencyValidationException.js +11 -0
- package/dist/models/processings/workspaceFiles/exceptions/WorkspaceFileProcessingDependencyValidationException.js.map +1 -0
- package/dist/models/processings/workspaceFiles/exceptions/WorkspaceFileProcessingServiceException.d.ts +6 -0
- package/dist/models/processings/workspaceFiles/exceptions/WorkspaceFileProcessingServiceException.d.ts.map +1 -0
- package/dist/models/processings/workspaceFiles/exceptions/WorkspaceFileProcessingServiceException.js +11 -0
- package/dist/models/processings/workspaceFiles/exceptions/WorkspaceFileProcessingServiceException.js.map +1 -0
- package/dist/models/processings/workspaceFiles/exceptions/WorkspaceFileProcessingValidationException.d.ts +6 -0
- package/dist/models/processings/workspaceFiles/exceptions/WorkspaceFileProcessingValidationException.d.ts.map +1 -0
- package/dist/models/processings/workspaceFiles/exceptions/WorkspaceFileProcessingValidationException.js +11 -0
- package/dist/models/processings/workspaceFiles/exceptions/WorkspaceFileProcessingValidationException.js.map +1 -0
- package/dist/services/aggregations/doctors/DoctorAggregationService.Exceptions.d.ts +4 -0
- package/dist/services/aggregations/doctors/DoctorAggregationService.Exceptions.d.ts.map +1 -0
- package/dist/services/aggregations/doctors/DoctorAggregationService.Exceptions.js +18 -0
- package/dist/services/aggregations/doctors/DoctorAggregationService.Exceptions.js.map +1 -0
- package/dist/services/aggregations/doctors/DoctorAggregationService.d.ts +16 -0
- package/dist/services/aggregations/doctors/DoctorAggregationService.d.ts.map +1 -0
- package/dist/services/aggregations/doctors/DoctorAggregationService.js +36 -0
- package/dist/services/aggregations/doctors/DoctorAggregationService.js.map +1 -0
- package/dist/services/foundations/accounts/AccountService.Exceptions.d.ts +4 -0
- package/dist/services/foundations/accounts/AccountService.Exceptions.d.ts.map +1 -0
- package/dist/services/foundations/accounts/AccountService.Exceptions.js +55 -0
- package/dist/services/foundations/accounts/AccountService.Exceptions.js.map +1 -0
- package/dist/services/foundations/accounts/AccountService.Validations.d.ts +8 -0
- package/dist/services/foundations/accounts/AccountService.Validations.d.ts.map +1 -0
- package/dist/services/foundations/accounts/AccountService.Validations.js +55 -0
- package/dist/services/foundations/accounts/AccountService.Validations.js.map +1 -0
- package/dist/services/foundations/accounts/AccountService.d.ts +18 -0
- package/dist/services/foundations/accounts/AccountService.d.ts.map +1 -0
- package/dist/services/foundations/accounts/AccountService.js +68 -0
- package/dist/services/foundations/accounts/AccountService.js.map +1 -0
- package/dist/services/foundations/configs/ConfigService.Exceptions.d.ts +4 -0
- package/dist/services/foundations/configs/ConfigService.Exceptions.d.ts.map +1 -0
- package/dist/services/foundations/configs/ConfigService.Exceptions.js +51 -0
- package/dist/services/foundations/configs/ConfigService.Exceptions.js.map +1 -0
- package/dist/services/foundations/configs/ConfigService.Validations.d.ts +6 -0
- package/dist/services/foundations/configs/ConfigService.Validations.d.ts.map +1 -0
- package/dist/services/foundations/configs/ConfigService.Validations.js +118 -0
- package/dist/services/foundations/configs/ConfigService.Validations.js.map +1 -0
- package/dist/services/foundations/configs/ConfigService.d.ts +17 -0
- package/dist/services/foundations/configs/ConfigService.d.ts.map +1 -0
- package/dist/services/foundations/configs/ConfigService.js +215 -0
- package/dist/services/foundations/configs/ConfigService.js.map +1 -0
- package/dist/services/foundations/processes/ProcessService.Exceptions.d.ts +4 -0
- package/dist/services/foundations/processes/ProcessService.Exceptions.d.ts.map +1 -0
- package/dist/services/foundations/processes/ProcessService.Exceptions.js +30 -0
- package/dist/services/foundations/processes/ProcessService.Exceptions.js.map +1 -0
- package/dist/services/foundations/processes/ProcessService.Validations.d.ts +2 -0
- package/dist/services/foundations/processes/ProcessService.Validations.d.ts.map +1 -0
- package/dist/services/foundations/processes/ProcessService.Validations.js +22 -0
- package/dist/services/foundations/processes/ProcessService.Validations.js.map +1 -0
- package/dist/services/foundations/processes/ProcessService.d.ts +11 -0
- package/dist/services/foundations/processes/ProcessService.d.ts.map +1 -0
- package/dist/services/foundations/processes/ProcessService.js +23 -0
- package/dist/services/foundations/processes/ProcessService.js.map +1 -0
- package/dist/services/foundations/registrySkills/RegistrySkillService.Exceptions.d.ts +4 -0
- package/dist/services/foundations/registrySkills/RegistrySkillService.Exceptions.d.ts.map +1 -0
- package/dist/services/foundations/registrySkills/RegistrySkillService.Exceptions.js +42 -0
- package/dist/services/foundations/registrySkills/RegistrySkillService.Exceptions.js.map +1 -0
- package/dist/services/foundations/registrySkills/RegistrySkillService.Validations.d.ts +5 -0
- package/dist/services/foundations/registrySkills/RegistrySkillService.Validations.d.ts.map +1 -0
- package/dist/services/foundations/registrySkills/RegistrySkillService.Validations.js +37 -0
- package/dist/services/foundations/registrySkills/RegistrySkillService.Validations.js.map +1 -0
- package/dist/services/foundations/registrySkills/RegistrySkillService.d.ts +11 -0
- package/dist/services/foundations/registrySkills/RegistrySkillService.d.ts.map +1 -0
- package/dist/services/foundations/registrySkills/RegistrySkillService.js +28 -0
- package/dist/services/foundations/registrySkills/RegistrySkillService.js.map +1 -0
- package/dist/services/foundations/secrets/SecretService.Exceptions.d.ts +4 -0
- package/dist/services/foundations/secrets/SecretService.Exceptions.d.ts.map +1 -0
- package/dist/services/foundations/secrets/SecretService.Exceptions.js +49 -0
- package/dist/services/foundations/secrets/SecretService.Exceptions.js.map +1 -0
- package/dist/services/foundations/secrets/SecretService.Validations.d.ts +4 -0
- package/dist/services/foundations/secrets/SecretService.Validations.d.ts.map +1 -0
- package/dist/services/foundations/secrets/SecretService.Validations.js +42 -0
- package/dist/services/foundations/secrets/SecretService.Validations.js.map +1 -0
- package/dist/services/foundations/secrets/SecretService.d.ts +15 -0
- package/dist/services/foundations/secrets/SecretService.d.ts.map +1 -0
- package/dist/services/foundations/secrets/SecretService.js +82 -0
- package/dist/services/foundations/secrets/SecretService.js.map +1 -0
- package/dist/services/foundations/workspaceFiles/WorkspaceFileService.Exceptions.d.ts +4 -0
- package/dist/services/foundations/workspaceFiles/WorkspaceFileService.Exceptions.d.ts.map +1 -0
- package/dist/services/foundations/workspaceFiles/WorkspaceFileService.Exceptions.js +49 -0
- package/dist/services/foundations/workspaceFiles/WorkspaceFileService.Exceptions.js.map +1 -0
- package/dist/services/foundations/workspaceFiles/WorkspaceFileService.Validations.d.ts +14 -0
- package/dist/services/foundations/workspaceFiles/WorkspaceFileService.Validations.d.ts.map +1 -0
- package/dist/services/foundations/workspaceFiles/WorkspaceFileService.Validations.js +119 -0
- package/dist/services/foundations/workspaceFiles/WorkspaceFileService.Validations.js.map +1 -0
- package/dist/services/foundations/workspaceFiles/WorkspaceFileService.d.ts +21 -0
- package/dist/services/foundations/workspaceFiles/WorkspaceFileService.d.ts.map +1 -0
- package/dist/services/foundations/workspaceFiles/WorkspaceFileService.js +195 -0
- package/dist/services/foundations/workspaceFiles/WorkspaceFileService.js.map +1 -0
- package/dist/services/orchestrations/connections/ConnectionOrchestrationService.Exceptions.d.ts +4 -0
- package/dist/services/orchestrations/connections/ConnectionOrchestrationService.Exceptions.d.ts.map +1 -0
- package/dist/services/orchestrations/connections/ConnectionOrchestrationService.Exceptions.js +41 -0
- package/dist/services/orchestrations/connections/ConnectionOrchestrationService.Exceptions.js.map +1 -0
- package/dist/services/orchestrations/connections/ConnectionOrchestrationService.d.ts +27 -0
- package/dist/services/orchestrations/connections/ConnectionOrchestrationService.d.ts.map +1 -0
- package/dist/services/orchestrations/connections/ConnectionOrchestrationService.js +155 -0
- package/dist/services/orchestrations/connections/ConnectionOrchestrationService.js.map +1 -0
- package/dist/services/processings/accounts/AccountProcessingService.Exceptions.d.ts +4 -0
- package/dist/services/processings/accounts/AccountProcessingService.Exceptions.d.ts.map +1 -0
- package/dist/services/processings/accounts/AccountProcessingService.Exceptions.js +35 -0
- package/dist/services/processings/accounts/AccountProcessingService.Exceptions.js.map +1 -0
- package/dist/services/processings/accounts/AccountProcessingService.d.ts +18 -0
- package/dist/services/processings/accounts/AccountProcessingService.d.ts.map +1 -0
- package/dist/services/processings/accounts/AccountProcessingService.js +53 -0
- package/dist/services/processings/accounts/AccountProcessingService.js.map +1 -0
- package/dist/services/processings/configs/ConfigProcessingService.Exceptions.d.ts +4 -0
- package/dist/services/processings/configs/ConfigProcessingService.Exceptions.d.ts.map +1 -0
- package/dist/services/processings/configs/ConfigProcessingService.Exceptions.js +38 -0
- package/dist/services/processings/configs/ConfigProcessingService.Exceptions.js.map +1 -0
- package/dist/services/processings/configs/ConfigProcessingService.d.ts +24 -0
- package/dist/services/processings/configs/ConfigProcessingService.d.ts.map +1 -0
- package/dist/services/processings/configs/ConfigProcessingService.js +157 -0
- package/dist/services/processings/configs/ConfigProcessingService.js.map +1 -0
- package/dist/services/processings/processes/ProcessProcessingService.Exceptions.d.ts +4 -0
- package/dist/services/processings/processes/ProcessProcessingService.Exceptions.d.ts.map +1 -0
- package/dist/services/processings/processes/ProcessProcessingService.Exceptions.js +33 -0
- package/dist/services/processings/processes/ProcessProcessingService.Exceptions.js.map +1 -0
- package/dist/services/processings/processes/ProcessProcessingService.d.ts +13 -0
- package/dist/services/processings/processes/ProcessProcessingService.d.ts.map +1 -0
- package/dist/services/processings/processes/ProcessProcessingService.js +66 -0
- package/dist/services/processings/processes/ProcessProcessingService.js.map +1 -0
- package/dist/services/processings/registrySkills/RegistrySkillProcessingService.Exceptions.d.ts +4 -0
- package/dist/services/processings/registrySkills/RegistrySkillProcessingService.Exceptions.d.ts.map +1 -0
- package/dist/services/processings/registrySkills/RegistrySkillProcessingService.Exceptions.js +36 -0
- package/dist/services/processings/registrySkills/RegistrySkillProcessingService.Exceptions.js.map +1 -0
- package/dist/services/processings/registrySkills/RegistrySkillProcessingService.d.ts +16 -0
- package/dist/services/processings/registrySkills/RegistrySkillProcessingService.d.ts.map +1 -0
- package/dist/services/processings/registrySkills/RegistrySkillProcessingService.js +67 -0
- package/dist/services/processings/registrySkills/RegistrySkillProcessingService.js.map +1 -0
- package/dist/services/processings/secrets/SecretProcessingService.Exceptions.d.ts +4 -0
- package/dist/services/processings/secrets/SecretProcessingService.Exceptions.d.ts.map +1 -0
- package/dist/services/processings/secrets/SecretProcessingService.Exceptions.js +38 -0
- package/dist/services/processings/secrets/SecretProcessingService.Exceptions.js.map +1 -0
- package/dist/services/processings/secrets/SecretProcessingService.d.ts +25 -0
- package/dist/services/processings/secrets/SecretProcessingService.d.ts.map +1 -0
- package/dist/services/processings/secrets/SecretProcessingService.js +180 -0
- package/dist/services/processings/secrets/SecretProcessingService.js.map +1 -0
- package/dist/services/processings/workspaceFiles/Globs.d.ts +2 -0
- package/dist/services/processings/workspaceFiles/Globs.d.ts.map +1 -0
- package/dist/services/processings/workspaceFiles/Globs.js +18 -0
- package/dist/services/processings/workspaceFiles/Globs.js.map +1 -0
- package/dist/services/processings/workspaceFiles/IgnoreRules.d.ts +9 -0
- package/dist/services/processings/workspaceFiles/IgnoreRules.d.ts.map +1 -0
- package/dist/services/processings/workspaceFiles/IgnoreRules.js +72 -0
- package/dist/services/processings/workspaceFiles/IgnoreRules.js.map +1 -0
- package/dist/services/processings/workspaceFiles/WorkspaceFileProcessingService.Exceptions.d.ts +4 -0
- package/dist/services/processings/workspaceFiles/WorkspaceFileProcessingService.Exceptions.d.ts.map +1 -0
- package/dist/services/processings/workspaceFiles/WorkspaceFileProcessingService.Exceptions.js +34 -0
- package/dist/services/processings/workspaceFiles/WorkspaceFileProcessingService.Exceptions.js.map +1 -0
- package/dist/services/processings/workspaceFiles/WorkspaceFileProcessingService.Validations.d.ts +9 -0
- package/dist/services/processings/workspaceFiles/WorkspaceFileProcessingService.Validations.d.ts.map +1 -0
- package/dist/services/processings/workspaceFiles/WorkspaceFileProcessingService.Validations.js +76 -0
- package/dist/services/processings/workspaceFiles/WorkspaceFileProcessingService.Validations.js.map +1 -0
- package/dist/services/processings/workspaceFiles/WorkspaceFileProcessingService.d.ts +59 -0
- package/dist/services/processings/workspaceFiles/WorkspaceFileProcessingService.d.ts.map +1 -0
- package/dist/services/processings/workspaceFiles/WorkspaceFileProcessingService.js +493 -0
- package/dist/services/processings/workspaceFiles/WorkspaceFileProcessingService.js.map +1 -0
- package/dist/shared/client-version.d.ts +2 -0
- package/dist/shared/client-version.d.ts.map +1 -0
- package/dist/shared/client-version.js +5 -0
- package/dist/shared/client-version.js.map +1 -0
- package/package.json +62 -0
- package/skills/native/coding-agent.md +33 -0
- package/skills/text/coding-agent.md +28 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { answerOrRaise, readArgumentsOrRefuse, scopeOrNothing } from "./Refusals.js";
|
|
2
|
+
// write_file (SPEC.md 6.3): a file the workspace already has, replaced whole.
|
|
3
|
+
//
|
|
4
|
+
// The anchored edit is the one to reach for; this is the one for a file being rewritten rather than
|
|
5
|
+
// touched. Every guard that makes that safe lives in the processing, so a second caller of the same
|
|
6
|
+
// routine cannot get a laxer version of it.
|
|
7
|
+
export function createWriteFileTool(workspaceFileProcessingService) {
|
|
8
|
+
return {
|
|
9
|
+
name: "write_file",
|
|
10
|
+
description: WRITE_DESCRIPTION,
|
|
11
|
+
parameters: WRITE_PARAMETERS,
|
|
12
|
+
risk: "Sensitive",
|
|
13
|
+
narrationStarting: "Rewriting a file",
|
|
14
|
+
scopeOf: (input) => scopeOrNothing(input)?.path ?? "",
|
|
15
|
+
execute: async (input) => {
|
|
16
|
+
try {
|
|
17
|
+
const asked = readArguments(input);
|
|
18
|
+
await workspaceFileProcessingService.applyWrite(asked.path, asked.content);
|
|
19
|
+
return `wrote ${asked.path}`;
|
|
20
|
+
}
|
|
21
|
+
catch (error) {
|
|
22
|
+
// A refusal is an observation the model can act on, not a fault. It read part of a file and
|
|
23
|
+
// asked to write all of it; the next turn can read the rest.
|
|
24
|
+
return answerOrRaise(error);
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function readArguments(input) {
|
|
30
|
+
const asked = readArgumentsOrRefuse(input, "write_file");
|
|
31
|
+
return { path: asked.path ?? "", content: asked.content ?? "" };
|
|
32
|
+
}
|
|
33
|
+
// What this tool is for, before what it refuses.
|
|
34
|
+
//
|
|
35
|
+
// It used to open by pointing at the other tool: "prefer single_find_and_replace when you are
|
|
36
|
+
// changing a region you can name". A model rewriting a whole file read that at the moment of
|
|
37
|
+
// choosing, found it had no single region to name, and did neither: it wrote the new file out in
|
|
38
|
+
// prose and asked the user to apply it. A description that argues against itself is a tool that
|
|
39
|
+
// does not get called.
|
|
40
|
+
const WRITE_DESCRIPTION = "Rewrite a file, whole. This is the tool for replacing most or all of a file, and for a file " +
|
|
41
|
+
"whose new content is easier to give in full than to describe as a region. Use " +
|
|
42
|
+
"single_find_and_replace instead when you are changing one passage you can quote. Read the " +
|
|
43
|
+
"whole file with read_file first, because this replaces the lines you never saw as well as the " +
|
|
44
|
+
"ones you did. Give the content in full: a placeholder such as '...' or 'existing code' is " +
|
|
45
|
+
"refused.";
|
|
46
|
+
const WRITE_PARAMETERS = JSON.stringify({
|
|
47
|
+
type: "object",
|
|
48
|
+
properties: {
|
|
49
|
+
path: { type: "string", description: "The file to replace. It must already exist and this run must have read all of it." },
|
|
50
|
+
content: { type: "string", description: "Everything the file should hold afterwards." },
|
|
51
|
+
},
|
|
52
|
+
required: ["path", "content"],
|
|
53
|
+
});
|
|
54
|
+
//# sourceMappingURL=WriteFileTool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WriteFileTool.js","sourceRoot":"","sources":["../../../src/exposers/tools/WriteFileTool.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAIrF,8EAA8E;AAC9E,EAAE;AACF,oGAAoG;AACpG,oGAAoG;AACpG,4CAA4C;AAC5C,MAAM,UAAU,mBAAmB,CAAC,8BAA8D;IAChG,OAAO;QACL,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,iBAAiB;QAC9B,UAAU,EAAE,gBAAgB;QAC5B,IAAI,EAAE,WAAW;QACjB,iBAAiB,EAAE,kBAAkB;QACrC,OAAO,EAAE,CAAC,KAAa,EAAU,EAAE,CAAC,cAAc,CAA0B,KAAK,CAAC,EAAE,IAAI,IAAI,EAAE;QAC9F,OAAO,EAAE,KAAK,EAAE,KAAa,EAAmB,EAAE;YAChD,IAAI,CAAC;gBACH,MAAM,KAAK,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;gBACnC,MAAM,8BAA8B,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;gBAE3E,OAAO,SAAS,KAAK,CAAC,IAAI,EAAE,CAAC;YAC/B,CAAC;YAAC,OAAO,KAAc,EAAE,CAAC;gBACxB,4FAA4F;gBAC5F,6DAA6D;gBAC7D,OAAO,aAAa,CAAC,KAAK,CAAC,CAAC;YAC9B,CAAC;QACH,CAAC;KACF,CAAC;AACJ,CAAC;AAOD,SAAS,aAAa,CAAC,KAAa;IAClC,MAAM,KAAK,GAAG,qBAAqB,CAA0B,KAAK,EAAE,YAAY,CAAC,CAAC;IAElF,OAAO,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,IAAI,EAAE,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,IAAI,EAAE,EAAE,CAAC;AAClE,CAAC;AAED,iDAAiD;AACjD,EAAE;AACF,8FAA8F;AAC9F,6FAA6F;AAC7F,iGAAiG;AACjG,gGAAgG;AAChG,uBAAuB;AACvB,MAAM,iBAAiB,GACrB,8FAA8F;IAC9F,gFAAgF;IAChF,4FAA4F;IAC5F,gGAAgG;IAChG,4FAA4F;IAC5F,UAAU,CAAC;AAEb,MAAM,gBAAgB,GAAG,IAAI,CAAC,SAAS,CAAC;IACtC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,mFAAmF,EAAE;QAC1H,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,6CAA6C,EAAE;KACxF;IACD,QAAQ,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC;CAC9B,CAAC,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { StandardAgent, type GeneratorBroker, type AgentEffect, type ApprovalVerdict, type GeneratorBrokerV1, type LoggingBroker, type Tool } from "@hassanhabib/standard-agents";
|
|
2
|
+
import { WorkspaceFileProcessingService, type ChangedFile } from "./services/processings/workspaceFiles/WorkspaceFileProcessingService.js";
|
|
3
|
+
import { DoctorAggregationService } from "./services/aggregations/doctors/DoctorAggregationService.js";
|
|
4
|
+
import type { ConfigProcessingService } from "./services/processings/configs/ConfigProcessingService.js";
|
|
5
|
+
import type { SecretProcessingService } from "./services/processings/secrets/SecretProcessingService.js";
|
|
6
|
+
export interface CodingAgentEndpoint {
|
|
7
|
+
readonly apiUrl: string;
|
|
8
|
+
readonly apiKey: string;
|
|
9
|
+
readonly model: string;
|
|
10
|
+
}
|
|
11
|
+
export interface CodingAgentOptions {
|
|
12
|
+
readonly generator?: GeneratorBroker;
|
|
13
|
+
readonly endpoint?: CodingAgentEndpoint;
|
|
14
|
+
readonly nativeGenerator?: GeneratorBrokerV1;
|
|
15
|
+
readonly maxTurns?: number;
|
|
16
|
+
readonly skillsPath?: string;
|
|
17
|
+
readonly installedSkillsPath?: string;
|
|
18
|
+
readonly mcpServers?: readonly McpServerOption[];
|
|
19
|
+
readonly workspaceRoot?: string;
|
|
20
|
+
readonly snapshotsRoot?: string;
|
|
21
|
+
readonly onApproval?: (effect: AgentEffect) => Promise<ApprovalVerdict>;
|
|
22
|
+
readonly sessionsRoot?: string;
|
|
23
|
+
readonly maxHistoryTurns?: number;
|
|
24
|
+
readonly trace?: (line: string) => void;
|
|
25
|
+
readonly onChanged?: (changed: ChangedFile) => void;
|
|
26
|
+
}
|
|
27
|
+
export interface McpServerOption {
|
|
28
|
+
readonly name: string;
|
|
29
|
+
readonly argv: readonly string[];
|
|
30
|
+
readonly environment?: Readonly<Record<string, string>>;
|
|
31
|
+
}
|
|
32
|
+
export declare const CODING_AGENT_MAX_TURNS = 64;
|
|
33
|
+
export declare const CODING_AGENT_MAX_OUTPUT_TOKENS = 8192;
|
|
34
|
+
export declare const CODING_AGENT_MAX_HISTORY_TURNS = 8;
|
|
35
|
+
export type { PagedFile } from "./models/processings/workspaceFiles/PagedFile.js";
|
|
36
|
+
export { WorkspaceFileProcessingService, MAXIMUM_PAGE_BYTES } from "./services/processings/workspaceFiles/WorkspaceFileProcessingService.js";
|
|
37
|
+
export type { ChangedFile, FileChange } from "./services/processings/workspaceFiles/WorkspaceFileProcessingService.js";
|
|
38
|
+
export type { WorkspaceEntry } from "./models/foundations/workspaceFiles/WorkspaceEntry.js";
|
|
39
|
+
export { WorkspaceFileService } from "./services/foundations/workspaceFiles/WorkspaceFileService.js";
|
|
40
|
+
export { MAXIMUM_FILE_BYTES } from "./services/foundations/workspaceFiles/WorkspaceFileService.Validations.js";
|
|
41
|
+
export { accountUrlOf, composeConnection, composeStores, configPathOf, defaultConfigDirectory, networkProfile, sessionsDirectoryOf, skillsDirectoryOf, snapshotsDirectoryOf, DEFAULT_API_URL, DEFAULT_MODEL, } from "./Connections.js";
|
|
42
|
+
export type { ConfigDocument, ConnectionProfile } from "./models/foundations/configs/ConfigDocument.js";
|
|
43
|
+
export type { ConversationAct, ConversationTurn, SessionSummary } from "./Sessions.js";
|
|
44
|
+
export { freshSessionId, heldActOf, inTheOrderThatMatters, lastSessionOf, pendingQuestionOf, readConversation, readSessions, rememberLastSession, whereItStands, } from "./Sessions.js";
|
|
45
|
+
export type { HeldAct } from "./Sessions.js";
|
|
46
|
+
export type { ProposedAct } from "./Approvals.js";
|
|
47
|
+
export type { RestoredRun } from "./models/processings/workspaceFiles/RestoredRun.js";
|
|
48
|
+
export { readProposedAct, whatItWants } from "./Approvals.js";
|
|
49
|
+
export type { Offerings } from "./Offerings.js";
|
|
50
|
+
export { offeringsOf, readServers } from "./Offerings.js";
|
|
51
|
+
export type { ResolvedConnection } from "./models/orchestrations/connections/ResolvedConnection.js";
|
|
52
|
+
export { ConnectionOrchestrationService } from "./services/orchestrations/connections/ConnectionOrchestrationService.js";
|
|
53
|
+
export type { BrainBroker } from "./brokers/brains/BrainBroker.js";
|
|
54
|
+
export { PeerLlmBrainBroker } from "./brokers/brains/PeerLlmBrainBroker.js";
|
|
55
|
+
export declare function composeCodingAgent(options: CodingAgentOptions): StandardAgent;
|
|
56
|
+
export declare function composeWorkspaceFiles(workspaceRoot: string, snapshotsRoot: string, loggingBroker: LoggingBroker, onChanged?: (changed: ChangedFile) => void): WorkspaceFileProcessingService;
|
|
57
|
+
export declare function composeWorkspaceRestore(workspaceRoot: string, snapshotsRoot: string, trace?: (line: string) => void): WorkspaceFileProcessingService;
|
|
58
|
+
export declare function composeDoctor(configProcessingService: ConfigProcessingService, secretProcessingService: SecretProcessingService, workspaceRoot: string, snapshotsRoot: string, trace?: (line: string) => void): DoctorAggregationService;
|
|
59
|
+
export type { HealthCheck } from "./models/processings/health/HealthCheck.js";
|
|
60
|
+
export { DoctorAggregationService } from "./services/aggregations/doctors/DoctorAggregationService.js";
|
|
61
|
+
export declare function composeWorkspaceTools(workspaceRoot: string, trace?: (line: string) => void, withEdits?: boolean, snapshotsRoot?: string, onChanged?: (changed: ChangedFile) => void): readonly Tool[];
|
|
62
|
+
export declare const EDITING_TOOLS: string[];
|
|
63
|
+
export declare const APPROVAL_REQUIRED_TOOLS: string[];
|
|
64
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAKL,aAAa,EAEb,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,IAAI,EACV,MAAM,8BAA8B,CAAC;AAqBtC,OAAO,EAAE,8BAA8B,EAAE,KAAK,WAAW,EAAE,MAAM,yEAAyE,CAAC;AAC3I,OAAO,EAAE,wBAAwB,EAAE,MAAM,6DAA6D,CAAC;AACvG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2DAA2D,CAAC;AACzG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2DAA2D,CAAC;AAIzG,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,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@@ -0,0 +1,196 @@
|
|
|
1
|
+
// The "./coding" export: composeCodingAgent and the coding service tree (PLAN.md 4.5). The
|
|
2
|
+
// desktop app imports this module and nothing else from this package. Sprint 1 composes the
|
|
3
|
+
// engine over a brain the caller hands in and the built-in coding-agent skill; the tools, the
|
|
4
|
+
// perimeter, the sessions and the network brain arrive with the sprints that build them.
|
|
5
|
+
import { dirname, join } from "node:path";
|
|
6
|
+
import { fileURLToPath } from "node:url";
|
|
7
|
+
import { FileSessionBroker, FileSkillBroker, NodeFileBroker, NotConfiguredLoggingBroker, StandardAgent, StreamLoggingBroker, } from "@hassanhabib/standard-agents";
|
|
8
|
+
import { ChildProcessMcpChannel } from "./brokers/mcps/ChildProcessMcpChannel.js";
|
|
9
|
+
import { CompositeMcpBroker } from "./brokers/mcps/CompositeMcpBroker.js";
|
|
10
|
+
import { StdioMcpBroker } from "./brokers/mcps/StdioMcpBroker.js";
|
|
11
|
+
import { CompositeSkillBroker } from "./brokers/skills/CompositeSkillBroker.js";
|
|
12
|
+
import { refusalIn } from "./exposers/tools/Refusals.js";
|
|
13
|
+
import { createGlobFilesTool } from "./exposers/tools/GlobFilesTool.js";
|
|
14
|
+
import { createGrepFilesTool } from "./exposers/tools/GrepFilesTool.js";
|
|
15
|
+
import { createListDirectoryTool } from "./exposers/tools/ListDirectoryTool.js";
|
|
16
|
+
import { NodeProcessBroker } from "./brokers/processes/NodeProcessBroker.js";
|
|
17
|
+
import { createCreateNewFileTool } from "./exposers/tools/CreateNewFileTool.js";
|
|
18
|
+
import { createGitTools } from "./exposers/tools/GitTools.js";
|
|
19
|
+
import { createRunCommandTool } from "./exposers/tools/RunCommandTool.js";
|
|
20
|
+
import { createReadFileTool } from "./exposers/tools/ReadFileTool.js";
|
|
21
|
+
import { createSingleFindAndReplaceTool } from "./exposers/tools/SingleFindAndReplaceTool.js";
|
|
22
|
+
import { createWriteFileTool } from "./exposers/tools/WriteFileTool.js";
|
|
23
|
+
import { createDeletePathTool } from "./exposers/tools/DeletePathTool.js";
|
|
24
|
+
import { WorkspaceFileService } from "./services/foundations/workspaceFiles/WorkspaceFileService.js";
|
|
25
|
+
import { ProcessService } from "./services/foundations/processes/ProcessService.js";
|
|
26
|
+
import { ProcessProcessingService } from "./services/processings/processes/ProcessProcessingService.js";
|
|
27
|
+
import { WorkspaceFileProcessingService } from "./services/processings/workspaceFiles/WorkspaceFileProcessingService.js";
|
|
28
|
+
import { DoctorAggregationService } from "./services/aggregations/doctors/DoctorAggregationService.js";
|
|
29
|
+
export const CODING_AGENT_MAX_TURNS = 64;
|
|
30
|
+
// How much the model may write in one turn.
|
|
31
|
+
//
|
|
32
|
+
// The framework's default is a thousand tokens, which is the size of an answer somebody reads. The
|
|
33
|
+
// tools here carry files, and a tool call is one completion: the file and the JSON around it are
|
|
34
|
+
// written in the same breath as the sentence introducing them, so the bound that sizes a reply is
|
|
35
|
+
// the bound that cuts a file in half.
|
|
36
|
+
//
|
|
37
|
+
// Measured against the deployed orchestrator rather than guessed at. A three hundred line page
|
|
38
|
+
// asked for under the default came back as a create_new_file whose arguments stopped mid-string at
|
|
39
|
+
// exactly 1024 completion tokens; the same page under a real bound came back whole at about
|
|
40
|
+
// thirteen hundred. Eight thousand leaves room for a file several times that and still ends a model
|
|
41
|
+
// that has started repeating itself.
|
|
42
|
+
export const CODING_AGENT_MAX_OUTPUT_TOKENS = 8192;
|
|
43
|
+
// How many past turns a prompt carries by default. Smaller than the loop's cap because a coding
|
|
44
|
+
// turn is long: it holds the files that were read and the commands that were run, and twenty of
|
|
45
|
+
// those is a prompt with no room left to think in.
|
|
46
|
+
export const CODING_AGENT_MAX_HISTORY_TURNS = 8;
|
|
47
|
+
export { WorkspaceFileProcessingService, MAXIMUM_PAGE_BYTES } from "./services/processings/workspaceFiles/WorkspaceFileProcessingService.js";
|
|
48
|
+
export { WorkspaceFileService } from "./services/foundations/workspaceFiles/WorkspaceFileService.js";
|
|
49
|
+
export { MAXIMUM_FILE_BYTES } from "./services/foundations/workspaceFiles/WorkspaceFileService.Validations.js";
|
|
50
|
+
// Where the two applications meet on disk, and how each of them builds what it finds there. The
|
|
51
|
+
// desktop needs every line of this: two applications that each worked out where the store lives
|
|
52
|
+
// would be two applications that eventually disagree.
|
|
53
|
+
export { accountUrlOf, composeConnection, composeStores, configPathOf, defaultConfigDirectory, networkProfile, sessionsDirectoryOf, skillsDirectoryOf, snapshotsDirectoryOf, DEFAULT_API_URL, DEFAULT_MODEL, } from "./Connections.js";
|
|
54
|
+
export { freshSessionId, heldActOf, inTheOrderThatMatters, lastSessionOf, pendingQuestionOf, readConversation, readSessions, rememberLastSession, whereItStands, } from "./Sessions.js";
|
|
55
|
+
export { readProposedAct, whatItWants } from "./Approvals.js";
|
|
56
|
+
export { offeringsOf, readServers } from "./Offerings.js";
|
|
57
|
+
export { ConnectionOrchestrationService } from "./services/orchestrations/connections/ConnectionOrchestrationService.js";
|
|
58
|
+
export { PeerLlmBrainBroker } from "./brokers/brains/PeerLlmBrainBroker.js";
|
|
59
|
+
export function composeCodingAgent(options) {
|
|
60
|
+
// A prompt belongs to a protocol. A native brain is offered schemas and told to call them; a text
|
|
61
|
+
// brain is told the ACTION and FINAL protocol, because that is the only way it can act at all.
|
|
62
|
+
// Handing either one the other's prompt is how an agent describes a tool call instead of making
|
|
63
|
+
// one, or makes one nothing is listening for.
|
|
64
|
+
const protocol = speaksNatively(options) ? "native" : "text";
|
|
65
|
+
const builtIn = options.skillsPath ?? builtInSkillsPath(protocol);
|
|
66
|
+
const agent = new StandardAgent().maxTurns(options.maxTurns ?? CODING_AGENT_MAX_TURNS);
|
|
67
|
+
// The built-in folder first, because it is the one that says how to use a tool at all, and an
|
|
68
|
+
// installed skill that contradicts it should read as the later voice.
|
|
69
|
+
if (options.installedSkillsPath === undefined) {
|
|
70
|
+
agent.skills(builtIn);
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
agent.useSkills(new CompositeSkillBroker(new FileSkillBroker(builtIn), new FileSkillBroker(options.installedSkillsPath)));
|
|
74
|
+
}
|
|
75
|
+
if (options.endpoint !== undefined) {
|
|
76
|
+
agent.nativeBrain(options.endpoint.apiUrl, options.endpoint.apiKey, options.endpoint.model, null, CODING_AGENT_MAX_OUTPUT_TOKENS);
|
|
77
|
+
}
|
|
78
|
+
if (options.nativeGenerator !== undefined) {
|
|
79
|
+
agent.useNativeGenerator(options.nativeGenerator);
|
|
80
|
+
}
|
|
81
|
+
if (options.generator !== undefined) {
|
|
82
|
+
agent.useGenerator(options.generator);
|
|
83
|
+
}
|
|
84
|
+
if (options.trace !== undefined) {
|
|
85
|
+
agent.trace(options.trace);
|
|
86
|
+
}
|
|
87
|
+
// Started where the run is, because a server that reads files is a server that should read the
|
|
88
|
+
// files this run is about. A server with no argv is one the document could not make sense of and
|
|
89
|
+
// is not started at all.
|
|
90
|
+
const servers = (options.mcpServers ?? []).filter((server) => server.argv.length > 0);
|
|
91
|
+
if (servers.length > 0) {
|
|
92
|
+
agent.useMcp(new CompositeMcpBroker(new Map(servers.map((server) => [
|
|
93
|
+
server.name,
|
|
94
|
+
new StdioMcpBroker(new ChildProcessMcpChannel(server.argv, options.workspaceRoot ?? process.cwd(), server.environment ?? {}), server.name),
|
|
95
|
+
]))));
|
|
96
|
+
}
|
|
97
|
+
// One conversation per session id, on disk, so a run that ends and a run that starts an hour
|
|
98
|
+
// later in another process are the same conversation.
|
|
99
|
+
if (options.sessionsRoot !== undefined) {
|
|
100
|
+
agent.useSessions(new FileSessionBroker(new NodeFileBroker(), options.sessionsRoot), options.maxHistoryTurns ?? CODING_AGENT_MAX_HISTORY_TURNS);
|
|
101
|
+
}
|
|
102
|
+
if (options.workspaceRoot !== undefined) {
|
|
103
|
+
agent.tools(composeWorkspaceTools(options.workspaceRoot, options.trace, options.onApproval !== undefined, options.snapshotsRoot, options.onChanged));
|
|
104
|
+
}
|
|
105
|
+
// Every editing tool is approval-required, and the only way to have them at all is to have said
|
|
106
|
+
// who answers. There is no permission mode here that turns this off: the mode decides what is
|
|
107
|
+
// asked about, and 1.0 asks about every write.
|
|
108
|
+
if (options.onApproval !== undefined) {
|
|
109
|
+
agent.requireApproval(...APPROVAL_REQUIRED_TOOLS).onApproval(options.onApproval);
|
|
110
|
+
}
|
|
111
|
+
return agent;
|
|
112
|
+
}
|
|
113
|
+
// The workspace's files, composed once. Both the tools and the undo run over this pair, so what a
|
|
114
|
+
// snapshot is named and where it is kept cannot come to mean one thing to the run that took it and
|
|
115
|
+
// another to the command that puts it back.
|
|
116
|
+
export function composeWorkspaceFiles(workspaceRoot, snapshotsRoot, loggingBroker, onChanged) {
|
|
117
|
+
return new WorkspaceFileProcessingService(new WorkspaceFileService(new NodeFileBroker(), loggingBroker, workspaceRoot, snapshotsRoot), loggingBroker, workspaceRoot, onChanged);
|
|
118
|
+
}
|
|
119
|
+
// What `peerllm restore` runs over. Named here rather than built at the door, because a door that
|
|
120
|
+
// composed its own pair would be a second opinion about where snapshots live.
|
|
121
|
+
export function composeWorkspaceRestore(workspaceRoot, snapshotsRoot, trace) {
|
|
122
|
+
return composeWorkspaceFiles(workspaceRoot, snapshotsRoot, loggingFor(trace));
|
|
123
|
+
}
|
|
124
|
+
function loggingFor(trace) {
|
|
125
|
+
return trace === undefined ? new NotConfiguredLoggingBroker() : new StreamLoggingBroker(trace);
|
|
126
|
+
}
|
|
127
|
+
// What `peerllm doctor` runs over. The workspace half and the tooling half are composed here
|
|
128
|
+
// because this module already knows how they are built; the configuration half is handed in,
|
|
129
|
+
// because the door that knows where the configuration directory is is the one that owns that.
|
|
130
|
+
export function composeDoctor(configProcessingService, secretProcessingService, workspaceRoot, snapshotsRoot, trace) {
|
|
131
|
+
const loggingBroker = loggingFor(trace);
|
|
132
|
+
return new DoctorAggregationService(configProcessingService, secretProcessingService, composeWorkspaceFiles(workspaceRoot, snapshotsRoot, loggingBroker), new ProcessProcessingService(new ProcessService(new NodeProcessBroker(), loggingBroker), loggingBroker), loggingBroker);
|
|
133
|
+
}
|
|
134
|
+
export { DoctorAggregationService } from "./services/aggregations/doctors/DoctorAggregationService.js";
|
|
135
|
+
// The read-only half of the workspace tool catalogue (PLAN.md 4.5): open a file, list a directory,
|
|
136
|
+
// find files by name, find lines by content.
|
|
137
|
+
//
|
|
138
|
+
// One processing stands behind all four, so the page cap, the two bounds and the ignore rules are
|
|
139
|
+
// decided once for the catalogue rather than once per tool. A fifth tool that reads the workspace
|
|
140
|
+
// inherits them by being handed this service.
|
|
141
|
+
export function composeWorkspaceTools(workspaceRoot, trace, withEdits = false, snapshotsRoot = "", onChanged) {
|
|
142
|
+
const loggingBroker = loggingFor(trace);
|
|
143
|
+
const workspaceFileProcessingService = composeWorkspaceFiles(workspaceRoot, snapshotsRoot, loggingBroker, onChanged);
|
|
144
|
+
const processProcessingService = new ProcessProcessingService(new ProcessService(new NodeProcessBroker(), loggingBroker), loggingBroker);
|
|
145
|
+
// The git four read and nothing else, with argv nobody can change, so they stand beside the file
|
|
146
|
+
// readers rather than behind an approval. Knowing what has changed is how an agent avoids
|
|
147
|
+
// proposing an edit somebody already made.
|
|
148
|
+
const reading = [
|
|
149
|
+
createReadFileTool(workspaceFileProcessingService),
|
|
150
|
+
createListDirectoryTool(workspaceFileProcessingService),
|
|
151
|
+
createGlobFilesTool(workspaceFileProcessingService),
|
|
152
|
+
createGrepFilesTool(workspaceFileProcessingService),
|
|
153
|
+
...createGitTools(processProcessingService, workspaceRoot),
|
|
154
|
+
];
|
|
155
|
+
if (!withEdits) {
|
|
156
|
+
return reading.map((tool) => answeringItsRefusals(tool));
|
|
157
|
+
}
|
|
158
|
+
return [
|
|
159
|
+
...reading,
|
|
160
|
+
createSingleFindAndReplaceTool(workspaceFileProcessingService),
|
|
161
|
+
createCreateNewFileTool(workspaceFileProcessingService),
|
|
162
|
+
createWriteFileTool(workspaceFileProcessingService),
|
|
163
|
+
createDeletePathTool(workspaceFileProcessingService),
|
|
164
|
+
createRunCommandTool(processProcessingService, workspaceRoot),
|
|
165
|
+
].map((tool) => answeringItsRefusals(tool));
|
|
166
|
+
}
|
|
167
|
+
// Said once for the whole catalogue, because every tool in it refuses the same way.
|
|
168
|
+
//
|
|
169
|
+
// A refusal comes back as an answer rather than a throw, so the next turn can act on it. The
|
|
170
|
+
// run-once ledger reads an answer as a performed act and replays it, which made a refusal permanent:
|
|
171
|
+
// a model told to read the file and call again did exactly that and was handed the refusal back
|
|
172
|
+
// from the record, three times over, while the file was never written.
|
|
173
|
+
//
|
|
174
|
+
// Written here rather than on each tool so a tool added tomorrow cannot forget it, and so the
|
|
175
|
+
// markers the ledger reads and the markers the tools raise are the one list.
|
|
176
|
+
function answeringItsRefusals(tool) {
|
|
177
|
+
return { ...tool, performed: (output) => refusalIn({ message: output }) === null };
|
|
178
|
+
}
|
|
179
|
+
// The tools that change a file, named here rather than at the call site, so the list that must be
|
|
180
|
+
// approved and the list that is offered cannot drift apart.
|
|
181
|
+
export const EDITING_TOOLS = ["single_find_and_replace", "create_new_file", "write_file", "delete_path"];
|
|
182
|
+
// Everything the user is asked about. `run_command` is here and not in EDITING_TOOLS because it
|
|
183
|
+
// changes nothing in a file and can change everything else: it is the one tool whose blast radius
|
|
184
|
+
// this client cannot see.
|
|
185
|
+
export const APPROVAL_REQUIRED_TOOLS = [...EDITING_TOOLS, "run_command"];
|
|
186
|
+
// The skills folder ships beside dist in the package, so the same relative walk reaches it from
|
|
187
|
+
// the built module and from the source under test.
|
|
188
|
+
function builtInSkillsPath(protocol) {
|
|
189
|
+
// One level up from this module, whether that module is `src/index.ts` under a test runner or
|
|
190
|
+
// `dist/index.js` in a published package. The skills ship in the package beside both.
|
|
191
|
+
return join(dirname(fileURLToPath(import.meta.url)), "..", "skills", protocol);
|
|
192
|
+
}
|
|
193
|
+
function speaksNatively(options) {
|
|
194
|
+
return options.endpoint !== undefined || options.nativeGenerator !== undefined;
|
|
195
|
+
}
|
|
196
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src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}
|
package/dist/models/aggregations/doctors/exceptions/DoctorAggregationServiceException.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DoctorAggregationServiceException.d.ts","sourceRoot":"","sources":["../../../../../src/models/aggregations/doctors/exceptions/DoctorAggregationServiceException.ts"],"names":[],"mappings":"AACA,qBAAa,iCAAkC,SAAQ,KAAK;IAC1D,SAAgB,IAAI,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAC5C,SAAgB,UAAU,EAAE,KAAK,CAAC;gBAEf,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK;CAMtD"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Service: this service failed in a way it did not foresee.
|
|
2
|
+
export class DoctorAggregationServiceException extends Error {
|
|
3
|
+
data;
|
|
4
|
+
innerError;
|
|
5
|
+
constructor(message, innerError) {
|
|
6
|
+
super(message, { cause: innerError });
|
|
7
|
+
this.name = "DoctorAggregationServiceException";
|
|
8
|
+
this.innerError = innerError;
|
|
9
|
+
this.data = "data" in innerError && innerError.data instanceof Map ? innerError.data : new Map();
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=DoctorAggregationServiceException.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DoctorAggregationServiceException.js","sourceRoot":"","sources":["../../../../../src/models/aggregations/doctors/exceptions/DoctorAggregationServiceException.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,MAAM,OAAO,iCAAkC,SAAQ,KAAK;IAC1C,IAAI,CAAwB;IAC5B,UAAU,CAAQ;IAElC,YAAmB,OAAe,EAAE,UAAiB;QACnD,KAAK,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,CAAC;QACtC,IAAI,CAAC,IAAI,GAAG,mCAAmC,CAAC;QAChD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,IAAI,GAAG,MAAM,IAAI,UAAU,IAAI,UAAU,CAAC,IAAI,YAAY,GAAG,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,EAAE,CAAC;IACnG,CAAC;CACF"}
|
package/dist/models/aggregations/doctors/exceptions/FailedDoctorAggregationServiceException.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FailedDoctorAggregationServiceException.d.ts","sourceRoot":"","sources":["../../../../../src/models/aggregations/doctors/exceptions/FailedDoctorAggregationServiceException.ts"],"names":[],"mappings":"AAEA,qBAAa,uCAAwC,SAAQ,KAAK;IAChE,SAAgB,UAAU,EAAE,KAAK,CAAC;gBAEf,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK;CAKtD"}
|
package/dist/models/aggregations/doctors/exceptions/FailedDoctorAggregationServiceException.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// The local failure a service exception carries: what actually went wrong, kept so the category
|
|
2
|
+
// above it never has to be the only thing anybody can read.
|
|
3
|
+
export class FailedDoctorAggregationServiceException extends Error {
|
|
4
|
+
innerError;
|
|
5
|
+
constructor(message, innerError) {
|
|
6
|
+
super(message, { cause: innerError });
|
|
7
|
+
this.name = "FailedDoctorAggregationServiceException";
|
|
8
|
+
this.innerError = innerError;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=FailedDoctorAggregationServiceException.js.map
|
package/dist/models/aggregations/doctors/exceptions/FailedDoctorAggregationServiceException.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FailedDoctorAggregationServiceException.js","sourceRoot":"","sources":["../../../../../src/models/aggregations/doctors/exceptions/FailedDoctorAggregationServiceException.ts"],"names":[],"mappings":"AAAA,gGAAgG;AAChG,4DAA4D;AAC5D,MAAM,OAAO,uCAAwC,SAAQ,KAAK;IAChD,UAAU,CAAQ;IAElC,YAAmB,OAAe,EAAE,UAAiB;QACnD,KAAK,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,CAAC;QACtC,IAAI,CAAC,IAAI,GAAG,yCAAyC,CAAC;QACtD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;CACF"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface AccountKey {
|
|
2
|
+
readonly id: string;
|
|
3
|
+
readonly name: string;
|
|
4
|
+
readonly keyPreview: string;
|
|
5
|
+
readonly createdOn: string;
|
|
6
|
+
readonly lastUsedOn: string | null;
|
|
7
|
+
readonly state: string;
|
|
8
|
+
}
|
|
9
|
+
export interface MintedKey {
|
|
10
|
+
readonly id: string;
|
|
11
|
+
readonly name: string;
|
|
12
|
+
readonly key: string;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=AccountKey.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountKey.d.ts","sourceRoot":"","sources":["../../../../src/models/brokers/accounts/AccountKey.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAGD,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountKey.js","sourceRoot":"","sources":["../../../../src/models/brokers/accounts/AccountKey.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountSession.d.ts","sourceRoot":"","sources":["../../../../src/models/brokers/accounts/AccountSession.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountSession.js","sourceRoot":"","sources":["../../../../src/models/brokers/accounts/AccountSession.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TokenBalance.d.ts","sourceRoot":"","sources":["../../../../src/models/brokers/accounts/TokenBalance.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;CACvC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TokenBalance.js","sourceRoot":"","sources":["../../../../src/models/brokers/accounts/TokenBalance.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface RegistrySkill {
|
|
2
|
+
readonly id: string;
|
|
3
|
+
readonly owner: string;
|
|
4
|
+
readonly name: string;
|
|
5
|
+
readonly version: number;
|
|
6
|
+
readonly description: string;
|
|
7
|
+
}
|
|
8
|
+
export interface SkillFile {
|
|
9
|
+
readonly path: string;
|
|
10
|
+
readonly content: string;
|
|
11
|
+
}
|
|
12
|
+
export interface RetrievedSkill extends RegistrySkill {
|
|
13
|
+
readonly files: readonly SkillFile[];
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=RegistrySkill.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RegistrySkill.d.ts","sourceRoot":"","sources":["../../../../src/models/brokers/registries/RegistrySkill.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAID,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAMD,MAAM,WAAW,cAAe,SAAQ,aAAa;IACnD,QAAQ,CAAC,KAAK,EAAE,SAAS,SAAS,EAAE,CAAC;CACtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RegistrySkill.js","sourceRoot":"","sources":["../../../../src/models/brokers/registries/RegistrySkill.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountDependencyException.d.ts","sourceRoot":"","sources":["../../../../../src/models/foundations/accounts/exceptions/AccountDependencyException.ts"],"names":[],"mappings":"AAAA,qBAAa,0BAA2B,SAAQ,KAAK;IACnD,SAAgB,IAAI,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAC5C,SAAgB,UAAU,EAAE,KAAK,CAAC;gBAEf,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK;CAMtD"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export class AccountDependencyException extends Error {
|
|
2
|
+
data;
|
|
3
|
+
innerError;
|
|
4
|
+
constructor(message, innerError) {
|
|
5
|
+
super(message, { cause: innerError });
|
|
6
|
+
this.name = "AccountDependencyException";
|
|
7
|
+
this.innerError = innerError;
|
|
8
|
+
this.data = "data" in innerError && innerError.data instanceof Map ? innerError.data : new Map();
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=AccountDependencyException.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountDependencyException.js","sourceRoot":"","sources":["../../../../../src/models/foundations/accounts/exceptions/AccountDependencyException.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,0BAA2B,SAAQ,KAAK;IACnC,IAAI,CAAwB;IAC5B,UAAU,CAAQ;IAElC,YAAmB,OAAe,EAAE,UAAiB;QACnD,KAAK,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,CAAC;QACtC,IAAI,CAAC,IAAI,GAAG,4BAA4B,CAAC;QACzC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,IAAI,GAAG,MAAM,IAAI,UAAU,IAAI,UAAU,CAAC,IAAI,YAAY,GAAG,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,EAAE,CAAC;IACnG,CAAC;CACF"}
|
package/dist/models/foundations/accounts/exceptions/AccountDependencyValidationException.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountDependencyValidationException.d.ts","sourceRoot":"","sources":["../../../../../src/models/foundations/accounts/exceptions/AccountDependencyValidationException.ts"],"names":[],"mappings":"AAAA,qBAAa,oCAAqC,SAAQ,KAAK;IAC7D,SAAgB,IAAI,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAC5C,SAAgB,UAAU,EAAE,KAAK,CAAC;gBAEf,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK;CAMtD"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export class AccountDependencyValidationException extends Error {
|
|
2
|
+
data;
|
|
3
|
+
innerError;
|
|
4
|
+
constructor(message, innerError) {
|
|
5
|
+
super(message, { cause: innerError });
|
|
6
|
+
this.name = "AccountDependencyValidationException";
|
|
7
|
+
this.innerError = innerError;
|
|
8
|
+
this.data = "data" in innerError && innerError.data instanceof Map ? innerError.data : new Map();
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=AccountDependencyValidationException.js.map
|
package/dist/models/foundations/accounts/exceptions/AccountDependencyValidationException.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountDependencyValidationException.js","sourceRoot":"","sources":["../../../../../src/models/foundations/accounts/exceptions/AccountDependencyValidationException.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,oCAAqC,SAAQ,KAAK;IAC7C,IAAI,CAAwB;IAC5B,UAAU,CAAQ;IAElC,YAAmB,OAAe,EAAE,UAAiB;QACnD,KAAK,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,CAAC;QACtC,IAAI,CAAC,IAAI,GAAG,sCAAsC,CAAC;QACnD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,IAAI,GAAG,MAAM,IAAI,UAAU,IAAI,UAAU,CAAC,IAAI,YAAY,GAAG,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,EAAE,CAAC;IACnG,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountServiceException.d.ts","sourceRoot":"","sources":["../../../../../src/models/foundations/accounts/exceptions/AccountServiceException.ts"],"names":[],"mappings":"AAAA,qBAAa,uBAAwB,SAAQ,KAAK;IAChD,SAAgB,IAAI,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAC5C,SAAgB,UAAU,EAAE,KAAK,CAAC;gBAEf,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK;CAMtD"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export class AccountServiceException extends Error {
|
|
2
|
+
data;
|
|
3
|
+
innerError;
|
|
4
|
+
constructor(message, innerError) {
|
|
5
|
+
super(message, { cause: innerError });
|
|
6
|
+
this.name = "AccountServiceException";
|
|
7
|
+
this.innerError = innerError;
|
|
8
|
+
this.data = "data" in innerError && innerError.data instanceof Map ? innerError.data : new Map();
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=AccountServiceException.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountServiceException.js","sourceRoot":"","sources":["../../../../../src/models/foundations/accounts/exceptions/AccountServiceException.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,uBAAwB,SAAQ,KAAK;IAChC,IAAI,CAAwB;IAC5B,UAAU,CAAQ;IAElC,YAAmB,OAAe,EAAE,UAAiB;QACnD,KAAK,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,CAAC;QACtC,IAAI,CAAC,IAAI,GAAG,yBAAyB,CAAC;QACtC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,IAAI,GAAG,MAAM,IAAI,UAAU,IAAI,UAAU,CAAC,IAAI,YAAY,GAAG,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,EAAE,CAAC;IACnG,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountValidationException.d.ts","sourceRoot":"","sources":["../../../../../src/models/foundations/accounts/exceptions/AccountValidationException.ts"],"names":[],"mappings":"AAAA,qBAAa,0BAA2B,SAAQ,KAAK;IACnD,SAAgB,IAAI,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAC5C,SAAgB,UAAU,EAAE,KAAK,CAAC;gBAEf,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK;CAMtD"}
|