chore: initialize qiming workspace repository

This commit is contained in:
Codex
2026-05-29 14:22:48 +08:00
commit bfd67a0f2c
10750 changed files with 1885711 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#!/usr/bin/env node
'use strict';
const path = require('path');
/**
* Electron client project root (crates/agent-electron-client).
* This file lives at scripts/utils/, so ../.. always points to project root.
*/
function getProjectRoot() {
return path.resolve(__dirname, '..', '..');
}
function resolveFromProject(...parts) {
return path.join(getProjectRoot(), ...parts);
}
module.exports = {
getProjectRoot,
resolveFromProject,
};