feat: expand secure assistant workflows

Harden runtime execution and add local knowledge, Smart Heartbeat, usage visibility, responsive product surfaces, and cross-platform packaging support.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
This commit is contained in:
lofyer
2026-08-02 10:04:59 +08:00
co-authored by factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
parent 6ef1795b81
commit b3fdf96962
82 changed files with 17608 additions and 825 deletions
+10
View File
@@ -20,6 +20,7 @@ const VERSION_OUTPUT_LIMIT = 8 * 1024
export type RuntimeBinaryDiscoveryInput = {
binaryPath: string
bundledPath?: string
bundledValidation?: 'execute' | 'canonical-file'
binaryNames: readonly string[]
label: string
}
@@ -288,6 +289,14 @@ export async function detectRuntimeBinary(
if (bundledPath) {
const canonicalPath = await canonicalFile(bundledPath)
if (canonicalPath) {
if (input.bundledValidation === 'canonical-file') {
return availableDetection(
input.label,
canonicalPath,
undefined,
true
)
}
const validation = await validateVersion(canonicalPath)
if (validation.valid) {
return availableDetection(
@@ -352,6 +361,7 @@ export async function detectAgentRuntimes(input: {
detectRuntimeBinary({
binaryPath: input.continueBinaryPath,
bundledPath: input.bundledPaths?.continue,
bundledValidation: 'canonical-file',
binaryNames: ['cn'],
label: 'Continue CLI'
})